Skip to content

Commit 90852c7

Browse files
author
catlog22
committed
feat: 移除 CLI 工具使用文档中的流式输出和缓存相关内容,简化说明
1 parent 3b842ed commit 90852c7

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

.claude/CLAUDE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Available CLI endpoints are dynamically defined by the config file:
2727
Bash({ command: "ccw cli -p '...' --tool gemini", run_in_background: true })
2828
```
2929
- **After CLI call**: Stop immediately - let CLI execute in background, do NOT poll with TaskOutput
30-
- **View output later**: Use `ccw cli output <id>` to view cached execution results
3130

3231
## Code Diagnostics
3332

.claude/workflows/cli-tools-usage.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -183,34 +183,6 @@ ASSISTANT RESPONSE: [Previous output]
183183

184184
**Tool Behavior**: Codex uses native `codex resume`; Gemini/Qwen assembles context as single prompt
185185

186-
### Streaming vs Caching
187-
188-
**Default behavior**: Non-streaming with full output caching (can retrieve later via `output` subcommand)
189-
190-
```bash
191-
ccw cli -p "..." --tool gemini # Default: output cached, no streaming
192-
ccw cli -p "..." --tool gemini --stream # Streaming: real-time output, no caching
193-
```
194-
195-
| Mode | Flag | Output | Cached |
196-
|------|------|--------|--------|
197-
| Non-streaming (default) | (none) | After completion | ✅ Yes |
198-
| Streaming | `--stream` | Real-time | ❌ No |
199-
200-
### Output Viewing
201-
202-
View cached execution output with pagination:
203-
204-
```bash
205-
ccw cli output <execution-id> # View full output
206-
ccw cli output <id> --offset 0 --limit 10000 # Paginated view
207-
ccw cli output <id> --output-type stdout # Stdout only
208-
ccw cli output <id> --raw # Raw content (for piping)
209-
```
210-
211-
**Note**: `output` subcommand views execution results. `--cache` parameter injects context into prompt - different concepts.
212-
213-
---
214186

215187
## Prompt Template
216188

0 commit comments

Comments
 (0)