slash: unified preset+model picker, grouped suggestions, kill 11 commands + harvest/branch#453
Merged
Conversation
…ands + harvest/branch
The slash surface was 58 commands deep with no organization, two confusable
options for "fresh start" (/clear vs /new), separate preset and model commands
that solved the same user question ("what AI am I using"), and two heavy
features that almost nobody opted into. Pulled all of that apart.
Picker
* ModelPicker now shows the 3 presets at the top with cost/headline copy and
the model catalog below; auto-detects which preset the loop currently matches
(model + effort + autoEscalate) so the cursor lands on the active row. Both
/preset (no arg) and /model (no arg) open it.
SlashSuggestions
* SlashCommandSpec gains a `group` field (chat / setup / info / session /
extend / code / jobs / advanced). Suggestion palette renders section headers
on a bare /; advanced rows hide behind a "+ N advanced · type to search"
footer until the user types a letter. /help walks the same registry, so
there's one source of truth.
Telemetry
* New ~/.reasonix/slash-usage.json counter (read-modify-write, atomic rename)
feeds suggestSlashCommands so frequent commands sort first within a prefix.
emitSlashInvoked is now wired to the events.jsonl sidecar.
Removals (commands)
* /models, /keys, /resume, /semantic — redundant with picker / /help / /doctor.
* /clear merged into /new (now an alias) — the visual-only clear was the most
common confusion source ("why does /clear keep my context?").
* /effort, /rename, /forget, /apply-plan, /think, /tool, /mcp browse — second
pass; either covered by other UI (sessions picker has rename/delete; preset
locks effort) or self-described as fallback / debug.
Removals (features)
* /harvest and the Pillar-2 plan-state extractor (src/harvest.ts).
* /branch and the parallel-sample selector (src/consistency.ts,
src/loop/branch.ts). Streaming/branching coupling, BranchCard,
branch_start/progress/done events, transcript planState/harvestedTurns,
--harvest/--branch CLI flags, all gone.
* benchmarks/harvest/ deleted; ARCHITECTURE.md collapsed from four pillars
to three; README + zh-CN + dashboard/PARITY updated.
i18n
* Cleared dead keys for every removed command (handlers.basic.helpHelp..helpExit,
keys*, semantic, resume*, models*, harvest*, branch*, effort*, think*, tool*,
apply-plan*, slash.harvest, slash.branch, ui.harvest*, ui.branch*).
Tests: 138 files / 2192 tests pass. Public API drops harvest, runBranches,
TypedPlanState, BranchSummary, etc.; consumers using those break intentionally.
Follows the harvest feature removal — benchmarks/harvest/ no longer exists, so the CI step was breaking on ERR_MODULE_NOT_FOUND. τ-bench dry-run stays.
This was referenced May 8, 2026
Merged
Closed
esengine
added a commit
that referenced
this pull request
May 8, 2026
…or session lifetime (#465) (#471) The /tool slash command was removed in #453 but its supporting plumbing was left behind: every tool result was still being pushed into a useRef array, with no consumer ever reading it. Long-running sessions accumulated full Read/Grep/Bash output indefinitely and ran out of heap. #465 reports a JS heap OOM after ~2.6 hours on v0.31.0; this leak matches the failure shape (mark-compacts ineffective, 4GB ceiling).
esengine
pushed a commit
that referenced
this pull request
May 9, 2026
Closes #449 - Theme runtime via useColor() hook + ThemeProvider context - Built-in themes: default, dark, light, tokyo-night, github-dark, github-light, plus auto/high-contrast - Persisted via config: theme.name, with auto resolving against terminal background - /theme slash command (advanced group) with arg completer Merged through #453 slash refactor (theme placed in advanced group) and #424 semantic config additions.
ChasLui
pushed a commit
to ChasLui/DeepSeek-Reasonix
that referenced
this pull request
May 23, 2026
…ands + harvest/branch (esengine#453) * slash: unified preset+model picker, grouped suggestions, kill 11 commands + harvest/branch The slash surface was 58 commands deep with no organization, two confusable options for "fresh start" (/clear vs /new), separate preset and model commands that solved the same user question ("what AI am I using"), and two heavy features that almost nobody opted into. Pulled all of that apart. Picker * ModelPicker now shows the 3 presets at the top with cost/headline copy and the model catalog below; auto-detects which preset the loop currently matches (model + effort + autoEscalate) so the cursor lands on the active row. Both /preset (no arg) and /model (no arg) open it. SlashSuggestions * SlashCommandSpec gains a `group` field (chat / setup / info / session / extend / code / jobs / advanced). Suggestion palette renders section headers on a bare /; advanced rows hide behind a "+ N advanced · type to search" footer until the user types a letter. /help walks the same registry, so there's one source of truth. Telemetry * New ~/.reasonix/slash-usage.json counter (read-modify-write, atomic rename) feeds suggestSlashCommands so frequent commands sort first within a prefix. emitSlashInvoked is now wired to the events.jsonl sidecar. Removals (commands) * /models, /keys, /resume, /semantic — redundant with picker / /help / /doctor. * /clear merged into /new (now an alias) — the visual-only clear was the most common confusion source ("why does /clear keep my context?"). * /effort, /rename, /forget, /apply-plan, /think, /tool, /mcp browse — second pass; either covered by other UI (sessions picker has rename/delete; preset locks effort) or self-described as fallback / debug. Removals (features) * /harvest and the Pillar-2 plan-state extractor (src/harvest.ts). * /branch and the parallel-sample selector (src/consistency.ts, src/loop/branch.ts). Streaming/branching coupling, BranchCard, branch_start/progress/done events, transcript planState/harvestedTurns, --harvest/--branch CLI flags, all gone. * benchmarks/harvest/ deleted; ARCHITECTURE.md collapsed from four pillars to three; README + zh-CN + dashboard/PARITY updated. i18n * Cleared dead keys for every removed command (handlers.basic.helpHelp..helpExit, keys*, semantic, resume*, models*, harvest*, branch*, effort*, think*, tool*, apply-plan*, slash.harvest, slash.branch, ui.harvest*, ui.branch*). Tests: 138 files / 2192 tests pass. Public API drops harvest, runBranches, TypedPlanState, BranchSummary, etc.; consumers using those break intentionally. * ci: drop harvest-bench dry-run step Follows the harvest feature removal — benchmarks/harvest/ no longer exists, so the CI step was breaking on ERR_MODULE_NOT_FOUND. τ-bench dry-run stays.
ChasLui
pushed a commit
to ChasLui/DeepSeek-Reasonix
that referenced
this pull request
May 23, 2026
…or session lifetime (esengine#465) (esengine#471) The /tool slash command was removed in esengine#453 but its supporting plumbing was left behind: every tool result was still being pushed into a useRef array, with no consumer ever reading it. Long-running sessions accumulated full Read/Grep/Bash output indefinitely and ran out of heap. esengine#465 reports a JS heap OOM after ~2.6 hours on v0.31.0; this leak matches the failure shape (mark-compacts ineffective, 4GB ceiling).
ChasLui
pushed a commit
to ChasLui/DeepSeek-Reasonix
that referenced
this pull request
May 23, 2026
Closes esengine#449 - Theme runtime via useColor() hook + ThemeProvider context - Built-in themes: default, dark, light, tokyo-night, github-dark, github-light, plus auto/high-contrast - Persisted via config: theme.name, with auto resolving against terminal background - /theme slash command (advanced group) with arg completer Merged through esengine#453 slash refactor (theme placed in advanced group) and esengine#424 semantic config additions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Slash surface had 58 commands with no organization, two confusable "fresh start" commands (
/clearvs/new), separate preset/model commands solving the same user question, and two heavy features almost nobody opted into. Pulled all of that apart.Picker
ModelPickernow shows the 3 presets at the top with cost/headline copy and the model catalog below. Auto-detects which preset the loop currently matches (model + effort + autoEscalate) so the cursor lands on the active row. Both/preset(no arg) and/model(no arg) open it.Grouped suggestions
SlashCommandSpecgains agroupfield (chat / setup / info / session / extend / code / jobs / advanced). Suggestion palette renders section headers on a bare/; advanced rows hide behind a+ N advanced · type to searchfooter until the user types a letter./helpwalks the same registry, so there's one source of truth.Telemetry
New
~/.reasonix/slash-usage.jsoncounter (read-modify-write, atomic rename) feedssuggestSlashCommandsso frequent commands sort first within a prefix.emitSlashInvokedwired to the events.jsonl sidecar for cross-session usage analysis.Removals — 11 commands
/models/keys/help/resume/sessionspicker has switch action/semantic/doctor/clear/new(alias) — was the most common confusion source/effort/rename/sessionspicker has rename action/forget/sessionspicker has delete action/apply-plan/think/tool/mcp browse/mcphandler still routes["browse"]Removals — features
/harvest,src/harvest.ts)/branch,src/consistency.ts,src/loop/branch.ts)BranchCard,branch_start/progress/doneevents, transcriptplanState/harvestedTurns,--harvest/--branchCLI flagsbenchmarks/harvest/deletedARCHITECTURE.mdcollapsed from four pillars to three; README + zh-CN +dashboard/PARITY.mdupdatedi18n cleanup
Cleared dead keys for every removed command/handler:
handlers.basic.{helpHelp..helpExit, keys*},handlers.{semantic, sessions.resume*, model.{models*,harvest*,branch*,effort*}, observability.{think*,tool*}, edits.applyPlan*},slash.{harvest, branch, effort, rename, forget, apply-plan, think, tool, models},ui.{harvest*, branch*}.Public API breaking changes
src/index.tsdrops these exports (consumers using them break intentionally):harvest,runBranches,aggregateBranchUsage,defaultSelectoremptyPlanState,isPlanStateEmptyTypedPlanState,HarvestOptions,BranchSample,BranchSummary,BranchProgress,BranchOptions,BranchResult,BranchSelectorTest plan
npm run verifypasses (build + biome + tsc + 2192 tests across 138 files)/presetand/model(bare) open the picker; arg form still works/shows grouped suggestion palette with advanced collapsed/helprenders by group/clearroutes to/newhandler (full reset, not screen-only)events.jsonlrecordsslash.invokedper turn~/.reasonix/slash-usage.jsonincrements + sorts prefix matches