@elizaos/cli 1.0.11 → 1.0.12

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 (68) hide show
  1. package/README.md +4 -4
  2. package/dist/assets/{index-Cuyjmso1.js → index-CtxA4ev_.js} +32310 -31443
  3. package/dist/assets/{index-Cuyjmso1.js.map → index-CtxA4ev_.js.map} +1 -1
  4. package/dist/assets/{index-poChVCDJ.js → index-xhCgCbS4.js} +2 -2
  5. package/dist/assets/index-xhCgCbS4.js.br +0 -0
  6. package/dist/assets/{index-poChVCDJ.js.map → index-xhCgCbS4.js.map} +1 -1
  7. package/dist/assets/vendor-DSdxb8P-.js.map +1 -1
  8. package/dist/chunk-AQ6OMR2A.js +14 -0
  9. package/dist/chunk-KB3JDWUI.js +106 -0
  10. package/dist/{chunk-HBV76MGW.js → chunk-PYMK3ECE.js} +44 -18
  11. package/dist/chunk-Y76S7TNK.js +5372 -0
  12. package/dist/{chunk-TPLM6M7M.js → chunk-YDVNTQX3.js} +6 -6
  13. package/dist/commands/agent/actions/index.js +3 -3
  14. package/dist/commands/agent/index.js +3 -3
  15. package/dist/commands/create/actions/index.js +4 -4
  16. package/dist/commands/create/index.js +5 -5
  17. package/dist/commands/shared/index.js +1 -1
  18. package/dist/index.html +1 -1
  19. package/dist/index.js +344 -7703
  20. package/dist/migrator-UQ4XFYE5.js +744 -0
  21. package/dist/{plugin-creator-T4K2673C.js → plugin-creator-TLQLTQIB.js} +8 -11
  22. package/dist/{registry-PTOPJQEB.js → registry-7PBDJL64.js} +3 -3
  23. package/dist/templates/plugin-starter/bunfig.toml +5 -1
  24. package/dist/templates/plugin-starter/package.json +6 -8
  25. package/dist/templates/plugin-starter/scripts/install-test-deps.js +50 -0
  26. package/dist/templates/plugin-starter/src/index.ts +1 -1
  27. package/dist/templates/project-starter/bunfig.toml +13 -1
  28. package/dist/templates/project-starter/package.json +16 -20
  29. package/dist/templates/project-starter/scripts/install-test-deps.js +51 -0
  30. package/dist/templates/project-starter/src/__tests__/config.test.ts +9 -9
  31. package/dist/templates/project-starter/src/__tests__/error-handling.test.ts +11 -11
  32. package/dist/templates/project-starter/src/__tests__/events.test.ts +6 -6
  33. package/dist/templates/project-starter/src/__tests__/integration.test.ts +11 -11
  34. package/dist/templates/project-starter/src/__tests__/routes.test.ts +2 -2
  35. package/dist/templates/project-tee-starter/__tests__/env.test.ts +10 -6
  36. package/dist/templates/project-tee-starter/bunfig.toml +13 -1
  37. package/dist/templates/project-tee-starter/e2e/project.test.ts +1 -1
  38. package/dist/templates/project-tee-starter/e2e/starter-plugin.test.ts +1 -1
  39. package/dist/templates/project-tee-starter/package.json +3 -3
  40. package/dist/{utils-TDE6Y3CB.js → utils-WRGBZBAJ.js} +9 -3
  41. package/package.json +28 -56
  42. package/templates/plugin-starter/bunfig.toml +5 -1
  43. package/templates/plugin-starter/package.json +6 -8
  44. package/templates/plugin-starter/scripts/install-test-deps.js +50 -0
  45. package/templates/plugin-starter/src/index.ts +1 -1
  46. package/templates/project-starter/bunfig.toml +13 -1
  47. package/templates/project-starter/package.json +16 -20
  48. package/templates/project-starter/scripts/install-test-deps.js +51 -0
  49. package/templates/project-starter/src/__tests__/config.test.ts +9 -9
  50. package/templates/project-starter/src/__tests__/error-handling.test.ts +11 -11
  51. package/templates/project-starter/src/__tests__/events.test.ts +6 -6
  52. package/templates/project-starter/src/__tests__/integration.test.ts +11 -11
  53. package/templates/project-starter/src/__tests__/routes.test.ts +2 -2
  54. package/templates/project-tee-starter/__tests__/env.test.ts +10 -6
  55. package/templates/project-tee-starter/bunfig.toml +13 -1
  56. package/templates/project-tee-starter/e2e/project.test.ts +1 -1
  57. package/templates/project-tee-starter/e2e/starter-plugin.test.ts +1 -1
  58. package/templates/project-tee-starter/package.json +3 -3
  59. package/dist/assets/index-poChVCDJ.js.br +0 -0
  60. package/dist/chunk-2GXSCVA2.js +0 -2057
  61. package/dist/chunk-567UPUC7.js +0 -52
  62. package/dist/chunk-LQ6XHF53.js +0 -19487
  63. package/dist/chunk-QLKBXRME.js +0 -11101
  64. package/dist/chunk-WS4DWCDZ.js +0 -892
  65. package/dist/fileFromPath-KB6XMTJ4.js +0 -133
  66. package/dist/migrator-JREQPDN3.js +0 -7523
  67. package/dist/pglite.data +0 -0
  68. package/dist/pglite.wasm +0 -0
