mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
* ✨ feat(cli): CLI Phase 5 - agent KB/file/pin, thread management, eval expansion - Add agent subcommands: pin/unpin, kb-files, add-file/remove-file/toggle-file, add-kb/remove-kb/toggle-kb - Create thread command with list/list-all/delete subcommands - Expand eval with internal benchmark/dataset/testcase/irun management - Move existing external eval commands under `eval ext` namespace - Add comprehensive unit tests for all new functionality Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * 💄 style(cli): rename eval `irun` to `run` since external moved to `ext` namespace Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * ♻️ refactor(cli): merge external eval commands into unified tree with --external flag Remove separate `eval ext` namespace; use `--external` flag on overlapping commands (dataset get, run get) and integrate external-only commands directly into the tree. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * ✨ feat(cli): CLI Phase 6 - miscellaneous command enhancements - file: add upload (hash check + create), edit (move to folder), kb-items - user: new command with info, settings, preferences, update-avatar, update-name - model: add batch-update, sort order - plugin: add create (without settings, distinct from install) - generation: add delete Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "@lobehub/cli",
|
|
"version": "0.0.1-canary.12",
|
|
"type": "module",
|
|
"bin": {
|
|
"lh": "./dist/index.js",
|
|
"lobe": "./dist/index.js",
|
|
"lobehub": "./dist/index.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "npx tsup",
|
|
"cli:link": "bun link",
|
|
"cli:unlink": "bun unlink",
|
|
"dev": "LOBEHUB_CLI_HOME=.lobehub-dev bun src/index.ts",
|
|
"prepublishOnly": "npm run build",
|
|
"test": "bunx vitest run --config vitest.config.mts --silent='passed-only'",
|
|
"test:coverage": "bunx vitest run --config vitest.config.mts --coverage",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@trpc/client": "^11.8.1",
|
|
"commander": "^13.1.0",
|
|
"debug": "^4.4.0",
|
|
"diff": "^8.0.3",
|
|
"fast-glob": "^3.3.3",
|
|
"picocolors": "^1.1.1",
|
|
"superjson": "^2.2.6",
|
|
"ws": "^8.18.1"
|
|
},
|
|
"devDependencies": {
|
|
"@lobechat/device-gateway-client": "workspace:*",
|
|
"@lobechat/local-file-shell": "workspace:*",
|
|
"@types/node": "^22.13.5",
|
|
"@types/ws": "^8.18.1",
|
|
"tsup": "^8.4.0",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org"
|
|
}
|
|
}
|