| 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 天前 |