0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. PilotDeck
  2. /
  3. src
  4. /
  5. router
  6. /
  7. scenario
Kaguya-19Kaguya-19refactor(router): simplify scenarios and config schema
f2eb630a创建于 22 天前历史提交
文件最后提交记录最后更新时间
decideScenario.ts
refactor(router): simplify scenarios and config schema - Remove unused scenario types: background, think, longContext, webSearch - Delete longContextThreshold.ts entirely (logic no longer needed) - Simplify subagent policy to skip/judge (remove inherit/fixed) - Add allowedTools whitelist and optional blockedTools to orchestrate config - Add DEFAULT_SUBAGENT_POLICY, DEFAULT_SUBAGENT_MAX_TOKENS, DEFAULT_ALLOWED_TOOLS - Clean up parseRouterConfig to match simplified schema Co-authored-by: Cursor <cursoragent@cursor.com> 22 天前
subagentDetector.ts
refactor: rename Polit/PolitDeck to Pilot/PilotDeck across entire codebase Automated global rename covering all case variants: - PolitDeck → PilotDeck, politdeck → pilotdeck, POLITDECK → PILOTDECK - Polit → Pilot, polit → pilot, POLIT → PILOT, politDeck → pilotDeck Includes: - 648 content replacements across 200+ source files - 24 file renames + 3 directory renames (src/polit→pilot, tests/polit→pilot, docs/polit-config→pilot-config) - package.json name, bin, env vars updated - package-lock.json regenerated - "Politely" in server-manager.ts preserved via placeholder mechanism - All 587 unit tests pass, tsc --noEmit clean - E2E tests verified against real OpenRouter API (model, tool-use, context, lifecycle hooks) Co-authored-by: Cursor <cursoragent@cursor.com> 24 天前