Repository navigation
tdbin/codegen blocker fixes (#61 #62 #65 #71 #77 #60 #85), all code under src/, dependabot merges - #86
Merged
Conversation
--- updated-dependencies: - dependency-name: "@eslint/js" dependency-version: 10.0.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm - dependency-name: "@vitest/coverage-v8" dependency-version: 4.1.10 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm - dependency-name: eslint dependency-version: 10.6.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm - dependency-name: prettier dependency-version: 3.9.5 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: typescript-eslint dependency-version: 8.63.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: typescript dependency-version: 7.0.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm - dependency-name: vitest dependency-version: 4.1.10 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm - dependency-name: "@types/node" dependency-version: 26.1.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm - dependency-name: elkjs dependency-version: 0.11.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm - dependency-name: esbuild dependency-version: 0.28.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: happy-dom dependency-version: 20.10.6 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm - dependency-name: markdown-it dependency-version: 14.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@types/vscode" dependency-version: 1.125.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: "@vscode/test-electron" dependency-version: 3.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm - dependency-name: mocha dependency-version: 11.7.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm - dependency-name: pdfkit dependency-version: 0.19.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: marked dependency-version: 18.0.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: "@playwright/test" dependency-version: 1.61.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: concurrently dependency-version: 10.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm - dependency-name: monocart-coverage-reports dependency-version: 2.12.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm - dependency-name: tsx dependency-version: 4.23.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: typedoc dependency-version: 0.28.20 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm - dependency-name: typedoc-plugin-markdown dependency-version: 4.12.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm - dependency-name: vite dependency-version: 8.1.4 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.16 to 8.5.26. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.5.16...8.5.26) --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.26 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@humanfs/node](https://github.com/humanwhocodes/humanfs/tree/HEAD/packages/node) from 0.16.7 to 0.16.8. - [Release notes](https://github.com/humanwhocodes/humanfs/releases) - [Changelog](https://github.com/humanwhocodes/humanfs/blob/main/packages/node/CHANGELOG.md) - [Commits](https://github.com/humanwhocodes/humanfs/commits/node-v0.16.8/packages/node) --- updated-dependencies: - dependency-name: "@humanfs/node" dependency-version: 0.16.8 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.15 to 3.3.18. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/3.3.18/CHANGELOG.md) - [Commits](ai/nanoid@3.3.15...3.3.18) --- updated-dependencies: - dependency-name: nanoid dependency-version: 3.3.18 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.10 to 4.1.11. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.11/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.11 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps and [js-yaml](https://github.com/nodeca/js-yaml). These dependencies needed to be updated together. Updates `js-yaml` from 4.1.1 to 4.3.2 - [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md) - [Commits](nodeca/js-yaml@4.1.1...4.3.2) Updates `js-yaml` from 3.14.2 to 3.15.2 - [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md) - [Commits](nodeca/js-yaml@4.1.1...4.3.2) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.3.2 dependency-type: indirect - dependency-name: js-yaml dependency-version: 3.15.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.14 to 1.1.21. - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@v1.1.14...v1.1.21) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 1.1.21 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [shell-quote](https://github.com/ljharb/shell-quote) to 1.12.0 and updates ancestor dependency [concurrently](https://github.com/open-cli-tools/concurrently). These dependencies need to be updated together. Updates `shell-quote` from 1.8.4 to 1.12.0 - [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md) - [Commits](ljharb/shell-quote@v1.8.4...v1.12.0) Updates `concurrently` from 10.0.3 to 10.0.6 - [Release notes](https://github.com/open-cli-tools/concurrently/releases) - [Commits](open-cli-tools/concurrently@v10.0.3...v10.0.6) --- updated-dependencies: - dependency-name: shell-quote dependency-version: 1.12.0 dependency-type: indirect - dependency-name: concurrently dependency-version: 10.0.6 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [liquidjs](https://github.com/harttle/liquidjs) from 10.27.0 to 10.30.0. - [Release notes](https://github.com/harttle/liquidjs/releases) - [Changelog](https://github.com/harttle/liquidjs/blob/master/CHANGELOG.md) - [Commits](harttle/liquidjs@v10.27.0...v10.30.0) --- updated-dependencies: - dependency-name: liquidjs dependency-version: 10.30.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2. - [Release notes](https://github.com/7rulnik/source-map-js/releases) - [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md) - [Commits](7rulnik/source-map-js@v1.2.1...v1.2.2) --- updated-dependencies: - dependency-name: source-map-js dependency-version: 1.2.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.3.0 to 14.3.3. - [Changelog](https://github.com/markdown-it/markdown-it/blob/14.3.3/CHANGELOG.md) - [Commits](markdown-it/markdown-it@14.3.0...14.3.3) --- updated-dependencies: - dependency-name: markdown-it dependency-version: 14.3.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.1.4 to 8.3.5. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.3.5/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 8.3.5 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
…he real parser Lean 4 proof of encode/decode round-trip, injectivity and code-generation resolution, plus a 400-case seeded test through parse, resolve and decode.
…ers, tdbin column updates Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pansion-1.1.21' into chore/commit-outstanding
…node-0.16.8' into chore/commit-outstanding
…-10.30.0' into chore/commit-outstanding
…-it-14.3.3' into chore/commit-outstanding
…ebbb4833' into chore/commit-outstanding
…b330a867' into chore/commit-outstanding
….3.18' into chore/commit-outstanding
…3f5476' into chore/commit-outstanding # Conflicts: # package-lock.json # packages/typediagram/package.json # packages/vscode/package.json # packages/web/package.json
…8.5.26' into chore/commit-outstanding
…ap-js-1.2.2' into chore/commit-outstanding
….5' into chore/commit-outstanding # Conflicts: # package-lock.json
….1.11' into chore/commit-outstanding # Conflicts: # package-lock.json # packages/web/package.json
…te lockfile Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eFramed enforces it; base64 framed helpers (#85) [TDBIN-SCHEMA-HASH] [TDBIN-FRAME-BASE64] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… sideEffects:false; record 6.3KB gz bundle (#85) [TDBIN-TS-BUNDLE] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…docs/design Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…de rename round-trip (#71) [CONV-RUST-IDIOM] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#62) [CLI-TDBIN-LANG] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… byte identity (#62 #85) Also: module-wide serde derives (fixes uncompilable rust output when a renamed-field type contains other types), derived Default for bare-first unions, no ref patterns in enum ordinal matches. [TDBIN-TS-LIST] [TDBIN-TEST-GOLDEN] [CONV-RUST-IDIOM] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nder --watch (#65) [CLI-CONFIG-TDBIN] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nction types and positional records (#77) [CONV-DART-RECORD] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Crate metadata + README + runtime-only include; version inherited from the [workspace.package] the stamper now sets via smol-toml; idempotent cargo publish step (needs CARGO_REGISTRY_TOKEN secret). [TDBIN-RS-PUBLISH] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…across every converter (#85) [MODEL-WIDTH] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…lars, 2/4-byte lists (#85) [TDBIN-WIDTH-RANGE] [TDBIN-WIDTH-LIST] [TDBIN-WIDTH-PATH] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dentity; reorganise root/docs/scripts (#85) [TDBIN-WIDTH-RANGE] [TDBIN-WIDTH-LIST] [TDBIN-WIDTH-PATH] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, scripts); Rust workspace + eslint config into src/ Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- stamp-version default root resolved src/src/... (release-breaking); e2e now covers the no --root path - ratchet-coverage looked for src/coverage-thresholds.json - vitest coverage glob src/** also matched each package's test/ helpers - Playwright coverage collapsed web sources to bare names (0 files merged) - dependabot cargo directory -> /src - ratchet coverage thresholds; prettier docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
renderInspector replaced every input on each host source echo, wiping rejected or in-flight edits (flaky WEB-VISUAL-EDITOR mobile e2e). Inputs whose value differs from the rendered model value are restored, with focus, when the same declaration re-renders [EDITOR-INSPECTOR-PENDING]. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… identifiers Fields/variants named value, writer, reader, at, r, w, count, items, tdbin, ok (or x + xPresent pairs) produced uncompilable TS and Rust codecs. TS and Rust decoders now bind f0/f0Word/f0_present, column groups bind v0/f0, optional-group writes use <field>_some. New names.td fixture: TS round-trip test + cargo-compiled generated_names round-trip [TDBIN-CODEGEN-LOCALS] (#85). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Fixes for tdbin and codegen issues that block downstream apps, a repo restructure that moves all code under
src/, and merged Dependabot upgrades.Issues addressed are referenced only. Per repo policy they are closed after the next release's binaries are verified, not by this PR.
tdbin and codegen
verifyfails on the first union in a real schema #61: struct-form and multi-field tuple union variants now encode, through synthetic<Union><Variant>TdbinPayloadrecords, in both Rust and TS.List<T>, no scalarOption<T>,numbernotbigint#62:typediagram encode|verify --to typescript. The TS codec supports every layout-1List<T>.--configcannot emit tdbin outputs — codecs go stale under--watch#65: tdbin codecs can be--configoutputs and regenerate with the types under--watch.--to rustoutput is clippy-clean: module-wide derives,#[default], and snake_case fields with serde rename that round-trips.tdbinRust runtime crate — generated codecs reference a crate that exists nowhere #60: thetdbincrate is publishable and the release workflow runscargo publish. This needs theCARGO_REGISTRY_TOKENrepo secret.layoutHash, anddecodeFramedenforces it.typediagram-core/tdbin, and the package setssideEffects: false.I32,U8,U16,U32,U64,Size) andPathacross every converter. Encoders range-check them and use 2/4-byte lists.Repo layout
src/:typediagram,cli,web,vscode,tdbin,scripts, plus the Cargo workspace andeslint.config.mjs.Claude.mdare updated to match.stamp-versiondefault root resolvedsrc/src/…, which would have broken every release. The e2e test now covers the no---rootcall thatrelease.ymlmakes.ratchet-coveragelooked forsrc/coverage-thresholds.json.src/**also matched each package'stest/helpers./src.Other
Verification (local, same steps as CI)
prettier --checkandcargo fmt --checkpass.make lintpasses: typecheck, eslint, banned-deps, and clippy with-D warnings.make testpasses:Thresholds were ratcheted afterwards.
make buildand the bundle-size check pass.deslop .and the Shipwright manifest/version gates pass.Follow-ups (not in this PR)
--to dartemits ADTs with no serialization at all #68: Dart codec.--to kotlin) + Kotlin tdbin runtime — the JVM is the only major ecosystem missing #63: Kotlin target.encode/decodeignore generation config — codecs don't compile against configured field types #64.🤖 Generated with Claude Code