@ash-ai/cli 0.0.1 → 0.0.2
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 +47 -0
- package/package.json +5 -4
package/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# @ash-ai/cli
|
|
2
|
+
|
|
3
|
+
CLI for deploying and managing [Ash](https://github.com/ash-ai-org/ash-ai) AI agents.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @ash-ai/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Start the Ash server
|
|
15
|
+
ash start
|
|
16
|
+
|
|
17
|
+
# Deploy an agent from a folder
|
|
18
|
+
ash deploy ./my-agent --name my-agent
|
|
19
|
+
|
|
20
|
+
# Create a session and send messages
|
|
21
|
+
ash session create my-agent
|
|
22
|
+
ash session send <SESSION_ID> "Hello!"
|
|
23
|
+
|
|
24
|
+
# List agents and sessions
|
|
25
|
+
ash agent list
|
|
26
|
+
ash session list
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## What is an agent?
|
|
30
|
+
|
|
31
|
+
An agent is a folder. The only required file is `CLAUDE.md`:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
my-agent/
|
|
35
|
+
├── CLAUDE.md # System prompt (required)
|
|
36
|
+
├── .claude/
|
|
37
|
+
│ └── settings.json # Permissions
|
|
38
|
+
└── .mcp.json # MCP server connections
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Documentation
|
|
42
|
+
|
|
43
|
+
See the [Ash README](https://github.com/ash-ai-org/ash-ai) for full documentation.
|
|
44
|
+
|
|
45
|
+
## License
|
|
46
|
+
|
|
47
|
+
[MIT](https://github.com/ash-ai-org/ash-ai/blob/main/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ash-ai/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,14 +8,15 @@
|
|
|
8
8
|
"ash": "dist/index.js"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
|
-
"dist"
|
|
11
|
+
"dist",
|
|
12
|
+
"README.md"
|
|
12
13
|
],
|
|
13
14
|
"publishConfig": {
|
|
14
15
|
"access": "public"
|
|
15
16
|
},
|
|
16
17
|
"repository": {
|
|
17
18
|
"type": "git",
|
|
18
|
-
"url": "https://github.com/ash-ai/ash.git",
|
|
19
|
+
"url": "https://github.com/ash-ai-org/ash-ai.git",
|
|
19
20
|
"directory": "packages/cli"
|
|
20
21
|
},
|
|
21
22
|
"license": "MIT",
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
],
|
|
30
31
|
"dependencies": {
|
|
31
32
|
"commander": "^13.0.0",
|
|
32
|
-
"@ash-ai/shared": "0.0.
|
|
33
|
+
"@ash-ai/shared": "0.0.2"
|
|
33
34
|
},
|
|
34
35
|
"scripts": {
|
|
35
36
|
"build": "tsc",
|