Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
1a568f9
Merge branch 'claude/vigilant-mendel-bctz9n-p2' into p-t1a
claude Oct 24, 2026
c7121a3
feat: the plugin owns the opencode and opencode-go routes
claude Oct 24, 2026
50d39f5
Merge branch 'claude/vigilant-mendel-bctz9n-p-h' into p-r1
claude Oct 24, 2026
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
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
5 changes: 3 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ Host bundle (`lib/index.mjs`), a thin `apply` barrel over small modules:
- `scripts/report-host-drift.ts` — the nightly harness-drift report (CI's `host-drift` job, schedule and dispatch only): reads the registry the way the records are defined (`dsh` as the newest build any dist-tag carries on the record's line, or a newer stable release under the tag the record names for its line graduating, `graduatesUnder`; pi's range, floor and newest, and every cordis-family member at the floor of the range the tagged cluster declares) and prints one `::warning::` per compared field that moved, exiting 0 whatever it finds, because a channel moving is the harness's release, not a regression. Its rules are `scripts/host-drift.ts` (`readChannel`, the one reading, and `hostDrift`, both pure), held by `test/host-drift.test.ts` with known answers and the job's evaluated condition, and its CLI by `test/mock/host-drift-cli.mock.ts` against a loopback registry (it binds a socket, so it is the mock suite's). The packument reads are `scripts/registry-view.ts`, shared with the proposal below.
- `scripts/propose-host-bump.ts` · `scripts/host-bump.ts` — the nightly bump proposal (the same job, schedule only): plans each channel from the report's own reading (`bumpPlan`: `current`; `blocked` on any unread answer; `waiting` while the new `dsh` or pi is inside pnpm's one-day release-age window, which it never lifts; `range` for a cut that opens a prerelease tuple the peer ranges do not admit, moves the bridge's pi range or sits under a dist-tag the record type does not admit; else `data`; a dist-tag moves only with `dsh`, so a plan is `current` exactly when the report has no line for it) and, with `--write`, moves CONTRIBUTING's release-step-3 data and nothing else — the record (`withRecord`), alpha's pins (`channelManifest`), the README pair's "today" sentences (`withReadmePolicy`, a value both channels share left for review unless both records move it to the same value), the root lockfile and the rc relock — for CI to push as `chore/host-bump`, dispatching the floor cells (with the keyed e2e tier off) when `piFloor` or a family field moved. Both lockfiles hold one pi, so a proposed pi move carries every record (`coupleSharedPi`: a channel waiting only on its own young cut takes a pi-only move when its recorded pi range admits it; one that cannot, a dsh-only proposal included, holds the pi move as `blocked`). It never edits a measured table, and runs no test: the proposed pull request's CI is the run. CI writes the plan in a step with no token in its environment (which holds because nothing approves a dependency build script, so the install runs none of the cut's code; `test/host-drift.test.ts` names an approval in every source the pinned pnpm reads, which are `pnpm-workspace.yaml`, a `PNPM_CONFIG_*` variable and a CLI flag in the step, the proposer or the rc relock, and a pnpmfile at the root or named by any of them, and in the older spellings pnpm 12 ignores), and a second step pushes it; **an open proposal is the reviewer's**: one with the same target (the marker line its body ends with, `bumpTarget`: every proposed record in full, never the title) is left alone, and a newer target rebuilds the branch only while every commit on it is the nightly's own, as author and as committer (only this repository's own branch is the proposal). `host-bump.ts` is pure (`test/host-bump.test.ts`), the text half of `--write` included (`applyBumpTexts`: every edit, each README plan checked against the other channel's record now and as proposed; the CLI only writes what it returns and runs the installs); the CLI runs against a loopback registry in `test/mock/host-drift-cli.mock.ts` (its `--out` files, the pi coupling, and on a scratch copy through `--root` a successful `--write`'s `files` list and a failed one's put-back); the two CI steps are executed with stub tools in `test/host-drift.test.ts`.
- `scripts/use-channel.ts` — switches the dev install: `rc` or `alpha` installs that channel's committed lockfile (unpatched pi at the newest version the bridge's range admits, what an npm user runs), and `--floor` the same cluster with pi at the range's floor, never committed. It restores every tracked file it touched, so a switch leaves no diff. Its pure half is `scripts/channel-manifest.ts` (`channelManifest`, `pinFor`, `workspaceWithPi`, and `withoutHostPackages`, the lockfile `rc --relock` starts from), held by `test/use-channel.test.ts`. A relock keeps the cordis family at the record's floors because `package.json` pins every member the install resolves (include, group and cosmokit too, which arrive transitively and would otherwise resolve to the newest patch inside their `~` ranges) and `pinFor` moves each with the channel. `rc --relock` belongs in the same commit as ANY change to `package.json`'s dependencies or `pnpm-workspace.yaml`'s catalog or overrides, not only a channel bump: the rc lockfile carries every specifier the root one does and CI installs it frozen, and `test/harness-channel.test.ts` fails, naming the command, when they disagree. Dependabot ignores the cluster and pi, which move only as a channel bump. **This repository carries no pi patch** (D14''): an npm install runs pi unpatched, the harness's patch reaches users only through the desktop app and touches nothing the plugin reads, and a version-keyed patch would break every pi bump. `test/architecture.test.ts` keeps it that way by failing if `src` ever reads a streamed tool-call delta, partial arguments or a thought signature.
- `src/config.ts` · `src/config-values.ts` · `src/utils/guards.ts` — the schema and its defaults; dependency-free readers and type guards. The client bundle may import these, and it does — along with the contract and presentation modules (`usage-contract.ts`, `settings-copy.ts`, `settings-fields.ts`, `usage-ui.ts`, `utils/usd.ts`, `utils/planes.ts` through `utils/request-shape.ts`, `opencode-store-contract.ts`). The rule is not a list of names: **the client may import a module that reaches nothing host-only** — no cordis context, no credential seam, no node built-in — and `test/architecture.test.ts`'s client-bundle block ("the client bundle reaches nothing host-only") is what enforces it: it walks the entry's import graph, and the unit suite fails the build rather than anyone having to remember. An earlier version of this line named two files as the only ones allowed, which the tree had already outgrown.
- `src/settings-table.ts` — the one field table: a row per setting (its kind, default, choice values, volatile flag and card group), from which `config.ts` derives the schema, the resolver, the config types, the defaults and the config-only list (`CONFIG_ONLY_FIELDS`), `settings-fields.ts` derives the card's field specs, `settings-copy.ts` checks the copy keys a card row implies, and `test/manifest.test.ts` holds `cordis.patch.yml`'s header to it (order, type labels, defaults, choice values). **Adding a setting is one row there plus its copy when the card shows it**, and a card row without its label, hint, option or group copy fails to compile. The schema descriptions and the config-only reasons are a second export, `SETTING_PROSE`, which only the host-side `config.ts` imports, so the bundler drops it from the page (`test/client-bundle.test.ts` pins that).
- `src/config.ts` · `src/config-values.ts` · `src/utils/guards.ts` — the schema, the resolver and their defaults, read off the table; dependency-free readers and type guards. `config.ts` is host-side: it imports schemastery, so the client imports the table and never the schema (`test/architecture.test.ts` checks the client graph never reaches it). The client bundle may import the other two, and it does — along with the contract and presentation modules (`usage-contract.ts`, `settings-copy.ts`, `settings-fields.ts`, `settings-table.ts`, `usage-ui.ts`, `utils/usd.ts`, `utils/planes.ts` through `utils/request-shape.ts`, `opencode-store-contract.ts`). The rule is not a list of names: **the client may import a module that reaches nothing host-only** — no cordis context, no credential seam, no node built-in — and `test/architecture.test.ts`'s client-bundle block ("the client bundle reaches nothing host-only") is what enforces it: it walks the entry's import graph, and the unit suite fails the build rather than anyone having to remember. An earlier version of this line named two files as the only ones allowed, which the tree had already outgrown.

