文件最后提交记录最后更新时间
fix: resolve TS errors, remove dead permission docs, and speed up test suite - Remove misleading project-level deny documentation (pilotdeck.yaml permissions.deny was never implemented) - Add --test-force-exit and --test-timeout 60000 to npm test script, reducing suite runtime from 19+ minutes (hanging) to ~60 seconds - Fix TS compilation errors after rebase: EdgeClaw memory apiType cast, workspace-tool null check, gateway destructuring, microcompaction protocol removal, build-forked-messages assertion update - Add cronRunNow to MockGateway, remove stale serverToolTokens field - TUI permission prompt, help dialog, and related test/doc additions Co-authored-by: Cursor <cursoragent@cursor.com> 19 天前
fix(gateway): harden MCP timeout recovery, soften router config, expand web_search - mcp: on -32001 Request timed out, recycle the stdio transport so the next call respawns the subprocess. Stops @playwright/mcp-style wedges where the server-side page.goto keeps running and every follow-up call from the same session also times out. - router: stop treating a partial router: block from the UI as fatal. parseRouterConfig now keeps the rest of the config when scenarios is absent; ensureRouterConfig fills scenarios.default from agent.model so RouterRuntime always sees a valid map. - web_search: route tools.webSearch.{apiKey,endpoint} from yaml into the builtin tool; add hostname-based auth-mode auto-detection so *.serp.hk / *.serp.global endpoints use POST + Bearer (their current API shape) while SerpAPI keeps the legacy GET ?api_key=. - ui/server: add POST /api/config/test-web-search mirroring the same dialect rules so the Settings → Search Test button probes the exact shape the agent tool will use. Co-authored-by: Cursor <cursoragent@cursor.com> 18 天前
fix: resolve TS errors, remove dead permission docs, and speed up test suite - Remove misleading project-level deny documentation (pilotdeck.yaml permissions.deny was never implemented) - Add --test-force-exit and --test-timeout 60000 to npm test script, reducing suite runtime from 19+ minutes (hanging) to ~60 seconds - Fix TS compilation errors after rebase: EdgeClaw memory apiType cast, workspace-tool null check, gateway destructuring, microcompaction protocol removal, build-forked-messages assertion update - Add cronRunNow to MockGateway, remove stale serverToolTokens field - TUI permission prompt, help dialog, and related test/doc additions Co-authored-by: Cursor <cursoragent@cursor.com> 19 天前
fix: resolve TS errors, remove dead permission docs, and speed up test suite - Remove misleading project-level deny documentation (pilotdeck.yaml permissions.deny was never implemented) - Add --test-force-exit and --test-timeout 60000 to npm test script, reducing suite runtime from 19+ minutes (hanging) to ~60 seconds - Fix TS compilation errors after rebase: EdgeClaw memory apiType cast, workspace-tool null check, gateway destructuring, microcompaction protocol removal, build-forked-messages assertion update - Add cronRunNow to MockGateway, remove stale serverToolTokens field - TUI permission prompt, help dialog, and related test/doc additions Co-authored-by: Cursor <cursoragent@cursor.com> 19 天前
README.md

产品定制示例(_example)

这是一个产品定制目录的模板。复制此目录并重命名为客户标识即可开始。

cp -r products/_example products/customer-a

目录说明

_example/
  plugins/
    example-compliance/       ← 示例插件:合规审计钩子
      plugin.json
      hooks/hooks.json
      commands/audit-report.md
  config/
    pilotdeck.yaml            ← 覆盖配置示例
  brand/
    theme.json                ← 品牌主题覆盖(待 BrandConfig 贡献点就绪后生效)
  README.md                   ← 本文件

部署方式

  1. plugins/ 下的插件目录链接到 ~/.pilotdeck/plugins/ 或项目级 .pilotdeck/plugins/
  2. config/pilotdeck.yaml 合并到目标环境的配置
  3. 启动 PilotDeck,插件自动发现并加载
# 示例:软链接插件到全局目录
ln -s $(pwd)/products/customer-a/plugins/example-compliance ~/.pilotdeck/plugins/example-compliance

# 启动
npm run server