@elizaos/cli 1.6.5-alpha.5 → 1.6.5-alpha.7
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 +3 -3
- package/dist/commands/create/actions/setup.d.ts.map +1 -1
- package/dist/commands/create/utils/selection.d.ts.map +1 -1
- package/dist/index.js +75 -3
- package/dist/index.js.map +6 -6
- package/dist/templates/plugin-quick-starter/package.json +3 -9
- package/dist/templates/plugin-starter/package.json +3 -9
- package/dist/templates/project-starter/package.json +6 -6
- package/dist/templates/project-tee-starter/package.json +4 -4
- package/dist/utils/get-config.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 +3 -9
- package/templates/plugin-starter/package.json +3 -9
- package/templates/project-starter/package.json +6 -6
- package/templates/project-tee-starter/package.json +4 -4
package/README.md
CHANGED
|
@@ -331,7 +331,7 @@ elizaos tee phala <command> [options]
|
|
|
331
331
|
- **`elizaos tee phala auth login [api-key]`** - Set the API key for authentication
|
|
332
332
|
|
|
333
333
|
- Store your Phala Cloud API key securely for subsequent operations
|
|
334
|
-
- Get your API key from [Phala Cloud Dashboard](https://cloud.phala.network)
|
|
334
|
+
- Get your API key from [Phala Cloud Dashboard](https://cloud.phala.network/register)
|
|
335
335
|
|
|
336
336
|
- **`elizaos tee phala auth logout`** - Remove the stored API key
|
|
337
337
|
|
|
@@ -444,7 +444,7 @@ elizaos tee phala <command> [options]
|
|
|
444
444
|
|
|
445
445
|
```bash
|
|
446
446
|
elizaos tee phala free
|
|
447
|
-
# Or visit https://cloud.phala.network to create an account
|
|
447
|
+
# Or visit https://cloud.phala.network/register to create an account
|
|
448
448
|
```
|
|
449
449
|
|
|
450
450
|
2. **Authenticate**:
|
|
@@ -509,7 +509,7 @@ For private Docker images, set these environment variables before deployment and
|
|
|
509
509
|
##### Additional Resources
|
|
510
510
|
|
|
511
511
|
- **Command Help**: `elizaos tee phala help` or `elizaos tee phala <command> --help`
|
|
512
|
-
- **Official Documentation**: [Phala Cloud Docs](https://docs.phala.
|
|
512
|
+
- **Official Documentation**: [Phala Cloud Docs](https://docs.phala.com/phala-cloud/what-is/what-is-phala-cloud)
|
|
513
513
|
- **Dashboard**: [Phala Cloud Dashboard](https://cloud.phala.network)
|
|
514
514
|
- **NPM Package**: [phala on npm](https://www.npmjs.com/package/phala)
|
|
515
515
|
- **Support**: [Phala Network Discord](https://discord.gg/phala-network)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../../src/commands/create/actions/setup.ts"],"names":[],"mappings":"AAeA;;GAEG;AACH,wBAAsB,wBAAwB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE/E;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,gBAAgB,UAAQ,GACvB,OAAO,CAAC,IAAI,CAAC,CA6If;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAcxE;AAED;;GAEG;AACH,wBAAsB,yBAAyB,CAC7C,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,EACnB,gBAAgB,UAAQ,GACvB,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../../src/commands/create/actions/setup.ts"],"names":[],"mappings":"AAeA;;GAEG;AACH,wBAAsB,wBAAwB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE/E;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,gBAAgB,UAAQ,GACvB,OAAO,CAAC,IAAI,CAAC,CA6If;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAcxE;AAED;;GAEG;AACH,wBAAsB,yBAAyB,CAC7C,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,EACnB,gBAAgB,UAAQ,GACvB,OAAO,CAAC,IAAI,CAAC,CAmKf;AAoCD;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,EACvB,gBAAgB,UAAQ,GACvB,OAAO,CAAC,IAAI,CAAC,CAkDf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../../src/commands/create/utils/selection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE9D;;GAEG;AACH,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAGpE;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,aAAa,EAAE,CA4BtD;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAG5D;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,cAAc,EAAE,CAaxD;AAED;;GAEG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAmBtD;AAED;;GAEG;AACH,wBAAsB,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC,CAmBrD;AAED;;GAEG;AACH,wBAAgB,2BAA2B,IAAI,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../../src/commands/create/utils/selection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE9D;;GAEG;AACH,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAGpE;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,aAAa,EAAE,CA4BtD;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAG5D;AAED;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,cAAc,EAAE,CAaxD;AAED;;GAEG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAmBtD;AAED;;GAEG;AACH,wBAAsB,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC,CAmBrD;AAED;;GAEG;AACH,wBAAgB,2BAA2B,IAAI,aAAa,EAAE,CAuB7D;AAED;;GAEG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,MAAM,CAAC,CAmB5D"}
|
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.5-alpha.
|
|
4752
|
+
var CLI_VERSION = "1.6.5-alpha.7", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-11-20T14:58:55.177Z", BUILD_ENV = "production", version_default;
|
|
4753
4753
|
var init_version = __esm(() => {
|
|
4754
4754
|
version_default = {
|
|
4755
4755
|
version: CLI_VERSION,
|
|
@@ -20532,6 +20532,10 @@ ANTHROPIC_API_KEY=
|
|
|
20532
20532
|
# OLLAMA_MEDIUM_MODEL=gemma3:latest
|
|
20533
20533
|
# OLLAMA_LARGE_MODEL=gemma3:latest
|
|
20534
20534
|
|
|
20535
|
+
# OpenRouter Configuration
|
|
20536
|
+
# OPENROUTER_API_KEY=
|
|
20537
|
+
# OPENROUTER_EMBEDDING_MODEL=openai/text-embedding-3-small
|
|
20538
|
+
# OPENROUTER_EMBEDDING_DIMENSIONS=1536
|
|
20535
20539
|
|
|
20536
20540
|
# Highly recommended to use nomic-embed-text for embeddings
|
|
20537
20541
|
# OLLAMA_EMBEDDING_MODEL=nomic-embed-text
|
|
@@ -276628,7 +276632,7 @@ function getAvailableAIModels() {
|
|
|
276628
276632
|
];
|
|
276629
276633
|
}
|
|
276630
276634
|
function hasEmbeddingSupport(aiModel) {
|
|
276631
|
-
const modelsWithEmbeddings = ["local", "openai", "google"];
|
|
276635
|
+
const modelsWithEmbeddings = ["local", "openai", "google", "openrouter"];
|
|
276632
276636
|
return modelsWithEmbeddings.includes(aiModel);
|
|
276633
276637
|
}
|
|
276634
276638
|
function getAvailableDatabases2() {
|
|
@@ -276695,6 +276699,11 @@ function getAvailableEmbeddingModels() {
|
|
|
276695
276699
|
title: "Google Generative AI",
|
|
276696
276700
|
value: "google",
|
|
276697
276701
|
description: "Google embedding models"
|
|
276702
|
+
},
|
|
276703
|
+
{
|
|
276704
|
+
title: "OpenRouter",
|
|
276705
|
+
value: "openrouter",
|
|
276706
|
+
description: "Access multiple embedding models"
|
|
276698
276707
|
}
|
|
276699
276708
|
];
|
|
276700
276709
|
}
|
|
@@ -277200,6 +277209,69 @@ async function setupEmbeddingModelConfig(embeddingModel, envFilePath, isNonInter
|
|
|
277200
277209
|
}
|
|
277201
277210
|
break;
|
|
277202
277211
|
}
|
|
277212
|
+
case "openrouter": {
|
|
277213
|
+
if (!hasValidApiKey(content, "OPENROUTER_API_KEY")) {
|
|
277214
|
+
if (isNonInteractive) {
|
|
277215
|
+
if (!content.includes("OPENROUTER_API_KEY=")) {
|
|
277216
|
+
content += `
|
|
277217
|
+
# Embedding Model Configuration (Fallback)
|
|
277218
|
+
`;
|
|
277219
|
+
content += `# OpenRouter Embeddings Configuration
|
|
277220
|
+
`;
|
|
277221
|
+
content += `OPENROUTER_API_KEY=your_openrouter_api_key_here
|
|
277222
|
+
`;
|
|
277223
|
+
content += `OPENROUTER_EMBEDDING_MODEL=openai/text-embedding-3-small
|
|
277224
|
+
`;
|
|
277225
|
+
content += `OPENROUTER_EMBEDDING_DIMENSIONS=1536
|
|
277226
|
+
`;
|
|
277227
|
+
content += `# Get your API key from: https://openrouter.ai/keys
|
|
277228
|
+
`;
|
|
277229
|
+
}
|
|
277230
|
+
await fs12.writeFile(envFilePath, content, "utf8");
|
|
277231
|
+
} else {
|
|
277232
|
+
await promptAndStoreOpenRouterKey(envFilePath);
|
|
277233
|
+
}
|
|
277234
|
+
} else {
|
|
277235
|
+
if (isNonInteractive) {
|
|
277236
|
+
content = await fs12.readFile(envFilePath, "utf8");
|
|
277237
|
+
const hasActiveEmbeddingModel = /^OPENROUTER_EMBEDDING_MODEL=.+$/m.test(content);
|
|
277238
|
+
const hasActiveEmbeddingDimensions = /^OPENROUTER_EMBEDDING_DIMENSIONS=.+$/m.test(content);
|
|
277239
|
+
if (!hasActiveEmbeddingModel) {
|
|
277240
|
+
content += `OPENROUTER_EMBEDDING_MODEL=openai/text-embedding-3-small
|
|
277241
|
+
`;
|
|
277242
|
+
}
|
|
277243
|
+
if (!hasActiveEmbeddingDimensions) {
|
|
277244
|
+
content += `OPENROUTER_EMBEDDING_DIMENSIONS=1536
|
|
277245
|
+
`;
|
|
277246
|
+
}
|
|
277247
|
+
await fs12.writeFile(envFilePath, content, "utf8");
|
|
277248
|
+
} else {
|
|
277249
|
+
content = await fs12.readFile(envFilePath, "utf8");
|
|
277250
|
+
const hasActiveEmbeddingModel = /^OPENROUTER_EMBEDDING_MODEL=.+$/m.test(content);
|
|
277251
|
+
const hasActiveEmbeddingDimensions = /^OPENROUTER_EMBEDDING_DIMENSIONS=.+$/m.test(content);
|
|
277252
|
+
if (!hasActiveEmbeddingModel) {
|
|
277253
|
+
if (content && !content.endsWith(`
|
|
277254
|
+
`)) {
|
|
277255
|
+
content += `
|
|
277256
|
+
`;
|
|
277257
|
+
}
|
|
277258
|
+
content += `OPENROUTER_EMBEDDING_MODEL=openai/text-embedding-3-small
|
|
277259
|
+
`;
|
|
277260
|
+
}
|
|
277261
|
+
if (!hasActiveEmbeddingDimensions) {
|
|
277262
|
+
if (content && !content.endsWith(`
|
|
277263
|
+
`)) {
|
|
277264
|
+
content += `
|
|
277265
|
+
`;
|
|
277266
|
+
}
|
|
277267
|
+
content += `OPENROUTER_EMBEDDING_DIMENSIONS=1536
|
|
277268
|
+
`;
|
|
277269
|
+
}
|
|
277270
|
+
await fs12.writeFile(envFilePath, content, "utf8");
|
|
277271
|
+
}
|
|
277272
|
+
}
|
|
277273
|
+
break;
|
|
277274
|
+
}
|
|
277203
277275
|
default:
|
|
277204
277276
|
console.warn(`Unknown embedding model: ${embeddingModel}, skipping configuration`);
|
|
277205
277277
|
return;
|
|
@@ -313381,5 +313453,5 @@ main().catch((error46) => {
|
|
|
313381
313453
|
process.exit(1);
|
|
313382
313454
|
});
|
|
313383
313455
|
|
|
313384
|
-
//# debugId=
|
|
313456
|
+
//# debugId=1E14FC9CD8D96CED64756E2164756E21
|
|
313385
313457
|
//# sourceMappingURL=index.js.map
|