mirror of
https://github.com/hanzoai/extension.git
synced 2026-10-31 21:57:06 +00:00
Bolt app bringing Hanzo AI into Slack, built on the shared foundation: @hanzo/ai (headless client), @hanzo/iam (identity), @hanzo/cards (UI). - /hanzo slash command → completion, replies with a @hanzo/cards panel - App Home assistant panel (model picker, quick actions, prompt, sign-in) via toSlackBlocks — no hand-written Block Kit - Interactivity for the stable card action ids (model select, quick actions, prompt submit, sign in) - 'Ask Hanzo' message shortcut + app_mention: pull thread/message context via conversations.replies/history, fence it into the prompt - OAuth install (/slack/install, /slack/oauth_redirect) with a per-workspace bot token + per-workspace Hanzo token, server-side only - Quick actions: Summarize, Draft reply, Explain, Action items - Endpoints via api.hanzo.ai /v1 only; secrets from env; /health + graceful shutdown for ingress/k8s - One path from Slack to the model (complete); pure modules unit-tested - README with Slack app manifest + registration steps Tests: 68 passing. tsc --noEmit clean. Build emits dist/.
12 lines
233 B
JSON
12 lines
233 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"noEmit": false,
|
|
"declaration": true,
|
|
"outDir": "dist",
|
|
"rootDir": "src"
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"exclude": ["test/**/*.ts", "src/**/*.test.ts"]
|
|
}
|