docs(type_registry): regenerate for Phase 1-5 new modules
Auto-generated by scripts/generate_type_registry.py after the Phase 2 + 4 + 5 commits. These were untracked in the working tree because commit4a774eb3was made before Phase 5 (api_hooks) committed. NEW files (5): - docs/type_registry/src_mcp_tool_specs.md (Phase 1; ToolSpec + ToolParameter) - docs/type_registry/src_openai_schemas.md (Phase 2; ToolCall + ChatMessage + UsageStats + NormalizedResponse + OpenAICompatibleRequest) - docs/type_registry/src_provider_state.md (Phase 3 partial; ProviderHistory + _PROVIDER_HISTORIES) - docs/type_registry/src_api_hooks.md (Phase 5; WebSocketMessage) - docs/type_registry/src_log_registry.md (Phase 4; Session + SessionMetadata) Verified: uv run python scripts/generate_type_registry.py --check Registry in sync (22 files checked) These 5 .md files were generated after the Phase 5 commit (e9fa69dd) and the Phase 4 commit (fef6c20e); they were left in the working tree because commit4a774eb3(verify) was made after the Phase 2 registry regen but before Phase 4/5 changes were fully committed.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Module: `src\api_hooks.py`
|
||||
|
||||
Auto-generated from source. 1 struct(s) defined in this module.
|
||||
|
||||
## `src\api_hooks.py::WebSocketMessage`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 21
|
||||
|
||||
**Fields:**
|
||||
- `channel: str`
|
||||
- `payload: JsonValue`
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# Module: `src\log_registry.py`
|
||||
|
||||
Auto-generated from source. 2 struct(s) defined in this module.
|
||||
|
||||
## `src\log_registry.py::Session`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 74
|
||||
|
||||
**Fields:**
|
||||
- `session_id: str`
|
||||
- `path: str`
|
||||
- `start_time: str`
|
||||
- `whitelisted: bool`
|
||||
- `metadata: Optional[SessionMetadata]`
|
||||
|
||||
|
||||
## `src\log_registry.py::SessionMetadata`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 54
|
||||
|
||||
**Fields:**
|
||||
- `message_count: int`
|
||||
- `errors: int`
|
||||
- `size_kb: int`
|
||||
- `whitelisted: bool`
|
||||
- `reason: str`
|
||||
- `timestamp: Optional[str]`
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# Module: `src\mcp_tool_specs.py`
|
||||
|
||||
Auto-generated from source. 2 struct(s) defined in this module.
|
||||
|
||||
## `src\mcp_tool_specs.py::ToolParameter`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 26
|
||||
|
||||
**Fields:**
|
||||
- `name: str`
|
||||
- `type: str`
|
||||
- `description: str`
|
||||
- `required: bool`
|
||||
- `enum: tuple[str, ...] | None`
|
||||
|
||||
|
||||
## `src\mcp_tool_specs.py::ToolSpec`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 41
|
||||
|
||||
**Fields:**
|
||||
- `name: str`
|
||||
- `description: str`
|
||||
- `parameters: tuple[ToolParameter, ...]`
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
# Module: `src\openai_schemas.py`
|
||||
|
||||
Auto-generated from source. 6 struct(s) defined in this module.
|
||||
|
||||
## `src\openai_schemas.py::ChatMessage`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 47
|
||||
|
||||
**Fields:**
|
||||
- `role: str`
|
||||
- `content: str`
|
||||
- `tool_calls: Optional[tuple[ToolCall, ...]]`
|
||||
- `tool_call_id: Optional[str]`
|
||||
- `name: Optional[str]`
|
||||
|
||||
|
||||
## `src\openai_schemas.py::NormalizedResponse`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 74
|
||||
|
||||
**Fields:**
|
||||
- `text: str`
|
||||
- `tool_calls: tuple[ToolCall, ...]`
|
||||
- `usage: UsageStats`
|
||||
- `raw_response: Any`
|
||||
|
||||
|
||||
## `src\openai_schemas.py::OpenAICompatibleRequest`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 95
|
||||
|
||||
**Fields:**
|
||||
- `messages: list[ChatMessage]`
|
||||
- `model: str`
|
||||
- `temperature: float`
|
||||
- `top_p: float`
|
||||
- `max_tokens: int`
|
||||
- `tools: Optional[list[dict[str, Any]]]`
|
||||
- `tool_choice: str`
|
||||
- `stream: bool`
|
||||
- `stream_callback: Optional[Callable[[str], None]]`
|
||||
- `extra_body: Optional[dict[str, Any]]`
|
||||
|
||||
|
||||
## `src\openai_schemas.py::ToolCall`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 30
|
||||
|
||||
**Fields:**
|
||||
- `id: str`
|
||||
- `function: ToolCallFunction`
|
||||
- `type: str`
|
||||
|
||||
|
||||
## `src\openai_schemas.py::ToolCallFunction`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 24
|
||||
|
||||
**Fields:**
|
||||
- `name: str`
|
||||
- `arguments: str`
|
||||
|
||||
|
||||
## `src\openai_schemas.py::UsageStats`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 66
|
||||
|
||||
**Fields:**
|
||||
- `input_tokens: int`
|
||||
- `output_tokens: int`
|
||||
- `cache_read_tokens: int`
|
||||
- `cache_creation_tokens: int`
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
# Module: `src\provider_state.py`
|
||||
|
||||
Auto-generated from source. 1 struct(s) defined in this module.
|
||||
|
||||
## `src\provider_state.py::ProviderHistory`
|
||||
|
||||
**Kind:** `dataclass`
|
||||
**Defined at:** line 26
|
||||
|
||||
**Fields:**
|
||||
- `messages: list[HistoryMessage]`
|
||||
- `lock: threading.Lock`
|
||||
|
||||
Reference in New Issue
Block a user