@elizaos/cli 1.0.0-beta.26 → 1.0.0-beta.28
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 +289 -139
- package/dist/assets/{index-DLvpF7l_.js → index-BS4yKZxf.js} +2 -2
- package/dist/assets/index-BS4yKZxf.js.br +0 -0
- package/dist/assets/{index-DLvpF7l_.js.map → index-BS4yKZxf.js.map} +1 -1
- package/dist/assets/index-CCeKw4Er.css +1 -0
- package/dist/assets/index-CCeKw4Er.css.br +0 -0
- package/dist/assets/{index-B5fPWkuO.js → index-Cf6FmcGh.js} +36 -27
- package/dist/assets/index-Cf6FmcGh.js.br +0 -0
- package/dist/assets/index-Cf6FmcGh.js.map +1 -0
- package/dist/{chunk-FTV3XE3A.js → chunk-37R72446.js} +2 -2
- package/dist/{chunk-O6WZ6Q5M.js → chunk-6HZXDAKJ.js} +3 -3
- package/dist/{chunk-DQK2IXLN.js → chunk-6ZCADTFW.js} +4 -4
- package/dist/{chunk-GTB7BN2N.js → chunk-CYLSBSVJ.js} +2 -2
- package/dist/{chunk-5JWZ5QQO.js → chunk-DA4Z4A5F.js} +2 -1
- package/dist/{chunk-2I224C7C.js → chunk-E227RYGB.js} +16 -4
- package/dist/{chunk-PJV6T2PE.js → chunk-F7YAAZ74.js} +3 -3
- package/dist/{chunk-E3AQZGJN.js → chunk-H76AQ3KF.js} +2 -2
- package/dist/{chunk-CYOBLKW6.js → chunk-J55ORVQC.js} +2 -2
- package/dist/{chunk-EJBHUZ6Y.js → chunk-K42JI4JB.js} +3 -3
- package/dist/{chunk-JUWUBQO4.js → chunk-KZBH2REO.js} +2 -2
- package/dist/{chunk-GDH6CWLM.js → chunk-NFYHBDBB.js} +57 -54
- package/dist/{chunk-JQIQVEO5.js → chunk-PTIX6QEU.js} +3 -3
- package/dist/{chunk-LSDT7DTY.js → chunk-QMXF54XH.js} +1 -1
- package/dist/{chunk-WBP2EF2C.js → chunk-QWMQH3ON.js} +4 -4
- package/dist/{chunk-6KQ2M4FU.js → chunk-TVP5463H.js} +4 -4
- package/dist/{chunk-4V5CGARC.js → chunk-VFXL37ZK.js} +4 -4
- package/dist/{chunk-EELGCS7P.js → chunk-VRKZ4C6M.js} +3 -3
- package/dist/{chunk-462AFUA5.js → chunk-ZJLBU3UB.js} +1 -1
- package/dist/commands/agent.js +2 -2
- package/dist/commands/create.js +5 -5
- package/dist/commands/dev.js +4 -4
- package/dist/commands/env.js +3 -3
- package/dist/commands/install.js +3 -3
- package/dist/commands/plugin.js +5 -5
- package/dist/commands/project.js +6 -6
- package/dist/commands/publish.js +5 -5
- package/dist/commands/start.js +9 -11
- package/dist/commands/test.js +10 -10
- package/dist/commands/update-cli.js +3 -3
- package/dist/commands/update.js +4 -4
- package/dist/index.html +2 -2
- package/dist/index.js +19 -19
- package/dist/{registry-6AVE4VZI.js → registry-W5Z4BBDJ.js} +2 -2
- package/package.json +6 -6
- package/templates/plugin-starter/package.json +2 -1
- package/templates/project-starter/package.json +6 -6
- package/templates/project-starter/src/index.ts +0 -1
- package/dist/assets/index-B5fPWkuO.js.br +0 -0
- package/dist/assets/index-B5fPWkuO.js.map +0 -1
- package/dist/assets/index-D5zkI4F0.css +0 -1
- package/dist/assets/index-D5zkI4F0.css.br +0 -0
- package/dist/assets/index-DLvpF7l_.js.br +0 -0
package/README.md
CHANGED
|
@@ -1,203 +1,353 @@
|
|
|
1
|
-
# CLI
|
|
1
|
+
# ElizaOS CLI
|
|
2
2
|
|
|
3
|
-
The CLI provides a set of commands to manage your ElizaOS projects and plugins, from local development to cloud deployment.
|
|
3
|
+
The ElizaOS CLI provides a comprehensive set of commands to manage your ElizaOS projects and plugins, from local development to cloud deployment.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```bash
|
|
8
|
+
bun install -g @elizaos/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
### Alternative usage with npx
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
You can also run the CLI directly without installation using npx:
|
|
10
14
|
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
TELEGRAM_BOT_TOKEN=your_token
|
|
14
|
-
# Add other required variables
|
|
15
|
+
```bash
|
|
16
|
+
npx @elizaos/cli@beta [command]
|
|
15
17
|
```
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
This is useful for trying out commands without installing the CLI globally.
|
|
18
20
|
|
|
19
|
-
##
|
|
21
|
+
## Commands
|
|
20
22
|
|
|
21
|
-
###
|
|
23
|
+
### Project Creation and Management
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
- Node.js and npm/bun installed
|
|
25
|
-
- A Docker Hub account for publishing images
|
|
26
|
-
- A Phala Cloud (https://cloud.phala.network/login) API key for cloud deployments
|
|
25
|
+
#### `elizaos create [name]`
|
|
27
26
|
|
|
28
|
-
|
|
27
|
+
Initializes a new ElizaOS project or plugin.
|
|
29
28
|
|
|
30
|
-
|
|
29
|
+
- **`[name]`**: (Optional) The name for the new project or plugin directory
|
|
30
|
+
- **Options:**
|
|
31
|
+
- `-d, --dir <dir>`: Specify the directory for creation (default: current directory)
|
|
32
|
+
- `-y, --yes`: Skip confirmation prompts
|
|
33
|
+
- `-t, --type <type>`: Specify 'project' or 'plugin' to create
|
|
31
34
|
|
|
32
|
-
|
|
35
|
+
#### `elizaos project ...`
|
|
33
36
|
|
|
34
|
-
|
|
35
|
-
elizaos tee phala build \
|
|
36
|
-
-i your-image-name \
|
|
37
|
-
-u your-dockerhub-username \
|
|
38
|
-
-f path/to/Dockerfile \
|
|
39
|
-
-t tag-name
|
|
40
|
-
```
|
|
37
|
+
Manages project-specific configurations and plugins.
|
|
41
38
|
|
|
42
|
-
|
|
39
|
+
- **`list-plugins`**: Lists available plugins
|
|
40
|
+
- `-t, --type <type>`: Filter by plugin type (adapter, client, plugin)
|
|
41
|
+
- **`add-plugin <plugin>`**: Adds a plugin to the current project
|
|
42
|
+
- `--no-env-prompt`: Skip prompting for environment variables
|
|
43
|
+
- **`remove-plugin <plugin>`**: Removes a plugin from the current project
|
|
43
44
|
|
|
44
|
-
|
|
45
|
+
#### `elizaos setup-monorepo`
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
elizaos tee phala simulator
|
|
48
|
-
```
|
|
47
|
+
Clones the main `elizaOS/eliza` monorepo locally.
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
- **Options:**
|
|
50
|
+
- `-b, --branch <branch>`: Specify branch (default: 'v2-develop')
|
|
51
|
+
- `-d, --dir <directory>`: Specify destination directory (default: './eliza')
|
|
51
52
|
|
|
52
|
-
###
|
|
53
|
+
### Plugin Development
|
|
53
54
|
|
|
54
|
-
|
|
55
|
+
#### `elizaos plugin ...`
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
Manages plugin development workflows.
|
|
57
58
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-c path/to/character.json \
|
|
64
|
-
-e path/to/.env \
|
|
65
|
-
-v v2 # or v1 for legacy mode
|
|
66
|
-
```
|
|
59
|
+
- **`publish`**: Publishes the plugin to a registry
|
|
60
|
+
- `-r, --registry <registry>`: Target registry (default: 'elizaOS/registry')
|
|
61
|
+
- `-n, --npm`: Publish to npm instead of GitHub registry
|
|
62
|
+
- `-t, --test`: Run in test mode without making changes
|
|
63
|
+
- `-p, --platform <platform>`: Specify platform compatibility
|
|
67
64
|
|
|
68
|
-
|
|
65
|
+
### Agent Management
|
|
69
66
|
|
|
70
|
-
|
|
71
|
-
elizaos tee phala run-local \
|
|
72
|
-
-c path/to/docker-compose.yml \
|
|
73
|
-
-e path/to/.env
|
|
74
|
-
```
|
|
67
|
+
#### `elizaos agent ...`
|
|
75
68
|
|
|
76
|
-
|
|
69
|
+
Interacts with the ElizaOS Agent Runtime API.
|
|
77
70
|
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
71
|
+
- **`list`** (alias: `ls`): Lists all agents
|
|
72
|
+
- `-j, --json`: Output in JSON format
|
|
73
|
+
- **`get`** (alias: `g`): Gets details about a specific agent
|
|
74
|
+
- `-n, --name <name>`: Agent ID, name, or index
|
|
75
|
+
- `-j, --json`: Output in JSON format
|
|
76
|
+
- `-o, --output <file>`: Save configuration to file
|
|
77
|
+
- **`start`** (alias: `s`): Starts a new agent instance
|
|
78
|
+
- `-n, --name <name>`: Use pre-defined character name
|
|
79
|
+
- `-j, --json <json>`: Provide character definition as JSON
|
|
80
|
+
- `-p, --path <path>`: Load definition from local file
|
|
81
|
+
- `-r, --remote <url>`: Load definition from remote URL
|
|
82
|
+
- **`stop`** (alias: `st`): Stops a specific agent
|
|
83
|
+
- `-n, --name <name>`: Agent to stop
|
|
84
|
+
- **`restart`** (alias: `r`): Restarts a specific agent
|
|
85
|
+
- `-n, --name <name>`: Agent to restart
|
|
82
86
|
|
|
83
|
-
|
|
87
|
+
### Server Management
|
|
84
88
|
|
|
85
|
-
|
|
86
|
-
.tee-cloud/
|
|
87
|
-
└── compose-files/ # Generated docker-compose files
|
|
88
|
-
└── your-character-tee-compose.yaml
|
|
89
|
-
```
|
|
89
|
+
#### `elizaos start`
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
Starts the main ElizaOS server process.
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
- **Options:**
|
|
94
|
+
- `--configure`: Force reconfiguration
|
|
95
|
+
- `-p, --port <port>`: Specify server port (default: 3000)
|
|
96
|
+
- `-c, --character <path>`: Start a single agent using specified file
|
|
97
|
+
- `-d, --data-dir <path>`: Specify data directory for persistence
|
|
94
98
|
|
|
95
|
-
|
|
96
|
-
elizaos tee phala publish \
|
|
97
|
-
-i your-image-name \
|
|
98
|
-
-u your-dockerhub-username \
|
|
99
|
-
-t tag-name
|
|
100
|
-
```
|
|
99
|
+
#### `elizaos stop`
|
|
101
100
|
|
|
102
|
-
|
|
101
|
+
Stops all running ElizaOS processes initiated by the CLI.
|
|
103
102
|
|
|
104
|
-
|
|
103
|
+
#### `elizaos dev`
|
|
105
104
|
|
|
106
|
-
|
|
107
|
-
elizaos tee phala list-tags \
|
|
108
|
-
-i your-image-name \
|
|
109
|
-
-u your-dockerhub-username
|
|
110
|
-
```
|
|
105
|
+
Starts the ElizaOS server in development mode with hot reloading.
|
|
111
106
|
|
|
112
|
-
|
|
107
|
+
- **Options:**
|
|
108
|
+
- `-p, --port <port>`: Specify development server port
|
|
113
109
|
|
|
114
|
-
|
|
110
|
+
### Updates and Maintenance
|
|
115
111
|
|
|
116
|
-
|
|
117
|
-
elizaos tee phala set-apikey your-api-key
|
|
118
|
-
```
|
|
112
|
+
#### `elizaos update`
|
|
119
113
|
|
|
120
|
-
|
|
114
|
+
Updates all `@elizaos/*` dependencies in the current project.
|
|
121
115
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
-
|
|
125
|
-
-m docker-compose \
|
|
126
|
-
-n your-deployment-name \
|
|
127
|
-
-c path/to/docker-compose.yml \
|
|
128
|
-
--env-file path/to/.env
|
|
129
|
-
```
|
|
116
|
+
- **Options:**
|
|
117
|
+
- `--check`: Check for updates without installing
|
|
118
|
+
- `--skip-build`: Skip automatic build after updating
|
|
130
119
|
|
|
131
|
-
|
|
120
|
+
#### `elizaos update-cli`
|
|
132
121
|
|
|
133
|
-
|
|
122
|
+
Updates the globally installed CLI package to the latest version.
|
|
134
123
|
|
|
135
|
-
|
|
136
|
-
elizaos tee phala list-cvms
|
|
137
|
-
```
|
|
124
|
+
### Testing
|
|
138
125
|
|
|
139
|
-
|
|
126
|
+
#### `elizaos test`
|
|
140
127
|
|
|
141
|
-
|
|
142
|
-
elizaos tee phala teepods
|
|
143
|
-
```
|
|
128
|
+
Runs tests for the current project or plugin.
|
|
144
129
|
|
|
145
|
-
|
|
130
|
+
- **Options:**
|
|
131
|
+
- `-p, --port <port>`: Specify test server port
|
|
132
|
+
- `--plugin`: Force testing as a plugin
|
|
133
|
+
- `--skip-plugins`: Skip plugin-related tests
|
|
134
|
+
- `--skip-project-tests`: Skip project-specific tests
|
|
135
|
+
- `--skip-build`: Skip build step before testing
|
|
146
136
|
|
|
147
|
-
|
|
148
|
-
elizaos tee phala images --teepod-id your-teepod-id
|
|
149
|
-
```
|
|
137
|
+
### Environment Variables
|
|
150
138
|
|
|
151
|
-
|
|
139
|
+
#### `elizaos env ...`
|
|
152
140
|
|
|
153
|
-
|
|
154
|
-
elizaos tee phala upgrade \
|
|
155
|
-
-t phala \
|
|
156
|
-
-m docker-compose \
|
|
157
|
-
--app-id your-app-id \
|
|
158
|
-
-c path/to/docker-compose.yml \
|
|
159
|
-
--env-file path/to/.env
|
|
160
|
-
```
|
|
141
|
+
Manages environment variables in global and local scopes.
|
|
161
142
|
|
|
162
|
-
|
|
143
|
+
- **`list`**: Shows variables from both scopes
|
|
144
|
+
- **`edit`**: Interactively edit variables
|
|
145
|
+
- **`set <key> <value>`**: Sets/updates a variable
|
|
146
|
+
- `--global` or `--local`: Specify scope
|
|
147
|
+
- **`unset <key>`**: Removes a variable
|
|
148
|
+
- `--global` or `--local`: Specify scope
|
|
149
|
+
- **`reset`**: Clears all variables (requires confirmation)
|
|
150
|
+
- `--global` or `--local`: Specify scope
|
|
151
|
+
- **`set-path <path>`**: Sets custom path for global environment file
|
|
163
152
|
|
|
164
|
-
|
|
153
|
+
### Publishing
|
|
165
154
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
155
|
+
#### `elizaos publish`
|
|
156
|
+
|
|
157
|
+
Publishes the current project or plugin.
|
|
158
|
+
|
|
159
|
+
- **Options:**
|
|
160
|
+
- `--dry-run`: Test run without publishing
|
|
161
|
+
- `--registry <repo>`: Specify target registry (default: 'elizaOS/registry')
|
|
162
|
+
|
|
163
|
+
## Development Guide
|
|
164
|
+
|
|
165
|
+
### Developing Plugins
|
|
166
|
+
|
|
167
|
+
Plugins extend the functionality of ElizaOS agents by providing additional capabilities or integrations.
|
|
168
|
+
|
|
169
|
+
1. **Create a new plugin**:
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
elizaos create my-plugin --type plugin
|
|
173
|
+
cd plugin-my-plugin
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
2. **Structure of a plugin**:
|
|
170
177
|
|
|
171
|
-
|
|
178
|
+
```
|
|
179
|
+
plugin-my-plugin/
|
|
180
|
+
├── src/ # Source code
|
|
181
|
+
│ └── index.ts # Main entry point defining the plugin
|
|
182
|
+
├── images/ # Required for publishing to registry
|
|
183
|
+
│ ├── logo.jpg # 400x400px square (<500KB)
|
|
184
|
+
│ └── banner.jpg # 1280x640px (<1MB)
|
|
185
|
+
├── package.json # Package configuration with agentConfig section
|
|
186
|
+
├── tsconfig.json # TypeScript configuration
|
|
187
|
+
└── README.md # Documentation
|
|
188
|
+
```
|
|
172
189
|
|
|
173
|
-
|
|
174
|
-
- Always test your image locally with `run-local` before publishing
|
|
175
|
-
- Keep your API keys secure and never commit them to version control
|
|
176
|
-
- Use the `--help` flag with any command for detailed usage information
|
|
190
|
+
3. **Implement your plugin**:
|
|
177
191
|
|
|
178
|
-
|
|
192
|
+
Your plugin's main file (src/index.ts) should export a plugin object:
|
|
179
193
|
|
|
180
|
-
|
|
194
|
+
```typescript
|
|
195
|
+
import { type Plugin, type IAgentRuntime } from '@elizaos/core';
|
|
196
|
+
import { z } from 'zod';
|
|
181
197
|
|
|
182
|
-
|
|
198
|
+
// Define config schema for validation
|
|
199
|
+
const configSchema = z.object({
|
|
200
|
+
API_KEY: z.string().min(1, 'API key is required'),
|
|
201
|
+
});
|
|
183
202
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
203
|
+
// Export the plugin object
|
|
204
|
+
export const myPlugin: Plugin = {
|
|
205
|
+
name: 'plugin-my-plugin',
|
|
206
|
+
description: 'My custom plugin description',
|
|
187
207
|
|
|
188
|
-
|
|
208
|
+
// Config section maps environment variables to plugin settings
|
|
209
|
+
config: {
|
|
210
|
+
API_KEY: process.env.MY_PLUGIN_API_KEY,
|
|
211
|
+
},
|
|
189
212
|
|
|
190
|
-
|
|
191
|
-
|
|
213
|
+
// Initialization function
|
|
214
|
+
async init(config: Record<string, string>) {
|
|
215
|
+
// Validate config
|
|
216
|
+
const validatedConfig = await configSchema.parseAsync(config);
|
|
192
217
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
218
|
+
// Plugin setup
|
|
219
|
+
return {
|
|
220
|
+
// Plugin methods and handlers
|
|
221
|
+
// ...
|
|
222
|
+
};
|
|
223
|
+
},
|
|
224
|
+
};
|
|
197
225
|
|
|
198
|
-
|
|
226
|
+
// Default export
|
|
227
|
+
export default myPlugin;
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
4. **Configure package.json**:
|
|
231
|
+
|
|
232
|
+
Add an `agentConfig` section to describe your plugin parameters:
|
|
233
|
+
|
|
234
|
+
```json
|
|
235
|
+
"agentConfig": {
|
|
236
|
+
"pluginType": "elizaos:plugin:1.0.0",
|
|
237
|
+
"pluginParameters": {
|
|
238
|
+
"API_KEY": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"description": "API key for the service"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
5. **Test your plugin**:
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
bun run test
|
|
250
|
+
# Or with the CLI directly:
|
|
251
|
+
elizaos test --plugin
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
6. **Publish your plugin**:
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
# Test publishing process
|
|
258
|
+
elizaos plugin publish --test
|
|
259
|
+
|
|
260
|
+
# Publish to registry
|
|
261
|
+
elizaos plugin publish
|
|
262
|
+
|
|
263
|
+
# Or publish to npm
|
|
264
|
+
elizaos plugin publish --npm
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
### Developing Projects (Agents)
|
|
268
|
+
|
|
269
|
+
Projects contain agent configurations and code for building agent-based applications.
|
|
270
|
+
|
|
271
|
+
1. **Create a new project**:
|
|
272
|
+
|
|
273
|
+
```bash
|
|
274
|
+
elizaos create my-agent-project
|
|
275
|
+
cd my-agent-project
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
2. **Project structure**:
|
|
279
|
+
|
|
280
|
+
```
|
|
281
|
+
my-agent-project/
|
|
282
|
+
├── src/ # Source code
|
|
283
|
+
│ ├── index.ts # Main entry point with character definition
|
|
284
|
+
│ └── plugin.ts # Custom project plugin implementation
|
|
285
|
+
├── data/ # Data storage directory
|
|
286
|
+
│ └── uploads/ # For uploaded files
|
|
287
|
+
├── package.json # Package configuration
|
|
288
|
+
├── tsconfig.json # TypeScript configuration
|
|
289
|
+
└── README.md # Documentation
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
3. **Configure your agent**:
|
|
293
|
+
|
|
294
|
+
The main character definition is in src/index.ts:
|
|
295
|
+
|
|
296
|
+
```typescript
|
|
297
|
+
import { type Character } from '@elizaos/core';
|
|
298
|
+
|
|
299
|
+
export const character: Character = {
|
|
300
|
+
name: 'My Assistant',
|
|
301
|
+
plugins: [
|
|
302
|
+
'@elizaos/plugin-openai',
|
|
303
|
+
// Add other plugins here
|
|
304
|
+
],
|
|
305
|
+
system: 'You are a helpful assistant...',
|
|
306
|
+
bio: [
|
|
307
|
+
'Helpful and knowledgeable',
|
|
308
|
+
'Communicates clearly and concisely',
|
|
309
|
+
// Other character traits
|
|
310
|
+
],
|
|
311
|
+
messageExamples: [
|
|
312
|
+
// Example conversations
|
|
313
|
+
],
|
|
314
|
+
};
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
4. **Add plugins to your project**:
|
|
318
|
+
|
|
319
|
+
```bash
|
|
320
|
+
elizaos project add-plugin @elizaos/plugin-openai
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
5. **Run your project in development mode**:
|
|
324
|
+
|
|
325
|
+
```bash
|
|
326
|
+
bun run dev
|
|
327
|
+
# Or with the CLI directly:
|
|
328
|
+
elizaos dev
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
6. **Build and start your project**:
|
|
332
|
+
|
|
333
|
+
```bash
|
|
334
|
+
bun run build
|
|
335
|
+
bun run start
|
|
336
|
+
# Or with the CLI directly:
|
|
337
|
+
elizaos start
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
7. **Test your project**:
|
|
341
|
+
```bash
|
|
342
|
+
bun run test
|
|
343
|
+
# Or with the CLI directly:
|
|
344
|
+
elizaos test
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
## Contributing
|
|
348
|
+
|
|
349
|
+
For contributing to the ElizaOS CLI, please clone the monorepo using:
|
|
199
350
|
|
|
200
351
|
```bash
|
|
201
|
-
elizaos
|
|
202
|
-
elizaos tee phala <command> --help
|
|
352
|
+
elizaos setup-monorepo
|
|
203
353
|
```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as require$$2, a as requireString_decoder, c as commonjsGlobal, b as requireEvents, g as getDefaultExportFromCjs } from "./index-
|
|
1
|
+
import { r as require$$2, a as requireString_decoder, c as commonjsGlobal, b as requireEvents, g as getDefaultExportFromCjs } from "./index-Cf6FmcGh.js";
|
|
2
2
|
function _mergeNamespaces(n, m) {
|
|
3
3
|
for (var i = 0; i < m.length; i++) {
|
|
4
4
|
const e = m[i];
|
|
@@ -4242,4 +4242,4 @@ const index$1 = /* @__PURE__ */ _mergeNamespaces({
|
|
|
4242
4242
|
export {
|
|
4243
4243
|
index$1 as i
|
|
4244
4244
|
};
|
|
4245
|
-
//# sourceMappingURL=index-
|
|
4245
|
+
//# sourceMappingURL=index-BS4yKZxf.js.map
|
|
Binary file
|