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,3 +1,4 @@
//! Matrix bot context — shared state for the Matrix bot (rooms, history, permissions).
use crate::agents::AgentPool;
use crate::chat::timer::TimerStore;
use crate::chat::ChatTransport;
@@ -1,3 +1,4 @@
//! Matrix message formatting — Markdown-to-HTML conversion and startup announcements.
use pulldown_cmark::{Options, Parser, html};
/// Format the startup greeting the bot sends to each room when it comes online.
@@ -1,3 +1,4 @@
//! Matrix conversation history — per-room message history for LLM context.
use crate::slog;
use matrix_sdk::ruma::OwnedRoomId;
use serde::{Deserialize, Serialize};
@@ -1,3 +1,4 @@
//! Matrix mention detection — checks whether a message mentions the bot.
use matrix_sdk::ruma::events::room::message::{Relation, RoomMessageEventContentWithoutRelation};
use matrix_sdk::ruma::{OwnedEventId, OwnedUserId};
use std::collections::HashSet;
@@ -1,3 +1,4 @@
//! Matrix message handler — processes incoming room messages and dispatches commands.
use crate::chat::util::{drain_complete_paragraphs, is_permission_approval};
use crate::http::context::PermissionDecision;
use crate::llm::providers::claude_code::{ClaudeCodeProvider, ClaudeCodeResult};
@@ -1,3 +1,4 @@
//! Matrix bot — sub-modules for the Matrix chat bot implementation.
pub mod context;
pub mod format;
pub mod history;
@@ -1,3 +1,4 @@
//! Matrix bot run loop — connects to the homeserver and processes sync events.
use crate::agents::AgentPool;
use crate::slog;
use matrix_sdk::{Client, LoopCtrl, config::SyncSettings};
@@ -1,3 +1,4 @@
//! Matrix device verification — interactive emoji verification flow for E2EE.
use crate::slog;
use futures::StreamExt;
use matrix_sdk::Client;
@@ -1,3 +1,4 @@
//! Matrix transport configuration — deserialization of `bot.toml` Matrix settings.
use serde::Deserialize;
use std::path::Path;