mirror of
https://github.com/hanzoai/extension.git
synced 2026-11-01 18:02:17 +00:00
One canonical PanelSpec (header, model picker, quick-action chips, output, prompt input, footer, signed-out state) with stable action ids, emitted to three host card formats: - toSlackBlocks → Slack Block Kit blocks[] - toAdaptiveCard → Teams Adaptive Card v1.5 - toCardServiceJson → Google Workspace CardService JSON Pure presentation layer: no network, no host SDK deps, no secrets. Emitters never call the AI or auth (@hanzo/ai / @hanzo/iam do that). assistantPanel() builder so adapters do not hand-assemble. 66 vitest tests, tsc clean, tsup build (cjs+esm+dts). Registered in pnpm-workspace.yaml.
16 lines
342 B
TypeScript
16 lines
342 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['test/**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'html'],
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['**/*.d.ts', '**/*.config.*'],
|
|
},
|
|
},
|
|
});
|