Repository navigation
Conversation
The gate was red on a clean tree: the mock protocol fixtures are re-exported through one index deliberately, so tests import whichever wire protocol they exercise. That trips the barrel-file threshold (119 modules > 100); the file is a test fixture and splitting it would not change what loads. File-level disable with the reason inline.
- vite-plus 1.6.0 -> 1.7.0 (vitest stays at the 5.1.0 the runner bundles) - ultracite 8.3.1, es-module-lexer 3.0.5 - `scripts/use-channel.ts rc --relock` regenerated channels/rc/pnpm-lock.yaml: the channel-alignment test reads it against the new manifest, and it had drifted. - the @deepseek-ai harness fork family stays on its alpha line: cordis 4.1.0 / schemastery 3.19.0 produce a duplicate-fork type error at build time (TS2883, `Config` referencing `Schema` through a private path), so those are held until the host harness moves. Verified: release gate green - build, check, 2532 tests in 151 files, consumer tarball install/load. A transient ECONNRESET failed the consumer step once; the retry passed.
cordis 4.2 replaced the `root` context property with
`Symbol.for("cordis.root")`. The old name is not merely absent on the new
core: the context proxy resolves it as an undeclared service and throws
`cannot get property "root" without inject`, which failed the route claim at
activation. Read the root through `rootOfContext` in the route claim, the
remote-service mount, the capture store's per-root key and the purge realm,
trying the symbol first and falling back to the property for older cores.
0.2.3 also made `recordKeyFor` and `assertUsableApiKey` internal (derive the
record address locally; treat the check as optional), moved the bridge's
per-image cap to `requestImageBudgetCount` with an input-only
`requestImageMaxBytes` (follow whichever fields the installed `Config`
filled), and now accepts a route-level `api: google-generative-ai`.
Bump the records to alpha `0.2.3-alpha.2` (cordis `4.2.0-alpha.1`) and rc
`0.2.2-rc.5`, pi `1.6.0`, with both lockfiles relocked, peer ranges widened,
the measured catalog tables re-measured, and both READMEs updated.
Verified on both channels: check, unit suite (2,542 passed, 1 skipped),
coverage ratchet, mock suite (120), build and the bundle gate.
The binary e2e creates its temporary HOME under `/tmp`, a symlink to `/private/tmp` on macOS. The profile's relative `link:` dependencies then resolve through the symlink and miss the checkout, and the run fails at `dsh plugin … install`. Point `TMPDIR` under the checkout so both share one real root. Verified on both channels against the real host binary: alpha 0.2.3-alpha.2 / cordis 4.2.0-alpha.1 and rc 0.2.2-rc.5 / cordis 4.1.0, 15 rows passed and the two conditional host-limitation rows skipped on each.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Activating the plugin on the latest alpha fails:
cordis 4.2 (
@deepseek-ai/cordis@4.2.0-alpha.1, shipped bydsh@0.2.3-alpha.2) replaced thectx.rootproperty withctx[Symbol.for("cordis.root")]. On a plugin fiber the old name is notundefined: the context proxy resolves it as an undeclared service and throws. The route claim read it before registering anything, so the whole plugin failed to activate.Changes
rootOfContext(src/cordis-context.ts): the symbol first, the property as a fallback for cordis 4.1 and older. Used by the route claim, the remote-service mount, the capture store's per-root key and the purge realm.llm-pi-ai/<route>credential address locally (recordKeyForis internal now), treatassertUsableApiKeyas optional, resolve the per-image cap from whichever fields the installedConfigfilled (requestImageBudgetCount, or the input-onlyrequestImageMaxBytes), and accept a route-level Googleapi.0.2.3-alpha.2(cordis4.2.0-alpha.1) and rc0.2.2-rc.5, pi1.6.0; relock both lockfiles, widen the peer ranges, re-measure the pi 1.6.0 catalog tables, and update both READMEs. Supersedes the nightly bump proposal build: propose @deepseek-ai/dsh 0.2.3-alpha.2 for alpha (peer range change, needs review) #195.TMPDIRworkaround for the local binary e2e.Verification
On both channel installs (alpha and rc):
pnpm run checkpnpm run buildandscripts/check.tsconsumer install/load