Files
cobble/package.json
T
tbenandClaude Opus 5.5 f13fa863c5 Trim page props and page the conversation's messages
Bot and workspace lists in page props leave out instructions, memory and
workspace context, and carry the last message as a short preview. The
header avatar's edit form loads the bot's instructions when it opens.
The conversation renders its latest 30 messages and loads older ones as
the thread scrolls to its top.

Also: the composer shows a placeholder until its editor loads, and
`bun start` no longer builds first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:09:01 +01:00

85 lines
2.9 KiB
JSON

{
"name": "cobble",
"module": "index.ts",
"type": "module",
"private": true,
"scripts": {
"dev": "bun src/server.ts",
"dev:phone": "bun src/scripts/dev-phone.ts",
"gen:favicon": "bun src/scripts/generate-brand-assets.ts",
"gen:certs": "bun src/scripts/generate-local-certs.ts",
"build": "bunx bunext build",
"db:schema": "bunx bun-sqlite schema -t",
"db:admin": "bunx bun-sqlite admin",
"db:backup": "bunx bun-sqlite backup",
"seed": "bun src/scripts/seed-super-admin.tsx",
"seed:bots": "bun src/scripts/seed-bots.ts",
"start": "MAIN_SERVER=1 NODE_ENV=production bun src/server.ts",
"typecheck": "tsc --noEmit",
"test": "bun test",
"check:bundle": "bun src/scripts/check-bundle-size.ts"
},
"devDependencies": {
"@next/mdx": "^16.3.0",
"@types/ace": "^0.0.52",
"@types/bun": "latest",
"@types/lodash": "^4.17.25",
"@types/mdx": "^2.0.14",
"@types/node": "^26.2.0",
"@types/nodemailer": "^8.0.1",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@types/sanitize-html": "^2.16.2",
"@types/turndown": "^5.0.6",
"@types/web-push": "^3.6.4",
"tailwindcss": "^4.3.3"
},
"peerDependencies": {
"typescript": "^7.0.2"
},
"dependencies": {
"@floating-ui/dom": "1.8.0",
"@modelcontextprotocol/sdk": "^1.32.1",
"@moduletrace/bun-sqlite": "^1.3.0",
"@moduletrace/bunext": "^1.3.3",
"@moduletrace/twui": "^0.1.4",
"@tiptap/extension-bubble-menu": "3.32.0",
"@tiptap/extension-mention": "3.32.0",
"@tiptap/extension-placeholder": "3.32.0",
"@tiptap/markdown": "3.32.0",
"@tiptap/pm": "3.32.0",
"@tiptap/react": "3.32.0",
"@tiptap/starter-kit": "3.32.0",
"ace-builds": "^1.44.0",
"dayjs": "^1.11.23",
"gray-matter": "^4.0.3",
"html-to-react": "^1.7.0",
"lodash": "^4.18.1",
"lucide-react": "^1.59.0",
"mammoth": "^1.12.1",
"mdx": "^0.3.1",
"next-mdx-remote": "^6.0.0",
"nodemailer": "^9.0.5",
"openai": "^7.4.0",
"pdf-lib": "^1.17.1",
"react-code-blocks": "^0.1.6",
"react-markdown": "^10.1.0",
"react-responsive-modal": "^7.2.0",
"rehype-prism-plus": "^2.0.2",
"remark-breaks": "4.0.0",
"remark-gfm": "^4.0.1",
"sanitize-html": "^2.18.1",
"sharp": "^0.35.3",
"tailwind-merge": "^3.6.0",
"turndown": "^7.2.4",
"unpdf": "^1.8.0",
"use-sync-external-store": "file:./packages/use-sync-external-store-esm",
"web-push": "^3.6.7",
"xlsx": "^0.18.5",
"zod": "4.1.12"
},
"overrides": {
"use-sync-external-store": "file:./packages/use-sync-external-store-esm"
}
}