## `src/utils/` — pure by construction, enforced by test

Expand Down Expand Up @@ -131,7 +132,7 @@ It is the same trick `test/architecture.test.ts` already uses for the client bun
- `src/opencode-store.ts` — reading the credentials an OpenCode installation already holds, through `node:sqlite`. Two rules shape it: nothing throws (a missing file, a foreign schema and `:memory:` all answer `undefined`), and a value never leaves the return value — no log line, no error message, no client bundle. `node:sqlite` is host-only, which is what keeps the module on the host side of the bundle rule. It is reached only through `resolveOpencodeStoreKey`, which is the last step of every key-source policy and is off unless `readOpencodeStore` is on. Its second reader, `inspectOpencodeStore`, answers the _other_ question — "is there a credential here, and whose is it?" — with a sanitized summary (email, org, kind, expiry) and never the token, which is what lets the settings card show the evidence beside the permission.
- **What the plugin page shows is `docs/detail.md`, not the README.** The page renders one document: the Markdown `meta.detail` in `locale/<language>.json` names, else the whole `README.md`. This package declared nothing for years, so its page carried 461 lines of engineering notes above the settings card. It now declares a page per language that is **one image and nothing else** — a UI preview of the card and the meter (`docs/media/preview.svg`, `.zh.svg`) — which is the shape the upstream plugins use, because the header above the card already carries the title and the one-sentence description. The image is served from the package, so `files` has to ship it (the detail-image route reads package-relative paths). `test/plugin-detail.test.ts` holds the contract: a declared detail in every locale, a path that exists AND is shipped, an image that does the same, and a page that is the picture and nothing else.
- `src/opencode-store-contract.ts` · `src/opencode-store-service.ts` — the inspection seam: the sanitized summary type both sides share, and the host service that produces it. The contract is pure data (no `node:`, no context), so the client bundle may import it; the service is the half that touches `node:sqlite` and the filesystem, and it rewrites the store path to `~`-relative before answering — a home directory is a fact about the machine, not about the plugin. `inspect` is declared through the `Object.defineProperty` marker rather than `@Remote`, for the reason `usage.ts` documents.
- **The login stack is not in this tree.** It lives on the `v2` bookmark, and the map used to describe it here for years after it left — nine modules a reader could not find. What this tree carries is the API-key path only; a login grant is the other half, and reviving it is a days-scale port rather than a rebase (`v2` is 163 commits behind, and its `src/index.ts` exports a module the tree no longer has). The settings copy still holds its strings, and `credentialOrg` is the one remnant with behaviour: a configured org is sent as `x-opencode-org-id`.
- **The login stack is not in this tree.** It lives on the `v2` bookmark, and the map used to describe it here for years after it left — nine modules a reader could not find. What this tree carries is the API-key path only; a login grant is the other half, and reviving it is a days-scale port rather than a rebase (`v2` is 163 commits behind, and its `src/index.ts` exports a module the tree no longer has). `credentialOrg` is the one remnant with behaviour: a configured org is sent as `x-opencode-org-id`.

