@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.
- package/README.md +4 -4
- package/dist/assets/{index-Cuyjmso1.js → index-CtxA4ev_.js} +32310 -31443
- package/dist/assets/{index-Cuyjmso1.js.map → index-CtxA4ev_.js.map} +1 -1
- package/dist/assets/{index-poChVCDJ.js → index-xhCgCbS4.js} +2 -2
- package/dist/assets/index-xhCgCbS4.js.br +0 -0
- package/dist/assets/{index-poChVCDJ.js.map → index-xhCgCbS4.js.map} +1 -1
- package/dist/assets/vendor-DSdxb8P-.js.map +1 -1
- package/dist/chunk-AQ6OMR2A.js +14 -0
- package/dist/chunk-KB3JDWUI.js +106 -0
- package/dist/{chunk-HBV76MGW.js → chunk-PYMK3ECE.js} +44 -18
- package/dist/chunk-Y76S7TNK.js +5372 -0
- package/dist/{chunk-TPLM6M7M.js → chunk-YDVNTQX3.js} +6 -6
- package/dist/commands/agent/actions/index.js +3 -3
- package/dist/commands/agent/index.js +3 -3
- package/dist/commands/create/actions/index.js +4 -4
- package/dist/commands/create/index.js +5 -5
- package/dist/commands/shared/index.js +1 -1
- package/dist/index.html +1 -1
- package/dist/index.js +344 -7703
- package/dist/migrator-UQ4XFYE5.js +744 -0
- package/dist/{plugin-creator-T4K2673C.js → plugin-creator-TLQLTQIB.js} +8 -11
- package/dist/{registry-PTOPJQEB.js → registry-7PBDJL64.js} +3 -3
- package/dist/templates/plugin-starter/bunfig.toml +5 -1
- package/dist/templates/plugin-starter/package.json +6 -8
- package/dist/templates/plugin-starter/scripts/install-test-deps.js +50 -0
- package/dist/templates/plugin-starter/src/index.ts +1 -1
- package/dist/templates/project-starter/bunfig.toml +13 -1
- package/dist/templates/project-starter/package.json +16 -20
- package/dist/templates/project-starter/scripts/install-test-deps.js +51 -0
- package/dist/templates/project-starter/src/__tests__/config.test.ts +9 -9
- package/dist/templates/project-starter/src/__tests__/error-handling.test.ts +11 -11
- package/dist/templates/project-starter/src/__tests__/events.test.ts +6 -6
- package/dist/templates/project-starter/src/__tests__/integration.test.ts +11 -11
- package/dist/templates/project-starter/src/__tests__/routes.test.ts +2 -2
- package/dist/templates/project-tee-starter/__tests__/env.test.ts +10 -6
- package/dist/templates/project-tee-starter/bunfig.toml +13 -1
- package/dist/templates/project-tee-starter/e2e/project.test.ts +1 -1
- package/dist/templates/project-tee-starter/e2e/starter-plugin.test.ts +1 -1
- package/dist/templates/project-tee-starter/package.json +3 -3
- package/dist/{utils-TDE6Y3CB.js → utils-WRGBZBAJ.js} +9 -3
- package/package.json +28 -56
- package/templates/plugin-starter/bunfig.toml +5 -1
- package/templates/plugin-starter/package.json +6 -8
- package/templates/plugin-starter/scripts/install-test-deps.js +50 -0
- package/templates/plugin-starter/src/index.ts +1 -1
- package/templates/project-starter/bunfig.toml +13 -1
- package/templates/project-starter/package.json +16 -20
- package/templates/project-starter/scripts/install-test-deps.js +51 -0
- package/templates/project-starter/src/__tests__/config.test.ts +9 -9
- package/templates/project-starter/src/__tests__/error-handling.test.ts +11 -11
- package/templates/project-starter/src/__tests__/events.test.ts +6 -6
- package/templates/project-starter/src/__tests__/integration.test.ts +11 -11
- package/templates/project-starter/src/__tests__/routes.test.ts +2 -2
- package/templates/project-tee-starter/__tests__/env.test.ts +10 -6
- package/templates/project-tee-starter/bunfig.toml +13 -1
- package/templates/project-tee-starter/e2e/project.test.ts +1 -1
- package/templates/project-tee-starter/e2e/starter-plugin.test.ts +1 -1
- package/templates/project-tee-starter/package.json +3 -3
- package/dist/assets/index-poChVCDJ.js.br +0 -0
- package/dist/chunk-2GXSCVA2.js +0 -2057
- package/dist/chunk-567UPUC7.js +0 -52
- package/dist/chunk-LQ6XHF53.js +0 -19487
- package/dist/chunk-QLKBXRME.js +0 -11101
- package/dist/chunk-WS4DWCDZ.js +0 -892
- package/dist/fileFromPath-KB6XMTJ4.js +0 -133
- package/dist/migrator-JREQPDN3.js +0 -7523
- package/dist/pglite.data +0 -0
- package/dist/pglite.wasm +0 -0
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
selectDatabase,
|
|
12
12
|
validateCreateOptions,
|
|
13
13
|
validateProjectName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PYMK3ECE.js";
|
|
15
15
|
import {
|
|
16
|
-
Command,
|
|
17
|
-
base_exports,
|
|
18
16
|
displayBanner,
|
|
19
17
|
handleError
|
|
20
|
-
} from "./chunk-
|
|
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(
|
|
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(
|
|
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-
|
|
12
|
+
} from "../../../chunk-Y76S7TNK.js";
|
|
13
13
|
import "../../../chunk-RIAWNDYI.js";
|
|
14
|
-
import "../../../chunk-
|
|
14
|
+
import "../../../chunk-KB3JDWUI.js";
|
|
15
15
|
import "../../../chunk-F24MS2YR.js";
|
|
16
|
-
import "../../../chunk-
|
|
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-
|
|
9
|
+
} from "../../chunk-Y76S7TNK.js";
|
|
10
10
|
import "../../chunk-RIAWNDYI.js";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-KB3JDWUI.js";
|
|
12
12
|
import {
|
|
13
13
|
getAgentRuntimeUrl,
|
|
14
14
|
getAgentsBaseUrl
|
|
15
15
|
} from "../../chunk-F24MS2YR.js";
|
|
16
|
-
import "../../chunk-
|
|
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-
|
|
15
|
-
import "../../../chunk-
|
|
14
|
+
} from "../../../chunk-PYMK3ECE.js";
|
|
15
|
+
import "../../../chunk-Y76S7TNK.js";
|
|
16
16
|
import "../../../chunk-RIAWNDYI.js";
|
|
17
|
-
import "../../../chunk-
|
|
17
|
+
import "../../../chunk-KB3JDWUI.js";
|
|
18
18
|
import "../../../chunk-F24MS2YR.js";
|
|
19
|
-
import "../../../chunk-
|
|
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-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-YDVNTQX3.js";
|
|
8
|
+
import "../../chunk-PYMK3ECE.js";
|
|
9
|
+
import "../../chunk-Y76S7TNK.js";
|
|
10
10
|
import "../../chunk-RIAWNDYI.js";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-KB3JDWUI.js";
|
|
12
12
|
import "../../chunk-F24MS2YR.js";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-AQ6OMR2A.js";
|
|
14
14
|
export {
|
|
15
15
|
create
|
|
16
16
|
};
|
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-
|
|
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>
|