Tags: apache/maka
Tags
feat(desktop): warn that deleting a parent keeps and archives its sub… …tasks (#3781) Deleting a parent task permanently removes it, but its ordinary linked subagent subtasks are intentionally kept and moved to the archive rather than cascade-deleted (#1467 / #3151). The confirm said nothing and the completion gave no feedback, so the archived rows that appeared next read as tasks from nowhere. The delete confirm now warns, when the task has ordinary linked subtasks, that they are kept and moved to Archived; the completion toast reports how many moved. Both counts are owned by the Host rather than estimated by the renderer, whose catalog projection carries linked children as `subagent: { parentSessionId }` with no operator marker or copy state: - `session.remove` returns `archivedSubtaskCount` (deduplicated by revision family), which the toast reports verbatim. - A read-only `session.remove.preview` query returns how many subtasks a delete would archive, computed by the same `#readRemovalPlanSessionIds` the mutation uses. The confirm warns off it. Agent Graph operators (retired with the parent rather than archived), already-archived children, copies mid-preparation, and absent targets all preview zero. On preview failure the confirm falls back to an uncertain note rather than hiding the warning, and the delete still proceeds. - Bulk purge sums the executed counts into `SessionPurgeOutcome.archivedSubtasks`; the archived-tasks purge confirm warns and its toast reports how many moved. Because Agent Graph operator Sessions are retired with the parent, the notices say "ordinary subtasks" rather than "linked subtasks", so operators are never presented as survivors on either surface. Copy lives in `shell-copy.ts` and `settings-tasks-copy.ts` (zh + en). Deletion semantics are unchanged. Compatibility: bumps `RUNTIME_HOST_COMPATIBILITY_EPOCH` to 82 for the new removed-result field and the new query, both of which an older peer rejects. `session.remove.preview` is added to `REMOTE_OWNER_OPERATION_GRANTS`; it is a strictly weaker read of a plan whose mutation is already granted, so it expands no privilege. Fixes #3780 Generated-by: Claude Code
fix: preserve skill outcomes across queued-message recovery Keep the Host-produced SkillInvocationResult for every admitted message disposition, including steering, follow-up, queued, started, and blocked submissions. Persist both the original submitted placement and the Skill outcome through admission, SQLite recovery, promotion, restart, and durable retry. This lets Desktop and CLI report partial Skill preparation failures without turning a promoted next-turn retry into an operation conflict. Update the Runtime Host protocol epoch and session schema together, with production-owner recovery coverage and exact-head CI passing. Fixes #4026 Generated-by: OpenAI Codex
refactor(runtime): persist durable Tool Result projections (#4287) * feat(core): define durable tool result projections Generated-by: Codex * feat(runtime): add durable projection codec Generated-by: Codex * feat(runtime): commit projections atomically at T2 Generated-by: Codex * refactor(runtime): replay effective tool result projections Generated-by: Codex * feat(runtime-host): persist projected artifacts and recoveries Generated-by: Codex * refactor(runtime): remove transient Tool Result authority Generated-by: Codex * fix(storage): reuse projected image artifacts Generated-by: Codex * fix(runtime): remap projected artifacts on copy Generated-by: Codex * refactor(runtime): remove synthetic projection return Generated-by: Codex * refactor(runtime): privatize synthetic result writer Generated-by: Codex * fix(runtime): validate projected images before persistence Generated-by: Codex * fix(runtime): reject unowned projection copies Generated-by: Codex * refactor(runtime): remove retired conversation copy owner Generated-by: Codex * test(runtime): verify durable projection owner boundaries Generated-by: Codex * refactor(runtime): keep projection helper types private Generated-by: Codex * test(runtime): target durable projection T2 rollback Generated-by: Codex * refactor(runtime): trim projection artifact input Generated-by: Codex * test(runtime): produce restart projection through T2 Generated-by: Codex * style(runtime): format session manager tests Generated-by: Codex * fix(runtime): make projection admission side-effect free Generated-by: Codex * test(runtime): replay persisted image after restart Generated-by: Codex * test(runtime-host): cover projection artifact restart Generated-by: Codex * refactor(runtime): preserve projection content fidelity Generated-by: Codex * fix(storage): protect projection artifacts Generated-by: Codex * fix(runtime): admit tool calls before publication Generated-by: Codex * fix(runtime): bound projection copies before allocation Generated-by: Codex * test(runtime-host): consolidate projection lifecycle coverage Generated-by: Codex * test(runtime): lock T1 failure side effects Generated-by: Codex * refactor(core): unify artifact source policy Generated-by: Codex * fix(runtime): make tool result projectors total Generated-by: Codex
feat(cli): document and harden npm release operations (#3197) Document npm installation, first-run setup, upgrades, uninstall behavior, local data, platform support, Eval prerequisites, and staged OIDC release operations in English and Simplified Chinese. Ship the version-matched Chinese CLI guide in the npm tarball and make finalization retry-safe by validating existing GitHub Release state and asset digests before resuming. Generated-by: Codex
fix(deps): bump dompurify past GHSA-55q2-fjhq-7xh7 (#2456) * fix(deps): bump dompurify past GHSA-55q2-fjhq-7xh7 The release audit gate (#2223) blocked the 0.1.8 build on DOMPurify's IN_PLACE hook removal advisory (moderate), transitive via @maka/ui -> mermaid. Lockfile moves dompurify to 3.4.13. Hand-edited three lockfile lines rather than letting npm rewrite the file: macOS npm strips the libc constraint blocks Linux resolution depends on (caught in review; the first draft of this PR carried exactly that stripping). * chore(licenses): regenerate third-party notices for dompurify 3.4.13
PreviousNext