- A timing dependency every remote shares, worth knowing before debugging a row that will not appear: the mount is an async `$mount` started in an effect, and the card reads `ctx.remote.<namespace>` SYNCHRONOUSLY when its injector builds the props. If the injector runs before the mount resolves, the service is not there yet and the surface renders nothing. More often the cause is a namespace with no client descriptor at all — the purge row and the store-inspection row each shipped that way — which `test/remote-contract.test.ts` now catches per method. Each caller reports an empty lookup (`no opencodeStore service on the remote`, `no opencodeGoUsage service on the remote`, with the keys the remote does expose), so the symptom is a console line rather than a blank. And since P5 the host services go with the plugin's last activation: a reload unloads before it applies again, which leaves a short window in which a call finds no active Remote method (the meter's poll retries; a purge click there reports the host's refusal), and disabling the plugin withdraws all three, including the `opencodeGoUsage` instance the sibling `dsh-opencode-go` account page reads.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Hovering the trigger explains its own number; clicking it opens the panel. The s

### Settings card — _Settings → Plugins → OpenCode Patch_

Nine controls in four sections — the decisions a user actually makes. Everything renders from the platform's own primitives (`Switch`, `Tag`, `Button`, host tokens), and every knob carries a hint plus a reset-to-default affordance.
Nine controls in four sections — the decisions a user actually makes. Everything renders from the platform's own primitives (`Switch`, `Tag`, `Button`, host tokens), and every knob carries a hint plus a reset-to-default affordance. A change takes effect the next time the plugin is applied (disable and re-enable it, or restart `dsh`), as the card says above its controls.

| Section | Control | Default | What it does |
| :-- | :-- | :-: | :-- |
Expand Down
8 changes: 4 additions & 4 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ npm install dsh-opencode-patch

**4. 重启 `dsh web`。** 宿主 bundle 只在启动时导入(`hmr root: []`),因此要重启才会加载 `lib/index.mjs`;客户端 UI 变更(`lib/client.js`)只需刷新浏览器。

完成——**OpenCode 补丁设置**卡片会出现在 _Settings → Plugins_ 下,一旦有 OpenCode 模型激活,计量表就会挂载到输入框停靠栏。
完成——**OpenCode 补丁**卡片会出现在 _Settings → Plugins_ 下,一旦有 OpenCode 模型激活,计量表就会挂载到输入框停靠栏。

---

Expand Down Expand Up @@ -215,13 +215,13 @@ Zen 的 provider 级 SDK 是 `@ai-sdk/openai-compatible`。models.dev **只在
| :-- | :-- | :-- |
| **计量表触发按钮** | 输入框停靠栏,模型选择器旁 | Go:圆环 + 该窗口的百分比。Zen:本会话消费额,**不画圆环** |
| **计量表面板** | 点击触发按钮 | 三个窗口、月度额度、本会话消耗、Zen 余额、操作链接 |
| **设置卡片** | _Settings → Plugins → OpenCode 补丁设置_ | 九个控件,上方另有一份实时 Go 用量摘要 |
| **设置卡片** | _Settings → Plugins → OpenCode 补丁_ | 九个控件,上方另有一份实时 Go 用量摘要 |

悬停触发按钮解释它自己的数字;点击打开面板。下面逐节展示每个界面,逐状态的行为见 [docs/quota-meter.zh-CN.md](./docs/quota-meter.zh-CN.md)。

### 设置卡片 — _Settings → Plugins → OpenCode 补丁设置_
### 设置卡片 — _Settings → Plugins → OpenCode 补丁_

四个分区共九个控件——都是用户真正会做出的决定。所有控件都基于平台自身的原语渲染(`Switch`、`Tag`、`Button`、宿主 token),每个配置项都带提示以及恢复默认的操作。
四个分区共九个控件——都是用户真正会做出的决定。所有控件都基于平台自身的原语渲染(`Switch`、`Tag`、`Button`、宿主 token),每个配置项都带提示以及恢复默认的操作。更改在插件下次应用时生效(停用后重新启用插件,或重启 `dsh`),卡片在控件上方也这样说明。

| 分区 | 控件 | 默认 | 作用 |
| :-- | :-- | :-: | :-- |
Expand Down
Loading
Loading