@zshuangmu/agenthub 0.4.14 → 0.4.16

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 (43) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +268 -268
  3. package/package.json +41 -41
  4. package/src/api-server.js +518 -244
  5. package/src/cli.js +714 -671
  6. package/src/commands/api.js +9 -9
  7. package/src/commands/doctor.js +335 -335
  8. package/src/commands/info.js +15 -15
  9. package/src/commands/install.js +56 -56
  10. package/src/commands/list.js +78 -78
  11. package/src/commands/pack.js +249 -156
  12. package/src/commands/publish-remote.js +9 -9
  13. package/src/commands/publish.js +7 -7
  14. package/src/commands/rollback.js +59 -59
  15. package/src/commands/search.js +14 -14
  16. package/src/commands/serve.js +9 -9
  17. package/src/commands/stats.js +105 -105
  18. package/src/commands/uninstall.js +76 -76
  19. package/src/commands/update.js +54 -54
  20. package/src/commands/verify.js +133 -133
  21. package/src/commands/versions.js +75 -75
  22. package/src/commands/web.js +9 -9
  23. package/src/index.js +18 -18
  24. package/src/lib/auth.js +301 -0
  25. package/src/lib/bundle-transfer.js +58 -58
  26. package/src/lib/colors.js +60 -60
  27. package/src/lib/database.js +450 -244
  28. package/src/lib/debug.js +135 -135
  29. package/src/lib/fs-utils.js +107 -50
  30. package/src/lib/html.js +2163 -1824
  31. package/src/lib/http.js +168 -168
  32. package/src/lib/install.js +60 -60
  33. package/src/lib/manifest.js +124 -124
  34. package/src/lib/openclaw-config.js +40 -40
  35. package/src/lib/permissions.js +105 -0
  36. package/src/lib/privacy-engine.js +220 -0
  37. package/src/lib/registry.js +130 -130
  38. package/src/lib/remote.js +11 -11
  39. package/src/lib/security-scanner.js +233 -233
  40. package/src/lib/signing.js +158 -0
  41. package/src/lib/version-manager.js +77 -77
  42. package/src/server.js +176 -176
  43. package/src/web-server.js +135 -135
package/package.json CHANGED
@@ -1,41 +1,41 @@
1
- {
2
- "name": "@zshuangmu/agenthub",
3
- "version": "0.4.14",
4
- "description": "AI Agent 打包与分发平台 - 一句话打包上传,一键下载获得能力",
5
- "type": "module",
6
- "main": "src/index.js",
7
- "bin": {
8
- "agenthub": "src/cli.js"
9
- },
10
- "files": [
11
- "src/"
12
- ],
13
- "scripts": {
14
- "test": "NODE_OPTIONS='' node --test",
15
- "start": "node src/cli.js serve --registry ./.registry --port 3000 --host 0.0.0.0"
16
- },
17
- "keywords": [
18
- "ai",
19
- "agent",
20
- "openclaw",
21
- "package-manager",
22
- "registry",
23
- "cli"
24
- ],
25
- "author": "AgentHub Team",
26
- "license": "MIT",
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/itshaungmu/AgentHub.git"
30
- },
31
- "bugs": {
32
- "url": "https://github.com/itshaungmu/AgentHub/issues"
33
- },
34
- "homepage": "https://github.com/itshaungmu/AgentHub#readme",
35
- "engines": {
36
- "node": ">=18.0.0"
37
- },
38
- "dependencies": {
39
- "sql.js": "^1.14.1"
40
- }
41
- }
1
+ {
2
+ "name": "@zshuangmu/agenthub",
3
+ "version": "0.4.16",
4
+ "description": "AI Agent 打包与分发平台 - 一句话打包上传,一键下载获得能力",
5
+ "type": "module",
6
+ "main": "src/index.js",
7
+ "bin": {
8
+ "agenthub": "src/cli.js"
9
+ },
10
+ "files": [
11
+ "src/"
12
+ ],
13
+ "scripts": {
14
+ "test": "NODE_OPTIONS='' node --test",
15
+ "start": "node src/cli.js serve --registry ./.registry --port 3000 --host 0.0.0.0"
16
+ },
17
+ "keywords": [
18
+ "ai",
19
+ "agent",
20
+ "openclaw",
21
+ "package-manager",
22
+ "registry",
23
+ "cli"
24
+ ],
25
+ "author": "AgentHub Team",
26
+ "license": "MIT",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://github.com/itshaungmu/AgentHub.git"
30
+ },
31
+ "bugs": {
32
+ "url": "https://github.com/itshaungmu/AgentHub/issues"
33
+ },
34
+ "homepage": "https://github.com/itshaungmu/AgentHub#readme",
35
+ "engines": {
36
+ "node": ">=18.0.0"
37
+ },
38
+ "dependencies": {
39
+ "sql.js": "^1.14.1"
40
+ }
41
+ }