@@ -11,16 +11,16 @@ import {
11
11
  selectDatabase,
12
12
  validateCreateOptions,
13
13
  validateProjectName
14
- } from "./chunk-HBV76MGW.js";
14
+ } from "./chunk-PYMK3ECE.js";
15
15
  import {
16
- Command,
17
- base_exports,
18
16
  displayBanner,
19
17
  handleError
20
- } from "./chunk-QLKBXRME.js";
18
+ } from "./chunk-Y76S7TNK.js";
21
19
 
22
20
  // src/commands/create/index.ts
21
+ import { Command } from "commander";
23
22
  import * as clack from "@clack/prompts";
23
+ import colors from "yoctocolors";
24
24
  import { logger } from "@elizaos/core";
25
25
  var create = new Command("create").description("Create a new ElizaOS project, plugin, agent, or TEE project").argument("[name]", "name of the project/plugin/agent to create").option("--dir <dir>", "directory to create the project in", ".").option("--yes, -y", "skip prompts and use defaults").option("--type <type>", "type of project to create (project, plugin, agent, tee)", "project").action(async (name, opts) => {
26
26
  try {
@@ -35,7 +35,7 @@ var create = new Command("create").description("Create a new ElizaOS project, pl
35
35
  const isNonInteractive = options.yes;
36
36
  if (!isNonInteractive) {
37
37
  await displayBanner();
38
- clack.intro(base_exports.inverse(" Creating ElizaOS Project "));
38
+ clack.intro(colors.inverse(" Creating ElizaOS Project "));
39
39
  }
40
40
  let projectType = options.type;
41
41
  let projectName = name;
@@ -132,7 +132,7 @@ var create = new Command("create").description("Create a new ElizaOS project, pl
132
132
  }
133
133
  }
134
134
  if (!isNonInteractive) {
135
- clack.outro(base_exports.green("Project created successfully! \u{1F389}"));
135
+ clack.outro(colors.green("Project created successfully! \u{1F389}"));
136
136
  }
137
137
  } catch (error) {
138
138
  if (!opts?.yes) {
@@ -9,11 +9,11 @@ import {
9
9
  setAgentConfig,
10
10
  startAgent,
11
11
  stopAgent
12
- } from "../../../chunk-QLKBXRME.js";
12
+ } from "../../../chunk-Y76S7TNK.js";
13
13
  import "../../../chunk-RIAWNDYI.js";
14
- import "../../../chunk-WS4DWCDZ.js";
14
+ import "../../../chunk-KB3JDWUI.js";
15
15
  import "../../../chunk-F24MS2YR.js";
16
- import "../../../chunk-567UPUC7.js";
16
+ import "../../../chunk-AQ6OMR2A.js";
17
17
  export {
18
18
  clearAgentMemories,
19
19
  getAgent,
@@ -6,14 +6,14 @@ import {
6
6
  agent,
7
7
  getAgents,
8
8
  resolveAgentId
9
- } from "../../chunk-QLKBXRME.js";
9
+ } from "../../chunk-Y76S7TNK.js";
10
10
  import "../../chunk-RIAWNDYI.js";
11
- import "../../chunk-WS4DWCDZ.js";
11
+ import "../../chunk-KB3JDWUI.js";
12
12
  import {
13
13
  getAgentRuntimeUrl,
14
14
  getAgentsBaseUrl
15
15
  } from "../../chunk-F24MS2YR.js";
16
- import "../../chunk-567UPUC7.js";
16
+ import "../../chunk-AQ6OMR2A.js";
17
17
  export {
18
18
  agent,
19
19
  getAgentRuntimeUrl,
@@ -11,12 +11,12 @@ import {
11
11
  installDependencies,
12
12
  setupAIModelConfig,
13
13
  setupProjectEnvironment
14
- } from "../../../chunk-HBV76MGW.js";
15
- import "../../../chunk-QLKBXRME.js";
14
+ } from "../../../chunk-PYMK3ECE.js";
15
+ import "../../../chunk-Y76S7TNK.js";
16
16
  import "../../../chunk-RIAWNDYI.js";
17
- import "../../../chunk-WS4DWCDZ.js";
17
+ import "../../../chunk-KB3JDWUI.js";
18
18
  import "../../../chunk-F24MS2YR.js";
19
- import "../../../chunk-567UPUC7.js";
19
+ import "../../../chunk-AQ6OMR2A.js";
20
20
  export {
21
21
  createAgent,
22
22
  createPlugin,
@@ -4,13 +4,13 @@ const require = createRequire(import.meta.url);
4
4
 
5
5
  import {
6
6
  create
7
- } from "../../chunk-TPLM6M7M.js";
8
- import "../../chunk-HBV76MGW.js";
9
- import "../../chunk-QLKBXRME.js";
7
+ } from "../../chunk-YDVNTQX3.js";
8
+ import "../../chunk-PYMK3ECE.js";
9
+ import "../../chunk-Y76S7TNK.js";
10
10
  import "../../chunk-RIAWNDYI.js";
11
- import "../../chunk-WS4DWCDZ.js";
11
+ import "../../chunk-KB3JDWUI.js";
12
12
  import "../../chunk-F24MS2YR.js";
13
- import "../../chunk-567UPUC7.js";
13
+ import "../../chunk-AQ6OMR2A.js";
14
14
  export {
15
15
  create
16
16
  };
@@ -6,7 +6,7 @@ import {
6
6
  getAgentRuntimeUrl,
7
7
  getAgentsBaseUrl
8
8
  } from "../../chunk-F24MS2YR.js";
9
- import "../../chunk-567UPUC7.js";
9
+ import "../../chunk-AQ6OMR2A.js";
10
10
  export {
11
11
  getAgentRuntimeUrl,
12
12
  getAgentsBaseUrl
package/dist/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <link rel="icon" type="image/x-icon" href="/favicon.ico" />
7
7
  <title>ElizaOS - Client</title>
8
- <script type="module" crossorigin src="/assets/index-Cuyjmso1.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-CtxA4ev_.js"></script>
9
9
  <link rel="modulepreload" crossorigin href="/assets/vendor-DSdxb8P-.js">
10
10
  <link rel="stylesheet" crossorigin href="/assets/index-Df1AFSuJ.css">
11
11
  </head>