Files
copilotkit__copilotkit/examples/slack/package.json
Tyler Slaton e2e403dc99 feat(examples/slack): Dockerfiles for the runtime and bot services
Encode the deployment recipe in the repo instead of platform config:
digest-pinned node:22.16.0-slim base, pinned pnpm via packageManager,
frozen-lockfile install, and (bot image only) Playwright Chromium with
its system libraries — browsers install inside node_modules
(PLAYWRIGHT_BROWSERS_PATH=0) so they ship with the app layer, the two
gaps that broke chart rendering on Railpack-style builders.

Verified locally per docker-ci-safety: both images build clean;
chromium.launch() succeeds in the built bot image; the runtime image
boots to listening. README gains a Deploying section (process table,
env vars, Railway notes).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 10:35:24 -07:00

43 lines
1.2 KiB
JSON

{
"name": "slack-example",
"version": "0.0.1",
"private": true,
"description": "Runnable demo for @copilotkit/bot-slack \u2014 an on-call triage Slack bot backed by Linear + Notion MCP (query/file issues, find/write Notion pages), with a confirm-before-write HITL gate and a live-Slack e2e harness.",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "tsx watch app/index.ts",
"start": "tsx app/index.ts",
"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"
},
"dependencies": {
"@copilotkit/bot": "~0.0.1",
"@copilotkit/bot-slack": "~0.0.1",
"@copilotkit/bot-ui": "~0.0.1",
"@copilotkit/runtime": "^1.59.5",
"@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"
},
"pnpm": {
"overrides": {
"@ai-sdk/mcp": "1.0.21"
}
},
"packageManager": "pnpm@10.13.1"
}