@elizaos/cli 1.0.0-beta.53 → 1.0.0-beta.55
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.
- package/README.md +8 -6
- package/dist/assets/{index-2Kbna80c.js → index-DhQDPpi2.js} +2 -2
- package/dist/assets/index-DhQDPpi2.js.br +0 -0
- package/dist/assets/{index-2Kbna80c.js.map → index-DhQDPpi2.js.map} +1 -1
- package/dist/assets/{index-D-_Bn7hb.js → index-ePATw8WZ.js} +4 -4
- package/dist/assets/{index-D-_Bn7hb.js.map → index-ePATw8WZ.js.map} +1 -1
- package/dist/{chunk-JDGKH55Y.js → chunk-2BLFSUGG.js} +1 -1
- package/dist/{chunk-ERK6VXJW.js → chunk-6G5JOS4N.js} +1 -1
- package/dist/{chunk-NXCNTKQC.js → chunk-AAVR2CK5.js} +2 -2
- package/dist/{chunk-RJJTIDD2.js → chunk-B3LHLXRB.js} +299 -134
- package/dist/{chunk-DEPCHBQW.js → chunk-MDXTNHL5.js} +1 -1
- package/dist/{chunk-LE4FHDSO.js → chunk-PPVMBVEM.js} +1 -1
- package/dist/{chunk-HLZ5IENK.js → chunk-QP5OYQAQ.js} +1 -1
- package/dist/{chunk-XPARH4Z6.js → chunk-VS6WBT2W.js} +792 -30
- package/dist/{chunk-YXNSLRWC.js → chunk-WKZM6KPD.js} +206 -98
- package/dist/{chunk-7PL4PYLO.js → chunk-YWU6PX2M.js} +1 -1
- package/dist/commands/agent.js +1 -1
- package/dist/commands/create.js +2 -2
- package/dist/commands/dev.js +2 -2
- package/dist/commands/env.js +2 -2
- package/dist/commands/plugins.js +2 -2
- package/dist/commands/publish.js +3 -3
- package/dist/commands/setup-monorepo.js +2 -2
- package/dist/commands/start.js +3 -3
- package/dist/commands/test.js +4 -4
- package/dist/commands/update.js +2 -2
- package/dist/index.html +1 -1
- package/dist/index.js +10 -10
- package/dist/{registry-FEME5DPV.js → registry-3XYYHOKX.js} +1 -1
- package/package.json +6 -11
- package/templates/plugin-starter/README.md +61 -0
- package/templates/plugin-starter/__tests__/integration.test.ts +133 -0
- package/templates/plugin-starter/__tests__/plugin.test.ts +182 -0
- package/templates/plugin-starter/__tests__/test-utils.ts +162 -0
- package/templates/plugin-starter/e2e/starter-plugin.test.ts +177 -0
- package/templates/plugin-starter/package.json +6 -2
- package/templates/plugin-starter/src/index.ts +1 -37
- package/templates/plugin-starter/tsconfig.json +1 -2
- package/templates/plugin-starter/vitest.config.ts +16 -0
- package/templates/project-starter/README.md +110 -1
- package/templates/project-starter/__tests__/env.test.ts +1 -9
- package/templates/project-starter/__tests__/file-structure.test.ts +3 -7
- package/templates/project-starter/__tests__/integration.test.ts +139 -64
- package/templates/project-starter/__tests__/plugin.test.ts +1 -3
- package/templates/project-starter/__tests__/test-utils.ts +121 -0
- package/templates/project-starter/e2e/project.test.ts +34 -0
- package/templates/project-starter/{src/tests.ts → e2e/starter-plugin.test.ts} +43 -9
- package/templates/project-starter/package.json +6 -4
- package/templates/project-starter/src/plugin.ts +0 -2
- package/templates/project-starter/vitest.config.ts +1 -0
- package/dist/assets/index-2Kbna80c.js.br +0 -0
- package/templates/project-starter/README-TESTS.md +0 -135
- package/templates/project-starter/__tests__/tests.test.ts +0 -129
package/README.md
CHANGED
|
@@ -208,14 +208,16 @@ If any character files fail to load, ElizaOS will:
|
|
|
208
208
|
|
|
209
209
|
#### `elizaos test`
|
|
210
210
|
|
|
211
|
-
Run tests for Eliza agent plugins.
|
|
211
|
+
Run tests for Eliza agent plugins and projects.
|
|
212
212
|
|
|
213
|
+
- **Subcommands:**
|
|
214
|
+
- `component`: Run component tests (via Vitest)
|
|
215
|
+
- `e2e`: Run end-to-end runtime tests
|
|
216
|
+
- `all`: Run both component and e2e tests (default)
|
|
213
217
|
- **Options:**
|
|
214
|
-
- `-p, --port <port>`: Port to listen on
|
|
215
|
-
- `-
|
|
216
|
-
-
|
|
217
|
-
- `-spt, --skip-project-tests`: Skip project tests
|
|
218
|
-
- `-sb, --skip-build`: Skip building before running tests
|
|
218
|
+
- `-p, --port <port>`: Port to listen on for e2e tests
|
|
219
|
+
- `-n, --name <n>`: Filter tests by name (matches file names or test suite names)
|
|
220
|
+
- `--skip-build`: Skip building before running tests
|
|
219
221
|
|
|
220
222
|
### Trusted Execution Environment (TEE) Management
|
|
221
223
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as getAugmentedNamespace, p as process$1, g as getDefaultExportFromCjs } from './vendor-DaQtate6.js';
|
|
2
|
-
import { r as requireStreamBrowserify, a as requireString_decoder, b as requireUtil, c as requireShams, d as requireCallBound$1, e as requireEsObjectAtoms, f as requireCallBind, g as requireGetIntrinsic, h as requireDefineDataProperty, i as requireHasPropertyDescriptors, j as requireEvents, B as Buffer } from './index-
|
|
2
|
+
import { r as requireStreamBrowserify, a as requireString_decoder, b as requireUtil, c as requireShams, d as requireCallBound$1, e as requireEsObjectAtoms, f as requireCallBind, g as requireGetIntrinsic, h as requireDefineDataProperty, i as requireHasPropertyDescriptors, j as requireEvents, B as Buffer } from './index-ePATw8WZ.js';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
for (var i = 0; i < m.length; i++) {
|
|
@@ -7498,4 +7498,4 @@ const index$1 = /*#__PURE__*/_mergeNamespaces({
|
|
|
7498
7498
|
}, [pinoPrettyExports]);
|
|
7499
7499
|
|
|
7500
7500
|
export { index$1 as i };
|
|
7501
|
-
//# sourceMappingURL=index-
|
|
7501
|
+
//# sourceMappingURL=index-DhQDPpi2.js.map
|
|
Binary file
|