mirror of
https://github.com/qwibitai/nanoclaw.git
synced 2026-06-27 18:34:58 +08:00
e96d7fd961
`chat` and the `@chat-adapter/*` channel adapters are version-locked — the adapter's ChatInstance must match the bridge's, so the pair must move together. Pin `chat` exactly to 4.29.0 (was 4.26.0 via `^4.24.0`); a caret range floats to 4.31.0 and reintroduces the skew. Host build + full test suite green at 4.29.0 (chat is consumed only as type imports by the Chat SDK bridge). The channels-branch adapters bump to 4.29.0 in lockstep; CHANGELOG notes the reinstall migration for existing channel installs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"name": "nanoclaw",
|
|
"version": "2.1.19",
|
|
"description": "Personal Claude assistant. Lightweight, secure, customizable.",
|
|
"type": "module",
|
|
"packageManager": "pnpm@10.33.0",
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"ncl": "bin/ncl"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"dev": "tsx src/index.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
"format:fix": "prettier --write \"src/**/*.ts\"",
|
|
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
"prepare": "husky",
|
|
"setup": "tsx setup/index.ts",
|
|
"setup:auto": "tsx setup/auto.ts",
|
|
"ncl": "tsx src/cli/client.ts",
|
|
"chat": "tsx scripts/chat.ts",
|
|
"auth": "tsx src/whatsapp-auth.ts",
|
|
"lint": "eslint src/",
|
|
"lint:fix": "eslint src/ --fix",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@clack/core": "^1.2.0",
|
|
"@clack/prompts": "^1.2.0",
|
|
"@onecli-sh/sdk": "2.2.1",
|
|
"better-sqlite3": "11.10.0",
|
|
"chat": "4.29.0",
|
|
"cron-parser": "5.5.0",
|
|
"kleur": "^4.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.35.0",
|
|
"@types/better-sqlite3": "^7.6.12",
|
|
"@types/node": "^22.10.0",
|
|
"eslint": "^9.35.0",
|
|
"eslint-plugin-no-catch-all": "^1.1.0",
|
|
"globals": "^15.12.0",
|
|
"husky": "^9.1.7",
|
|
"prettier": "^3.8.1",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.7.0",
|
|
"typescript-eslint": "^8.35.0",
|
|
"vitest": "^4.0.18"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|