Repository navigation
Conversation
GPUI was replaced by the NSH native backends on rust-preview, so the Quick Tools panel now runs as a nonactivating NSPanel subclass that hosts an NSH AppView instead of a GPUI window. - panel.rs: QuickPanel (NSPanel) with becomeKey/resignKey hooks, present/dismiss that restore the previous app, and a file picker shown as a sheet on the panel so it never activates the app or hands key status to the main window. - appkit.rs: connect the quick-tools control on startup, reconnect on follow(), and close panels on quit and barrier. - Cargo.toml: drop GPUI deps, add objc2 / objc2-app-kit / block2. - bundle tsconfig: exclude quick-tools runtime/ and tools/, which are NSH UI-side sources checked by the ui_types step. - Remove the leftover MAKA_GPUI env var and GPUI wording in the README.
…cher off The panel now becomes key as a nonactivating panel without activating Maka, so the app the user was in keeps its menu bar and focus, as Spotlight and Raycast do. A fresh install registers no global shortcut; turning the launcher on in settings still picks Alt+Space.
…tings Settings rows take an optional note, shown muted after the label and truncated first. Plugin rows use it for the manifest description, the expanded command list lines up with the plugin name and keeps the row background, and four built-in descriptions are rewritten to fit one line.
bc465c6 to
a17b233
Compare
…tools-rust # Conflicts: # plugins/agent/composer/ui/Composer.tsx # plugins/agent/conversations/ui/Conversation.tsx # plugins/agent/conversations/ui/SessionSurface.tsx # products/maka/workbench/app/ComposerDetails.tsx # products/maka/workbench/app/MessageRow.tsx # products/maka/workbench/app/TurnNavigation.tsx
Astro-Han
left a comment
There was a problem hiding this comment.
I reviewed all 130 changed files at 25cd1927f14859900948d2215ee17ffc639e6a81 (+13,989/−576) against current rust-preview cb2cc895896220d8dffea66d16b31329defbbf76. An actual merge succeeds. I found one P1 and three P2 issues, detailed inline: an installed plugin can access retained unsent messages through a host-storage name collision; a 65th package leaves the registry unreadable on restart; the new workbench tests reference a removed environment API; and the new process-wrap dependency is absent from the required notices.
I checked the independent AppKit panel, window/session handoff, foreground/read acknowledgements, composer and message layout, shortcut registration, clipboard/paste/screenshot helpers, native Chrome messaging, declared browser adapters, ranking admission, package lifecycle and storage, built-in tools, contracts and build routing. The extraction of the existing composer in SessionSurface.tsx preserves every existing property modulo whitespace, with two explicit Quick Tools properties added. Neither this inspection nor an issue's acceptance checklist establishes full equivalence with the old application.
Local execution: 11/11 Quick Tools JavaScript tests, 21/21 Bot transcript tests, and the two actual Rust Chrome-bridge tests passed. The Rust checks used the unchanged production chrome.rs in an isolated Linux harness; they cover frame limits and disconnect/session identity, not a live Chrome extension. The actual migration SQL removes both former boolean privacy values while retaining revision/other preferences and leaving two corrupt or unknown shapes for the canonical decoder to reject. I did not run the complete Rust workspace, AppKit, a real browser/model/clipboard, or cross-application typing and paste locally.
For the two storage findings, I executed the actual package/schema/storage modules against real temporary files. The name-collision reproduction additionally executes the actual engine and plugin_worker.js, with a controlled native transport: a plugin declaring permissions: [] reads retained unsent text and attachment names, then overwrites the host file. A distinct plugin ID reads only its own empty data. Adding the missing reserved name blocks installation and preserves the host file. For capacity, 64 packages reopen successfully; the accepted 65th commit writes 65 records and reopening fails. Validating the registry before persistence rejects that commit and preserves a healthy 64-record restart. These repair controls only changed isolated review copies, which I restored byte for byte; no author branch was changed. The transport adaptation does not constitute a native sandbox execution test.
Current CI 42502122122 completed with failure. Its root build reports the new test's Environment.renderer/Renderer errors, and product checks reject missing [email protected] notices. Tooling also fails cargo fmt --all -- --check on newly added code, including the ranking structs and dispatch. The PR body's statement that formatting differs only in pre-existing quick_tools/mod.rs does not describe this run.
Other failures need separate attribution. Linux AppWindow.attributes access and macOS's missing track_menu/native_at type mismatch already fail the current base; I do not report them as new defects here. This PR's NSH job additionally fails the TUI error-display case after 4,600 passing cases, and Windows passes its desktop suite before native-pixels fails to find six rendered turn marks at scale 1 (rail.rs:189, 10.262s). Both base Windows pixel tests passed. The PR changes the turn rail, but these results alone do not establish a user-facing cause; the Windows pixel failure here also differs from #6705's scale-2 preview failure. Native panel, paste, screenshot, and complete unread/session lifecycle acceptance remain unconfirmed.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
| .regex(/^[a-z0-9][a-z0-9.-]{0,99}$/) | ||
| .refine( | ||
| (id) => | ||
| !['host', 'preferences', 'input-history', 'trace', 'shortcuts', 'extensions'].includes(id), |
There was a problem hiding this comment.
[P1] Reserve the host's retained-send storage namespace
Conversation.tsx now stores retained unsent text and attachment names under quickStorage.update('undelivered', ...), but undelivered passes this manifest-ID check and the native loader's parallel allowlist. An installed plugin with that ID and permissions: [] receives unconditional storage.read/storage.write; the engine maps those calls to storage.read(request.plugin, ...) and storage.write(request.plugin, ...). I reproduced reading another session's retained message and overwriting the actual undelivered.json through the actual installer/engine/worker modules with controlled native transport. A different ID cannot read it; reserving this ID prevents the install. Separate host-owned records from plugin storage, and enforce the same reservation in both manifest validation and the native loader.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
| digest: digest(pending.bundle), | ||
| previous: current ? { bundle: current.bundle, digest: current.digest } : undefined, | ||
| }; | ||
| await this.save([...this.records.filter((r) => r !== current), next]); |
There was a problem hiding this comment.
[P2] Enforce registry capacity before committing an installation
start() parses the entire persisted registry with records.max(64), while this path appends and saves a new record without the same limit. Neither installation UI checks capacity, and installPackage() commits before loading the worker. I reproduced 64 valid packages reopening normally, then a 65th commit succeeding and persisting 65 entries; the next Packages.start() rejects the whole registry and leaves records empty. Because QuickTools.start() awaits it before loading built-ins, the launcher also fails to initialize and the UI cannot list these packages for removal after restart. Validating before persistence makes the same 65th install fail while preserving the 64-record file and a successful restart. Keep updates to existing IDs available at capacity.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
| super::quick_tools_capabilities(&mut capabilities); | ||
| let config=|host,name|nsh_engine::EngineConfig { | ||
| ui_sets:sets.clone(),host,data_dir:Some(root.path().join(name)), | ||
| environment:Environment{os:Os::MacOs,renderer:Renderer::Native,..Environment::default()}, |
There was a problem hiding this comment.
[P2] Update the new tests to the current NSH environment API
This new, unconditional test constructs Environment { renderer: Renderer::Native, ... }, but the synchronized NSH Environment no longer has renderer and Renderer is not in scope. Current-head root-build fails at this exact line with E0560 and E0433 during cargo test --no-run --workspace --locked, preventing all root-test partitions from starting. The macOS-only new test repeats the same obsolete field. Update both fixtures to the current environment fields; this compile failure is introduced by these tests and is separate from the base's Linux/macOS platform compile failures.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
| publish.workspace = true | ||
|
|
||
| [dependencies] | ||
| rmcp = { version = "=3.8.0", default-features = false, features = ["client", "transport-child-process"] } |
There was a problem hiding this comment.
[P2] Include the new browser transport dependency in release notices
Enabling rmcp's child-process transport adds [email protected] to Cargo.lock, but this PR does not update the Cargo third-party notice inventory. The current-head product job exits with Third-party notices do not cover current component or license data: cargo:[email protected] registry+https://github.com/rust-lang/crates.io-index. Regenerate and check the required inventory/notices for the new feature set so the packaging gate can pass. This is attributable to the new transport dependency, rather than the already-failing NSH base compilation.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
…stry - Reserve `undelivered` and `launcher-shortcut` as plugin IDs in both the manifest schema and the native loader, so an installed plugin cannot read or overwrite the host's retained sends or launcher shortcut. - Reject a new install once 64 packages are installed, and validate the registry before writing it, so a restart can always read it back. Updating an installed package still works at capacity. - Drop the removed `Environment::renderer` field from the workbench tests. - Add `process-wrap` and `zod` to the third-party notices. - Apply `cargo fmt` to the Rust files this branch changed.
Astro-Han
left a comment
There was a problem hiding this comment.
I reviewed the 35-file increment from 25cd1927f14859900948d2215ee17ffc639e6a81 to 59e9641bf133f9b2107c3900c75b7f95e930b4d3. The complete PR adds configurable Quick Tools and now changes 133 files (+14,389/−624); an actual merge with rust-preview cb2cc895896220d8dffea66d16b31329defbbf76 succeeds. My earlier full review remains the source for the unchanged code. The four previously reported issues are fixed in the checks described below. One confirmed P2 remains: current CI rejects 47 newly added files for missing the required source header.
The manifest schema and Rust loader both reserve undelivered and launcher-shortcut. With the actual engine, package loader, worker preparation and a controlled native transport backed by a real temporary draft file, both reserved IDs are rejected before a worker request and the host draft remains unchanged. The 64-package limit is checked inside the serialized mutation, and saved registries are parsed before writing. Real-file checks covered reopening 64 packages, rejecting a 65th without changing disk, updating/rolling back at capacity, and two concurrent installs from 63 packages: exactly one succeeds and the saved registry reopens with 64. The current 12 Quick Tools Node tests pass; retaining the new tests but restoring the old schema/package modules produces exactly the reserved-ID and capacity failures.
The two obsolete Environment.renderer uses are removed. I ran the actual current maka-workbench Rust test suite on Linux: all 33 tests pass, including the independent panel language/appearance case. This does not execute AppKit or Windows. The added [email protected] and [email protected] notice records match the official record generator and exact locked package contents; the downloaded process-wrap crate also matches Cargo.lock's checksum. The rendered notice document hash matches its manifest. This checks those two additions, not the complete cross-platform release dependency closure.
The subsequent formatting revision matches the output of Biome 2.6.3 on all 20 affected source files, and current CI passes that formatter stage. However, current tooling later fails the source-header check: all 47 reported files are new in this PR. I reproduced that failure with the official checker against the exact current files, then verified that applying its header writer in a separate copy makes the check pass. Please bring these files into the project's header policy, using the appropriate header or a reviewed exclusion for externally owned content.
Other current checks are also not all green. Root build, Linux NSH and packaging fail on the pre-existing private AppWindow.attributes access; macOS fails on the pre-existing missing chrome::track_menu and native_at argument mismatch. Those source sites are unchanged by this PR and are addressed separately by #6709; I am not attributing them to Quick Tools. Windows is still running at this check. The preceding revision's cancelled native jobs are not passes.
I have not accepted the real macOS panel, foreground-application/selection capture, cross-application clipboard paste, populated old session restore, or the full close/reopen and Host-replacement lifecycle. The controlled transport and Linux Workbench tests do not establish those behaviors. No database schema or protocol epoch change is introduced by this increment.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
| @@ -0,0 +1,111 @@ | |||
| /* Licensed under the Apache License, Version 2.0. See LICENSE and NOTICE. */ | |||
There was a problem hiding this comment.
[P2] Satisfy the source-header check for the new files
The current tooling job fails after formatting and tests because 47 newly added files, including this one, lack the full source header required by the repository checker. I reproduced the failure with the official script on the exact current files; running its header writer in an isolated copy makes the same check pass. This blocks the current PR's CI. Please apply the appropriate headers across the reported files, or use an explicitly reviewed exclusion where ownership requires one.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
There was a problem hiding this comment.
I reviewed the 64-file increment from 59e9641bf133f9b2107c3900c75b7f95e930b4d3 to df784be43fb3025ad23884ac3ba66d2acaae29ac. The complete PR is 134 files (+15,497/−624), and an actual merge with rust-preview cb2cc895896220d8dffea66d16b31329defbbf76 succeeds. The source-header P2 in my preceding review is fixed; I found no confirmed new P0–P2 issue in this increment.
I compared each changed file: 63 have identical source after removing only their leading license comments. The one executable change adds an exact exclusion for the unchanged Bilibili SVG, whose sibling provenance document identifies the Simple Icons CC0 origin; it does not exempt the surrounding implementation. The official current checker audits the complete extracted tree successfully: 2,744 covered and 2,949 excluded files. All four checker tests pass. As a control, restoring only the preceding checker on the same current tree fails solely on that SVG, then restoring the exact current checker passes. Thus both the 47 missing headers and the remaining explicit third-party exclusion are accounted for.
No Quick Tools runtime implementation changed in this increment. My earlier reservation/capacity/concurrency, notice-record, 12 Node and 33 Linux Workbench results remain checks of the preceding implementation; I did not rebuild those suites after comment-only changes. Current CI 42553435636 has completed with failure; the platform results are detailed below, and local header success is not an all-CI pass. The prior base Linux/macOS compile failures are separate from this header fix. Real macOS panel/foreground behavior, cross-application paste, populated old sessions and the complete lifecycle still require native acceptance. No database schema or protocol epoch change is introduced.
Current CI log update: tooling job 128954071524 passes the real checkout header check (2,744 covered and 2,949 excluded files), corroborating the local header fix. Root build, Linux NSH and packaging in that run still fail on the old private AppWindow.attributes access; NSH records 4,600 passes, one failure and 29 skips, with the error-display test observing blank output instead of runtime failure after 5.082 seconds. I read those logs but have not established Quick Tools causality. Those checks were started before the base advanced; they do not test a new merge with the current Rust branch. The macOS job has now failed during compilation with the same old-base E0425 (chrome::track_menu) and E0308 (native_at) errors, before executing native tests. The Windows job has now also failed, but after running its tests: 223 platform tests pass with one skipped, and all 22 Desktop tests pass (343.090 seconds). The first pixel test then fails after 10.351 seconds at products/maka/terminal-shell/src/terminal/pixels/tests/rail.rs:189, waiting for six rendered marks at scale 1; the second pixel test is unrun. The test file is identical to the incoming base, but that alone does not exclude an indirect effect of this PR. I have not established the cause or Quick Tools attribution. This is not a test of the freshly merged Rust branch.
Current integration update: rust-preview has since advanced to 75fe3d0e059c58b798782604668f37b56a420255 after #6695 and #6683 were merged by other contributors. I fetched that branch and ran an actual merge of this unchanged PR. There are now four conflicts: products/maka/cli/notices.json, products/maka/desktop-shell/Cargo.toml, products/maka/desktop-shell/src/appkit.rs and products/maka/workbench/app/ModelSettings.tsx. The earlier successful merge against 033e1a50, and the three-conflict count against 9864d521, are historical. These current conflicts need resolution before integration.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
…tools-rust # Conflicts: # products/maka/cli/notices.json # products/maka/desktop-shell/Cargo.toml # products/maka/desktop-shell/src/appkit.rs # products/maka/workbench/app/ModelSettings.tsx
There was a problem hiding this comment.
I reviewed the merge increment from df784be43fb3025ad23884ac3ba66d2acaae29ac to bfe9f99b8763efe6cdbac2cd6b3c859d4c5fbdf3, including its integration with current rust-preview 75fe3d0e059c58b798782604668f37b56a420255. I found no confirmed new P0–P2 issue in this increment. An actual merge now succeeds, so the four conflicts reported for the preceding head no longer apply to this head.
The two parents are exactly the previously reviewed PR head and that Rust baseline. Of 131 files changed since the preceding PR head, 118 are byte-for-byte identical to the incoming baseline. I inspected the remaining combined changes and compared an automatic merge with the submitted tree: only the four conflict-resolution files differ. In desktop-shell/src/appkit.rs:141, the shared attach helper creates a fresh Host channel and attaches both the shell and Quick Tools; both ordinary resident-window Open and Host replacement call it. I followed quick_tools/panel.rs through its separate panel channel and queued configuration load. In workbench/app/ModelSettings.tsx:101, the merged navigation preserves the incoming unsaved-draft prompt, checks the request again after the prompt, and retains the Quick Tools section filtering. Cargo retains the Quick Tools dependencies alongside the incoming tray dependencies. For cli/notices.json, all 20 changed component records equal the incoming baseline, all preceding records remain, and the notice document's SHA-256 matches the manifest. This is a structural/hash check, not a fresh execution of the complete distribution-notice generator.
On this exact head I installed the locked JavaScript dependencies, applied the repository patches, and ran 12 Quick Tools, nine settings-discard and seven Desktop-close tests: all 28 pass. The real source-header checker also passes (2,754 covered and 2,949 excluded files), and its four tests pass. I did not rerun the full 134-file implementation review or locally compile Rust/macOS. The macOS build and 37 Workbench tests described in the PR are the author's results. Real panel focus while another application remains foreground, cross-application paste, populated old sessions and the full native lifecycle remain outside my executed acceptance scope.
CI 42570244213 has since been cancelled after the PR advanced to 114ff5501787c74c16b2dff3b322dae9522a01f4. I read the cancelled macOS and Windows logs: both stop during compilation without native-test summaries, so they do not establish native acceptance or a test failure. The Ubuntu native job succeeded, but I have not read its raw log here. This review remains a review of bfe9f99b; the subsequent three-file increment is covered by the newer review. This increment introduces no database-schema or protocol-epoch change.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
There was a problem hiding this comment.
I reviewed all three changed files in the increment from bfe9f99b8763efe6cdbac2cd6b3c859d4c5fbdf3 to 114ff5501787c74c16b2dff3b322dae9522a01f4. This review is of the historical 114ff550 head. The subsequent rail fix at 1d63b7ba is covered by the newer review; the P2 below describes the preceding implementation. The hotkey increment passed the bounded checks below. Subsequent CI follow-up confirms a P2 in the PR's existing rail rendering and pixel-test integration, corroborating the rail issue already reported in this comment. An actual merge with current rust-preview 606a11c27658484d52aa43c4f92066e68e6623f2 succeeds.
The change removes the main window's unconditional native-panel opener. workbench/app/App.tsx:92 now registers its local Alt+Space binding only on non-terminal surfaces without native Quick Tools; native panels use the configured global shortcut. desktop-shell/src/quick_tools/panel.rs removes the corresponding quickTools.show handler and Request::Show branch. QuickToolsWindow.tsx:61 drops the settings flag that only that deleted branch supplied. I checked the remaining callers and followed launcher preference changes through runtime/engine.ts, the Rust shortcut bridge and the Carbon registration helper: disabling the launcher removes the toggle binding, while this increment removes the local route around that choice.
I executed the exact App binding block with controlled Host, signal and keymap adapters in six configurations (desktop/terminal, with true/false/absent native capability). All six pass; replacing only that source block with the preceding version fails the native-desktop case (five pass, one fail). This checks which local handler is registered and the fallback's repeated open/close behavior; it does not execute a native global hotkey. All 12 exact current Quick Tools tests pass after installing the locked dependencies and applying the repository patches. The real source-header checker also passes (2,754 covered and 2,949 excluded files).
CI 42572886749 has completed with failure. I read both native logs. Windows passes 226 platform tests with one skipped and all 22 Desktop tests (212.792 seconds), then the first pixel test fails after 10.211 seconds at terminal/pixels/tests/rail.rs:189: six rendered marks are missing at scale 1; the second pixel test is unrun. The fixture imports the actual TurnNavigation component changed by this PR. I executed that component's NavigationMark with controlled native adapters and the exact default dark colors from its ui.tsx: the current inactive stroke is #969ba4 (RGB 150/155/164), while the base stroke is #37393e (55/57/62). The unchanged test only accepts a red channel from 35 through 55, so the changed style no longer satisfies its mark detector; the base component does. The component also returns a 12-point pitch instead of the base's 24 at scale 1. This establishes PR-caused CI breakage (P2); the rendering change needs matching integration coverage that still verifies all six marks are individually clickable at each supported scale. This controlled component check is not a local native raster or mouse replay.
macOS passes all 107 platform library tests and all 10 terminal-native tests, then the sixth Desktop test cannot find a single Pause Goal control after 67.694 seconds. Five Desktop tests pass and 16 are unrun; pixel tests are not reached. The base 75fe3d0e run passes that Goal workflow, while the earlier landed 9864d521 run failed with the same symptom. I have not isolated the cause or established Quick Tools causality for this separate failure. The Rust branch has since advanced through #6714: its two test-file changes remove reserved Cmd+H and add a Goal/Todo control wait. I inspected that diff but have not validated its runtime effect; the new baseline has a separate running CI. The preceding head's run 42570244213 was cancelled; I read its macOS and Windows logs, which stop during compilation without native-test summaries. Those cancellations do not establish a test failure on this head. I did not locally compile Rust or run macOS global shortcuts, foreground preservation, cross-application paste or populated old-session acceptance. Those native boundaries from the earlier review remain open. This increment changes neither a database schema nor a protocol epoch.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
|
@ARE404 (cc @me2seeks re EnglishThanks for the work here. After reviewing 1. Architectural Alignment with
|
The redesigned rail used a 12pt pitch everywhere, but the pixel renderer still receives mouse input in terminal cells, so marks shared a row and could not be told apart. Restore the cell-safe pitch, line-coloured marks and left-side preview there; desktop windows keep the new style.
There was a problem hiding this comment.
I reviewed both files changed from 114ff5501787c74c16b2dff3b322dae9522a01f4 to 1d63b7ba7c719fb5ee8c11008187cc254e0b6924. This increment restores the pixel-renderer's rail integration at the component level; I found no confirmed new P0–P2 in these two files. This is a bounded review of the rail fix, not validation of the broader runtime and packaging concerns in the existing comment.
I independently checked the preceding Windows CI failure and its fixture. It imports the actual TurnNavigation changed by this PR: the inactive mark became #969ba4 (150/155/164), whereas the unchanged detector accepts a red channel from 35 through 55. The base component produces #37393e (55/57/62). The actual preceding Windows job fails on six missing marks at scale 1 after 10.211 seconds. That corroborates the reported PR-caused CI regression (P2); the test file being unchanged was not sufficient to exclude PR causality.
The new component uses nativeHost.uiScaleSupported to recognize the pixel-renderer path. I checked the production getter: it is backed by the pixel renderer's UiScale engine context. On that path, the component restores C.line, a pitch of max(24, 16 / scale + 2), right-aligned strokes and left-side tooltips. Ordinary desktop styling retains its 12-point pitch. The test Host now supplies the same capability; its six-mark, four-scale and click assertions remain in place.
I bundled and executed the actual NavigationMark and markPitch with controlled native adapters and the exact default dark colors from ui.tsx. All eight pixel/non-pixel configurations at scales 1, 0.8, 0.5 and 2 pass. Replacing only the component source with the preceding version produces four passes and four failures. Pixel pitches are 24, 24, 34 and 24, with the detector's expected color; non-pixel styling remains 12 points. These checks cover component output and the spacing calculation, not native rasterization, terminal mouse replay or a local Rust build. The real source-header check also passes (2,754 covered and 2,949 excluded files).
The actual merge with rust-preview 606a11c27658484d52aa43c4f92066e68e6623f2 succeeded. CI 42580012761 has now completed successfully. I read both native logs and verified their exact checkout: synthetic merge cfe2cc97ceca70b7af82ae3cf8480c292b026696, with parents 606a11c2 and this PR's 1d63b7ba. Its tree matches my earlier actual merge. macOS passes all 107 library tests, all 10 terminal-native tests, all 22 Desktop tests (283.987 seconds, including Goal in 21.665 seconds), and both pixel tests (2.865 seconds). Windows passes 226 platform tests with one skipped, all 22 Desktop tests (196.253 seconds), and both pixel tests (0.827 seconds). The rail fix therefore now has passing native pixel-regression evidence on both platforms.
The baseline's separate CI 42577427630 also succeeded. Its macOS log passes 107 library, 10 terminal-native, all 22 Desktop (196.573 seconds, Goal 14.948 seconds), and both pixel tests (2.182 seconds); its Windows job also passes 226 platform tests with one skipped, all 22 Desktop tests (323.098 seconds), and both pixel tests (1.510 seconds). These newer results do not isolate the cause of the old Goal timeout. At ee7e906056aa256e584e21e060ae106e6399c094, the separate CI 42586921797 has also completed successfully. I read the native logs: macOS passes 107 platform-library, 10 terminal-native, all 22 Desktop (257.876 seconds), and both pixel tests (3.842 seconds); Windows passes 226 platform tests with one skipped, all 22 Desktop (281.816 seconds), and both pixel tests (1.276 seconds). This is evidence for that Rust baseline, not a new run of this closed PR.
The author closed this PR without merging it on 2026-11-09 at 08:16 UTC. Full native panel behavior, cross-application paste, packaged helpers and populated old-session acceptance were not completed by this review. The successful regression suites do not settle those broader acceptance questions. There is no database-schema or protocol-epoch change in this two-file increment.
Subsequent baseline CI update (2026-11-09): The separate Rust baseline 09ca38c23ae9d46214c2743e182fe018c6544429 now has a successful CI run 42612011937, attempt 1. All 35 jobs have finished, including the final test aggregate; I read its log confirming that all planned work succeeded. The native logs I read for that baseline pass macOS 107 platform-library, 10 terminal-native, 22 Desktop (239.939 seconds) and two pixel tests (2.644 seconds); Windows passes 227 platform tests with one skipped, 22 Desktop (338.712 seconds) and two pixel tests (1.470 seconds). The 22 root-test shards total 2,271 passing tests. This closes the previously pending aggregate, while the original Goal-timeout cause, populated historical-state recovery, real desktop residency and cross-application acceptance limits above remain unresolved. This PR remains closed without merging; the separate baseline result is not acceptance or a rerun of this Qt proposal.
Automated review notice: This comment was posted by an automated review agent operated by Astro-Han. It is not an independent human review and does not replace one.
|
Thanks for the thorough review. I checked the main findings against the code and agree with the direction: this shouldn't merge as it stands, and Quick Tools should move onto What I confirmed
I haven't confirmed the Windows The Prototype of the single-engine launcher The behaviour I most wanted to keep is the panel taking the keyboard while the previous app stays frontmost, so I tested that first with a throwaway app: one engine,
It needs two changes in NSH:
Not covered yet: Windows, Linux, the real close-button path with Proposed plan
I'll close this PR and follow up with the split. One question: should the NSH fixes go into |
EnglishGreat prototype validation—confirming that single-engine 1.
|
|
@ARE404 @M4n5ter Thanks for the review and the prototype. I agree with using NSH's native capabilities first and splitting the work into small, independently verifiable PRs. For Desktop residency, functionality comes first: closing the main Desktop window must not break Quick Tools, its global shortcut, or its ability to reopen the main window. The design should follow NSH's ownership and lifecycle model; retain the engine, Host connection and services while they are needed, and release resources that are no longer needed as far as possible without impairing functionality. This updates the stricter window-close resource-release requirement from #6695; merely hiding a window is not the same as releasing its engine. On Linux, if no usable tray is available, please provide a clear prompt that closing Desktop will fully exit it, with an option to keep the window open. Also account for cases where the global shortcut cannot be registered, so we do not leave the app running without a usable way back. Explicit Quit should detach this Desktop client and exit Desktop, without terminating a shared Host or accepted work. I support reusing the existing permission boundaries and granting only the capabilities actually needed. For validation, I can help accept the Linux and Windows behavior, including close/reopen, tray and shortcut availability, and Quick Tools after the main window closes. The macOS prototype is encouraging, but the real close/tray path and all three platforms still need verification; a fixed delay should not be the production focus fix. Message drafted with assistance from Maka. |
Summary
Moves Quick Tools and the assistant panel from the Electron app to the native Rust desktop on
rust-preview.NSPanelhosting an NSH view. Summoning it gives the panel the keyboard without activating Maka. The app the user was in stays frontmost and keeps its menu bar, as with Spotlight and Raycast. Closing the panel returns to that app.SettingsRowgains an optionalnotefor this.scripts/quick-tools/import-legacy.mjsimports Electron-era data.Verification
node --test products/maka/workbench/tests/quick-tools.test.mjs: 12 passed. This includes reserved host storage IDs and the 64-package registry limit; both new cases fail without the fix.cargo test -p maka-workbench: 37 passedbiome format .,cargo fmt --all -- --check,node scripts/rust/dependencies.mjs checkandnode scripts/rust/notices.mjs check-reviewed: cleanplugin-sdkgenerate.mjscheck, UI types example plustsc, and the bundletsc: passnode scripts/quick-tools/run.mjs --root <temp>):rust-preview:cargo build --locked -p maka-cli -p maka-desktop-shell -p maka-host-shellbuilds on macOS, andcargo test -p maka-workbench(37) and-p maka-desktop-shellpass. The panel now attaches to each fresh window VM through the shell's new resident-appattach.AI use
Tool(s) and scope: Claude Code and Codex helped with implementation and debugging; the design, review and testing are mine.
Checklist
Does this PR entail a change in behavior?