Skip to content

0.2.24#792

Merged
XingYu-Zhong merged 44 commits into
masterfrom
develop
Jul 7, 2026
Merged

0.2.24#792
XingYu-Zhong merged 44 commits into
masterfrom
develop

Conversation

@XingYu-Zhong

Copy link
Copy Markdown
Collaborator

No description provided.

XingYu-Zhong and others added 30 commits July 4, 2026 11:16
Summary:\n- Drop legacy top-level instructions during settings normalization.\n- Add regression coverage for stale instructions payloads.\n\nTests:\n- npm run test -- src/shared/app-settings.test.ts\n- git diff --check
Summary:\n- Add regression coverage for re-enabling disabled memory records through renderer and Kun memory paths.\n\nTests:\n- npm run test -- src/renderer/src/components/settings-section-memory.test.ts src/renderer/src/components/settings-section-agents.test.ts src/renderer/src/agent/kun-runtime.test.ts\n- npm --prefix kun run test -- src/memory/memory-store.test.ts\n- git diff --check
Summary:\n- Collapse composer reasoning choices behind a submenu in the model picker.\n- Keep the selected reasoning effort visible in the main control.\n\nTests:\n- npm run test -- src/renderer/src/components/chat/FloatingComposer.test.ts\n- git diff --check
Summary:\n- Replace the large numbered timeline jump rail with a compact wave rail.\n- Add prompt preview and left-side positioning that avoids chat content.\n\nTests:\n- npm run test -- src/renderer/src/components/chat/MessageTimeline.turn-rail.test.ts\n- git diff --check
Summary:\n- Add provider-level retry settings for model requests and wire them through GUI settings, IPC, Kun config, and runtime clients.\n- Emit retry status events into the chat timeline while retryable model responses back off.\n\nTests:\n- npm --prefix kun run test -- tests/model-client.test.ts tests/contracts.test.ts\n- npm run test -- src/renderer/src/components/settings-section-agents.test.ts src/renderer/src/agent/kun-mapper.test.ts src/renderer/src/store/chat-store-runtime.test.ts src/main/ipc/app-ipc-schemas.test.ts\n- npm run typecheck\n- npm run build:kun\n- git diff --check
Strengthen the active sidebar pin action background so it masks the active thread title more clearly.\n\nValidated with: npm run test -- SidebarProjectsSection.test.ts
Add a workspace context-menu action to archive all active threads in the selected project.\n\nValidated with: npm run test -- SidebarProjectsSection.test.ts
Move the Loop entry into the workspace mode tabs and remove the duplicate sidebar command row.\n\nValidated with: npm run test -- WorkspaceModeTabs
Add Kun-managed IM commands for thread management, model switching, goal/status inspection, runtime usage, and IM attachment delivery. Also tighten IM model/provider selection and prompt-cache behavior.\n\nValidated with:\n- npm run test -- src/main/claw-runtime.test.ts src/shared/claw-commands.test.ts src/main/weixin-bridge-runtime.test.ts src/renderer/src/store/chat-store-thread-actions.test.ts\n- npm run test -- src/renderer/src/components/chat/FloatingComposer.test.ts src/renderer/src/components/chat/composer-model-selection.test.ts src/renderer/src/store/chat-store-app-actions.test.ts src/renderer/src/store/chat-store-helpers.test.ts src/shared/app-settings-provider.test.ts\n- npm --prefix kun run test -- src/adapters/tool/im-attachment-tool.test.ts src/adapters/tool/local-tool-host.test.ts\n- npm run typecheck\n- npm run build
Summary:\n- Cascade parent interrupts to foreground subagents while keeping detached subagents independent.\n- Keep detached subagent lifecycle updates visible without restoring parent busy state.\n- Render detached completion callbacks as background subagent notices.\n\nTests:\n- npm run test\n- npm run typecheck\n- npm run build:kun\n- npm run lint
Summary:\n- Preserve durable task outlines during heuristic compaction fallback.\n- Strengthen model compaction handoff prompts for task and issue lists.\n- Raise the default compaction summary budget to 2048 tokens and clarify config docs.\n\nTests:\n- npm --prefix kun test -- src/loop/context-compactor.test.ts src/services/turn-service.test.ts\n- npm test -- src/shared/app-settings.test.ts\n- npm run typecheck\n- npm run build:kun\n- npm --prefix kun run typecheck\n- npm run test\n- npm run lint
Summary:
- Add composer prompt optimization settings, IPC, and prompt rewrite service.
- Add the composer sparkle action and localized UI strings.
- Use provider-aware optimizer model defaults so a separate optimization provider does not receive the active provider's small-model id.

Tests:
- npx vitest run src/main/services/prompt-optimization-service.test.ts src/main/ipc/app-ipc-schemas.test.ts src/renderer/src/components/chat/FloatingComposer.test.ts
- npm run typecheck
- npm run build
- git diff --check
Recover persisted token/component names from record keys, discard malformed design-system entries before renderer state load, and reject component definitions whose saved tree/slots cannot be safely instantiated.\n\nFixes #751
Reviewed as part of open-PR triage. Scope is limited to Windows/background-shell test stabilization.
Reviewed as part of open-PR triage. Scope is limited to gating a POSIX-only fd fixture.
Reviewed as part of open-PR triage. Normalizes tool result relative paths without changing filesystem boundary checks.
Reviewed as part of open-PR triage. Normalizes IM attachment relative paths while preserving workspace escape checks.
Reviewed as part of open-PR triage. Keeps symlink/junction traversal coverage while avoiding Windows privilege requirements.
Reviewed as part of open-PR triage. Adds expiry cleanup and LRU capacity for Write retrieval indexes.
Reviewed as part of open-PR triage. Adds expiry cleanup and LRU capacity for repo_map indexes.
Reviewed as part of open-PR triage. Preserves the stable tool catalog and returns deterministic errors for unavailable GUI input tools.
Reviewed as part of open-PR triage. Clears deleted-thread session, event, recorder, and usage state in memory.
Reviewed as part of open-PR triage. Buffers early Feishu SSE events and closes late subscriptions correctly.
Reviewed as part of open-PR triage. Aligns provider retry coverage with opt-in retry configuration and default no-retry behavior.
Reviewed as part of open-PR triage. Adds right-rail tooltip labels while preserving aria labels and titles.
Keep new design prompts on the single-turn path unless multi-page mode is explicitly enabled. Honor the explicit toggle even when an HTML page is active, while preserving attachment, selection, running, mode, and image-asset safety gates.\n\nFixes #756
Merged after local targeted verification.
@XingYu-Zhong
XingYu-Zhong merged commit 7019c35 into master Jul 7, 2026
5 checks 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.

5 participants