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§
- Active
Documents - Result of listing documents in the active work directory.
- Document
Info - Metadata about a single document file.
- Write
Document Ok - Result of successfully writing a document.
Enums§
- Document
Type - 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.