Skip to content

fix(overlays): give menu-opened palette and Open Quickly the keyboard - #11

Closed
C-Mejlak wants to merge 975 commits into
serhatandic:mainfrom
C-Mejlak:fix/overlay-focus
Closed

C-Mejlak wants to merge 975 commits into
serhatandic:mainfrom
C-Mejlak:fix/overlay-focus

Conversation

@C-Mejlak

Copy link
Copy Markdown

Why

Pressing ⌘K or ⇧⌘O opened the overlay but left the keyboard in the sidebar search. Typing went to the sidebar, and Escape cleared the sidebar text instead of closing the overlay. Both overlays asked for focus synchronously in onAppear, and the menu key equivalent dropped that request before the overlay was in the window.

What changed

  • CommandPalette and OpenQuickly now ask for focus on the next main-queue turn, after the menu shortcut finishes and the overlay is attached.
  • The command palette still applies initialQuery synchronously.

Scope

  • Covers the command palette and Open Quickly only.
  • Leaves the other overlays unchanged. No Escape fallback was added. The existing handlers work once the overlays have focus.

Blast Radius

  • Only the two overlays change. The previous first responder can stay in place for one turn, but the overlay takes the keyboard before you type.

Verification

  • ⌘K from the composer and from the sidebar search now focuses the palette. Typing stays in the palette and Escape closes it.
  • Open Quickly took focus and closed correctly when opened from the palette action. The direct ⇧⌘O path uses the same overlay and focus change.
  • CommandPaletteTests and WindowFocusTests pass, 5 tests.

keptPersonality tested the id as text, so a list of one id passed, and was kept as a list in the
library, the personalities document and every box that took it. Found reviewing the box's types.
# Conflicts:
#	CHANGELOG.md
#	KuvoCode/Resources/kuvo-agents.js
#	Packages/Box/src/link/main.ts
#	Packages/KuvoLink/Sources/KuvoLink/Resources/kuvo-link.js
…tric with the panel's corners, and a bar's details folding with the panel rather than sliding away ahead of it
…pen Larger and Copy at the end on hover; what you click in it goes to the agent naming the widget, and your message shows which one it came from
…efused, 403

The relay host took a phone's head as typed, though it checked only that it was an object; a path
or method that wasn't text threw inside the request (502). Its method, path and headers are read
only when they are what they should be. Bridge 0.9.75.
LetterSender had none, so a sender built as its type allowed would have its answers dropped without
a word (mailFor gives no mail without one). Only types.
… routes' shapes have them

Each hand-written type that said the same as a route's shape is that shape's type now, so the code
and the contract suite can't drift apart. Only types: kuvo-link.js is the same, byte for byte.
Only types: kuvo-link.js is the same, byte for byte.
records.ts had a look of three strings and bots/here.ts its own model, beside the shapes' (a look
of the words the apps draw); each is the shape's now, and the agents directory takes the look words
from it rather than a copy of them.
…by the folder each is in ("sums — scratchpad"), and a repository with no commit yet stays out with the engine stopped too (bridge 0.9.76)
parsed() gave any, so every body a phone or the app sent reached typed functions as whatever they
claimed: a new bot's personality as a string, a model as a model. It gives unknown now; a body is
its fields, each unknown (Fields, Body in shared/json.ts), and each receiver's types narrow only
where the code checks them. Only types: kuvo-link.js is the same, byte for byte.
…ed Mac asked for

Added after 0.8.0-beta.1 for a Mac reading machines' bots' jobs from their memories as it
connected; no tag has it, and no Mac or phone asks for it now (decision 7). A bot's job taken once
from its memory stays. Bridge 0.9.76.
…ed Kuvo Code wrote

The group chats' letters the app's phone link kept itself (SeatRelay) before the box carried them;
no tag has SeatRelay (decision 7).
call, engineGet and asked answer unknown, each use checking what came or
saying what the engine answers. One EngineSession (from the engine's own
schema) and one EngineCredential replace the copies; skills' answers are
held to their route shapes; update.ts uses box.ts's update types;
refusals carry literal statuses (OtherStatus), so a !== 200 check narrows;
askHost says when it can answer null; info names a box always.
Types only: every file transpiles as before.
No released Kuvo Code had the phone link on or signed documents, so the
app's file never holds anything the box needs: PhoneLink no longer posts
it to kuvo/link/phones/take (gone from the box, bridge 0.9.77), keeps no
copy of the documents for an older version, and writes the file only for
itself. kuvo/link/phones no longer carries documents; kuvo/link/documents
answers them on its own. Tests start with phones paired in the box.
The live tests stop it as an older Mac's Stop did, to check it stays
stopped and Start brings it back.
As reviewed: Remove Integration reads the engine's MCP servers only when
they're a list; New Bot takes the session the engine made only with a
string id; an engine's refusal message is used only when it's words; a
document's parts are checked by one guard; applySettings' answer no
longer has a status wider than its refusals. Bridge 0.9.78.
…ved route pinned

