@clickzetta/cz-cli-darwin-x64 0.3.85 → 0.3.87-dev.20260528223948
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/bin/cz-cli +0 -0
- package/bin/skills/cz-cli/SKILL.md +8 -14
- package/package.json +1 -1
package/bin/cz-cli
CHANGED
|
Binary file
|
|
@@ -81,11 +81,9 @@ cz-cli agent llm show
|
|
|
81
81
|
**Step 2 — If active LLM is configured (kind != "none"), you MUST use agent run:**
|
|
82
82
|
|
|
83
83
|
```bash
|
|
84
|
-
cz-cli agent run "<request>" --
|
|
84
|
+
cz-cli agent run "<request>" --dangerously-skip-permissions
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
Do NOT use direct cz-cli subcommands when an active LLM is available. Always delegate the full request to `cz-cli agent run`.
|
|
88
|
-
|
|
89
87
|
The output includes a `session_id`. Use it to inspect the run:
|
|
90
88
|
- `cz-cli agent session status <session_id>` — current state (`busy`/`retry` with `progress`, `idle` with `result`, or `error`)
|
|
91
89
|
- `cz-cli agent export <session_id>` — full conversation (messages, tool calls, reasoning, text). Wait until `status` is `idle` before exporting; otherwise the conversation may still be in progress.
|
|
@@ -99,19 +97,17 @@ Use direct commands for local setup and diagnostics even when agent path is avai
|
|
|
99
97
|
With session continuity:
|
|
100
98
|
|
|
101
99
|
```bash
|
|
102
|
-
cz-cli agent run "<request>" --
|
|
100
|
+
cz-cli agent run "<request>" --dangerously-skip-permissions --session <session_id>
|
|
103
101
|
```
|
|
104
102
|
|
|
105
103
|
Reuse `session_id` for follow-ups on the same topic. Omit `--session` to start fresh.
|
|
106
104
|
|
|
107
105
|
## Async mode (non-TTY / long-running tasks)
|
|
108
106
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
### Submit asynchronously
|
|
107
|
+
In non-TTY environments (e.g. as a subagent from Claude Code), async mode activates automatically — no `--async` flag needed. The command returns immediately with a session ID:
|
|
112
108
|
|
|
113
109
|
```bash
|
|
114
|
-
cz-cli agent run "<request>" --
|
|
110
|
+
cz-cli agent run "<request>" --dangerously-skip-permissions
|
|
115
111
|
```
|
|
116
112
|
|
|
117
113
|
Returns immediately with a session ID:
|
|
@@ -119,8 +115,6 @@ Returns immediately with a session ID:
|
|
|
119
115
|
{"session_id": "01JXF3K...", "status": "running", "message": "Session submitted asynchronously"}
|
|
120
116
|
```
|
|
121
117
|
|
|
122
|
-
Note: In non-TTY with `--format a2a` or `--format json`, async mode activates automatically (no `--async` flag needed).
|
|
123
|
-
|
|
124
118
|
### Poll status
|
|
125
119
|
|
|
126
120
|
```bash
|
|
@@ -192,7 +186,7 @@ Part types in export:
|
|
|
192
186
|
|
|
193
187
|
```bash
|
|
194
188
|
# 1. Submit
|
|
195
|
-
SESSION=$(cz-cli agent run "complex analysis" --async --
|
|
189
|
+
SESSION=$(cz-cli agent run "complex analysis" --async --dangerously-skip-permissions | jq -r '.session_id')
|
|
196
190
|
|
|
197
191
|
# 2. Poll until done, printing progress along the way
|
|
198
192
|
while true; do
|
|
@@ -214,11 +208,11 @@ cz-cli agent export $SESSION
|
|
|
214
208
|
|
|
215
209
|
```bash
|
|
216
210
|
# First turn
|
|
217
|
-
SESSION=$(cz-cli agent run "describe sales table" --async --
|
|
211
|
+
SESSION=$(cz-cli agent run "describe sales table" --async --dangerously-skip-permissions | jq -r '.session_id')
|
|
218
212
|
# ... wait for completion ...
|
|
219
213
|
|
|
220
214
|
# Follow-up turn on same session
|
|
221
|
-
cz-cli agent run "now show row counts" --async --
|
|
215
|
+
cz-cli agent run "now show row counts" --async --dangerously-skip-permissions --session $SESSION
|
|
222
216
|
```
|
|
223
217
|
|
|
224
218
|
### Important notes for async mode
|
|
@@ -232,7 +226,7 @@ cz-cli agent run "now show row counts" --async --format a2a --dangerously-skip-p
|
|
|
232
226
|
When the user specifies an environment or profile (e.g. "use uat_test", "on the test instance"):
|
|
233
227
|
|
|
234
228
|
```bash
|
|
235
|
-
cz-cli agent run "<request>" --profile uat_test --
|
|
229
|
+
cz-cli agent run "<request>" --profile uat_test --dangerously-skip-permissions
|
|
236
230
|
```
|
|
237
231
|
|
|
238
232
|
Available profiles: read `~/.clickzetta/profiles.toml` or run `cz-cli profile list`.
|