@elizaos/cli 1.0.6 → 1.0.8

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 (88) hide show
  1. package/README.md +12 -11
  2. package/dist/assets/{index-BlgsVC9v.js → index-CZAd5zm2.js} +17 -17
  3. package/dist/assets/index-CZAd5zm2.js.br +0 -0
  4. package/dist/assets/{index-BlgsVC9v.js.map → index-CZAd5zm2.js.map} +1 -1
  5. package/dist/assets/{index-TLtd8ntA.js → index-CaEsCLCC.js} +4155 -10851
  6. package/dist/assets/{index-TLtd8ntA.js.map → index-CaEsCLCC.js.map} +1 -1
  7. package/dist/assets/index-DyA-lndn.css +1 -0
  8. package/dist/assets/index-DyA-lndn.css.br +0 -0
  9. package/dist/assets/{vendor-BiCY-iVm.js → vendor-DSdxb8P-.js} +2 -2
  10. package/dist/assets/vendor-DSdxb8P-.js.br +0 -0
  11. package/dist/assets/{vendor-BiCY-iVm.js.map → vendor-DSdxb8P-.js.map} +1 -1
  12. package/dist/chunk-33BHGAF7.js +616 -0
  13. package/dist/{chunk-YTV6GDEJ.js → chunk-CVADLFW6.js} +100 -42
  14. package/dist/chunk-F24MS2YR.js +19 -0
  15. package/dist/{chunk-7HDCC22V.js → chunk-IEKLJDUU.js} +99 -0
  16. package/dist/chunk-MA2ZXPG6.js +260 -0
  17. package/dist/chunk-REBZFQYE.js +11728 -0
  18. package/dist/chunk-W3HS2NP6.js +154 -0
  19. package/dist/commands/agent/actions/index.d.ts +25 -0
  20. package/dist/commands/agent/actions/index.js +23 -0
  21. package/dist/commands/agent/index.d.ts +16 -0
  22. package/dist/commands/agent/index.js +24 -0
  23. package/dist/commands/create/actions/index.d.ts +35 -0
  24. package/dist/commands/create/actions/index.js +30 -0
  25. package/dist/commands/create/index.d.ts +5 -0
  26. package/dist/commands/create/index.js +17 -0
  27. package/dist/commands/shared/index.d.ts +35 -0
  28. package/dist/commands/shared/index.js +13 -0
  29. package/dist/index.html +3 -3
  30. package/dist/index.js +103836 -56
  31. package/dist/{prompts-I4LK5NKX.js → lib-NAGYZHVV.js} +3 -3
  32. package/dist/{migrator-BQMHMHSG.js → migrator-KZLCVEIH.js} +117 -117
  33. package/dist/{plugin-creator-EUJNDFIB.js → plugin-creator-IC42XOHG.js} +3 -4
  34. package/dist/{registry-A4UYBEET.js → registry-XFOSZFU4.js} +4 -5
  35. package/dist/utils-DIZZ3HNZ.js +218 -0
  36. package/package.json +19 -12
  37. package/templates/plugin-starter/README.md +26 -9
  38. package/templates/plugin-starter/package.json +6 -2
  39. package/templates/plugin-starter/tsconfig.build.json +1 -3
  40. package/templates/plugin-starter/tsconfig.json +1 -2
  41. package/templates/plugin-starter/tsup.config.ts +1 -1
  42. package/templates/project-starter/README.md +15 -16
  43. package/templates/project-starter/package.json +6 -6
  44. package/templates/project-tee-starter/e2e/project.test.ts +1 -1
  45. package/templates/project-tee-starter/e2e/starter-plugin.test.ts +1 -1
  46. package/templates/project-tee-starter/package.json +6 -5
  47. package/dist/assets/index-BlgsVC9v.js.br +0 -0
  48. package/dist/assets/index-fZleA996.css +0 -1
  49. package/dist/assets/index-fZleA996.css.br +0 -0
  50. package/dist/assets/vendor-BiCY-iVm.js.br +0 -0
  51. package/dist/chunk-335PGADS.js +0 -207
  52. package/dist/chunk-4QRJ6FQC.js +0 -295
  53. package/dist/chunk-5J7S2CSH.js +0 -2771
  54. package/dist/chunk-APFJCFC6.js +0 -78
  55. package/dist/chunk-CR5NR6A6.js +0 -458
  56. package/dist/chunk-KB3JDWUI.js +0 -106
  57. package/dist/chunk-L64NPCT6.js +0 -604
  58. package/dist/chunk-LRSU7IN6.js +0 -4862
  59. package/dist/chunk-LXYNBPDV.js +0 -570
  60. package/dist/chunk-MAGJ4VCL.js +0 -95
  61. package/dist/chunk-O64SGQGU.js +0 -90048
  62. package/dist/chunk-PHLX32YJ.js +0 -7889
  63. package/dist/chunk-RGI5263U.js +0 -7443
  64. package/dist/chunk-VWWF4TGX.js +0 -684
  65. package/dist/chunk-YMKISDXM.js +0 -247
  66. package/dist/commands/agent.d.ts +0 -27
  67. package/dist/commands/agent.js +0 -22
  68. package/dist/commands/create.d.ts +0 -15
  69. package/dist/commands/create.js +0 -18
  70. package/dist/commands/dev.d.ts +0 -8
  71. package/dist/commands/dev.js +0 -17
  72. package/dist/commands/env.d.ts +0 -16
  73. package/dist/commands/env.js +0 -21
  74. package/dist/commands/plugins.d.ts +0 -19
  75. package/dist/commands/plugins.js +0 -25
  76. package/dist/commands/publish.d.ts +0 -5
  77. package/dist/commands/publish.js +0 -18
  78. package/dist/commands/setup-monorepo.d.ts +0 -5
  79. package/dist/commands/setup-monorepo.js +0 -17
  80. package/dist/commands/start.d.ts +0 -198
  81. package/dist/commands/start.js +0 -25
  82. package/dist/commands/tee.d.ts +0 -5
  83. package/dist/commands/tee.js +0 -13
  84. package/dist/commands/test.d.ts +0 -6
  85. package/dist/commands/test.js +0 -24
  86. package/dist/commands/update.d.ts +0 -14
  87. package/dist/commands/update.js +0 -23
  88. package/dist/{chunk-NHI4RJD2.js → chunk-CEE6RKN5.js} +58 -58
