Repository navigation
build: run on @cosyte/process and take the dev-toolchain moves - #101
Merged
Merged
Conversation
Script bodies delegate to cosyte-process 0.1.7, which owns tsup 9, vitest 5, eslint 10.14, prettier 3.9 and typescript 5.9.3. Also fast-check 4, vite 8, attw 0.18.5, setup-node 7.1.0 (supersedes #76), and the shared workflow callers move to workflows-2026-11-08-810a8affe9de, whose empty expect-unpublished-deps default the ci.yml comment now describes. Claude-Session: https://claude.ai/code/session_01MXLcW95gf97vs9RBU1YsXf
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.
We move cli onto the shared
@cosyte/processand take the dev-toolchain updates the other libraries took (EN10). This supersedes #76.Process
build,typecheck,lint,lint:fix,format,format:check,test,test:watchandtest:coverageare now exactlycosyte-process <verb>.check:processrunscosyte-process checkand is added to thedocumentsjob inci.yml.cosyte-process.config.jsonkeeps the old format coverage (examples/**/*.{ts,js,json,md}on top of the baseline). Lint uses the baseline globs, which equal the old ones.tsup,eslint,prettier,@vitest/coverage-v8,typescript(nothing imports the compiler API) and@cosyte/test-utils(declared but never imported: its runners are parser conformance and parser PHI-leak checks, and cli parses nothing itself).viteststays, pinned to 5.1.0, because the tests import it.typecheck:examplesandlint:examplesrun the tsc and eslint that process pins, throughscripts/process-tool.mjs(from ccda and x12).pack:docsiscosyte-process pack-docs;scripts/build-docs-artifacts.shis deleted. Both archives have the same members as before.versionkeepsscripts/sync-version.mjs(it writessrc/core/version.tsand the version indocs-content/installation.md, which process'ssync-versiondoes not) and ends withcosyte-process format.esbuild@>=0.27.3 <0.28.2-> 0.28.2, matching config's drift manifest.Updates
registry-urlhere, so the npm token change does not apply)Held:
@types/nodestays on 22..github/dependabot.ymlnow ignores its majors, and ignoresvitest, which moves only when process does.Workflows
workflows-2026-11-08-c0db8d8e5927toworkflows-2026-11-08-810a8affe9de. The only change between them is ci: defaultexpect-unpublished-depsto empty now that@cosyte/fhiris on npm .github#112, which empties theexpect-unpublished-depsdefault. Job ids and the other inputs are unchanged, so the required contexts are the same.ci.ymlcomment that called that default stale now says it is empty upstream, and what it used to be.The MCP SDK and the install matrix
tsup 9 keeps the SDK behind the launcher: in all four built bins the SDK appears only in
src/mcp/launch.ts's dynamicimport().test/absent-mcp-sdk.test.tspasses, andpnpm smokeruns both bins with the SDK hidden (exit 69, value-free line).scripts/release-install-gate.mjspasses. A clean-room install of the packed tarball withnpm install,npm install --omit=optional,npm install --legacy-peer-depsandpnpm addeach exits 0;cosyte --versionand HL7 parse work in all four, FHIR parse andconvert --to fhirwork in all but--omit=optional, where they andcosyte mcpexit 69, as in 0.1.6.Published files
The file list is the same apart from the renamed declaration chunk (
io-*.d.ts). Every.mjs,.cjsand source map is byte-identical tomain. The.d.tsfiles change: type-only exports sit in their ownexport type {}, andmcp.d.tsimportsCliCodeandRunDepsfrom./index.jsinstead of the chunk. A patch changeset records it.pnpm attwpasses.Gate
Run locally on Node 26.10 with pnpm 10.34.5, from a frozen install: typecheck, lint, format:check, phi-scan, test (665 passed, as on
main), test:coverage (same totals asmain), build, attw, smoke, typecheck:examples, lint:examples, examples, phi-scan:examples, fuzz, check:no-emdash, check:no-internal-refs, check:readme, check:claude-card, check:catalog, check:process. Theversionscript was run in a scratch worktree: it wrote 0.1.7 topackage.json,src/core/version.ts,docs-content/installation.mdandCHANGELOG.mdand left a formatted tree.https://claude.ai/code/session_01MXLcW95gf97vs9RBU1YsXf