Directories
¶
| Path | Synopsis |
|---|---|
|
Package aiagents is the root of the AI coding agent hooks domain.
|
Package aiagents is the root of the AI coding agent hooks domain. |
|
adapter
Package adapter defines the contract every per-agent integration (Claude Code, Codex) implements.
|
Package adapter defines the contract every per-agent integration (Claude Code, Codex) implements. |
|
adapter/claudecode
Package claudecode implements the Adapter interface for Claude Code.
|
Package claudecode implements the Adapter interface for Claude Code. |
|
adapter/codex
Package codex implements the Adapter interface for OpenAI Codex.
|
Package codex implements the Adapter interface for OpenAI Codex. |
|
atomicfile
Package atomicfile writes files using a temp-file + rename discipline so readers never observe a half-written state.
|
Package atomicfile writes files using a temp-file + rename discipline so readers never observe a half-written state. |
|
cli
Package cli houses entry points for the AI-agent hooks domain: `hooks install`, `hooks uninstall`, and the hidden `_hook` runtime.
|
Package cli houses entry points for the AI-agent hooks domain: `hooks install`, `hooks uninstall`, and the hidden `_hook` runtime. |
|
configedit
Package configedit provides byte-preserving edits of user-owned JSON and TOML settings files.
|
Package configedit provides byte-preserving edits of user-owned JSON and TOML settings files. |
|
enrich/mcp
Package mcp classifies MCP-related shell-launched activity.
|
Package mcp classifies MCP-related shell-launched activity. |
|
enrich/npm
Package npm classifies and enriches npm-ecosystem package manager activity observed in shell commands.
|
Package npm classifies and enriches npm-ecosystem package manager activity observed in shell commands. |
|
enrich/secrets
Package secrets implements a self-contained transcript secret scanner.
|
Package secrets implements a self-contained transcript secret scanner. |
|
event
Package event defines the canonical AI-agent event schema.
|
Package event defines the canonical AI-agent event schema. |
|
hook
Package hook implements the bounded, fail-open hot path invoked by `stepsecurity-dev-machine-guard _hook <agent> <hookEvent>`.
|
Package hook implements the bounded, fail-open hot path invoked by `stepsecurity-dev-machine-guard _hook <agent> <hookEvent>`. |
|
identity
Package identity computes AI-event identity for a hook invocation.
|
Package identity computes AI-event identity for a hook invocation. |
|
ingest
Package ingest owns the AI-agent telemetry upload path: the stricter enterprise-config gate (this file) and the HTTP client that POSTs events to /v1/{customer_id}/ai-agents/events.
|
Package ingest owns the AI-agent telemetry upload path: the stricter enterprise-config gate (this file) and the HTTP client that POSTs events to /v1/{customer_id}/ai-agents/events. |
|
policy
Package policy holds the policy data model and pure decision evaluator.
|
Package policy holds the policy data model and pure decision evaluator. |
|
redact
Package redact removes likely secrets from strings and JSON-shaped values before they are written to disk or sent over the wire.
|
Package redact removes likely secrets from strings and JSON-shaped values before they are written to disk or sent over the wire. |
|
state
Package state owns the server-driven hook enable/disable cache.
|
Package state owns the server-driven hook enable/disable cache. |
|
Package featuregate gates capabilities whose corresponding backend support has not yet shipped.
|
Package featuregate gates capabilities whose corresponding backend support has not yet shipped. |
|
Package launcher resolves the child process the GUI-subsystem launcher (cmd/stepsecurity-dev-machine-guard-task) should spawn for a given invocation.
|
Package launcher resolves the child process the GUI-subsystem launcher (cmd/stepsecurity-dev-machine-guard-task) should spawn for a given invocation. |
|
Package paths owns the single source of truth for "where does the agent put its files." It resolves a base directory (the install dir) from a layered set of sources so callers can stop deriving ~/.stepsecurity independently:
|
Package paths owns the single source of truth for "where does the agent put its files." It resolves a base directory (the install dir) from a layered set of sources so callers can stop deriving ~/.stepsecurity independently: |
|
filelog
Package filelog tees the agent's stderr stream to a file on disk so that when agent-api is unreachable (network failure, firewall, expired credentials), the customer can be asked to share the local log file with support.
|
Package filelog tees the agent's stderr stream to a file on disk so that when agent-api is unreachable (network failure, firewall, expired credentials), the customer can be asked to share the local log file with support. |
|
Package tcc identifies macOS TCC (Transparency, Consent, and Control) protected directories so filesystem walks can skip them and avoid triggering system permission prompts on a user's machine.
|
Package tcc identifies macOS TCC (Transparency, Consent, and Control) protected directories so filesystem walks can skip them and avoid triggering system permission prompts on a user's machine. |
|
Package winproc adjusts the OS-process attributes attached to an *exec.Cmd.
|
Package winproc adjusts the OS-process attributes attached to an *exec.Cmd. |
Click to show internal directories.
Click to hide internal directories.