@elizaos/cli 1.0.6 → 1.0.8

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 (88) hide show
  1. package/README.md +12 -11
  2. package/dist/assets/{index-BlgsVC9v.js → index-CZAd5zm2.js} +17 -17
  3. package/dist/assets/index-CZAd5zm2.js.br +0 -0
  4. package/dist/assets/{index-BlgsVC9v.js.map → index-CZAd5zm2.js.map} +1 -1
  5. package/dist/assets/{index-TLtd8ntA.js → index-CaEsCLCC.js} +4155 -10851
  6. package/dist/assets/{index-TLtd8ntA.js.map → index-CaEsCLCC.js.map} +1 -1
  7. package/dist/assets/index-DyA-lndn.css +1 -0
  8. package/dist/assets/index-DyA-lndn.css.br +0 -0
  9. package/dist/assets/{vendor-BiCY-iVm.js → vendor-DSdxb8P-.js} +2 -2
  10. package/dist/assets/vendor-DSdxb8P-.js.br +0 -0
  11. package/dist/assets/{vendor-BiCY-iVm.js.map → vendor-DSdxb8P-.js.map} +1 -1
  12. package/dist/chunk-33BHGAF7.js +616 -0
  13. package/dist/{chunk-YTV6GDEJ.js → chunk-CVADLFW6.js} +100 -42
  14. package/dist/chunk-F24MS2YR.js +19 -0
  15. package/dist/{chunk-7HDCC22V.js → chunk-IEKLJDUU.js} +99 -0
  16. package/dist/chunk-MA2ZXPG6.js +260 -0
  17. package/dist/chunk-REBZFQYE.js +11728 -0
  18. package/dist/chunk-W3HS2NP6.js +154 -0
  19. package/dist/commands/agent/actions/index.d.ts +25 -0
  20. package/dist/commands/agent/actions/index.js +23 -0
  21. package/dist/commands/agent/index.d.ts +16 -0
  22. package/dist/commands/agent/index.js +24 -0
  23. package/dist/commands/create/actions/index.d.ts +35 -0
  24. package/dist/commands/create/actions/index.js +30 -0
  25. package/dist/commands/create/index.d.ts +5 -0
  26. package/dist/commands/create/index.js +17 -0
  27. package/dist/commands/shared/index.d.ts +35 -0
  28. package/dist/commands/shared/index.js +13 -0
  29. package/dist/index.html +3 -3
  30. package/dist/index.js +103836 -56
  31. package/dist/{prompts-I4LK5NKX.js → lib-NAGYZHVV.js} +3 -3
  32. package/dist/{migrator-BQMHMHSG.js → migrator-KZLCVEIH.js} +117 -117
  33. package/dist/{plugin-creator-EUJNDFIB.js → plugin-creator-IC42XOHG.js} +3 -4
  34. package/dist/{registry-A4UYBEET.js → registry-XFOSZFU4.js} +4 -5
  35. package/dist/utils-DIZZ3HNZ.js +218 -0
  36. package/package.json +19 -12
  37. package/templates/plugin-starter/README.md +26 -9
  38. package/templates/plugin-starter/package.json +6 -2
  39. package/templates/plugin-starter/tsconfig.build.json +1 -3
  40. package/templates/plugin-starter/tsconfig.json +1 -2
  41. package/templates/plugin-starter/tsup.config.ts +1 -1
  42. package/templates/project-starter/README.md +15 -16
  43. package/templates/project-starter/package.json +6 -6
  44. package/templates/project-tee-starter/e2e/project.test.ts +1 -1
  45. package/templates/project-tee-starter/e2e/starter-plugin.test.ts +1 -1
  46. package/templates/project-tee-starter/package.json +6 -5
  47. package/dist/assets/index-BlgsVC9v.js.br +0 -0
  48. package/dist/assets/index-fZleA996.css +0 -1
  49. package/dist/assets/index-fZleA996.css.br +0 -0
  50. package/dist/assets/vendor-BiCY-iVm.js.br +0 -0
  51. package/dist/chunk-335PGADS.js +0 -207
  52. package/dist/chunk-4QRJ6FQC.js +0 -295
  53. package/dist/chunk-5J7S2CSH.js +0 -2771
  54. package/dist/chunk-APFJCFC6.js +0 -78
  55. package/dist/chunk-CR5NR6A6.js +0 -458
  56. package/dist/chunk-KB3JDWUI.js +0 -106
  57. package/dist/chunk-L64NPCT6.js +0 -604
  58. package/dist/chunk-LRSU7IN6.js +0 -4862
  59. package/dist/chunk-LXYNBPDV.js +0 -570
  60. package/dist/chunk-MAGJ4VCL.js +0 -95
  61. package/dist/chunk-O64SGQGU.js +0 -90048
  62. package/dist/chunk-PHLX32YJ.js +0 -7889
  63. package/dist/chunk-RGI5263U.js +0 -7443
  64. package/dist/chunk-VWWF4TGX.js +0 -684
  65. package/dist/chunk-YMKISDXM.js +0 -247
  66. package/dist/commands/agent.d.ts +0 -27
  67. package/dist/commands/agent.js +0 -22
  68. package/dist/commands/create.d.ts +0 -15
  69. package/dist/commands/create.js +0 -18
  70. package/dist/commands/dev.d.ts +0 -8
  71. package/dist/commands/dev.js +0 -17
  72. package/dist/commands/env.d.ts +0 -16
  73. package/dist/commands/env.js +0 -21
  74. package/dist/commands/plugins.d.ts +0 -19
  75. package/dist/commands/plugins.js +0 -25
  76. package/dist/commands/publish.d.ts +0 -5
  77. package/dist/commands/publish.js +0 -18
  78. package/dist/commands/setup-monorepo.d.ts +0 -5
  79. package/dist/commands/setup-monorepo.js +0 -17
  80. package/dist/commands/start.d.ts +0 -198
  81. package/dist/commands/start.js +0 -25
  82. package/dist/commands/tee.d.ts +0 -5
  83. package/dist/commands/tee.js +0 -13
  84. package/dist/commands/test.d.ts +0 -6
  85. package/dist/commands/test.js +0 -24
  86. package/dist/commands/update.d.ts +0 -14
  87. package/dist/commands/update.js +0 -23
  88. package/dist/{chunk-NHI4RJD2.js → chunk-CEE6RKN5.js} +58 -58
