Skip to content

feat(settings): add subagent preset settings and session details - #6884

Merged
chinawch007 merged 1 commit into
apache:rust-previewfrom
chinawch007:feat/subagent-presets-pr4
Nov 13, 2026
Merged

chinawch007 merged 1 commit into
apache:rust-previewfrom
chinawch007:feat/subagent-presets-pr4

Conversation

@chinawch007

Copy link
Copy Markdown
Contributor

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.
  • Changed-file Biome, rustfmt, ASF header checks, and 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.

image image

AI use

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

Tool(s) and scope: OpenAI Codex assisted implementation, tests, conflict resolution, validation, and documentation. The commit retains Generated-by: OpenAI Codex.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

@chinawch007
chinawch007 merged commit 562bff1 into apache:rust-preview Nov 13, 2026
1 check passed
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.

1 participant