@lobehub/cli 0.0.33 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +5153 -907
  2. package/man/man1/lh.1 +4 -1
  3. package/package.json +23 -20
package/man/man1/lh.1 CHANGED
@@ -1,6 +1,6 @@
1
1
  .\" Code generated by `npm run man:generate`; DO NOT EDIT.
2
2
  .\" Manual command details come from the Commander command tree.
3
- .TH LH 1 "" "@lobehub/cli 0.0.33" "User Commands"
3
+ .TH LH 1 "" "@lobehub/cli 0.0.35" "User Commands"
4
4
  .SH NAME
5
5
  lh \- LobeHub CLI \- manage and connect to LobeHub services
6
6
  .SH SYNOPSIS
@@ -130,6 +130,9 @@ Manage evaluation workflows
130
130
  .TP
131
131
  .B migrate
132
132
  Migrate data from external tools (OpenClaw, ChatGPT, Claude, etc.)
133
+ .TP
134
+ .B update
135
+ Update the LobeHub CLI to the latest published version
133
136
  .SH OPTIONS
134
137
  .TP
135
138
  .B \-V, \-\-version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/cli",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "lh": "./dist/index.js",
@@ -16,9 +16,28 @@
16
16
  "dist",
17
17
  "man"
18
18
  ],
19
+ "scripts": {
20
+ "build": "tsdown",
21
+ "cli:link": "bun link",
22
+ "cli:unlink": "bun unlink",
23
+ "dev": "LOBEHUB_CLI_HOME=.lobehub-dev bun src/index.ts",
24
+ "man:generate": "bun src/man/generate.ts",
25
+ "prepublishOnly": "npm run build && npm run man:generate",
26
+ "test": "bunx vitest run --config vitest.config.mts --silent='passed-only'",
27
+ "test:coverage": "bunx vitest run --config vitest.config.mts --coverage",
28
+ "type-check": "tsc --noEmit"
29
+ },
19
30
  "devDependencies": {
31
+ "@lobechat/agent-gateway-client": "workspace:*",
32
+ "@lobechat/device-control": "workspace:*",
33
+ "@lobechat/device-gateway-client": "workspace:*",
34
+ "@lobechat/device-identity": "workspace:*",
35
+ "@lobechat/heterogeneous-agents": "workspace:*",
36
+ "@lobechat/local-file-shell": "workspace:*",
37
+ "@lobechat/tool-runtime": "workspace:*",
20
38
  "@trpc/client": "^11.8.1",
21
39
  "@types/node": "^24.13.2",
40
+ "@types/semver": "^7.7.1",
22
41
  "@types/ws": "^8.18.1",
23
42
  "commander": "^13.1.0",
24
43
  "dayjs": "^1.11.19",
@@ -27,30 +46,14 @@
27
46
  "fast-glob": "^3.3.3",
28
47
  "ignore": "^7.0.5",
29
48
  "picocolors": "^1.1.1",
49
+ "semver": "^7.7.3",
30
50
  "superjson": "^2.2.6",
31
51
  "tsdown": "^0.21.4",
32
52
  "typescript": "^6.0.3",
33
- "ws": "^8.18.1",
34
- "@lobechat/device-control": "1.0.0",
35
- "@lobechat/device-gateway-client": "1.0.0",
36
- "@lobechat/agent-gateway-client": "1.0.0",
37
- "@lobechat/heterogeneous-agents": "1.0.0",
38
- "@lobechat/tool-runtime": "1.0.0",
39
- "@lobechat/local-file-shell": "1.0.0",
40
- "@lobechat/device-identity": "1.0.0"
53
+ "ws": "^8.18.1"
41
54
  },
42
55
  "publishConfig": {
43
56
  "access": "public",
44
57
  "registry": "https://registry.npmjs.org"
45
- },
46
- "scripts": {
47
- "build": "tsdown",
48
- "cli:link": "bun link",
49
- "cli:unlink": "bun unlink",
50
- "dev": "LOBEHUB_CLI_HOME=.lobehub-dev bun src/index.ts",
51
- "man:generate": "bun src/man/generate.ts",
52
- "test": "bunx vitest run --config vitest.config.mts --silent='passed-only'",
53
- "test:coverage": "bunx vitest run --config vitest.config.mts --coverage",
54
- "type-check": "tsc --noEmit"
55
58
  }
56
- }
59
+ }