internal/

directory
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT

Directories

Path Synopsis
Package automation implements jcode Automations: scheduled and manual agent runs.
Package automation implements jcode Automations: scheduled and manual agent runs.
Package browser implements the Browser Use capability: a CDP-driven browser the agent can see (text a11y snapshots + screenshots) and operate (click, fill, navigate) behind tiered approvals.
Package browser implements the Browser Use capability: a CDP-driven browser the agent can see (text a11y snapshots + screenshots) and operate (click, fill, navigate) behind tiered approvals.
Package channel provides an abstraction for external messaging channels (e.g.
Package channel provides an abstraction for external messaging channels (e.g.
ble
Package feature holds compile-time feature flags gated by build tags, so a build can omit whole capabilities instead of only hiding them at runtime.
Package feature holds compile-time feature flags gated by build tags, so a build can omit whole capabilities instead of only hiding them at runtime.
Package flow implements jcode's dynamic-workflow engine: user- or agent-authored JavaScript orchestration scripts that fan work out across many subagents, run them in parallel/pipeline, and collect structured results — the plan lives in code (à la Claude Code Dynamic Workflows / Qoder CLI Workflows).
Package flow implements jcode's dynamic-workflow engine: user- or agent-authored JavaScript orchestration scripts that fan work out across many subagents, run them in parallel/pipeline, and collect structured results — the plan lives in code (à la Claude Code Dynamic Workflows / Qoder CLI Workflows).
Package handler defines the AgentEventHandler interface that decouples the agent runner from any specific UI implementation (TUI, ACP, Web, etc.).
Package handler defines the AgentEventHandler interface that decouples the agent runner from any specific UI implementation (TUI, ACP, Web, etc.).
Package hooks implements jcode's user-configurable hook system: external commands fired at key points of the agent loop (before/after a tool runs, on session start, when the agent is about to stop, etc.).
Package hooks implements jcode's user-configurable hook system: external commands fired at key points of the agent loop (before/after a tool runs, on session start, when the agent is about to stop, etc.).
Package memory implements jcode's cross-session learned memory: a file-based store under ~/.jcode/memory with a per-project root, an online note inbox (L1), a summary/index read path injected into the system prompt, and usage accounting that feeds the offline distillation pipeline (L2).
Package memory implements jcode's cross-session learned memory: a file-based store under ~/.jcode/memory with a per-project root, an online note inbox (L1), a summary/index read path injected into the system prompt, and usage accounting that feeds the offline distillation pipeline (L2).
pipeline
Package pipeline implements the offline memory distillation pipeline (design §5): phase 1 extracts durable facts per ended session with a cheap model; phase 2 consolidates them into curated artifacts with a restricted subagent, git-diff driven with a zero-token no-op fast path.
Package pipeline implements the offline memory distillation pipeline (design §5): phase 1 extracts durable facts per ended session with a cheap model; phase 2 consolidates them into curated artifacts with a restricted subagent, git-diff driven with a zero-token no-op fast path.
Package mode defines the unified, user-facing session mode that the three frontends (TUI, Web, ACP) all present through a single selector.
Package mode defines the unified, user-facing session mode that the three frontends (TUI, Web, ACP) all present through a single selector.
pkg
weixin
Package weixin implements the WeChat iLink Bot API client.
Package weixin implements the WeChat iLink Bot API client.
Package procutil provides small cross-platform process helpers shared by every place that shells out (tool executors, hook runner).
Package procutil provides small cross-platform process helpers shared by every place that shells out (tool executors, hook runner).
Package remote provides UI-agnostic helpers for connecting to and inspecting remote execution targets (currently SSH).
Package remote provides UI-agnostic helpers for connecting to and inspecting remote execution targets (currently SSH).
Package theme is the single source of truth for jcode's built-in color themes.
Package theme is the single source of truth for jcode's built-in color themes.
gen command
Command gen emits the web theme artifacts from the single source of truth in package theme.
Command gen emits the web theme artifacts from the single source of truth in package theme.
Package usage records and aggregates token-usage statistics across all jcode surfaces (TUI, web, ACP).
Package usage records and aggregates token-usage statistics across all jcode surfaces (TUI, web, ACP).
Package web implements the jcode web server and API.
Package web implements the jcode web server and API.

Jump to

Keyboard shortcuts

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