Files
chatkit/package.json
T
CatoandClaude Opus 5.5 ae88db6c0b fix(messenger): the Agent mark only under an agent; a message is never drawn as nothing (0.38.0) (#103)
* fix(styles): starters are one column at every width (0.31.3)

The empty chat's starters wrapped into a row of pills. A row of choices is
never wrapping pills (fleet AGENTS.md, "One shape per kind"; OrangeCat UX
audit 2026-11-12, auth-firstrun#5). .ck-starters-list is now a column and
each .ck-starter a full-width, left-aligned, 44px row. Checked in
test/styles.test.js and test/browser-app.mjs at 390px and 1440px.

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

* fix(messenger): a message's actions by keyboard; alone with an agent every message is for it, and its answer reads it

- The actions button of a message was display:none until hovered, so Tab
  never reached it and Edit and Delete had no way in without a mouse. It is
  hidden by opacity now, takes focus, is 44px, and stays on the screen on a
  phone. Long press and right click are unchanged.
- soleAgent(): one person and one agent. There the empty conversation says
  the agent answers every message, Ask <agent> is not offered, and a message
  starts the wait for a named agent without naming it.
- receiptOf(): where only agents could read a message, it is read once an
  agent's own read mark is past it. A conversation with only an agent stayed
  at Sent for ever.
- An awaited agent is not also shown typing.

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

* chore(release): 0.35.0

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

* test(app): a 44px control measured mid-slide is not a small target

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

* fix(messenger): the Agent mark only under an agent; a message is never drawn as nothing (0.37.0)

Found on OrangeCat (owner's phone, 2026-11-15), a conversation with a
person and the Cat:

- The top bar drew "Agent · Cat is in this conversation" under the
  person's name, so it read as "Penguin is an agent". The mark is now drawn
  only where the title is an agent; with people here the line reads
  "@penguin · Cat is here". `agentHere` is now "{name} is here" (the old
  wording was cut off at 390px).
- A message with no words, card or files was an empty row with a time and
  a tick. It now says "This message could not be shown."
  (`labels.emptyMessage`).

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

* test: drop tests duplicated by the branch merge

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 02:36:32 +01:00

119 lines
3.7 KiB
JSON

{
"name": "@bitbaum/chatkit",
"version": "0.38.0",
"description": "One chat for every product: a composer with a microphone that always works, a thread that does not fight the reader, messages with copy and retry, LLM markdown, and a messenger for people and the agents among them — the fleet's chat standard as a package.",
"license": "MIT",
"author": "Cato",
"homepage": "https://github.com/bitbaum/chatkit#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/bitbaum/chatkit.git"
},
"bugs": {
"url": "https://github.com/bitbaum/chatkit/issues"
},
"keywords": [
"chat",
"composer",
"voice",
"dictation",
"speech-to-text",
"markdown",
"react",
"ai",
"pdf",
"messenger",
"messaging",
"attachments"
],
"type": "module",
"sideEffects": [
"*.css"
],
"packageManager": "pnpm@11.25.0",
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist",
"bin",
"styles.css",
"styles/chat.css",
"styles/messenger.css",
"styles/voice.css"
],
"bin": {
"chatkit-check-file-inputs": "./bin/chatkit-check-file-inputs.mjs",
"chatkit-copy-pdf-assets": "./bin/chatkit-copy-pdf-assets.mjs"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"default": "./dist/react/index.js"
},
"./messenger": {
"types": "./dist/react/messenger.d.ts",
"default": "./dist/react/messenger.js"
},
"./audit": {
"types": "./dist/audit.d.ts",
"default": "./dist/audit.js"
},
"./attach": {
"types": "./dist/react/attach.d.ts",
"default": "./dist/react/attach.js"
},
"./pdf": {
"types": "./dist/pdf.d.ts",
"default": "./dist/pdf.js"
},
"./styles.css": "./styles.css",
"./styles/chat.css": "./styles/chat.css",
"./styles/messenger.css": "./styles/messenger.css",
"./styles/voice.css": "./styles/voice.css"
},
"scripts": {
"build": "node scripts/build-chat-css.mjs && rm -rf dist && tsc -p tsconfig.json",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "node --test test/*.test.js",
"check:dist": "git diff --exit-code --stat -- dist",
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:browser",
"format": "prettier --write .",
"format:check": "prettier --check .",
"demo": "esbuild demo/demo.tsx --bundle --jsx=automatic --format=iife --define:process.env.NODE_ENV='\"production\"' --outfile=demo/dist/demo.js --log-level=warning && esbuild demo/demo.tsx --bundle --jsx=automatic --format=iife --define:process.env.NODE_ENV='\"development\"' --outfile=demo/dist/demo-dev.js --log-level=warning",
"test:browser": "pnpm run demo && node test/browser.mjs && node test/browser-scroll.mjs && node test/browser-app.mjs && node test/browser-pdf.mjs && node test/browser-field.mjs && node test/browser-messenger.mjs && node test/browser-voice.mjs"
},
"devDependencies": {
"@bitbaum/design-tokens": "^1.7.1",
"@eslint/js": "^10.0.1",
"@types/node": "^26.4.0",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.3",
"esbuild": "^0.28.2",
"eslint": "^10.9.1",
"globals": "^17.11.0",
"playwright": "1.64.1",
"prettier": "^3.9.6",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0"
},
"peerDependencies": {
"react": ">=18"
},
"dependencies": {
"@bitbaum/threadkit": "^0.1.2",
"pdfjs-dist": "^6.4.299"
}
}