Repository navigation
feat(settings): add subagent preset settings and session details - #6884
Merged
chinawch007 merged 1 commit intoNov 13, 2026
Merged
Conversation
Generated-by: OpenAI Codex
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
Add a shared desktop and terminal Subagents settings page for creating, editing, enabling, disabling, and deleting the presets already available through conversation tools. The form provides full-width name, description, and role-instruction fields, localized example placeholders, and a searchable model dropdown. Updates send only changed fields; conflicts preserve the draft, and unresolved writes use the existing settings journal and receipt recovery.
Show the applied role, complete instruction, and initial model in session details, separately from the current model. Details read the session's creation snapshot, so later changes to the source preset do not change that display. No new service schema or database migration is required.
Verification
Post-rebase checks:
node scripts/ci.mjs check tooling-tests: 254 passed.cargo nextest run -p maka-app-client -p maka-workbench --lib -E 'test(preset_settings_tests)': 3 passed, covering SQLite journal recovery and desktop/terminal preset behavior.git diff --check: passed.node scripts/ci.mjs run contracts: generated contract checks and SDK/product/UI type checks passed.node scripts/ci.mjs run product: product build and 4 product tests passed.cargo nextest run --locked -p maka-cli --features desktop-tests --test native-desktop -E 'test(desktop_subagent_settings)': 1 passed, including model dropdown interaction and native screenshots. The initial build ran out of disk space; the retry passed after space was reclaimed.Earlier live acceptance with Maka and DeepSeek Flash covered settings creation → conversational read/delegation → conversational update → continuation of the original child. The child retained its V1 instruction after the shared preset changed to V2. Restart preserved that distinction and the initial/current model display. This live-model run preceded the final layout changes and rebase; no Pro inference request was sent.
AI use
Tool(s) and scope: OpenAI Codex assisted implementation, tests, conflict resolution, validation, and documentation. The commit retains
Generated-by: OpenAI Codex.Checklist
Does this PR entail a change in behavior?