Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
main
PilotDeck
/
src
/
pilot
下载当前目录
M
Mingwwww
fix(config): soft-recover agent.model vs router.scenarios.default conflict
a166f14c
创建于
7 天前
历史提交
文件
最后提交记录
最后更新时间
config
fix(config): soft-recover agent.model vs router.scenarios.default conflict Previously fatal: if a user updated agent.model through onboarding/UI without touching the router block, the gateway refused to boot and reinstalling didn't help because ~/.pilotdeck/pilotdeck.yaml survives. - loadPilotConfig: downgrade CONFIG_MODEL_CONFLICT from fatal to a warning and auto-align router.scenarios.default with agent.model (agent.model is the canonical source of truth) - ui/pilotdeckConfig: introduce syncAgentModelWithRouter() and run it inside writePilotDeckConfig so the on-disk yaml stays consistent whenever the UI or raw-yaml editor writes a new agent.model - add load-pilot-config test for the soft-recovery path Co-authored-by: Cursor <cursoragent@cursor.com>
7 天前
index.ts
fix(projects): avoid workspace id collisions Co-authored-by: Cursor <cursoragent@cursor.com>
14 天前
paths.ts
fix: cross-platform Windows compatibility for core runtime - paths.ts: normalize Windows backslashes and strip drive letters in project IDs - createBackup/restoreBackup: guard fs.chmod on Windows (no Unix permissions) - ProjectSessionStorage: sanitize illegal Windows filename characters (:, <, >, ", |, ?, *) - JsonlTranscriptWriter: use path.join for subagent paths instead of hardcoded / - BackgroundTaskRuntime: remove platform guard, let Windows use the same runtime - commandRunner: Windows-compatible process termination (taskkill vs SIGTERM) - listProjects: platform-aware project ID resolution - createLocalGateway: sanitize session keys for browser screenshot paths - pilotPaths.js: sync createLegacyProjectId with paths.ts normalization - package.json: cross-platform build script using Node.js fs module Co-authored-by: Cursor <cursoragent@cursor.com>
9 天前