@@ -8,20 +8,19 @@ import {
8
8
  require_cli_spinners,
9
9
  require_lib,
10
10
  sdk_default
11
- } from "./chunk-YTV6GDEJ.js";
11
+ } from "./chunk-CVADLFW6.js";
12
12
  import "./chunk-2GXSCVA2.js";
13
13
  import {
14
14
  require_inherits,
15
15
  require_readable
16
- } from "./chunk-NHI4RJD2.js";
16
+ } from "./chunk-CEE6RKN5.js";
17
17
  import {
18
18
  require_safer
19
19
  } from "./chunk-TUAYJIF2.js";
20
20
  import {
21
21
  runBunCommand
22
22
  } from "./chunk-GYTAJJOD.js";
23
- import "./chunk-7HDCC22V.js";
24
- import "./chunk-KB3JDWUI.js";
23
+ import "./chunk-IEKLJDUU.js";
25
24
  import {
26
25
  __commonJS,
27
26
  __require,
@@ -28,12 +28,11 @@ import {
28
28
  setEnvVar,
29
29
  setGitHubToken,
30
30
  validateDataDir
31
- } from "./chunk-RGI5263U.js";
31
+ } from "./chunk-REBZFQYE.js";
32
32
  import "./chunk-GYTAJJOD.js";
33
- import "./chunk-5J7S2CSH.js";
34
- import "./chunk-LRSU7IN6.js";
35
- import "./chunk-7HDCC22V.js";
36
- import "./chunk-KB3JDWUI.js";
33
+ import "./chunk-IEKLJDUU.js";
34
+ import "./chunk-F24MS2YR.js";
35
+ import "./chunk-MA2ZXPG6.js";
37
36
  import "./chunk-567UPUC7.js";