PhoneLinkBoxTests start with no phones in the app's copy, so each waits
until the app has the box's; the one removing a phone before the box is
reached starts from a copy. TestBox writes the box's link.json whole.
The bridge's tests and route vectors no longer ask for removed routes
(?memory=1, phones/take) or keep a seat-letters fixture. PROTOCOL.md says
what is, not what went; phones.ts exports only what others use.
…dow's own height while the panel moves, so the bars below never run under the footer, and the panel draws with each new frame
Agents/src is Packages/Box/src/agents and Agents/test is test/agents, moved
as they are (imports one level deeper). One package.json and lockfile for
both; bun run check type-checks the link with Node's types and the agents
bridge with Bun's (tsconfig.agents.json); bun test runs both programs'
tests, so CI's separate Agents step is gone. build-agents.sh builds from
src/agents and stamps src/shared too, which the bridge is to read. The
built kuvo-agents.js differs only in its path comments and stamp. Docs,
scripts and comments name the new paths.
…acked files

As reviewed: src/agents/tsconfig.json (and test/agents' beside it, which
bun run check uses) in place of tsconfig.agents.json, so an editor opening
a file there gets Bun's types. build-agents.sh stamps the files git keeps
or would, never a stray .DS_Store CI hasn't. The README says the stamp
covers the package's lockfile too.
With KUVO_TEST_SSH_HOST set, the live machine tests set the global
RemoteEngineInstaller.root to their own folder while the tests that run
the launch and boot scripts on this Mac read it, so those found files
under the wrong root. The live tests now take theirs for their own tasks
alone (RemoteEngineInstaller.$scopedRoot, through a suite trait), and
each refuses to start unless it has it, so none can reach the app's
folder on the machine.
src/shared/seats.ts names what the agents bridge and the link say to each
other on a box: the kinds of seat mail, a line of it, and who your other
computers and their bots are (PUT /api/kuvo/peers). The link's copies
are gone; the bridge's SeatMail stays its own, and a type check fails
unless its kinds are the shared ones, no more and no fewer.
…e temporary folder hasn't used for a few days, and builds there lost parts of their packages
… rule is shared

The words from before the first key, and the same older words handed back
again, are the field's own typing coming back (a quote's answer lost keys
on the phone, and the Mac's is built the same way). The rule moves to
KuvoClient's TypedEchoes, so both apps' fields follow one. Words the app
puts in on a key (Return sends and empties the field, up brings a message
back) apply, though the field had them a moment ago.
…, on every box. The coding agents and who they're signed in as, an opencode's keys and sign-ins (from its auth.json, your own XDG_DATA_HOME too) and shell keys the engine uses, names only; POST …/found/use brings an opencode key over as the plan's sign-in in use, once. Bridge 0.9.79, feature accounts.found
…they sleep and it carries on by itself; failed, Try Again), then Bring your subscriptions from this Mac's box (signed-in agents ready, opencode keys with Use, sign-ins signed in again, the common plans when there's nothing) with the usage panel turned on from a row in place of its own welcome window, then Screen Recording and Accessibility by dragging Kuvo Code from a small window beside System Settings, moving on once macOS allows both. Each step can be skipped; where you are is kept across a quit
…KuvoClient's ClientAccounts: the phone's sheet after pairing offers the same as the Mac's first launch
… FolderIcon and Color(hex:)

The phone drops its copies of them. Drawn the same as before: the folder in
both states and the colors render to the same pixels from the app's file and
the package's, light and dark.
serhatandic and others added 28 commits October 28, 2026 02:48
…s, one rule for both apps (ArtifactVersion.mayLeave)
…re, and Pages, Numbers, Keynote, Word, Excel, RTF and OpenDocument files have their own types (records made before are corrected as they load)
…wser's download does (the popover may be gone)
…'s hash of it changed, off the main thread, and a refresh overtaken or stopped doesn't show; Files decides what to fetch by a machine's file's extension, not this Mac's file types (to macOS, .ts is a video)
…for Keynote, RTF counts as text; the box's walk skips the app's WebKit, HTTPStorages and preferences too (KUVO_OWN_FOLDERS as a JSON list, files as well as folders); the words on what git ignores say it can be saved or shared as it is now
…tation hears the project's names until then

