Files
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
..