@elizaos/cli 1.4.3 → 1.4.5

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 (70) hide show
  1. package/dist/BrowserWebSocketTransport-5YQPVDV7.js +7 -0
  2. package/dist/EnhancedEvaluationEngine-APOQ6INN.js +473 -0
  3. package/dist/EvaluationEngine-Y7ZQJBRC.js +9 -0
  4. package/dist/LocalEnvironmentProvider-JWFGG4IN.js +15 -0
  5. package/dist/NodeWebSocketTransport-PUO724EY.js +8 -0
  6. package/dist/ScreenRecorder-YK246DNJ.js +10 -0
  7. package/dist/agent-start-6QJQAMKA.js +13 -0
  8. package/dist/bidi-2SVNH6F7.js +15309 -0
  9. package/dist/{bun-exec-ULMPAIQC.js → bun-exec-NH4UCUY4.js} +1 -1
  10. package/dist/chunk-2ESYSVXG.js +48 -0
  11. package/dist/chunk-3AEYIKBZ.js +432 -0
  12. package/dist/chunk-5IWKEMEF.js +239 -0
  13. package/dist/chunk-5WZO2HMM.js +2644 -0
  14. package/dist/chunk-ABGBVB74.js +3501 -0
  15. package/dist/{chunk-NSNXXD3I.js → chunk-BCO32GR6.js} +2 -2
  16. package/dist/chunk-CGXTFHQP.js +25 -0
  17. package/dist/chunk-EXUFDTUD.js +3948 -0
  18. package/dist/chunk-FGGNHEXZ.js +211860 -0
  19. package/dist/chunk-FWYHSCLF.js +243 -0
  20. package/dist/chunk-I57T3WPO.js +165 -0
  21. package/dist/chunk-LBZLMFFF.js +221 -0
  22. package/dist/chunk-LG7YDBMV.js +401 -0
  23. package/dist/chunk-NHKLUXNE.js +166 -0
  24. package/dist/chunk-PUZHCSGF.js +828 -0
  25. package/dist/chunk-PWDR7CPA.js +7828 -0
  26. package/dist/{chunk-N5G5XSGP.js → chunk-Q6M2K53X.js} +3 -3
  27. package/dist/chunk-SVHCNBHM.js +289 -0
  28. package/dist/{chunk-HOC6B3QV.js → chunk-VFFOOPYS.js} +4 -238
  29. package/dist/chunk-WX37MM4G.js +292 -0
  30. package/dist/chunk-XFJIHUT3.js +6 -0
  31. package/dist/chunk-XPPESCCM.js +787 -0
  32. package/dist/chunk-YBDC5OZO.js +40 -0
  33. package/dist/commands/agent/actions/index.js +2 -2
  34. package/dist/commands/agent/index.js +2 -2
  35. package/dist/commands/create/actions/index.js +4 -3
  36. package/dist/commands/create/index.js +5 -4
  37. package/dist/commands/shared/index.js +1 -1
  38. package/dist/index.js +66820 -5009
  39. package/dist/js-yaml-KADNMPWR.js +35 -0
  40. package/dist/matrix-orchestrator-3WLRK7GG.js +1070 -0
  41. package/dist/matrix-runner-KDPETCKQ.js +160 -0
  42. package/dist/matrix-schema-PCO2KGJY.js +102 -0
  43. package/dist/parameter-override-ALOPPXCE.js +487 -0
  44. package/dist/{plugin-creator-TCUFII32.js → plugin-creator-J7GNPMPG.js} +1 -1
  45. package/dist/process-manager-IU2A3BTQ.js +9 -0
  46. package/dist/{registry-ELONUC44.js → registry-65KMEA7N.js} +2 -2
  47. package/dist/resource-monitor-EHZSH2P6.js +15 -0
  48. package/dist/run-isolation-PGLZ37Y7.js +29 -0
  49. package/dist/runtime-factory-Q4U5YBNV.js +22 -0
  50. package/dist/schema-C25LVPEK.js +17 -0
  51. package/dist/src/commands/report/src/assets/report_template.html +1704 -0
  52. package/dist/src-EJG4ILDC.js +5 -0
  53. package/dist/templates/plugin-quick-starter/package.json +2 -2
  54. package/dist/templates/plugin-quick-starter/src/__tests__/test-utils.ts +1 -0
  55. package/dist/templates/plugin-starter/package.json +2 -2
  56. package/dist/templates/plugin-starter/src/__tests__/test-utils.ts +1 -0
  57. package/dist/templates/project-starter/package.json +4 -4
  58. package/dist/templates/project-tee-starter/package.json +4 -4
  59. package/dist/templates/project-tee-starter/src/index.ts +1 -2
  60. package/dist/typescript-ZF3IK2DJ.js +5 -0
  61. package/dist/{utils-X6UXPLKD.js → utils-QFD2PW4X.js} +2 -2
  62. package/package.json +14 -8
  63. package/templates/plugin-quick-starter/package.json +2 -2
  64. package/templates/plugin-quick-starter/src/__tests__/test-utils.ts +1 -0
  65. package/templates/plugin-starter/package.json +2 -2
  66. package/templates/plugin-starter/src/__tests__/test-utils.ts +1 -0
  67. package/templates/project-starter/package.json +4 -4
  68. package/templates/project-tee-starter/package.json +4 -4
  69. package/templates/project-tee-starter/src/index.ts +1 -2
  70. package/dist/chunk-3RG5ZIWI.js +0 -10
