Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
279 commits
Select commit Hold shift + click to select a range
e79237b
Add scoped terminal identity acquisition and preserve crew source wakes
brennanb2025 Oct 28, 2026
e6fb0a6
Merge scoped terminal acquisition repairs into crew panel
brennanb2025 Oct 28, 2026
7d19cc6
Merge scoped terminal acquisition repairs into crew mentions
brennanb2025 Oct 28, 2026
6bc231a
Share raw crew identity inputs through scoped production readers
brennanb2025 Oct 28, 2026
8c34389
Exercise crew generation retirement through actual source owners
brennanb2025 Oct 29, 2026
734e2e9
Retire crew inputs on consumed ownership and visibility writes
brennanb2025 Oct 29, 2026
934d7b3
Merge main into crew read model
brennanb2025 Oct 29, 2026
ddc8dd9
Merge crew read model and main fixes into crew panel
brennanb2025 Oct 29, 2026
94aa58b
Merge crew panel and main fixes into agent mentions
brennanb2025 Oct 29, 2026
a8b70c8
Merge RPC feature readiness from main into crew read model
brennanb2025 Oct 29, 2026
b26fa9c
Merge RPC readiness integration into crew panel
brennanb2025 Oct 29, 2026
b4c5327
Merge RPC readiness integration into agent mentions
brennanb2025 Oct 29, 2026
61695ed
Use typed crew mutation and fixture access
brennanb2025 Oct 29, 2026
c5851ee
Merge typed crew mutation access into panel
brennanb2025 Oct 29, 2026
d003c67
Merge typed crew mutation access into mentions
brennanb2025 Oct 29, 2026
95fcb77
fix: use owned crew styles and committed render counters
brennanb2025 Oct 29, 2026
4700da2
Repair crew fixture and RPC type contracts
brennanb2025 Oct 29, 2026
8aa3754
Merge crew read model type repairs into panel
brennanb2025 Oct 29, 2026
b499fab
Merge crew panel style and type repairs into mentions
brennanb2025 Oct 29, 2026
10b4198
Align crew fixtures with pane and mention contracts
brennanb2025 Oct 29, 2026
85c529d
Count crew consumer render attempts in the fixture
brennanb2025 Oct 29, 2026
55877fe
Merge crew render contract evidence into mentions
brennanb2025 Oct 29, 2026
bfdbb96
Localize crew panel labels and details
brennanb2025 Oct 29, 2026
869b7fa
Align crew integration fixtures and RPC parameter contracts
brennanb2025 Oct 29, 2026
e51a4b5
Merge crew panel localization into mentions
brennanb2025 Oct 29, 2026
cf3a8c1
Merge crew read model contract repairs into panel
brennanb2025 Oct 29, 2026
937a592
Merge crew contract repairs into mentions
brennanb2025 Oct 29, 2026
9b931b1
Merge crew read model contract repairs into panel
brennanb2025 Oct 29, 2026
21c658e
Retain reviewed panel integration ancestry
brennanb2025 Oct 29, 2026
f06a6ad
Keep mention contracts within their compiler boundaries
brennanb2025 Oct 29, 2026
ca49858
Encapsulate terminal identity mutations and captured reader contracts
brennanb2025 Oct 29, 2026
a7d0390
Seed terminal identity fixtures through canonical mutations
brennanb2025 Oct 29, 2026
876789a
Merge main and regenerate RPC parameter catalog
brennanb2025 Oct 29, 2026
a5cdea6
Merge read model and current main into crew panel
brennanb2025 Oct 29, 2026
68fd33f
Merge crew panel and current main into mentions
brennanb2025 Oct 29, 2026
63259f9
Complete crew panel English catalog entries
brennanb2025 Oct 29, 2026
43b3eda
Merge completed crew panel English catalog
brennanb2025 Oct 29, 2026
661af38
Fix terminal identity fixture return type
brennanb2025 Oct 29, 2026
e517fc3
Cover terminal identity lifecycle schedules
brennanb2025 Oct 29, 2026
3be278f
Merge terminal identity lifecycle contracts
brennanb2025 Oct 29, 2026
33aff9f
Merge crew panel lifecycle test coverage
brennanb2025 Oct 29, 2026
f90c985
Align terminal fixtures with canonical identity sources
brennanb2025 Oct 29, 2026
bc42464
Merge terminal identity typing repairs
brennanb2025 Oct 29, 2026
3572836
Merge crew panel typing repairs
brennanb2025 Oct 29, 2026
207bb52
Repair runtime fixture source contracts
brennanb2025 Oct 29, 2026
bf5d52d
Use checked database fixtures for federation contracts
brennanb2025 Oct 29, 2026
2b3a018
Update crew source inventories and exit fixtures
brennanb2025 Oct 29, 2026
200fd2f
Preserve crew setup outcomes at existing subscription owners
brennanb2025 Oct 29, 2026
8ded2ff
Merge branch 'brennanb2025/crew-read-model' into brennanb2025/crew-pa…
brennanb2025 Oct 29, 2026
f68d60c
Merge branch 'brennanb2025/crew-panel-ui' into brennanb2025/orchestra…
brennanb2025 Oct 29, 2026
dc5dc08
Merge main into crew read model
brennanb2025 Oct 29, 2026
e499d9a
Merge branch 'brennanb2025/crew-read-model' into brennanb2025/crew-pa…
brennanb2025 Oct 29, 2026
9a3a910
Merge branch 'brennanb2025/crew-panel-ui' into brennanb2025/orchestra…
brennanb2025 Oct 29, 2026
ec48328
Match managed restore fixture to its nullable async return type
brennanb2025 Oct 29, 2026
59b3758
Keep absent setup observations distinct from undefined failures
brennanb2025 Oct 29, 2026
6b1ed16
Drive pending Crew questions from existing metadata
brennanb2025 Oct 29, 2026
6c04187
Preserve nested pairing repair outcomes for shared callers
brennanb2025 Oct 29, 2026
f1335d1
Route attached workers to explicit local recipients
brennanb2025 Oct 29, 2026
2794ee9
Type Crew pending-question measurement receipts
brennanb2025 Oct 29, 2026
331cb97
Merge crew read model repairs into crew panel
brennanb2025 Oct 29, 2026
e63531d
Merge crew panel lower repairs into mentions
brennanb2025 Oct 29, 2026
7a34988
Match SSH repair fixture target absence to store contract
brennanb2025 Oct 29, 2026
116ff28
Merge SSH repair fixture correction into crew panel
brennanb2025 Oct 29, 2026
790b50c
Repair composer fixture and consolidate crew English catalog
brennanb2025 Oct 29, 2026
d784eae
Merge SSH repair fixture correction into mentions
brennanb2025 Oct 29, 2026
227e18e
Add finite crew subscription boundary candidates
brennanb2025 Oct 29, 2026
d779f22
Isolate crew portal in terminal file drop fixture
brennanb2025 Oct 29, 2026
6f32839
test: use checked property access for crew owner assertions
brennanb2025 Oct 29, 2026
1cf1d0d
Merge crew panel boundary candidate
brennanb2025 Oct 29, 2026
99cc1dc
Consolidate web runtime auth type imports
brennanb2025 Oct 29, 2026
37142b2
Merge crew panel import consolidation
brennanb2025 Oct 29, 2026
2d29d78
test: type crew API legacy arguments and pending results
brennanb2025 Oct 29, 2026
8f90233
Merge crew API fixture typing repair
brennanb2025 Oct 29, 2026
d372d4c
Bound cold terminal layout construction and finite pane acquisition
brennanb2025 Oct 29, 2026
d85c52a
Merge commit 'd372d4cbc991c08fb1d957b7357d64f259ae3978' into brennanb…
brennanb2025 Oct 29, 2026
0537a87
Merge crew read-model construction fixes into mentions
brennanb2025 Oct 29, 2026
02fb399
test: use public runtime identity in pane acquisition fixture
brennanb2025 Oct 29, 2026
4074922
Merge main to align required WSL CI inputs
brennanb2025 Oct 29, 2026
ca90911
Merge read model CI alignment into crew panel
brennanb2025 Oct 29, 2026
f24c623
Merge crew panel CI alignment into agent mentions
brennanb2025 Oct 29, 2026
9261495
Follow image reference module relocation in mention serializer
brennanb2025 Oct 29, 2026
1b1efa8
Avoid repeated searches in cold workspace layout loading
brennanb2025 Oct 29, 2026
faabfed
Verify cold loader fault identity and hook claimant effects
brennanb2025 Oct 29, 2026
4a1c409
Revert "Route attached workers to explicit local recipients"
brennanb2025 Oct 29, 2026
d2073da
Omit crew peer addresses outside the active home route
brennanb2025 Oct 29, 2026
03050f8
Align crew disclosure and availability with shared UI
brennanb2025 Oct 29, 2026
55307d7
Keep crew retries on the verified runtime session
brennanb2025 Oct 29, 2026
8dab937
Bound cold layout retirement and recorded-key construction
brennanb2025 Oct 29, 2026
87882de
Verify original cold layout failure identity
brennanb2025 Oct 29, 2026
38af742
fix: preserve surviving layout split references
brennanb2025 Oct 30, 2026
ea6c343
Merge crew read-model fixes into panel UI
brennanb2025 Oct 30, 2026
7a51966
test: use typed retirement instrumentation properties
brennanb2025 Oct 30, 2026
5bfb611
Merge retirement test instrumentation correction
brennanb2025 Oct 30, 2026
bad8c75
Keep crew overlay inside narrow panes
brennanb2025 Oct 30, 2026
be4bee1
Resume Crew streams on verified runtime sessions
brennanb2025 Oct 30, 2026
c54b9c5
test: preserve pane and retirement fixture contracts with checked types
brennanb2025 Oct 30, 2026
521b473
Merge crew panel containment and finite follow updates
brennanb2025 Oct 30, 2026
b91fb5e
Merge main for confirmed CI failures and adapt canonical handle fixture
brennanb2025 Oct 30, 2026
1b1d3c3
Merge lower CI fixes into Crew panel stack
brennanb2025 Oct 30, 2026
83340e2
Merge Crew panel stack updates
brennanb2025 Oct 30, 2026
8fec7f0
Prepare Crew record admission and wake identity changes
brennanb2025 Oct 30, 2026
3c44b42
Derive Crew recipient actions from current target owners
brennanb2025 Oct 30, 2026
6483235
Keep nested Crew process facts within selected acquisition
brennanb2025 Oct 30, 2026
698ea58
Defer Crew legacy facts to consumers and complete raw coverage on suc…
brennanb2025 Oct 30, 2026
39a417e
Use deterministic time in Crew command fixtures
brennanb2025 Oct 30, 2026
6e1224d
Merge commit '39a417e53dca752b5e23111553f71ce42aebd0e6' into brennanb…
brennanb2025 Oct 30, 2026
91a92b9
Restore pane-local Crew menu dismissal focus
brennanb2025 Oct 30, 2026
737d621
Document schema-owned Dispatch row assertions
brennanb2025 Oct 30, 2026
6cc5ad3
test: align Crew authority fixtures with typed project boundaries
brennanb2025 Oct 30, 2026
12dbf88
Merge typed Crew authority fixtures into panel branch
brennanb2025 Oct 30, 2026
2b99cf2
Merge Crew menu focus repair into agent mentions
brennanb2025 Oct 30, 2026
a89254d
Cover menu agent mentions through production insertion paths
brennanb2025 Oct 30, 2026
764bd49
test: place Crew CLI integration in cross-surface project
brennanb2025 Oct 30, 2026
36855b8
Merge branch 'brennanb2025/crew-read-model' into brennanb2025/crew-pa…
brennanb2025 Oct 30, 2026
0692b14
Merge branch 'brennanb2025/crew-panel-ui' into brennanb2025/orchestra…
brennanb2025 Oct 30, 2026
cea75ec
Merge main compatibility and bound retained terminal lookup
brennanb2025 Oct 30, 2026
63e2744
Type retained identity test meters with canonical source maps
brennanb2025 Oct 30, 2026
e4f3cd5
Merge branch 'brennanb2025/crew-read-model' into brennanb2025/crew-pa…
brennanb2025 Oct 30, 2026
40f0399
test: adapt mounted Crew fixture to Run unbind contract
brennanb2025 Oct 30, 2026
0628769
Document suffix Dispatch row boundary and preserve fixture unbinding
brennanb2025 Oct 30, 2026
0c0c626
Merge branch 'brennanb2025/crew-read-model' into brennanb2025/crew-pa…
brennanb2025 Oct 30, 2026
fc12087
Merge Crew stack updates and factor agent reference insertion
brennanb2025 Oct 30, 2026
a6d3ad7
Merge main naming with captured Crew inputs
brennanb2025 Oct 30, 2026
1f9d663
Close crew menus when their terminal pane hides
brennanb2025 Oct 30, 2026
75330e6
Remove unused structured activity component
brennanb2025 Oct 30, 2026
8f06468
test: migrate Crew authority arguments and mailbox observations
brennanb2025 Oct 30, 2026
39605ad
Merge read-model repairs into crew panel
brennanb2025 Oct 30, 2026
5de55fa
Merge Crew menu visibility lifetime with agent mentions
brennanb2025 Oct 30, 2026
3ce57ac
Forward native pane visibility to crew menus
brennanb2025 Oct 30, 2026
426e4d0
Merge native Crew visibility propagation with agent mentions
brennanb2025 Oct 30, 2026
11bc4f1
Merge main into crew-read-model
brennanb2025 Oct 31, 2026
f4b158b
Merge commit '11bc4f1c3e67c19864a0dcf5b78462178e6806bd' into brennanb…
brennanb2025 Oct 31, 2026
4863180
Merge commit 'f4b158badfeb6314fccd01b593af86c4f6fb1717' into brennanb…
brennanb2025 Oct 31, 2026
480150d
Keep rich draft offsets aligned with agent references
brennanb2025 Oct 31, 2026
d241463
Preserve later explicit pane selection after Mention delivery
brennanb2025 Oct 31, 2026
3f61bed
test: check the complete overlay focus host fixture
brennanb2025 Oct 31, 2026
fa8cd60
test: use the DOM containment contract for menu focus
brennanb2025 Oct 31, 2026
e302b54
Fix pointer dismissal enrollment and modal permission
brennanb2025 Oct 31, 2026
54db734
Remove shared menu primitive patches
brennanb2025 Oct 31, 2026
5bbffea
Reuse message avatars in the crew panel
brennanb2025 Oct 31, 2026
24b5ea4
Focus the captured input when Mention is pressed
brennanb2025 Oct 31, 2026
7c7f97f
Test the exact Mention all worker selection
brennanb2025 Oct 31, 2026
e5f851d
Derive Crew attention and actions from complete recipient authority
brennanb2025 Oct 31, 2026
b938e23
test: repair Crew avatar store fixture and operation accounting
brennanb2025 Oct 31, 2026
81d3ec4
Keep selected references structural during paste projection
brennanb2025 Oct 31, 2026
7f4aaa4
Merge origin/main into crew-read-model
brennanb2025 Oct 31, 2026
ac28e0b
Merge commit '7f4aaa479218cfd673b290b19c1fa1f9785ee09c' into brennanb…
brennanb2025 Oct 31, 2026
271c9fb
Merge commit 'ac28e0b524e4c79a6b4c5625db7b763e4b48ab71' into brennanb…
brennanb2025 Oct 31, 2026
09dd91d
Merge origin/main into crew-read-model
brennanb2025 Oct 31, 2026
e599a56
Fix Crew public-command fixture type contracts
brennanb2025 Oct 31, 2026
aa6a7c2
Merge commit 'e599a569ba295c03c03099540ef82eded5b45aa4' into brennanb…
brennanb2025 Oct 31, 2026
6d00703
Align Crew fixtures with runtime reader and routing contracts
brennanb2025 Oct 31, 2026
a5c14ae
Merge origin/main into crew-read-model
brennanb2025 Oct 31, 2026
5fbfe19
Merge commit 'a5c14aef40b2e82bf73a64e12432ef35b51dd143' into brennanb…
brennanb2025 Oct 31, 2026
3a7590f
Keep shared message avatar glyphs at their declared size
brennanb2025 Oct 31, 2026
6f5c9b2
fix: preserve existing native mention separators
brennanb2025 Oct 31, 2026
1fb68b7
Narrow receiving fixture calls to unary RPC methods
brennanb2025 Oct 31, 2026
f8b7770
Merge commit '1fb68b71b9a7152819d636f45e220fcfc04a1bd1' into brennanb…
brennanb2025 Oct 31, 2026
4dbd1e2
Merge commit 'f8b77705e50f7d43973daa664cf608fd958be5a9' into brennanb…
brennanb2025 Oct 31, 2026
c8b562e
test: load crew Open sender before test execution
brennanb2025 Oct 31, 2026
587a90d
test: consolidate pasted text value imports
brennanb2025 Oct 31, 2026
3834d22
test: supply crew avatar panel mention contract
brennanb2025 Oct 31, 2026
ad8df0e
Age pending question fixtures from every actual answer timestamp
brennanb2025 Oct 31, 2026
8f841d9
Merge commit 'ad8df0e9dc78984e2c98f6b5384b9533c112c69f' into brennanb…
brennanb2025 Oct 31, 2026
abd28a0
test: give mounted mention fixture a portable return type
brennanb2025 Oct 31, 2026
fc94d63
Merge commit '8f841d9bcbc3cd0ca71144178fe9dd822ca9bb9c' into brennanb…
brennanb2025 Oct 31, 2026
30dce07
Complete Crew public-command workspace fixture result
brennanb2025 Oct 31, 2026
66a8009
Merge commit '30dce07a81ee6762e70273b9418ace2c70f5448c' into brennanb…
brennanb2025 Oct 31, 2026
48c2ecf
Merge commit '66a8009df7c7ab2acb5c79270958627a7cc46093' into brennanb…
brennanb2025 Oct 31, 2026
d718cc6
Merge remote-tracking branch 'origin/main' into brennanb2025/crew-rea…
brennanb2025 Oct 31, 2026
e1ded71
Test delegated helper follow-up through Crew advertised address
brennanb2025 Oct 31, 2026
ecbedf0
Merge commit 'e1ded7135a24db2264908542c08e855215ddfd92' into brennanb…
brennanb2025 Oct 31, 2026
5ae3396
Merge commit 'ecbedf0fd4cd928fdddfbc43880846279a1eef93' into brennanb…
brennanb2025 Oct 31, 2026
c47cc34
Qualify Crew follow-up addresses through shared command admission
brennanb2025 Oct 31, 2026
ac182c1
Complete finite follow-up authority and lifetime evidence
brennanb2025 Oct 31, 2026
9ef08d3
Assert exact remote authority acquisition error identity
brennanb2025 Oct 31, 2026
4f33fd7
Merge commit '9ef08d3b9fecf779840bf303f628039d855c3303' into brennanb…
brennanb2025 Oct 31, 2026
25af5a8
Merge main into crew-read-model
brennanb2025 Oct 31, 2026
9765c46
Merge commit '25af5a8e97396791e0aa9abaf6c422de4b302174' into brennanb…
brennanb2025 Oct 31, 2026
19fc72a
Consolidate Crew SQL test fixture imports
brennanb2025 Oct 31, 2026
2c9cc38
Merge commit '9765c4647a5caca5fea47826a1230b402512aa5a' into brennanb…
brennanb2025 Oct 31, 2026
e30ada6
Merge commit '19fc72a1066fdaaf2d24873ccad0cb583144cb05' into brennanb…
brennanb2025 Oct 31, 2026
b22995b
Merge commit 'e30ada67cf76d62a6a1a0e815fd783b9ea6d42fd' into brennanb…
brennanb2025 Oct 31, 2026
3fdfe0c
Trim Crew panel tests to the high-impact set
brennanb2025 Nov 1, 2026
16bdb05
Trim Crew Mention tests to the high-impact set
brennanb2025 Nov 1, 2026
6685703
Trim Crew read-model tests to the high-impact set
brennanb2025 Nov 1, 2026
d7e268c
Drop diagnostic output and a duplicate error case from Crew tests
brennanb2025 Nov 1, 2026
57ef7f2
Merge origin/main into crew-read-model
brennanb2025 Nov 1, 2026
c31c853
Merge origin/main into crew-read-model
brennanb2025 Nov 1, 2026
a0f1593
Pass the recorded-leaf reader in main's check-details loader test
brennanb2025 Nov 1, 2026
872f79e
Build the approved orchestration panel design
brennanb2025 Nov 1, 2026
b88b8a1
Merge crew-panel-ui 872f79e into orchestration-crew-panel
brennanb2025 Nov 1, 2026
7f3d73d
Keep pane title buttons above the orchestration panel; tick row times
brennanb2025 Nov 1, 2026
6e467e4
Move the orchestration row into its own file
brennanb2025 Nov 1, 2026
0a3cad5
Merge crew-panel-ui 6e467e4 into orchestration-crew-panel
brennanb2025 Nov 1, 2026
59cdb06
List every status case in the orchestration icon switches
brennanb2025 Nov 1, 2026
913e36b
Merge crew-panel-ui 59cdb06 into orchestration-crew-panel
brennanb2025 Nov 1, 2026
e273333
Name the orchestration row 'Mention <agent>:' while keeping its statu…
brennanb2025 Nov 1, 2026
a3a0367
Use the outline xs Button as is for Mention all
brennanb2025 Nov 1, 2026
57e9d50
Subscribe the memoized orchestration row to language changes; type th…
brennanb2025 Nov 1, 2026
d66f854
Merge crew-read-model into crew-panel-ui
brennanb2025 Nov 1, 2026
daf91ca
Merge remote-tracking branch 'origin/main' into brennanb2025/crew-pan…
brennanb2025 Nov 1, 2026
bc04716
Fit the orchestration tab and avatar stack to main's Button and key l…
brennanb2025 Nov 1, 2026
b63fc98
Ship the orchestration panel's plural counts in the runtime English c…
brennanb2025 Nov 1, 2026
3a59d5b
Subscribe the memoized crew row to language changes; read the nullabl…
brennanb2025 Nov 1, 2026
9dbfa94
Ship the orchestration panel's plural labels in the boot catalog
brennanb2025 Nov 1, 2026
d9d1f29
End the chat's orchestration panel above the composer
brennanb2025 Nov 1, 2026
019db20
Skip escalations when choosing a crew row's latest message
brennanb2025 Nov 1, 2026
9e45fe4
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
b5e9995
Point Mention's tests at the modules main moved
brennanb2025 Nov 2, 2026
8bdda3d
Say why a crew row's agent can't be opened
brennanb2025 Nov 2, 2026
4aa58a9
End the panel above the composer in terminal-hosted chats too
brennanb2025 Nov 2, 2026
3608a94
Show only an agent's own words as a crew row's latest message
brennanb2025 Nov 2, 2026
31a0b6c
Keep worker launch stages out of crew rows and Details
brennanb2025 Nov 2, 2026
be16d71
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
7a43546
Fit both chat hosts under the line limit after the frame merge
brennanb2025 Nov 2, 2026
8d5f808
Mention each agent once per chat draft
brennanb2025 Nov 2, 2026
d431b87
Test a row Mention followed by Mention all
brennanb2025 Nov 2, 2026
a572975
Give the recipient-authority test's history message a body
brennanb2025 Nov 2, 2026
d252a4d
Clip the chat's orchestration panel to its transcript
brennanb2025 Nov 2, 2026
466e53c
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
d124368
Check a terminal's readiness when Mention is pressed
brennanb2025 Nov 2, 2026
d4e4507
Keep a row's status at full strength when it can't be mentioned
brennanb2025 Nov 2, 2026
27b8f00
Translate the crew row Open failure toasts
brennanb2025 Nov 2, 2026
28660b6
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
bbac840
Translate the crew row Open fallback for agents without a target
brennanb2025 Nov 2, 2026
fec896c
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
4e910f9
Put the Orchestration panel behind an experimental setting, default off
brennanb2025 Nov 2, 2026
d76280d
Give the terminal-hosted chat's panel its own module
brennanb2025 Nov 2, 2026
b28a38e
Merge origin/main into crew-panel-ui
brennanb2025 Nov 2, 2026
57f1176
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
c4ce994
Leave the setting-off path exactly as on main
brennanb2025 Nov 2, 2026
bfe9b42
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
43bbd95
Leave /goal and ordinary sends exactly as on main
brennanb2025 Nov 2, 2026
7927f5c
Keep main's abort reason and send-failure handling for every web subs…
brennanb2025 Nov 2, 2026
74af217
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
5c372c7
Build the panel tests' settings from defaults instead of a cast
brennanb2025 Nov 2, 2026
b4eeba4
Merge origin/main into crew-panel-ui
brennanb2025 Nov 2, 2026
d371d9f
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
088fa56
Load the panel with plain lazy so a failed load never retries or relo…
brennanb2025 Nov 2, 2026
8468cb7
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
a306d36
Keep main's /goal parser and put a goal's Mention notes on its one line
brennanb2025 Nov 2, 2026
01d3278
Let a failed panel load try again the next time the panel mounts
brennanb2025 Nov 2, 2026
b8e0223
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
bb156a6
Type the queued-edit test's pending send as main's boolean result
brennanb2025 Nov 2, 2026
01baa37
Keep a mention's routing notes in Goal mode on hosts without goals
brennanb2025 Nov 2, 2026
ba22e21
Give the lazy panel test the Mention props this branch's panel requires
brennanb2025 Nov 2, 2026
cbedcd7
Merge origin/main into crew-panel-ui
brennanb2025 Nov 2, 2026
a772908
Merge crew-panel-ui into orchestration-crew-panel
brennanb2025 Nov 2, 2026
cd54fcb
Merge main (with #34891 squashed) into orchestration-crew-panel
brennanb2025 Nov 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { expect, it, vi } from 'vitest'
import { claudeDispatchMessageContent } from '../claude/structured/claude-structured-dispatch-content'
import { turnInputFor } from '../codex/codex-structured-message-options'
import type { CodexTurnHost } from '../codex/codex-structured-turn-start'
import { createCodexDispatchEchoes } from '../codex/codex-structured-dispatch-echo'
import { preparePiRpcPrompt } from '../pi/rpc-prompt'
import { structuredAgentSessionSendBody } from '../../shared/agent-session/requests/structured-agent-session-send-mutation'
import { agentReferenceDeliveryText } from '../../shared/orchestration-agent-reference.test-fixture'

it('preserves the renderer-captured occurrence and address association through actual provider adapters', async () => {
const body = structuredAgentSessionSendBody(agentReferenceDeliveryText, [])
const codexHost: CodexTurnHost = {
connection: { request: vi.fn<CodexTurnHost['connection']['request']>() },
threadId: 'captured-thread',
options: new Map(),
dispatchEchoes: createCodexDispatchEchoes(),
turnOpenWaits: { wait: vi.fn<CodexTurnHost['turnOpenWaits']['wait']>() }
}
expect(await claudeDispatchMessageContent(body)).toEqual([
{ type: 'text', text: agentReferenceDeliveryText }
])
expect(turnInputFor(codexHost, body)).toEqual([
{ type: 'text', text: agentReferenceDeliveryText }
])
expect((await preparePiRpcPrompt(body)).message).toBe(agentReferenceDeliveryText)
})
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ describe('reader navigation', () => {
const composer = {
focus,
insertTypedText,
insertAgentReferences: () => false,
acceptsText: () => true,
appendText: vi.fn(),
handlePasteEvent: vi.fn(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { insertAgentReferences, NativeChatAgentReference } from './native-chat-agent-reference'
import { nativeChatDraftPositions } from './native-chat-composer-draft-memory'
import { createNativeChatPastedTextHistory } from './native-chat-pasted-text-history'
import { resolveNativeChatPastedText } from './native-chat-composer-pasted-text-references'
Expand Down Expand Up @@ -97,6 +98,7 @@ function NativePromptEditor({
underline: false,
trailingNode: false
}),
NativeChatAgentReference,
NativeChatSkill,
NativeChatFileReference,
NativeChatImageReference,
Expand Down Expand Up @@ -234,14 +236,13 @@ function NativePromptEditor({
return subscribeToNativeChatComposerDraft(scopeKey, capture)
}, [editor, scopeKey, historyPaths])

useLayoutEffect(() => {
editor?.setEditable(!disabled, false)
}, [disabled, editor])
useLayoutEffect(() => editor?.setEditable(!disabled, false), [disabled, editor])

const input = useMemo<NativeChatComposerInput | null>(
() =>
editor
? {
insertAgentReferences: (references) => insertAgentReferences(editor, references),
insertText: (text) => {
const content = editor.schema.nodeFromJSON(promptTextContent(text))
editor.view.dispatch(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ vi.mock('./NativeChatComposer', async () => {
fieldRef.current?.focus()
return true
},
insertAgentReferences: () => false,
insertTypedText: composer.typed,
acceptsText: () => true,
appendText: () => {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,15 @@ export function NativeChatResolvedView({
})
const { card: shownPromptCard, collapsedCard } = promptCardPresentation
const mountedPromptCard = shownPromptCard ?? collapsedCard
const composerReady = shownPromptCard === null && targetPtyId !== null && canSend
const rootInput = useNativeChatRootInputRouting({
tabId: terminalTabId,
rootRef,
composerRef,
questionAnswerInputRef,
isVisible,
isFocusedGroup,
composerReady: shownPromptCard === null && targetPtyId !== null && canSend
composerReady
})

// Match mobile ordering: hook preview before optimistic user echoes.
Expand Down Expand Up @@ -343,7 +344,12 @@ export function NativeChatResolvedView({
data-native-chat-scheme={appearanceStyle.colorScheme}
>
<NativeChatCrewFrame
panel={<TerminalChatCrewPanel {...{ terminalTabId, paneKey, targetPtyId, isVisible }} />}
panel={
<TerminalChatCrewPanel
{...{ terminalTabId, paneKey, targetPtyId, isVisible, composerRef }}
canMention={composerReady}
/>
}
>
{find.isOpen ? <NativeChatFindBar find={find} isVisible={isVisible} /> : null}
{viewState.kind === 'loading' ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const appendText = vi.fn<(text: string) => void>()
const acceptsText = vi.fn(() => true)
const composer: NativeChatComposerHandle = {
focus: () => true,
insertAgentReferences: () => false,
insertTypedText: () => true,
appendText,
acceptsText,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ it('ends only the native menu lifetime on hide, retaining disclosure and the sub
const view = render(content(true))
await user.click(screen.getByRole('button', { name: /^Show orchestration: 1 worker,/ }))
const panel = screen.getByRole('complementary', { name: 'Orchestration' })
const disclosure = screen.getByRole('button', { name: /Check the result/ })
const disclosure = screen.getByRole('button', { name: "Show Worker's task and latest message" })
await user.click(disclosure)
const composer = screen.getByRole('textbox', { name: 'Message' })
await user.type(composer, 'Keep this draft')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export function NativeChatStructuredSession(
// An owned prompt keeps its card; otherwise a missing program leaves the composer disabled.
const installLayout = viewState.kind === 'empty' ? 'hero' : 'strip'
const install = useNativeChatInstallSlot(props, agentLabel, installLayout)
const canMention = composerShown && install.unavailableHint === undefined
const approval = prompt?.body.kind === 'approval' ? chatApprovalFromJournal(prompt.body) : null
const cancelPrompt = () => cancelStructuredPrompt(controller, prompt, props.agent)
const rootInput = useNativeChatRootInputRouting({
Expand Down Expand Up @@ -221,9 +222,6 @@ export function NativeChatStructuredSession(
transport
})

// Said once: on the pane when the failure took it, else in the composer's notices.
const sessionError =
viewState.kind === 'error' || !readFailure ? controller.error : readFailure.text
const launch = { ...provisionalLaunch, retry: submits.retryLaunch }
const availability = useNativeChatAvailabilityNotice({
unavailable: controller.unavailable,
Expand All @@ -244,7 +242,8 @@ export function NativeChatStructuredSession(
const notices = structuredSessionNotices({
launch: install.slot.kind === 'install' ? { ...launch, lifecycle: null } : launch,
agentLabel,
sessionError,
// Said once: on the pane when the failure took it, else in the composer's notices.
sessionError: viewState.kind === 'error' || !readFailure ? controller.error : readFailure.text,
composerError: composerError ?? continuation.continueError,
claudeSignIn,
availability,
Expand Down Expand Up @@ -277,7 +276,9 @@ export function NativeChatStructuredSession(
data-native-chat-scheme={appearanceStyle.colorScheme}
>
{nativeChatPaneHeader(props, ownerWorktreeId, appearanceStyle.colorScheme, handOff)}
<NativeChatCrewFrame panel={<NativeChatCrewPanel {...props} />}>
<NativeChatCrewFrame
panel={<NativeChatCrewPanel {...props} composerRef={composerRef} canMention={canMention} />}
>
<NativeChatContextClearFade clearing={controller.contextClear.clearing}>
{find.isOpen ? <NativeChatFindBar find={find} isVisible={props.isVisible} /> : null}
{viewState.kind === 'loading' || (viewState.kind === 'error' && !readFailure) ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ it.each([20, 200])(
const handle: NativeChatComposerHandle = {
focus: () => true,
insertTypedText: () => true,
insertAgentReferences: () => false,
acceptsText: () => true,
appendText: () => {},
handlePasteEvent: () => {},
Expand Down Expand Up @@ -270,6 +271,7 @@ it.each([20, 200])(
const handle: NativeChatComposerHandle = {
focus: () => true,
insertTypedText: inserted,
insertAgentReferences: () => false,
acceptsText: () => true,
appendText: () => {},
handlePasteEvent: () => {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
updateNativeChatComposerDraft
} from './native-chat-composer-draft-store'
import { promptSkillRefs, promptText } from './native-chat-prompt-document'
import { agentReferenceToken } from '../../../../shared/orchestration-agent-reference'
import { changePrompt, promptEditor } from './native-chat-prompt-editor.test-support'
import { dispatchNativeChatStructuredComposerText } from './native-chat-structured-composer-dispatch'
import { structuredAgentSessionSendBody } from '../../../../shared/agent-session/requests/structured-agent-session-send-mutation'
Expand All @@ -38,7 +39,16 @@ import { nativeChatPastedTextOperations } from './native-chat-pasted-text-refere
const clipboard = vi.hoisted(() => ({ text: vi.fn(), file: vi.fn() }))
vi.mock('sonner', () => ({ toast: { error: vi.fn() } }))
const handles = new Map<string, NativeChatComposerHandle>()
function Field({ scope, disabled = false }: { scope: string; disabled?: boolean }) {
const notComposing = () => false
function Field({
scope,
disabled = false,
isComposing = notComposing
}: {
scope: string
disabled?: boolean
isComposing?: () => boolean
}) {
const input = useRef<NativeChatComposerInput>(null)
const handle = useRef<NativeChatComposerHandle>(null)
const root = useRef<HTMLDivElement>(null)
Expand All @@ -50,7 +60,7 @@ function Field({ scope, disabled = false }: { scope: string; disabled?: boolean
}, [draft.draft])
useNativeChatComposerHandle(handle, {
textareaRef: input,
isComposing: () => false,
isComposing,
setDraft: draft.setDraft,
setCaret: () => {},
setActiveSuggestion: () => {},
Expand Down Expand Up @@ -285,3 +295,37 @@ it.each(['/clear', '@/same.txt'] as const)(
expect(promptText(editor.state.doc)).toBe(`${before}@/same.txt`)
}
)

it('lets the mounted input own mention acceptance and restores that editor focus only after insertion', () => {
let composing = false
const isComposing = () => composing
const reference = { label: 'Worker', address: 'term_worker', hostKey: 'local' }
const fields = (disabled: boolean) => (
<>
<Field scope="mention-owner" disabled={disabled} isComposing={isComposing} />
<Field scope="other-owner" />
</>
)
const view = render(fields(true))
const input = screen.getByRole('textbox', { name: 'mention-owner' })
const other = screen.getByRole('textbox', { name: 'other-owner' })
other.focus()
const handle = handles.get('mention-owner')!
expect(handle.acceptsText()).toBe(false)
act(() => expect(handle.insertAgentReferences([reference])).toBe(false))
expect(readNativeChatComposerDraft('mention-owner').text).toBe('')
expect(document.activeElement).toBe(other)
view.rerender(fields(false))
composing = true
expect(handle.acceptsText()).toBe(true)
act(() => expect(handle.insertAgentReferences([reference])).toBe(false))
expect(readNativeChatComposerDraft('mention-owner').text).toBe('')
expect(document.activeElement).toBe(other)
composing = false
act(() => expect(handle.insertAgentReferences([reference])).toBe(true))
expect(readNativeChatComposerDraft('mention-owner').text).toBe(
`${agentReferenceToken(reference)} `
)
expect(document.activeElement).toBe(input)
expect(readNativeChatComposerDraft('other-owner').text).toBe('')
})
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @vitest-environment happy-dom
import { useLayoutEffect, useRef, useState, useImperativeHandle } from 'react'
import { useLayoutEffect, useRef, useState } from 'react'
import { act, cleanup, render, screen, waitFor } from '@testing-library/react'
import { afterEach, beforeEach, expect, it, vi } from 'vitest'
import { NativeChatPromptEditor } from './NativeChatPromptEditor'
Expand Down Expand Up @@ -460,7 +460,7 @@ it('retains re-picked rich identity after unknown proof and saves the whole repl
expect(nextSend().blocks).toEqual([{ type: 'text', text: 'occupied' }])
})

import { useNativeChatTypedInsertion } from './use-native-chat-typed-insertion'
import { useNativeChatComposerHandle } from './use-native-chat-composer-handle'
import { useNativeChatComposerEditSession } from './use-native-chat-composer-edit-session'
import type { NativeChatComposerHandle } from './native-chat-composer-types'
import { captureInsertionTarget, insertText } from '../dictation/dictation-insertion-target'
Expand All @@ -472,19 +472,26 @@ function useCapturedPrompt(
) {
const root = useRef<HTMLDivElement>(null)
const handle = useRef<NativeChatComposerHandle>(null)
const insertion = useNativeChatTypedInsertion({
useNativeChatComposerHandle(handle, {
textareaRef: input,
isComposing: () => composing,
setDraft,
setCaret: () => {},
setActiveSuggestion: () => {}
setActiveSuggestion: () => {},
attachmentScopeKey: key,
targetKey: key,
disabled: false,
caret: input.current?.selectionStart ?? 0,
resolveAttachmentOwner: () => ({ kind: 'local' }),
attachResolvedPaths: () => {},
attachCopiedFiles: () => {},
captureCopiedFiles: () => async () => {},
beginPendingImageAttachment: () => null,
resolvePendingImageAttachment: () => {},
dropPendingImageAttachment: () => {},
setNotice: () => {},
pastedTextEditor: () => input.current
})
useImperativeHandle(handle, () => ({
...insertion,
isComposing: () => composing,
handlePasteEvent: () => {},
pasteFromClipboard: () => {}
}))
useNativeChatComposerEditSession({
root,
handle,
Expand Down
Loading
Loading