@elizaos/cli 1.6.2-alpha.22 → 1.6.2-alpha.23
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 +1 -1
- package/dist/index.js +8 -6
- package/dist/index.js.map +7 -7
- package/dist/templates/plugin-quick-starter/package.json +2 -2
- package/dist/templates/plugin-starter/README.md +1 -1
- package/dist/templates/plugin-starter/package.json +2 -2
- package/dist/templates/project-starter/README.md +1 -1
- package/dist/templates/project-starter/package.json +6 -6
- package/dist/templates/project-tee-starter/package.json +4 -4
- package/dist/utils/copy-template.d.ts.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +7 -7
- package/templates/plugin-quick-starter/package.json +2 -2
- package/templates/plugin-starter/README.md +1 -1
- package/templates/plugin-starter/package.json +2 -2
- package/templates/project-starter/README.md +1 -1
- package/templates/project-starter/package.json +6 -6
- package/templates/project-tee-starter/package.json +4 -4
package/README.md
CHANGED
|
@@ -458,7 +458,7 @@ elizaos tee phala <command> [options]
|
|
|
458
458
|
|
|
459
459
|
```bash
|
|
460
460
|
# Create a TEE project starter template
|
|
461
|
-
elizaos create
|
|
461
|
+
elizaos create --type tee tee-agent
|
|
462
462
|
|
|
463
463
|
# cd into directory and authenticate your Phala Cloud API Key
|
|
464
464
|
cd tee-agent
|
package/dist/index.js
CHANGED
|
@@ -4749,7 +4749,7 @@ __export(exports_version, {
|
|
|
4749
4749
|
BUILD_TIME: () => BUILD_TIME,
|
|
4750
4750
|
BUILD_ENV: () => BUILD_ENV
|
|
4751
4751
|
});
|
|
4752
|
-
var CLI_VERSION = "1.6.2-alpha.
|
|
4752
|
+
var CLI_VERSION = "1.6.2-alpha.23", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-10-17T16:03:18.569Z", BUILD_ENV = "production", version_default;
|
|
4753
4753
|
var init_version = __esm(() => {
|
|
4754
4754
|
version_default = {
|
|
4755
4755
|
version: CLI_VERSION,
|
|
@@ -6658,7 +6658,9 @@ async function copyTemplate(templateType, targetDir) {
|
|
|
6658
6658
|
path6.resolve(__dirname2, "../templates", packageName),
|
|
6659
6659
|
path6.resolve(__dirname2, "../../templates", packageName),
|
|
6660
6660
|
path6.resolve(__dirname2, "../../../templates", packageName),
|
|
6661
|
-
path6.resolve(__dirname2, "templates", packageName)
|
|
6661
|
+
path6.resolve(__dirname2, "templates", packageName),
|
|
6662
|
+
path6.resolve(__dirname2, "../../../..", packageName),
|
|
6663
|
+
path6.resolve(__dirname2, "../../../../packages", packageName)
|
|
6662
6664
|
];
|
|
6663
6665
|
let templateDir = null;
|
|
6664
6666
|
for (const possiblePath of possibleTemplatePaths) {
|
|
@@ -26938,7 +26940,7 @@ Available agents in your project:`);
|
|
|
26938
26940
|
console.error(` ${index}. ${agent.name}`);
|
|
26939
26941
|
});
|
|
26940
26942
|
console.error(`
|
|
26941
|
-
You can create a new agent with: elizaos create
|
|
26943
|
+
You can create a new agent with: elizaos create --type agent ${agentName.toLowerCase()}`);
|
|
26942
26944
|
}
|
|
26943
26945
|
} catch (error46) {}
|
|
26944
26946
|
throw new Error("AGENT_NOT_FOUND_WITH_HELP");
|
|
@@ -27039,7 +27041,7 @@ Examples:
|
|
|
27039
27041
|
$ elizaos agent start --remote-character https://example.com/char.json
|
|
27040
27042
|
|
|
27041
27043
|
To create a new agent:
|
|
27042
|
-
$ elizaos create
|
|
27044
|
+
$ elizaos create --type agent my-agent-name Create a new agent using Eliza template
|
|
27043
27045
|
|
|
27044
27046
|
Required configuration:
|
|
27045
27047
|
You must provide one of these options: --name, --path, or --remote-character
|
|
@@ -284661,7 +284663,7 @@ Next steps:`);
|
|
|
284661
284663
|
function formatProjectType(type) {
|
|
284662
284664
|
return type === "tee" ? "TEE Project" : type.charAt(0).toUpperCase() + type.slice(1);
|
|
284663
284665
|
}
|
|
284664
|
-
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("--yes
|
|
284666
|
+
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("-y, --yes", "skip prompts and use defaults").option("-t, --type <type>", "type of project to create (project, plugin, agent, tee)", "project").action(async (name, opts) => {
|
|
284665
284667
|
let projectType;
|
|
284666
284668
|
try {
|
|
284667
284669
|
if (process.env.ELIZA_NONINTERACTIVE === "1" || process.env.ELIZA_NONINTERACTIVE === "true" || process.argv.includes("-y") || process.argv.includes("--yes")) {
|
|
@@ -318110,5 +318112,5 @@ main().catch((error47) => {
|
|
|
318110
318112
|
process.exit(1);
|
|
318111
318113
|
});
|
|
318112
318114
|
|
|
318113
|
-
//# debugId=
|
|
318115
|
+
//# debugId=2618F9F1AD5259AB64756E2164756E21
|
|
318114
318116
|
//# sourceMappingURL=index.js.map
|