@@ -0,0 +1,5 @@
1
+ import {
2
+ require_src
3
+ } from "./chunk-XPPESCCM.js";
4
+ import "./chunk-2ESYSVXG.js";
5
+ export default require_src();
@@ -41,11 +41,11 @@
41
41
  "tsup.config.ts"
42
42
  ],
43
43
  "dependencies": {
44
- "@elizaos/core": "1.4.3",
44
+ "@elizaos/core": "1.4.5",
45
45
  "zod": "^3.24.4"
46
46
  },
47
47
  "devDependencies": {
48
- "@elizaos/cli": "1.4.3",
48
+ "@elizaos/cli": "1.4.5",
49
49
  "dotenv": "16.4.5",
50
50
  "prettier": "3.5.3",
51
51
  "tsup": "8.5.0",
@@ -139,6 +139,7 @@ export function createMockRuntime(overrides: Partial<IAgentRuntime> = {}): IAgen
139
139
  getMemoriesByRoomIds: mock().mockResolvedValue([]),
140
140
  searchMemories: mock().mockResolvedValue([]),
141
141
  addEmbeddingToMemory: mock().mockImplementation(async (memory: Memory) => memory),
142
+ queueEmbeddingGeneration: mock().mockResolvedValue(undefined),
142
143
  getAllMemories: mock().mockResolvedValue([]),
143
144
  clearAllAgentMemories: mock().mockResolvedValue(undefined),
144
145
  updateMemory: mock().mockResolvedValue(true),
@@ -41,7 +41,7 @@
41
41
  "tsup.config.ts"
42
42
  ],
43
43
  "dependencies": {
44
- "@elizaos/core": "1.4.3",
44
+ "@elizaos/core": "1.4.5",
45
45
  "@tanstack/react-query": "^5.80.7",
46
46
  "clsx": "^2.1.1",
47
47
  "tailwind-merge": "^3.3.1",
@@ -50,7 +50,7 @@
50
50
  "zod": "3.24.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@elizaos/cli": "1.4.3",
53
+ "@elizaos/cli": "1.4.5",
54
54
  "@tailwindcss/vite": "^4.1.10",
55
55
  "@vitejs/plugin-react-swc": "^3.10.2",
56
56
  "dotenv": "16.4.5",
@@ -164,6 +164,7 @@ export function createMockRuntime(overrides: Partial<IAgentRuntime> = {}): IAgen
164
164
  searchMemories: mock().mockResolvedValue([]),
165
165
 
166
166
  addEmbeddingToMemory: mock().mockImplementation(async (memory: Memory) => memory),
167
+ queueEmbeddingGeneration: mock().mockResolvedValue(undefined),
167
168
  getAllMemories: mock().mockResolvedValue([]),
168
169
  clearAllAgentMemories: mock().mockResolvedValue(undefined),
169
170
  updateMemory: mock().mockResolvedValue(true),
@@ -28,10 +28,10 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@elizaos/cli": "1.4.3",
32
- "@elizaos/core": "1.4.3",
33
- "@elizaos/plugin-bootstrap": "1.4.3",
34
- "@elizaos/plugin-sql": "1.4.3",
31
+ "@elizaos/cli": "1.4.5",
32
+ "@elizaos/core": "1.4.5",
33
+ "@elizaos/plugin-bootstrap": "1.4.5",
34
+ "@elizaos/plugin-sql": "1.4.5",
35
35
  "@tanstack/react-query": "^5.29.0",
36
36
  "clsx": "^2.1.1",
37
37
  "react": "^18.3.1",
@@ -33,11 +33,11 @@
33
33
  "GUIDE.md"
34
34
  ],
