Directories
ยถ
| Path | Synopsis |
|---|---|
|
Package api defines the public, wire-level JSON data transfer objects, enumerations, error types, and Server-Sent Event (SSE) envelopes exchanged between the TaskSmith Brain Daemon and stateless clients (TUI, CLI, and external integrations).
|
Package api defines the public, wire-level JSON data transfer objects, enumerations, error types, and Server-Sent Event (SSE) envelopes exchanged between the TaskSmith Brain Daemon and stateless clients (TUI, CLI, and external integrations). |
|
Package client provides a stateless HTTP and Server-Sent Events (SSE) client for communicating with the TaskSmith Brain Daemon over a Unix domain socket.
|
Package client provides a stateless HTTP and Server-Sent Events (SSE) client for communicating with the TaskSmith Brain Daemon over a Unix domain socket. |
|
cmd
|
|
|
tasksmith
command
|
|
|
internal
|
|
|
acp
Package acp drives daemon sessions over the Agent Client Protocol on stdio.
|
Package acp drives daemon sessions over the Agent Client Protocol on stdio. |
|
cli
Package cli provides the interactive inline CLI terminal application.
|
Package cli provides the interactive inline CLI terminal application. |
|
cli/command
Package command implements the REPL slash command system for the TaskSmith CLI.
|
Package command implements the REPL slash command system for the TaskSmith CLI. |
|
cli/components
Package components provides UI components for the repl terminal interface.
|
Package components provides UI components for the repl terminal interface. |
|
cli/store
Package store manages global application UI state for the REPL using kites.
|
Package store manages global application UI state for the REPL using kites. |
|
cmd
Package cmd implements TaskSmith's command-line interface and commands built on github.com/spf13/cobra.
|
Package cmd implements TaskSmith's command-line interface and commands built on github.com/spf13/cobra. |
|
core/diff
Package diff implements line-based text differencing, unified diff formatting, and line change statistics for TaskSmith.
|
Package diff implements line-based text differencing, unified diff formatting, and line change statistics for TaskSmith. |
|
core/env
Package env provides pure, daemon-safe .env file parsing, merging, and atomic file updating into isolated in-memory maps.
|
Package env provides pure, daemon-safe .env file parsing, merging, and atomic file updating into isolated in-memory maps. |
|
core/fsutils
Package fsutils provides filesystem path cleaning and normalization utilities.
|
Package fsutils provides filesystem path cleaning and normalization utilities. |
|
core/guard
Package guard defines the foundational action classification, safety level, and protected workspace directory primitives shared across shellguard and tools.
|
Package guard defines the foundational action classification, safety level, and protected workspace directory primitives shared across shellguard and tools. |
|
core/hash
Package hash provides dependency-light cryptographic digest helpers shared across daemon and client packages.
|
Package hash provides dependency-light cryptographic digest helpers shared across daemon and client packages. |
|
core/log
Package log provides structured JSON Lines (JSONL) logging and size-based log file rotation for TaskSmith.
|
Package log provides structured JSON Lines (JSONL) logging and size-based log file rotation for TaskSmith. |
|
core/memdb
Package memdb provides a generic, concurrency-safe, copy-on-write in-memory store following the point-in-time snapshot pattern.
|
Package memdb provides a generic, concurrency-safe, copy-on-write in-memory store following the point-in-time snapshot pattern. |
|
core/mime
Package mime provides dependency-light magic-byte MIME sniffing and canonicalization for supported image, PDF, and audio media formats.
|
Package mime provides dependency-light magic-byte MIME sniffing and canonicalization for supported image, PDF, and audio media formats. |
|
core/ptr
Package ptr provides generic pointer utility functions.
|
Package ptr provides generic pointer utility functions. |
|
core/shellguard
Package shellguard provides static AST-based security analysis and command classification for shell execution in TaskSmith.
|
Package shellguard provides static AST-based security analysis and command classification for shell execution in TaskSmith. |
|
core/sqlite
Package sqlite provides a standardized SQLite connection opener and a scoped, version-tracked schema migration runner built on modernc.org/sqlite.
|
Package sqlite provides a standardized SQLite connection opener and a scoped, version-tracked schema migration runner built on modernc.org/sqlite. |
|
core/sys
Package sys provides low-level operating system helpers including file locks and Unix domain socket listeners.
|
Package sys provides low-level operating system helpers including file locks and Unix domain socket listeners. |
|
core/tokenizer
Package tokenizer provides lightweight, code-calibrated token estimation for TaskSmith.
|
Package tokenizer provides lightweight, code-calibrated token estimation for TaskSmith. |
|
core/uuid
Package uuid provides a simple wrapper around the github.com/google/uuid package to generate UUIDs.
|
Package uuid provides a simple wrapper around the github.com/google/uuid package to generate UUIDs. |
|
core/vcs
Package vcs provides Git repository topology inspection and worktree, branch, diff, and status operations for TaskSmith workspaces.
|
Package vcs provides Git repository topology inspection and worktree, branch, diff, and status operations for TaskSmith workspaces. |
|
core/web
Package web provides pure HTML search result parsing, URL normalization, domain filtering, and fetched content formatting (HTML-to-Markdown, HTML-to-Text, and JSON/XML pretty-printing) helpers.
|
Package web provides pure HTML search result parsing, URL normalization, domain filtering, and fetched content formatting (HTML-to-Markdown, HTML-to-Text, and JSON/XML pretty-printing) helpers. |
|
core/xdg
Package xdg provides Neovim-inspired XDG Base Directory path resolution for TaskSmith.
|
Package xdg provides Neovim-inspired XDG Base Directory path resolution for TaskSmith. |
|
daemon
Package daemon implements the TaskSmith Brain Daemon server, providing a single-instance background runtime over a Unix domain socket with HTTP/JSON endpoints and real-time Server-Sent Events (SSE).
|
Package daemon implements the TaskSmith Brain Daemon server, providing a single-instance background runtime over a Unix domain socket with HTTP/JSON endpoints and real-time Server-Sent Events (SSE). |
|
daemon/broker
Package broker routes events to the subscribers that asked for them.
|
Package broker routes events to the subscribers that asked for them. |
|
daemon/gateway
Package gateway manages model provider lifecycles and instantiates client interfaces for LLM completions, probabilistic decision models, and dense vector embeddings.
|
Package gateway manages model provider lifecycles and instantiates client interfaces for LLM completions, probabilistic decision models, and dense vector embeddings. |
|
daemon/gateway/auth
Package auth resolves provider credentials and manages authentication transports and OAuth sessions for the TaskSmith gateway.
|
Package auth resolves provider credentials and manages authentication transports and OAuth sessions for the TaskSmith gateway. |
|
daemon/gateway/providers
Package providers contains upstream-specific client adapters for the TaskSmith gateway.
|
Package providers contains upstream-specific client adapters for the TaskSmith gateway. |
|
daemon/harness
Package harness orchestrates conversational and tool-augmented agent execution over a compiled github.com/masterkeysrd/loom/graph.Graph with durable SQLite-backed conversation state and permission checkpointing.
|
Package harness orchestrates conversational and tool-augmented agent execution over a compiled github.com/masterkeysrd/loom/graph.Graph with durable SQLite-backed conversation state and permission checkpointing. |
|
daemon/journal
Package journal tracks per-session file reads and persists file change metadata in SQLite paired with content-addressable snapshots in the session's blobs directory, enabling on-demand diff generation, point-in-time recovery, and conflict-aware 3-way baseline reversion.
|
Package journal tracks per-session file reads and persists file change metadata in SQLite paired with content-addressable snapshots in the session's blobs directory, enabling on-demand diff generation, point-in-time recovery, and conflict-aware 3-way baseline reversion. |
|
daemon/mcp
Package mcp owns the live lifecycle of the MCP servers a workspace declares.
|
Package mcp owns the live lifecycle of the MCP servers a workspace declares. |
|
daemon/media
Package media implements content-addressed storage, magic-byte format detection, per-modality size limits, and lightweight message-block descriptors for multimodal inputs (images, PDFs, and audio).
|
Package media implements content-addressed storage, magic-byte format detection, per-modality size limits, and lightweight message-block descriptors for multimodal inputs (images, PDFs, and audio). |
|
daemon/metrics
Package metrics provides an asynchronous, SQLite-backed system for recording and querying operational measurements across LLM calls, tool executions, and file changes, and for aggregating them into per-session and cross-session usage summaries.
|
Package metrics provides an asynchronous, SQLite-backed system for recording and querying operational measurements across LLM calls, tool executions, and file changes, and for aggregating them into per-session and cross-session usage summaries. |
|
daemon/models
Package models provides a single, effective description of a model within a workspace.
|
Package models provides a single, effective description of a model within a workspace. |
|
daemon/permissions
Package permissions implements the daemon's permission gate: it evaluates planned tool invocations against workspace policies, the active permission mode, safety classifications, and allow/deny rules, minting a github.com/masterkeysrd/tasksmith/api.PermissionRequest whenever a human decision is required.
|
Package permissions implements the daemon's permission gate: it evaluates planned tool invocations against workspace policies, the active permission mode, safety classifications, and allow/deny rules, minting a github.com/masterkeysrd/tasksmith/api.PermissionRequest whenever a human decision is required. |
|
daemon/permreview
Package permreview hosts the daemon-owned Permission Review Service: a calibrated, one-shot decision-model reviewer that evaluates risky permission cards in auto mode before the human is interrupted.
|
Package permreview hosts the daemon-owned Permission Review Service: a calibrated, one-shot decision-model reviewer that evaluates risky permission cards in auto mode before the human is interrupted. |
|
daemon/sandbox
Package sandbox provides an OS-level virtualized execution environment with strict confinement across three foundational capabilities: Filesystem (FS), Process execution (Proc), and Network access (Net).
|
Package sandbox provides an OS-level virtualized execution environment with strict confinement across three foundational capabilities: Filesystem (FS), Process execution (Proc), and Network access (Net). |
|
daemon/sandboxcfg
Package sandboxcfg persists and merges the user-facing sandbox.json configuration layer that decides *what* the kernel boundary allows once a process runs (mode, availability locks, unsandboxed escape hatches, and filesystem/network overrides).
|
Package sandboxcfg persists and merges the user-facing sandbox.json configuration layer that decides *what* the kernel boundary allows once a process runs (mode, availability locks, unsandboxed escape hatches, and filesystem/network overrides). |
|
daemon/scope
Package scope carries session-, turn-, and tool-scoped metadata through context.Context so that subsystems (journal, metrics, sandbox, and others) can attribute their work without explicit parameter passing.
|
Package scope carries session-, turn-, and tool-scoped metadata through context.Context so that subsystems (journal, metrics, sandbox, and others) can attribute their work without explicit parameter passing. |
|
daemon/server
Package server implements the HTTP server layer for the TaskSmith Brain Daemon, providing pluggable modular routers, Server-Sent Events (SSE) streaming, and REST routes that serve the daemon to its clients.
|
Package server implements the HTTP server layer for the TaskSmith Brain Daemon, providing pluggable modular routers, Server-Sent Events (SSE) streaming, and REST routes that serve the daemon to its clients. |
|
daemon/session
Package session manages user-facing chat threads, session metadata, persistent per-session file change journals, per-session tool containers and permission gates, and the chronological session timeline stored in SQLite, resolving workspace agents, system prompts, and language models per session and executing conversational turns through github.com/masterkeysrd/tasksmith/internal/daemon/harness.Harness.
|
Package session manages user-facing chat threads, session metadata, persistent per-session file change journals, per-session tool containers and permission gates, and the chronological session timeline stored in SQLite, resolving workspace agents, system prompts, and language models per session and executing conversational turns through github.com/masterkeysrd/tasksmith/internal/daemon/harness.Harness. |
|
daemon/std
Package std provides TaskSmith's Standard Operations Library for executing filesystem, process, and network operations strictly within an isolated sandbox.Sandbox.
|
Package std provides TaskSmith's Standard Operations Library for executing filesystem, process, and network operations strictly within an isolated sandbox.Sandbox. |
|
daemon/tasks
Package tasks provides the daemon's background task management and execution, used to run workloads (notably the `bash` tool) that may outlive the synchronous wait window of a single tool call.
|
Package tasks provides the daemon's background task management and execution, used to run workloads (notably the `bash` tool) that may outlive the synchronous wait window of a single tool call. |
|
daemon/timeline
Package timeline manages the persistent, append-only chronological log of session events (messages, model/effort/agent/mode transitions, and permission resolutions) stored in the timeline SQLite table, ordered by UUIDv7 id ASC.
|
Package timeline manages the persistent, append-only chronological log of session events (messages, model/effort/agent/mode transitions, and permission resolutions) stored in the timeline SQLite table, ordered by UUIDv7 id ASC. |
|
daemon/tools
Package tools provides TaskSmith's generic tool execution container, typed tool specification builder, custom workspace command tool adapter, and session permission and policy evaluation gate.
|
Package tools provides TaskSmith's generic tool execution container, typed tool specification builder, custom workspace command tool adapter, and session permission and policy evaluation gate. |
|
daemon/tools/builtin
Package builtin provides the embedded WARP tool manifests (*.tool.md), generated tool-name constants, and standard library adapters for Tasksmith's built-in system tools (view, ls, glob, grep, write, edit, remove, bash, web_fetch, and download).
|
Package builtin provides the embedded WARP tool manifests (*.tool.md), generated tool-name constants, and standard library adapters for Tasksmith's built-in system tools (view, ls, glob, grep, write, edit, remove, bash, web_fetch, and download). |
|
daemon/workspace
Package workspace manages the discovery, loading, resolution, and rendering of declarative TaskSmith workspace configurations and resources.
|
Package workspace manages the discovery, loading, resolution, and rendering of declarative TaskSmith workspace configurations and resources. |
|
exec
Package exec implements headless, scriptable TaskSmith runs: the one-shot engine behind `tasksmith exec` and the root `-p/--print` shorthand.
|
Package exec implements headless, scriptable TaskSmith runs: the one-shot engine behind `tasksmith exec` and the root `-p/--print` shorthand. |
|
tui/testutils
Package testutils renders TaskSmith's terminal UI inside tests.
|
Package testutils renders TaskSmith's terminal UI inside tests. |
|
ui/autocomplete
Package autocomplete provides a headless, source-driven completion engine for terminal UIs.
|
Package autocomplete provides a headless, source-driven completion engine for terminal UIs. |
|
ui/clipboard
Package clipboard provides helpers for resolving pasted images and dropped local image paths from kite clipboard events in the TaskSmith terminal UI.
|
Package clipboard provides helpers for resolving pasted images and dropped local image paths from kite clipboard events in the TaskSmith terminal UI. |
|
ui/format
Package format provides human-readable string formatting helpers for the TaskSmith terminal UI.
|
Package format provides human-readable string formatting helpers for the TaskSmith terminal UI. |
|
tools
|
|
|
toolgen
command
Command toolgen generates strongly typed Go input/output structs and tool name constants from WARP *.tool.md manifests.
|
Command toolgen generates strongly typed Go input/output structs and tool name constants from WARP *.tool.md manifests. |
Click to show internal directories.
Click to hide internal directories.