diff --git a/docs/type_registry/index.md b/docs/type_registry/index.md index 7a8521a4..bf9776a6 100644 --- a/docs/type_registry/index.md +++ b/docs/type_registry/index.md @@ -5,80 +5,84 @@ Generated by `scripts/generate_type_registry.py`. Re-run the script (or invoke ` ## Table of Contents +- [`src\ai_client.py`](src\ai_client.md) - [`src\api_hooks.py`](src\api_hooks.md) - [`src\beads_client.py`](src\beads_client.md) -- [`src\command_palette.py`](src\command_palette.md) -- [`src\diff_viewer.py`](src\diff_viewer.md) +- [`src\commands.py`](src\commands.md) +- [`src\external_editor.py`](src\external_editor.md) - [`src\history.py`](src\history.md) - [`src\hot_reloader.py`](src\hot_reloader.md) - [`src\log_registry.py`](src\log_registry.md) - [`src\markdown_table.py`](src\markdown_table.md) +- [`src\mcp_client.py`](src\mcp_client.md) - [`src\mcp_tool_specs.py`](src\mcp_tool_specs.md) -- [`src\models.py`](src\models.md) +- [`src\mma.py`](src\mma.md) - [`src\openai_schemas.py`](src\openai_schemas.md) - [`src\patch_modal.py`](src\patch_modal.md) - [`src\paths.py`](src\paths.md) +- [`src\personas.py`](src\personas.md) +- [`src\project.py`](src\project.md) +- [`src\project_files.py`](src\project_files.md) - [`src\provider_state.py`](src\provider_state.md) - [`src\rag_engine.py`](src\rag_engine.md) - [`src\result_types.py`](src\result_types.md) - [`src\startup_profiler.py`](src\startup_profiler.md) - [`src\theme_models.py`](src\theme_models.md) +- [`src\tool_bias.py`](src\tool_bias.md) +- [`src\tool_presets.py`](src\tool_presets.md) - [`src\type_aliases.py`](src\type_aliases.md) -- [`src\vendor_capabilities.py`](src\vendor_capabilities.md) -- [`src\vendor_state.py`](src\vendor_state.md) +- [`src\workspace_manager.py`](src\workspace_manager.md) ## Cross-Module Index (by type name) +- `VendorCapabilities` (dataclass) - [`src\ai_client.py`](src\ai_client.md#src\ai_client.py::VendorCapabilities) +- `VendorMetric` (dataclass) - [`src\ai_client.py`](src\ai_client.md#src\ai_client.py::VendorMetric) - `WebSocketMessage` (dataclass) - [`src\api_hooks.py`](src\api_hooks.md#src\api_hooks.py::WebSocketMessage) - `Bead` (dataclass) - [`src\beads_client.py`](src\beads_client.md#src\beads_client.py::Bead) -- `Command` (dataclass) - [`src\command_palette.py`](src\command_palette.md#src\command_palette.py::Command) -- `ScoredCommand` (dataclass) - [`src\command_palette.py`](src\command_palette.md#src\command_palette.py::ScoredCommand) -- `DiffHunk` (dataclass) - [`src\diff_viewer.py`](src\diff_viewer.md#src\diff_viewer.py::DiffHunk) -- `DiffFile` (dataclass) - [`src\diff_viewer.py`](src\diff_viewer.md#src\diff_viewer.py::DiffFile) +- `Command` (dataclass) - [`src\commands.py`](src\commands.md#src\commands.py::Command) +- `ScoredCommand` (dataclass) - [`src\commands.py`](src\commands.md#src\commands.py::ScoredCommand) +- `TextEditorConfig` (dataclass) - [`src\external_editor.py`](src\external_editor.md#src\external_editor.py::TextEditorConfig) +- `ExternalEditorConfig` (dataclass) - [`src\external_editor.py`](src\external_editor.md#src\external_editor.py::ExternalEditorConfig) - `UISnapshot` (dataclass) - [`src\history.py`](src\history.md#src\history.py::UISnapshot) - `HistoryEntry` (dataclass) - [`src\history.py`](src\history.md#src\history.py::HistoryEntry) - `HotModule` (dataclass) - [`src\hot_reloader.py`](src\hot_reloader.md#src\hot_reloader.py::HotModule) - `SessionMetadata` (dataclass) - [`src\log_registry.py`](src\log_registry.md#src\log_registry.py::SessionMetadata) - `Session` (dataclass) - [`src\log_registry.py`](src\log_registry.md#src\log_registry.py::Session) - `TableBlock` (dataclass) - [`src\markdown_table.py`](src\markdown_table.md#src\markdown_table.py::TableBlock) +- `MCPServerConfig` (dataclass) - [`src\mcp_client.py`](src\mcp_client.md#src\mcp_client.py::MCPServerConfig) +- `MCPConfiguration` (dataclass) - [`src\mcp_client.py`](src\mcp_client.md#src\mcp_client.py::MCPConfiguration) +- `VectorStoreConfig` (dataclass) - [`src\mcp_client.py`](src\mcp_client.md#src\mcp_client.py::VectorStoreConfig) +- `RAGConfig` (dataclass) - [`src\mcp_client.py`](src\mcp_client.md#src\mcp_client.py::RAGConfig) - `ToolParameter` (dataclass) - [`src\mcp_tool_specs.py`](src\mcp_tool_specs.md#src\mcp_tool_specs.py::ToolParameter) - `ToolSpec` (dataclass) - [`src\mcp_tool_specs.py`](src\mcp_tool_specs.md#src\mcp_tool_specs.py::ToolSpec) -- `ThinkingSegment` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ThinkingSegment) -- `Ticket` (dataclass) - [`src\models.py`](src\models.md#src\models.py::Ticket) -- `Track` (dataclass) - [`src\models.py`](src\models.md#src\models.py::Track) -- `WorkerContext` (dataclass) - [`src\models.py`](src\models.md#src\models.py::WorkerContext) -- `Metadata` (dataclass) - [`src\models.py`](src\models.md#src\models.py::Metadata) -- `TrackState` (dataclass) - [`src\models.py`](src\models.md#src\models.py::TrackState) -- `FileItem` (dataclass) - [`src\models.py`](src\models.md#src\models.py::FileItem) -- `Preset` (dataclass) - [`src\models.py`](src\models.md#src\models.py::Preset) -- `Tool` (dataclass) - [`src\models.py`](src\models.md#src\models.py::Tool) -- `ToolPreset` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ToolPreset) -- `BiasProfile` (dataclass) - [`src\models.py`](src\models.md#src\models.py::BiasProfile) -- `TextEditorConfig` (dataclass) - [`src\models.py`](src\models.md#src\models.py::TextEditorConfig) -- `ExternalEditorConfig` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ExternalEditorConfig) -- `Persona` (dataclass) - [`src\models.py`](src\models.md#src\models.py::Persona) -- `WorkspaceProfile` (dataclass) - [`src\models.py`](src\models.md#src\models.py::WorkspaceProfile) -- `ContextFileEntry` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ContextFileEntry) -- `NamedViewPreset` (dataclass) - [`src\models.py`](src\models.md#src\models.py::NamedViewPreset) -- `ContextPreset` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ContextPreset) -- `MCPServerConfig` (dataclass) - [`src\models.py`](src\models.md#src\models.py::MCPServerConfig) -- `MCPConfiguration` (dataclass) - [`src\models.py`](src\models.md#src\models.py::MCPConfiguration) -- `VectorStoreConfig` (dataclass) - [`src\models.py`](src\models.md#src\models.py::VectorStoreConfig) -- `RAGConfig` (dataclass) - [`src\models.py`](src\models.md#src\models.py::RAGConfig) -- `ProjectMeta` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ProjectMeta) -- `ProjectOutput` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ProjectOutput) -- `ProjectFiles` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ProjectFiles) -- `ProjectScreenshots` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ProjectScreenshots) -- `ProjectDiscussion` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ProjectDiscussion) -- `ProjectContext` (dataclass) - [`src\models.py`](src\models.md#src\models.py::ProjectContext) +- `ThinkingSegment` (dataclass) - [`src\mma.py`](src\mma.md#src\mma.py::ThinkingSegment) +- `Ticket` (dataclass) - [`src\mma.py`](src\mma.md#src\mma.py::Ticket) +- `Track` (dataclass) - [`src\mma.py`](src\mma.md#src\mma.py::Track) +- `WorkerContext` (dataclass) - [`src\mma.py`](src\mma.md#src\mma.py::WorkerContext) +- `TrackMetadata` (dataclass) - [`src\mma.py`](src\mma.md#src\mma.py::TrackMetadata) +- `TrackState` (dataclass) - [`src\mma.py`](src\mma.md#src\mma.py::TrackState) - `ToolCallFunction` (dataclass) - [`src\openai_schemas.py`](src\openai_schemas.md#src\openai_schemas.py::ToolCallFunction) - `ToolCall` (dataclass) - [`src\openai_schemas.py`](src\openai_schemas.md#src\openai_schemas.py::ToolCall) - `ChatMessage` (dataclass) - [`src\openai_schemas.py`](src\openai_schemas.md#src\openai_schemas.py::ChatMessage) - `UsageStats` (dataclass) - [`src\openai_schemas.py`](src\openai_schemas.md#src\openai_schemas.py::UsageStats) - `NormalizedResponse` (dataclass) - [`src\openai_schemas.py`](src\openai_schemas.md#src\openai_schemas.py::NormalizedResponse) - `OpenAICompatibleRequest` (dataclass) - [`src\openai_schemas.py`](src\openai_schemas.md#src\openai_schemas.py::OpenAICompatibleRequest) +- `DiffHunk` (dataclass) - [`src\patch_modal.py`](src\patch_modal.md#src\patch_modal.py::DiffHunk) +- `DiffFile` (dataclass) - [`src\patch_modal.py`](src\patch_modal.md#src\patch_modal.py::DiffFile) - `PendingPatch` (dataclass) - [`src\patch_modal.py`](src\patch_modal.md#src\patch_modal.py::PendingPatch) - `PathsConfig` (dataclass) - [`src\paths.py`](src\paths.md#src\paths.py::PathsConfig) +- `Persona` (dataclass) - [`src\personas.py`](src\personas.md#src\personas.py::Persona) +- `ProjectMeta` (dataclass) - [`src\project.py`](src\project.md#src\project.py::ProjectMeta) +- `ProjectOutput` (dataclass) - [`src\project.py`](src\project.md#src\project.py::ProjectOutput) +- `ProjectFiles` (dataclass) - [`src\project.py`](src\project.md#src\project.py::ProjectFiles) +- `ProjectScreenshots` (dataclass) - [`src\project.py`](src\project.md#src\project.py::ProjectScreenshots) +- `ProjectDiscussion` (dataclass) - [`src\project.py`](src\project.md#src\project.py::ProjectDiscussion) +- `ProjectContext` (dataclass) - [`src\project.py`](src\project.md#src\project.py::ProjectContext) +- `FileItem` (dataclass) - [`src\project_files.py`](src\project_files.md#src\project_files.py::FileItem) +- `Preset` (dataclass) - [`src\project_files.py`](src\project_files.md#src\project_files.py::Preset) +- `ContextFileEntry` (dataclass) - [`src\project_files.py`](src\project_files.md#src\project_files.py::ContextFileEntry) +- `NamedViewPreset` (dataclass) - [`src\project_files.py`](src\project_files.md#src\project_files.py::NamedViewPreset) +- `ContextPreset` (dataclass) - [`src\project_files.py`](src\project_files.md#src\project_files.py::ContextPreset) - `ProviderHistory` (dataclass) - [`src\provider_state.py`](src\provider_state.md#src\provider_state.py::ProviderHistory) - `RAGChunk` (dataclass) - [`src\rag_engine.py`](src\rag_engine.md#src\rag_engine.py::RAGChunk) - `ErrorInfo` (dataclass) - [`src\result_types.py`](src\result_types.md#src\result_types.py::ErrorInfo) @@ -89,6 +93,9 @@ Generated by `scripts/generate_type_registry.py`. Re-run the script (or invoke ` - `StartupProfiler` (dataclass) - [`src\startup_profiler.py`](src\startup_profiler.md#src\startup_profiler.py::StartupProfiler) - `ThemePalette` (dataclass) - [`src\theme_models.py`](src\theme_models.md#src\theme_models.py::ThemePalette) - `ThemeFile` (dataclass) - [`src\theme_models.py`](src\theme_models.md#src\theme_models.py::ThemeFile) +- `BiasProfile` (dataclass) - [`src\tool_bias.py`](src\tool_bias.md#src\tool_bias.py::BiasProfile) +- `Tool` (dataclass) - [`src\tool_presets.py`](src\tool_presets.md#src\tool_presets.py::Tool) +- `ToolPreset` (dataclass) - [`src\tool_presets.py`](src\tool_presets.md#src\tool_presets.py::ToolPreset) - `Metadata` (dataclass) - [`src\type_aliases.py`](src\type_aliases.md#src\type_aliases.py::Metadata) - `CommsLogEntry` (dataclass) - [`src\type_aliases.py`](src\type_aliases.md#src\type_aliases.py::CommsLogEntry) - `HistoryMessage` (dataclass) - [`src\type_aliases.py`](src\type_aliases.md#src\type_aliases.py::HistoryMessage) @@ -109,5 +116,4 @@ Generated by `scripts/generate_type_registry.py`. Re-run the script (or invoke ` - `CommsLogCallback` (TypeAlias) - [`src\type_aliases.py`](src\type_aliases.md#src\type_aliases.py::CommsLogCallback) - `JsonPrimitive` (TypeAlias) - [`src\type_aliases.py`](src\type_aliases.md#src\type_aliases.py::JsonPrimitive) - `JsonValue` (TypeAlias) - [`src\type_aliases.py`](src\type_aliases.md#src\type_aliases.py::JsonValue) -- `VendorCapabilities` (dataclass) - [`src\vendor_capabilities.py`](src\vendor_capabilities.md#src\vendor_capabilities.py::VendorCapabilities) -- `VendorMetric` (dataclass) - [`src\vendor_state.py`](src\vendor_state.md#src\vendor_state.py::VendorMetric) +- `WorkspaceProfile` (dataclass) - [`src\workspace_manager.py`](src\workspace_manager.md#src\workspace_manager.py::WorkspaceProfile) diff --git a/docs/type_registry/src_vendor_capabilities.md b/docs/type_registry/src_ai_client.md similarity index 62% rename from docs/type_registry/src_vendor_capabilities.md rename to docs/type_registry/src_ai_client.md index af6b05a8..158cdb75 100644 --- a/docs/type_registry/src_vendor_capabilities.md +++ b/docs/type_registry/src_ai_client.md @@ -1,11 +1,11 @@ -# Module: `src\vendor_capabilities.py` +# Module: `src\ai_client.py` -Auto-generated from source. 1 struct(s) defined in this module. +Auto-generated from source. 2 struct(s) defined in this module. -## `src\vendor_capabilities.py::VendorCapabilities` +## `src\ai_client.py::VendorCapabilities` **Kind:** `dataclass` -**Defined at:** line 5 +**Defined at:** line 223 **Fields:** - `vendor: str` @@ -33,3 +33,16 @@ Auto-generated from source. 1 struct(s) defined in this module. - `grounding: bool` - `computer_use: bool` + +## `src\ai_client.py::VendorMetric` + +**Kind:** `dataclass` +**Defined at:** line 315 + +**Fields:** +- `key: str` +- `label: str` +- `value: str` +- `state: str` +- `tooltip: str` + diff --git a/docs/type_registry/src_api_hooks.md b/docs/type_registry/src_api_hooks.md index c4aacbfc..7ee6944b 100644 --- a/docs/type_registry/src_api_hooks.md +++ b/docs/type_registry/src_api_hooks.md @@ -5,7 +5,7 @@ Auto-generated from source. 1 struct(s) defined in this module. ## `src\api_hooks.py::WebSocketMessage` **Kind:** `dataclass` -**Defined at:** line 21 +**Defined at:** line 62 **Fields:** - `channel: str` diff --git a/docs/type_registry/src_command_palette.md b/docs/type_registry/src_commands.md similarity index 67% rename from docs/type_registry/src_command_palette.md rename to docs/type_registry/src_commands.md index 1eaa476d..a5d3873c 100644 --- a/docs/type_registry/src_command_palette.md +++ b/docs/type_registry/src_commands.md @@ -1,11 +1,11 @@ -# Module: `src\command_palette.py` +# Module: `src\commands.py` Auto-generated from source. 2 struct(s) defined in this module. -## `src\command_palette.py::Command` +## `src\commands.py::Command` **Kind:** `dataclass` -**Defined at:** line 13 +**Defined at:** line 25 **Fields:** - `id: str` @@ -17,10 +17,10 @@ Auto-generated from source. 2 struct(s) defined in this module. - `action: Optional[Callable]` -## `src\command_palette.py::ScoredCommand` +## `src\commands.py::ScoredCommand` **Kind:** `dataclass` -**Defined at:** line 23 +**Defined at:** line 35 **Fields:** - `command: Command` diff --git a/docs/type_registry/src_diff_viewer.md b/docs/type_registry/src_diff_viewer.md deleted file mode 100644 index 1fe64a6d..00000000 --- a/docs/type_registry/src_diff_viewer.md +++ /dev/null @@ -1,28 +0,0 @@ -# Module: `src\diff_viewer.py` - -Auto-generated from source. 2 struct(s) defined in this module. - -## `src\diff_viewer.py::DiffFile` - -**Kind:** `dataclass` -**Defined at:** line 22 - -**Fields:** -- `old_path: str` -- `new_path: str` -- `hunks: List[DiffHunk]` - - -## `src\diff_viewer.py::DiffHunk` - -**Kind:** `dataclass` -**Defined at:** line 13 - -**Fields:** -- `header: str` -- `lines: List[str]` -- `old_start: int` -- `old_count: int` -- `new_start: int` -- `new_count: int` - diff --git a/docs/type_registry/src_external_editor.md b/docs/type_registry/src_external_editor.md new file mode 100644 index 00000000..b58b461b --- /dev/null +++ b/docs/type_registry/src_external_editor.md @@ -0,0 +1,24 @@ +# Module: `src\external_editor.py` + +Auto-generated from source. 2 struct(s) defined in this module. + +## `src\external_editor.py::ExternalEditorConfig` + +**Kind:** `dataclass` +**Defined at:** line 40 + +**Fields:** +- `editors: Dict[str, TextEditorConfig]` +- `default_editor: Optional[str]` + + +## `src\external_editor.py::TextEditorConfig` + +**Kind:** `dataclass` +**Defined at:** line 18 + +**Fields:** +- `name: str` +- `path: str` +- `diff_args: List[str]` + diff --git a/docs/type_registry/src_mcp_client.md b/docs/type_registry/src_mcp_client.md new file mode 100644 index 00000000..4c7a650e --- /dev/null +++ b/docs/type_registry/src_mcp_client.md @@ -0,0 +1,52 @@ +# Module: `src\mcp_client.py` + +Auto-generated from source. 4 struct(s) defined in this module. + +## `src\mcp_client.py::MCPConfiguration` + +**Kind:** `dataclass` +**Defined at:** line 112 + +**Fields:** +- `mcpServers: Dict[str, MCPServerConfig]` + + +## `src\mcp_client.py::MCPServerConfig` + +**Kind:** `dataclass` +**Defined at:** line 86 + +**Fields:** +- `name: str` +- `command: Optional[str]` +- `args: List[str]` +- `url: Optional[str]` +- `auto_start: bool` + + +## `src\mcp_client.py::RAGConfig` + +**Kind:** `dataclass` +**Defined at:** line 157 + +**Fields:** +- `enabled: bool` +- `vector_store: VectorStoreConfig` +- `embedding_provider: str` +- `chunk_size: int` +- `chunk_overlap: int` + + +## `src\mcp_client.py::VectorStoreConfig` + +**Kind:** `dataclass` +**Defined at:** line 126 + +**Fields:** +- `provider: str` +- `url: Optional[str]` +- `api_key: Optional[str]` +- `collection_name: str` +- `mcp_server: Optional[str]` +- `mcp_tool: Optional[str]` + diff --git a/docs/type_registry/src_mma.md b/docs/type_registry/src_mma.md new file mode 100644 index 00000000..884c8c44 --- /dev/null +++ b/docs/type_registry/src_mma.md @@ -0,0 +1,84 @@ +# Module: `src\mma.py` + +Auto-generated from source. 6 struct(s) defined in this module. + +## `src\mma.py::ThinkingSegment` + +**Kind:** `dataclass` +**Defined at:** line 23 + +**Fields:** +- `content: str` +- `marker: str` + + +## `src\mma.py::Ticket` + +**Kind:** `dataclass` +**Defined at:** line 36 + +**Fields:** +- `id: str` +- `description: str` +- `target_symbols: List[str]` +- `context_requirements: List[str]` +- `depends_on: List[str]` +- `status: str` +- `assigned_to: str` +- `priority: str` +- `target_file: Optional[str]` +- `blocked_reason: Optional[str]` +- `step_mode: bool` +- `retry_count: int` +- `manual_block: bool` +- `model_override: Optional[str]` +- `persona_id: Optional[str]` + + +## `src\mma.py::Track` + +**Kind:** `dataclass` +**Defined at:** line 112 + +**Fields:** +- `id: str` +- `description: str` +- `tickets: List['Ticket']` + + +## `src\mma.py::TrackMetadata` + +**Kind:** `dataclass` +**Defined at:** line 143 + +**Fields:** +- `id: str` +- `name: str` +- `status: Optional[str]` +- `created_at: Optional[datetime.datetime]` +- `updated_at: Optional[datetime.datetime]` + + +## `src\mma.py::TrackState` + +**Kind:** `dataclass` +**Defined at:** line 183 + +**Fields:** +- `metadata: Metadata` +- `discussion: List[Metadata]` +- `tasks: List['Ticket']` + + +## `src\mma.py::WorkerContext` + +**Kind:** `dataclass` +**Defined at:** line 134 + +**Fields:** +- `ticket_id: str` +- `model_name: str` +- `messages: list[Metadata]` +- `tool_preset: Optional[str]` +- `persona_id: Optional[str]` + diff --git a/docs/type_registry/src_models.md b/docs/type_registry/src_models.md deleted file mode 100644 index 039c2121..00000000 --- a/docs/type_registry/src_models.md +++ /dev/null @@ -1,346 +0,0 @@ -# Module: `src\models.py` - -Auto-generated from source. 28 struct(s) defined in this module. - -## `src\models.py::BiasProfile` - -**Kind:** `dataclass` -**Defined at:** line 666 - -**Fields:** -- `name: str` -- `tool_weights: Dict[str, int]` -- `category_multipliers: Dict[str, float]` - - -## `src\models.py::ContextFileEntry` - -**Kind:** `dataclass` -**Defined at:** line 881 - -**Fields:** -- `path: str` -- `view_mode: str` -- `custom_slices: list` -- `ast_mask: dict` -- `ast_signatures: bool` -- `ast_definitions: bool` - - -## `src\models.py::ContextPreset` - -**Kind:** `dataclass` -**Defined at:** line 935 - -**Fields:** -- `name: str` -- `files: list[ContextFileEntry]` -- `screenshots: list[str]` -- `description: str` - - -## `src\models.py::ExternalEditorConfig` - -**Kind:** `dataclass` -**Defined at:** line 722 - -**Fields:** -- `editors: Dict[str, TextEditorConfig]` -- `default_editor: Optional[str]` - - -## `src\models.py::FileItem` - -**Kind:** `dataclass` -**Defined at:** line 532 - -**Fields:** -- `path: str` -- `auto_aggregate: bool` -- `force_full: bool` -- `view_mode: str` -- `selected: bool` -- `ast_signatures: bool` -- `ast_definitions: bool` -- `ast_mask: dict[str, str]` -- `custom_slices: list[dict]` -- `injected_at: Optional[float]` - - -## `src\models.py::MCPConfiguration` - -**Kind:** `dataclass` -**Defined at:** line 1000 - -**Fields:** -- `mcpServers: Dict[str, MCPServerConfig]` - - -## `src\models.py::MCPServerConfig` - -**Kind:** `dataclass` -**Defined at:** line 967 - -**Fields:** -- `name: str` -- `command: Optional[str]` -- `args: List[str]` -- `url: Optional[str]` -- `auto_start: bool` - - -## `src\models.py::Metadata` - -**Kind:** `dataclass` -**Defined at:** line 429 - -**Fields:** -- `id: str` -- `name: str` -- `status: Optional[str]` -- `created_at: Optional[datetime.datetime]` -- `updated_at: Optional[datetime.datetime]` - - -## `src\models.py::NamedViewPreset` - -**Kind:** `dataclass` -**Defined at:** line 910 - -**Fields:** -- `name: str` -- `view_mode: str` -- `ast_mask: dict` -- `custom_slices: list` - - -## `src\models.py::Persona` - -**Kind:** `dataclass` -**Defined at:** line 763 - -**Fields:** -- `name: str` -- `preferred_models: list[Metadata]` -- `system_prompt: str` -- `tool_preset: Optional[str]` -- `bias_profile: Optional[str]` -- `context_preset: Optional[str]` -- `aggregation_strategy: Optional[str]` - - -## `src\models.py::Preset` - -**Kind:** `dataclass` -**Defined at:** line 591 - -**Fields:** -- `name: str` -- `system_prompt: str` - - -## `src\models.py::ProjectContext` - -**Kind:** `dataclass` -**Defined at:** line 1137 -**Summary:** Typed return type for project_manager.flat_config(). - -**Fields:** -- `project: ProjectMeta` -- `output: ProjectOutput` -- `files: ProjectFiles` -- `screenshots: ProjectScreenshots` -- `context_presets: Metadata` -- `discussion: ProjectDiscussion` - - -## `src\models.py::ProjectDiscussion` - -**Kind:** `dataclass` -**Defined at:** line 1131 - -**Fields:** -- `roles: tuple[str, ...]` -- `history: tuple[str, ...]` - - -## `src\models.py::ProjectFiles` - -**Kind:** `dataclass` -**Defined at:** line 1119 - -**Fields:** -- `base_dir: str` -- `paths: tuple[str, ...]` - - -## `src\models.py::ProjectMeta` - -**Kind:** `dataclass` -**Defined at:** line 1106 - -**Fields:** -- `name: str` -- `summary_only: bool` -- `execution_mode: str` - - -## `src\models.py::ProjectOutput` - -**Kind:** `dataclass` -**Defined at:** line 1113 - -**Fields:** -- `namespace: str` -- `output_dir: str` - - -## `src\models.py::ProjectScreenshots` - -**Kind:** `dataclass` -**Defined at:** line 1125 - -**Fields:** -- `base_dir: str` -- `paths: tuple[str, ...]` - - -## `src\models.py::RAGConfig` - -**Kind:** `dataclass` -**Defined at:** line 1055 - -**Fields:** -- `enabled: bool` -- `vector_store: VectorStoreConfig` -- `embedding_provider: str` -- `chunk_size: int` -- `chunk_overlap: int` - - -## `src\models.py::TextEditorConfig` - -**Kind:** `dataclass` -**Defined at:** line 695 - -**Fields:** -- `name: str` -- `path: str` -- `diff_args: List[str]` - - -## `src\models.py::ThinkingSegment` - -**Kind:** `dataclass` -**Defined at:** line 284 - -**Fields:** -- `content: str` -- `marker: str` - - -## `src\models.py::Ticket` - -**Kind:** `dataclass` -**Defined at:** line 302 - -**Fields:** -- `id: str` -- `description: str` -- `target_symbols: List[str]` -- `context_requirements: List[str]` -- `depends_on: List[str]` -- `status: str` -- `assigned_to: str` -- `priority: str` -- `target_file: Optional[str]` -- `blocked_reason: Optional[str]` -- `step_mode: bool` -- `retry_count: int` -- `manual_block: bool` -- `model_override: Optional[str]` -- `persona_id: Optional[str]` - - -## `src\models.py::Tool` - -**Kind:** `dataclass` -**Defined at:** line 611 - -**Fields:** -- `name: str` -- `approval: str` -- `weight: int` -- `parameter_bias: Dict[str, str]` - - -## `src\models.py::ToolPreset` - -**Kind:** `dataclass` -**Defined at:** line 641 - -**Fields:** -- `name: str` -- `categories: Dict[str, List[Union[Tool, Any]]]` - - -## `src\models.py::Track` - -**Kind:** `dataclass` -**Defined at:** line 396 - -**Fields:** -- `id: str` -- `description: str` -- `tickets: List[Ticket]` - - -## `src\models.py::TrackState` - -**Kind:** `dataclass` -**Defined at:** line 476 - -**Fields:** -- `metadata: Metadata` -- `discussion: List[str]` -- `tasks: List[Ticket]` - - -## `src\models.py::VectorStoreConfig` - -**Kind:** `dataclass` -**Defined at:** line 1019 - -**Fields:** -- `provider: str` -- `url: Optional[str]` -- `api_key: Optional[str]` -- `collection_name: str` -- `mcp_server: Optional[str]` -- `mcp_tool: Optional[str]` - - -## `src\models.py::WorkerContext` - -**Kind:** `dataclass` -**Defined at:** line 421 - -**Fields:** -- `ticket_id: str` -- `model_name: str` -- `messages: list[Metadata]` -- `tool_preset: Optional[str]` -- `persona_id: Optional[str]` - - -## `src\models.py::WorkspaceProfile` - -**Kind:** `dataclass` -**Defined at:** line 852 - -**Fields:** -- `name: str` -- `ini_content: str` -- `show_windows: Dict[str, bool]` -- `panel_states: Metadata` - diff --git a/docs/type_registry/src_patch_modal.md b/docs/type_registry/src_patch_modal.md index 38ab0bf5..3be33b4d 100644 --- a/docs/type_registry/src_patch_modal.md +++ b/docs/type_registry/src_patch_modal.md @@ -1,11 +1,36 @@ # Module: `src\patch_modal.py` -Auto-generated from source. 1 struct(s) defined in this module. +Auto-generated from source. 3 struct(s) defined in this module. + +## `src\patch_modal.py::DiffFile` + +**Kind:** `dataclass` +**Defined at:** line 15 + +**Fields:** +- `old_path: str` +- `new_path: str` +- `hunks: List[DiffHunk]` + + +## `src\patch_modal.py::DiffHunk` + +**Kind:** `dataclass` +**Defined at:** line 6 + +**Fields:** +- `header: str` +- `lines: List[str]` +- `old_start: int` +- `old_count: int` +- `new_start: int` +- `new_count: int` + ## `src\patch_modal.py::PendingPatch` **Kind:** `dataclass` -**Defined at:** line 6 +**Defined at:** line 21 **Fields:** - `patch_text: str` diff --git a/docs/type_registry/src_personas.md b/docs/type_registry/src_personas.md new file mode 100644 index 00000000..e60cda04 --- /dev/null +++ b/docs/type_registry/src_personas.md @@ -0,0 +1,18 @@ +# Module: `src\personas.py` + +Auto-generated from source. 1 struct(s) defined in this module. + +## `src\personas.py::Persona` + +**Kind:** `dataclass` +**Defined at:** line 21 + +**Fields:** +- `name: str` +- `preferred_models: list[Metadata]` +- `system_prompt: str` +- `tool_preset: Optional[str]` +- `bias_profile: Optional[str]` +- `context_preset: Optional[str]` +- `aggregation_strategy: Optional[str]` + diff --git a/docs/type_registry/src_project.md b/docs/type_registry/src_project.md new file mode 100644 index 00000000..722d12d5 --- /dev/null +++ b/docs/type_registry/src_project.md @@ -0,0 +1,69 @@ +# Module: `src\project.py` + +Auto-generated from source. 6 struct(s) defined in this module. + +## `src\project.py::ProjectContext` + +**Kind:** `dataclass` +**Defined at:** line 62 +**Summary:** Typed return type for project_manager.flat_config(). Replaces the dict[str, Any] that flat_config() returned. Per conductor/tracks/cruft_elimination_20260627/SPEC_CORRECTION_phase_2.md. + +**Fields:** +- `project: ProjectMeta` +- `output: ProjectOutput` +- `files: ProjectFiles` +- `screenshots: ProjectScreenshots` +- `context_presets: Metadata` +- `discussion: ProjectDiscussion` + + +## `src\project.py::ProjectDiscussion` + +**Kind:** `dataclass` +**Defined at:** line 56 + +**Fields:** +- `roles: tuple[str, ...]` +- `history: tuple[str, ...]` + + +## `src\project.py::ProjectFiles` + +**Kind:** `dataclass` +**Defined at:** line 44 + +**Fields:** +- `base_dir: str` +- `paths: tuple[str, ...]` + + +## `src\project.py::ProjectMeta` + +**Kind:** `dataclass` +**Defined at:** line 31 + +**Fields:** +- `name: str` +- `summary_only: bool` +- `execution_mode: str` + + +## `src\project.py::ProjectOutput` + +**Kind:** `dataclass` +**Defined at:** line 38 + +**Fields:** +- `namespace: str` +- `output_dir: str` + + +## `src\project.py::ProjectScreenshots` + +**Kind:** `dataclass` +**Defined at:** line 50 + +**Fields:** +- `base_dir: str` +- `paths: tuple[str, ...]` + diff --git a/docs/type_registry/src_project_files.md b/docs/type_registry/src_project_files.md new file mode 100644 index 00000000..1f823b56 --- /dev/null +++ b/docs/type_registry/src_project_files.md @@ -0,0 +1,69 @@ +# Module: `src\project_files.py` + +Auto-generated from source. 5 struct(s) defined in this module. + +## `src\project_files.py::ContextFileEntry` + +**Kind:** `dataclass` +**Defined at:** line 105 + +**Fields:** +- `path: str` +- `view_mode: str` +- `custom_slices: list` +- `ast_mask: dict` +- `ast_signatures: bool` +- `ast_definitions: bool` + + +## `src\project_files.py::ContextPreset` + +**Kind:** `dataclass` +**Defined at:** line 161 + +**Fields:** +- `name: str` +- `files: list[ContextFileEntry]` +- `screenshots: list[str]` +- `description: str` + + +## `src\project_files.py::FileItem` + +**Kind:** `dataclass` +**Defined at:** line 26 + +**Fields:** +- `path: str` +- `auto_aggregate: bool` +- `force_full: bool` +- `view_mode: str` +- `selected: bool` +- `ast_signatures: bool` +- `ast_definitions: bool` +- `ast_mask: dict[str, str]` +- `custom_slices: list[dict]` +- `injected_at: Optional[float]` + + +## `src\project_files.py::NamedViewPreset` + +**Kind:** `dataclass` +**Defined at:** line 135 + +**Fields:** +- `name: str` +- `view_mode: str` +- `ast_mask: dict` +- `custom_slices: list` + + +## `src\project_files.py::Preset` + +**Kind:** `dataclass` +**Defined at:** line 86 + +**Fields:** +- `name: str` +- `system_prompt: str` + diff --git a/docs/type_registry/src_rag_engine.md b/docs/type_registry/src_rag_engine.md index ac39943b..9190e8d3 100644 --- a/docs/type_registry/src_rag_engine.md +++ b/docs/type_registry/src_rag_engine.md @@ -5,7 +5,7 @@ Auto-generated from source. 1 struct(s) defined in this module. ## `src\rag_engine.py::RAGChunk` **Kind:** `dataclass` -**Defined at:** line 20 +**Defined at:** line 21 **Fields:** - `id: str` diff --git a/docs/type_registry/src_tool_bias.md b/docs/type_registry/src_tool_bias.md new file mode 100644 index 00000000..a228e82f --- /dev/null +++ b/docs/type_registry/src_tool_bias.md @@ -0,0 +1,14 @@ +# Module: `src\tool_bias.py` + +Auto-generated from source. 1 struct(s) defined in this module. + +## `src\tool_bias.py::BiasProfile` + +**Kind:** `dataclass` +**Defined at:** line 11 + +**Fields:** +- `name: str` +- `tool_weights: Dict[str, int]` +- `category_multipliers: Dict[str, float]` + diff --git a/docs/type_registry/src_tool_presets.md b/docs/type_registry/src_tool_presets.md new file mode 100644 index 00000000..0a6bb07a --- /dev/null +++ b/docs/type_registry/src_tool_presets.md @@ -0,0 +1,25 @@ +# Module: `src\tool_presets.py` + +Auto-generated from source. 2 struct(s) defined in this module. + +## `src\tool_presets.py::Tool` + +**Kind:** `dataclass` +**Defined at:** line 15 + +**Fields:** +- `name: str` +- `approval: str` +- `weight: int` +- `parameter_bias: Dict[str, str]` + + +## `src\tool_presets.py::ToolPreset` + +**Kind:** `dataclass` +**Defined at:** line 40 + +**Fields:** +- `name: str` +- `categories: Dict[str, List[Union[Tool, Any]]]` + diff --git a/docs/type_registry/src_type_aliases.md b/docs/type_registry/src_type_aliases.md index 416dd400..c59c13fd 100644 --- a/docs/type_registry/src_type_aliases.md +++ b/docs/type_registry/src_type_aliases.md @@ -62,7 +62,7 @@ Auto-generated from source. 20 struct(s) defined in this module. **Kind:** `TypeAlias` **Defined at:** line 149 -**Resolves to:** `'models.FileItem'` +**Resolves to:** `'FileItem'` **Used by:** `FileItems`, `FileItemsDiff` **Note:** `FileItem` is a semantic alias. The type registry is auto-generated from the source code. diff --git a/docs/type_registry/src_vendor_state.md b/docs/type_registry/src_vendor_state.md deleted file mode 100644 index 0bbba27e..00000000 --- a/docs/type_registry/src_vendor_state.md +++ /dev/null @@ -1,17 +0,0 @@ -# Module: `src\vendor_state.py` - -Auto-generated from source. 1 struct(s) defined in this module. - -## `src\vendor_state.py::VendorMetric` - -**Kind:** `dataclass` -**Defined at:** line 5 -**Summary:** Atomic vendor-state metric. - -**Fields:** -- `key: str` -- `label: str` -- `value: str` -- `state: str` -- `tooltip: str` - diff --git a/docs/type_registry/src_workspace_manager.md b/docs/type_registry/src_workspace_manager.md new file mode 100644 index 00000000..bd4f58da --- /dev/null +++ b/docs/type_registry/src_workspace_manager.md @@ -0,0 +1,15 @@ +# Module: `src\workspace_manager.py` + +Auto-generated from source. 1 struct(s) defined in this module. + +## `src\workspace_manager.py::WorkspaceProfile` + +**Kind:** `dataclass` +**Defined at:** line 13 + +**Fields:** +- `name: str` +- `ini_content: str` +- `show_windows: Dict[str, bool]` +- `panel_states: Metadata` + diff --git a/docs/type_registry/type_aliases.md b/docs/type_registry/type_aliases.md index 08da71e8..54b81595 100644 --- a/docs/type_registry/type_aliases.md +++ b/docs/type_registry/type_aliases.md @@ -25,7 +25,7 @@ Auto-generated from source. 8 struct(s) defined in this module. **Kind:** `TypeAlias` **Defined at:** line 149 -**Resolves to:** `'models.FileItem'` +**Resolves to:** `'FileItem'` **Used by:** `FileItems`, `FileItemsDiff` **Note:** `FileItem` is a semantic alias. The type registry is auto-generated from the source code.