huskies: merge 542_refactor_add_doc_comments_to_all_undocumented_source_files_and_generate_source_map_in_readme

This commit is contained in:
dave
2026-04-12 13:11:23 +00:00
parent 6b1737d52d
commit cec62dad1c
99 changed files with 377 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
//! LLM chat — orchestrates multi-turn conversations with tool-calling LLM providers.
use crate::slog;
use crate::io::onboarding;
use crate::llm::prompts::{ONBOARDING_PROMPT, SYSTEM_PROMPT};
+1
View File
@@ -1,3 +1,4 @@
//! LLM subsystem — chat orchestration, prompts, OAuth, and provider integrations.
pub mod chat;
pub mod oauth;
pub mod prompts;
+1
View File
@@ -1,3 +1,4 @@
//! Anthropic OAuth — token refresh and credential management for Claude API access.
use crate::slog;
use serde::{Deserialize, Serialize};
use std::path::PathBuf;
+1
View File
@@ -1,3 +1,4 @@
//! System prompts — static prompt templates for the LLM chat and onboarding flows.
pub const SYSTEM_PROMPT: &str = r#"You are an AI Agent with direct access to the user's filesystem and development environment.
CRITICAL INSTRUCTIONS:
+1
View File
@@ -1,3 +1,4 @@
//! Anthropic provider — streaming completion client for the Claude Messages API.
use crate::llm::types::{
CompletionResponse, FunctionCall, Message, Role, ToolCall, ToolDefinition,
};
+1
View File
@@ -1,3 +1,4 @@
//! Claude Code provider — runs Claude Code CLI in a PTY and parses structured output.
use crate::slog;
use portable_pty::{CommandBuilder, PtySize, native_pty_system};
use std::io::{BufRead, BufReader};
+1
View File
@@ -1,3 +1,4 @@
//! LLM providers — module declarations for Anthropic, Claude Code, and Ollama backends.
pub mod anthropic;
pub mod claude_code;
pub mod ollama;
+1
View File
@@ -1,3 +1,4 @@
//! Ollama provider — streaming completion client for locally-hosted Ollama models.
use crate::llm::types::{
CompletionResponse, FunctionCall, Message, ModelProvider, Role, ToolCall, ToolDefinition,
};
+1
View File
@@ -1,3 +1,4 @@
//! LLM types — `Message`, `Role`, `ToolCall`, `ModelProvider`, and related data structures.
use async_trait::async_trait;
use serde::{Deserialize, Serialize};
use std::fmt::Debug;