Directories
ยถ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
panda
command
Command panda is the PANDA core daemon.
|
Command panda is the PANDA core daemon. |
|
internal
|
|
|
askengine
Package askengine is the unified entry engine shared by `panda ask` (CLI) and the web panel: one prompt in, three intents out โ answer (pure LLM reply), tool_call (memory tools, executed and fed back), task (submitted to the node network, locally or delegated).
|
Package askengine is the unified entry engine shared by `panda ask` (CLI) and the web panel: one prompt in, three intents out โ answer (pure LLM reply), tool_call (memory tools, executed and fed back), task (submitted to the node network, locally or delegated). |
|
bus
Package bus implements the WebSocket transport and wire protocol for node-to-node task delegation (design doc ยง10).
|
Package bus implements the WebSocket transport and wire protocol for node-to-node task delegation (design doc ยง10). |
|
commander
Package commander implements the three-tier capability execution: native (deterministic commands, no model), agent (AI CLI via adapter), and manual (human-notified).
|
Package commander implements the three-tier capability execution: native (deterministic commands, no model), agent (AI CLI via adapter), and manual (human-notified). |
|
config
Package config loads PANDA node configuration from YAML.
|
Package config loads PANDA node configuration from YAML. |
|
core
Package core hosts the node lifecycle: registration, heartbeat loop, and graceful shutdown.
|
Package core hosts the node lifecycle: registration, heartbeat loop, and graceful shutdown. |
|
ctxstore
Package ctxstore implements the local context snapshot cache (design doc ยง12.4): a hashโdata KV store over the `context` table with LRU eviction.
|
Package ctxstore implements the local context snapshot cache (design doc ยง12.4): a hashโdata KV store over the `context` table with LRU eviction. |
|
defense
Package defense implements the task-loop defense chain (design doc ยง14) and the permission model (design doc ยง16).
|
Package defense implements the task-loop defense chain (design doc ยง14) and the permission model (design doc ยง16). |
|
entry
Package entry implements the unified entry model (design doc ยง7): one model call classifies a user request as an answer, a controlled tool call, or a structured task.
|
Package entry implements the unified entry model (design doc ยง7): one model call classifies a user request as an answer, a controlled tool call, or a structured task. |
|
executil
Package executil wraps os/exec so child processes can be hidden on Windows.
|
Package executil wraps os/exec so child processes can be hidden on Windows. |
|
i18n
Package i18n provides the CLI's user-facing strings in the five project languages (the same set the READMEs and web console ship).
|
Package i18n provides the CLI's user-facing strings in the five project languages (the same set the READMEs and web console ship). |
|
install
Package install implements `panda install` / `panda uninstall` / `panda doctor`: placing the binary on PATH (persistently, per-OS), and a whitelist-based uninstall that backs up and removes only OpenPanda-owned state while preserving user assets (projects, memory, skills, work).
|
Package install implements `panda install` / `panda uninstall` / `panda doctor`: placing the binary on PATH (persistently, per-OS), and a whitelist-based uninstall that backs up and removes only OpenPanda-owned state while preserving user assets (projects, memory, skills, work). |
|
ledger
Package ledger manages the local capability directory (SQLite cache of node capability cards) and this node's self-registration.
|
Package ledger manages the local capability directory (SQLite cache of node capability cards) and this node's self-registration. |
|
log
Package log provides structured JSON logging over slog.
|
Package log provides structured JSON logging over slog. |
|
mcp
Package mcp is a minimal Model Context Protocol (MCP) client over stdio.
|
Package mcp is a minimal Model Context Protocol (MCP) client over stdio. |
|
memory
Package memory implements the two-layer memory system (design doc ยง17): Hermes personal-assistant memory and per-project memory, kept physically isolated by an isolation wall.
|
Package memory implements the two-layer memory system (design doc ยง17): Hermes personal-assistant memory and per-project memory, kept physically isolated by an isolation wall. |
|
reminders
Package reminders implements scheduled user reminders (design P1-28): "ๆ้ๆ 5 ๅ้ๅๅผไผ" โ a reminder is persisted in SQLite, and a Scanner running in the daemon (and/or the web panel) claims each reminder when it comes due and fires a callback (log line, Web Push notification, SSE change signal).
|
Package reminders implements scheduled user reminders (design P1-28): "ๆ้ๆ 5 ๅ้ๅๅผไผ" โ a reminder is persisted in SQLite, and a Scanner running in the daemon (and/or the web panel) claims each reminder when it comes due and fires a callback (log line, Web Push notification, SSE change signal). |
|
scheduler
Package scheduler implements the P2P per-edge routing decision (design doc ยง6.4, ยง2.4 DCPS analogy).
|
Package scheduler implements the P2P per-edge routing decision (design doc ยง6.4, ยง2.4 DCPS analogy). |
|
security
Package security implements the execution-side hardening of design doc ยง16 and plan P3-29..P3-32: a sandboxed subprocess environment, network egress validation, secret scrubbing, and a high-risk audit trail.
|
Package security implements the execution-side hardening of design doc ยง16 and plan P3-29..P3-32: a sandboxed subprocess environment, network egress validation, secret scrubbing, and a high-risk audit trail. |
|
sessions
Package sessions implements the web console's conversation model: each session is one chat thread plus โ when the working directory is a git repository โ a dedicated git worktree, so changes made while answering a session's prompts land on an isolated branch instead of the user's checkout (the codex / claude-code working model).
|
Package sessions implements the web console's conversation model: each session is one chat thread plus โ when the working directory is a git repository โ a dedicated git worktree, so changes made while answering a session's prompts land on an isolated branch instead of the user's checkout (the codex / claude-code working model). |
|
skills
Package skills implements the self-evolving procedural-memory layer (design ยง8): reusable workflows distilled from task history into SKILL.md files.
|
Package skills implements the self-evolving procedural-memory layer (design ยง8): reusable workflows distilled from task history into SKILL.md files. |
|
storage
Package storage wraps the local SQLite database (WAL mode).
|
Package storage wraps the local SQLite database (WAL mode). |
|
util
Package util holds small shared helpers.
|
Package util holds small shared helpers. |
|
version
Package version holds the build version in one place so both the CLI (`panda version`) and the web panel (/api/version) report the same value.
|
Package version holds the build version in one place so both the CLI (`panda version`) and the web panel (/api/version) report the same value. |
|
scripts
|
|
|
genicons
command
Command genicons renders the PANDA PWA icon set from a pure-stdlib drawing so the manifest is installable and push notifications carry an app mark without shipping binary assets or a third-party drawing library (design P2-17).
|
Command genicons renders the PANDA PWA icon set from a pure-stdlib drawing so the manifest is installable and push notifications carry an app mark without shipping binary assets or a third-party drawing library (design P2-17). |
|
smoke-delegate
command
Command smoke-delegate verifies cross-process task delegation without the entry model: it becomes an ephemeral scheduler participant (the same pattern internal/askengine uses โ a fresh node id, the node's capability card, peers dialed once), submits a task requiring an ability only a peer has, and reports where the task ran and what it produced.
|
Command smoke-delegate verifies cross-process task delegation without the entry model: it becomes an ephemeral scheduler participant (the same pattern internal/askengine uses โ a fresh node id, the node's capability card, peers dialed once), submits a task requiring an ability only a peer has, and reports where the task ran and what it produced. |
|
webui
|
|
|
cmd/panel
command
Command panel runs the web control panel as a sidecar, reading the same SQLite store the kernel daemon writes (see webui/README.md).
|
Command panel runs the web control panel as a sidecar, reading the same SQLite store the kernel daemon writes (see webui/README.md). |
|
panel
Package panel serves the legacy PWA control panel (kept frozen as an optional webui/ sidecar; the kernel daemon no longer mounts it): the static web app under webui/web/pwa plus the JSON API that backs it โ task queue, task detail, and the human approval of reviewed tasks (design ยง14.2 Layer 4).
|
Package panel serves the legacy PWA control panel (kept frozen as an optional webui/ sidecar; the kernel daemon no longer mounts it): the static web app under webui/web/pwa plus the JSON API that backs it โ task queue, task detail, and the human approval of reviewed tasks (design ยง14.2 Layer 4). |
|
push
Package push implements the (frozen) Web Push notifications behind the webui panel (design P3-26): the VAPID identity (RFC 8292), message encryption (RFC 8291 over the aes128gcm content coding from RFC 8188), subscription storage, and delivery to the browser's push service.
|
Package push implements the (frozen) Web Push notifications behind the webui panel (design P3-26): the VAPID identity (RFC 8292), message encryption (RFC 8291 over the aes128gcm content coding from RFC 8188), subscription storage, and delivery to the browser's push service. |
Click to show internal directories.
Click to hide internal directories.