internal/

directory
v0.62.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT

Directories

Path Synopsis
Package agent runs the reason → act → observe loop against an llm.Chatter, dispatching fat tools, injecting learned pitfalls into tool errors, and tracing every step.
Package agent runs the reason → act → observe loop against an llm.Chatter, dispatching fat tools, injecting learned pitfalls into tool errors, and tracing every step.
Package atomicfile writes a file durably: to a temp sibling, fsync it, then rename over the target — so a crash mid-write can't leave a truncated or half-written file.
Package atomicfile writes a file durably: to a temp sibling, fsync it, then rename over the target — so a crash mid-write can't leave a truncated or half-written file.
Package config loads the agent's runtime configuration.
Package config loads the agent's runtime configuration.
Package feedback sends a rating of this program to ipsupport.us and decides when to suggest one (adr/0016).
Package feedback sends a rating of this program to ipsupport.us and decides when to suggest one (adr/0016).
Package filelock provides a cross-process, blocking, exclusive file lock.
Package filelock provides a cross-process, blocking, exclusive file lock.
Package knowledge is the agent's persistent memory: a JSON-backed store of Pitfalls (lessons) it has learned.
Package knowledge is the agent's persistent memory: a JSON-backed store of Pitfalls (lessons) it has learned.
Package llm is the model boundary.
Package llm is the model boundary.
Package mcp is a minimal Model Context Protocol client.
Package mcp is a minimal Model Context Protocol client.
Package policy is the workspace permission engine.
Package policy is the workspace permission engine.
Package reflect runs the post-task learning pass: it asks the model to distill durable lessons from a finished transcript and returns them as pitfalls for the knowledge base.
Package reflect runs the post-task learning pass: it asks the model to distill durable lessons from a finished transcript and returns them as pitfalls for the knowledge base.
Package risk scores a tool call for how dangerous it looks, as a signal alongside the permission policy rather than a replacement for it.
Package risk scores a tool call for how dangerous it looks, as a signal alongside the permission policy rather than a replacement for it.
Package sandbox is an OS-level containment layer that runs shell commands inside the kernel sandbox of the host platform (Seatbelt on macOS; Landlock on Linux is planned).
Package sandbox is an OS-level containment layer that runs shell commands inside the kernel sandbox of the host platform (Seatbelt on macOS; Landlock on Linux is planned).
Package selfupdate downloads a newer ipsupport-code binary from GitHub Releases and replaces the running executable in place.
Package selfupdate downloads a newer ipsupport-code binary from GitHub Releases and replaces the running executable in place.
Package skill manages downloadable, on-demand instruction packs ("skills").
Package skill manages downloadable, on-demand instruction packs ("skills").
Package telemetry keeps the anonymous daily usage counters and sends them to ipsupport.us (adr/0016).
Package telemetry keeps the anonymous daily usage counters and sends them to ipsupport.us (adr/0016).
Package textutil holds small string helpers shared across packages.
Package textutil holds small string helpers shared across packages.
Package tool defines the fat-tool abstraction the agent exposes to the model: one tool per domain, each taking an (action, params) pair.
Package tool defines the fat-tool abstraction the agent exposes to the model: one tool per domain, each taking an (action, params) pair.
Package trace records the agent's decision path — goal, model turns, tool calls, observations, final answer, and learned lessons — as JSONL.
Package trace records the agent's decision path — goal, model turns, tool calls, observations, final answer, and learned lessons — as JSONL.
Package usage is a small persistent token-usage ledger: prompt/completion tokens spent, bucketed by day, provider, and model.
Package usage is a small persistent token-usage ledger: prompt/completion tokens spent, bucketed by day, provider, and model.

Jump to

Keyboard shortcuts

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