Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
so
command
|
|
|
internal
|
|
|
agent/classify
Package classify decides whether a coding-agent session is "work" or "personal" based on high-confidence signals only.
|
Package classify decides whether a coding-agent session is "work" or "personal" based on high-confidence signals only. |
|
agent/config
Package config resolves the CLI's runtime configuration from (in order):
|
Package config resolves the CLI's runtime configuration from (in order): |
|
agent/detect
Package detect contains tiny, dependency-free string helpers the per-vendor hook adapters use to recognise high-signal patterns in shell commands and code patches:
|
Package detect contains tiny, dependency-free string helpers the per-vendor hook adapters use to recognise high-signal patterns in shell commands and code patches: |
|
agent/export
Package export wraps local OTel span generation for the CLI's hot path.
|
Package export wraps local OTel span generation for the CLI's hot path. |
|
agent/git
Package git collects the minimal VCS context every hook adapter stamps on its spans (vcs.repository.url.full, vcs.ref.head.revision, vcs.ref.head.name, coding_agent.vcs.dirty).
|
Package git collects the minimal VCS context every hook adapter stamps on its spans (vcs.repository.url.full, vcs.ref.head.revision, vcs.ref.head.name, coding_agent.vcs.dirty). |
|
agent/headless
Package headless probes authenticated coding-agent CLIs for one-shot session distill and harvest.
|
Package headless probes authenticated coding-agent CLIs for one-shot session distill and harvest. |
|
agent/hook
Package hook implements `so sessions hook --vendor=...
|
Package hook implements `so sessions hook --vendor=... |
|
agent/hook/claudecode
Package claudecode implements the Claude Code hook adapter.
|
Package claudecode implements the Claude Code hook adapter. |
|
agent/hook/codex
Package codex implements the Codex CLI hook adapter.
|
Package codex implements the Codex CLI hook adapter. |
|
agent/hook/cursor
Package cursor implements the Cursor hook adapter.
|
Package cursor implements the Cursor hook adapter. |
|
agent/hook/generic
Package generic provides a minimal hook adapter for coding agents that do not have a dedicated adapter (Gemini CLI, Copilot CLI, and any unknown --vendor).
|
Package generic provides a minimal hook adapter for coding agents that do not have a dedicated adapter (Gemini CLI, Copilot CLI, and any unknown --vendor). |
|
agent/hook/opencode
Package opencode implements the OpenCode coding-agent hook adapter.
|
Package opencode implements the OpenCode coding-agent hook adapter. |
|
agent/hook/pi
Package pi implements the Pi coding-agent hook adapter.
|
Package pi implements the Pi coding-agent hook adapter. |
|
agent/identity
Package identity resolves the canonical user identity to stamp on every emitted span.
|
Package identity resolves the canonical user identity to stamp on every emitted span. |
|
agent/install
Package install implements per-vendor host plugin manifest writes for `so install --vendor=...`.
|
Package install implements per-vendor host plugin manifest writes for `so install --vendor=...`. |
|
agent/normalize
Package normalize defines the contract every per-vendor hook adapter implements, plus the canonical Span/Event types they emit.
|
Package normalize defines the contract every per-vendor hook adapter implements, plus the canonical Span/Event types they emit. |
|
agent/pricing
Package pricing returns realized USD cost from token counts using a small static table of public list prices.
|
Package pricing returns realized USD cost from token counts using a small static table of public list prices. |
|
agent/sessionstate
Package sessionstate persists tiny per-session facts that the CLI needs to remember across hook invocations.
|
Package sessionstate persists tiny per-session facts that the CLI needs to remember across hook invocations. |
|
agent/skills
Package skills installs the user-global /so skill into coding-agent skill dirs.
|
Package skills installs the user-global /so skill into coding-agent skill dirs. |
|
agent/steer
Package steer installs user-level graph-first durable context and produces compact hook reminders for coding agents.
|
Package steer installs user-level graph-first durable context and produces compact hook reminders for coding agents. |
|
agent/tailfile
Package tailfile reads the last N bytes of a file as a slice of JSONL lines, dropping a partial first line.
|
Package tailfile reads the last N bytes of a file as a slice of JSONL lines, dropping a partial first line. |
|
agent/uninstall
Package uninstall implements per-vendor hook teardown for `so uninstall --vendor=...`.
|
Package uninstall implements per-vendor hook teardown for `so uninstall --vendor=...`. |
|
agent/vendors
Package vendors lists coding agents whose hooks Superopen installs in addition to Claude Code, Cursor, Codex, Gemini, OpenCode, Copilot CLI, and Pi.
|
Package vendors lists coding agents whose hooks Superopen installs in addition to Claude Code, Cursor, Codex, Gemini, OpenCode, Copilot CLI, and Pi. |
|
artifact
Package artifactmeta keeps every Superopen-owned artifact self-describing.
|
Package artifactmeta keeps every Superopen-owned artifact self-describing. |
|
checkpoint
Package checkpoint stores restorable file snapshots for a session under .so/sessions/<id>/checkpoints/<n>/.
|
Package checkpoint stores restorable file snapshots for a session under .so/sessions/<id>/checkpoints/<n>/. |
|
cli
Package cli implements shared CLI output helpers for Superopen.
|
Package cli implements shared CLI output helpers for Superopen. |
|
graph/api
Package api defines the native graph protocol used by `so`.
|
Package api defines the native graph protocol used by `so`. |
|
graph/buildpool
Package buildpool caps concurrent graph builds across repositories.
|
Package buildpool caps concurrent graph builds across repositories. |
|
graph/client
Package client is the in-process native graph client used by `so`.
|
Package client is the in-process native graph client used by `so`. |
|
graph/engine/cpreproc
Package cpreproc expands C/C++/CUDA macros with vendored simplecpp.
|
Package cpreproc expands C/C++/CUDA macros with vendored simplecpp. |
|
graph/format
Package format renders compact agent-facing text views of graph API results.
|
Package format renders compact agent-facing text views of graph API results. |
|
graph/langspec
Package langspec holds Superopen language extraction specifications.
|
Package langspec holds Superopen language extraction specifications. |
|
guards
The hook client consults an external provider named by SO_GUARD_PROVIDER for an allow/deny decision on an imminent tool call.
|
The hook client consults an external provider named by SO_GUARD_PROVIDER for an allow/deny decision on an imminent tool call. |
|
guards/rules
Package rules loads the detection corpus.
|
Package rules loads the detection corpus. |
|
paths
Package userpaths resolves Superopen config and data directories on macOS, Linux, and Windows (XDG / %APPDATA% / %LOCALAPPDATA%).
|
Package userpaths resolves Superopen config and data directories on macOS, Linux, and Windows (XDG / %APPDATA% / %LOCALAPPDATA%). |
|
projects
Package projects maintains a global registry of Superopen roots so one UI/CLI can browse sessions across multiple local clones.
|
Package projects maintains a global registry of Superopen roots so one UI/CLI can browse sessions across multiple local clones. |
|
redact
Package redact strips obvious secrets from strings before they're emitted as OTel attributes.
|
Package redact strips obvious secrets from strings before they're emitted as OTel attributes. |
|
repofile
Package repofile is the shared choke point for coding-agent file identity.
|
Package repofile is the shared choke point for coding-agent file identity. |
|
session
Package otlp contains OpenTelemetry attribute normalization shared by session ingestion and vendor hooks.
|
Package otlp contains OpenTelemetry attribute normalization shared by session ingestion and vendor hooks. |
|
session/agentlinks
Package agentlinks persists child-agent → parent-session mappings so Task / subagent traffic does not appear as top-level Sessions rows.
|
Package agentlinks persists child-agent → parent-session mappings so Task / subagent traffic does not appear as top-level Sessions rows. |
|
session/replay
Package viz builds session map replay traces from local session telemetry.
|
Package viz builds session map replay traces from local session telemetry. |
|
version
Package version exposes the CLI build version and a `version` subcommand.
|
Package version exposes the CLI build version and a `version` subcommand. |
|
sdk
|
|
|
go
module
|
|
|
tools
|
|
|
graph-assets
command
Command graph-assets reproducibly compiles the pinned generated Tree-sitter grammars into combined WASI parser modules.
|
Command graph-assets reproducibly compiles the pinned generated Tree-sitter grammars into combined WASI parser modules. |
|
graph-model-assets
command
Command graph-model-assets installs the pinned, content-verified semantic model into internal/graph/engine/assets/model.
|
Command graph-model-assets installs the pinned, content-verified semantic model into internal/graph/engine/assets/model. |
|
graph-specs
command
Command graph-specs validates Superopen language extraction specs JSON and optionally regenerates a checked-in copy.
|
Command graph-specs validates Superopen language extraction specs JSON and optionally regenerates a checked-in copy. |
Click to show internal directories.
Click to hide internal directories.
