You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
完成,在 app 里试过:点开 Files、点 mod 窗格时侧边栏的仓库不变;点回另一个仓库的终端时切换;本机和 center 两个工作区来回切正常。
位置规则是 core/location.ts 的纯函数 focusedFolder(herdr, previous):焦点终端用它的文件夹(所在 space 的机器);layout 终端块用 focused().cwd,机器看地址(center/t19);焦点在 mod 窗格 / Files 等没有文件夹的地方时,同一个 space 里沿用上一次;换了 space 或还没有上一次时用当前 space 的文件夹。core 测试 11 个。
Activity
docs: plan moves to GitHub issues; ADRs 0001-0006 and GLOSSARY.md rep…
lw396 commentedon Nov 6, 2026
完成,在 app 里试过:点开 Files、点 mod 窗格时侧边栏的仓库不变;点回另一个仓库的终端时切换;本机和
center两个工作区来回切正常。core/location.ts的纯函数focusedFolder(herdr, previous):焦点终端用它的文件夹(所在 space 的机器);layout 终端块用focused().cwd,机器看地址(center/t19);焦点在 mod 窗格 / Files 等没有文件夹的地方时,同一个 space 里沿用上一次;换了 space 或还没有上一次时用当前 space 的文件夹。core 测试 11 个。io/context.ts把 Herdr 的 spaces/panes/focused 交给它,记住上一次的结果;test/fake-herdr.ts也假装这三个函数,io 测试覆盖。对话里加进本工单的范围:
io/known.ts按数据依赖的东西缓存(core/cache.ts):gh 账号按机器,remote 按机器 + 文件夹,仓库按机器 + host/owner/repo;5 分钟内不重查,↻ 强制重查,同时的查询只发一次。没登录的 gh 和没有 remote 的文件夹不缓存;↻ 之后晚到的旧结果不写缓存。提交:6b10c66、5868402、3f3f3b1、3546fe6。
feat: keep the current repository while focus is on a pane without a …
fix: a space switch onto a mod pane shows that space's folder; test c…
feat: the sidebar shows what is known about a place at once, cached p…
fix: a ↻ isn't undone by an older answer, and no remote isn't kept (#10)