@elizaos/cli 1.5.8-alpha.1 → 1.6.0-alpha.0
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/dist/index.js +17 -27
- package/dist/index.js.map +4 -4
- package/dist/templates/plugin-quick-starter/build.ts +29 -46
- package/dist/templates/plugin-quick-starter/package.json +2 -2
- package/dist/templates/plugin-starter/build.ts +29 -46
- package/dist/templates/plugin-starter/package.json +2 -2
- package/dist/templates/project-starter/build.ts +40 -57
- package/dist/templates/project-starter/package.json +6 -6
- package/dist/templates/project-tee-starter/build.ts +40 -57
- package/dist/templates/project-tee-starter/package.json +4 -4
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +7 -7
- package/templates/plugin-quick-starter/build.ts +29 -46
- package/templates/plugin-quick-starter/package.json +2 -2
- package/templates/plugin-starter/build.ts +29 -46
- package/templates/plugin-starter/package.json +2 -2
- package/templates/project-starter/build.ts +40 -57
- package/templates/project-starter/package.json +6 -6
- package/templates/project-tee-starter/build.ts +40 -57
- package/templates/project-tee-starter/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -4688,7 +4688,7 @@ __export(exports_version, {
|
|
|
4688
4688
|
BUILD_TIME: () => BUILD_TIME,
|
|
4689
4689
|
BUILD_ENV: () => BUILD_ENV
|
|
4690
4690
|
});
|
|
4691
|
-
var CLI_VERSION = "1.
|
|
4691
|
+
var CLI_VERSION = "1.6.0-alpha.0", CLI_NAME = "@elizaos/cli", CLI_DESCRIPTION = "elizaOS CLI - Manage your AI agents and plugins", BUILD_TIME = "2025-09-03T22:46:10.527Z", BUILD_ENV = "production", version_default;
|
|
4692
4692
|
var init_version = __esm(() => {
|
|
4693
4693
|
version_default = {
|
|
4694
4694
|
version: CLI_VERSION,
|
|
@@ -50123,7 +50123,7 @@ var init_NodeWebSocketTransport = () => {};
|
|
|
50123
50123
|
|
|
50124
50124
|
// ../../node_modules/proxy-agent/node_modules/lru-cache/index.js
|
|
50125
50125
|
var require_lru_cache = __commonJS((exports, module) => {
|
|
50126
|
-
var
|
|
50126
|
+
var perf2 = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date;
|
|
50127
50127
|
var hasAbortController = typeof AbortController === "function";
|
|
50128
50128
|
var AC2 = hasAbortController ? AbortController : class AbortController2 {
|
|
50129
50129
|
constructor() {
|
|
@@ -50354,7 +50354,7 @@ var require_lru_cache = __commonJS((exports, module) => {
|
|
|
50354
50354
|
initializeTTLTracking() {
|
|
50355
50355
|
this.ttls = new ZeroArray2(this.max);
|
|
50356
50356
|
this.starts = new ZeroArray2(this.max);
|
|
50357
|
-
this.setItemTTL = (index, ttl, start =
|
|
50357
|
+
this.setItemTTL = (index, ttl, start = perf2.now()) => {
|
|
50358
50358
|
this.starts[index] = ttl !== 0 ? start : 0;
|
|
50359
50359
|
this.ttls[index] = ttl;
|
|
50360
50360
|
if (ttl !== 0 && this.ttlAutopurge) {
|
|
@@ -50369,7 +50369,7 @@ var require_lru_cache = __commonJS((exports, module) => {
|
|
|
50369
50369
|
}
|
|
50370
50370
|
};
|
|
50371
50371
|
this.updateItemAge = (index) => {
|
|
50372
|
-
this.starts[index] = this.ttls[index] !== 0 ?
|
|
50372
|
+
this.starts[index] = this.ttls[index] !== 0 ? perf2.now() : 0;
|
|
50373
50373
|
};
|
|
50374
50374
|
this.statusTTL = (status, index) => {
|
|
50375
50375
|
if (status) {
|
|
@@ -50381,7 +50381,7 @@ var require_lru_cache = __commonJS((exports, module) => {
|
|
|
50381
50381
|
};
|
|
50382
50382
|
let cachedNow = 0;
|
|
50383
50383
|
const getNow = () => {
|
|
50384
|
-
const n =
|
|
50384
|
+
const n = perf2.now();
|
|
50385
50385
|
if (this.ttlResolution > 0) {
|
|
50386
50386
|
cachedNow = n;
|
|
50387
50387
|
const t = setTimeout(() => cachedNow = 0, this.ttlResolution);
|
|
@@ -50592,7 +50592,7 @@ var require_lru_cache = __commonJS((exports, module) => {
|
|
|
50592
50592
|
const entry = { value };
|
|
50593
50593
|
if (this.ttls) {
|
|
50594
50594
|
entry.ttl = this.ttls[i];
|
|
50595
|
-
const age =
|
|
50595
|
+
const age = perf2.now() - this.starts[i];
|
|
50596
50596
|
entry.start = Math.floor(Date.now() - age);
|
|
50597
50597
|
}
|
|
50598
50598
|
if (this.sizes) {
|
|
@@ -50607,7 +50607,7 @@ var require_lru_cache = __commonJS((exports, module) => {
|
|
|
50607
50607
|
for (const [key, entry] of arr) {
|
|
50608
50608
|
if (entry.start) {
|
|
50609
50609
|
const age = Date.now() - entry.start;
|
|
50610
|
-
entry.start =
|
|
50610
|
+
entry.start = perf2.now() - age;
|
|
50611
50611
|
}
|
|
50612
50612
|
this.set(key, entry.value, entry);
|
|
50613
50613
|
}
|
|
@@ -274529,7 +274529,7 @@ minimatch.unescape = unescape2;
|
|
|
274529
274529
|
import { fileURLToPath as fileURLToPath4 } from "url";
|
|
274530
274530
|
|
|
274531
274531
|
// ../../node_modules/lru-cache/dist/esm/index.js
|
|
274532
|
-
var
|
|
274532
|
+
var perf = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date;
|
|
274533
274533
|
var warned = new Set;
|
|
274534
274534
|
var PROCESS = typeof process === "object" && !!process ? process : {};
|
|
274535
274535
|
var emitWarning = (msg, type, code, fn) => {
|
|
@@ -274619,10 +274619,6 @@ class LRUCache {
|
|
|
274619
274619
|
#disposeAfter;
|
|
274620
274620
|
#fetchMethod;
|
|
274621
274621
|
#memoMethod;
|
|
274622
|
-
#perf;
|
|
274623
|
-
get perf() {
|
|
274624
|
-
return this.#perf;
|
|
274625
|
-
}
|
|
274626
274622
|
ttl;
|
|
274627
274623
|
ttlResolution;
|
|
274628
274624
|
ttlAutopurge;
|
|
@@ -274709,13 +274705,7 @@ class LRUCache {
|
|
|
274709
274705
|
return this.#disposeAfter;
|
|
274710
274706
|
}
|
|
274711
274707
|
constructor(options) {
|
|
274712
|
-
const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, onInsert, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, memoMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort
|
|
274713
|
-
if (perf !== undefined) {
|
|
274714
|
-
if (typeof perf?.now !== "function") {
|
|
274715
|
-
throw new TypeError("perf option must have a now() method if specified");
|
|
274716
|
-
}
|
|
274717
|
-
}
|
|
274718
|
-
this.#perf = perf ?? defaultPerf;
|
|
274708
|
+
const { max = 0, ttl, ttlResolution = 1, ttlAutopurge, updateAgeOnGet, updateAgeOnHas, allowStale, dispose, onInsert, disposeAfter, noDisposeOnSet, noUpdateTTL, maxSize = 0, maxEntrySize = 0, sizeCalculation, fetchMethod, memoMethod, noDeleteOnFetchRejection, noDeleteOnStaleGet, allowStaleOnFetchRejection, allowStaleOnFetchAbort, ignoreFetchAbort } = options;
|
|
274719
274709
|
if (max !== 0 && !isPosInt(max)) {
|
|
274720
274710
|
throw new TypeError("max option must be a nonnegative integer");
|
|
274721
274711
|
}
|
|
@@ -274820,7 +274810,7 @@ class LRUCache {
|
|
|
274820
274810
|
const starts = new ZeroArray(this.#max);
|
|
274821
274811
|
this.#ttls = ttls;
|
|
274822
274812
|
this.#starts = starts;
|
|
274823
|
-
this.#setItemTTL = (index, ttl, start =
|
|
274813
|
+
this.#setItemTTL = (index, ttl, start = perf.now()) => {
|
|
274824
274814
|
starts[index] = ttl !== 0 ? start : 0;
|
|
274825
274815
|
ttls[index] = ttl;
|
|
274826
274816
|
if (ttl !== 0 && this.ttlAutopurge) {
|
|
@@ -274835,7 +274825,7 @@ class LRUCache {
|
|
|
274835
274825
|
}
|
|
274836
274826
|
};
|
|
274837
274827
|
this.#updateItemAge = (index) => {
|
|
274838
|
-
starts[index] = ttls[index] !== 0 ?
|
|
274828
|
+
starts[index] = ttls[index] !== 0 ? perf.now() : 0;
|
|
274839
274829
|
};
|
|
274840
274830
|
this.#statusTTL = (status, index) => {
|
|
274841
274831
|
if (ttls[index]) {
|
|
@@ -274852,7 +274842,7 @@ class LRUCache {
|
|
|
274852
274842
|
};
|
|
274853
274843
|
let cachedNow = 0;
|
|
274854
274844
|
const getNow = () => {
|
|
274855
|
-
const n =
|
|
274845
|
+
const n = perf.now();
|
|
274856
274846
|
if (this.ttlResolution > 0) {
|
|
274857
274847
|
cachedNow = n;
|
|
274858
274848
|
const t = setTimeout(() => cachedNow = 0, this.ttlResolution);
|
|
@@ -275074,7 +275064,7 @@ class LRUCache {
|
|
|
275074
275064
|
const ttl = this.#ttls[i];
|
|
275075
275065
|
const start = this.#starts[i];
|
|
275076
275066
|
if (ttl && start) {
|
|
275077
|
-
const remain = ttl - (
|
|
275067
|
+
const remain = ttl - (perf.now() - start);
|
|
275078
275068
|
entry.ttl = remain;
|
|
275079
275069
|
entry.start = Date.now();
|
|
275080
275070
|
}
|
|
@@ -275095,7 +275085,7 @@ class LRUCache {
|
|
|
275095
275085
|
const entry = { value };
|
|
275096
275086
|
if (this.#ttls && this.#starts) {
|
|
275097
275087
|
entry.ttl = this.#ttls[i];
|
|
275098
|
-
const age =
|
|
275088
|
+
const age = perf.now() - this.#starts[i];
|
|
275099
275089
|
entry.start = Math.floor(Date.now() - age);
|
|
275100
275090
|
}
|
|
275101
275091
|
if (this.#sizes) {
|
|
@@ -275110,7 +275100,7 @@ class LRUCache {
|
|
|
275110
275100
|
for (const [key, entry] of arr) {
|
|
275111
275101
|
if (entry.start) {
|
|
275112
275102
|
const age = Date.now() - entry.start;
|
|
275113
|
-
entry.start =
|
|
275103
|
+
entry.start = perf.now() - age;
|
|
275114
275104
|
}
|
|
275115
275105
|
this.set(key, entry.value, entry);
|
|
275116
275106
|
}
|
|
@@ -275328,7 +275318,7 @@ class LRUCache {
|
|
|
275328
275318
|
const bf2 = p2;
|
|
275329
275319
|
if (this.#valList[index] === p2) {
|
|
275330
275320
|
if (v3 === undefined) {
|
|
275331
|
-
if (bf2.__staleWhileFetching
|
|
275321
|
+
if (bf2.__staleWhileFetching) {
|
|
275332
275322
|
this.#valList[index] = bf2.__staleWhileFetching;
|
|
275333
275323
|
} else {
|
|
275334
275324
|
this.#delete(k3, "fetch");
|
|
@@ -297463,5 +297453,5 @@ main2().catch((error2) => {
|
|
|
297463
297453
|
process.exit(1);
|
|
297464
297454
|
});
|
|
297465
297455
|
|
|
297466
|
-
//# debugId=
|
|
297456
|
+
//# debugId=371C8BB52EC5544B64756E2164756E21
|
|
297467
297457
|
//# sourceMappingURL=index.js.map
|