mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
acf17d6170
100% JSX bot at feature parity with the PoC example: issue/page cards, tables, Chart.js charts, Mermaid diagrams, incident/status/links cards, a confirm_write HITL gate, and /agent + /triage slash commands. Registers examples/slack in the pnpm workspace.
17 lines
721 B
TypeScript
17 lines
721 B
TypeScript
/**
|
|
* App-specific render components — agent-renderable Block Kit cards authored
|
|
* with the `@copilotkit/bot-ui` JSX vocabulary.
|
|
*
|
|
* Each component is a plain `ComponentFn` returning a `<Message>` tree; its
|
|
* exported zod prop schema doubles as the render-tool input schema. Render a
|
|
* component with `renderSlackMessage(renderToIR(<IssueCard {...props} />))`.
|
|
*/
|
|
export { IssueCard, issueCardSchema } from "./issue-card.js";
|
|
export type { IssueCardProps } from "./issue-card.js";
|
|
|
|
export { IssueList, issueListSchema } from "./issue-list.js";
|
|
export type { IssueListProps } from "./issue-list.js";
|
|
|
|
export { PageList, pageListSchema } from "./page-list.js";
|
|
export type { PageListProps } from "./page-list.js";
|