Skip to content

refactor: organize shared input and terminal protocols - #42772

Merged
nwparker merged 2 commits into
mainfrom
module-layout-v2/shared-input-terminal-a6166436
Nov 15, 2026
Merged

nwparker merged 2 commits into
mainfrom
module-layout-v2/shared-input-terminal-a6166436

Conversation

@nwparker

@nwparker nwparker commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

The shared root mixes keyboard, clipboard, shell startup, and terminal protocol modules. Move 45 files into their concrete domain folders, reducing the root from 443 files to 396. Replace the keybindings barrel with direct defining-owner imports for all 145 named bindings and remove its 13 passive bare imports. Retire the unused OSC7 agreement corpus.

Update desktop, mobile, CLI/tooling consumers and ten active CI, resource, and ratchet selectors. Preserve shell template/wire bytes, caches, module identities, and dated baseline/timing evidence. Remove stale retired-test selectors, narrow their current reliability claims, and archive the prior accounts verbatim.

Following the repository test policy, remove 28 whole test registrations and three external test files: 215 authored registrations become 187 retained. This intentionally reduces coverage, including mock-only SSH argv/backpressure checks and queue ordering scenarios; surviving tests do not replace those scenarios. Mixed OpenCode public runtime-completion callbacks remain whole.

Validation:

  • Independent source/initializer, second-source, test-policy, and selector/collector audits passed. Complete physical/index tree verified; opaque test names decrease by exactly the three test-file retirements, with no ownership admissions or resealing.
  • Focused units: 22 files passed, one skipped; 129 tests passed, ten skipped. One requested runtime aggregator spec is excluded by this unit configuration.
  • Final check:changed immediately before push: all 48 non-unit checks passed, including typecheck, changed-code quality, selectors, lint/format, and ratchets. The broad unit selection hit its three-minute cap without completing or reporting a test failure; it is incomplete, not a local pass. Full hosted validation is required before merge.
  • Proposed benchmark virtual bundle builds pass. Its baseline comparison stops at unchanged UTF-8 dependency drift; the pristine parent reproduces that exact guard failure. No performance measurement claimed.
Files Added Deleted Net
Test 48 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​69 $\color{#cf222e}{\Huge{\mathbf{−}}}$​945 $\color{#cf222e}{\Huge{\mathbf{−}}}$​876
Prod 286 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​421 $\color{#cf222e}{\Huge{\mathbf{−}}}$​532 $\color{#cf222e}{\Huge{\mathbf{−}}}$​111

@nwparker
nwparker merged commit 31b23b8 into main Nov 15, 2026
85 checks passed
audichuang added a commit to audichuang/orca that referenced this pull request Nov 16, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 16, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 16, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 19, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 19, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 21, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 22, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 23, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 23, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 24, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 24, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 24, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 26, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 26, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 26, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 27, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 27, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

1 participant