You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/09/03 19:56:07 UTC

(maka) branch fix/windows-reproducible-payload updated (6e026ddd12 -> 085844a0d0)

This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a change to branch fix/windows-reproducible-payload
in repository https://gitbox.apache.org/repos/asf/maka.git


 discard 6e026ddd12 test(release): cover archive patch changes in Windows CI
 discard 5b2602b4d1 fix(release): omit NSIS input file timestamps
 discard 0da3376927 fix(release): omit ZIP modification timestamps
 discard 493dd30827 fix(desktop): keep packaging filters in one file set
 discard 4985821de0 fix(desktop): remove variable Windows linker metadata
 discard 99ded0e839 fix(desktop): omit Windows PTY build intermediates
     add 6c8e749d3d test(cli): wait for hung settlement before the activator deadline (#4469)
     add c86da40d76 refactor(desktop): rebuild the About page as labeled settings groups (#4571)
     add ad18da42c8 feat(desktop): pick session rows with shift and cmd (#4455)
     add f9d3d7e031 chore(deps): bump qs and fast-uri to clear the production dependency audit (#4578)
     add 0f5047e041 chore(deps): bump qs in /packages/eval/harbor/deepseek-harness-toolchain (#4586)
     add b29a2e65ee chore(deps): bump fast-uri (#4587)
     add 9225f80b08 chore(deps-dev): bump @xmldom/xmldom from 0.8.13 to 0.8.15 (#4585)
     add eacfb46aa7 fix(desktop): accept Intel Mach-O architecture in package verification (#4589)
     add 4b24f535fb refactor(peer): separate reachability from Mesh ownership (#4561)
     add e641884d97 feat(peer): recover accepted relay anchors (#4563)
     add b3a36db4d8 feat(peer): converge Mesh reachability leases (#4568)
     add f077232fc6 feat(peer): recover live routes in one connection attempt (#4580)
     add ade07b5beb docs: remove peer recovery planning artifact (#4596)
     add 8ea3c4f057 fix(desktop): keep Agent Graph heading visible (#3981)
     add 7137cf25ad fix(desktop): land prompt-rail jumps at the top and fence the e2e sends (#4577)
     add 544f973372 docs(architecture): audit Recovery and resume group against implementation (#4518)
     add 898b86d6b7 feat(runtime-host): bind ScheduledTasks to Connection identity (#4321)
     add 4019fc5029 fix(desktop): open side conversations without a settled turn (#4508)
     add e1e108a792 refactor(desktop): move Settings → Usage into a renderer feature slice (#4440)
     add d7a9bda502 ci(windows): cache Rust builds in the release-windows-check lane (#4476)
     add 01b4f8c9d5 fix(runtime): preserve durable RuntimeEvent order (#4445)
     add 746d1cfa3d fix(design-system): let a mode live in the value, not in a selector (#4603)
     add 0f4d20e311 fix(desktop): keep e2e windows visible without stealing focus (#4579)
     add 9d4002b382 fix(ui): stop the restored draft caret from taking focus (#4602)
     add c0fa4647c5 fix(desktop): stop misreporting shared Session joins (#4601)
     add 6cfb832e52 feat(desktop): complete shared Session Guest controls (#4608)
     add b1ec289894 test(desktop): wait for initial transcript tail (#4620)
     add 726fb809ed fix(ui): give CJK prose its own leading, emphasis and smoothing (#4617)
     add 57d57961e8 fix(core): sync Volcengine Agent Plan catalog with the official plan (#4607)
     add 61cbda2fc1 feat(desktop): support manual context compaction in Side Conversations (#4532)
     add f4fc15a4cf docs(blog): add bilingual Log Is the Runtime (#4572)
     add 15e4b6b9ec refactor(desktop): retire obsolete Astryx workarounds (#4628)
     add 079f784a59 docs(blog): add conclusion to Log Is the Runtime (#4635)
     add 98d86eb4fe feat(runtime-host): sign in to GitHub Copilot with a device grant (#3390)
     add ce10a0edf9 feat(runtime-host): add OpenRC lifecycle provider (#4637)
     add 51704b5047 fix(ui): restore prompt rail scroll tracking (#4417)
     add 77aa9a67f6 feat(cli): let TUI setup name a new connection (#4621)
     add ea2457ae68 fix(desktop): serve the last connection snapshot while a refresh is in flight (#4611) (#4616)
     add 69d65238b1 fix(cli): wrap AskUserQuestion options instead of truncating at terminal width (#4610) (#4615)
     add afe06f2b1c fix(runtime-host): recover approved guest regeneration (#4636)
     add a253597479 feat(workhub): let the Host resolve a direct stop from its own claim (#4439)
     add 148f8eb297 feat(ui): keep pinned tasks at the top in both grouping modes (#4613)
     add 63c1437138 refactor(desktop): centralize session navigation ports (#4449)
     add fde3253a7c test(desktop): deselect-proof the code-scroll selection drag (#4632)
     add 4149d689ac feat(desktop): add session-wide token and time breakdowns to the trace panel (#4386)
     add ebcf921f39 fix(desktop): reload Vite when workspace exports change (#4643)
     add cd4aa3d8f8 docs(blog): add Beyond Function Calling (#4650)
     add be80c15043 fix(desktop): report session resolution only for projected first sends (#4630)
     add 91624f1f3e refactor(computer-use): enforce semantic-only actions and enable guarded keyboard input (#4497)
     add 6ab725176f fix(runtime): stop estimating context fit; the provider decides (#4653)
     add f4aae2a671 feat(cli): refresh the statusline ctx segment per settled provider request (#4545) (#4550)
     add 68cda0b546 feat(desktop): show the model's reported context window beside the declared setting (#4575)
     add b9748a7733 feat(desktop): show context usage beside the model controls (#4576)
     add ea51bc4b17 fix(runtime): retreat a rejected fold to a span the provider has accepted (#4667)
     add 97be8f8f82 fix(runtime): reach the standalone compaction call site with the retreat (#4671)
     add 3cb79b2c9e feat(runtime): report a provider dropping context across the send boundary (#4669)
     add 35010f4974 test(desktop): wait for restored focus (#4644)
     add 103841fdf1 docs: link design work to issue trackers (#4333)
     add 486e9ba655 feat(runtime): establish durable form interactions (#4379)
     add ab7b739260 feat(ci): add fast local validation hooks (#4132)
     add 308541d1c2 feat: ask models for progress updates and keep Responses item identity (#4270)
     add eabecbb88f fix(desktop): retire model overlays by session revision (#4530)
     add bf5ca672dc fix(runtime): seal partial thinking before retrying mid-stream network cuts (#4393)
     add cbd4d20607 refactor(desktop): share the feature services context and pass bridge namespaces through (#4590)
     add 2fc895e07b fix(runtime-host): claim Daily Review archives before reading and widen the owned settle bound (#4672)
     add 7ab2a43232 fix(runtime): propagate OpenCode Go session identity (#4670)
     add 7ecd42f512 test(desktop): expand Storybook smoke theme coverage (#4042)
     add fbaba6b631 fix(eval): make process termination work on Windows (#4175)
     add 69598adfb9 fix(runtime): keep MCP text clipping from splitting surrogate pairs (#4438)
     add 01fe14bd27 ci(dependabot): label npm and actions updates with dependencies only (#4681)
     add 1fe21e612f feat(website): publish the podling site from website/ (#4660)
     add b0255edcb3 chore(ci): cap effort/XL at 2500 readable lines and add effort/XXL (#4680)
     new aea13ebf8d fix(desktop): omit Windows PTY build intermediates
     new d7f22ae7dc fix(desktop): remove variable Windows linker metadata
     new d91ea09c4d fix(desktop): keep packaging filters in one file set
     new 09d43297cf fix(release): omit ZIP modification timestamps
     new 7b8573fad4 fix(release): omit NSIS input file timestamps
     new 085844a0d0 test(release): cover archive patch changes in Windows CI

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (6e026ddd12)
            \
             N -- N -- N   refs/heads/fix/windows-reproducible-payload (085844a0d0)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/dependabot.yml                             |    4 +
 .github/workflows/ci.yml                           |   18 +
 .github/workflows/release-windows-check.yml        |   35 +
 .github/workflows/website.yml                      |  108 +
 .github/workflows/windows-recovery.yml             |    3 +-
 .gitignore                                         |    3 +
 .../rust-toolchain.toml => .husky/pre-commit       |    8 +-
 CHANGELOG.md                                       |    5 +-
 DESIGN.md                                          |   10 +-
 apps/desktop/e2e/about-page.spec.ts                |   47 +
 apps/desktop/e2e/accessibility-coverage.spec.ts    |   53 +-
 apps/desktop/e2e/agent-graph-layout.spec.ts        |   87 +
 apps/desktop/e2e/code-scroll.spec.ts               |   18 +-
 .../e2e/composer-plus-menu-stability.spec.ts       |   11 +-
 apps/desktop/e2e/fixtures.ts                       |   82 +-
 apps/desktop/e2e/link-color-contract.spec.ts       |   21 +-
 apps/desktop/e2e/parent-session-deletion.spec.ts   |   33 +-
 apps/desktop/e2e/prompt-rail.spec.ts               |  224 +-
 apps/desktop/e2e/session-workbar.spec.ts           |   22 +-
 apps/desktop/e2e/sidebar-geometry.spec.ts          |  103 +-
 apps/desktop/e2e/streaming-remount.spec.ts         |   30 +-
 apps/desktop/e2e/transcript-scroll.spec.ts         |   84 +-
 apps/desktop/package.json                          |    4 +-
 apps/desktop/renderer-architecture.json            |  133 +-
 .../resources/licenses/npm/THIRD_PARTY_NOTICES.txt |    4 +-
 .../scripts/check-renderer-architecture.mjs        |   10 +-
 .../scripts/check-renderer-architecture.test.mjs   |    2 +
 .../scripts/vite-workspace-packages.test.mjs       |   81 +
 .../src/main/__tests__/about-settings-page.test.ts |    4 +-
 .../src/main/__tests__/about-update-status.test.ts |   77 +
 .../__tests__/app-shell-first-send-cleanup.test.ts |   75 +
 .../main/__tests__/app-shell-turn-actions.test.ts  |   18 +-
 .../main/__tests__/app-update-attestation.test.ts  |   29 +
 .../src/main/__tests__/browser-tools.test.ts       |    1 +
 .../chat-composer-region-draft-handoff.test.ts     |    1 +
 .../computer-use-real-model-policy.test.ts         |   16 +-
 .../__tests__/desktop-session-projection.test.ts   |    5 +-
 .../external-session-catalog-projection.test.ts    |    3 +-
 .../github-copilot-local-credential.test.ts        |  101 +
 .../github-copilot-subscription-service.test.ts    |  187 --
 .../src/main/__tests__/ink-ladder-contract.test.ts |  113 +
 .../main/__tests__/latest-request-usage.test.ts    |  124 +
 .../__tests__/main-process-diagnostics.test.ts     |   21 +
 .../__tests__/native-diagnostic-dialog.test.ts     |    1 +
 .../permission-response-ipc-boundary.test.ts       |   36 +-
 .../__tests__/quote-companion-disposal.test.ts     |    5 +-
 .../main/__tests__/quote-companion-retry.test.ts   |  900 ++++--
 .../runtime-host-collaboration-ipc-main.test.ts    |   22 +-
 .../runtime-host-desktop-candidate.test.ts         |    1 +
 .../__tests__/runtime-host-desktop-manager.test.ts |  134 +-
 .../runtime-host-github-copilot-ipc-main.test.ts   |  142 +-
 .../runtime-host-guest-session-mounts.test.ts      |   99 +-
 .../__tests__/runtime-host-local-operator.test.ts  |   39 +-
 .../runtime-host-local-remote-access.test.ts       |   44 +-
 .../main/__tests__/runtime-host-management.test.ts |   32 +-
 .../runtime-host-native-capabilities.test.ts       |   13 +-
 .../__tests__/runtime-host-oauth-ipc-main.test.ts  |   63 +-
 .../__tests__/runtime-host-profile-service.test.ts |   78 +-
 .../runtime-host-session-catalog-ipc-main.test.ts  |   18 +
 ...runtime-host-session-execution-ipc-main.test.ts |   20 +-
 .../__tests__/runtime-host-ssh-terminal.test.ts    |    2 +-
 .../__tests__/runtime-host-usage-ipc-main.test.ts  |    6 +
 .../session-collaboration-join-dialog.test.ts      |   70 +-
 .../session-inspector-panel-model.test.ts          |    3 +
 .../session-inspector-usage-stats.test.ts          |  346 ++
 .../__tests__/session-navigation-selection.test.ts |  148 +-
 .../session-navigation-session-purge.test.ts       |  261 --
 .../session-selection-open-elsewhere.test.ts       |  143 +
 .../__tests__/session-selection-sweep-race.test.ts |  185 +-
 .../__tests__/session-settings-controller.test.ts  |  290 +-
 .../session-turn-request-composer.test.ts          |  317 ++
 .../session-turn-request-inbox-model.test.ts       |   37 +-
 .../src/main/__tests__/usage-settings-view.test.ts |  549 ++++
 .../main/__tests__/use-onboarding-snapshot.test.ts |    1 +
 .../src/main/__tests__/use-session-trace.test.ts   |    1 +
 .../main/__tests__/use-shell-connections.test.ts   |  208 +-
 .../src/main/__tests__/window-reveal-mode.test.ts  |  185 ++
 .../src/main/__tests__/workbar-controller.test.ts  |    3 -
 .../__tests__/workbar-services-adapter.test.ts     |    2 +
 .../src/main/__tests__/workhub-controller.test.ts  |  211 ++
 .../main/__tests__/workhub-session-port.test.ts    |   51 +
 .../workhub-session-resolver-port.test.ts          |  137 +
 .../main/__tests__/workhub-surface-flow.test.ts    |    8 +
 apps/desktop/src/main/app-ipc-main.ts              |    5 +-
 apps/desktop/src/main/app-update-attestation.ts    |   27 +-
 .../src/main/computer-use-real-model-policy.ts     |    1 -
 apps/desktop/src/main/computer-use/pip-feed.ts     |   13 +-
 .../desktop/src/main/desktop-shell-presentation.ts |    5 +-
 apps/desktop/src/main/dock-presentation.ts         |   16 +-
 apps/desktop/src/main/e2e-fixture.ts               |  100 +-
 .../desktop/src/main/e2e-fixture/scenarios-chat.ts |   10 +
 apps/desktop/src/main/e2e-fixture/seed-helpers.ts  |    1 +
 apps/desktop/src/main/main-process-diagnostics.ts  |   11 +
 apps/desktop/src/main/main-window.ts               |   21 +-
 apps/desktop/src/main/main.ts                      |    9 +
 .../main/oauth/github-copilot-local-credential.ts  |   99 +
 .../oauth/github-copilot-subscription-service.ts   |  209 --
 apps/desktop/src/main/permission-response-guard.ts |   12 +-
 .../src/main/runtime-host-account-connection.ts    |  104 +-
 apps/desktop/src/main/runtime-host-boot.ts         |   95 +-
 apps/desktop/src/main/runtime-host-client.ts       |   13 +
 .../main/runtime-host-collaboration-ipc-main.ts    |    9 +-
 .../src/main/runtime-host-desktop-candidate.ts     |    9 +-
 .../src/main/runtime-host-desktop-manager.ts       |  118 +-
 .../main/runtime-host-github-copilot-ipc-main.ts   |  156 +-
 .../src/main/runtime-host-guest-session-mounts.ts  |   62 +-
 .../src/main/runtime-host-local-operator.ts        |    2 +-
 .../src/main/runtime-host-local-remote-access.ts   |   33 +-
 apps/desktop/src/main/runtime-host-management.ts   |   21 +-
 .../src/main/runtime-host-oauth-ipc-main.ts        |   39 +-
 .../src/main/runtime-host-peer-mesh-management.ts  |    6 +-
 .../src/main/runtime-host-profile-service.ts       |   61 +-
 .../main/runtime-host-session-catalog-ipc-main.ts  |    3 +
 .../runtime-host-session-execution-ipc-main.ts     |    8 +-
 apps/desktop/src/main/window-reveal.ts             |   82 +-
 apps/desktop/src/overlay/cursor-overlay.ts         |    4 +-
 apps/desktop/src/preload/bridge-contract.d.ts      |   62 +-
 apps/desktop/src/preload/preload.ts                |   84 +-
 apps/desktop/src/renderer/README.md                |    6 +-
 .../desktop/src/renderer/app-shell-chat-actions.ts |  112 +-
 .../desktop/src/renderer/app-shell-turn-actions.ts |   20 +-
 .../src/renderer/app-shell-turn-view-model.ts      |   12 +-
 apps/desktop/src/renderer/app-shell.tsx            |   66 +-
 .../application/contracts/feature-services.tsx     |   56 +
 .../contracts/workhub-request-intent.ts            |    8 +-
 apps/desktop/src/renderer/astryx-theme/maka.css    |    4 +
 apps/desktop/src/renderer/astryx-theme/maka.js     |    8 +-
 .../desktop/src/renderer/astryx-theme/makaTheme.ts |   37 +-
 .../desktop/src/renderer/cached-theme-bootstrap.ts |    5 +
 apps/desktop/src/renderer/chat-composer-region.tsx |   79 +-
 .../renderer/features/connection-settings/index.ts |    2 +
 .../renderer/features/connection-settings/ports.ts |   38 +
 .../connection-settings/services-context.tsx       |   22 +-
 .../connection-settings/settings-provider-copy.ts  |   44 +-
 .../renderer/features/goals/services-context.tsx   |   19 +-
 .../features/module-hub/services-context.tsx       |   19 +-
 .../runtime-host-management/services-context.tsx   |   19 +-
 .../ui/runtime-host-peer-mesh-dialog.tsx           |   19 +-
 .../controller/use-session-collaboration-dialog.ts |    4 +
 .../controller/use-turn-request-inbox.ts           |    6 +-
 .../features/session-collaboration/index.ts        |    6 +
 .../model/turn-request-inbox.ts                    |   71 +-
 .../features/session-collaboration/ports.ts        |   22 +
 .../session-collaboration/services-context.tsx     |   20 +-
 .../features/session-collaboration/testing.ts      |    3 +
 .../turn-request-inbox-context.tsx                 |   19 +-
 .../ui/session-collaboration-join-dialog.tsx       |    5 +
 .../ui/session-guest-turn-actions.tsx              |  161 +
 .../ui/session-turn-request-approval.tsx           |   47 +-
 .../ui/session-turn-request-composer.tsx           |  451 +++
 .../renderer/features/session-navigation/README.md |    2 +
 .../controller/session-row-actions.ts              |  225 +-
 .../use-session-navigation-controller.ts           |   55 +-
 .../controller/use-session-selection.ts            |  195 +-
 .../renderer/features/session-navigation/index.ts  |    6 +-
 .../session-navigation/model/session-selection.ts  |  121 +-
 .../renderer/features/session-navigation/ports.ts  |   45 +
 .../session-navigation/services-context.tsx        |   22 +-
 .../features/session-navigation/testing.ts         |    9 +-
 .../ui/session-navigation-provider.tsx             |   14 +-
 .../renderer/features/session-settings/ports.ts    |   14 +-
 .../features/session-settings/services-context.tsx |   19 +-
 .../session-settings/use-session-setting-intent.ts |   29 +-
 .../features/task-entry/services-context.tsx       |   19 +-
 apps/desktop/src/renderer/features/usage/README.md |  103 +
 .../usage/controller/action-guard.ts}              |   39 +-
 .../usage/controller/optimistic-settings-draft.ts} |  118 +-
 .../desktop/src/renderer/features/usage/index.ts   |   11 +-
 apps/desktop/src/renderer/features/usage/ports.ts  |   42 +
 .../renderer/features/usage/services-context.tsx   |  180 ++
 .../usage/ui/metric-card.tsx}                      |   15 +-
 .../usage/ui/usage-settings-view.tsx}              |  280 +-
 .../features/usage/ui/usage-stats-table.tsx        |  134 +
 .../workbar/controller/use-workbar-controller.ts   |   22 +-
 .../desktop/src/renderer/features/workbar/ports.ts |    8 +-
 .../renderer/features/workbar/services-context.tsx |   21 +-
 .../src/renderer/features/workbar/testing.ts       |   12 +-
 .../inspector/session-inspector-overview-model.ts  |  122 +
 .../tools/inspector/session-inspector-panel.tsx    |  267 +-
 .../quote-companion-context-compaction.ts}         |   72 +-
 .../tools/side-chat/quote-companion-core.ts        |   42 +-
 .../tools/side-chat/quote-companion-panel.tsx      |  155 +-
 .../workbar/tools/side-chat/use-quote-companion.ts |  255 +-
 .../side-chat/use-side-conversation-workspace.ts   |   22 +-
 .../renderer/features/workbar/ui/workbar-host.tsx  |    4 -
 .../features/workbar/ui/workbar-surface.tsx        |   61 +-
 .../src/renderer/locales/conversation-copy.ts      |   98 +-
 .../renderer/locales/session-collaboration-copy.ts |   20 +
 .../renderer/locales/settings-navigation-copy.ts   |    4 +-
 .../renderer/locales/settings-preferences-copy.ts  |   43 +-
 .../src/renderer/locales/settings-shared-copy.ts   |    6 -
 apps/desktop/src/renderer/locales/shell-copy.ts    |   38 +-
 apps/desktop/src/renderer/maka-tokens.css          |  440 ++-
 .../desktop/create-connection-settings-services.ts |   60 +-
 .../platform/desktop/create-module-hub-services.ts |   17 +-
 .../create-session-collaboration-services.ts       |    8 +
 .../desktop/create-session-navigation-services.ts  |   15 +-
 .../platform/desktop/create-task-entry-services.ts |    8 +-
 .../platform/desktop/create-workbar-services.ts    |   24 +-
 .../src/renderer/session-collaboration-dialog.tsx  |    7 +-
 .../src/renderer/session-turn-request-composer.tsx |  227 --
 .../src/renderer/settings/about-settings-page.tsx  |  280 +-
 .../src/renderer/settings/about-update-status.ts   |   49 +-
 .../renderer/settings/provider-catalog-page.tsx    |   10 +-
 .../settings/provider-connection-detail.tsx        |  119 +-
 .../renderer/settings/provider-oauth-section.tsx   |  259 +-
 .../settings/runtime-host-profiles-section.tsx     |    8 +-
 .../settings/runtime-host-settings-bridge.ts       |   88 -
 .../src/renderer/settings/settings-surface.tsx     |  124 +-
 .../src/renderer/settings/usage-settings-page.tsx  |  627 +---
 .../src/renderer/settings/use-connection-detail.ts |   85 +-
 .../src/renderer/settings/use-oauth-login-flow.ts  |  182 +-
 apps/desktop/src/renderer/styles/agent-graph.css   |   20 +-
 apps/desktop/src/renderer/styles/astryx-mount.css  |    9 +
 apps/desktop/src/renderer/styles/chat-header.css   |   15 -
 .../desktop/src/renderer/styles/model-switcher.css |   14 +
 .../renderer/styles/module-pages/module-shell.css  |   12 -
 apps/desktop/src/renderer/styles/settings.css      |    1 -
 .../desktop/src/renderer/styles/settings/about.css |   85 -
 .../src/renderer/styles/settings/runtime-host.css  |    4 +-
 apps/desktop/src/renderer/styles/shell-layout.css  |   66 +-
 apps/desktop/src/renderer/styles/sidebar.css       |  157 +-
 .../src/renderer/styles/workbar/inspector.css      |  164 +
 apps/desktop/src/renderer/styles/workbar/shell.css |    4 -
 .../src/renderer/styles/workbar/side-chat.css      |    5 -
 apps/desktop/src/renderer/theme.ts                 |   51 +-
 apps/desktop/src/renderer/use-shell-connections.ts |   92 +-
 .../src/renderer/use-turn-action-registry.ts       |    6 +-
 apps/desktop/src/renderer/workhub-controller.ts    |  127 +-
 .../src/renderer/workhub-coordination-port.ts      |   44 +-
 apps/desktop/src/renderer/workhub-route-policy.ts  |  123 +-
 apps/desktop/src/renderer/workhub-surface.tsx      |  108 +-
 .../src/shared/desktop-session-projection.ts       |    6 +-
 apps/desktop/src/shared/session-collaboration.d.ts |    1 +
 apps/desktop/stories/app-shell.stories.tsx         |    2 -
 .../stories/session-rail-multi-select.stories.tsx  |  176 ++
 apps/desktop/stories/session-workbar.stories.tsx   |   17 +
 .../stories/settings/provider-settings.stories.tsx |   72 +-
 .../stories/settings/settings-pages.stories.tsx    |  187 +-
 .../stories/shared-session-guest.stories.tsx       |  168 +
 .../desktop/vite-workspace-packages.ts             |   31 +-
 apps/desktop/vite.config.ts                        |    2 +
 docs/README.md                                     |    5 +
 .../agent-graph-stream-scheduling-draft.md         |    2 +
 .../agent-graph-stream-scheduling-draft.zh-CN.md   |    2 +
 docs/architecture/bot-onboarding-runtime.zh-CN.md  |    2 +
 ...ide-repository-admission-capability-v1.zh-CN.md |    2 +
 .../llm-compaction-events-log-projection-draft.md  |   82 +-
 ...compaction-events-log-projection-draft.zh-CN.md |   78 +-
 ...anaged-dependency-storage-authority-v1.zh-CN.md |    2 +
 .../mcp-runtime-architecture-draft.zh-CN.md        |   14 +-
 .../runtime-core-architecture-draft.md             |    6 +
 .../runtime-core-architecture-draft.zh-CN.md       |    6 +
 .../runtime-recovery-resolver-adr.zh-CN.md         |    9 +-
 docs/architecture/runtime-resume-architecture.md   |    8 +-
 .../runtime-resume-architecture.zh-CN.md           |    8 +-
 .../runtime-resume-extraction-ledger.zh-CN.md      |    4 +-
 ...se3-phase4-workspace-checkpoint-design.zh-CN.md |   14 +-
 .../workhub-coordination-session-adr.md            |   57 +-
 docs/astryx-surface-file-inventory.md              |   22 +-
 docs/astryx-surface-file-inventory.paths           |   12 +-
 docs/blogs/beyond-function-calling.md              |  467 +++
 docs/blogs/beyond-function-calling.zh-CN.md        |  467 +++
 docs/blogs/log-is-the-runtime.md                   |  217 ++
 docs/blogs/log-is-the-runtime.zh-CN.md             |  214 ++
 docs/github-copilot-oauth-identity.md              |   79 +
 docs/permission-onboarding-plan.md                 |    2 +
 docs/runtime-host-remote-access.md                 |    9 +-
 docs/runtime-host-remote-access.zh-CN.md           |   10 +-
 docs/side-conversation.md                          |   57 +-
 docs/tui-live-ctx-updates.md                       |  144 +
 docs/tui-live-ctx-updates.zh-CN.md                 |   96 +
 docs/web-search-provider-capability.md             |   16 +-
 docs/work-board-contract.md                        |    4 +-
 docs/work-board-phase1.md                          |    2 +
 docs/workhub-domain-language.md                    |   79 +-
 native/runtime-host-peer/src/bindings.rs           |  171 +-
 native/runtime-host-peer/src/engine.rs             | 1182 ++++++-
 .../src/engine/relay_anchor_store.rs               |  269 ++
 native/runtime-host-peer/src/lib.rs                |    7 +-
 package-lock.json                                  | 3307 ++++++++++++++++++--
 package.json                                       |    9 +-
 packages/cli/THIRD_PARTY_NOTICES.txt               |    4 +-
 packages/cli/src/__tests__/pi-transcript.test.ts   |   33 +-
 .../src/__tests__/pi-tui-form-interaction.test.ts  |  279 ++
 packages/cli/src/__tests__/pi-tui-runner.test.ts   |  748 ++++-
 .../__tests__/pi-tui-user-question-option.test.ts  |  210 ++
 ...untime-host-capability-provider-command.test.ts |    1 +
 .../src/__tests__/runtime-host-cli-context.test.ts |    4 +-
 .../runtime-host-lifecycle-transaction.test.ts     |   79 +-
 .../runtime-host-local-target-activation.test.ts   |    5 +-
 .../src/__tests__/runtime-host-onboarding.test.ts  |   22 +
 .../__tests__/runtime-host-openrc-service.test.ts  |  156 +
 .../runtime-host-operator-command.test.ts          |   16 +-
 .../__tests__/runtime-host-profile-command.test.ts |   21 +-
 .../src/__tests__/runtime-host-run-command.test.ts |   61 +
 .../__tests__/runtime-host-session-driver.test.ts  |  177 +-
 .../cli/src/__tests__/runtime-host-setup.test.ts   |  100 +-
 .../cli/src/__tests__/tui-context-refresh.test.ts  |  265 ++
 .../cli/src/__tests__/tui-copy-catalog.test.ts     |    3 +
 .../__tests__/tui-mcp-remote-publication.test.ts   |   34 +-
 packages/cli/src/cli-core.ts                       |    1 -
 packages/cli/src/pi-transcript.ts                  |   67 +-
 packages/cli/src/pi-tui-contracts.ts               |   14 +
 packages/cli/src/pi-tui-form-interaction.ts        |  653 ++++
 packages/cli/src/pi-tui-pickers.ts                 |  363 ++-
 packages/cli/src/pi-tui-runner.ts                  |  266 +-
 packages/cli/src/runtime-host-cli.ts               |   62 +-
 .../cli/src/runtime-host-lifecycle-transaction.ts  |   56 +-
 .../src/runtime-host-managed-lifecycle-manager.ts  |    2 +-
 packages/cli/src/runtime-host-onboarding.ts        |    4 +-
 packages/cli/src/runtime-host-openrc-service.ts    |  635 ++++
 packages/cli/src/runtime-host-run-command.ts       |   10 +-
 packages/cli/src/runtime-host-service-command.ts   |   10 +-
 .../src/runtime-host-service-management-command.ts |   80 +-
 packages/cli/src/runtime-host-service-manager.ts   |    8 +-
 packages/cli/src/runtime-host-session-channel.ts   |    2 +
 packages/cli/src/runtime-host-session-driver.ts    |   31 +-
 packages/cli/src/runtime-host-setup-command.ts     |   74 +-
 packages/cli/src/session-driver.ts                 |    2 +
 packages/cli/src/tui-context-refresh.ts            |  126 +
 packages/cli/src/tui-copy-catalog.ts               |   76 +
 .../__tests__/computer-use-cumulative-e2e.test.ts  |   37 +-
 .../__tests__/computer-use-overlay-hook.test.ts    |   77 +-
 .../src/__tests__/maka-cu-backend.test.ts          |  141 +-
 .../computer-use/src/computer-use-overlay-hook.ts  |   88 +-
 packages/computer-use/src/maka-cu-backend.ts       |  185 +-
 packages/computer-use/src/maka-cu-service.ts       |    3 +
 packages/computer-use/src/select-backend.ts        |    8 -
 packages/core/package.json                         |    2 +
 .../__tests__/computer-use-model-call-args.test.ts |   22 +-
 packages/core/src/__tests__/computer-use.test.ts   |  108 +-
 packages/core/src/__tests__/interaction.test.ts    |  560 ++++
 .../core/src/__tests__/llm-connections.test.ts     |   33 +
 .../__tests__/model-call-usage-projection.test.ts  |   13 +
 packages/core/src/__tests__/model-metadata.test.ts |   43 +
 packages/core/src/__tests__/runtime-event.test.ts  |   20 +-
 packages/core/src/__tests__/scheduled-task.test.ts |   43 +
 packages/core/src/__tests__/text-sanitize.test.ts  |   58 +
 .../core/src/__tests__/usage-ledger-merge.test.ts  |   29 +
 .../usage-record-last-request-anchor.test.ts       |   40 +-
 .../__tests__/workhub-coordination-record.test.ts  |   62 +
 .../src/__tests__/workhub-creation-intent.test.ts  |   69 +
 .../src/__tests__/workhub-session-resolver.test.ts |   70 +
 packages/core/src/agent-run.ts                     |    7 +-
 packages/core/src/backend-types.ts                 |   14 +-
 packages/core/src/chat-model-choice.ts             |    9 +-
 packages/core/src/computer-use.ts                  |  166 +-
 packages/core/src/e2e-fixture.ts                   |    1 +
 packages/core/src/events.ts                        |   20 +
 packages/core/src/interaction.ts                   |  808 ++++-
 packages/core/src/llm-connections.ts               |    9 +-
 packages/core/src/local-memory.ts                  |    4 +-
 packages/core/src/model-call-usage-projection.ts   |    5 +
 packages/core/src/model-metadata.ts                |   33 +-
 packages/core/src/model-thinking.ts                |   33 +
 packages/core/src/provider-registry.ts             |    1 +
 packages/core/src/runtime-event-store.ts           |    4 +
 packages/core/src/runtime-event.ts                 |   41 +-
 packages/core/src/runtime-inputs.ts                |    7 +-
 packages/core/src/runtime-policy.ts                |   10 +
 packages/core/src/scheduled-task.ts                |    6 +
 packages/core/src/session.ts                       |  204 +-
 packages/core/src/text-sanitize.ts                 |   18 +
 packages/core/src/usage-ledger-merge.ts            |    3 +
 packages/core/src/usage-record-schema.ts           |   56 +-
 packages/core/src/usage-stats/types.ts             |   18 +-
 packages/core/src/workhub-creation-intent.ts       |  113 +-
 packages/core/src/workhub-session-resolver.ts      |  121 +
 .../deepseek-harness-toolchain/package-lock.json   |   12 +-
 .../eval/src/__tests__/process-termination.test.ts |  106 +
 .../__tests__/process-termination.windows.test.ts  |  117 +
 packages/eval/src/harbor-external-subject.ts       |    5 +-
 packages/eval/src/harness-executor.ts              |    5 +-
 packages/eval/src/install-preflight.ts             |   66 +-
 packages/eval/src/process-termination.ts           |   97 +
 packages/mcp/src/sep-2243.ts                       |    6 +-
 packages/runtime-host/package.json                 |    1 +
 .../connection-onboarding-create-identity.json     |    5 +
 .../src/__tests__/agent-graph-protocol.test.ts     |   10 +
 .../__tests__/client-capability-channel.test.ts    |  177 ++
 .../client-capability-coordinator.test.ts          |   82 +
 .../client-capability-interaction-broker.test.ts   |  397 +++
 .../__tests__/client-capability-protocol.test.ts   |   88 +
 .../connection-effect-coordinator.test.ts          |  247 ++
 .../__tests__/connection-effects-protocol.test.ts  |   35 +-
 .../src/__tests__/daily-review-coordinator.test.ts |  130 +-
 .../src/__tests__/execution-composition.test.ts    |  199 ++
 .../src/__tests__/execution-host.test.ts           |  125 +-
 .../__tests__/execution-model-composition.test.ts  |   24 +-
 .../__tests__/execution-service-listeners.test.ts  |   28 +-
 .../runtime-host/src/__tests__/host-kernel.test.ts |    9 +-
 .../src/__tests__/host-profile.test.ts             |  104 +-
 .../src/__tests__/interaction-coordinator.test.ts  |  148 +-
 .../src/__tests__/interaction-protocol.test.ts     |   50 +
 .../src/__tests__/message-coordinator.test.ts      |   81 +-
 .../src/__tests__/oauth-coordinator.test.ts        |  206 +-
 .../__tests__/oauth-execution-authority.test.ts    |  246 +-
 .../src/__tests__/oauth-protocol.test.ts           |   40 +
 .../src/__tests__/oauth-two-client-uds.test.ts     |   10 +-
 .../src/__tests__/owned-candidate.test.ts          |    6 +-
 .../src/__tests__/owner-connection-code.test.ts    |   24 +-
 .../src/__tests__/peer-listener.test.ts            |   57 +-
 .../runtime-host/src/__tests__/peer-mesh.test.ts   |  654 +++-
 .../runtime-host/src/__tests__/peer-native.test.ts |  304 +-
 .../src/__tests__/peer-reachability.test.ts        |  250 ++
 .../runtime-host/src/__tests__/protocol.test.ts    |   41 +-
 .../src/__tests__/reconnecting-connection.test.ts  |  145 +
 .../src/__tests__/root-turn-coordinator.test.ts    |  132 +-
 .../scheduled-task-coordinator-recovery.test.ts    |  290 +-
 .../src/__tests__/scheduled-task-protocol.test.ts  |   36 +
 .../session-collaboration-authority.test.ts        |  138 +-
 .../src/__tests__/session-projector.test.ts        |   37 +
 .../__tests__/session-revision-protocol.test.ts    |   42 +
 .../session-revision-two-client-uds.test.ts        |  116 +-
 .../src/__tests__/usage-pricing-protocol.test.ts   |   61 +
 .../__tests__/usage-pricing-two-client-uds.test.ts |   39 +
 .../workhub-coordination-action-gate.test.ts       |  818 ++++-
 .../workhub-coordination-coordinator.test.ts       |  806 ++++-
 .../workhub-coordination-protocol.test.ts          |  119 +-
 .../runtime-host/src/adapter/session-projector.ts  |   14 +
 .../src/client/client-capability-channel.ts        |  102 +
 .../runtime-host/src/client/client-capability.ts   |    3 +
 packages/runtime-host/src/client/host-profile.ts   |  168 +-
 packages/runtime-host/src/client/index.ts          |    1 +
 .../src/client/owner-connection-code.ts            |   13 +-
 packages/runtime-host/src/client/peer-client.ts    |  534 +++-
 .../runtime-host/src/client/reconnect-lifecycle.ts |   72 +-
 packages/runtime-host/src/peer-mesh/index.ts       |   15 +-
 packages/runtime-host/src/peer-mesh/limits.ts      |    2 +-
 packages/runtime-host/src/peer-mesh/model.ts       |  148 +-
 packages/runtime-host/src/peer-mesh/node.ts        | 1768 +++++++----
 packages/runtime-host/src/peer-mesh/owner.ts       |  136 +-
 packages/runtime-host/src/peer-mesh/store.ts       |  196 +-
 .../runtime-host/src/peer-reachability/index.ts    |   50 +
 .../runtime-host/src/peer-reachability/model.ts    |  302 ++
 .../runtime-host/src/peer-reachability/owner.ts    |  157 +
 .../src/peer-reachability/publisher.ts             |  293 ++
 packages/runtime-host/src/protocol/agent-graph.ts  |   13 +-
 .../runtime-host/src/protocol/client-capability.ts |   92 +-
 .../src/protocol/connection-effects.ts             |   40 +-
 packages/runtime-host/src/protocol/host-status.ts  |   44 +-
 packages/runtime-host/src/protocol/index.ts        |   48 +-
 packages/runtime-host/src/protocol/interaction.ts  |   10 +
 packages/runtime-host/src/protocol/oauth.ts        |   43 +-
 packages/runtime-host/src/protocol/operations.ts   |    1 +
 packages/runtime-host/src/protocol/peer-mesh.ts    |   64 +-
 .../runtime-host/src/protocol/scheduled-task.ts    |   34 +-
 .../src/protocol/session-collaboration.ts          |   67 +-
 .../runtime-host/src/protocol/session-revision.ts  |   23 +-
 .../runtime-host/src/protocol/usage-pricing.ts     |   38 +-
 .../src/protocol/workhub-coordination.ts           |  101 +-
 .../runtime-host/src/server/access-authority.ts    |   64 +-
 .../src/server/access-credential-store.ts          |    1 +
 .../src/server/client-capability-coordinator.ts    |   25 +-
 .../server/client-capability-invocation-broker.ts  |  349 ++-
 .../src/server/connection-effect-coordinator.ts    |   57 +-
 .../src/server/daily-review-coordinator.ts         |   73 +-
 .../src/server/execution-composition.ts            |  122 +-
 .../src/server/execution-model-authority.ts        |    6 +-
 .../src/server/execution-model-composition.ts      |    3 +-
 .../runtime-host/src/server/execution-service.ts   |   94 +-
 packages/runtime-host/src/server/host-kernel.ts    |   15 +-
 .../src/server/hosted-execution-authority.ts       |   10 +-
 .../src/server/interaction-coordinator.ts          |  210 +-
 .../src/server/interaction-projection.ts           |   39 +-
 packages/runtime-host/src/server/listener-set.ts   |   15 +-
 .../runtime-host/src/server/message-coordinator.ts |   34 +-
 .../runtime-host/src/server/oauth-coordinator.ts   |   81 +-
 .../src/server/oauth-execution-authority.ts        |   25 +-
 packages/runtime-host/src/server/peer-listener.ts  |   47 +-
 .../runtime-host/src/server/peer-mesh-authority.ts |    2 +-
 .../src/server/root-turn-coordinator.ts            |   44 +-
 .../src/server/scheduled-task-coordinator.ts       |  105 +-
 .../src/server/session-revision-coordinator.ts     |   84 +-
 .../session-turn-access-request-coordinator.ts     |   67 +-
 .../src/server/usage-pricing-coordinator.ts        |   17 +-
 .../src/server/workhub-coordination-action-gate.ts |  397 ++-
 .../src/server/workhub-coordination-coordinator.ts |  243 +-
 packages/runtime-host/src/transport/peer-native.ts |   79 +-
 packages/runtime/package.json                      |    1 +
 .../resources/bundled-skills/computer-use/SKILL.md |    4 +-
 .../src/__tests__/agent-run-inspect.test.ts        |   10 +
 .../runtime/src/__tests__/ai-sdk-backend.test.ts   | 1235 +++++---
 .../src/__tests__/computer-use-codec-adapt.test.ts |   21 +-
 .../src/__tests__/computer-use-model-loop.test.ts  |   71 +-
 .../computer-use-privacy-boundary.test.ts          |   31 +-
 .../__tests__/computer-use-schema-parity.test.ts   |   32 +-
 .../computer-use-screen-lock-gate.test.ts          |    2 +-
 .../src/__tests__/computer-use-tools.test.ts       |  480 +--
 .../src/__tests__/computer-use-wire-schema.test.ts |   71 +-
 .../context-budget-mid-turn-policy.test.ts         |   96 +-
 .../__tests__/context-budget-model-facts.test.ts   |   17 +-
 .../runtime/src/__tests__/context-budget.test.ts   |   64 +-
 .../src/__tests__/conversation-copy.test.ts        |  110 +-
 .../runtime/src/__tests__/cua-frame-state.test.ts  |   32 +-
 .../runtime/src/__tests__/fake-backend.test.ts     |    2 +
 .../github-copilot-oauth-enrollment.test.ts        |  327 ++
 .../__tests__/history-compact-checkpoint.test.ts   |  109 +-
 .../history-compact-mid-turn-checkpoint.test.ts    |    7 +-
 .../__tests__/history-compact-summarizer.test.ts   |  297 +-
 .../src/__tests__/history-compaction.test.ts       |  267 +-
 .../src/__tests__/interaction-authority.test.ts    |   71 +
 .../src/__tests__/main-session-prompt.test.ts      |   42 +
 packages/runtime/src/__tests__/mcp-tools.test.ts   |  124 +
 .../__tests__/mid-turn-capacity-backend.test.ts    |  926 +++---
 .../runtime/src/__tests__/model-adapter.test.ts    |   97 +-
 packages/runtime/src/__tests__/oauth-login.test.ts |   24 +
 .../src/__tests__/opencode-session-header.test.ts  |   49 +
 .../__tests__/overflow-reactive-recovery.test.ts   |  186 +-
 .../src/__tests__/provider-conformance.test.ts     |  156 +
 .../src/__tests__/responses-wire-contract.test.ts  |   72 +-
 .../src/__tests__/runtime-event-read-model.test.ts |   16 +-
 .../__tests__/runtime-kernel-interaction.test.ts   |    4 +
 .../__tests__/session-event-runtime-mapper.test.ts |   63 +
 .../session-manager-terminal-ledger.test.ts        |  255 ++
 .../runtime/src/__tests__/session-manager.test.ts  |   31 +-
 .../__tests__/session-projection-helpers.test.ts   |   27 +
 .../src/__tests__/skills-governance.test.ts        |   35 +
 .../src/__tests__/stream-graph-projection.test.ts  |   15 +
 .../src/__tests__/subscription-credentials.test.ts |   53 +
 .../tool-runtime-form-interaction.test.ts          |  319 ++
 .../tool-runtime-sandbox-boundary.test.ts          |    6 +
 packages/runtime/src/agent-run.ts                  |   12 +-
 packages/runtime/src/ai-sdk-backend.ts             |  517 ++-
 packages/runtime/src/ai-sdk-compaction-contract.ts |   21 +-
 packages/runtime/src/ai-sdk-compaction.ts          |  609 +---
 .../src/bots/__tests__/telegram-utf16.test.ts      |   12 +-
 packages/runtime/src/bots/telegram-bridge.ts       |   28 +-
 .../runtime/src/bundled-skill-catalog.generated.ts |    2 +-
 packages/runtime/src/computer-use-codec.ts         |  150 +-
 packages/runtime/src/computer-use-tools.ts         |  132 +-
 packages/runtime/src/computer-use-types.ts         |   11 +-
 packages/runtime/src/context-budget-policy.ts      |   52 +-
 packages/runtime/src/context-budget.ts             |   82 +-
 packages/runtime/src/conversation-copy.ts          |   53 +-
 packages/runtime/src/cua-frame-state.ts            |   71 +-
 .../runtime/src/github-copilot-oauth-enrollment.ts |  347 ++
 packages/runtime/src/history-compact-checkpoint.ts |   15 +-
 packages/runtime/src/history-compact-summarizer.ts |  104 +-
 .../src/history-compact-summary-validation.ts      |   48 +-
 packages/runtime/src/history-compaction.ts         |  224 +-
 packages/runtime/src/interaction-authority.ts      |  141 +-
 packages/runtime/src/mcp-tools.ts                  |   24 +-
 packages/runtime/src/memory-extraction.ts          |   28 +-
 packages/runtime/src/message-authority.ts          |   19 +-
 packages/runtime/src/model-adapter.ts              |   33 +-
 packages/runtime/src/model-factory.ts              |   23 +-
 packages/runtime/src/model-protocol.ts             |   13 +-
 packages/runtime/src/oauth-provider-contracts.ts   |   30 +-
 .../runtime/src/openai-codex-history-compactor.ts  |   13 +-
 .../runtime/src/opencode-session-header.ts         |   25 +-
 packages/runtime/src/runtime-event-read-model.ts   |   14 +-
 packages/runtime/src/runtime-kernel.ts             |   25 +-
 packages/runtime/src/runtime-read-model.ts         |   92 +-
 packages/runtime/src/scheduled-task-tools.ts       |    3 +
 .../runtime/src/session-event-runtime-mapper.ts    |   26 +
 packages/runtime/src/session-manager.ts            |   20 +-
 packages/runtime/src/session-projection-helpers.ts |   19 +-
 packages/runtime/src/stream-graph-projection.ts    |   10 +-
 packages/runtime/src/stream-graph-read-model.ts    |    5 +
 .../runtime/src/stream-usage-fallback-fetch.ts     |   94 +
 packages/runtime/src/subscription-credentials.ts   |   70 +-
 packages/runtime/src/subscription-model-fetch.ts   |   60 +-
 .../src/system-prompt/main-session-prompt.ts       |   22 +-
 packages/runtime/src/test-connection.ts            |   58 +-
 packages/runtime/src/tool-runtime.ts               |  248 ++
 .../src/__tests__/codex-session-adapter.test.ts    |    9 +
 .../src/__tests__/onboarding-transaction.test.ts   |   42 +
 .../__tests__/regenerate-root-admission.test.ts    |    9 +
 .../src/__tests__/runtime-policy-stores.test.ts    |   17 +-
 .../src/__tests__/session-copy-cleanup.test.ts     |    4 +-
 .../storage/src/__tests__/session-store.test.ts    |   70 +
 .../sqlite-session-metadata-store.test.ts          |  160 +
 .../src/__tests__/sqlite-workflow-store.test.ts    |    7 +
 .../storage/src/__tests__/usage-stores.test.ts     |  182 +-
 .../__tests__/workhub-message-assignment.test.ts   |  104 +
 packages/storage/src/agent-run-store.ts            |   25 +-
 packages/storage/src/codex-session-adapter.ts      |   16 +
 packages/storage/src/execution-stores.ts           |    9 +
 packages/storage/src/interaction-store.ts          |   12 +
 packages/storage/src/message-admission-store.ts    |   10 +
 .../runtime-policy/connection-catalog-document.ts  |   11 +-
 packages/storage/src/runtime-policy/coordinator.ts |   98 +-
 .../runtime-policy/oauth-login-receipt-document.ts |    6 +-
 .../src/runtime-policy/onboarding-transaction.ts   |   28 +-
 packages/storage/src/runtime-policy/operations.ts  |   10 +-
 packages/storage/src/session-copy-cleanup.ts       |    9 +-
 packages/storage/src/session-store.ts              |   74 +-
 packages/storage/src/sqlite-runtime-store.ts       |   21 +-
 .../storage/src/sqlite-session-metadata-schema.ts  |   33 +-
 .../storage/src/sqlite-session-metadata-store.ts   |  163 +
 packages/storage/src/sqlite-usage-store.ts         |   34 +-
 packages/storage/src/telemetry-repo.ts             |    6 +
 packages/storage/src/usage-stores.ts               |    5 +-
 packages/ui/README.md                              |    2 +-
 .../__tests__/composer-draft-caret-focus.test.tsx  |  265 ++
 .../ui/src/__tests__/interaction-queue.test.ts     |   21 +
 .../ui/src/__tests__/markdown-han-script.test.tsx  |   41 +
 .../ui/src/__tests__/prompt-anchor-rail.test.ts    |  147 +
 .../ui/src/__tests__/rail-alignment-claim.test.ts  |   56 +
 .../session-history-multi-select.test.tsx          |  693 +++-
 .../__tests__/session-history-row-actions.test.tsx |   95 +-
 .../ui/src/__tests__/turn-running-spinner.test.tsx |   23 +
 packages/ui/src/chat-turn.tsx                      |   44 +-
 packages/ui/src/chat-view.tsx                      |   48 +-
 packages/ui/src/components.tsx                     |    3 +-
 packages/ui/src/composer.tsx                       |  104 +-
 packages/ui/src/conversation-copy.ts               |   74 +-
 packages/ui/src/index.ts                           |    6 -
 packages/ui/src/interaction-queue.ts               |   29 +-
 packages/ui/src/markdown-body.tsx                  |   12 +
 packages/ui/src/materialize.ts                     |   45 +-
 packages/ui/src/primitives/page-header.tsx         |  191 --
 packages/ui/src/prompt-anchor-rail.tsx             |  398 ++-
 packages/ui/src/scheduled-task-form-dialog.tsx     |   16 +-
 packages/ui/src/session-history-list.tsx           |  521 ++-
 packages/ui/src/session-list-panel.tsx             |   21 +-
 packages/ui/src/session-rail-context.tsx           |  134 +-
 packages/ui/src/session-selection-bar.tsx          |  106 -
 packages/ui/src/session-setting-intent.test.ts     |  195 +-
 packages/ui/src/session-setting-intent.ts          |   54 +-
 packages/ui/src/streaming-presentation.ts          |    2 +-
 packages/ui/src/styles.css                         |   67 +-
 .../ui/src/tool-activity/computer-action-label.ts  |    3 +
 packages/ui/src/use-chat-scroll.ts                 |   23 +-
 packages/ui/stories/markdown.stories.tsx           |    2 +-
 packages/ui/stories/palette-matrix.stories.tsx     |   24 +-
 packages/ui/stories/session-list-panel.stories.tsx |   83 +-
 packages/ui/stories/session-rail-harness.tsx       |   16 +-
 scripts/asf-license-headers.mjs                    |   53 +-
 scripts/asf-license-headers.test.mjs               |    1 +
 scripts/biome-staged-check.mjs                     |   75 +
 scripts/biome-staged-check.test.mjs                |   73 +
 scripts/check-tui-copy.mjs                         |    2 +
 scripts/ci-workflow-policy.test.mjs                |    2 +-
 scripts/computer-use/e2e-scenarios.mjs             |   32 +-
 scripts/computer-use/provider-matrix.mjs           |    6 +-
 scripts/computer-use/real-ax-harness.mjs           |    1 -
 scripts/computer-use/real-model.mjs                |    8 +-
 scripts/computer-use/report-sanitize.mjs           |   27 +-
 scripts/desktop-real-window-smoke.mjs              |   14 +-
 scripts/fixture-env.mjs                            |   23 +
 scripts/fixture-env.test.mjs                       |   56 +
 scripts/fixture-window.mjs                         |   19 +-
 scripts/gen-bundled-skill-catalog.mjs              |    1 +
 scripts/{clean-paths.mjs => install-husky.mjs}     |   24 +-
 scripts/pr-effort.mjs                              |    9 +-
 scripts/pr-effort.test.mjs                         |    2 +
 scripts/protocol-epoch-check.mjs                   |   74 +-
 scripts/protocol-epoch-check.test.mjs              |   32 +
 scripts/smoke-release-cli-package.mjs              |   84 +-
 scripts/storybook-visual-smoke.mjs                 |   48 +-
 scripts/storybook-visual-smoke.test.mjs            |  126 +
 scripts/verify-macos-dmg.mjs                       |    4 +-
 scripts/verify-packaged-app.test.mjs               |   61 +-
 website/README.md                                  |   51 +
 website/astro.config.mjs                           |   58 +
 website/package.json                               |   17 +
 website/src/assets/incubator.png                   |  Bin 0 -> 22651 bytes
 website/src/components/Downloads.astro             |  155 +
 website/src/components/Home.astro                  |  178 ++
 website/src/copy/en.ts                             |  233 ++
 website/src/copy/links.ts                          |   61 +
 website/src/copy/types.ts                          |  112 +
 website/src/copy/zh-CN.ts                          |  208 ++
 website/src/layouts/Site.astro                     |  168 +
 .../src/pages/en/downloads.astro                   |    6 +-
 .../src/pages/en/index.astro                       |    6 +-
 .../global.d.ts => website/src/pages/index.astro   |   27 +-
 .../src/pages/zh-CN/downloads.astro                |    6 +-
 .../src/pages/zh-CN/index.astro                    |    6 +-
 website/src/styles/site.css                        | 1177 +++++++
 website/test/site.test.mjs                         |  137 +
 website/tsconfig.json                              |    5 +
 675 files changed, 50750 insertions(+), 13238 deletions(-)
 create mode 100644 .github/workflows/website.yml
 copy native/gitoxide-helper/rust-toolchain.toml => .husky/pre-commit (83%)
 mode change 100644 => 100755
 create mode 100644 apps/desktop/e2e/about-page.spec.ts
 create mode 100644 apps/desktop/e2e/agent-graph-layout.spec.ts
 create mode 100644 apps/desktop/scripts/vite-workspace-packages.test.mjs
 create mode 100644 apps/desktop/src/main/__tests__/about-update-status.test.ts
 create mode 100644 apps/desktop/src/main/__tests__/github-copilot-local-credential.test.ts
 delete mode 100644 apps/desktop/src/main/__tests__/github-copilot-subscription-service.test.ts
 create mode 100644 apps/desktop/src/main/__tests__/latest-request-usage.test.ts
 create mode 100644 apps/desktop/src/main/__tests__/session-inspector-usage-stats.test.ts
 create mode 100644 apps/desktop/src/main/__tests__/session-selection-open-elsewhere.test.ts
 create mode 100644 apps/desktop/src/main/__tests__/session-turn-request-composer.test.ts
 create mode 100644 apps/desktop/src/main/__tests__/usage-settings-view.test.ts
 create mode 100644 apps/desktop/src/main/__tests__/window-reveal-mode.test.ts
 create mode 100644 apps/desktop/src/main/__tests__/workhub-session-resolver-port.test.ts
 create mode 100644 apps/desktop/src/main/oauth/github-copilot-local-credential.ts
 delete mode 100644 apps/desktop/src/main/oauth/github-copilot-subscription-service.ts
 create mode 100644 apps/desktop/src/renderer/application/contracts/feature-services.tsx
 create mode 100644 apps/desktop/src/renderer/features/session-collaboration/ui/session-guest-turn-actions.tsx
 create mode 100644 apps/desktop/src/renderer/features/session-collaboration/ui/session-turn-request-composer.tsx
 create mode 100644 apps/desktop/src/renderer/features/usage/README.md
 copy apps/desktop/src/renderer/{settings/oauth-login-flow-guard.ts => features/usage/controller/action-guard.ts} (57%)
 copy apps/desktop/src/renderer/{settings/optimistic-settings-draft-controller.ts => features/usage/controller/optimistic-settings-draft.ts} (56%)
 copy packages/core/src/tool-mode.ts => apps/desktop/src/renderer/features/usage/index.ts (72%)
 create mode 100644 apps/desktop/src/renderer/features/usage/ports.ts
 create mode 100644 apps/desktop/src/renderer/features/usage/services-context.tsx
 rename apps/desktop/src/renderer/{settings/settings-metric-card.tsx => features/usage/ui/metric-card.tsx} (67%)
 copy apps/desktop/src/renderer/{settings/usage-settings-page.tsx => features/usage/ui/usage-settings-view.tsx} (67%)
 create mode 100644 apps/desktop/src/renderer/features/usage/ui/usage-stats-table.tsx
 copy apps/desktop/src/renderer/{app-shell-context-compaction.ts => features/workbar/tools/side-chat/quote-companion-context-compaction.ts} (63%)
 delete mode 100644 apps/desktop/src/renderer/session-turn-request-composer.tsx
 delete mode 100644 apps/desktop/src/renderer/settings/runtime-host-settings-bridge.ts
 delete mode 100644 apps/desktop/src/renderer/styles/settings/about.css
 create mode 100644 apps/desktop/stories/session-rail-multi-select.stories.tsx
 create mode 100644 apps/desktop/stories/shared-session-guest.stories.tsx
 copy scripts/check-third-party-notices.mjs => apps/desktop/vite-workspace-packages.ts (52%)
 create mode 100644 docs/blogs/beyond-function-calling.md
 create mode 100644 docs/blogs/beyond-function-calling.zh-CN.md
 create mode 100644 docs/blogs/log-is-the-runtime.md
 create mode 100644 docs/blogs/log-is-the-runtime.zh-CN.md
 create mode 100644 docs/github-copilot-oauth-identity.md
 create mode 100644 docs/tui-live-ctx-updates.md
 create mode 100644 docs/tui-live-ctx-updates.zh-CN.md
 create mode 100644 native/runtime-host-peer/src/engine/relay_anchor_store.rs
 create mode 100644 packages/cli/src/__tests__/pi-tui-form-interaction.test.ts
 create mode 100644 packages/cli/src/__tests__/pi-tui-user-question-option.test.ts
 create mode 100644 packages/cli/src/__tests__/runtime-host-openrc-service.test.ts
 create mode 100644 packages/cli/src/__tests__/tui-context-refresh.test.ts
 create mode 100644 packages/cli/src/pi-tui-form-interaction.ts
 create mode 100644 packages/cli/src/runtime-host-openrc-service.ts
 create mode 100644 packages/cli/src/tui-context-refresh.ts
 create mode 100644 packages/core/src/__tests__/text-sanitize.test.ts
 create mode 100644 packages/core/src/__tests__/workhub-session-resolver.test.ts
 create mode 100644 packages/core/src/workhub-session-resolver.ts
 create mode 100644 packages/eval/src/__tests__/process-termination.test.ts
 create mode 100644 packages/eval/src/__tests__/process-termination.windows.test.ts
 create mode 100644 packages/eval/src/process-termination.ts
 create mode 100644 packages/runtime-host/protocol-compatible-changes/connection-onboarding-create-identity.json
 create mode 100644 packages/runtime-host/src/__tests__/client-capability-interaction-broker.test.ts
 create mode 100644 packages/runtime-host/src/__tests__/peer-reachability.test.ts
 create mode 100644 packages/runtime-host/src/peer-reachability/index.ts
 create mode 100644 packages/runtime-host/src/peer-reachability/model.ts
 create mode 100644 packages/runtime-host/src/peer-reachability/owner.ts
 create mode 100644 packages/runtime-host/src/peer-reachability/publisher.ts
 create mode 100644 packages/runtime/src/__tests__/github-copilot-oauth-enrollment.test.ts
 create mode 100644 packages/runtime/src/__tests__/main-session-prompt.test.ts
 create mode 100644 packages/runtime/src/__tests__/opencode-session-header.test.ts
 create mode 100644 packages/runtime/src/__tests__/tool-runtime-form-interaction.test.ts
 create mode 100644 packages/runtime/src/github-copilot-oauth-enrollment.ts
 copy apps/desktop/src/renderer/settings/provider-display.tsx => packages/runtime/src/opencode-session-header.ts (56%)
 create mode 100644 packages/runtime/src/stream-usage-fallback-fetch.ts
 create mode 100644 packages/ui/src/__tests__/composer-draft-caret-focus.test.tsx
 create mode 100644 packages/ui/src/__tests__/markdown-han-script.test.tsx
 create mode 100644 packages/ui/src/__tests__/rail-alignment-claim.test.ts
 delete mode 100644 packages/ui/src/primitives/page-header.tsx
 delete mode 100644 packages/ui/src/session-selection-bar.tsx
 create mode 100644 scripts/biome-staged-check.mjs
 create mode 100644 scripts/biome-staged-check.test.mjs
 create mode 100644 scripts/fixture-env.test.mjs
 copy scripts/{clean-paths.mjs => install-husky.mjs} (69%)
 create mode 100644 scripts/storybook-visual-smoke.test.mjs
 create mode 100644 website/README.md
 create mode 100644 website/astro.config.mjs
 create mode 100644 website/package.json
 create mode 100644 website/src/assets/incubator.png
 create mode 100644 website/src/components/Downloads.astro
 create mode 100644 website/src/components/Home.astro
 create mode 100644 website/src/copy/en.ts
 create mode 100644 website/src/copy/links.ts
 create mode 100644 website/src/copy/types.ts
 create mode 100644 website/src/copy/zh-CN.ts
 create mode 100644 website/src/layouts/Site.astro
 copy apps/desktop/src/renderer/application/contracts/session-start-mode.ts => website/src/pages/en/downloads.astro (86%)
 copy apps/desktop/src/renderer/application/contracts/session-start-mode.ts => website/src/pages/en/index.astro (87%)
 copy apps/desktop/src/global.d.ts => website/src/pages/index.astro (58%)
 copy apps/desktop/src/renderer/application/contracts/session-start-mode.ts => website/src/pages/zh-CN/downloads.astro (85%)
 copy apps/desktop/src/renderer/application/contracts/session-start-mode.ts => website/src/pages/zh-CN/index.astro (87%)
 create mode 100644 website/src/styles/site.css
 create mode 100644 website/test/site.test.mjs
 create mode 100644 website/tsconfig.json


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


(maka) 01/06: fix(desktop): omit Windows PTY build intermediates

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch fix/windows-reproducible-payload
in repository https://gitbox.apache.org/repos/asf/maka.git

commit aea13ebf8dde1cdcbdfea0347588e665e6476c73
Author: AstroHan <le...@outlook.com>
AuthorDate: Wed Sep 2 23:47:19 2026 +0800

    fix(desktop): omit Windows PTY build intermediates
    
    Keep the native addons and ConPTY runtime helpers while excluding node-gyp projects and link scratch files. Those files embed checkout paths and generated project IDs in the shipped ASAR header. Exercise electron-builder’s dependency collector against a runtime and build-output fixture.
    
    Generated-by: Codex
---
 apps/desktop/electron-builder.config.mjs |  7 ++++
 scripts/verify-packaged-app.test.mjs     | 60 +++++++++++++++++++++++++++++++-
 2 files changed, 66 insertions(+), 1 deletion(-)

diff --git a/apps/desktop/electron-builder.config.mjs b/apps/desktop/electron-builder.config.mjs
index 5893b1e875..1dbe3bfd68 100644
--- a/apps/desktop/electron-builder.config.mjs
+++ b/apps/desktop/electron-builder.config.mjs
@@ -262,6 +262,13 @@ const baseDesktopBuilderConfig = {
   },
   win: {
     artifactName: 'Maka-${version}-win-${arch}.${ext}',
+    // node-gyp leaves checkout-specific projects and link intermediates here.
+    // Only the native addons and their ConPTY DLL/helper are used at runtime.
+    files: [
+      '!**/node_modules/node-pty/build/!(Release){,/**}',
+      '!**/node_modules/node-pty/build/Release/!(*.node|conpty){,/**}',
+      '!**/node_modules/node-pty/node-addon-api{,/**}',
+    ],
     // Same reason as `mac.icon` above: the .exe, the installer and the
     // shortcut are drawn by the OS from this file, not by us.
     icon: 'assets/app-icons/sky.png',
diff --git a/scripts/verify-packaged-app.test.mjs b/scripts/verify-packaged-app.test.mjs
index e5ada284f9..54a52f177e 100644
--- a/scripts/verify-packaged-app.test.mjs
+++ b/scripts/verify-packaged-app.test.mjs
@@ -20,15 +20,73 @@
 import assert from 'node:assert/strict';
 import { mkdir, mkdtemp, readFile, rename, rm, writeFile } from 'node:fs/promises';
 import { tmpdir } from 'node:os';
-import { dirname, join } from 'node:path';
+import { dirname, join, relative } from 'node:path';
 import { after, describe, test } from 'node:test';
 import { createPackage } from '@electron/asar';
+import { FileMatcher, getNodeModuleFileMatcher } from 'app-builder-lib/out/fileMatcher.js';
+import { NodeModuleCopyHelper } from 'app-builder-lib/out/util/NodeModuleCopyHelper.js';
+import { resolveDesktopBuilderConfig } from '../apps/desktop/electron-builder.config.mjs';
 import {
   asarLookupPath,
   assertPackagedDependencyClosure,
   assertPackagedResources,
 } from './verify-packaged-app.mjs';
 
+test('Windows packaging keeps node-pty runtime files without its build intermediates', async (t) => {
+  const root = await mkdtemp(join(tmpdir(), 'maka-pty-package-'));
+  t.after(() => rm(root, { recursive: true, force: true }));
+  const moduleRoot = join(root, 'node_modules', 'node-pty');
+  const runtimeFiles = [
+    'package.json',
+    'LICENSE',
+    'lib/index.js',
+    'lib/worker/conoutSocketWorker.js',
+    'build/Release/conpty.node',
+    'build/Release/conpty_console_list.node',
+    'build/Release/conpty/conpty.dll',
+    'build/Release/conpty/OpenConsole.exe',
+    'prebuilds/win32-x64/conpty.node',
+    'prebuilds/win32-x64/conpty/conpty.dll',
+    'prebuilds/win32-x64/conpty/OpenConsole.exe',
+  ];
+  const buildFiles = [
+    'build/conpty.vcxproj',
+    'build/conpty.vcxproj.filters',
+    'build/Release/conpty.exp',
+    'build/Release/conpty.iobj',
+    'build/Release/conpty.ipdb',
+    'build/Release/obj/conpty/conpty.tlog/CL.command.1.tlog',
+    'build/Release/obj/conpty/conpty.node.recipe',
+    'node-addon-api/node_addon_api_except.vcxproj',
+    'node-addon-api/Release/obj/node_addon_api_except/n.nativecodeanalysis.xml',
+  ];
+  for (const name of [...runtimeFiles, ...buildFiles]) {
+    const path = join(moduleRoot, name);
+    await mkdir(dirname(path), { recursive: true });
+    await writeFile(path, name);
+  }
+  const config = resolveDesktopBuilderConfig({});
+  const packager = {
+    config,
+    appInfo: { type: 'module' },
+    debugLogger: { isEnabled: false },
+    getWorkspaceRoot: async () => root,
+  };
+  const destination = join(root, 'output');
+  const mainMatcher = getNodeModuleFileMatcher(root, destination, (s) => s, config.win, packager);
+  const matcher = new FileMatcher(moduleRoot, destination, (s) => s, mainMatcher.patterns);
+  const copier = new NodeModuleCopyHelper(matcher, packager);
+  const files = await copier.collectNodeModules(
+    { name: 'node-pty', dir: moduleRoot },
+    [],
+    join('node_modules', 'node-pty'),
+  );
+  assert.deepEqual(
+    files.map((file) => relative(moduleRoot, file).replaceAll('\\', '/')).sort(),
+    runtimeFiles.sort(),
+  );
+});
+
 test('packaged resources forbid the retired bundled Git distribution', async () => {
   const required = [];
   const forbidden = [];


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


(maka) 06/06: test(release): cover archive patch changes in Windows CI

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch fix/windows-reproducible-payload
in repository https://gitbox.apache.org/repos/asf/maka.git

commit 085844a0d0016d2e34f27912490596a23aaf049e
Author: AstroHan <le...@outlook.com>
AuthorDate: Thu Sep 3 00:49:44 2026 +0800

    test(release): cover archive patch changes in Windows CI
    
    Generated-by: Codex
---
 .github/workflows/release-windows-check.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/release-windows-check.yml b/.github/workflows/release-windows-check.yml
index 1ed6767d9e..05514265fd 100644
--- a/.github/workflows/release-windows-check.yml
+++ b/.github/workflows/release-windows-check.yml
@@ -36,6 +36,8 @@ on:
       - 'packages/cli/RUNTIME_HOST_PEER_DEPENDENCIES.rust.tsv'
       - 'packages/cli/RUNTIME_HOST_PEER_THIRD_PARTY_NOTICES.txt'
       - 'scripts/package-windows-x64.mjs'
+      - 'scripts/windows-archive-repro.test.mjs'
+      - 'patches/app-builder-lib+*.patch'
       - 'scripts/generate-runtime-host-peer-dependencies.mjs'
       - 'scripts/generate-runtime-host-peer-notices.mjs'
       - 'scripts/verify-windows-x64.mjs'


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


(maka) 02/06: fix(desktop): remove variable Windows linker metadata

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch fix/windows-reproducible-payload
in repository https://gitbox.apache.org/repos/asf/maka.git

commit d7f22ae7dca54cfdd3fa7d09ec752e3825f801cb
Author: AstroHan <le...@outlook.com>
AuthorDate: Wed Sep 2 23:48:22 2026 +0800

    fix(desktop): remove variable Windows linker metadata
    
    Apply release-only linker flags through the existing Windows command runner. Use content-derived PE timestamps and omit PDB references, whose paths and random IDs accounted for native binary differences in the clean-build probe. PDBs were already excluded from release artifacts. Windows dual-build verification remains pending.
    
    Generated-by: Codex
---
 scripts/package-windows-x64.mjs | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/scripts/package-windows-x64.mjs b/scripts/package-windows-x64.mjs
index c3194af0f2..fd058debc0 100644
--- a/scripts/package-windows-x64.mjs
+++ b/scripts/package-windows-x64.mjs
@@ -66,12 +66,19 @@ export function runCommand(
   { spawnProcess = spawn, platform = process.platform } = {},
 ) {
   return new Promise((resolve, reject) => {
+    // The release does not ship PDBs. Remove their random IDs and paths from
+    // native binaries, and let the linker derive timestamps from the content.
+    // _LINK_ is appended after command-line flags, including node-gyp's /DEBUG.
+    const env = {
+      ...process.env,
+      _LINK_: [process.env._LINK_, '/Brepro /INCREMENTAL:NO /DEBUG:NONE'].filter(Boolean).join(' '),
+    };
     // Every command here is a repository constant, so the shell that Windows
     // needs to reach npm.cmd introduces no quoting concern.
     const child = spawnProcess(
       command,
       args,
-      npmSpawnOptions({ cwd: repoRoot, env: process.env, stdio: 'inherit' }, platform),
+      npmSpawnOptions({ cwd: repoRoot, env, stdio: 'inherit' }, platform),
     );
     child.once('error', reject);
     child.once('exit', (code, signal) => {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


(maka) 04/06: fix(release): omit ZIP modification timestamps

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch fix/windows-reproducible-payload
in repository https://gitbox.apache.org/repos/asf/maka.git

commit 09d43297cf89da9a1f72123597ce99b6d8c3228c
Author: AstroHan <le...@outlook.com>
AuthorDate: Thu Sep 3 00:46:29 2026 +0800

    fix(release): omit ZIP modification timestamps
    
    The two clean Windows builds have identical compressed ZIP entry data; all remaining ZIP differences are DOS and NTFS modification times. Disable modification and access times at the existing 7-Zip invocation. This requires a one-line app-builder-lib patch because there is no archive flag passthrough. Test real ZIP bytes with different source timestamps and verify the extracted payload.
    
    Generated-by: Codex
---
 .github/workflows/release-windows-check.yml |  3 ++
 LICENSE                                     | 33 ++++++++++++++++++
 package.json                                |  1 +
 patches/app-builder-lib+26.15.3.patch       | 11 ++++++
 scripts/windows-archive-repro.test.mjs      | 54 +++++++++++++++++++++++++++++
 5 files changed, 102 insertions(+)

diff --git a/.github/workflows/release-windows-check.yml b/.github/workflows/release-windows-check.yml
index 32d29078a8..1ed6767d9e 100644
--- a/.github/workflows/release-windows-check.yml
+++ b/.github/workflows/release-windows-check.yml
@@ -166,6 +166,9 @@ jobs:
       - name: Package the Windows installer and ZIP
         run: npm run package:windows-x64
 
+      - name: Check archive reproducibility with different input timestamps
+        run: npm run test:windows-archives
+
       - name: Report Rust build cache
         run: kache report --format github >> "$GITHUB_STEP_SUMMARY"
 
diff --git a/LICENSE b/LICENSE
index 6371a078e8..be028808aa 100644
--- a/LICENSE
+++ b/LICENSE
@@ -308,6 +308,39 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 
+electron-builder dependency patch
+
+Source: https://www.npmjs.com/package/app-builder-lib/v/26.15.3
+Repository: https://github.com/electron-userland/electron-builder
+Version: 26.15.3
+Dependency patch: patches/app-builder-lib+26.15.3.patch
+License: MIT
+
+Maka redistributes a source patch that omits modification and access times
+from ZIP archives. The following MIT License applies to that material:
+
+The MIT License (MIT)
+
+Copyright (c) 2015 Loopline Systems
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
 node-pty dependency patch
 
 Source: https://www.npmjs.com/package/node-pty/v/1.2.0-beta.15
diff --git a/package.json b/package.json
index 86b97fc986..d0e1a332ec 100644
--- a/package.json
+++ b/package.json
@@ -83,6 +83,7 @@
     "package:macos-autoupdate-next": "node scripts/package-macos-autoupdate-next.mjs",
     "verify:macos-autoupdate": "node scripts/verify-macos-autoupdate.mjs",
     "package:windows-x64": "node scripts/package-windows-x64.mjs",
+    "test:windows-archives": "node --test scripts/windows-archive-repro.test.mjs",
     "verify:windows-x64": "node scripts/verify-windows-x64.mjs",
     "verify:windows-installer": "node scripts/verify-windows-installer-lifecycle.mjs",
     "package:windows-autoupdate-next": "node scripts/package-windows-autoupdate-next.mjs",
diff --git a/patches/app-builder-lib+26.15.3.patch b/patches/app-builder-lib+26.15.3.patch
new file mode 100644
index 0000000000..bbd3bb6520
--- /dev/null
+++ b/patches/app-builder-lib+26.15.3.patch
@@ -0,0 +1,11 @@
+diff --git a/node_modules/app-builder-lib/out/targets/archive.js b/node_modules/app-builder-lib/out/targets/archive.js
+--- a/node_modules/app-builder-lib/out/targets/archive.js
++++ b/node_modules/app-builder-lib/out/targets/archive.js
+@@ -101,6 +101,7 @@ function compute7zCompressArgs(format, options = {}) {
+         // For all other formats the codec is implicit from the output file extension.
+         args.push(`-mm=${storeOnly ? "Copy" : "Deflate"}`);
+         args.push("-mcu");
++        args.push("-mtm=off", "-mta=off");
+     }
+     return args;
+ }
diff --git a/scripts/windows-archive-repro.test.mjs b/scripts/windows-archive-repro.test.mjs
new file mode 100644
index 0000000000..f3411aa1e4
--- /dev/null
+++ b/scripts/windows-archive-repro.test.mjs
@@ -0,0 +1,54 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import assert from 'node:assert/strict';
+import { execFile } from 'node:child_process';
+import { mkdir, mkdtemp, readFile, rm, utimes, writeFile } from 'node:fs/promises';
+import { tmpdir } from 'node:os';
+import { join } from 'node:path';
+import test from 'node:test';
+import { promisify } from 'node:util';
+import { archive } from 'app-builder-lib/out/targets/archive.js';
+import { getPath7za } from 'app-builder-lib/out/toolsets/7zip.js';
+
+test('the Windows ZIP path produces identical bytes regardless of input modification time', async (t) => {
+  const root = await mkdtemp(join(tmpdir(), 'maka-archive-repro-'));
+  t.after(() => rm(root, { recursive: true, force: true }));
+  const input = join(root, 'input');
+  await mkdir(join(input, 'empty'), { recursive: true });
+  const file = join(input, 'payload.txt');
+  await writeFile(file, 'identical payload');
+  const zip = join(root, 'payload.zip');
+  const results = [];
+  for (const date of [new Date('2024-01-01T00:00:00Z'), new Date('2024-02-02T00:00:00Z')]) {
+    await utimes(file, date, date);
+    await utimes(join(input, 'empty'), date, date);
+    await archive('zip', zip, input, { withoutDir: true });
+    const { stdout } = await promisify(execFile)(await getPath7za(), [
+      'e',
+      '-so',
+      zip,
+      'payload.txt',
+    ]);
+    assert.equal(stdout, 'identical payload');
+    results.push(await readFile(zip));
+    await rm(zip);
+  }
+  assert.ok(results[0].equals(results[1]), 'ZIP bytes changed with the input file timestamp');
+});


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


(maka) 03/06: fix(desktop): keep packaging filters in one file set

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch fix/windows-reproducible-payload
in repository https://gitbox.apache.org/repos/asf/maka.git

commit d91ea09c4d91865c91eae9c4d6ab04327c2fde29
Author: AstroHan <le...@outlook.com>
AuthorDate: Thu Sep 3 00:07:52 2026 +0800

    fix(desktop): keep packaging filters in one file set
    
    Platform-only string filters created an additional catch-all matcher after electron-builder normalized the global file set. That reintroduced test and renderer side-files into the app. Keep PTY exclusions in the existing file set and preserve the Unix spawn helper. Test actual normalized file collection, not only dependency matching.
    
    Generated-by: Codex
---
 apps/desktop/electron-builder.config.mjs | 12 +++---
 scripts/verify-packaged-app.test.mjs     | 63 ++++++++++++++++++++++++++++++--
 2 files changed, 65 insertions(+), 10 deletions(-)

diff --git a/apps/desktop/electron-builder.config.mjs b/apps/desktop/electron-builder.config.mjs
index 1dbe3bfd68..2e3130b8ee 100644
--- a/apps/desktop/electron-builder.config.mjs
+++ b/apps/desktop/electron-builder.config.mjs
@@ -90,6 +90,11 @@ const baseDesktopBuilderConfig = {
     'dist/**/*',
     'dist-renderer/**/*',
     'package.json',
+    // Keep node-gyp's checkout-specific projects and link intermediates out.
+    // Native addons, the Unix spawn helper and ConPTY's DLL/helper are runtime files.
+    '!**/node_modules/node-pty/build/!(Release){,/**}',
+    '!**/node_modules/node-pty/build/Release/!(*.node|spawn-helper|conpty){,/**}',
+    '!**/node_modules/node-pty/node-addon-api{,/**}',
     '!node_modules/@maka/{mcp,runtime,runtime-host}/package.json',
     '!**/__tests__/**',
     // FakeBackend and the Desktop E2E candidate bootstrap live under
@@ -262,13 +267,6 @@ const baseDesktopBuilderConfig = {
   },
   win: {
     artifactName: 'Maka-${version}-win-${arch}.${ext}',
-    // node-gyp leaves checkout-specific projects and link intermediates here.
-    // Only the native addons and their ConPTY DLL/helper are used at runtime.
-    files: [
-      '!**/node_modules/node-pty/build/!(Release){,/**}',
-      '!**/node_modules/node-pty/build/Release/!(*.node|conpty){,/**}',
-      '!**/node_modules/node-pty/node-addon-api{,/**}',
-    ],
     // Same reason as `mac.icon` above: the .exe, the installer and the
     // shortcut are drawn by the OS from this file, not by us.
     icon: 'assets/app-icons/sky.png',
diff --git a/scripts/verify-packaged-app.test.mjs b/scripts/verify-packaged-app.test.mjs
index 54a52f177e..268ef84cdc 100644
--- a/scripts/verify-packaged-app.test.mjs
+++ b/scripts/verify-packaged-app.test.mjs
@@ -23,8 +23,14 @@ import { tmpdir } from 'node:os';
 import { dirname, join, relative } from 'node:path';
 import { after, describe, test } from 'node:test';
 import { createPackage } from '@electron/asar';
-import { FileMatcher, getNodeModuleFileMatcher } from 'app-builder-lib/out/fileMatcher.js';
+import {
+  FileMatcher,
+  getMainFileMatchers,
+  getNodeModuleFileMatcher,
+} from 'app-builder-lib/out/fileMatcher.js';
 import { NodeModuleCopyHelper } from 'app-builder-lib/out/util/NodeModuleCopyHelper.js';
+import { computeFileSets } from 'app-builder-lib/out/util/appFileCopier.js';
+import { doMergeConfigs } from 'app-builder-lib/out/util/config/config.js';
 import { resolveDesktopBuilderConfig } from '../apps/desktop/electron-builder.config.mjs';
 import {
   asarLookupPath,
@@ -32,7 +38,55 @@ import {
   assertPackagedResources,
 } from './verify-packaged-app.mjs';
 
-test('Windows packaging keeps node-pty runtime files without its build intermediates', async (t) => {
+test('Windows file rules keep test code and renderer side-files out of the app', async (t) => {
+  const root = await mkdtemp(join(tmpdir(), 'maka-app-package-'));
+  t.after(() => rm(root, { recursive: true, force: true }));
+  const runtimeFiles = [
+    'package.json',
+    'dist/main/index.js',
+    'dist-renderer/index.html',
+    'dist/renderer/computer-use-overlay/index.js',
+  ];
+  for (const name of [
+    ...runtimeFiles,
+    'dist/main/__tests__/about.test.js',
+    'dist/main/test-only/bootstrap.js',
+    'dist/renderer/agent-graph-panel.js',
+  ]) {
+    const path = join(root, name);
+    await mkdir(dirname(path), { recursive: true });
+    await writeFile(path, name);
+  }
+  // Config normalization runs before file matching in electron-builder.
+  const base = resolveDesktopBuilderConfig({});
+  const config = doMergeConfigs([{ ...base, files: [...base.files] }]);
+  const packager = {
+    config,
+    projectDir: root,
+    buildResourcesDir: 'build',
+    debugLogger: { isEnabled: false },
+  };
+  const platformPackager = { info: packager };
+  const output = join(root, 'release');
+  const matchers = getMainFileMatchers(
+    root,
+    output,
+    (s) => s,
+    config.win,
+    platformPackager,
+    output,
+    false,
+  );
+  const sets = await computeFileSets(matchers, null, platformPackager, false);
+  const files = [
+    ...new Set(
+      sets.flatMap((set) => set.files).map((file) => relative(root, file).replaceAll('\\', '/')),
+    ),
+  ];
+  assert.deepEqual(files.sort(), runtimeFiles.sort());
+});
+
+test('Desktop packaging keeps node-pty runtime files without its build intermediates', async (t) => {
   const root = await mkdtemp(join(tmpdir(), 'maka-pty-package-'));
   t.after(() => rm(root, { recursive: true, force: true }));
   const moduleRoot = join(root, 'node_modules', 'node-pty');
@@ -43,6 +97,8 @@ test('Windows packaging keeps node-pty runtime files without its build intermedi
     'lib/worker/conoutSocketWorker.js',
     'build/Release/conpty.node',
     'build/Release/conpty_console_list.node',
+    'build/Release/pty.node',
+    'build/Release/spawn-helper',
     'build/Release/conpty/conpty.dll',
     'build/Release/conpty/OpenConsole.exe',
     'prebuilds/win32-x64/conpty.node',
@@ -65,7 +121,8 @@ test('Windows packaging keeps node-pty runtime files without its build intermedi
     await mkdir(dirname(path), { recursive: true });
     await writeFile(path, name);
   }
-  const config = resolveDesktopBuilderConfig({});
+  const base = resolveDesktopBuilderConfig({});
+  const config = doMergeConfigs([{ ...base, files: [...base.files] }]);
   const packager = {
     config,
     appInfo: { type: 'module' },


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


(maka) 05/06: fix(release): omit NSIS input file timestamps

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch fix/windows-reproducible-payload
in repository https://gitbox.apache.org/repos/asf/maka.git

commit 7b8573fad4726d4d518d898540f6286138099c0b
Author: AstroHan <le...@outlook.com>
AuthorDate: Thu Sep 3 00:48:43 2026 +0800

    fix(release): omit NSIS input file timestamps
    
    The only differing NSIS header fields are the build-time FILETIMEs of app-64.7z and the uninstaller. SetDateSave off removes those fields at compilation without changing the embedded bytes. A real NSIS fixture verifies identical output after changing input timestamps; the full Windows release remains the acceptance test.
    
    Generated-by: Codex
---
 apps/desktop/build/installer.nsh       |  4 ++++
 scripts/windows-archive-repro.test.mjs | 40 ++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/apps/desktop/build/installer.nsh b/apps/desktop/build/installer.nsh
index 2a5d723e96..c0e2f08aef 100644
--- a/apps/desktop/build/installer.nsh
+++ b/apps/desktop/build/installer.nsh
@@ -76,6 +76,10 @@
 # expand at their insertion points. Functions therefore read exclusively from
 # the $maka* variables assigned in customInit.
 
+# The archive and uninstaller bytes are stable; their build-time mtimes are not.
+# Their installation does not depend on preserving those input file dates.
+SetDateSave off
+
 !ifndef BUILD_UNINSTALLER
 
 !include LogicLib.nsh
diff --git a/scripts/windows-archive-repro.test.mjs b/scripts/windows-archive-repro.test.mjs
index f3411aa1e4..52e313707f 100644
--- a/scripts/windows-archive-repro.test.mjs
+++ b/scripts/windows-archive-repro.test.mjs
@@ -24,8 +24,10 @@ import { tmpdir } from 'node:os';
 import { join } from 'node:path';
 import test from 'node:test';
 import { promisify } from 'node:util';
+import { fileURLToPath } from 'node:url';
 import { archive } from 'app-builder-lib/out/targets/archive.js';
 import { getPath7za } from 'app-builder-lib/out/toolsets/7zip.js';
+import { getMakeNsisPath } from 'app-builder-lib/out/toolsets/windows.js';
 
 test('the Windows ZIP path produces identical bytes regardless of input modification time', async (t) => {
   const root = await mkdtemp(join(tmpdir(), 'maka-archive-repro-'));
@@ -52,3 +54,41 @@ test('the Windows ZIP path produces identical bytes regardless of input modifica
   }
   assert.ok(results[0].equals(results[1]), 'ZIP bytes changed with the input file timestamp');
 });
+
+test('the NSIS include produces identical bytes regardless of embedded file modification time', async (t) => {
+  const root = await mkdtemp(join(tmpdir(), 'maka-nsis-repro-'));
+  t.after(() => rm(root, { recursive: true, force: true }));
+  const file = join(root, 'payload.txt');
+  const payload = 'identical NSIS payload';
+  await writeFile(file, payload);
+  const script = join(root, 'fixture.nsi');
+  const include = fileURLToPath(new URL('../apps/desktop/build/installer.nsh', import.meta.url));
+  await writeFile(
+    script,
+    `
+!define BUILD_UNINSTALLER
+!include "${include}"
+Name "Maka timestamp fixture"
+OutFile "fixture.exe"
+RequestExecutionLevel user
+SetCompress off
+Section
+  SetOutPath "$TEMP"
+  File "payload.txt"
+SectionEnd
+`,
+  );
+  const nsis = await getMakeNsisPath();
+  const results = [];
+  for (const date of [new Date('2024-01-01T00:00:00Z'), new Date('2024-02-02T00:00:00Z')]) {
+    await utimes(file, date, date);
+    await promisify(execFile)(nsis.path, ['-V2', script], {
+      cwd: root,
+      env: { ...process.env, ...nsis.env },
+    });
+    const bytes = await readFile(join(root, 'fixture.exe'));
+    assert.ok(bytes.includes(Buffer.from(payload)), 'NSIS fixture lost its embedded payload');
+    results.push(bytes);
+  }
+  assert.ok(results[0].equals(results[1]), 'NSIS bytes changed with the embedded file timestamp');
+});


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org