mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
d4e68b133f
Linear's save_diff_comment.anchor started shipping as a free-form map (propertyNames + open additionalProperties). @tanstack/ai-openai@0.15.2 forced strict:true on every tool and 400d the whole turn on such schemas. @tanstack/openai-base@0.9.9 (via ai-openai@0.17) detects free-form-map schemas and emits those tools with strict:false instead, so they stay callable. Bump the aligned set and refresh the lockfile: @tanstack/ai ^0.32.0 -> ^0.42.0 @tanstack/ai-openai ^0.15.2 -> ^0.17.1 @tanstack/ai-mcp ^0.1.3 -> ^0.2.5 zod stays at ^3.25.76: the repo pins zod to 3.x via a root pnpm override, so the whole workspace resolves zod 3. ai-openai@0.17 peers zod ^4 (unmet, advisory) but the strict-schema fix operates on plain JSON Schema, not zod, so it is unaffected. No runtime code change.
42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"name": "slack-example",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Runnable demo for @copilotkit/channels — an on-call triage bot for Slack, Discord, Telegram, and WhatsApp via umbrella adapter subpaths, backed by Linear + Notion MCP (query/file issues, find/write Notion pages), with a confirm-before-write HITL gate and e2e harnesses.",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch app/index.ts",
|
|
"start": "tsx app/index.ts",
|
|
"channel": "tsx app/managed.ts",
|
|
"build": "pnpm exec nx run-many -t build -p @copilotkit/channels @copilotkit/runtime",
|
|
"runtime": "tsx runtime.ts",
|
|
"notion-mcp": "tsx scripts/start-notion-mcp.ts",
|
|
"check-types": "tsc --noEmit -p tsconfig.json",
|
|
"test": "vitest run",
|
|
"e2e": "tsx e2e/run.ts",
|
|
"e2e:restart": "tsx e2e/restart-recovery.ts",
|
|
"e2e:telegram": "tsx e2e/telegram-run.ts"
|
|
},
|
|
"dependencies": {
|
|
"@copilotkit/channels": "workspace:*",
|
|
"@copilotkit/channels-intelligence": "workspace:*",
|
|
"@copilotkit/runtime": "workspace:*",
|
|
"@tanstack/ai": "^0.42.0",
|
|
"@tanstack/ai-mcp": "^0.2.5",
|
|
"@tanstack/ai-openai": "^0.17.1",
|
|
"@slack/bolt": "^4.2.0",
|
|
"@slack/types": "^2.21.1",
|
|
"playwright": "^1.49.0",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@notionhq/notion-mcp-server": "^2.2.1",
|
|
"@types/node": "^22.10.0",
|
|
"dotenv": "^16.4.5",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.6.3",
|
|
"vitest": "^4.1.3"
|
|
}
|
|
}
|