Files
heidi/package.json
8499d54ab5 Use chatkit 0.46.0 and paykit 0.4.0 instead of Heidi's own copies (#366)
* Use paykit 0.4.0's Stripe provider and chatkit 0.46.0's failure action

lib/pay/stripe-provider.ts was a copy of @bitbaum/paykit/stripe, kept until 0.4.0 was published; its tripwire test said to delete it then. service.ts and card.test.ts import the package.

"Get a pass" under a spent allowance is now chatkit's ChatFailure.action (with retry: false: Retry cannot help before tomorrow). A failure stored before this has no action and keeps the old link.

Heidi's own ModelSheet/ModelChip stay: chatkit's lack the free-model choice (tap a free model to ask it first) and the chip's last-served name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsvGp1KVF8b3TMcU8J

* Use chatkit's ModelSheet and ModelChip

Heidi's model window and button were their own copies. They are now chatkit's (0.46.0), which gained what Heidi had: the free models as a choice, a comparison link, short ids, and a button naming the picked model or the one that last answered. Heidi keeps its words, its vendor list, /api/model/check, /api/model/free and where the pick is stored.

Checked in Chrome at 320, 390 and 1280 px: tapping a free model checks it and the button then names it; nothing in the sheet overflows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsvGp1KVF8b3TMcU8J

* Lockfile: chatkit 0.46.0, paykit 0.4.0 from npm

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmsvGp1KVF8b3TMcU8J

---------

Co-authored-by: Cato <cato@orangecat.ch>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:47:25 +01:00

65 lines
2.2 KiB
JSON

{
"name": "heidi",
"version": "0.1.0",
"private": true,
"license": "MIT",
"scripts": {
"dev": "next dev",
"build": "node scripts/media/ensure.mjs && next build",
"start": "next start",
"lint": "eslint .",
"type-check": "tsc --noEmit",
"check:file-inputs": "chatkit-check-file-inputs app lib",
"verify": "pnpm run type-check && pnpm run lint && pnpm run check:file-inputs && pnpm run test",
"verify:main": "pnpm run type-check && pnpm run lint && pnpm run check:file-inputs",
"test": "node --no-warnings --experimental-strip-types --experimental-test-module-mocks --test-concurrency=1 --test 'app/**/*.test.ts' 'lib/**/*.test.ts'",
"db:generate": "drizzle-kit generate",
"audit:responsive": "node scripts/audit/responsive.mjs",
"audit:overlays": "node scripts/audit/overlays.mjs",
"audit:speaking": "node scripts/audit/speaking.mjs",
"audit:language": "node scripts/audit/language.mjs",
"glosses:coverage": "node --no-warnings --experimental-strip-types scripts/gloss-coverage.ts"
},
"dependencies": {
"@better-auth/passkey": "^1.7.18",
"@bitbaum/accountkit": "^0.32.1",
"@bitbaum/ai-kit": "^1.31.0",
"@bitbaum/bip-kit": "^0.10.0",
"@bitbaum/chatkit": "^0.46.0",
"@bitbaum/design-tokens": "^1.7.1",
"@bitbaum/limitkit": "^0.2.1",
"@bitbaum/mail-kit": "0.4.0",
"@bitbaum/paykit": "^0.4.0",
"@bitbaum/searchkit": "^0.2.3",
"@bitbaum/speechkit": "^1.0.1",
"@bitbaum/threadkit": "^0.1.2",
"@bitbaum/whenkit": "^0.3.3",
"better-auth": "^1.7.18",
"drizzle-orm": "^0.45.4",
"next": "16.4.5",
"pg": "^8.23.1",
"react": "19.3.1",
"react-dom": "19.3.1",
"uqr": "^0.1.3",
"web-push": "^4.0.0",
"zod": "^4.6.7"
},
"devDependencies": {
"@electric-sql/pglite": "^0.5.15",
"@tailwindcss/postcss": "^4",
"@types/node": "^26.6.6",
"@types/pg": "^8.23.1",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/web-push": "^3.6.4",
"drizzle-kit": "^0.31.11",
"eslint": "^9.39.5",
"eslint-config-next": "16.4.5",
"playwright": "^1.65.0",
"sharp": "0.35.5",
"tailwindcss": "^4",
"typescript": "^6.0.3"
},
"packageManager": "pnpm@11.25.0"
}