mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
feat: 移除 CLI 工具使用文档中的流式输出和缓存相关内容,简化说明
This commit is contained in:
@@ -27,7 +27,6 @@ Available CLI endpoints are dynamically defined by the config file:
|
||||
Bash({ command: "ccw cli -p '...' --tool gemini", run_in_background: true })
|
||||
```
|
||||
- **After CLI call**: Stop immediately - let CLI execute in background, do NOT poll with TaskOutput
|
||||
- **View output later**: Use `ccw cli output <id>` to view cached execution results
|
||||
|
||||
## Code Diagnostics
|
||||
|
||||
|
||||
@@ -183,34 +183,6 @@ ASSISTANT RESPONSE: [Previous output]
|
||||
|
||||
**Tool Behavior**: Codex uses native `codex resume`; Gemini/Qwen assembles context as single prompt
|
||||
|
||||
### Streaming vs Caching
|
||||
|
||||
**Default behavior**: Non-streaming with full output caching (can retrieve later via `output` subcommand)
|
||||
|
||||
```bash
|
||||
ccw cli -p "..." --tool gemini # Default: output cached, no streaming
|
||||
ccw cli -p "..." --tool gemini --stream # Streaming: real-time output, no caching
|
||||
```
|
||||
|
||||
| Mode | Flag | Output | Cached |
|
||||
|------|------|--------|--------|
|
||||
| Non-streaming (default) | (none) | After completion | ✅ Yes |
|
||||
| Streaming | `--stream` | Real-time | ❌ No |
|
||||
|
||||
### Output Viewing
|
||||
|
||||
View cached execution output with pagination:
|
||||
|
||||
```bash
|
||||
ccw cli output <execution-id> # View full output
|
||||
ccw cli output <id> --offset 0 --limit 10000 # Paginated view
|
||||
ccw cli output <id> --output-type stdout # Stdout only
|
||||
ccw cli output <id> --raw # Raw content (for piping)
|
||||
```
|
||||
|
||||
**Note**: `output` subcommand views execution results. `--cache` parameter injects context into prompt - different concepts.
|
||||
|
||||
---
|
||||
|
||||
## Prompt Template
|
||||
|
||||
|
||||
Reference in New Issue
Block a user