Module documents

Module documents 

Source
Expand description

Library-level document management for thoughts_tool.

This module provides reusable functions for writing and listing documents, and is used by both the MCP layer and other crates that depend on thoughts_tool.

Structs§

ActiveDocuments
Result of listing documents in the active work directory.
DocumentInfo
Metadata about a single document file.
WriteDocumentOk
Result of successfully writing a document.

Enums§

DocumentType
Document type categories for thoughts workspace.

Functions§

active_logs_dir
Get the path to the logs directory in the active work, ensuring it exists.
list_documents
List documents in the active work directory.
write_document
Write a document to the active work directory.