Repository navigation
Land six worktrees: picker, status pulse, cursor MCP, kimi spend, code wiki - #766
Conversation
… 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
There was a problem hiding this comment.
💡 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".
| for (const name of names) { | ||
| if (Object.prototype.hasOwnProperty.call(map, name)) { | ||
| delete map[name]; | ||
| changed = true; |
There was a problem hiding this comment.
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 👍 / 👎.
| let index = readIndex(userDataPath, root); | ||
| if (!index) { | ||
| index = await refreshIndex({ userDataPath, repoRoot: root }); | ||
| } |
There was a problem hiding this comment.
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 👍 / 👎.
| costUnmetered: | ||
| thread.costUsd === 0 && | ||
| thread.inputTokens + thread.outputTokens > 0, |
There was a problem hiding this comment.
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 👍 / 👎.
Summary
Cherry-picked onto
origin/mainfrom the six Solenta worktree merges. Closes #765.Test plan
npm run typechecknpm 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 onorigin/main1953915)Made with Cursor