GENERATED FROM THE CURRENT SOURCE TREE · 2026-10-26
API reference
Every page in this section is generated at build time from the package's public modules, their JSDoc contracts, live tool schemas, and real import edges — never from copied prose. Pick a module below, or browse architecture, contracts, the tool catalog, and the settings schema.
Agent
lib/agent.js
lib/agent.js — Agent: owns context, provider/model selection, the tool loop, and persistence.
Agent.Context
lib/context.js
lib/context.js — Context: the shared conversation data model.
Agent.Env
lib/env.js
lib/env.js — Env: the sole global environment object.
Agent.IO
lib/io.js
lib/io.js — IO: provider IO/schema conversion, nothing else.
Agent.Jobs
lib/jobs.js
Portable, folder-only project Jobs.
App
lib/app.js
Opt-in application entry point.
App.CLI
lib/app/cli.js
lib/app/cli.js — CLI-owned process-facing command helpers.
App.GTUI
lib/app/gtui/gtui.js
GTUI public façade for synchronous terminal applications.
App.Markdown
lib/app/markdown/index.js
lib/app/markdown/index.js — App.Markdown: markdown STRUCTURE for any render target, presentation-free.
App.TUI
lib/app/tui/index.js
lib/app/tui/index.js — App.TUI: the terminal front end.
App.Web
lib/app/web/index.js
App.Web serves the browser application.