@raindrop-ai/claude-code 0.0.4 → 0.0.6
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 +20 -0
- package/dist/cli.js +713 -39
- package/dist/index.cjs +705 -26
- package/dist/index.d.cts +119 -2
- package/dist/index.d.ts +119 -2
- package/dist/index.js +690 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,11 +20,31 @@ This saves your write key and configures Claude Code hooks. Every session will n
|
|
|
20
20
|
|
|
21
21
|
- Every prompt turn as a separate event, grouped by session
|
|
22
22
|
- Tool calls with inputs, outputs, and real durations
|
|
23
|
+
- Token usage per turn and per session (input, output, cache read, cache creation)
|
|
24
|
+
- Model name, service tier, and stop reason
|
|
25
|
+
- CLAUDE.md and rules file contents
|
|
26
|
+
- `--append-system-prompt` / `--append-system-prompt-file` content (best-effort)
|
|
27
|
+
- Self-diagnostics — agent-reported issues via MCP tool, with customizable signal categories
|
|
23
28
|
- Subagent spawns and completions
|
|
24
29
|
- Permission denials and context compaction
|
|
25
30
|
- Nested trace view (tools under root, subagent tools under subagent)
|
|
26
31
|
- Claude's responses and errors
|
|
27
32
|
|
|
33
|
+
## Custom Self-Diagnostics Signals
|
|
34
|
+
|
|
35
|
+
Replace built-in signal categories with your own via config or env var:
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"self_diagnostics": {
|
|
40
|
+
"signals": {
|
|
41
|
+
"billing_complaint": { "description": "User billing issue.", "sentiment": "NEGATIVE" }
|
|
42
|
+
},
|
|
43
|
+
"guidance": "Only report billing if explicitly mentioned."
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
28
48
|
## Docs
|
|
29
49
|
|
|
30
50
|
Full documentation: [docs.raindrop.ai/sdk/claude-code](https://docs.raindrop.ai/sdk/claude-code)
|