@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.
Files changed (53) hide show
  1. package/README.md +8 -6
  2. package/dist/assets/{index-2Kbna80c.js → index-DhQDPpi2.js} +2 -2
  3. package/dist/assets/index-DhQDPpi2.js.br +0 -0
  4. package/dist/assets/{index-2Kbna80c.js.map → index-DhQDPpi2.js.map} +1 -1
  5. package/dist/assets/{index-D-_Bn7hb.js → index-ePATw8WZ.js} +4 -4
  6. package/dist/assets/{index-D-_Bn7hb.js.map → index-ePATw8WZ.js.map} +1 -1
  7. package/dist/{chunk-JDGKH55Y.js → chunk-2BLFSUGG.js} +1 -1
  8. package/dist/{chunk-ERK6VXJW.js → chunk-6G5JOS4N.js} +1 -1
  9. package/dist/{chunk-NXCNTKQC.js → chunk-AAVR2CK5.js} +2 -2
  10. package/dist/{chunk-RJJTIDD2.js → chunk-B3LHLXRB.js} +299 -134
  11. package/dist/{chunk-DEPCHBQW.js → chunk-MDXTNHL5.js} +1 -1
  12. package/dist/{chunk-LE4FHDSO.js → chunk-PPVMBVEM.js} +1 -1
  13. package/dist/{chunk-HLZ5IENK.js → chunk-QP5OYQAQ.js} +1 -1
  14. package/dist/{chunk-XPARH4Z6.js → chunk-VS6WBT2W.js} +792 -30
  15. package/dist/{chunk-YXNSLRWC.js → chunk-WKZM6KPD.js} +206 -98
  16. package/dist/{chunk-7PL4PYLO.js → chunk-YWU6PX2M.js} +1 -1
  17. package/dist/commands/agent.js +1 -1
  18. package/dist/commands/create.js +2 -2
  19. package/dist/commands/dev.js +2 -2
  20. package/dist/commands/env.js +2 -2
  21. package/dist/commands/plugins.js +2 -2
  22. package/dist/commands/publish.js +3 -3
  23. package/dist/commands/setup-monorepo.js +2 -2
  24. package/dist/commands/start.js +3 -3
  25. package/dist/commands/test.js +4 -4
  26. package/dist/commands/update.js +2 -2
  27. package/dist/index.html +1 -1
  28. package/dist/index.js +10 -10
  29. package/dist/{registry-FEME5DPV.js → registry-3XYYHOKX.js} +1 -1
  30. package/package.json +6 -11
  31. package/templates/plugin-starter/README.md +61 -0
  32. package/templates/plugin-starter/__tests__/integration.test.ts +133 -0
  33. package/templates/plugin-starter/__tests__/plugin.test.ts +182 -0
  34. package/templates/plugin-starter/__tests__/test-utils.ts +162 -0
  35. package/templates/plugin-starter/e2e/starter-plugin.test.ts +177 -0
  36. package/templates/plugin-starter/package.json +6 -2
  37. package/templates/plugin-starter/src/index.ts +1 -37
  38. package/templates/plugin-starter/tsconfig.json +1 -2
  39. package/templates/plugin-starter/vitest.config.ts +16 -0
  40. package/templates/project-starter/README.md +110 -1
  41. package/templates/project-starter/__tests__/env.test.ts +1 -9
  42. package/templates/project-starter/__tests__/file-structure.test.ts +3 -7
  43. package/templates/project-starter/__tests__/integration.test.ts +139 -64
  44. package/templates/project-starter/__tests__/plugin.test.ts +1 -3
  45. package/templates/project-starter/__tests__/test-utils.ts +121 -0
  46. package/templates/project-starter/e2e/project.test.ts +34 -0
  47. package/templates/project-starter/{src/tests.ts → e2e/starter-plugin.test.ts} +43 -9
  48. package/templates/project-starter/package.json +6 -4
  49. package/templates/project-starter/src/plugin.ts +0 -2
  50. package/templates/project-starter/vitest.config.ts +1 -0
  51. package/dist/assets/index-2Kbna80c.js.br +0 -0
  52. package/templates/project-starter/README-TESTS.md +0 -135
  53. 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
- - `-pl, --plugin <n>`: Name of plugin to test
216
- - `-sp, --skip-plugins`: Skip plugin tests
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-D-_Bn7hb.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-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-2Kbna80c.js.map
7501
+ //# sourceMappingURL=index-DhQDPpi2.js.map
Binary file