internal/

directory
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT

Directories

Path Synopsis
Package adapter provides the embedded adapter registry and lookup functions.
Package adapter provides the embedded adapter registry and lookup functions.
Package agenttask implements a shared, project-local queue of work items scheduled by internal producers (the daemon, doctor, scripts) for the next available AI coworker to execute — typically as a fresh-context subagent.
Package agenttask implements a shared, project-local queue of work items scheduled by internal producers (the daemon, doctor, scripts) for the next available AI coworker to execute — typically as a fresh-context subagent.
api
kbconfig
Package kbconfig vendors the canonical KBConfig Go types from sageox-mono's packages/kb/config.go into the ox CLI.
Package kbconfig vendors the canonical KBConfig Go types from sageox-mono's packages/kb/config.go into the ox CLI.
Package badge handles SageOx README badge detection and suggestion.
Package badge handles SageOx README badge detection and suggestion.
Package carts provides work item tracking backed by DoltDB.
Package carts provides work item tracking backed by DoltDB.
Package claude provides utilities for discovering and parsing team Claude customizations.
Package claude provides utilities for discovering and parsing team Claude customizations.
comments
Package comments extracts comments from source code using a character-level scanner configured by language-specific syntax families.
Package comments extracts comments from source code using a character-level scanner configured by language-specific syntax families.
diffformat
Package diffformat produces the simple "before vs after" diff text CodeDB indexes for diff search and re-derives at search-read time for snippets (ADR-018 phase 2 Option A).
Package diffformat produces the simple "before vs after" diff text CodeDB indexes for diff search and re-derives at search-read time for snippets (ADR-018 phase 2 Option A).
symbols
Package symbols extracts symbol definitions and references from source code using tree-sitter via gotreesitter (pure Go, no CGO required).
Package symbols extracts symbol definitions and references from source code using tree-sitter via gotreesitter (pure Go, no CGO required).
Package daemon provides background sync operations for the ledger.
Package daemon provides background sync operations for the ledger.
testutil
Package testutil provides testing utilities for daemon functionality.
Package testutil provides testing utilities for daemon functionality.
app
Package app contains the BubbleTea application layer for the dashboard: messages, key bindings, layout geometry, and focus management.
Package app contains the BubbleTea application layer for the dashboard: messages, key bindings, layout geometry, and focus management.
domain
Package domain defines the core value types the dashboard operates on.
Package domain defines the core value types the dashboard operates on.
effects
Package effects defines the interface for dashboard side effects (daemon IPC, session store queries) and provides the production implementation.
Package effects defines the interface for dashboard side effects (daemon IPC, session store queries) and provides the production implementation.
overlays/palette
Package palette implements the ⌘K command palette overlay for the dashboard TUI.
Package palette implements the ⌘K command palette overlay for the dashboard TUI.
panes
Package panes defines the Pane interface and shared types used by every panel in the dashboard TUI.
Package panes defines the Pane interface and shared types used by every panel in the dashboard TUI.
panes/inspector
Package inspector implements the right-hand detail inspector pane for the dashboard TUI.
Package inspector implements the right-hand detail inspector pane for the dashboard TUI.
panes/nav
Package nav implements the left-hand navigation tree pane for the dashboard TUI.
Package nav implements the left-hand navigation tree pane for the dashboard TUI.
panes/statusbar
Package statusbar implements the single-line status bar shown at the bottom of the dashboard TUI.
Package statusbar implements the single-line status bar shown at the bottom of the dashboard TUI.
panes/timeline
Package timeline implements the center activity feed pane for the dashboard TUI.
Package timeline implements the center activity feed pane for the dashboard TUI.
state
Package state defines the application state for the dashboard TUI and the read-only interface panes use to access that state without importing app.
Package state defines the application state for the dashboard TUI and the read-only interface panes use to access that state without importing app.
theme
Package theme provides semantic design tokens and lipgloss styles for the dashboard TUI.
Package theme provides semantic design tokens and lipgloss styles for the dashboard TUI.
distill
history/memoryio
Package memoryio is the shared on-disk format helper for memory/daily, memory/weekly, and memory/monthly entries.
Package memoryio is the shared on-disk format helper for memory/daily, memory/weekly, and memory/monthly entries.
history/read
Package read is the read-only distill-history reader for memory/daily, memory/weekly, and memory/monthly under a team-context root.
Package read is the read-only distill-history reader for memory/daily, memory/weekly, and memory/monthly under a team-context root.
autofix
Package autofix is the daemon-side periodic auto-fix scheduler (ox-0xgx).
Package autofix is the daemon-side periodic auto-fix scheduler (ox-0xgx).
Package doctorapi provides types and client for the cloud doctor API.
Package doctorapi provides types and client for the cloud doctor API.
Package endpoint provides centralized SageOx endpoint URL management.
Package endpoint provides centralized SageOx endpoint URL management.
Package envutil sanitizes subprocess environments so the daemon and CLI never leak secrets (SAGEOX_TOKEN, GITHUB_TOKEN, AWS_*, …) into untrusted or long-lived child processes (third-party adapters, user-defined hooks).
Package envutil sanitizes subprocess environments so the daemon and CLI never leak secrets (SAGEOX_TOKEN, GITHUB_TOKEN, AWS_*, …) into untrusted or long-lived child processes (third-party adapters, user-defined hooks).
Package ephemeral is the legacy operator-facing facade for the capability-based runtime in internal/runtime.
Package ephemeral is the legacy operator-facing facade for the capability-based runtime in internal/runtime.
Package fileutil — advisory file lock for cross-process serialization of read-modify-write sequences on shared config / manifest files.
Package fileutil — advisory file lock for cross-process serialization of read-modify-write sequences on shared config / manifest files.
Package flags provides a layered feature flag resolver for the ox CLI.
Package flags provides a layered feature flag resolver for the ox CLI.
Package gitutil provides shared git safety primitives used by both the daemon (pull/fetch) and CLI (push/commit) code paths.
Package gitutil provides shared git safety primitives used by both the daemon (pull/fetch) and CLI (push/commit) code paths.
Package identity provides unified identity resolution for ox.
Package identity provides unified identity resolution for ox.
Package kb is shared infrastructure for ox's knowledge-base git repos: the per-project ledger and team-context clones.
Package kb is shared infrastructure for ox's knowledge-base git repos: the per-project ledger and team-context clones.
Package ledger provides functionality for managing project ledgers.
Package ledger provides functionality for managing project ledgers.
automerge
Package automerge resolves git merge conflicts in tiers.
Package automerge resolves git merge conflicts in tiers.
Package ledgersearch provides zero-network, local-only full-text search over the cached ledger contents: session summaries/markdown, recent murmurs, and captured plans (data/plans/<dated-slug>/plan.md).
Package ledgersearch provides zero-network, local-only full-text search over the cached ledger contents: session summaries/markdown, recent murmurs, and captured plans (data/plans/<dated-slug>/plan.md).
Package lfs provides a pure-HTTP client for the Git LFS Batch API.
Package lfs provides a pure-HTTP client for the Git LFS Batch API.
Package llmprompt provides helpers for safely embedding untrusted content inside LLM prompt templates.
Package llmprompt provides helpers for safely embedding untrusted content inside LLM prompt templates.
Package markers holds SageOx repo-marker filenames that must be referenced from packages which cannot import each other without an import cycle.
Package markers holds SageOx repo-marker filenames that must be referenced from packages which cannot import each other without an import cycle.
Package observability provides OpenTelemetry tracing for the ox CLI.
Package observability provides OpenTelemetry tracing for the ox CLI.
Package paths provides centralized path resolution for all SageOx directories.
Package paths provides centralized path resolution for all SageOx directories.
Package perf collects OpenTelemetry spans into an in-process tree so `ox` commands and the daemon can render per-phase timing to a local sink (stderr, daemon log) without needing the OTLP backend.
Package perf collects OpenTelemetry spans into an in-process tree so `ox` commands and the daemon can render per-phase timing to a local sink (stderr, daemon log) without needing the OTLP backend.
Package plan enriches agent-generated implementation plans with SageOx team context.
Package plan enriches agent-generated implementation plans with SageOx team context.
Package proc provides process tree utilities for identifying long-lived ancestor processes (e.g., the agent binary that launched a hook subprocess chain).
Package proc provides process tree utilities for identifying long-lived ancestor processes (e.g., the agent binary that launched a hook subprocess chain).
Package promptintent implements lightweight classification of a user's freshly submitted prompt to decide whether it is worth firing a local recall query against the ledger / team-context cache.
Package promptintent implements lightweight classification of a user's freshly submitted prompt to decide whether it is worth firing a local recall query against the ledger / team-context cache.
Package repotools provides VCS abstraction for repository operations.
Package repotools provides VCS abstraction for repository operations.
Package runtime probes the *capabilities* of the environment ox is running in — persistent disk, daemon viability, browser availability, network reachability, env lifetime — and exposes them as a single struct.
Package runtime probes the *capabilities* of the environment ox is running in — persistent disk, daemon viability, browser availability, network reachability, env lifetime — and exposes them as a single struct.
Package session provides shared entry parsing utilities for session recordings.
Package session provides shared entry parsing utilities for session recordings.
cmd/gitleaks-port command
Command gitleaks-port translates the gitleaks default rule catalog (config/gitleaks.toml from the gitleaks repo) into Go SecretPattern entries for ox's session.RawWriter chokepoint.
Command gitleaks-port translates the gitleaks default rule catalog (config/gitleaks.toml from the gitleaks repo) into Go SecretPattern entries for ox's session.RawWriter chokepoint.
pipeline
Package pipeline defines types and constants for the session upload pipeline.
Package pipeline defines types and constants for the session upload pipeline.
Package sessionid generates and validates session-recording identifiers.
Package sessionid generates and validates session-recording identifiers.
Package signing provides Ed25519 cryptographic signing and verification for embedded artifacts in the ox CLI.
Package signing provides Ed25519 cryptographic signing and verification for embedded artifacts in the ox CLI.
Package testenv provides shared process-environment isolation for test binaries.
Package testenv provides shared process-environment isolation for test binaries.
Package testguard provides test isolation primitives that prevent ox subprocesses from hitting production endpoints during tests.
Package testguard provides test isolation primitives that prevent ox subprocesses from hitting production endpoints during tests.
testutil
slogquiet
Package slogquiet silences the default slog logger inside test binaries.
Package slogquiet silences the default slog logger inside test binaries.
internal/tips/content.go
internal/tips/content.go
Package twinapi provides a digital twin of the SageOx cloud API for testing.
Package twinapi provides a digital twin of the SageOx cloud API for testing.
Package uicatalog is a runnable registry of reusable UX components in the ox CLI.
Package uicatalog is a runnable registry of reusable UX components in the ox CLI.
Package uninstall provides functionality for removing SageOx from repositories.
Package uninstall provides functionality for removing SageOx from repositories.
whisper
store
Package store provides a SQLite-backed whisper store for the daemon.
Package store provides a SQLite-backed whisper store for the daemon.

Jump to

Keyboard shortcuts

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