@elizaos/cli 1.0.2 → 1.0.4

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 (73) hide show
  1. package/README.md +1 -0
  2. package/dist/assets/{index-BQEpBB33.js → index-BVDHmgOL.js} +65713 -67371
  3. package/dist/assets/{index-BQEpBB33.js.map → index-BVDHmgOL.js.map} +1 -1
  4. package/dist/assets/{index-eRnFTOEM.js → index-DICIhtqv.js} +2 -2
  5. package/dist/assets/index-DICIhtqv.js.br +0 -0
  6. package/dist/assets/{index-eRnFTOEM.js.map → index-DICIhtqv.js.map} +1 -1
  7. package/dist/{chunk-QC5MM66L.js → chunk-246Q3Y5O.js} +3 -3
  8. package/dist/chunk-2GXSCVA2.js +2057 -0
  9. package/dist/chunk-67L4I5S7.js +80 -0
  10. package/dist/chunk-7HDCC22V.js +771 -0
  11. package/dist/{chunk-F3WZNGHX.js → chunk-BZIUA2KE.js} +6 -0
  12. package/dist/{chunk-QU55ROKN.js → chunk-GE5HMHU5.js} +12 -6
  13. package/dist/{chunk-URANH3OS.js → chunk-JT3O6PBU.js} +3867 -529
  14. package/dist/{chunk-XVN7DK3U.js → chunk-KNZMV4HH.js} +4 -4
  15. package/dist/{chunk-QPXAVEMR.js → chunk-NQ5HAYUQ.js} +40 -2
  16. package/dist/{chunk-XF2FQZM2.js → chunk-OF5WHPTG.js} +105 -798
  17. package/dist/{chunk-ENUVIKE2.js → chunk-OG4OJUNA.js} +2 -2
  18. package/dist/{chunk-SOL3WRAY.js → chunk-OJMVYUOU.js} +1 -1
  19. package/dist/{chunk-XLCI6Y5F.js → chunk-QGZZVGE5.js} +2 -2
  20. package/dist/{chunk-PJJS5DFB.js → chunk-WAJ5RHPK.js} +1 -1
  21. package/dist/commands/agent.js +2 -1
  22. package/dist/commands/create.js +4 -3
  23. package/dist/commands/dev.js +4 -3
  24. package/dist/commands/env.js +3 -2
  25. package/dist/commands/plugins.js +4 -3
  26. package/dist/commands/publish.js +5 -4
  27. package/dist/commands/setup-monorepo.js +3 -2
  28. package/dist/commands/start.js +7 -5
  29. package/dist/commands/test.js +8 -6
  30. package/dist/commands/update.js +4 -3
  31. package/dist/fileFromPath-DCRQMDLJ.js +132 -0
  32. package/dist/index.html +1 -1
  33. package/dist/index.js +14 -12
  34. package/dist/migrator-7EYGXTDW.js +29035 -0
  35. package/dist/{registry-YU4WBPLU.js → registry-RGSXW4LO.js} +2 -1
  36. package/package.json +9 -5
  37. package/templates/plugin-starter/package.json +1 -1
  38. package/templates/project-starter/.env.example +1 -0
  39. package/templates/project-starter/package.json +4 -4
  40. package/templates/project-tee-starter/.dockerignore +20 -0
  41. package/templates/project-tee-starter/.env.example +55 -0
  42. package/templates/project-tee-starter/Dockerfile +66 -0
  43. package/templates/project-tee-starter/GUIDE.md +235 -0
  44. package/templates/project-tee-starter/README.md +173 -0
  45. package/templates/project-tee-starter/__tests__/actions.test.ts +9 -0
  46. package/templates/project-tee-starter/__tests__/character.test.ts +86 -0
  47. package/templates/project-tee-starter/__tests__/config.test.ts +31 -0
  48. package/templates/project-tee-starter/__tests__/env.test.ts +87 -0
  49. package/templates/project-tee-starter/__tests__/error-handling.test.ts +30 -0
  50. package/templates/project-tee-starter/__tests__/events.test.ts +21 -0
  51. package/templates/project-tee-starter/__tests__/file-structure.test.ts +135 -0
  52. package/templates/project-tee-starter/__tests__/integration.test.ts +209 -0
  53. package/templates/project-tee-starter/__tests__/models.test.ts +22 -0
  54. package/templates/project-tee-starter/__tests__/plugin.test.ts +44 -0
  55. package/templates/project-tee-starter/__tests__/provider.test.ts +189 -0
  56. package/templates/project-tee-starter/__tests__/routes.test.ts +21 -0
  57. package/templates/project-tee-starter/__tests__/test-utils.ts +121 -0
  58. package/templates/project-tee-starter/__tests__/utils/core-test-utils.ts +167 -0
  59. package/templates/project-tee-starter/assets/mr-tee-portrait.jpg +0 -0
  60. package/templates/project-tee-starter/docker-compose.yaml +57 -0
  61. package/templates/project-tee-starter/e2e/project.test.ts +38 -0
  62. package/templates/project-tee-starter/e2e/starter-plugin.test.ts +92 -0
  63. package/templates/project-tee-starter/package.json +76 -0
  64. package/templates/project-tee-starter/src/character.ts +257 -0
  65. package/templates/project-tee-starter/src/index.ts +33 -0
  66. package/templates/project-tee-starter/src/plugin.ts +169 -0
  67. package/templates/project-tee-starter/tsconfig.build.json +13 -0
  68. package/templates/project-tee-starter/tsconfig.json +30 -0
  69. package/templates/project-tee-starter/tsup.config.ts +19 -0
  70. package/templates/project-tee-starter/vitest.config.ts +19 -0
  71. package/dist/assets/index-eRnFTOEM.js.br +0 -0
  72. package/dist/eliza-J3ANDQXN.js +0 -13
  73. /package/dist/{chunk-YX7JHUJ5.js → chunk-BDPGXNHU.js} +0 -0
