Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1717 commits
Select commit Hold shift + click to select a range
4face54
test(cli-rs): settle before a_handlers_watch_ends_with_its_js_host kills
simonklee Nov 14, 2026
066b2e8
test(cli-rs): give the plugin_reads harness a clock that stands still
simonklee Nov 14, 2026
6c880d6
test(cli-rs): pick the interop services' ports below the ephemeral range
simonklee Nov 14, 2026
8a2bef9
feat(cli-rs): limit plugins' host work and schedule their updates
simonklee Nov 14, 2026
e7c96b9
test(cli-rs): ship the limits property on both carriers
simonklee Nov 14, 2026
ab97f47
fix(cli-rs): keep one plugin's wake from moving another's updates
simonklee Nov 14, 2026
88ac55c
test(cli-rs): ship backlog under a flood on both carriers
simonklee Nov 14, 2026
4a1c4f3
fix(cli-rs): set the limits on host work from the probe
simonklee Nov 14, 2026
76c08a3
fix(cli-rs): count a plugin's handlers in its update budget
simonklee Nov 14, 2026
7de2e97
test(cli-rs): hold P2's panels and overlays to the limits
simonklee Nov 14, 2026
11612ac
test(cli-rs): render a tree at every limit of the client
simonklee Nov 14, 2026
233e700
refactor(cli-rs): admit a keep in one path per counting mode
simonklee Nov 14, 2026
a19466c
test(cli-rs): pin what Pl's mutants showed the tests missed
simonklee Nov 14, 2026
28be5e3
fix(cli-rs): drain a plugin's wake after the input of its poll
simonklee Nov 14, 2026
b65fa39
fix(cli-rs): give a thread's report and a wake their place in the mail
simonklee Nov 14, 2026
ec614a0
fix(cli-rs): measure a tree's text once, as the renderer draws it
simonklee Nov 14, 2026
f4175a6
fix(cli-rs): hold an image's bytes with its job, and limit each side
simonklee Nov 14, 2026
9eae920
fix(cli-rs): keep the admitted tree, and ask again for a placeholder …
simonklee Nov 14, 2026
064c583
fix(cli-rs): keep a paint's calls in one frame, and take turns
simonklee Nov 14, 2026
f661cb2
fix(cli-rs): admit a keep as the subtree it stands for
simonklee Nov 14, 2026
9e3fc1d
fix(cli-rs): admit a kept subtree's tool output as it is now
simonklee Nov 14, 2026
fe7efdd
fix(cli-rs): share a frame's rows, and admit every tree a plugin builds
simonklee Nov 14, 2026
250cf16
fix(cli-rs): read image headers as decoders do, and decode two at a time
simonklee Nov 14, 2026
212ef5f
feat(cli-rs): bound a mailbox's bytes, and report a backlog as slow
simonklee Nov 14, 2026
73d0c15
fix(cli-rs): count host time of nested slots once, and give Windows a…
simonklee Nov 14, 2026
64ee12b
test(cli-rs): add rows for the mutants the carbon review named
simonklee Nov 14, 2026
7f2baf2
refactor(cli-rs): name the image workers' waiting jobs
simonklee Nov 14, 2026
fab42a3
docs(cli-rs): name the frame's rows and the backlog notice in F16
simonklee Nov 14, 2026
5dfe13d
test(cli-rs): end the last frame over the budget without a call
simonklee Nov 14, 2026
9641177
feat(cli-rs): charge a JS plugin's watched reads to its content
simonklee Nov 14, 2026
a55d6ec
test(cli-rs): look at a frame in Pc's transcripts
simonklee Nov 14, 2026
0f3a444
test(cli-rs): paint as the pipe's settle turns, as the run loop does
simonklee Nov 14, 2026
6170404
refactor(cli-rs): set the parts fixture's switches one statement each
simonklee Nov 14, 2026
98bec17
test(cli-rs): hold the pipe's reads and a deferred view's input to th…
simonklee Nov 14, 2026
8199283
fix(cli-rs): keep one wake thread a plugin while the UI queue is full
simonklee Nov 14, 2026
c8b4026
test(cli-rs): hold a waiting revision's causes and a failed plugin's …
simonklee Nov 14, 2026
0b40908
fix(cli-rs): keep shell output tails from splitting characters
simonklee Nov 14, 2026
342e307
test(cli-rs): record a shell output tail cut through an emoji
simonklee Nov 14, 2026
37b768b
feat(cli-rs): give 2.0 slot views their input, absolute nodes and eve…
simonklee Nov 14, 2026
25f55bd
feat(cli-rs): run V2 TUI plugins unmodified on the JS host
simonklee Nov 14, 2026
ad01205
test(cli-rs): three npm TUI plugins, unmodified, cell-equal to TS
simonklee Nov 14, 2026
6582bd6
test(cli-rs): delivery, carrier equality and containment for the V2 l…
simonklee Nov 14, 2026
e5fb812
fix(cli-rs): give a V2 plugin's scroll box and field an id
simonklee Nov 14, 2026
ac1bb9e
feat(cli-rs): run TypeScript TUI plugins on the JS host by default
simonklee Nov 14, 2026
b22a5a7
fix(cli-rs): format and lint the V2 layer's contract additions
simonklee Nov 14, 2026
fb8ca39
fix(cli-rs): count the code a plugin runs for answers toward its flood
simonklee Nov 14, 2026
86e946a
feat(cli-rs): show a V2 plugin's own dialog, as TS draws it
simonklee Nov 14, 2026
a17ad07
refactor(cli-rs): drop the V2 layer's filter of a span's props
simonklee Nov 14, 2026
8e1cc62
test(cli-rs): make the V2 layer's rows hold under load and kill two m…
simonklee Nov 14, 2026
4bcf780
fix(cli-rs): run a project's TypeScript plugin from its approved bytes
simonklee Nov 14, 2026
c6e89cd
fix(cli-rs): keep a V2 plugin's reads, storage, keys and dialogs as T…
simonklee Nov 14, 2026
80746bb
fix(cli-rs): merge a V2 store's update into what is stored as it lands
simonklee Nov 14, 2026
9dd2da5
fix(cli-rs): give V2 plugins a session's pending inbox, and own a dia…
simonklee Nov 14, 2026
56b0d21
fix(cli-rs): hash a TypeScript plugin's files only when they changed
simonklee Nov 14, 2026
dd492dc
fix(cli-rs): start the JS host apart from the project it works for
simonklee Nov 14, 2026
6f12072
fix(cli-rs): ship the JS host off by default
simonklee Nov 14, 2026
f790103
fix(cli-rs): close carbon's V2 layer findings on dialogs, views and t…
simonklee Nov 14, 2026
aa46497
fix(cli-rs): close carbon's JS host findings on storage, blame, repli…
simonklee Nov 14, 2026
6f0d175
docs(cli-rs): say what the V2 layer still does differently after the …
simonklee Nov 14, 2026
f022ab0
fix(cli-rs): copy a fetch reply's ID rather than clone it
simonklee Nov 14, 2026
a4962bb
test(cli-rs): prove a relative PATH entry never finds the project's bun
simonklee Nov 14, 2026
592bb58
test(cli-rs): read a session's pending inbox from a V2 plugin
simonklee Nov 14, 2026
fa4387b
test(cli-rs): wait for both quick folds to reach the disk
simonklee Nov 14, 2026
b109463
test(cli-rs): read a plugin's log once its line is whole
simonklee Nov 14, 2026
34105ee
feat(cli-rs): run the JS host on the local server's opencode as Bun
simonklee Nov 14, 2026
e097d10
docs(cli-rs): the JS host prefers the local server's opencode as Bun
simonklee Nov 14, 2026
f05d337
test(cli-rs): pass over an opencode whose version probe fails
simonklee Nov 14, 2026
99e6d75
feat(cli-rs): make the diff viewer a plugin of contract 2.0
simonklee Nov 14, 2026
37b20ae
test(cli-rs): name the diff viewer's scenarios and hunk rules
simonklee Nov 14, 2026
9324dea
docs(cli-rs): describe the diff viewer on contract 2.0
simonklee Nov 14, 2026
48e24d9
test(cli-rs): run the gate probe on the diff viewer at a narrow width
simonklee Nov 14, 2026
3de7bbb
test(cli-rs): add the diff viewer to the shared plugin fixture
simonklee Nov 14, 2026
1603f4c
test(cli-rs): run the diff viewer in a real terminal
simonklee Nov 14, 2026
a2b5a0c
docs(cli-rs): say that ctrl+c in the diff viewer is the host's
simonklee Nov 14, 2026
dddc3ca
test(cli-rs): check the contract additions through the diff viewer
simonklee Nov 14, 2026
8905cef
fix(cli-rs): let a wheel step keep the diff viewer whole
simonklee Nov 14, 2026
a6457c4
test(cli-rs): wait for the diff viewer's route after diff.open
simonklee Nov 14, 2026
816c760
fix(cli-rs): find the node that holds the focus in one walk
simonklee Nov 14, 2026
31cd5c9
fix(cli-rs): build the session-usage example on Fetch's new field
simonklee Nov 14, 2026
b6362cf
test(cli-rs): rows for the diff viewer mutants that lived
simonklee Nov 14, 2026
6a290fa
fix(cli-rs): load the last turn's diff on every turn end
simonklee Nov 14, 2026
8464fef
refactor(cli-rs): let the diff viewer keep its tree on drawn alone
simonklee Nov 14, 2026
52982a2
test(cli-rs): show what the base picker's server search found
simonklee Nov 14, 2026
72c73a1
docs(cli-rs): drop a stale note on abi_builtins
simonklee Nov 14, 2026
d7e71a9
fix(cli-rs): cost a diff viewer mark over the C ABI what it costs linked
simonklee Nov 14, 2026
2d6e43c
test(cli-rs): hold that a wheel step keeps the diff viewer's memo
simonklee Nov 14, 2026
1c0328f
fix(cli-rs): leave a plugin's route on ctrl+c, as TS closes the viewer
simonklee Nov 14, 2026
557be1a
fix(cli-rs): name a diff viewer file by its whole path
simonklee Nov 14, 2026
4bce2e8
fix(cli-rs): show an image card's decode as the host does it, and end…
simonklee Nov 14, 2026
8b3c275
test(cli-rs): check what each gate step did, and run 4.9 on both carr…
simonklee Nov 14, 2026
f5a75e7
refactor(cli-rs): count a diff viewer patch's lines once a load
simonklee Nov 14, 2026
fc00536
docs(cli-rs): say what 2.0's additions break in Rust source, and how …
simonklee Nov 14, 2026
9cb62a1
test(cli-rs): a folder of the diff viewer closes and opens on a click
simonklee Nov 14, 2026
4c62b0f
fix(cli-rs): find a node in a list item for focus, rect and drag
simonklee Nov 14, 2026
f75ce36
fix(cli-rs): let a docked file menu keep the input, and the panel pan…
simonklee Nov 14, 2026
ddca0cb
fix(cli-rs): close one level of a plugin surface on ctrl+c, as TS clo…
simonklee Nov 14, 2026
8c30bea
fix(cli-rs): end the diff viewer's dialogs with it, and bound a plugi…
simonklee Nov 14, 2026
17a2ba9
fix(cli-rs): keep a plugin's binds and dialogs to what the contract says
simonklee Nov 14, 2026
6206d67
fix(cli-rs): hear every turn's end, mark a base reported late, and re…
simonklee Nov 14, 2026
7f2e0c8
test(cli-rs): rows for the diff viewer behaviors carbon's mutants fou…
simonklee Nov 14, 2026
c0e12c5
refactor(cli-rs): read an image's header in one place
simonklee Nov 14, 2026
d1f2e54
fix(cli-rs): keep the diff viewer within one tree's limits at 1,000 f…
simonklee Nov 14, 2026
5b09152
feat(cli-rs): close the requests a plugin builds to new fields
simonklee Nov 14, 2026
b608ef2
test(cli-rs): change a select's empty text alone
simonklee Nov 15, 2026
97a92d7
test(cli-rs): give the canvas rows a budget clock that does not move
simonklee Nov 15, 2026
56416b8
fix(cli-rs): wait for a shell character the server holds back
simonklee Nov 15, 2026
a34c2a1
test(cli-rs): let a parity route answer one query
simonklee Nov 15, 2026
f897e7b
test(cli-rs): record shell output paged around an emoji
simonklee Nov 15, 2026
256e950
fix(cli-rs): check every buffer that crosses the plugin ABI the same way
simonklee Nov 15, 2026
d00a07c
fix(cli-rs): refuse a 2.x plugin that does not describe its ID
simonklee Nov 15, 2026
fcd976d
fix(cli-rs): leave no effect of a setup error the host refuses
simonklee Nov 15, 2026
1f3cff2
fix(cli-rs): name the mount a surface handler and layout run for
simonklee Nov 15, 2026
3dd3a23
feat(cli-rs): negotiate the plugin ABI version in the Rust SDK
simonklee Nov 15, 2026
7c77765
feat(cli-rs): make the plugin SDK's extensible types non-exhaustive
simonklee Nov 15, 2026
891dffc
test(cli-rs): build a pinned author plugin through the next SDK
simonklee Nov 15, 2026
b07eb5e
fix(cli-rs): build the C conformance plugin with -O2 and -Werror
simonklee Nov 15, 2026
9657373
feat(cli-rs): publish a normative schema of the plugin ABI's messages
simonklee Nov 15, 2026
1c9765d
docs(cli-rs): point the plugin header at the schema, and correct 1.4
simonklee Nov 15, 2026
7ed8728
fix(cli-rs): keep export_plugin!'s requires_minor on ABI 1.x
simonklee Nov 15, 2026
5f823f8
test(cli-rs): sample the viewer's content only after a reload lands
simonklee Nov 15, 2026
bdafe5b
fix(cli-rs): hold a claimed part to its plugin's limits as a surface
simonklee Nov 15, 2026
de04921
fix(cli-rs): view a claimed part once a frame on every path
simonklee Nov 15, 2026
51f4390
fix(cli-rs): hold a kept canvas list to its bounds at each size
simonklee Nov 15, 2026
af92cb9
fix(cli-rs): read a build's dependencies as its loader does, fail-closed
simonklee Nov 15, 2026
2bdcf2e
fix(cli-rs): read a library's quarantine through the file that was read
simonklee Nov 15, 2026
b4594db
fix(cli-rs): save no decision for a build changed while it was asked
simonklee Nov 15, 2026
9f1d918
fix(cli-rs): tell a slow plugin once a session, and each backlog change
simonklee Nov 15, 2026
7679a9f
fix(cli-rs): keep a build's crash identity from its load to its activ…
simonklee Nov 15, 2026
ddbb36b
fix(cli-rs): keep plugins' storage apart across dotted IDs and keys
simonklee Nov 15, 2026
37c0fb5
fix(cli-rs): count a linked plugin's messages by their JSON bytes
simonklee Nov 15, 2026
446b7fc
fix(cli-rs): drop a list item's draft once its input changes or goes
simonklee Nov 15, 2026
86d770c
fix(cli-rs): build a plugin panel again when its footer or frame changes
simonklee Nov 15, 2026
4c81a69
fix(cli-rs): show a resize's view in the frame of the resize
simonklee Nov 15, 2026
727dd12
test(cli-rs): a held route waits again once it is held
simonklee Nov 15, 2026
8324a74
fix(cli-rs): hash a memo's fingerprint in one write
simonklee Nov 15, 2026
5aeb757
fix(cli-rs): build again only the parts of a card that change
simonklee Nov 15, 2026
93a7b60
test(cli-rs): split the gate's viewer steps into calls, host and frames
simonklee Nov 15, 2026
75203cf
fix(cli-rs): judge a list's move by what it saw, and hold its end
simonklee Nov 15, 2026
675ad1a
fix(cli-rs): run plugin dev under the crash parent
simonklee Nov 15, 2026
003fee1
fix(cli-rs): bound a plugin's chain of effects per call and per frame
simonklee Nov 15, 2026
ac7cf76
fix(cli-rs): keep a plugin panel from binding the keys that close it
simonklee Nov 15, 2026
edadf24
fix(cli-rs): keep the host's plugin notices and dialogs from plugins
simonklee Nov 15, 2026
1f889ec
fix(cli-rs): list a plugin route's commands in the palette
simonklee Nov 15, 2026
22ff1f4
fix(cli-rs): read the usage port's message pages off the UI thread
simonklee Nov 15, 2026
7e0b3b6
fix(cli-rs): name what costs in a slow plugin's row
simonklee Nov 15, 2026
7e1e291
fix(cli-rs): tell a failed plugin dev build in the TUI
simonklee Nov 15, 2026
6fb296b
fix(cli-rs): say on a failed plugin's route that the plugin failed
simonklee Nov 15, 2026
e352439
fix(cli-rs): cross a large image faster for image_size
simonklee Nov 15, 2026
ae97648
fix(cli-rs): paint the diff viewer's edge only when it shows
simonklee Nov 15, 2026
236d2e6
test(cli-rs): name plugin targets as the loader finds them on Windows
simonklee Nov 15, 2026
637d0c1
chore(cli-rs): compile-check Windows arm64 and both macOS targets
simonklee Nov 15, 2026
1245501
test(cli-rs): name the new plugin rows' targets with native separators
simonklee Nov 15, 2026
1b611ac
fix(cli-rs): show the approval question's path without \\?\ on Windows
simonklee Nov 15, 2026
f41dbf4
fix(cli-rs): read loader paths and dynamic tags as the loaders do
simonklee Nov 15, 2026
56bd438
fix(cli-rs): admit the same build again by its target and digest
simonklee Nov 15, 2026
d5c13ee
fix(cli-rs): show a claimed part's handler change on the first paint
simonklee Nov 15, 2026
275ca1b
fix(cli-rs): bound a storage merge by the value it makes
simonklee Nov 15, 2026
0c00859
test(cli-rs): refuse a build whose quarantine cannot be read, off a Mac
simonklee Nov 15, 2026
fa7a695
fix(cli-rs): hold a draw's answer to every buffer's rules first
simonklee Nov 15, 2026
ba7f7fb
fix(cli-rs): name a claimed part's mount in Read::mount on both carriers
simonklee Nov 15, 2026
1fb8839
docs(cli-rs): say that a panic on a plugin's own thread is silent
simonklee Nov 15, 2026
d80c8a8
feat(cli-rs): state the host's image bounds as a 2.0 feature
simonklee Nov 15, 2026
282fe53
fix(cli-rs): make the plugin schema resolve without Rust
simonklee Nov 15, 2026
98307b7
fix(cli-rs): bound every carrier's effects one by one
simonklee Nov 15, 2026
e5f00f5
fix(cli-rs): put the host's toasts ahead of the plugins', and bound t…
simonklee Nov 15, 2026
2a42dd4
fix(cli-rs): judge a panel's bind by the keys its layer registers
simonklee Nov 15, 2026
1ccf3d0
fix(cli-rs): send a view's registrations before its tree
simonklee Nov 15, 2026
daf275d
test(cli-rs): give the manager, port and sample rows a still clock
simonklee Nov 15, 2026
7724629
test(cli-rs): say what wants a frame when the canvas model idles
simonklee Nov 15, 2026
8316001
chore(cli-rs): pin OpenTUI e477ffa3a (static link on Windows MSVC)
simonklee Nov 15, 2026
5d4cceb
fix(cli-rs): know the generic dynamic tags one by one
simonklee Nov 15, 2026
cb32ddd
fix(cli-rs): let a handler and a later revision share a part's first …
simonklee Nov 15, 2026
a086299
fix(cli-rs): bound a plugin's storage merge under the storage lock
simonklee Nov 15, 2026
609e745
fix(cli-rs): give a claim's tool call its own schema
simonklee Nov 15, 2026
0ebc33e
fix(cli-rs): keep a host's image bounds on the instance that asked
simonklee Nov 15, 2026
932a813
fix(cli-rs): read one list of host features in a linked setup
simonklee Nov 15, 2026
ace35f3
fix(cli-rs): give a fetch an ID only when its reply can come
simonklee Nov 15, 2026
3b981e9
fix(cli-rs): count a rooted plugin target as local on Windows
simonklee Nov 15, 2026
a561757
test(cli-rs): hold the plugin rows that assumed Unix on Windows
simonklee Nov 15, 2026
70556b7
fix(cli-rs): keep a refused storage write's key dirty until a reload
simonklee Nov 15, 2026
b82a7b4
fix(cli-rs): give a mount's request to that mount on every carrier
simonklee Nov 15, 2026
fb91318
fix(cli-rs): never take zero as a request ID
simonklee Nov 15, 2026
7e21ffe
fix(cli-rs): reject a TypeScript fetch whose mount closed
simonklee Nov 15, 2026
6171e4f
test(cli-rs): join the JS host rows' plugin paths one component at a …
simonklee Nov 15, 2026
a19b6f2
chore(cli-rs): lint for code that is right on Unix and wrong on Windows
simonklee Nov 15, 2026
32211cc
fix(cli-rs): hold every carrier to one table of request ownership
simonklee Nov 15, 2026
78eea34
fix(cli-rs): keep a pipe cancellation past a full overflow
simonklee Nov 15, 2026
e1257be
fix(cli-rs): refuse a reply to request ID 0 before a handler runs
simonklee Nov 15, 2026
31fed8b
docs(cli-rs): give a mount's begin and end to the activation
simonklee Nov 15, 2026
9e478a1
fix(cli-rs): print the exit summary with escape sequences on
simonklee Nov 15, 2026
35f3c94
fix(cli-rs): list the palette's commands in the order of TS's layers
simonklee Nov 15, 2026
24a2bb6
fix(cli-rs): title an untitled session's tab and exit summary as TS does
simonklee Nov 15, 2026
fe0a4e1
test(cli-rs): type at once on start while the model list loads
simonklee Nov 15, 2026
12efccc
fix(cli-rs): index a mount's waiting requests by request and by mount
simonklee Nov 15, 2026
8066ff6
fix(cli-rs): keep what settles the JS host's work past a full overflow
simonklee Nov 15, 2026
e768c49
test(cli-rs): hold the ownership table's racing rows, and widen it
simonklee Nov 15, 2026
7fe8e2a
fix(cli-rs): never lose the hello that heads a new JS host's stream
simonklee Nov 15, 2026
e233391
fix(cli-rs): wake the host when the JS host's queue has room again
simonklee Nov 15, 2026
050931e
fix(cli-rs): settle the JS host's work by the frame it takes, and end…
simonklee Nov 15, 2026
c76395d
test(cli-rs): require the ownership table's control to close its mount
simonklee Nov 15, 2026
1b24206
fix(cli-rs): drop the input effects of a mount's call once it closed
simonklee Nov 15, 2026
731e612
fix(cli-rs): size each message for the JS host once, as it enters the…
simonklee Nov 15, 2026
b690122
test(cli-rs): count a full queue's wake from before the refusal
simonklee Nov 15, 2026
d5fac81
test(cli-rs): drive bracket labels and backslash escapes against TS
simonklee Nov 15, 2026
78d3c22
test(cli-rs): drive the overflowing /plugins list in both designs
simonklee Nov 15, 2026
dabb846
test(cli-rs): drive the DevTools bar on the run-time channel
simonklee Nov 15, 2026
449444c
feat(cli-rs): draw the Go upsell art behind the free-limit dialog
simonklee Nov 15, 2026
0dce329
test(cli-rs): check that the Go upsell art moves while animations run
simonklee Nov 15, 2026
f7c2d63
test(cli-rs): type the D131 fake server's route callbacks
simonklee Nov 15, 2026
7a5d5aa
fix(cli-rs): judge a plugin call's overrun by its CPU time
simonklee Nov 15, 2026
02bb37f
fix(cli-rs): keep printable global plugin binds out of text inputs
simonklee Nov 15, 2026
3a20d04
fix(cli-rs): tell the user which TypeScript plugins are not loaded
simonklee Nov 15, 2026
29e1cb4
fix(cli-rs): say when plugin add adds a TUI plugin opencode-native skips
simonklee Nov 15, 2026
3b37545
fix(cli-rs): answer a load or a snapshot the JS host's queue refuses
simonklee Nov 15, 2026
9111ff5
fix(cli-rs): drop a closed mount's move of the transcript
simonklee Nov 15, 2026
16d85c7
refactor(cli-rs): decode each API union in one non-generic function
simonklee Nov 15, 2026
b641eb6
refactor(cli-rs): run a plugin call and a native read in one copy
simonklee Nov 15, 2026
3362c5b
fix(cli-rs): read the sim's fixed clock in three Date.now helpers
simonklee Nov 15, 2026
fe40cb4
chore(cli-rs): deny the shared lints the client already passes
simonklee Nov 15, 2026
d3ae28b
fix(cli-rs): log the thread spawns whose failure was dropped
simonklee Nov 15, 2026
931d19d
fix(cli-rs): redact the service password and IDE token in Debug
simonklee Nov 15, 2026
0419427
chore(cli-rs): check licences, sources and advisories with cargo deny
simonklee Nov 15, 2026
11951d6
fix(cli-rs): give back a read's charge when the overflow refuses it
simonklee Nov 15, 2026
8b12259
fix(cli-rs): expire the leader sequence from the keymap's pending change
simonklee Nov 16, 2026
d5dfb62
fix(cli-rs): resolve a staged plugin's relative imports once (FT-3)
simonklee Nov 15, 2026
4fd60f9
fix(cli-rs): pass the terminal's identity to the JS host (FT-8)
simonklee Nov 15, 2026
be7e135
fix(cli-rs): refresh a JS plugin's reads when the host's data changes…
simonklee Nov 15, 2026
aafdd3b
fix(cli-rs): list a V2 select's rows by the plugin's own search (FT-12)
simonklee Nov 15, 2026
11bea40
fix(cli-rs): export every OpenTUI name and renderer method to V2 plug…
simonklee Nov 15, 2026
f472d2d
fix(cli-rs): let a V2 plugin hold 128 stores and reads without churn …
simonklee Nov 15, 2026
1634c60
fix(cli-rs): keep a JS plugin's dialog open across a reload that hand…
simonklee Nov 15, 2026
3e80d42
fix(cli-rs): count no JS host silence while the host holds its trees …
simonklee Nov 15, 2026
92816a9
fix(cli-rs): walk TypeScript plugin trees off the UI thread (FT-2)
simonklee Nov 15, 2026
8cfdfd0
fix(cli-rs): size a V2 select by the dialog.set that follows it
simonklee Nov 16, 2026
4d35964
feat(cli-rs): load TUI plugins named by npm package from TS's package…
simonklee Nov 16, 2026
b3f0c82
fix(cli-rs): say plugin add's package loads on the JS host only while…
simonklee Nov 16, 2026
f978f05
test(cli-rs): load one pinned package from one npm cache on both side…
simonklee Nov 16, 2026
9f4a23f
fix(cli-rs): hold a server plugin's TUI part inside the project for a…
simonklee Nov 16, 2026
d54b6ca
fix(cli-rs): hash and stage an approved TS plugin off the UI thread
simonklee Nov 16, 2026
1495f33
fix(cli-rs): keep the composer's open list open across a remount
simonklee Nov 16, 2026
3324361
test(cli-rs): approve a project's server part through the async decide
simonklee Nov 16, 2026
f1a58bb
fix(cli-rs): hand the open list's mode on across a remount
simonklee Nov 16, 2026
1572b42
fix(cli-rs): drop an approval answer a later one superseded
simonklee Nov 16, 2026
3c1e8e5
fix(cli-rs): show a server error's message alone in TUI toasts
simonklee Nov 16, 2026
1a88e0c
fix(cli-rs): hold server TUI parts the user's own configuration does …
simonklee Nov 16, 2026
2ca3602
fix(cli-rs): load a TS plugin's TUI module only from its own files
simonklee Nov 16, 2026
4a9dcff
fix(cli-rs): keep npm cache lookups inside the cache and key specs as…
simonklee Nov 16, 2026
128e1b0
test(cli-rs): save after the approved copy's load is sent, not before…
simonklee Nov 16, 2026
a5750d6
test(cli-rs): run nothing when a save lands before the approved copy
simonklee Nov 16, 2026
24addab
fix(cli-rs): toast a failed transcript read with its message alone
simonklee Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ packages/protocol/openapi.json linguist-generated
packages/client/src/promise/generated/** linguist-generated
packages/client/src/effect/generated/** linguist-generated
packages/client/src/effect/api/** linguist-generated
# cli-rs: parity recordings and the files `script/gen` writes.
packages/cli-rs/parity/fixtures/** linguist-generated
packages/cli-rs/assets/queries/** linguist-generated
packages/cli-rs/crates/acp/src/permission/structured_patch.json linguist-generated
packages/cli-rs/crates/api-types/src/types.rs linguist-generated
packages/cli-rs/crates/api/src/generated/** linguist-generated
packages/cli-rs/crates/cli/src/run/mime.rs linguist-generated
packages/cli-rs/crates/cli/tests/fixtures/** linguist-generated
packages/cli-rs/crates/local/src/generated/** linguist-generated
packages/cli-rs/crates/mermaid/src/core/entities.rs linguist-generated
packages/cli-rs/crates/mermaid/src/core/wide.rs linguist-generated
packages/cli-rs/crates/ui/src/fuzzy/accents.rs linguist-generated
packages/cli-rs/crates/ui/src/keymap/generated.rs linguist-generated
packages/cli-rs/crates/ui/src/theme/generated/** linguist-generated
packages/cli-rs/crates/util/fixtures/time.tsv linguist-generated
packages/core/src/**/*.txt text eol=lf
packages/httpapi-codegen/test/generated/*.ts text eol=lf
# The site tests compare source text and humans.txt byte for byte, so Windows checkouts keep LF.
Expand Down
1 change: 1 addition & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@
"**/.sst",
"**/*.d.ts",
"**/sdk.gen.ts",
"packages/cli-rs/**",
"packages/plugins/figma/skills/**",
".agent/**",
".agents/**",
Expand Down
18 changes: 18 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/cli-rs/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Native OpenTUI artifacts whose opentui.h matches the bindings at the client's OpenTUI `rev`. Each pin has its own
# directory, named by the short `rev`, so a re-pin does not swap the library under another branch's build. Fill it with
# native-hardening's `abi-artifacts.py --client <Cargo.toml> --dest <that directory>`. A value set in the shell wins.
[env]
OPENTUI_LIB_DIR = { value = "/home/simon/.cache/opentui-native/e477ffa3a/x86_64-linux", force = false }
2 changes: 2 additions & 0 deletions packages/cli-rs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
/parity/out
61 changes: 61 additions & 0 deletions packages/cli-rs/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# cli-rs

