Skip to content

Land six worktrees: picker, status pulse, cursor MCP, kimi spend, code wiki - #766

Merged
currentbits merged 6 commits into
mainfrom
coder/land-six-worktrees-nightly
Aug 29, 2026
Merged

currentbits merged 6 commits into
mainfrom
coder/land-six-worktrees-nightly

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Summary

  • OpenCode picker keeps the highlighted model in view while you move through the list.
  • Sidebar threads pulse for working / waiting / delegating / done.
  • Model picker is searchable instead of a first-screen-only list.
  • Cursor runs get the same MCP injection as the other providers (memory, orchestration, preload).
  • Kimi reports cost/usage so spend tracking and the daily budget gate can see it.
  • Living codebase docs: auto-maintained repo wiki and visual map.

Cherry-picked onto origin/main from the six Solenta worktree merges. Closes #765.

Test plan

  • npm run typecheck
  • npm run test:core (38/38)
  • npm run test:renderer (1777/1777)
  • npm run test:memory (226/226)
  • npm run test:stats (14/14)
  • npm run test:electron (2894 pass; the 3 failures also fail on origin/main 1953915)

Made with Cursor

Willem added 6 commits August 29, 2026 09:55
… When going through the llm picker when we are opencode the m
… When a thread is working, waiting, delegating or done i want
… I want a search in the model picker so not the first screen
… Cursor runs get no MCP injection: memory, orchestration, pre
… Kimi emits no cost/usage: spend tracking, daily budget gate,
… Living codebase docs: auto-maintained repo wiki and visual c
@currentbits
currentbits merged commit 7679da0 into main Aug 29, 2026
3 of 6 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5e5f6885dd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread electron/memory-sup.js
Comment on lines +1089 to +1092
for (const name of names) {
if (Object.prototype.hasOwnProperty.call(map, name)) {
delete map[name];
changed = true;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve pre-existing Cursor MCP entries during cleanup

When a user imports an existing .cursor/mcp.json server into Solenta, syncUserMcpServers adds that server to activeServers(), and normal supervisor shutdown passes every active name to this function. This unconditional deletion therefore removes the user's original server from Cursor on every app shutdown—even when ensureCursorMcpConfig found the entry already correct and never created it. Track which entries Solenta actually inserted or overwrote and restore/preserve pre-existing values instead of deleting every active name.

Useful? React with 👍 / 👎.

Comment thread electron/services.js
Comment on lines +4615 to +4618
let index = readIndex(userDataPath, root);
if (!index) {
index = await refreshIndex({ userDataPath, repoRoot: root });
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Refresh an existing index before presenting the code map

When a cached index already exists and the default branch has advanced, opening the Memory tab skips refreshIndex. buildWiki then combines the stale cached modules with the current branch SHA, and publishWiki persists that mismatched map for bootstrap consumers. Until some later dispatch happens to refresh the index, the UI and agents receive an outdated map labeled as the current commit; compare the cached headSha with the current default head or use the refresh path here.

Useful? React with 👍 / 👎.

Comment thread src/fleet.ts
Comment on lines +435 to +437
costUnmetered:
thread.costUsd === 0 &&
thread.inputTokens + thread.outputTokens > 0,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Distinguish free runs from unreported costs

For any thread that processes tokens at an explicit zero-dollar price—such as the repository's OpenCode *-free models—this condition marks the cost as unmetered. The Fleet view consequently replaces the accurate $0.00 with “unmetered,” even though the provider did report a real zero cost. Cost-report presence must be tracked separately (or the inference limited to adapters known not to report USD) rather than inferred from costUsd === 0.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Land six worktrees and cut nightly

1 participant