38
37
  export {
39
38
  checkDataDir,
@@ -0,0 +1,218 @@
1
+
2
+ import { createRequire } from 'module';
3
+ const require = createRequire(import.meta.url);
4
+
5
+ import {
6
+ NAV_BACK,
7
+ NAV_NEXT,
8
+ TestRunner,
9
+ UserEnvironment,
10
+ branchExists,
11
+ buildGitHubSpecifier,
12
+ buildProject,
13
+ checkAndShowUpdateNotification,
14
+ checkPluginRequirements,
15
+ checkServer,
16
+ configSchema,
17
+ configureDatabaseSettings,
18
+ confirmAction,
19
+ convertToAudioBuffer,
20
+ copyClientDist,
21
+ copyDir,
22
+ copyTemplate,
23
+ createBranch,
24
+ createGitHubRepository,
25
+ createPullRequest,
26
+ detectPluginContext,
27
+ displayAgent,
28
+ displayBanner,
29
+ ensureDirectory,
30
+ ensureElizaDir,
31
+ ensurePluginBuilt,
32
+ executeInstallation,
33
+ executeInstallationWithFallback,
34
+ expandTildePath,
35
+ findNextAvailablePort,
36
+ forkExists,
37
+ forkRepository,
38
+ formatEnvFileWithTemplate,
39
+ getAudioMimeType,
40
+ getAuthenticatedUser,
41
+ getCliInstallTag,
42
+ getConfigFilePath,
43
+ getElizaDirectories,
44
+ getEnvFilePath,
45
+ getFileContent,
46
+ getGitHubCredentials,
47
+ getInstallCommand,
48
+ getLatestCliVersion,
49
+ getLocalPackages,
50
+ getMissingEnvVars,
51
+ getPackageInfo,
52
+ getPackageManager,
53
+ getPackageVersion,
54
+ getPluginStatus,
55
+ getVersion,
56
+ handleError,
57
+ installPlugin,
58
+ isBunAvailable,
59
+ isCliInstalledViaNpm,
60
+ isGlobalInstallation,
61
+ isPortFree,
62
+ isRunningViaBunx,
63
+ isRunningViaNpx,
64
+ isUtf8Locale,
65
+ isValidAnthropicKey,
66
+ isValidOpenAIKey,
67
+ isValidPostgresUrl,
68
+ loadConfig,
69
+ loadEnvironment,
70
+ loadPluginModule,
71
+ logHeader,
72
+ mergeProcessEnvWithTemplate,
73
+ migrateCliToBun,
74
+ promptAndStoreAnthropicKey,
75
+ promptAndStoreOpenAIKey,
76
+ promptAndStorePostgresUrl,
77
+ promptForEnvVars,
78
+ promptForMultipleItems,
79
+ promptWithNav,
80
+ provideLocalPluginGuidance,
81
+ publishToGitHub,
82
+ publishToNpm,
83
+ pushToGitHub,
84
+ rawConfigSchema,
85
+ readEnvFile,
86
+ removeFromBunLock,
87
+ resolveConfigPaths,
88
+ resolveEnvFile,
89
+ resolveImport,
90
+ resolvePgliteDir,
91
+ saveConfig,
92
+ saveGitHubCredentials,
93
+ setupEnvFile,
94
+ setupPgLite,
95
+ showUpdateNotification,
96
+ storeAnthropicKey,
97
+ storeOpenAIKey,
98
+ storePgliteDataDir,
99
+ storePostgresUrl,
100
+ testPublishToGitHub,
101
+ testPublishToNpm,
102
+ updateFile,
103
+ validateEnvVars,
104
+ validateGitHubToken,
105
+ validatePluginEnvVars,
106
+ writeEnvFile
107
+ } from "./chunk-REBZFQYE.js";
108
+ import {
109
+ runBunCommand
110
+ } from "./chunk-GYTAJJOD.js";
111
+ import "./chunk-IEKLJDUU.js";
112
+ import "./chunk-F24MS2YR.js";
113
+ import "./chunk-MA2ZXPG6.js";
114
+ import "./chunk-567UPUC7.js";
115
+ export {
116
+ NAV_BACK,
117
+ NAV_NEXT,
118
+ TestRunner,
119
+ UserEnvironment,
120
+ branchExists,
121
+ buildGitHubSpecifier,
122
+ buildProject,
123
+ checkAndShowUpdateNotification,
124
+ checkPluginRequirements,
125
+ checkServer,
126
+ configSchema,
127
+ configureDatabaseSettings,
128
+ confirmAction,
129
+ convertToAudioBuffer,
130
+ copyClientDist,
131
+ copyDir,
132
+ copyTemplate,
133
+ createBranch,
134
+ createGitHubRepository,
135
+ createPullRequest,
136
+ detectPluginContext,
137
+ displayAgent,
138
+ displayBanner,
139
+ ensureDirectory,
140
+ ensureElizaDir,
141
+ ensurePluginBuilt,
142
+ executeInstallation,
143
+ executeInstallationWithFallback,
144
+ expandTildePath,
145
+ findNextAvailablePort,
146
+ forkExists,
147
+ forkRepository,
148
+ formatEnvFileWithTemplate,
149
+ getAudioMimeType,
150
+ getAuthenticatedUser,
151
+ getCliInstallTag,
152
+ getConfigFilePath,
153
+ getElizaDirectories,
154
+ getEnvFilePath,
155
+ getFileContent,
156
+ getGitHubCredentials,
157
+ getInstallCommand,
158
+ getLatestCliVersion,
159
+ getLocalPackages,
160
+ getMissingEnvVars,
161
+ getPackageInfo,
162
+ getPackageManager,
163
+ getPackageVersion,
164
+ getPluginStatus,
165
+ getVersion,
166
+ handleError,
167
+ installPlugin,
168
+ isBunAvailable,
169
+ isCliInstalledViaNpm,
170
+ isGlobalInstallation,
171
+ isPortFree,
172
+ isRunningViaBunx,
173
+ isRunningViaNpx,
174
+ isUtf8Locale,
175
+ isValidAnthropicKey,
176
+ isValidOpenAIKey,
177
+ isValidPostgresUrl,
178
+ loadConfig,
179
+ loadEnvironment,
180
+ loadPluginModule,
181
+ logHeader,
182
+ mergeProcessEnvWithTemplate,
183
+ migrateCliToBun,
184
+ promptAndStoreAnthropicKey,
185
+ promptAndStoreOpenAIKey,
186
+ promptAndStorePostgresUrl,
187
+ promptForEnvVars,
188
+ promptForMultipleItems,
189
+ promptWithNav,
190
+ provideLocalPluginGuidance,
191
+ publishToGitHub,
192
+ publishToNpm,
193
+ pushToGitHub,
194
+ rawConfigSchema,
195
+ readEnvFile,
196
+ removeFromBunLock,
197
+ resolveConfigPaths,
198
+ resolveEnvFile,
199
+ resolveImport,
200
+ resolvePgliteDir,
201
+ runBunCommand,
202
+ saveConfig,
203
+ saveGitHubCredentials,
204
+ setupEnvFile,
205
+ setupPgLite,
206
+ showUpdateNotification,
207
+ storeAnthropicKey,
208
+ storeOpenAIKey,
209
+ storePgliteDataDir,
210
+ storePostgresUrl,
211
+ testPublishToGitHub,
212
+ testPublishToNpm,
213
+ updateFile,
214
+ validateEnvVars,
215
+ validateGitHubToken,
216
+ validatePluginEnvVars,
217
+ writeEnvFile
218
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/cli",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "elizaOS CLI - Manage your AI agents and plugins",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -39,7 +39,7 @@
39
39
  "format:check": "prettier --check ./src",
40
40
  "clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo",
41
41
  "test": "vitest run",
42
- "test:cli": "bun run test:setup-commands && bun run test:agent-commands && bun run test:agent-customisations && bun run test:setup-monorepo && bun run test:plugins-command"
42
+ "test:cli": "bun test tests/commands/"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@anthropic-ai/sdk": "^0.40.0",
@@ -55,7 +55,7 @@
55
55
  "axios": "^1.7.9",
56
56
  "commander": "^10.0.0",
57
57
  "diff": "^5.1.0",
58
- "dotenv": "^16.4.5",
58
+ "dotenv": "^16.5.0",
59
59
  "esbuild-plugin-copy": "^2.1.1",
60
60
  "execa": "^7.0.0",
61
61
  "fs-extra": "^11.1.0",
@@ -64,35 +64,42 @@
64
64
  "https-proxy-agent": "^6.2.0",
65
65
  "ora": "^8.1.1",
66
66
  "prettier": "3.5.3",
67
- "prompts": "^2.4.2",
68
67
  "recast": "^0.23.2",
69
68
  "rimraf": "6.0.1",
70
69
  "simple-git": "^3.27.0",
71
70
  "tiktoken": "^1.0.18",
72
71
  "tsconfig-paths": "^4.2.0",
73
- "tsup": "8.4.0",
74
- "tsx": "^4.19.2",
72
+ "tsup": "8.5.0",
73
+ "tsx": "4.19.4",
75
74
  "type-fest": "^3.8.0",
76
- "typescript": "5.8.2",
77
- "vite-tsconfig-paths": "^5.1.4",
78
- "vitest": "3.1.4",
75
+ "typescript": "^5.5.4",
76
+ "vite": "^5.4.1",
77
+ "vitest": "^3.0.0",
78
+ "which": "^4.0.0",
79
+ "ws": "^8.18.0",
79
80
  "yoctocolors": "^2.1.1"
80
81
  },
81
- "gitHead": "3bf1b4b25c9fb11b3a7df95a4c2ead690847d1f5",
82
+ "gitHead": "928b3cadaf4fb6bd4337932f63c759fb34fc6964",
82
83
  "dependencies": {
84
+ "@clack/prompts": "^0.11.0",
83
85
  "@electric-sql/pglite": "^0.3.2",
84
- "@elizaos/core": "1.0.6",
86
+ "@elizaos/core": "1.0.8",
87
+ "@elizaos/plugin-bootstrap": "1.0.5",
85
88
  "@elizaos/plugin-local-ai": "latest",
86
89
  "@elizaos/plugin-openai": "latest",
87
- "@elizaos/plugin-sql": "1.0.6",
90
+ "@elizaos/plugin-sql": "1.0.8",
88
91
  "@noble/curves": "^1.6.0",
89
92
  "@sindresorhus/merge-streams": "^4.0.0",
90
93
  "@types/express": "^5.0.2",
94
+ "@types/helmet": "^4.0.0",
91
95
  "@types/multer": "^1.4.12",
92
96
  "bun": "^1.2.13",
93
97
  "chokidar": "^4.0.3",
98
+ "drizzle-orm": "^0.44.2",
94
99
  "execa": "^7.0.0",
95
100
  "express": "^5.1.0",
101
+ "express-rate-limit": "^7.5.0",
102
+ "helmet": "^8.1.0",
96
103
  "multer": "^2.0.0",
97
104
  "octokit": "^4.1.3",
98
105
  "path-to-regexp": "^8.2.0",
@@ -2,17 +2,34 @@
2
2
 
3
3
  This is an ElizaOS plugin built with the official plugin starter template.
4
4
 
5
+ ## Getting Started
6
+
7
+ ```bash
8
+ # Create a new plugin (automatically adds "plugin-" prefix)
9
+ elizaos create -t plugin solana
10
+ # This creates: plugin-solana
11
+ # Dependencies are automatically installed and built
12
+
13
+ # Navigate to the plugin directory
14
+ cd plugin-solana
15
+
16
+ # Start development immediately
17
+ elizaos dev
18
+ ```
19
+
5
20
  ## Development
6
21
 
7
22
  ```bash
8
- # Start development with hot-reloading
9
- npm run dev
23
+ # Start development with hot-reloading (recommended)
24
+ elizaos dev
10
25
 
11
- # Build the plugin
12
- npm run build
26
+ # OR start without hot-reloading
27
+ elizaos start
28
+ # Note: When using 'start', you need to rebuild after changes:
29
+ # bun run build
13
30
 
14
31
  # Test the plugin
15
- npm run test
32
+ elizaos test
16
33
  ```
17
34
 
18
35
  ## Testing
@@ -25,15 +42,15 @@ ElizaOS provides a comprehensive testing structure for plugins:
25
42
 
26
43
  - **Unit Tests**: Test individual functions/classes in isolation
27
44
  - **Integration Tests**: Test how components work together
28
- - Run with: `npm run test:component`
45
+ - Run with: `elizaos test component`
29
46
 
30
47
  - **End-to-End Tests** (`e2e/` directory):
31
48
 
32
49
  - Test the plugin within a full ElizaOS runtime
33
- - Run with: `npm run test:e2e`
50
+ - Run with: `elizaos test e2e`
34
51
 
35
52
  - **Running All Tests**:
36
- - `npm run test` runs both component and e2e tests
53
+ - `elizaos test` runs both component and e2e tests
37
54
 
38
55
  ### Writing Tests
39
56
 
@@ -125,7 +142,7 @@ This command will:
125
142
 
126
143
  ```bash
127
144
  # Edit your plugin code
128
- npm run dev # Test locally with hot-reload
145
+ elizaos dev # Test locally with hot-reload
129
146
  ```
130
147
 
131
148
  2. **Test Your Changes**
@@ -33,7 +33,11 @@
33
33
  }
34
34
  },
