Screenshot runs start a runner and create Cortex's files in the vault they open
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- electron, nodejs, typescript
- 领域
- desktop-dev
调研方向
Start with the screenshot entry point behind npm run desktop:shot and the SealedChip component in RailStatus.tsx, which requests seal status from cortex-runner.js serve. Find where the runner is spawned in screenshot mode, and where the nested .gitignore files and .vault-meta/cortex/state/colours.json are written. Done when a screenshot run on a fresh npm run sample vault starts no runner and leaves the vault file tree unchanged.
由索引模型根据 Issue 内容生成。
描述
npm run desktop:shot is meant to open the vault read-only. On a vault Cortex has not used before, a screenshot run still:
- starts a
cortex-runner.js servechild process: the side rail's "Sealed through" line (SealedChipinRailStatus.tsx) asks the runner for its seal status - creates Cortex's own files in the vault: the nested
.gitignorefiles of its folders and.vault-meta/cortex/state/colours.json
These are Cortex's runtime files, not notes, and a vault Cortex already uses has them already. But a screenshot run should leave the vault exactly as it found it and start no runner.
Found while adding the stand-in agents status (#9), and reproduced on unchanged main with a fresh npm run sample vault.
Fix idea: in screenshot runs, skip the seal-status request (or answer it from a stand-in, as with the agents status) and keep colour slots in memory instead of saving them.
- 主要语言
- TypeScript
- 星标
- 2
- 派生
- 1
- 平均合并
- 5 分钟
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
A21-devs/cortex 的其他 Issue
-
help wanted
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
first issue
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
-
first issue
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
documentation help wanted
难度 3/5 1-2 天 新手友好度 62/100
维护者通常 1 天内回复
相似的 Issue
-
area:config bug priority:medium
难度 2/5 1-3 小时 新手友好度 88/100
Doezer/Questarr#1451 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
sidebandstudio/clawtrate#1156 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
WenyuChiou/agent-board#1993 ·
维护者通常 1 天内回复
-
bug design
难度 2/5 1-3 小时 新手友好度 88/100
Colorado-Startups/coloradostartups.org#151 ·
维护者通常 1 天内回复
-
question
难度 2/5 1-3 小时 新手友好度 78/100
jarrodwatts/claude-hud#883 · 1 条评论 ·
维护者通常 1 天内回复