35
35
  "dependencies": {
36
- "@elizaos/cli": "1.4.3",
37
- "@elizaos/core": "1.4.3",
38
- "@elizaos/plugin-bootstrap": "1.4.3",
36
+ "@elizaos/cli": "1.4.5",
37
+ "@elizaos/core": "1.4.5",
38
+ "@elizaos/plugin-bootstrap": "1.4.5",
39
39
  "@elizaos/plugin-redpill": "1.2.1",
40
- "@elizaos/plugin-sql": "1.4.3",
40
+ "@elizaos/plugin-sql": "1.4.5",
41
41
  "@phala/dstack-sdk": "0.1.11",
42
42
  "@solana/web3.js": "1.98.2",
43
43
  "@tanstack/react-query": "^5.29.0",
@@ -1,7 +1,6 @@
1
1
  import { logger, type IAgentRuntime, type Project, type ProjectAgent } from '@elizaos/core';
2
2
  import teeStarterPlugin, { StarterService } from './plugin.ts';
3
3
  import { mrTeeCharacter as character } from './character.ts';
4
- import ProjectTeeStarterTestSuite from './__tests__/e2e/project-tee-starter.e2e';
5
4
 
6
5
  const initCharacter = ({ runtime }: { runtime: IAgentRuntime }) => {
7
6
  logger.info(`Initializing character: ${character.name}`);
@@ -11,7 +10,7 @@ const initCharacter = ({ runtime }: { runtime: IAgentRuntime }) => {
11
10
  export const projectAgent: ProjectAgent = {
12
11
  character,
13
12
  init: async (runtime: IAgentRuntime) => await initCharacter({ runtime }),
14
- tests: [ProjectTeeStarterTestSuite], // Export tests from ProjectAgent
13
+ plugins: [teeStarterPlugin], // Add any additional plugins here
15
14
  };
16
15
 
17
16
  const project: Project = {
@@ -0,0 +1,5 @@
1
+ import {
2
+ require_typescript
3
+ } from "./chunk-FGGNHEXZ.js";
4
+ import "./chunk-2ESYSVXG.js";
5
+ export default require_typescript();
@@ -116,13 +116,13 @@ import {
116
116
  updateFile,
117
117
  validateGitHubToken,
118
118
  writeEnvFile
119
- } from "./chunk-N5G5XSGP.js";
119
+ } from "./chunk-Q6M2K53X.js";
120
120
  import {
121
121
  runBunCommand
122
122
  } from "./chunk-FQYWRHLX.js";
123
123
  import "./chunk-GXWWPFBO.js";
124
124
  import "./chunk-I4L4T7QX.js";
125
- import "./chunk-3RG5ZIWI.js";
125
+ import "./chunk-2ESYSVXG.js";
126
126
  export {
127
127
  ModuleLoader,
128
128
  NAV_BACK,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/cli",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "elizaOS CLI - Manage your AI agents and plugins",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -47,6 +47,7 @@
47
47
  "test:unit": "bun test --timeout 30000",
48
48
  "test:unit:watch": "bun test --watch --timeout 30000",
49
49
  "test:unit:coverage": "bun test --coverage --timeout 30000",
50
+ "test:matrix": "bun test src/commands/scenario/src/__tests__/matrix-*.test.ts --timeout 30000",
50
51
  "test:bats": "bats tests/bats",
51
52
  "test:bats:commands": "bats tests/bats/commands",
52
53
  "test:bats:integration": "bats tests/bats/integration",
@@ -54,7 +55,8 @@
54
55
  "test:types": "tsc --noEmit",
55
56
  "coverage": "c8 --reporter=lcov --reporter=text bun test",
56
57
  "coverage:html": "c8 --reporter=html bun test && open coverage/index.html",
57
- "test:cli": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" bun test tests/commands/ --timeout 120000; EXIT_CODE=$?; bash tests/cleanup-processes.sh; exit $EXIT_CODE"
58
+ "test:cli": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" bun test tests/commands/ --timeout 120000; EXIT_CODE=$?; bash tests/cleanup-processes.sh; exit $EXIT_CODE",
59
+ "test:scenarios": "for f in src/commands/scenario/examples/*.scenario.yaml; do echo \"=== $f ===\"; bun dist/index.js scenario run \"$f\" || echo \"FAIL $f\"; echo; done | cat"
58
60
  },
59
61
  "devDependencies": {
60
62
  "@types/bun": "^1.2.17",
@@ -67,28 +69,32 @@
67
69
  "bats-support": "^0.3.0",
68
70
  "cross-env": "^7.0.3",
69
71
  "esbuild-plugin-copy": "^2.1.1",
72
+ "node-html-parser": "^7.0.1",
70
73
  "prettier": "3.5.3",
74
+ "puppeteer": "^22.15.0",
71
75
  "tsup": "8.5.0",
72
76
  "typescript": "5.8.3",
73
77
  "vite": "^6.3.5"
74
78
  },
75
- "gitHead": "966e28250672a7a0c5f934defd995c51b94c4622",
79
+ "gitHead": "70bc1e7ac4cef7dc465a79da6466ae7ecf6a8952",
76
80
  "dependencies": {
77
81
  "@anthropic-ai/claude-code": "^1.0.35",
78
82
  "@anthropic-ai/sdk": "^0.54.0",
79
83
  "@clack/prompts": "^0.11.0",
80
- "@elizaos/api-client": "1.4.3",
81
- "@elizaos/core": "1.4.3",
82
- "@elizaos/plugin-sql": "1.4.3",
83
- "@elizaos/server": "1.4.3",
84
+ "@elizaos/api-client": "1.4.5",
85
+ "@elizaos/core": "1.4.5",
86
+ "@elizaos/plugin-bootstrap": "1.4.5",
87
+ "@elizaos/plugin-sql": "1.4.5",
88
+ "@elizaos/server": "1.4.5",
84
89
  "bun": "^1.2.17",
85
- "chalk": "^5.3.0",
90
+ "chalk": "^5.4.1",
86
91
  "chokidar": "^4.0.3",
87
92
  "commander": "^14.0.0",
88
93
  "dotenv": "^16.5.0",
89
94
  "fs-extra": "^11.1.0",
90
95
  "globby": "^14.0.2",
91
96
  "https-proxy-agent": "^7.0.6",
97
+ "lodash": "^4.17.21",
92
98
  "ora": "^8.1.1",
93
99
  "rimraf": "6.0.1",
94
100
  "semver": "^7.7.2",
@@ -41,11 +41,11 @@
41
41
  "tsup.config.ts"
42
42
  ],
43
43
  "dependencies": {
44
- "@elizaos/core": "1.4.3",
44
+ "@elizaos/core": "1.4.5",
45
45
  "zod": "^3.24.4"
46
46
  },
47
47
  "devDependencies": {
48
- "@elizaos/cli": "1.4.3",
48
+ "@elizaos/cli": "1.4.5",
49
49
  "dotenv": "16.4.5",
50
50
  "prettier": "3.5.3",
51
51
  "tsup": "8.5.0",
@@ -139,6 +139,7 @@ export function createMockRuntime(overrides: Partial<IAgentRuntime> = {}): IAgen
139
139
  getMemoriesByRoomIds: mock().mockResolvedValue([]),
140
140
  searchMemories: mock().mockResolvedValue([]),
141
141
  addEmbeddingToMemory: mock().mockImplementation(async (memory: Memory) => memory),
142
+ queueEmbeddingGeneration: mock().mockResolvedValue(undefined),
142
143
  getAllMemories: mock().mockResolvedValue([]),
143
144
  clearAllAgentMemories: mock().mockResolvedValue(undefined),
144
145
  updateMemory: mock().mockResolvedValue(true),
@@ -41,7 +41,7 @@
41
41
  "tsup.config.ts"
42
42
  ],
43
43
  "dependencies": {
44
- "@elizaos/core": "1.4.3",
44
+ "@elizaos/core": "1.4.5",
45
45
  "@tanstack/react-query": "^5.80.7",
46
46
  "clsx": "^2.1.1",
47
47
  "tailwind-merge": "^3.3.1",
@@ -50,7 +50,7 @@
50
50
  "zod": "3.24.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@elizaos/cli": "1.4.3",
53
+ "@elizaos/cli": "1.4.5",
54
54
  "@tailwindcss/vite": "^4.1.10",
55
55
  "@vitejs/plugin-react-swc": "^3.10.2",
56
56
  "dotenv": "16.4.5",
@@ -164,6 +164,7 @@ export function createMockRuntime(overrides: Partial<IAgentRuntime> = {}): IAgen
164
164
  searchMemories: mock().mockResolvedValue([]),
165
165
 
166
166
  addEmbeddingToMemory: mock().mockImplementation(async (memory: Memory) => memory),
167
+ queueEmbeddingGeneration: mock().mockResolvedValue(undefined),
167
168
  getAllMemories: mock().mockResolvedValue([]),
168
169
  clearAllAgentMemories: mock().mockResolvedValue(undefined),
169
170
  updateMemory: mock().mockResolvedValue(true),
@@ -28,10 +28,10 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@elizaos/cli": "1.4.3",
32
- "@elizaos/core": "1.4.3",
33
- "@elizaos/plugin-bootstrap": "1.4.3",
34
- "@elizaos/plugin-sql": "1.4.3",
31
+ "@elizaos/cli": "1.4.5",
32
+ "@elizaos/core": "1.4.5",
33
+ "@elizaos/plugin-bootstrap": "1.4.5",
34
+ "@elizaos/plugin-sql": "1.4.5",
35
35
  "@tanstack/react-query": "^5.29.0",
36
36
  "clsx": "^2.1.1",
37
37
  "react": "^18.3.1",
@@ -33,11 +33,11 @@
33
33
  "GUIDE.md"
34
34
  ],
35
35
  "dependencies": {
36
- "@elizaos/cli": "1.4.3",
37
- "@elizaos/core": "1.4.3",
38
- "@elizaos/plugin-bootstrap": "1.4.3",
36
+ "@elizaos/cli": "1.4.5",
37
+ "@elizaos/core": "1.4.5",
38
+ "@elizaos/plugin-bootstrap": "1.4.5",
39
39
  "@elizaos/plugin-redpill": "1.2.1",
40
- "@elizaos/plugin-sql": "1.4.3",
40
+ "@elizaos/plugin-sql": "1.4.5",
41
41
  "@phala/dstack-sdk": "0.1.11",
42
42
  "@solana/web3.js": "1.98.2",
43
43
  "@tanstack/react-query": "^5.29.0",
@@ -1,7 +1,6 @@
1
1
  import { logger, type IAgentRuntime, type Project, type ProjectAgent } from '@elizaos/core';
2
2
  import teeStarterPlugin, { StarterService } from './plugin.ts';
3
3
  import { mrTeeCharacter as character } from './character.ts';
4
- import ProjectTeeStarterTestSuite from './__tests__/e2e/project-tee-starter.e2e';
5
4
 
6
5
  const initCharacter = ({ runtime }: { runtime: IAgentRuntime }) => {
7
6
  logger.info(`Initializing character: ${character.name}`);
@@ -11,7 +10,7 @@ const initCharacter = ({ runtime }: { runtime: IAgentRuntime }) => {
11
10
  export const projectAgent: ProjectAgent = {
12
11
  character,
13
12
  init: async (runtime: IAgentRuntime) => await initCharacter({ runtime }),
14
- tests: [ProjectTeeStarterTestSuite], // Export tests from ProjectAgent
13
+ plugins: [teeStarterPlugin], // Add any additional plugins here
15
14
  };
16
15
 
17
16
  const project: Project = {
@@ -1,10 +0,0 @@
1
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
- }) : x)(function(x) {
4
- if (typeof require !== "undefined") return require.apply(this, arguments);
5
- throw Error('Dynamic require of "' + x + '" is not supported');
6
- });
7
-
8
- export {
9
- __require
10
- };