internal/

directory
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: MIT

Directories

Path Synopsis
Package agent provides types and utilities for parsing and managing AI agent state.
Package agent provides types and utilities for parsing and managing AI agent state.
ollama
Package ollama provides an adapter for communicating with local Ollama instances.
Package ollama provides an adapter for communicating with local Ollama instances.
Package agentmail provides a Go HTTP client for the MCP Agent Mail API.
Package agentmail provides a Go HTTP client for the MCP Agent Mail API.
Package agents provides agent capability profiles and matching for work distribution.
Package agents provides agent capability profiles and matching for work distribution.
Package alerts provides compaction-related alerts for context window management.
Package alerts provides compaction-related alerts for context window management.
Package approval provides a unified approval workflow engine for NTM.
Package approval provides a unified approval workflow engine for NTM.
Package archive provides background archiving of agent output for CASS indexing.
Package archive provides background archiving of agent output for CASS indexing.
Package assign implements intelligent work assignment for multi-agent workflows.
Package assign implements intelligent work assignment for multi-agent workflows.
Package assignment provides assignment tracking for bead-to-agent mappings.
Package assignment provides assignment tracking for bead-to-agent mappings.
Package bundle provides support bundle generation and manifest handling.
Package bundle provides support bundle generation and manifest handling.
Package bv provides integration with the beads_viewer (bv) tool.
Package bv provides integration with the beads_viewer (bv) tool.
Package cass provides CASS integration including context injection.
Package cass provides CASS integration including context injection.
Package checkpoint provides scrollback capture with compression for checkpoints.
Package checkpoint provides scrollback capture with compression for checkpoints.
cli
Package cli provides command-line interface commands for ntm.
Package cli provides command-line interface commands for ntm.
tiers
Package tiers provides command tier taxonomy for progressive CLI discovery.
Package tiers provides command tier taxonomy for progressive CLI discovery.
Package codeblock provides markdown code block parsing and extraction.
Package codeblock provides markdown code block parsing and extraction.
Package completion provides detection for when agents complete their assigned work.
Package completion provides detection for when agents complete their assigned work.
Package config provides scanner configuration types and loading.
Package config provides scanner configuration types and loading.
Package context provides context window monitoring for AI agent orchestration.
Package context provides context window monitoring for AI agent orchestration.
Package coordinator implements active session coordination for multi-agent workflows.
Package coordinator implements active session coordination for multi-agent workflows.
Package cost provides API cost tracking for AI agent sessions.
Package cost provides API cost tracking for AI agent sessions.
Package ensemble provides checkpoint storage for partial synthesis recovery.
Package ensemble provides checkpoint storage for partial synthesis recovery.
Package events provides an event logging framework for NTM session analytics.
Package events provides an event logging framework for NTM session analytics.
Package export provides functionality for exporting timeline visualizations to static image formats like SVG and PNG.
Package export provides functionality for exporting timeline visualizations to static image formats like SVG and PNG.
Package gemini provides Gemini CLI-specific functionality for NTM.
Package gemini provides Gemini CLI-specific functionality for NTM.
Package git provides git worktree isolation services for multi-agent coordination.
Package git provides git worktree isolation services for multi-agent coordination.
Package handoff provides the canonical YAML handoff format for context preservation.
Package handoff provides the canonical YAML handoff format for context preservation.
Package health provides agent health checking and status detection.
Package health provides agent health checking and status detection.
Package history provides prompt history storage and retrieval.
Package history provides prompt history storage and retrieval.
Config provides configuration loading for ntm command hooks.
Config provides configuration loading for ntm command hooks.
Package integrations provides coordination between external tool integrations.
Package integrations provides coordination between external tool integrations.
caut
Package caut provides integration with the caut (Cloud API Usage Tracker) tool.
Package caut provides integration with the caut (Cloud API Usage Tracker) tool.
dcg
Package dcg provides integration with the Destructive Command Guard (DCG) tool, including audit logging for blocked commands.
Package dcg provides integration with the Destructive Command Guard (DCG) tool, including audit logging for blocked commands.
pt
Package pt provides integration with process_triage (pt) for Bayesian agent health monitoring.
Package pt provides integration with process_triage (pt) for Bayesian agent health monitoring.
rano
Package rano provides integration with the rano network observer for per-agent API tracking.
Package rano provides integration with the rano network observer for per-agent API tracking.
Package invariants defines and enforces the 6 non-negotiable design invariants that must ALWAYS hold across all NTM features.
Package invariants defines and enforces the 6 non-negotiable design invariants that must ALWAYS hold across all NTM features.
Package lint provides prompt validation rules for the preflight system.
Package lint provides prompt validation rules for the preflight system.
Package metrics provides success metrics tracking for NTM orchestration.
Package metrics provides success metrics tracking for NTM orchestration.
Package notify provides notification support for NTM events.
Package notify provides notification support for NTM events.
Package output provides unified output formatting for text and JSON output.
Package output provides unified output formatting for text and JSON output.
Package persona provides configuration and management for AI agent personas.
Package persona provides configuration and management for AI agent personas.
Package pipeline provides workflow execution for AI agent orchestration.
Package pipeline provides workflow execution for AI agent orchestration.
Package policy provides destructive command protection through pattern matching.
Package policy provides destructive command protection through pattern matching.
Package privacy provides privacy mode enforcement for NTM.
Package privacy provides privacy mode enforcement for NTM.
Package profiler provides timing instrumentation for NTM operations.
Package profiler provides timing instrumentation for NTM operations.
Package prompt provides utilities for building and manipulating prompts.
Package prompt provides utilities for building and manipulating prompts.
Package quota provides real-time quota tracking for AI providers by parsing CLI command outputs (e.g., `claude /usage`).
Package quota provides real-time quota tracking for AI providers by parsing CLI command outputs (e.g., `claude /usage`).
Package ratelimit provides rate limit tracking and adaptive delay management for AI agents.
Package ratelimit provides rate limit tracking and adaptive delay management for AI agents.
Package recipe provides session preset definitions (recipes) for NTM.
Package recipe provides session preset definitions (recipes) for NTM.
Package recovery provides context recovery and restoration for agent sessions.
Package recovery provides context recovery and restoration for agent sessions.
Package redaction provides detection and redaction of sensitive content such as API keys, tokens, passwords, and other secrets.
Package redaction provides detection and redaction of sensitive content such as API keys, tokens, passwords, and other secrets.
Package resilience provides auto-restart and recovery functionality for agents.
Package resilience provides auto-restart and recovery functionality for agents.
Package robot provides machine-readable output for AI agents.
Package robot provides machine-readable output for AI agents.
safety
redaction
Package redaction provides detection and redaction of sensitive content.
Package redaction provides detection and redaction of sensitive content.
Package scanner provides UBS integration with bv graph analysis.
Package scanner provides UBS integration with bv graph analysis.
Package scheduler provides a global spawn scheduler with paced pane/agent creation.
Package scheduler provides a global spawn scheduler with paced pane/agent creation.
Package scoring provides effectiveness metrics for NTM agent evaluation.
Package scoring provides effectiveness metrics for NTM agent evaluation.
Package serve provides REST API endpoints for account management.
Package serve provides REST API endpoints for account management.
Package session provides session state capture and restoration.
Package session provides session state capture and restoration.
Package startup provides two-phase initialization for NTM.
Package startup provides two-phase initialization for NTM.
Package state provides durable SQLite-backed storage for NTM orchestration state.
Package state provides durable SQLite-backed storage for NTM orchestration state.
Package status provides agent status detection for NTM.
Package status provides agent status detection for NTM.
Package supervisor manages the lifecycle of long-running daemons (cm serve, bd daemon) that NTM spawns.
Package supervisor manages the lifecycle of long-running daemons (cm serve, bd daemon) that NTM spawns.
Package templates provides prompt template loading, parsing, and variable substitution.
Package templates provides prompt template loading, parsing, and variable substitution.
Package tmux provides a wrapper around tmux commands.
Package tmux provides a wrapper around tmux commands.
Package tokens provides rough token estimation for context usage visualization.
Package tokens provides rough token estimation for context usage visualization.
Package tools provides a unified adapter framework for external ecosystem tools.
Package tools provides a unified adapter framework for external ecosystem tools.
Package tracker provides state change tracking for delta snapshot queries.
Package tracker provides state change tracking for delta snapshot queries.
tui
Package tui provides terminal user interface components.
Package tui provides terminal user interface components.
components
Package components provides shared TUI building blocks.
Package components provides shared TUI building blocks.
dashboard
Package dashboard provides a stunning visual session dashboard
Package dashboard provides a stunning visual session dashboard
dashboard/panels
Package panels provides dashboard panel components.
Package panels provides dashboard panel components.
styles
Package styles provides badge rendering functions for consistent UI elements.
Package styles provides badge rendering functions for consistent UI elements.
terminal
Package terminal provides terminal capability detection for graceful fallbacks.
Package terminal provides terminal capability detection for graceful fallbacks.
theme
Package theme provides semantic color names for consistent UI styling.
Package theme provides semantic color names for consistent UI styling.
Package tutorial provides an interactive, visually stunning tutorial for NTM
Package tutorial provides an interactive, visually stunning tutorial for NTM
Package updater provides update checking functionality for ntm.
Package updater provides update checking functionality for ntm.
Package util provides shared utility functions for ntm.
Package util provides shared utility functions for ntm.
Package watcher provides file watching with debouncing using fsnotify.
Package watcher provides file watching with debouncing using fsnotify.
Package webhook provides a webhook management system for NTM events.
Package webhook provides a webhook management system for NTM events.
Package workflow provides workflow template definitions and coordination for multi-agent patterns.
Package workflow provides workflow template definitions and coordination for multi-agent patterns.
Package worktrees provides Git worktree isolation for multi-agent sessions.
Package worktrees provides Git worktree isolation for multi-agent sessions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL