pkg/

directory
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: MIT

Directories

Path Synopsis
Package agent provides the agent registry and the Turn/Step execution loop.
Package agent provides the agent registry and the Turn/Step execution loop.
Package approval implements approval policies, matching packages/core/approval (M27).
Package approval implements approval policies, matching packages/core/approval (M27).
Upload admission matches attachment/admission: base64 must round-trip to the identical encoding so alternate representations cannot bypass validation.
Upload admission matches attachment/admission: base64 must round-trip to the identical encoding so alternate representations cannot bypass validation.
Package brand provides branded types to prevent mixing raw strings or bytes across package contracts, matching util/id-brand and util/bytes upstream.
Package brand provides branded types to prevent mixing raw strings or bytes across package contracts, matching util/id-brand and util/bytes upstream.
Package coderuntime defines the code-execution protocol from packages/code-runtime.
Package coderuntime defines the code-execution protocol from packages/code-runtime.
Package commands implements slash commands, matching interaction/commands.
Package commands implements slash commands, matching interaction/commands.
Package compaction summarizes long conversations using surface replacement (S01), matching compaction/compaction and compaction-engine-basic.
Package compaction summarizes long conversations using surface replacement (S01), matching compaction/compaction and compaction-engine-basic.
Package eventbus provides a typed, in-process event bus modeled on Cordis.
Package eventbus provides a typed, in-process event bus modeled on Cordis.
Package feedback implements message feedback using Storage Domain sidecars and stable failure classes, matching feedback/feedback (S09).
Package feedback implements message feedback using Storage Domain sidecars and stable failure classes, matching feedback/feedback (S09).
Package fileref implements context/file-reference @ mentions: find the token at the cursor and format selected paths as @path or @"path".
Package fileref implements context/file-reference @ mentions: find the token at the cursor and format selected paths as @path or @"path".
Package fs implements the filesystem interface, matching fs/fs, fs-local, and fs-observation-policy (M35).
Package fs implements the filesystem interface, matching fs/fs, fs-local, and fs-observation-policy (M35).
Goal failure classes and block reasons match upstream goal (review fix R06).
Goal failure classes and block reasons match upstream goal (review fix R06).
Package homepath resolves the user data root using explicit configuration, then OMNIX_HOME, then ~/.omnix.
Package homepath resolves the user data root using explicit configuration, then OMNIX_HOME, then ~/.omnix.
imagegen
provider_ark
Package provider_ark provides non-streaming Seedream image generation and an Agent-compatible tool.
Package provider_ark provides non-streaming Seedream image generation and an Agent-compatible tool.
Package instructions implements pure instruction-file discovery logic from context/agent-instructions: project roots, ancestor chains, and per-directory deduplication.
Package instructions implements pure instruction-file discovery logic from context/agent-instructions: project roots, ancestor chains, and per-directory deduplication.
Package invariant registers invariant checks, matching runtime-diagnostics/invariants.
Package invariant registers invariant checks, matching runtime-diagnostics/invariants.
Package jobs implements background jobs (S11) and owner binding (M46), matching jobs/jobs.
Package jobs implements background jobs (S11) and owner binding (M46), matching jobs/jobs.
Package launchenv freezes environment layers at launch, matching util/launch-environment.
Package launchenv freezes environment layers at launch, matching util/launch-environment.
llm
This file adapts upstream packages/llm/llm/src/assembler.ts to the simplified text/reasoning/tool-call/done protocol.
This file adapts upstream packages/llm/llm/src/assembler.ts to the simplified text/reasoning/tool-call/done protocol.
provider_deepseek
Package provider_deepseek implements the DeepSeek REST and SSE adapter, following upstream packages/llm/providers.
Package provider_deepseek implements the DeepSeek REST and SSE adapter, following upstream packages/llm/providers.
Package mcp bridges Model Context Protocol clients to tool definitions (S13).
Package mcp bridges Model Context Protocol clients to tool definitions (S13).
Package persistence provides checkpoint flushing, batched writes, and crash repair, following upstream session persistence and JSONL storage.
Package persistence provides checkpoint flushing, batched writes, and crash repair, following upstream session persistence and JSONL storage.
sqlite
Package sqlite implements SQLite session persistence and FTS5 indexing (S03), following upstream storage/sqlite-session.
Package sqlite implements SQLite session persistence and FTS5 indexing (S03), following upstream storage/sqlite-session.
Package plan provides plan-mode guidance and approval-gated exit, matching core/plan-mode.
Package plan provides plan-mode guidance and approval-gated exit, matching core/plan-mode.
Package presets implements agent presets, matching core/agent-preset.
Package presets implements agent presets, matching core/agent-preset.
Freezable shared registries (H07) optimize read-heavy post-startup access.
Freezable shared registries (H07) optimize read-heavy post-startup access.
Package retain implements bounded logical-item retention from util/output-retention.
Package retain implements bounded logical-item retention from util/output-retention.
This file implements sandbox escalation, following upstream escalation.ts.
This file implements sandbox escalation, following upstream escalation.ts.
Package schedule implements in-process reminders: after for relative one-shot delays, at for absolute one-shot times, and every for fixed intervals of at least five minutes.
Package schedule implements in-process reminders: after for relative one-shot delays, at for absolute one-shot times, and every for fixed intervals of at least five minutes.
Explicit scope parents supplement layered scopes, matching bindScopeParent, scopeParentOf, and scopeChainOf upstream.
Explicit scope parents supplement layered scopes, matching bindScopeParent, scopeParentOf, and scopeChainOf upstream.
This file implements the session/end-seed boundary marker (M20), following upstream session semantics.
This file implements the session/end-seed boundary marker (M20), following upstream session semantics.
Package sessionquery queries sessions and FTS5 search (S04), matching storage/session-query.
Package sessionquery queries sessions and FTS5 search (S04), matching storage/session-query.
Title normalization matches session-title/normalize: remove escapes, control and directional characters, normalize whitespace, and truncate to a UTF-8 byte budget without splitting characters.
Title normalization matches session-title/normalize: remove escapes, control and directional characters, normalize whitespace, and truncate to a UTF-8 byte budget without splitting characters.
Package settings implements ctx.settings with layered scopes, path operations, CAS revisions, and secret redaction, matching settings/settings and settings-file.
Package settings implements ctx.settings with layered scopes, path operations, CAS revisions, and secret redaction, matching settings/settings and settings-file.
Package shell implements shell execution and tool-bash, matching shell/shell, bash-local, bash-sandbox, and tool-bash (M37).
Package shell implements shell execution and tool-bash, matching shell/shell, bash-local, bash-sandbox, and tool-bash (M37).
Skill grammar matches upstream kebab-case names and skill_content rendering.
Skill grammar matches upstream kebab-case names and skill_content rendering.
Package spill implements large-result storage (M42), matching spill/spill, spill-local, and spill-policy.
Package spill implements large-result storage (M42), matching spill/spill, spill-local, and spill-policy.
Filesystem-backed key-value storage.
Filesystem-backed key-value storage.
Delegation depth matches subagent/src/depth.ts: roots start at zero and each child adds one.
Delegation depth matches subagent/src/depth.ts: roots start at zero and each child adds one.
Local subprocess implementation using os/exec, process-tree termination, environment scrubbing, and spills.
Local subprocess implementation using os/exec, process-tree termination, environment scrubbing, and spills.
PromptContext registration and snapshots (M10), matching context-prompt.
PromptContext registration and snapshots (M10), matching context-prompt.
Anonymous identity matches identity/anonymous-user-id: persist one random UUID per Harness home in .anonymous-user-id.
Anonymous identity matches identity/anonymous-user-id: persist one random UUID per Harness home in .anonymous-user-id.
Terminal sanitization matches terminal-bash: strip ANSI CSI/OSC escape sequences from raw PTY output and normalize line endings into displayable plain text.
Terminal sanitization matches terminal-bash: strip ANSI CSI/OSC escape sequences from raw PTY output and normalize line endings into displayable plain text.
Package timecontext renders request-time context matching context/time-context.
Package timecontext renders request-time context matching context/time-context.
Todo normalization enforces constraints beyond schema: nonblank trimmed content, unique content, and at most one in_progress item without parallel mode.
Todo normalization enforces constraints beyond schema: nonblank trimmed content, unique content, and at most one in_progress item without parallel mode.
Fixed-density token estimation matches token-meter/src/estimate.ts.
Fixed-density token estimation matches token-meter/src/estimate.ts.
Match the upstream session checkpoint policy for cancellation before dispatch.
Match the upstream session checkpoint policy for cancellation before dispatch.
Package userq provides User Questions, matching interaction/user-questions.
Package userq provides User Questions, matching interaction/user-questions.
Package uuid generates RFC 9562 version-4 UUIDs, matching util/crypto randomUUID.
Package uuid generates RFC 9562 version-4 UUIDs, matching util/crypto randomUUID.
Package waterfall provides generic middleware chains matching core/waterfall.
Package waterfall provides generic middleware chains matching core/waterfall.
Ralph orchestration matches workflow/tool-ralph.
Ralph orchestration matches workflow/tool-ralph.
Workspace path helpers match util/workspace-path: resolve relative paths against roots, abbreviate home as ~, and derive display titles from final segments.
Workspace path helpers match util/workspace-path: resolve relative paths against roots, abbreviate home as ~, and derive display titles from final segments.

Jump to

Keyboard shortcuts

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