package/README.md CHANGED
@@ -13,14 +13,16 @@ bun install -g @elizaos/cli
13
13
  The ElizaOS CLI requires [Bun](https://bun.sh) as its package manager. If Bun is not installed when you run the CLI, it will attempt to automatically install it for you.
14
14
 
15
15
  **Auto-installation features:**
16
+
16
17
  - ✅ Detects when Bun is missing
17
- - ✅ Downloads and installs Bun automatically on Windows, macOS, and Linux
18
+ - ✅ Downloads and installs Bun automatically on Windows, macOS, and Linux
18
19
  - ✅ Updates PATH for the current session
19
20
  - ✅ Falls back to manual installation instructions if auto-install fails
20
21
  - ✅ Skips auto-installation in CI environments
21
22
  - ✅ Can be disabled with `--no-auto-install` flag
22
23
 
23
24
  **To disable auto-installation:**
25
+
24
26
  ```bash
25
27
  # Global flag (applies to all commands)
26
28
  elizaos --no-auto-install create my-project
@@ -49,6 +51,7 @@ The following options are available for all ElizaOS CLI commands:
49
51
  - `-h, --help`: Display help information
50
52
 
51
53
  **Example usage:**
54
+
52
55
  ```bash
53
56
  # Disable auto-installation and emojis
54
57
  elizaos --no-auto-install --no-emoji create my-project
@@ -70,8 +73,7 @@ Initialize a new project, plugin, or agent.
70
73
  - **Options:**
71
74
  - `-d, --dir <dir>`: Installation directory (default: `.`)
72
75
  - `-y, --yes`: Skip confirmation and use defaults (default: `false`)
73
- - `-t, --type <type>`: Type to create: 'project', 'plugin', or 'agent' (default: 'project')
74
- - `--tee`: create a TEE starter project (default: `false`)
76
+ - `-t, --type <type>`: Type to create: 'project', 'plugin', 'agent', or 'tee' (default: 'project')
75
77
 
76
78
  **Important notes:**
77
79
 
@@ -130,12 +132,12 @@ Manage environment variables and secrets.
130
132
 
131
133
  ### Monorepo Setup
132
134
 
133
- #### `elizaos setup-monorepo`
135
+ #### `elizaos monorepo`
134
136
 
135
- Clone ElizaOS monorepo from a specific branch (defaults to main).
137
+ Clone ElizaOS monorepo from a specific branch (defaults to develop).
136
138
 
137
139
  - **Options:**
138
- - `-b, --branch <branch>`: Branch to install (default: `main`)
140
+ - `-b, --branch <branch>`: Branch to install (default: `develop`)
139
141
  - `-d, --dir <directory>`: Destination directory (default: `./eliza`)
140
142
 
141
143
  **Notes:**
@@ -150,7 +152,7 @@ Clone ElizaOS monorepo from a specific branch (defaults to main).
150
152
  Manage an ElizaOS plugin.
151
153
 
152
154
  - **Subcommands:**
153
- - `list` (alias: `l`): List all available plugins
155
+ - `list` (alias: `l`): List available plugins (shows v1.x plugins by default)
154
156
  - `add <plugin>` (alias: `install`): Add a plugin to the project
155
157
  - Arguments: `<plugin>` (plugin name)
156
158
  - Options: `-n, --no-env-prompt`, `-b, --branch <branchName>`, `-T, --tag <tagname>`
@@ -185,7 +187,6 @@ Manage ElizaOS agents.
185
187
  - `start` (alias: `s`): Start an agent
186
188
  - Options:
187
189
  - `-n, --name <name>`: Name of an existing agent to start
188
- - `-j, --json <json>`: Character JSON configuration string
189
190
  - `--path <path>`: Local path to character JSON file
190
191
  - `--remote-character <url>`: URL to remote character JSON file
191
192
  - `-r, --remote-url <url>`: URL of the remote agent runtime
@@ -218,7 +219,7 @@ Publish a plugin to the registry.
218
219
 
219
220
  - **Options:**
220
221
  - `-t, --test`: Test publish process without making changes
221
- - `-n, --npm`: Publish to npm instead of GitHub
222
+ - `--npm`: Publish to npm instead of GitHub
222
223
  - `-sr, --skip-registry`: Skip publishing to the registry
223
224
  - `-d, --dry-run`: Generate registry files locally without publishing
224
225
 
@@ -447,7 +448,7 @@ elizaos tee phala <command> [options]
447
448
 
448
449
  ```bash
449
450
  # Create a TEE project starter template
450
- elizaos create tee-agent --tee
451
+ elizaos create -t tee tee-agent
451
452
 
452
453
  # cd into directory and authenticate your Phala Cloud API Key
453
454
  cd tee-agent
@@ -790,5 +791,5 @@ Projects contain agent configurations and code for building agent-based applicat
790
791
  For contributing to the ElizaOS CLI, please clone the monorepo using:
791
792
 
792
793
  ```bash
793
- elizaos setup-monorepo
794
+ elizaos monorepo
794
795
  ```
@@ -1,5 +1,5 @@
1
- import { f as getAugmentedNamespace, p as process$1, g as getDefaultExportFromCjs } from './vendor-BiCY-iVm.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-TLtd8ntA.js';
1
+ import { p as process$1, l as getAugmentedNamespace, g as getDefaultExportFromCjs } from './vendor-DSdxb8P-.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-CaEsCLCC.js';
3
3
 
4
4
  function _mergeNamespaces(n, m) {
5
5
  for (var i = 0; i < m.length; i++) {
@@ -19,15 +19,6 @@ function _mergeNamespaces(n, m) {
19
19
  return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' }));
20
20
  }
21
21
 
22
- const __viteBrowserExternal = {};
23
-
24
- const __viteBrowserExternal$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
25
- __proto__: null,
26
- default: __viteBrowserExternal
27
- }, Symbol.toStringTag, { value: 'Module' }));
28
-
29
- const require$$0$1 = /*@__PURE__*/getAugmentedNamespace(__viteBrowserExternal$1);
30
-
31
22
  var pinoPretty = {exports: {}};
32
23
 
33
24
  var colorette = {};
@@ -482,7 +473,7 @@ const empty$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
482
473
  default: empty
483
474
  }, Symbol.toStringTag, { value: 'Module' }));
484
475
 
485
- const require$$0 = /*@__PURE__*/getAugmentedNamespace(empty$1);
476
+ const require$$0$1 = /*@__PURE__*/getAugmentedNamespace(empty$1);
486
477
 
487
478
  var pump_1;
488
479
  var hasRequiredPump;
@@ -495,7 +486,7 @@ function requirePump () {
495
486
  var fs;
496
487
 
497
488
  try {
498
- fs = require$$0; // we only need fs to get the ReadStream and WriteStream prototypes
489
+ fs = require$$0$1; // we only need fs to get the ReadStream and WriteStream prototypes
499
490
  } catch (e) {}
500
491
 
501
492
  var noop = function () {};
@@ -728,6 +719,15 @@ function requireSplit2 () {
728
719
  return split2;
729
720
  }
730
721
 
722
+ const __viteBrowserExternal = {};
723
+
724
+ const __viteBrowserExternal$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
725
+ __proto__: null,
726
+ default: __viteBrowserExternal
727
+ }, Symbol.toStringTag, { value: 'Module' }));
728
+
729
+ const require$$0 = /*@__PURE__*/getAugmentedNamespace(__viteBrowserExternal$1);
730
+
731
731
  var pinoAbstractTransport;
732
732
  var hasRequiredPinoAbstractTransport;
733
733
 
@@ -738,7 +738,7 @@ function requirePinoAbstractTransport () {
738
738
  const metadata = Symbol.for('pino.metadata');
739
739
  const split = requireSplit2();
740
740
  const { Duplex } = requireStreamBrowserify();
741
- const { parentPort, workerData } = require$$0$1;
741
+ const { parentPort, workerData } = require$$0;
742
742
 
743
743
  function createDeferred () {
744
744
  let resolve;
@@ -3970,7 +3970,7 @@ function requireSonicBoom () {
3970
3970
  if (hasRequiredSonicBoom) return sonicBoom;
3971
3971
  hasRequiredSonicBoom = 1;
3972
3972
 
3973
- const fs = require$$0;
3973
+ const fs = require$$0$1;
3974
3974
  const EventEmitter = requireEvents();
3975
3975
  const inherits = requireUtil().inherits;
3976
3976
  const path = requirePathBrowserify();
@@ -4825,7 +4825,7 @@ function requireBuildSafeSonicBoom () {
4825
4825
  hasRequiredBuildSafeSonicBoom = 1;
4826
4826
  var define_process_env_default = {};
4827
4827
  buildSafeSonicBoom_1 = buildSafeSonicBoom;
4828
- const { isMainThread } = require$$0$1;
4828
+ const { isMainThread } = require$$0;
4829
4829
  const SonicBoom = requireSonicBoom();
4830
4830
  const noop = requireNoop();
4831
4831
  function buildSafeSonicBoom(opts) {
@@ -7498,4 +7498,4 @@ const index$1 = /*#__PURE__*/_mergeNamespaces({
7498
7498
  }, [pinoPrettyExports]);
7499
7499
 
7500
7500
  export { index$1 as i };
7501
- //# sourceMappingURL=index-BlgsVC9v.js.map
7501
+ //# sourceMappingURL=index-CZAd5zm2.js.map
Binary file