internal/

directory
v1.12.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package agentcontext assembles the system-context string handed to any agent.
Package agentcontext assembles the system-context string handed to any agent.
Package agentdiff builds the post-run "what did the agent change?" git diff for `tasks -p`.
Package agentdiff builds the post-run "what did the agent change?" git diff for `tasks -p`.
Package api is the Go port of lib/tasks/api — the loopback HTTP surface described by docs/api/openapi.yaml.
Package api is the Go port of lib/tasks/api — the loopback HTTP surface described by docs/api/openapi.yaml.
Package application is the persistence-neutral facade shared by the CLI, the TUI, and the HTTP API — the Go counterpart of lib/tasks/application.rb and the operation objects it composes.
Package application is the persistence-neutral facade shared by the CLI, the TUI, and the HTTP API — the Go counterpart of lib/tasks/application.rb and the operation objects it composes.
Package atomic is durable, all-or-nothing file replacement — the Go counterpart of lib/tasks/atomic.rb, and the only writer the store uses.
Package atomic is durable, all-or-nothing file replacement — the Go counterpart of lib/tasks/atomic.rb, and the only writer the store uses.
Package check validates the store-wide metadata and ID invariants.
Package check validates the store-wide metadata and ID invariants.
Package config resolves where the task files live and which settings the process runs under.
Package config resolves where the task files live and which settings the process runs under.
Package determinism turns harness pins into the injectable values the read path already accepts.
Package determinism turns harness pins into the injectable values the read path already accepts.
Package journal carries the two path facts every surface needs about the undo journal: the canonical identity of a store file, and the directory a store's history lives in.
Package journal carries the two path facts every surface needs about the undo journal: the canonical identity of a store file, and the directory a store's history lives in.
Package jsonout writes JSON documents the way Ruby's JSON.generate writes them: members in the order the caller states, no whitespace, and Ruby's escape set for strings.
Package jsonout writes JSON documents the way Ruby's JSON.generate writes them: members in the order the caller states, no whitespace, and Ruby's escape set for strings.
Package lead is the read-path half of lib/tasks/lead.rb: how long before its occurrence date a task becomes visible.
Package lead is the read-path half of lib/tasks/lead.rb: how long before its occurrence date a task becomes visible.
Package links models formal task links and finds and classifies links in task text.
Package links models formal task links and finds and classifies links in task text.
Package llm is the agent adapter layer: one execution contract, a config-assembled registry, and the built-in harnesses.
Package llm is the agent adapter layer: one execution contract, a config-assembled registry, and the built-in harnesses.
Package merge is the deterministic, record-aware three-way merge for tasks JSONL files — the Go port of lib/tasks/jsonl_merge.rb.
Package merge is the deterministic, record-aware three-way merge for tasks JSONL files — the Go port of lib/tasks/jsonl_merge.rb.
Package promptfacts is the registry of short, labeled facts injected into an agent's system prompt under a "Current environment" heading.
Package promptfacts is the registry of short, labeled facts injected into an agent's system prompt under a "Current environment" heading.
Package query contains the shared read-query inputs and operations.
Package query contains the shared read-query inputs and operations.
Package record reads the JSONL record format used by tasks.
Package record reads the JSONL record format used by tasks.
Package recur parses and projects interval repeater cookies.
Package recur parses and projects interval repeater cookies.
Package store owns the READ path over tasks.jsonl and archive.jsonl: the coherent snapshot, the API-grade checked read, and the revision tokens derived from the exact bytes that read captured.
Package store owns the READ path over tasks.jsonl and archive.jsonl: the coherent snapshot, the API-grade checked read, and the revision tokens derived from the exact bytes that read captured.
Package taskquery is the read model over a store snapshot: the structural tree, effective availability, and the selections the read surfaces render.
Package taskquery is the read model over a store snapshot: the structural tree, effective availability, and the selections the read surfaces render.
Package temporal is the Go counterpart of lib/tasks/temporal_value.rb and lib/tasks/temporal_context.rb: a stored date with an optional wall time and zone, and the reader's own "now" that such a value is resolved against.
Package temporal is the Go counterpart of lib/tasks/temporal_value.rb and lib/tasks/temporal_context.rb: a stored date with an optional wall time and zone, and the reader's own "now" that such a value is resolved against.
Package timezones resolves IANA zone identifiers, mirroring lib/tasks/timezones.rb as far as the read path and the probe need it: the identifier gate, the detection precedence, and the tzdb self-report.
Package timezones resolves IANA zone identifiers, mirroring lib/tasks/timezones.rb as far as the read path and the probe need it: the identifier gate, the detection precedence, and the tzdb self-report.
tui
Package tui is the Go TUI's shell: the Bubble Tea root model, the screen geometry, view switching, the task list and its selection, and the right panel that shows task and project details.
Package tui is the Go TUI's shell: the Bubble Tea root model, the screen geometry, view switching, the task list and its selection, and the right panel that shows task and project details.
term
Package term is the seam between the TUI shell and the terminal primitives under term/.
Package term is the seam between the TUI shell and the terminal primitives under term/.
term/agent
Package agent is the serial coordinator for autonomous TUI agent requests and the presentation of their transcripts.
Package agent is the serial coordinator for autonomous TUI agent requests and the presentation of their transcripts.
term/ansi
Package ansi holds the SGR-aware, width-aware string helpers.
Package ansi holds the SGR-aware, width-aware string helpers.
term/border
Package border is the single owner of box-drawing chrome: rounded corners plus an angled truecolor gradient swept across a container's border cells.
Package border is the single owner of box-drawing chrome: rounded corners plus an angled truecolor gradient swept across a container's border cells.
term/charwidth
Package charwidth answers the terminal display width of Unicode codepoints and grapheme clusters.
Package charwidth answers the terminal display width of Unicode codepoints and grapheme clusters.
term/clipboard
Package clipboard writes to the system clipboard via whatever tool the platform has, with no third-party dependency.
Package clipboard writes to the system clipboard via whatever tool the platform has, with no third-party dependency.
term/frame
Package frame is a pure frame builder: given content, it returns one string per terminal row, each exactly `width` visible cells wide.
Package frame is a pure frame builder: given content, it returns one string per terminal row, each exactly `width` visible cells wide.
term/hitmap
Package hitmap is pure geometry: it maps a screen (row, col) to a Hit zone using the rectangles a layout publishes.
Package hitmap is pure geometry: it maps a screen (row, col) to a Hit zone using the rectangles a layout publishes.
term/input
Package input holds the terminal input primitives: the raw key sequences the TUI recognizes, a raw-bytes-to-semantic-event key map, and the grapheme-aware single-line/multi-line text editor used by the prompt and by form fields.
Package input holds the terminal input primitives: the raw key sequences the TUI recognizes, a raw-bytes-to-semantic-event key map, and the grapheme-aware single-line/multi-line text editor used by the prompt and by form fields.
term/layout
Package layout is pure geometry for one sampled terminal frame.
Package layout is pure geometry for one sampled terminal frame.
term/mouse
Package mouse is a pure SGR mouse-report decoder plus the (mode, zone, button, action) → intent table.
Package mouse is a pure SGR mouse-report decoder plus the (mode, zone, button, action) → intent table.
term/shortcuts
Package shortcuts is the declarative registry for every keyboard action shown in help.
Package shortcuts is the declarative registry for every keyboard action shown in help.
term/theme
Package theme is the semantic color layer.
Package theme is the semantic color layer.
termform
Package termform is the persistence-neutral form engine the TUI's editor and popups are built from — the Go port of Ruby's lib/term_form/.
Package termform is the persistence-neutral form engine the TUI's editor and popups are built from — the Go port of Ruby's lib/term_form/.
Package updatestamp is the per-record last-write stamp: one sortable token that keeps the timestamp and the device tiebreaker from ever drifting apart.
Package updatestamp is the per-record last-write stamp: one sortable token that keeps the timestamp and the device tiebreaker from ever drifting apart.

Jump to

Keyboard shortcuts

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