35
35
  "files": [
36
- "dist"
36
+ "dist",
37
+ "README.md",
38
+ ".npmignore",
39
+ "package.json",
40
+ "tsup.config.ts"
37
41
  ],
38
42
  "dependencies": {
39
43
  "@elizaos/core": "^1.0.0",
@@ -44,7 +48,7 @@
44
48
  "@elizaos/cli": "^1.0.0",
45
49
  "dotenv": "16.4.5",
46
50
  "prettier": "3.5.3",
47
- "tsup": "8.4.0",
51
+ "tsup": "8.5.0",
48
52
  "typescript": "5.8.2",
49
53
  "vitest": "3.1.4"
50
54
  },
@@ -1,12 +1,10 @@
1
1
  {
2
2
  "extends": "./tsconfig.json",
3
3
  "compilerOptions": {
4
- "rootDir": "./src",
5
4
  "outDir": "./dist",
6
5
  "sourceMap": true,
7
6
  "inlineSources": true,
8
- "declaration": true,
9
- "emitDeclarationOnly": true
7
+ "declaration": true
10
8
  },
11
9
  "include": ["src/**/*.ts"],
12
10
  "exclude": ["node_modules", "dist", "**/*.test.ts", "**/*.spec.ts"]
@@ -9,9 +9,8 @@
9
9
  "esModuleInterop": true,
10
10
  "skipLibCheck": true,
11
11
  "forceConsistentCasingInFileNames": false,
12
- "allowImportingTsExtensions": true,
12
+ "allowImportingTsExtensions": false,
13
13
  "declaration": true,
14
- "emitDeclarationOnly": true,
15
14
  "resolveJsonModule": true,
16
15
  "noImplicitAny": false,
17
16
  "allowJs": true,
@@ -7,7 +7,7 @@ export default defineConfig({
7
7
  sourcemap: true,
8
8
  clean: true,
9
9
  format: ['esm'], // Ensure you're targeting CommonJS
10
- dts: false, // Skip DTS generation to avoid external import issues // Ensure you're targeting CommonJS
10
+ dts: true, // require DTS so we get d.ts in the dist folder on npm
11
11
  external: [
12
12
  'dotenv', // Externalize dotenv to prevent bundling
13
13
  'fs', // Externalize fs to use Node.js built-in module
@@ -14,30 +14,30 @@ This is the starter template for ElizaOS projects.
14
14
  ## Getting Started
15
15
 
16
16
  ```bash
17
- # Clone the starter project
18
- npx elizaos create my-project
17
+ # Create a new project
18
+ elizaos create -t project my-project
19
+ # Dependencies are automatically installed and built
19
20
 
20
21
  # Navigate to the project directory
21
22
  cd my-project
22
23
 
23
- # Install dependencies
24
- npm install
25
-
26
- # Start development server
27
- npm run dev
24
+ # Start development immediately
25
+ elizaos dev
28
26
  ```
29
27
 
30
28
  ## Development
31
29
 
32
30
  ```bash
33
- # Start development server
34
- npm run dev
31
+ # Start development with hot-reloading (recommended)
32
+ elizaos dev
35
33
 
36
- # Build the project
37
- npm run build
34
+ # OR start without hot-reloading
35
+ elizaos start
36
+ # Note: When using 'start', you need to rebuild after changes:
37
+ # bun run build
38
38
 
39
39
  # Test the project
40
- npm run test
40
+ elizaos test
41
41
  ```
42
42
 
43
43
  ## Testing
@@ -50,15 +50,15 @@ ElizaOS provides a comprehensive testing structure for projects:
50
50
 
51
51
  - **Unit Tests**: Test individual functions and components in isolation
52
52
  - **Integration Tests**: Test how components work together
53
- - Run with: `npm run test:component`
53
+ - Run with: `elizaos test component`
54
54
 
55
55
  - **End-to-End Tests** (`e2e/` directory):
56
56
 
57
57
  - Test the project within a full ElizaOS runtime
58
- - Run with: `npm run test:e2e`
58
+ - Run with: `elizaos test e2e`
59
59
 
60
60
  - **Running All Tests**:
61
- - `npm run test` runs both component and e2e tests
61
+ - `elizaos test` runs both component and e2e tests
62
62
 
63
63
  ### Writing Tests
64
64
 
@@ -107,4 +107,3 @@ Customize your project by modifying:
107
107
 
108
108
  - `src/index.ts` - Main entry point
109
109
  - `src/character.ts` - Character definition
110
- - `src/plugin.ts` - Plugin configuration
@@ -28,17 +28,17 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@elizaos/cli": "1.0.4",
32
- "@elizaos/core": "1.0.4",
33
- "@elizaos/plugin-sql": "1.0.4",
34
- "@elizaos/plugin-bootstrap": "1.0.4",
31
+ "@elizaos/cli": "1.0.6",
32
+ "@elizaos/core": "1.0.6",
33
+ "@elizaos/plugin-sql": "1.0.6",
34
+ "@elizaos/plugin-bootstrap": "1.0.6",
35
35
  "zod": "3.24.2"
36
36
  },
37
37
  "devDependencies": {
38
- "tsup": "8.4.0",
38
+ "tsup": "8.5.0",
39
39
  "prettier": "3.5.3",
40
40
  "vitest": "3.1.4",
41
- "@vitest/coverage-v8": "2.1.5"
41
+ "@vitest/coverage-v8": "3.1.4"
42
42
  },
43
43
  "scripts": {
44
44
  "start": "elizaos start",
@@ -1,5 +1,5 @@
1
1
  import type { TestSuite, IAgentRuntime } from '@elizaos/core';
2
- import { mrTeeCharacter } from '../src/character';
2
+ import { character as mrTeeCharacter } from '../dist/index.js';
3
3
 
4
4
  export class MrTeeProjectTestSuite implements TestSuite {
5
5
  name = 'mr-tee-project';
@@ -1,4 +1,4 @@
1
- import { character } from '../src/index';
1
+ import { character } from '../dist/index.js';
2
2
  import { v4 as uuidv4 } from 'uuid';
3
3
 
4
4
  // Define a minimal TestSuite interface that matches what's needed
@@ -33,19 +33,20 @@
33
33
  "GUIDE.md"
34
34
  ],
35
35
  "dependencies": {
36
- "@elizaos/cli": "1.0.4",
37
- "@elizaos/core": "1.0.4",
38
- "@elizaos/plugin-sql": "1.0.4",
36
+ "@elizaos/cli": "1.0.6",
37
+ "@elizaos/core": "1.0.6",
38
+ "@elizaos/plugin-redpill": "1.0.0",
39
+ "@elizaos/plugin-sql": "1.0.6",
39
40
  "@phala/dstack-sdk": "0.1.11",
40
41
  "@solana/web3.js": "1.98.2",
41
42
  "viem": "2.30.1",
42
43
  "zod": "3.24.2"
43
44
  },
44
45
  "devDependencies": {
45
- "tsup": "8.4.0",
46
+ "tsup": "8.5.0",
46
47
  "prettier": "3.5.3",
47
48
  "vitest": "3.1.4",
48
- "@vitest/coverage-v8": "2.1.5"
49
+ "@vitest/coverage-v8": "3.1.4"
49
50
  },
50
51
  "scripts": {
51
52
  "start": "elizaos start",
Binary file