The OpenCode native CLI (command `opencode-native`), on OpenTUI's Rust crates. Rename only user-facing names
(decision O-114); crates, this directory and `OPENCODE_RS_*` test variables keep their names. The plan and decisions live outside this repository, in
`/home/simon/src/opendocs/oc-rust/plan.md` and `decisions.md`. The root `AGENTS.md` applies too.

## Running cargo

- Cargo reads `.cargo/config.toml` from the current directory, not from `--manifest-path`, and
`cargo -C` is unstable. Without that config `opentui-sys` fails with "set OPENTUI_LIB_DIR". Run
cargo through the package script, which runs in this directory:
`bun run --cwd packages/cli-rs cargo check -p opencode-api`.
- opentui comes from `packages/rust` of `anomalyco/opentui`, pinned by git `rev` in `Cargo.toml` and linked
statically. That checkout has no native library: `.cargo/config.toml` points `OPENTUI_LIB_DIR` at the pin's own
directory, `~/.cache/opentui-native/<short rev>/x86_64-linux`, which
`/home/simon/src/opendocs/native-hardening/tools/abi-artifacts.py --client <Cargo.toml> --dest <that directory>`
fills with the artifacts whose `opentui.h` matches the bindings at that `rev`. When the build fails with the
header hash message, rerun it. A shell `OPENTUI_LIB_DIR` wins over the config.
- A change to OpenTUI's Rust crates is a pull request into `packages/rust` of `anomalyco/opentui`. A re-pin fills the
new `rev`'s directory with `abi-artifacts.py` first, then commits the new `rev` with its `Cargo.lock` and the new
directory in `.cargo/config.toml`. Other pins' directories stay, so branches on them keep building. The `rev` may name the head of an
open pull request; re-pin to the merge commit on `main` once it merges.

