<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>claudestream Documentation</title>
  <link href="https://smmh.dev/claudestream/feed.xml" rel="self"/>
  <link href="https://smmh.dev/claudestream/"/>
  <id>https://smmh.dev/claudestream/</id>
  <updated>2026-08-12T00:00:00Z</updated>
  <entry>
    <title>claudestream._agent</title>
    <link href="https://smmh.dev/claudestream/claudestream-_agent/"/>
    <id>https://smmh.dev/claudestream/claudestream-_agent/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream._async_session</title>
    <link href="https://smmh.dev/claudestream/claudestream-_async_session/"/>
    <id>https://smmh.dev/claudestream/claudestream-_async_session/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream._cli</title>
    <link href="https://smmh.dev/claudestream/claudestream-_cli/"/>
    <id>https://smmh.dev/claudestream/claudestream-_cli/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream._color</title>
    <link href="https://smmh.dev/claudestream/claudestream-_color/"/>
    <id>https://smmh.dev/claudestream/claudestream-_color/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream._options</title>
    <link href="https://smmh.dev/claudestream/claudestream-_options/"/>
    <id>https://smmh.dev/claudestream/claudestream-_options/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream._process</title>
    <link href="https://smmh.dev/claudestream/claudestream-_process/"/>
    <id>https://smmh.dev/claudestream/claudestream-_process/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream._protocol</title>
    <link href="https://smmh.dev/claudestream/claudestream-_protocol/"/>
    <id>https://smmh.dev/claudestream/claudestream-_protocol/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream._sync_session</title>
    <link href="https://smmh.dev/claudestream/claudestream-_sync_session/"/>
    <id>https://smmh.dev/claudestream/claudestream-_sync_session/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream._tools</title>
    <link href="https://smmh.dev/claudestream/claudestream-_tools/"/>
    <id>https://smmh.dev/claudestream/claudestream-_tools/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream.messages</title>
    <link href="https://smmh.dev/claudestream/claudestream-messages/"/>
    <id>https://smmh.dev/claudestream/claudestream-messages/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream.policy</title>
    <link href="https://smmh.dev/claudestream/claudestream-policy/"/>
    <id>https://smmh.dev/claudestream/claudestream-policy/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream agent</title>
    <link href="https://smmh.dev/claudestream/cli-agent/"/>
    <id>https://smmh.dev/claudestream/cli-agent/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen (strictcli), do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream ask</title>
    <link href="https://smmh.dev/claudestream/cli-ask/"/>
    <id>https://smmh.dev/claudestream/cli-ask/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen (strictcli), do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream config</title>
    <link href="https://smmh.dev/claudestream/cli-config/"/>
    <id>https://smmh.dev/claudestream/cli-config/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen (strictcli), do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream doctor</title>
    <link href="https://smmh.dev/claudestream/cli-doctor/"/>
    <id>https://smmh.dev/claudestream/cli-doctor/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen (strictcli), do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream events</title>
    <link href="https://smmh.dev/claudestream/cli-events/"/>
    <id>https://smmh.dev/claudestream/cli-events/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen (strictcli), do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream CLI Reference</title>
    <link href="https://smmh.dev/claudestream/cli-index/"/>
    <id>https://smmh.dev/claudestream/cli-index/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen (strictcli), do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream repl</title>
    <link href="https://smmh.dev/claudestream/cli-repl/"/>
    <id>https://smmh.dev/claudestream/cli-repl/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen (strictcli), do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream send</title>
    <link href="https://smmh.dev/claudestream/cli-send/"/>
    <id>https://smmh.dev/claudestream/cli-send/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen (strictcli), do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>claudestream stream</title>
    <link href="https://smmh.dev/claudestream/cli-stream/"/>
    <id>https://smmh.dev/claudestream/cli-stream/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen (strictcli), do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>API Reference</title>
    <link href="https://smmh.dev/claudestream/gen-index/"/>
    <id>https://smmh.dev/claudestream/gen-index/</id>
    <updated>2026-08-12T00:00:00Z</updated>
    <summary>&lt;!-- generated by selfdoc gen, do not edit --&gt;</summary>
  </entry>
  <entry>
    <title>Agent Definition Guide</title>
    <link href="https://smmh.dev/claudestream/agents-guide/"/>
    <id>https://smmh.dev/claudestream/agents-guide/</id>
    <updated>2026-07-29T00:00:00Z</updated>
    <summary>Agents are reusable, self-contained session configurations stored as `.agent.json` files. An agent definition bundles a model, system prompt template, tool schemas, sandbox policy, budget constraints, MCP configuration, and stream options into a single file that can be invoked by name from the CLI or programmatically.</summary>
  </entry>
  <entry>
    <title>claudestream.events</title>
    <link href="https://smmh.dev/claudestream/claudestream-events/"/>
    <id>https://smmh.dev/claudestream/claudestream-events/</id>
    <updated>2026-07-29T00:00:00Z</updated>
    <summary>| Event Type | Description | | --- | --- | | `SystemInit` | First event in the stream. Contains session metadata. | | `ApiRetry` | Emitted before retrying a failed API call. | | `CompactBoundary` | Emitted when conversation history is compacted. | | `AssistantMessage` | Complete assistant response with content blocks. | | `ToolResultMessage` | Tool execution results returned to the model. | | `AssistantText` | Single text block from an assistant message. | | `ToolUse` | Single tool call from an assistant message. | | `Thinking` | Single thinking block from an assistant message. | | `ToolResult` | Single tool result. | | `FileWrite` | Derived event emitted when a Write tool succeeds. Contains absolute path and content length. | | `FileEdit` | Derived event emitted when an Edit or MultiEdit tool succeeds. Contains absolute path. | | `StreamDelta` | Partial streaming token. Wraps a raw API streaming event. | | `Result` | Final event in a turn. Contains cost and usage summary. | | `BudgetThreshold` | Fired when a budget threshold is crossed. Informational only -- does not stop the session. | | `RateLimit` | Rate limit status change. | | `PermissionRequest` | Permission request from Claude Code. Surfaced when sandbox doesn't auto-resolve. | | `UserDialogRequest` | Blocking user dialog the CLI asks the host to render (e.g. AskUserQuestion). Always surfaced to the consumer; never auto-handled by the sandbox. | | `McpRequest` | MCP tool call request from Claude Code. | | `HookEvent` | Hook lifecycle event from Claude Code (emitted when include_hook_events is True). | | `UnknownEvent` | Forward-compatible event for unrecognized event types. | | `ControlResponse` | Response to a control request (e.g. initialize, mcp_set_servers). |</summary>
  </entry>
  <entry>
    <title>claudestream</title>
    <link href="https://smmh.dev/claudestream/claudestream/"/>
    <id>https://smmh.dev/claudestream/claudestream/</id>
    <updated>2026-07-29T00:00:00Z</updated>
    <summary>A Python library and CLI for streaming Claude Code's JSON protocol, providing typed events, async/sync sessions, and tool registration.</summary>
  </entry>
  <entry>
    <title>Architecture Guide</title>
    <link href="https://smmh.dev/claudestream/guide/"/>
    <id>https://smmh.dev/claudestream/guide/</id>
    <updated>2026-07-29T00:00:00Z</updated>
    <summary>claudestream wraps the Claude Code CLI's stream-json protocol in a four-layer Python SDK. Each layer adds structure on top of the one below it: Process spawns the subprocess, Protocol decodes its output, Session manages conversation state, and CLI exposes it all as shell commands.</summary>
  </entry>
  <entry>
    <title>claudestream</title>
    <link href="https://smmh.dev/claudestream/"/>
    <id>https://smmh.dev/claudestream/</id>
    <updated>2026-05-27T00:00:00Z</updated>
    <summary>A Python library and CLI for streaming Claude Code's JSON protocol.</summary>
  </entry>
</feed>
