wuweiqi 872ad960de feat: open source 2 ヶ月 前
..
certs 872ad960de feat: open source 2 ヶ月 前
scripts 872ad960de feat: open source 2 ヶ月 前
server 872ad960de feat: open source 2 ヶ月 前
src 872ad960de feat: open source 2 ヶ月 前
.gitignore 872ad960de feat: open source 2 ヶ月 前
README.md 872ad960de feat: open source 2 ヶ月 前
index.html 872ad960de feat: open source 2 ヶ月 前
package.json 872ad960de feat: open source 2 ヶ月 前
tsconfig.json 872ad960de feat: open source 2 ヶ月 前
tsconfig.server.json 872ad960de feat: open source 2 ヶ月 前
vite.config.ts 872ad960de feat: open source 2 ヶ月 前

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.