## Checks

Fast checks only, scoped with `-p` to the crates a step touches: `cargo fmt --check`, `cargo check`,
`cargo clippy --all-targets -- -D warnings`, and `cargo test`. Add one targeted parity scenario and single
TypeScript test files. No root `bun run check`, no full Bun suites, no OpenTUI `packages/rust/test.sh`, no
OpenTUI suites, no benchmarks. Put `timeout` on anything that could hang.

Run `cargo fmt` before every final commit; `cargo fmt --check` must be clean. `rustfmt.toml` matches OpenTUI's
`packages/rust/rustfmt.toml`.

The integration tests of `opencode-tui` and `opencode-ui` link the static OpenTUI set, so each crate
has one test binary, `tests/all/main.rs`, with one module per area and the shared helpers under
`tests/all/support`. Add a new test file there as a module, not as a new `tests/*.rs`. Run one area
with `cargo test -p opencode-tui --test all <module>::`, the unit tests with `--lib`.

## Ownership

- Each step owns the files plan 8.4 lists. `lib.rs` of `api`, `local`, `service`, `store`, and `ui`
already declares every module, each a stub file naming its step; fill your stubs and leave other
steps' files alone.
- Third-party crates are declared once in the root `[workspace.dependencies]`. A crate takes one with
`name.workspace = true`. `Cargo.lock`, crate `[dependencies]`, and `bun.lock` are shared and resolved
by rebase.

## Rules

- Deviations from the TypeScript client go in `parity/deviations/<row>-<slug>.md`: the TypeScript
behavior, the Rust behavior, and the reason. A difference without a file is a failure.
- OpenTUI handles are not `Send`. Network work runs on tokio through `App::spawn`; never block the
UI thread.
- Every queue between tasks and the UI is bounded.
- Where the TypeScript TUI uses `flexGrow`, use `grow().basis(Length::Auto)`: OpenTUI's `grow()`
alone sets basis 0, which lays out differently.
- Generated files are committed; regenerate with `bun run --cwd packages/cli-rs generate`, which runs
every `script/gen/*.ts`. Parity fixtures regenerate with `bun run --cwd packages/cli-rs fixtures`.
`bun run --cwd packages/cli-rs check:drift` reruns the generators and fixture oracles and fails on any
change. `OPENCODE_RS_REQUIRE_TS=1` makes the live TypeScript interop tests fail instead of skip
without bun or `node_modules`.
Loading
Loading