ZCode Source Sync Bot 0a1fc56d27 chore: sync ZCode source 1 month ago
..
certs 872ad960de feat: open source 2 months ago
scripts 872ad960de feat: open source 2 months ago
server aac4755666 feat: update to v3.15.1 1 month ago
src aac4755666 feat: update to v3.15.1 1 month ago
tests 0a1fc56d27 chore: sync ZCode source 1 month ago
.gitignore 872ad960de feat: open source 2 months ago
README.md 872ad960de feat: open source 2 months ago
index.html 872ad960de feat: open source 2 months ago
package.json aac4755666 feat: update to v3.15.1 1 month ago
tsconfig.json 872ad960de feat: open source 2 months ago
tsconfig.server.json 872ad960de feat: open source 2 months ago
vite.config.ts 872ad960de feat: open source 2 months ago

README.md

debug

Development-only trace and context viewer for ZCode.

Run from the repository root:

pnpm --filter debug dev

The Hono API reads existing local diagnostics only:

  • ~/.zcode/cli/log/*.jsonl
  • ~/.zcode/cli/db/db.sqlite
  • an optional session event JSONL file or directory selected in the UI

It does not modify agent runtime behavior or write back to the agent database.

The debug server also starts a local network capture proxy by default:

  • API/UI: http://127.0.0.1:4174
  • Proxy: http://127.0.0.1:4184
  • Local CA: packages/debug/certs/network-ca/certs/ca.pem

Run the CLI you want to inspect with the environment values shown in the Network panel, usually ZCODE_HTTP_PROXY and ZCODE_AGENT_CA_CERT. The agent derives standard proxy and CA variables only inside controlled subprocess boundaries. Disable the proxy with ZCODE_DEBUG_NETWORK_CAPTURE=0 when you only want log/DB inspection.