@robota-sdk/agent-cli 3.0.0-beta.2 → 3.0.0-beta.20
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 +12 -3
- package/dist/node/bin.cjs +924 -579
- package/dist/node/bin.js +11 -1
- package/dist/node/{chunk-OH7DJXHF.js → chunk-RE4JCNEA.js} +909 -573
- package/dist/node/index.cjs +923 -588
- package/dist/node/index.js +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -12,6 +12,8 @@ npm install -g @robota-sdk/agent-cli
|
|
|
12
12
|
npx @robota-sdk/agent-cli
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
> **macOS users**: Korean/CJK IME input may crash macOS Terminal.app. Use **[iTerm2](https://iterm2.com/)** instead. This is a known Ink + Terminal.app issue shared with Claude Code.
|
|
16
|
+
|
|
15
17
|
After installing globally, the `robota` command is available system-wide:
|
|
16
18
|
|
|
17
19
|
```bash
|
|
@@ -73,9 +75,14 @@ robota -r <session-id> # Resume session by ID
|
|
|
73
75
|
robota --model <model> # Model override (e.g., claude-sonnet-4-6)
|
|
74
76
|
robota --permission-mode <mode> # plan | default | acceptEdits | bypassPermissions
|
|
75
77
|
robota --max-turns <n> # Limit agentic turns per interaction
|
|
78
|
+
robota --reset # Delete user settings and exit
|
|
76
79
|
robota --version # Show version
|
|
77
80
|
```
|
|
78
81
|
|
|
82
|
+
## First-Run Setup
|
|
83
|
+
|
|
84
|
+
When no settings file exists, the CLI prompts for an Anthropic API key (input masked with asterisks) and creates `~/.robota/settings.json`. Use `robota --reset` to return to first-run state.
|
|
85
|
+
|
|
79
86
|
## Built-in Tools
|
|
80
87
|
|
|
81
88
|
The CLI provides 6 tools that the AI agent can invoke:
|
|
@@ -175,9 +182,11 @@ Configure in `.robota/settings.json` or `.robota/settings.local.json`:
|
|
|
175
182
|
| `/help` | Show help |
|
|
176
183
|
| `/clear` | Clear conversation history |
|
|
177
184
|
| `/mode [mode]` | Show or change permission mode |
|
|
178
|
-
| `/
|
|
179
|
-
| `/
|
|
180
|
-
| `/
|
|
185
|
+
| `/model [model]`| Select AI model (confirmation + restart) |
|
|
186
|
+
| `/compact [instructions]` | Compress context window |
|
|
187
|
+
| `/cost` | Show session info |
|
|
188
|
+
| `/context` | Context window details |
|
|
189
|
+
| `/permissions` | Show permission rules |
|
|
181
190
|
| `/exit` | Exit CLI |
|
|
182
191
|
|
|
183
192
|
## Configuration
|