@elisym/cli 0.1.3 → 0.1.5
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 +40 -48
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -29,23 +29,37 @@ docker run --rm \
|
|
|
29
29
|
|
|
30
30
|
## Commands
|
|
31
31
|
|
|
32
|
-
| Command | Description
|
|
33
|
-
| ------------------------------------ |
|
|
34
|
-
| `elisym init` | Interactive wizard - create agent identity
|
|
35
|
-
| `elisym start [name]` | Start agent in provider mode
|
|
36
|
-
| `elisym list` | List all agents
|
|
37
|
-
| `elisym status <name>` | Show agent status
|
|
38
|
-
| `elisym
|
|
39
|
-
| `elisym
|
|
40
|
-
| `elisym
|
|
41
|
-
| `elisym
|
|
32
|
+
| Command | Description |
|
|
33
|
+
| ------------------------------------ | -------------------------------------------- |
|
|
34
|
+
| `elisym init` | Interactive wizard - create agent identity |
|
|
35
|
+
| `elisym start [name]` | Start agent in provider mode |
|
|
36
|
+
| `elisym list` | List all agents |
|
|
37
|
+
| `elisym status <name>` | Show agent status |
|
|
38
|
+
| `elisym profile [name]` | Edit agent profile, wallet, and LLM settings |
|
|
39
|
+
| `elisym wallet [name]` | Show Solana wallet balance |
|
|
40
|
+
| `elisym send <name> <addr> <amount>` | Send SOL |
|
|
41
|
+
| `elisym config <name>` | Show config (secrets redacted) |
|
|
42
|
+
| `elisym delete <name>` | Delete an agent |
|
|
42
43
|
|
|
43
44
|
### Start Options
|
|
44
45
|
|
|
45
46
|
```bash
|
|
46
47
|
elisym start my-agent # Interactive TUI
|
|
47
48
|
elisym start my-agent --headless # Headless (server mode)
|
|
48
|
-
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The agent loads skills from `./skills/` in the current working directory. Each skill is a subdirectory with a `SKILL.md` file:
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
my-project/
|
|
55
|
+
skills/
|
|
56
|
+
youtube-summary/
|
|
57
|
+
SKILL.md
|
|
58
|
+
scripts/
|
|
59
|
+
summarize.py
|
|
60
|
+
general-assistant/
|
|
61
|
+
SKILL.md
|
|
62
|
+
...
|
|
49
63
|
```
|
|
50
64
|
|
|
51
65
|
## Skills
|
|
@@ -54,20 +68,20 @@ Skills are defined in `SKILL.md` files inside `./skills/<skill-name>/`:
|
|
|
54
68
|
|
|
55
69
|
```markdown
|
|
56
70
|
---
|
|
57
|
-
name
|
|
58
|
-
description
|
|
59
|
-
capabilities
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
name
|
|
69
|
-
description
|
|
70
|
-
required
|
|
71
|
+
name: youtube-summary
|
|
72
|
+
description: Summarize YouTube videos
|
|
73
|
+
capabilities:
|
|
74
|
+
- youtube-summary
|
|
75
|
+
- video-analysis
|
|
76
|
+
max_tool_rounds: 15
|
|
77
|
+
tools:
|
|
78
|
+
- name: fetch_transcript
|
|
79
|
+
description: Fetch YouTube transcript
|
|
80
|
+
command: ['python3', 'scripts/summarize.py']
|
|
81
|
+
parameters:
|
|
82
|
+
- name: url
|
|
83
|
+
description: YouTube video URL
|
|
84
|
+
required: true
|
|
71
85
|
---
|
|
72
86
|
|
|
73
87
|
You are a YouTube video summarizer. Use the fetch_transcript tool to get
|
|
@@ -76,29 +90,7 @@ the transcript, then provide a concise summary.
|
|
|
76
90
|
|
|
77
91
|
See `skills-examples/` for working examples.
|
|
78
92
|
|
|
79
|
-
##
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
src/
|
|
83
|
-
index.ts Commander CLI
|
|
84
|
-
commands/
|
|
85
|
-
init.ts Interactive wizard (inquirer)
|
|
86
|
-
start.ts Provider mode entry
|
|
87
|
-
wallet.ts Balance and send
|
|
88
|
-
runtime.ts Job loop with p-limit(10) concurrency
|
|
89
|
-
ledger.ts JSON persistence for crash recovery
|
|
90
|
-
skill/
|
|
91
|
-
index.ts Skill interface and registry
|
|
92
|
-
script-skill.ts LLM orchestrator with tool-use
|
|
93
|
-
loader.ts SKILL.md parser
|
|
94
|
-
transport/
|
|
95
|
-
nostr.ts NIP-90 subscription via @elisym/sdk
|
|
96
|
-
llm/
|
|
97
|
-
index.ts Anthropic + OpenAI with tool-use
|
|
98
|
-
config.ts AgentConfig TOML management
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## Build
|
|
93
|
+
## Commands
|
|
102
94
|
|
|
103
95
|
```bash
|
|
104
96
|
bun run build # Build with tsup
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elisym/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "CLI agent runner for elisym - provider mode, skills, TUI dashboard",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agents",
|
|
@@ -40,10 +40,11 @@
|
|
|
40
40
|
"typecheck": "tsc --noEmit",
|
|
41
41
|
"lint": "oxlint src/",
|
|
42
42
|
"qa": "tsup && vitest run && tsc --noEmit && oxlint src/ && oxfmt --check src/",
|
|
43
|
-
"clean": "rm -rf dist"
|
|
43
|
+
"clean": "rm -rf dist",
|
|
44
|
+
"prepublishOnly": "bun run build && node scripts/preflight-publish.mjs"
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
46
|
-
"@elisym/sdk": "
|
|
47
|
+
"@elisym/sdk": "~0.2.1",
|
|
47
48
|
"@solana/web3.js": "~1.98.0",
|
|
48
49
|
"bs58": "~6.0.0",
|
|
49
50
|
"chalk": "~5.6.0",
|