模式捕捉SDK

Herald是一个用于捕捉和检索模式的软件开发工具包(SDK),适用于多种通讯平台集成。

  • by Spilno-me
  • JavaScript
  • 本地部署
  • 更新于
在 GitHub 查看 Spilno-me/herald

使用说明

先驱

CEDA的模式SDK。从任何地方捕获和检索模式。

包裹

herald/
├── sdk/          # @ceda/herald-sdk - HTTP client
├── mcp/          # @spilno/herald-mcp - MCP server
├── slack/        # Herald Slack bot
├── telegram/     # Herald Telegram bot
└── teams/        # Herald Teams bot (planned)

快速开始

npm install @ceda/herald-sdk
import { Herald } from '@ceda/herald-sdk';

const herald = new Herald({ apiKey: process.env.HERALD_API_KEY });

// Capture a pattern
await herald.reflect({
  session: 'my-session',
  feeling: 'success',
  insight: 'What worked and why',
});

// Query patterns
const patterns = await herald.patterns({ topic: 'authentication' });

相关


先驱报——到处都是图案