KuvoVoice gets Whisper large-v3-turbo through WhisperKit: the microphone's samples cut into
phrases at pauses (never the silence between them, so minutes of thinking write nothing), each
written as it ends with the project's names as its prompt, and a guess at the one under way.
Its model downloads the first time you talk, file by file from fixed revisions, each checked
by its SHA-256, resuming from where it stopped; it says when it waits for the network or
hasn't room, and Remove takes it away for good. Apple's dictation, meanwhile, gets the names
as contextual strings, and both put the names back as they're written.
…k, its row in Settings

The composer's mic wears a ring while it downloads, the listening row and the voice field say
"Better model · 42%" (then "Whisper, on this Mac" once), and Settings › General › Speech model
has Download, Pause, Resume, Try Again, Manage Storage… and Remove Download…. The composer asks
the conversation's box for its words. KUVO_DEMO_WHISPER shows each state in a demo copy.
… others' reads being kept, hashed without filters; an overtaken refresh keeps what it read
A file that came whole but wasn't checked is checked, not fetched again (Hugging Face answered
416 forever); a download cut off by quitting goes on the next time you talk, and only your own
Pause waits for you, across launches too; a paused run can't move a file out from under the
next; Pause closes the file at once; progress comes a few times a second. Whisper doesn't wait
for the box's words before it writes, doesn't guess when it's behind the microphone, writes
nothing more once canceled, and stays loaded while any dictation uses it. The phrase cutter
learns a noisy room within moments. A stopped download can be removed.
…very session, subagents' too, and finds the conversation at the top of its chain once (its own words first), with the subagent that said them (bridge 0.9.93); the Mac opens such a find without Find, which has nothing to show in the conversation itself
…s own words don't have the search, a few at a time, until one does; a subagent under a hidden run stays out; tests for a subagent said more since, and that the Mac gets which subagent said it
…, stage, unstage, discard into its trash, a file as git keeps it, commit and push, so a machine's work with the Mac closed and from a phone; bridge 0.9.93
…SSH: the list, staging, Discard, a picture's old side and Commit; a box out of reach keeps the list that showed
Nothing to port: upstream's commits since a7953bf are changelogs, a release
CI step, and a dashboard notice about OpenUsage's own next version.
mcp-server-apple-events 1.6.2, @softeria/ms-365-mcp-server 0.175.0, caldav-mcp
0.10.3, @doist/todoist-mcp 13.7.1 and chrome-devtools-mcp 1.12.0: fixes and
added tools, with the same keys, arguments and settings. The route vectors
carry the same pins.
Mac and both Linux builds. Longer conversations load and compact better,
throttled providers are retried instead of reported as a full context, more
attachment types are recognized, and the engine gains its own session archive,
usage limits and image generation, which Kuvo Code doesn't use yet. No route
or field the app reads changed (its OpenAPI documents compared). Copilot's
block_binding issue (#55160) is still open, so its workaround stays.
…opy, into its own folder, as voice input's first use does
… after the box starts again; a side question count there at launch and down as they're removed elsewhere; a machine's Changes: a new file's newer words, Unstage and Discard there, Branch since its base, Commit and Push to a remote. SCENARIOS rows for the keywords and what agents made
…an stopping 26 pt short (the row's spacing sat on both sides of a spacer); the terminal row keeps room for its End button. The offline mark draws in a muted ink that reads in dark mode. A step running past an hour updates once a minute
…stand-in states, re-dealt with KUVO_DEMO_STATES_CHURN), KUVO_DEMO_SHOW_ALL (every session shown), KUVO_DEMO_LOADERS (every mark and loader in light, dark and Reduce Motion)
… lines, new files, folds), one copy for the Mac and the phone, which now parses a box's kuvo/git/changes the same way; a new file listed twice shows once
…: another subagent by its task, a bot by its name, rather than always "the main agent" (KuvoClient's SubagentStarter, for the Mac and the phone)
…ut opens them: the focus request waits one runloop, so typing no longer lands in the sidebar search and Escape closes the overlay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants