Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
276 commits
Select commit Hold shift + click to select a range
2728666
test: measure which endpoint families the gateway serves
claude Oct 24, 2026
4c491fe
Merge branch 'claude/vigilant-mendel-bctz9n-p-r1' into p-r2
claude Oct 24, 2026
1c11d22
feat: Settings offers the catalog's models pi does not list
claude Oct 24, 2026
8c04672
test: restructure the suite
claude Oct 25, 2026
2ebaffc
chore: refresh the generated catalog and limits tables
claude Oct 26, 2026
d51a3e6
test: skip free models the gateway has withdrawn in the live suite
claude Oct 26, 2026
409b5e1
fix: address the second review of P-T1b
claude Oct 26, 2026
aec8c1a
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into p-h
claude Oct 26, 2026
0dd1b9c
Merge branch 'claude/vigilant-mendel-bctz9n' into p1a
claude Oct 26, 2026
1f5ed90
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into p1b
claude Oct 26, 2026
05faa93
Merge branch 'claude/vigilant-mendel-bctz9n-p1b' into p2
claude Oct 26, 2026
73db37b
Merge branch 'claude/vigilant-mendel-bctz9n-p2' into p-t1a
claude Oct 26, 2026
9f7e8e2
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1a' into p-t1b
claude Oct 26, 2026
1f48272
test: follow the vendor catalog refresh
claude Oct 26, 2026
3cfacd9
fix: address the second review of P-H
claude Oct 26, 2026
bffd3a4
Merge branch 'claude/vigilant-mendel-bctz9n-p-h' into p-r1
claude Oct 26, 2026
8ab5d65
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into p-h
claude Oct 26, 2026
25dc182
Merge branch 'claude/vigilant-mendel-bctz9n-p-h' into p-r1
claude Oct 26, 2026
9cf8372
test: follow the vendor catalog refresh
claude Oct 26, 2026
0cceb81
fix: address the second review of P-R1
claude Oct 27, 2026
9f694bf
Merge branch 'claude/vigilant-mendel-bctz9n-p-r1' into p-r2
claude Oct 27, 2026
059236a
ci: gate freshness only on a pull request's own generator changes
claude Oct 27, 2026
d13cbe2
chore: refresh the generated catalog after Zen retired deepseek-v4-flash
claude Oct 27, 2026
32f2d71
Merge branch 'claude/vigilant-mendel-bctz9n' into claude/vigilant-men…
claude Oct 27, 2026
64c8acc
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into claude/vigilant…
claude Oct 27, 2026
6988e7a
Merge branch 'claude/vigilant-mendel-bctz9n-p1b' into claude/vigilant…
claude Oct 27, 2026
aba2c4a
Merge branch 'claude/vigilant-mendel-bctz9n-p2' into claude/vigilant-…
claude Oct 27, 2026
c6d8965
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1a' into claude/vigila…
claude Oct 27, 2026
c6077be
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into claude/vigila…
claude Oct 27, 2026
3d7cb38
test: give the freshness walk's dynamic import a script-local target
claude Oct 27, 2026
e4aa0c9
Merge branch 'claude/vigilant-mendel-bctz9n' into claude/vigilant-men…
claude Oct 27, 2026
94c3a22
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into claude/vigilant…
claude Oct 27, 2026
14c1544
Merge branch 'claude/vigilant-mendel-bctz9n-p1b' into claude/vigilant…
claude Oct 27, 2026
8ee4245
Merge branch 'claude/vigilant-mendel-bctz9n-p2' into claude/vigilant-…
claude Oct 27, 2026
5133c0c
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1a' into claude/vigila…
claude Oct 27, 2026
b518061
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into claude/vigila…
claude Oct 27, 2026
3ccd70c
fix: address the second review of P-R2
claude Oct 27, 2026
79d0036
Merge branch 'claude/vigilant-mendel-bctz9n-p-r2' into p3
claude Oct 27, 2026
29b43ca
chore: refresh the generated catalog after Zen retired deepseek-v4-flash
claude Oct 27, 2026
4891c07
test: follow the vendor catalog refresh
claude Oct 27, 2026
4dbd22e
fix: send Google's thinking level to Gemini models the catalog gives …
claude Oct 27, 2026
d8821f0
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Oct 27, 2026
dec00c8
docs: correct the Go shape count, the README date and the install range
claude Oct 27, 2026
be649da
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Oct 27, 2026
d16a600
docs: date the refreshed model count and correct three stale figures
claude Oct 27, 2026
f8a4af3
Merge branch 'claude/vigilant-mendel-bctz9n' into claude/vigilant-men…
claude Oct 27, 2026
cb3cdda
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into claude/vigilant…
claude Oct 27, 2026
3d461c2
Merge branch 'claude/vigilant-mendel-bctz9n-p1b' into claude/vigilant…
claude Oct 27, 2026
659b0f3
Merge branch 'claude/vigilant-mendel-bctz9n-p2' into claude/vigilant-…
claude Oct 27, 2026
fa6a5bd
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1a' into claude/vigila…
claude Oct 27, 2026
c82fa3e
Merge branch 'claude/vigilant-mendel-bctz9n-p-t1b' into claude/vigila…
claude Oct 27, 2026
a583874
Merge branch 'claude/vigilant-mendel-bctz9n-p-h' into claude/vigilant…
claude Oct 27, 2026
72852fb
Merge branch 'claude/vigilant-mendel-bctz9n-p-r1' into claude/vigilan…
claude Oct 27, 2026
dbe995e
fix: address the second review of P3
claude Oct 27, 2026
3794482
Merge branch 'claude/vigilant-mendel-bctz9n-p3' into p-t2
claude Oct 27, 2026
c0ac147
chore: refresh the generated catalog after Zen retired deepseek-v4-flash
claude Oct 27, 2026
61e2c5d
docs: close the audit's remaining findings on P-R1
claude Oct 27, 2026
1c91312
Merge remote-tracking branch 'origin/main' into claude/vigilant-mende…
claude Nov 2, 2026
854a337
chore: follow the vendor's retirement of nemotron-3-ultra-free
claude Nov 2, 2026
b0f0bdc
test: walk past a model the gateway answers ModelDeprecated for
claude Nov 2, 2026
15e6236
test: install the plane-lookup world before each test
claude Nov 2, 2026
2454609
test(scripts): move the generated-table skip into the CLI-version rules
claude Nov 2, 2026
beae0ca
test(e2e): read an upstream's 400 "Model is unavailable" as a retirement
claude Nov 2, 2026
1d4aaab
docs(testing): describe the suite this branch keeps
claude Nov 2, 2026
4b0ebea
test(e2e): keep the free-tier case's narrowing in the subject picker
claude Nov 2, 2026
979ea27
chore(vendor): follow opencode 1.19.5
claude Nov 2, 2026
28fee8d
docs(plan): restack the plan onto 1.8.0 and the alpha host
claude Nov 2, 2026
8b9da84
build: raise the client bundle ceiling to 136 KB
claude Nov 2, 2026
281fc9f
docs: complete the restack of P0
claude Nov 2, 2026
6812723
docs: close the restack review of P0
claude Nov 2, 2026
7cd12d3
docs: hold the meter's allowance figures to the generated table
claude Nov 3, 2026
e3216d1
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n' i…
claude Nov 3, 2026
73d5465
style: lint and format the merged purge row and token test
claude Nov 3, 2026
2ecf689
fix: complete the restack of P1a
claude Nov 3, 2026
252d0f8
docs: state the measured meter-scan reasons and P1a's refusal test cases
claude Nov 3, 2026
bf5717b
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p1…
claude Nov 3, 2026
5e60c1b
test: one catalogue fixture, behind the one door
claude Nov 3, 2026
f3697a5
docs: describe debugFile by the gate main chose (D24)
claude Nov 3, 2026
074c834
style: satisfy main's promise lint in the retry test
claude Nov 3, 2026
19f05e6
docs(plan): record P1b's restack
claude Nov 3, 2026
8e9f36e
test: keep the fallback case's comment free of a model name
claude Nov 3, 2026
7136ca0
fix: complete the restack of P1b
claude Nov 3, 2026
786de90
docs: name the setup file in the door rule and count the fixture's en…
claude Nov 3, 2026
239d635
docs(plan): record the both-channel host question for P-T1a
claude Nov 3, 2026
bab4fc8
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p1…
claude Nov 3, 2026
521b98f
test: route main's new tests through the one door
claude Nov 3, 2026
737a49d
docs(testing): drop the wrapper forwarder P2 retires again
claude Nov 3, 2026
c15aca0
docs: stop the count sweep record asserting a superseded catalog
claude Nov 3, 2026
798ba2e
chore: refresh the generated catalog for pulse-alpha-free
claude Nov 3, 2026
749669c
Merge branch 'claude/vigilant-mendel-bctz9n' into claude/vigilant-men…
claude Nov 3, 2026
835c793
Merge branch 'claude/vigilant-mendel-bctz9n-p1a' into claude/vigilant…
claude Nov 3, 2026
0563db6
chore: merge the parent's catalog refresh into P2
claude Nov 3, 2026
394e892
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p2…
claude Nov 3, 2026
d65ed21
build: switch the dev install between the harness channels
claude Nov 3, 2026
f595d2d
test: fail if src reads what the desktop's patched pi changes
claude Nov 3, 2026
ea228a6
ci: run the unit and mock suites on both harness channels
claude Nov 3, 2026
90048d7
docs: record the both-channel, no-patch host policy
claude Nov 3, 2026
bcae61f
docs: keep the plan's D14'' row one table cell
claude Nov 3, 2026
44a6d5b
docs: complete the restack of P-T1a
claude Nov 3, 2026
bce1863
test: hold the relock's lockfile strip and name the channel switch's …
claude Nov 3, 2026
4679c1d
fix: report harness channel drift nightly and complete the restack of…
claude Nov 3, 2026
6310663
fix: keep Dependabot and the rc lockfile inside the channel-bump rule…
claude Nov 3, 2026
fb6a686
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 3, 2026
0101239
test: characterize the real host on both harness channels, newest and…
claude Nov 3, 2026
017adad
ci: boot each channel's published binary, as npm installs it and at t…
claude Nov 3, 2026
e1d775c
docs: describe the host cells and the per-channel binary e2e
claude Nov 3, 2026
4871d87
test: name the host cell each row and dispatch set belongs to
claude Nov 3, 2026
79ef58a
test: record the alpha host's broken save as a host limitation
claude Nov 3, 2026
8688046
fix: pin the e2e-host floor cell to the shipped tree and narrow its h…
claude Nov 4, 2026
c1fca83
fix: hold the cordis family to the declared range floors
claude Nov 4, 2026
ec38185
fix: hold the cordis family at the record's floors through a relock
claude Nov 4, 2026
011b99e
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 4, 2026
d001586
docs: pair the reload bullet in the Chinese README
claude Nov 4, 2026
ff2db1d
docs: retitle P-H as the fix it ships
claude Nov 4, 2026
58ba532
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 4, 2026
4a66384
fix: leave the Google thinking control to the host's pi
claude Nov 4, 2026
7ed93a7
fix: route by the plugin's own endpoint table, never pi's catalog
claude Nov 4, 2026
34d6959
fix: size undescribed models with pi-ai's own defaults, not a copy
claude Nov 4, 2026
fa53d8e
docs: cite both channels' host lines and correct the session header c…
claude Nov 4, 2026
db81e7e
test: size the adapter's toggle case through pi-ai's own Config
claude Nov 4, 2026
48776d2
test: hold every remote codec's two parser doors to one parser
claude Nov 4, 2026
0a165d6
test: record the floor's budget refusal in the dispatch cases
claude Nov 4, 2026
2701c88
test: record where the route claim cannot engage on the alpha npm host
claude Nov 4, 2026
76d11e0
fix: complete the restack of P-R1
claude Nov 4, 2026
8bb7b7f
docs: record the withdrawn thinking-level rewrite and finish the P-R1…
claude Nov 4, 2026
26d1e74
docs: complete the restack review of P-R1
claude Nov 4, 2026
7fec19d
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 4, 2026
53388e2
test(mock): the mock serves every dispatched request and no root one
claude Nov 4, 2026
67faee7
test: record the refusal, header and family shapes the community plug…
claude Nov 4, 2026
b9bff93
test: the dispatch derivation reads the root shape P-R2 probes
claude Nov 4, 2026
7322b8b
test: the endpoint-family pins use stand-in route defaults
claude Nov 4, 2026
6c4c643
fix: read ModelDeprecated as gone in every probe classifier and finis…
claude Nov 4, 2026
24fcf00
fix: name the session gate a capped free walk met, and close P-R2's p…
claude Nov 4, 2026
de9bfc0
Merge remote-tracking branch 'origin/claude/vigilant-mendel-bctz9n-p-…
claude Nov 4, 2026
da3dec9
docs: record what the restack changed for P3 in the plan
claude Nov 4, 2026
f006ce6
fix: offer Settings fetch's catalog complement only once the route cl…
claude Nov 4, 2026
38f19dc
test: a harness that is the real host
claude Nov 12, 2026
9cc5cd6
test: pin the host contracts for both internal/config call shapes
claude Nov 12, 2026
2db6e7b
test: re-measure the host cells on rc 0.2.2-rc.2 and alpha 0.2.2-alpha.3
claude Nov 12, 2026
d4723c2
test: pin the bridges' route-level api set per channel, and state bot…
claude Nov 12, 2026
0a000c5
docs: put P-T1b on main 1.9.2 and name the cores and owners the revie…
claude Nov 12, 2026
6786ee2
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-t1b (hist…
claude Nov 12, 2026
0b2cf31
fix: disabling or reloading the plugin restores the host methods it w…
claude Nov 12, 2026
bea5722
docs: cite the new cordis core for the shadow-method trap, and name t…
claude Nov 12, 2026
da01f95
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-h (histor…
claude Nov 12, 2026
57b0851
Merge origin/main (#168) into claude/vigilant-mendel-bctz9n-p-t1b
claude Nov 12, 2026
b1d8e29
Merge claude/vigilant-mendel-bctz9n-p-t1b (#110's head, with main #16…
claude Nov 12, 2026
e13848d
Merge origin/main (#110 squash) into claude/vigilant-mendel-bctz9n-p-h
claude Nov 12, 2026
d90f066
feat: the plugin owns the opencode and opencode-go routes
claude Nov 12, 2026
0ab3fa7
fix: the route claim speaks both internal/config call shapes
claude Nov 12, 2026
9ba2290
fix: plane profiles carry pi-ai's image bounds where pi-ai defines them
claude Nov 12, 2026
d4f6557
test: the binary e2e expects the claim on both host cores
claude Nov 12, 2026
5f82bd1
test: the route claim through a pi-ai row the loader removed first
claude Nov 12, 2026
bbd924d
docs: record the new host core and the claim on both shapes
claude Nov 12, 2026
aa70a43
fix: the route claim's re-append never throws into pi-ai's status emit
claude Nov 12, 2026
1f80a51
docs: mark P-T1b and P-H merged, and put P-R1 on main 1.9.2
claude Nov 12, 2026
0b6fc99
docs: the plan's summaries say P0 to P-H are merged
claude Nov 12, 2026
974b43a
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-r1 (histo…
claude Nov 12, 2026
b54b1de
test: measure which endpoint families the gateway serves
claude Nov 12, 2026
a706d44
docs: record P-R2's dispatch set re-measured on the new host core
claude Nov 12, 2026
af1de77
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-r2 (histo…
claude Nov 12, 2026
e04e719
Merge claude/vigilant-mendel-bctz9n-p-h (this PR's base) into claude/…
claude Nov 12, 2026
3eb8541
feat: Settings offers the catalog's models pi does not list
claude Nov 12, 2026
60f6552
test: the F21 restart case finds pi-ai's fiber by uid on the new core
claude Nov 12, 2026
c35e6a4
test: Settings' fetch follows the claim's engagement on the new core
claude Nov 12, 2026
40bb655
test: the binary e2e's Settings fetch rows run in every cell of both …
claude Nov 12, 2026
cbca50a
docs: P3's guard on the new core, and its e2e rows in every cell
claude Nov 12, 2026
6c172fe
test: name the pi versions host-discovery's capacity check is measure…
claude Nov 12, 2026
a7cb95a
test: drive Settings' fetch guard through states the host cores reach
claude Nov 13, 2026
33925ef
Merge origin/main (#170, #159) into claude/vigilant-mendel-bctz9n-p-r1
claude Nov 13, 2026
77f538b
fix: Settings' fetch answers the catalog through a handover's restart
claude Nov 13, 2026
96789b4
docs: the plan's patch-method section reads claiming() as the other r…
claude Nov 13, 2026
fdd1ec8
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p3 (history…
claude Nov 13, 2026
71dae39
docs: the plan's P3 rebase note counts four cases and says which chan…
claude Nov 13, 2026
8648541
test: restructure the suite
claude Nov 13, 2026
c3a715a
test: the route claim's stand-in models both cordis cores in one place
claude Nov 13, 2026
8a0cc97
docs: record P-T2's rebase onto P3 and where the new core's cases landed
claude Nov 13, 2026
d3be8ab
test: the refusal oracle classifies a 403 through the installed pi-ai
claude Nov 13, 2026
e18d5b5
test: the refusal oracle's control reads the probe's words, and logLi…
claude Nov 13, 2026
6fcd5b5
docs: place the route claim's stand-in in its support file and record…
claude Nov 13, 2026
11410fd
Merge the pre-rebase tip of claude/vigilant-mendel-bctz9n-p-t2 (histo…
claude Nov 13, 2026
5ecc037
fix: the route claim steps aside for a plane another plugin owns
claude Nov 13, 2026
e21f99d
docs: D27, and the routes OpenCode Console serves
claude Nov 13, 2026
6527780
fix: keep the plugin off every stepped-aside plane, by realm or marker
claude Nov 13, 2026
d63a24c
docs: D27 names the realm by what each context resolves, and covers t…
claude Nov 13, 2026
a1db1d2
fix: a live change of pi-ai's realm alone moves its planes, with one …
claude Nov 13, 2026
51f4626
fix: the purge never rewrites a plane entry another plugin owns
claude Nov 13, 2026
7052ab0
test: pin the step-aside's multi-row branches and the save check on a…
claude Nov 13, 2026
574604e
docs: D27 covers a realm-only live edit and the purge
claude Nov 13, 2026
140c9c9
fix: a live realm change on the plugin's own row or a group moves the…
claude Nov 13, 2026
3c85d97
fix: a marker saved beside a second pi-ai row releases the plane in t…
claude Nov 13, 2026
d58994b
test: perform the discovery and meter step-aside through the applied …
claude Nov 13, 2026
b2d5a86
docs: D27 covers every row's realm edit and the second-row release; t…
claude Nov 13, 2026
219263f
Merge claude/vigilant-mendel-bctz9n-p-r1 (D27 step-aside, main #170/#…
claude Nov 13, 2026
d563282
test: the endpoint setting never moves a plane another plugin owns
claude Nov 13, 2026
25c8c9e
Merge claude/vigilant-mendel-bctz9n-p-r2 (D27 step-aside, main #170/#…
claude Nov 13, 2026
c1d9e86
fix: Settings leaves a stepped-aside plane's list to pi-ai
claude Nov 13, 2026
8b2fa44
fix: Settings leaves a foreign-realm row's undeclared plane to pi-ai
claude Nov 13, 2026
b20bf4b
Merge claude/vigilant-mendel-bctz9n-p3 (D27 step-aside, main #170/#15…
claude Nov 13, 2026
340bf68
docs: record where D27's cases landed in P-T2's layout
claude Nov 13, 2026
5c3854b
chore: refresh the generated catalog and limits tables
github-actions[bot] Nov 13, 2026
586c6b8
chore: follow the catalog refresh through the docs and tests
claude Nov 13, 2026
7534edc
docs: point the routes module header at the per-SDK counts instead of…
claude Nov 13, 2026
ff2f0d6
docs: say where the per-SDK counts live without claiming a single copy
claude Nov 13, 2026
152d0c0
docs: replace the retired muse-spark-1.3-contributor-free id in both …
claude Nov 13, 2026
37bcf0c
Merge the catalog refresh (#171) into claude/vigilant-mendel-bctz9n-p-r1
claude Nov 13, 2026
ce889ef
chore: follow the catalog refresh through P-R1's tests and docs
claude Nov 13, 2026
65b8443
Merge claude/vigilant-mendel-bctz9n-p-r1 (catalog refresh #171) into …
claude Nov 13, 2026
285aeaf
Merge claude/vigilant-mendel-bctz9n-p-r2 (catalog refresh #171) into …
claude Nov 13, 2026
50ef6ab
Merge claude/vigilant-mendel-bctz9n-p3 (catalog refresh #171) into cl…
claude Nov 13, 2026
1e46ef7
ci: one setup, one unit run, and stricter scripts
claude Nov 14, 2026
5690400
Merge branch 'main' into p-t3
claude Nov 14, 2026
fd3a6bc
fix: report the gateway's refusals honestly
claude Nov 14, 2026
2c8e154
refactor: one installer for the remote services
claude Nov 14, 2026
cc9d484
Merge origin/main into p-t3
claude Nov 15, 2026
84feb50
fix: decide every README value of a host bump against the paragraph a…
claude Nov 15, 2026
17d6a50
test: name a pnpmfile among the build approvals the tokenless plan st…
claude Nov 15, 2026
7a41445
test: spawn the catalog scripts current and on a moved endpoint, and …
claude Nov 15, 2026
a787b5e
docs: name what enforces the client-bundle boundary, and P-T3's pull …
claude Nov 15, 2026
9911b30
test: find a root pnpmfile on disk and hold the global pnpmfile spell…
claude Nov 15, 2026
1e51e5d
Merge the re-reviewed p-t3 into p-r3
claude Nov 15, 2026
46175e3
test: tie each variant row's "no key" label to its keyed switch
claude Nov 16, 2026
42929dc
Merge the re-reviewed p-r3 into p5
claude Nov 16, 2026
bf01001
docs: record that P5's pins landed in its one change commit
claude Nov 16, 2026
ef74a26
Merge main (#177 toolchain bump, #178 refresh) into p-t3
claude Nov 16, 2026
0f97615
Merge p-t3 into p-r3
claude Nov 16, 2026
6c599a5
Merge p-r3 into p5
claude Nov 16, 2026
bf1b3b8
fix: narrow the typert peer to the request-headers seam
claude Nov 16, 2026
359ae87
refactor: one resolver for the fetch patch's credential fill
claude Nov 16, 2026
524e95a
revert: keep the typert peer range and state the seam's floor in the …
claude Nov 16, 2026
544c88a
docs: record the typert peer decision as taken for the owner in the P…
claude Nov 16, 2026
c424b21
docs: state what #163 did to the cordis peer, not an intent it never …
claude Nov 16, 2026
5749d91
chore: refresh the generated catalog and limits tables
github-actions[bot] Nov 16, 2026
997eb17
refactor: one source per table
claude Nov 16, 2026
ac8f34f
Merge branch 'claude/vigilant-mendel-bctz9n-p6' into p7
claude Nov 16, 2026
7ebbe83
chore: follow the catalog refresh through the docs and tests
claude Nov 16, 2026
beaf08b
test: stop saying the newest pi lists every Go catalog model
claude Nov 16, 2026
1ad8bd8
test: word the pi-gap comment so it depends on no host cell
claude Nov 16, 2026
f36e849
Merge main (#181 toolchain bump) and the catalog refresh (#182) into …
claude Nov 16, 2026
71316be
Merge claude/vigilant-mendel-bctz9n-p-t3 (main #181, refresh #182) in…
claude Nov 16, 2026
aa58754
Merge claude/vigilant-mendel-bctz9n-p-r3 (main #181, refresh #182) in…
claude Nov 16, 2026
0834b63
Merge claude/vigilant-mendel-bctz9n-p5 (main #181, refresh #182) into…
claude Nov 16, 2026
f5610db
Merge claude/vigilant-mendel-bctz9n-p6 (main #181, refresh #182) into…
claude Nov 16, 2026
121bd6d
Merge main (#180) into claude/vigilant-mendel-bctz9n-p7
claude Nov 16, 2026
e3c320d
refactor: one settings table drives schema, card and manifest
claude Nov 16, 2026
d1f7bf4
Merge branch 'claude/vigilant-mendel-bctz9n-p7' into p8
claude Nov 16, 2026
7e54c1b
Merge main (#183) into claude/vigilant-mendel-bctz9n-p8
claude Nov 16, 2026
f829dff
refactor: one remote seam
claude Nov 16, 2026
9d269b1
Merge branch 'claude/vigilant-mendel-bctz9n-p8' into p9
claude Nov 16, 2026
24e627d
Merge main (#184) into claude/vigilant-mendel-bctz9n-p9
claude Nov 16, 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
15 changes: 8 additions & 7 deletions AGENTS.md

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions docs/improvement-plan.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/opencode-parity-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To maintain long-term stability and prevent regressions, the codebase enforces s
┌────────────────────────────────────────────────────────────────────────┐
│ 1. Domain Models (Pure Types & Constants) │
│ • src/config-values.ts: Pure coercion readers & constants │
│ • src/usage-contract.ts: Quota reading envelopes & status enums │
│ • src/contracts/usage.ts: Quota reading envelopes & status enums │
│ • src/login-contract.ts: OAuth grant records & service codecs │
│ • src/catalog-data.ts: Static catalog schema definitions │
│ (Zero dependencies, shared safely across Host and Web Client) │
Expand Down
2 changes: 1 addition & 1 deletion docs/protocol-routing-and-merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ What belongs here is only the part that is a routing consequence: the meter is a
| Catalog merge | `models-catalog.ts`, `models-discovery.ts`, `catalog-data.ts` |
| Allowance table | `go-limits-data.ts` (generated) |
| Credentials and the `/usage` endpoint | `go-discovery.ts`, `key-capture.ts` |
| The usage Host service | `usage.ts`, `usage-contract.ts` |
| The usage Host service | `usage.ts`, `contracts/usage.ts` |
| Meter state / views / logic | `usage-pill.tsx`, `usage-panel.tsx`, `usage-ui.ts` |
| Settings card and its summary | `settings-card.tsx`, `settings-usage.tsx` |
13 changes: 12 additions & 1 deletion scripts/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,19 @@ try {
* style's rationale comment, which used to live in the host-only
* `session-cost.ts`. Source and its comments, not a dependency — the client
* measured 141010 bytes against the old line, from 139148 on the base.
*
* Raised 140 -> 146 KB when P9 gave the remotes one seam: the client now
* carries the contract builder (`src/contracts/remote.ts`, which derives every
* descriptor and codec), the one unwrap with its lookup and call
* (`findRemoteCall`, `unwrapRemote`, `callRemote` in `src/settings-remote.ts`)
* and the usage reading parser, replacing four hand-written unwraps and three
* descriptor literals. Source and its comments, not a dependency (the bundle
* still requires only react and the UI primitives) — the client measured
* 146953 bytes against the old line, from 143074 on the base. 146 rather
* than 144 keeps the ~3 KB of room this line is meant to have; at 144 the
* bundle sat under a kilobyte below it.
*/
const CLIENT_BUDGET = 140 * 1024;
const CLIENT_BUDGET = 146 * 1024;
const clientPath = join(ROOT, "lib/client.js");
if (existsSync(clientPath)) {
const clientStat = statSync(clientPath);
Expand Down
23 changes: 23 additions & 0 deletions src/contracts/all.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* Every remote contract this plugin defines, in one list.
*
* The client mounts them as ONE contribution (`patchRemote` in
* `src/settings-page.tsx`): Typert enforces a unique package name per
* contribution. A new remote is one `defineRemote`, one entry here, one
* `markRemote` on its service and one `installRemoteService` in
* `src/lifecycle.ts`. Kept apart from `remote.ts` so the builder imports none
* of the contracts it builds.
*
* @module dsh-opencode-patch/contracts/all
*/

import { purgeRemote } from "./purge.ts";
import { storeRemote } from "./store.ts";
import { usageRemote } from "./usage.ts";

/** Usage, purge, store: the order the client's descriptors have always had. */
export const REMOTE_CONTRACTS = [
usageRemote,
purgeRemote,
storeRemote,
] as const;
38 changes: 9 additions & 29 deletions src/purge-contract.ts → src/contracts/purge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
* rather than in either side means the two cannot drift, and the bundle rule
* (a client module reaches nothing host-only) is satisfied by construction.
*
* @module dsh-opencode-patch/purge-contract
* @module dsh-opencode-patch/contracts/purge
*/

import type {
RemoteResult,
TypertRemoteContribution,
} from "@deepseek-ai/dsh-typert-protocol";
import type { RemoteResult } from "@deepseek-ai/dsh-typert-protocol";

import { defineRemote, remoteValue } from "./remote.ts";

/**
* Where a retired model id was found.
Expand Down Expand Up @@ -93,38 +92,19 @@ export const parsePurgeResult = (value: unknown): PurgeResult | undefined => {
return { catalogRead, removed: rows };
};

/** The wire codec for one purge result, in the shape `usageCodec` uses. */
const purgeResultCodec = {
create: () => ({ parse: parsePurgeResult }),
mode: "strict" as const,
schema: { parse: parsePurgeResult },
typeSymbol: "dsh-opencode-patch#PurgeResult",
};

/**
* The purge namespace, as a contribution the client mounts.
*
* **Without a descriptor the namespace never reaches the browser.** The host
* mounts the Service and the card asks `remote.opencodeModelPurge.purge`; a
* Remote is only reachable when a contribution carrying its descriptor was
* mounted on the client, so the row reported "unavailable" for a host that had
* the service all along. Same shape as `usageRemote`, and the card mounts both
* under one package name.
* the service all along. Same builder as `usageRemote`, and the card mounts
* every contract under one package name (`REMOTE_CONTRACTS`).
*/
export const purgeRemote: TypertRemoteContribution = {
descriptors: [
{
id: "dsh-opencode-patch#opencodeModelPurge/purge",
invocation: { kind: "direct" },
method: "purge",
namespace: PURGE_NAMESPACE,
parameters: [],
result: purgeResultCodec,
service: PURGE_NAMESPACE,
},
],
package: "dsh-opencode-patch",
};
export const purgeRemote = defineRemote(PURGE_NAMESPACE, {
purge: { result: remoteValue("PurgeResult", parsePurgeResult) },
});

/** The one failure a purge reports: the profile cannot be rewritten here. */
export const PURGE_UNAVAILABLE = "opencode/purge-unavailable";
Expand Down
130 changes: 130 additions & 0 deletions src/contracts/remote.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
/**
* The one builder for this plugin's remote contracts, in a module both bundles
* may import.
*
* A contract is a namespace and its methods: each method's parameters and the
* value it answers, each value a parser. Everything the Typert gateway reads is
* DERIVED from that: the descriptors the client mounts (ids, the one wire name
* per parameter, `acceptsUndefined` on an optional one only), the codecs, and
* the method list the host's Remote marker carries (`markRemote` in
* `src/host/remote.ts`). They were three hand-written literals per remote, and
* a remote whose descriptor was missing reached the browser as "unavailable".
*
* Type-only imports from the protocol package, and nothing host-only, so the
* client bundle may load it.
*
* @module dsh-opencode-patch/contracts/remote
*/

import type {
InvocationDescriptor,
InvocationParameterDescriptor,
TypertRemoteContribution,
} from "@deepseek-ai/dsh-typert-protocol";

/** The npm package every descriptor id and codec type symbol is under. */
export const REMOTE_PACKAGE = "dsh-opencode-patch";

/**
* Parse one boundary value. A throw and an `undefined` answer both mean "not
* one": the purge and store parsers answer `undefined`, the usage parsers throw.
*/
export type RemoteParse<Value> = (value: unknown) => Value | undefined;

/** One wire codec, in the shape the gateway reads: one parser behind both doors. */
export interface RemoteValue<Value> {
readonly create: () => { readonly parse: RemoteParse<Value> };
readonly mode: "strict";
readonly schema: { readonly parse: RemoteParse<Value> };
readonly typeSymbol: string;
}

/**
* The codec for one value type.
*
* @param type - the type's name, under {@link REMOTE_PACKAGE}.
* @param parse - the contract's parser, behind both doors.
* @returns a fresh codec.
*/
export const remoteValue = <Value>(
type: string,
parse: RemoteParse<Value>
): RemoteValue<Value> => ({
create: () => ({ parse }),
mode: "strict",
schema: { parse },
typeSymbol: `${REMOTE_PACKAGE}#${type}`,
});

/** One parameter: its name (also its wire name) and its value. */
export interface RemoteParameter {
readonly name: string;
readonly value: RemoteValue<unknown>;
/** The whole argument may be absent on the wire. */
readonly optional?: true;
}

/** One method: its parameters, in order, and the value it answers. */
export interface RemoteMethod<Value> {
readonly parameters?: readonly RemoteParameter[];
readonly result: RemoteValue<Value>;
}

/** What a contract is, to a reader of its methods. */
export interface RemoteContractOf<
Methods extends Readonly<Record<string, RemoteMethod<unknown>>>,
> {
readonly namespace: string;
readonly methods: Methods;
}

/** A contract, and the contribution the client mounts for it. */
export interface DefinedRemote<
Methods extends Readonly<Record<string, RemoteMethod<unknown>>>,
>
extends RemoteContractOf<Methods>, TypertRemoteContribution {
readonly descriptors: readonly InvocationDescriptor[];
readonly package: typeof REMOTE_PACKAGE;
}

/** One parameter's descriptor; no `acceptsUndefined` key on a required one. */
const parameterDescriptor = ({
name,
optional,
value,
}: RemoteParameter): InvocationParameterDescriptor => ({
...(optional === true ? { acceptsUndefined: true } : {}),
codec: value,
name,
source: "json",
wire: name,
});

/**
* Define a remote: the namespace, and its methods in the order they are listed.
*
* @param namespace - the wire namespace, which is also the service key.
* @param methods - each method's parameters and result.
* @returns the contract, carrying its derived descriptors.
*/
export const defineRemote = <
const Methods extends Readonly<Record<string, RemoteMethod<unknown>>>,
>(
namespace: string,
methods: Methods
): DefinedRemote<Methods> => ({
descriptors: Object.entries<RemoteMethod<unknown>>(methods).map(
([method, { parameters = [], result }]): InvocationDescriptor => ({
id: `${REMOTE_PACKAGE}#${namespace}/${method}`,
invocation: { kind: "direct" },
method,
namespace,
parameters: parameters.map(parameterDescriptor),
result,
service: namespace,
})
),
methods,
namespace,
package: REMOTE_PACKAGE,
});
34 changes: 8 additions & 26 deletions src/opencode-store-contract.ts → src/contracts/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
*
* Pure data types, no I/O, no context, safely imported by host and client.
*
* @module dsh-opencode-patch/opencode-store-contract
* @module dsh-opencode-patch/contracts/store
*/

import type { TypertRemoteContribution } from "@deepseek-ai/dsh-typert-protocol";

import { isRecord } from "./utils/guards.ts";
import { isRecord } from "../utils/guards.ts";
import { defineRemote, remoteValue } from "./remote.ts";

export const STORE_NAMESPACE = "opencodeStore";

Expand Down Expand Up @@ -110,14 +109,6 @@ export const parseStoreInspection = (
};
};

/** The wire codec for one inspection, in the shape `usageCodec` uses. */
const storeInspectionCodec = {
create: () => ({ parse: parseStoreInspection }),
mode: "strict" as const,
schema: { parse: parseStoreInspection },
typeSymbol: "dsh-opencode-patch#OpencodeStoreInspection",
};

/**
* The store-inspection namespace, as a contribution the client mounts.
*
Expand All @@ -126,17 +117,8 @@ const storeInspectionCodec = {
* mounted on the client — the same finding `purgeRemote` records — and this one
* was not: the host mounted the service, and the row reported "unavailable".
*/
export const storeRemote: TypertRemoteContribution = {
descriptors: [
{
id: "dsh-opencode-patch#opencodeStore/inspect",
invocation: { kind: "direct" },
method: "inspect",
namespace: STORE_NAMESPACE,
parameters: [],
result: storeInspectionCodec,
service: STORE_NAMESPACE,
},
],
package: "dsh-opencode-patch",
};
export const storeRemote = defineRemote(STORE_NAMESPACE, {
inspect: {
result: remoteValue("OpencodeStoreInspection", parseStoreInspection),
},
});
Loading
Loading