@@ -0,0 +1,80 @@
1
+
2
+ import { createRequire } from 'module';
3
+ const require = createRequire(import.meta.url);
4
+
5
+ import {
6
+ __commonJS,
7
+ __require
8
+ } from "./chunk-567UPUC7.js";
9
+
10
+ // ../../node_modules/safer-buffer/safer.js
11
+ var require_safer = __commonJS({
12
+ "../../node_modules/safer-buffer/safer.js"(exports, module) {
13
+ "use strict";
14
+ var buffer = __require("buffer");
15
+ var Buffer = buffer.Buffer;
16
+ var safer = {};
17
+ var key;
18
+ for (key in buffer) {
19
+ if (!buffer.hasOwnProperty(key)) continue;
20
+ if (key === "SlowBuffer" || key === "Buffer") continue;
21
+ safer[key] = buffer[key];
22
+ }
23
+ var Safer = safer.Buffer = {};
24
+ for (key in Buffer) {
25
+ if (!Buffer.hasOwnProperty(key)) continue;
26
+ if (key === "allocUnsafe" || key === "allocUnsafeSlow") continue;
27
+ Safer[key] = Buffer[key];
28
+ }
29
+ safer.Buffer.prototype = Buffer.prototype;
30
+ if (!Safer.from || Safer.from === Uint8Array.from) {
31
+ Safer.from = function(value, encodingOrOffset, length) {
32
+ if (typeof value === "number") {
33
+ throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value);
34
+ }
35
+ if (value && typeof value.length === "undefined") {
36
+ throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
37
+ }
38
+ return Buffer(value, encodingOrOffset, length);
39
+ };
40
+ }
41
+ if (!Safer.alloc) {
42
+ Safer.alloc = function(size, fill, encoding) {
43
+ if (typeof size !== "number") {
44
+ throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size);
45
+ }
46
+ if (size < 0 || size >= 2 * (1 << 30)) {
47
+ throw new RangeError('The value "' + size + '" is invalid for option "size"');
48
+ }
49
+ var buf = Buffer(size);
50
+ if (!fill || fill.length === 0) {
51
+ buf.fill(0);
52
+ } else if (typeof encoding === "string") {
53
+ buf.fill(fill, encoding);
54
+ } else {
55
+ buf.fill(fill);
56
+ }
57
+ return buf;
58
+ };
59
+ }
60
+ if (!safer.kStringMaxLength) {
61
+ try {
62
+ safer.kStringMaxLength = process.binding("buffer").kStringMaxLength;
63
+ } catch (e) {
64
+ }
65
+ }
66
+ if (!safer.constants) {
67
+ safer.constants = {
68
+ MAX_LENGTH: safer.kMaxLength
69
+ };
70
+ if (safer.kStringMaxLength) {
71
+ safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength;
72
+ }
73
+ }
74
+ module.exports = safer;
75
+ }
76
+ });
77
+
78
+ export {
79
+ require_safer
80
+ };