Files
loki/scripts/site-template/package.json
CatoandClaude Opus 5.5 b53e721fb9 refactor(voice): retire own mic hooks for chatkit; chatkit ^0.45.0 (#1739)
* refactor(voice): retire own mic hooks for chatkit Composer and DictationField

The project card's box is chatkit's Composer (through Loki's wrapper); the
project brief and the command palette are DictationField. The microphone
is now the fleet's: retry of a failed take, browser fallback, problems in
words. Deletes use-whisper-mic, use-mic-composer and use-voice-input, and
the dead transcription-polling branch (the route only returns { text }).

use-voice-conversation stays until chatkit's useVoiceMode can end a turn
on a pause with the server leg, speak unasked lines, barge in by voice,
re-arm on silence and expose the input level.

Site template synced from fleet templates/app main (chatkit ^0.44.0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(deps): raise @bitbaum/chatkit to ^0.45.0

DictationField fits any form from 0.45 (controlled, uncontrolled,
react-hook-form). Loki's fields stay controlled; typecheck, lint, the
design check and the composer tests pass unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(widget): chat chunk budget 43 KB for chatkit 0.45

Measured: 42.01 KB gzipped on chatkit 0.42, 42.55 KB on 0.45. The
budget already sat at the old size, so the bump rounded over it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 19:41:39 +01:00

58 lines
1.6 KiB
JSON

{
"name": "__SLUG__",
"version": "0.1.0",
"private": true,
"packageManager": "pnpm@11.25.0",
"engines": {
"node": ">=24"
},
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:integration": "vitest run --config vitest.integration.config.mts",
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"role:grant": "node scripts/grant-role.mjs"
},
"dependencies": {
"@better-auth/passkey": "^1.7.7",
"@bitbaum/ai-kit": "^1.30.0",
"@bitbaum/design-tokens": "^1.7.1",
"@bitbaum/mail-kit": "^0.4.0",
"better-auth": "^1.7.7",
"bip-kit": "^0.6.1",
"drizzle-orm": "^0.45.4",
"limitkit": "^0.2.1",
"next": "16.4.1",
"next-intl": "^4.14.9",
"pg": "^8.23.1",
"react": "19.3.0",
"react-dom": "19.3.0",
"zod": "^4.6.6",
"@bitbaum/sitekit": "^0.7.0",
"@bitbaum/accountkit": "^0.32.1",
"@bitbaum/chatkit": "^0.44.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.3",
"@types/node": "^26.6.5",
"@types/pg": "^8.23.1",
"@types/react": "^19",
"@types/react-dom": "^19",
"drizzle-kit": "^0.31.11",
"eslint": "^10.12.0",
"eslint-config-next": "16.4.0",
"prettier": "3.9.10",
"tailwindcss": "^4.3.3",
"typescript": "^6.0.3",
"vitest": "^4.1.12"
}
}