Skip to content

dspy.ts 2.3.1: drop unused zod, runnable quick start, ruv.io metadata - #19

Merged
ruvnet merged 2 commits into
mainfrom
weaver/refresh-dspy-audit
Nov 9, 2026
Merged

ruvnet merged 2 commits into
mainfrom
weaver/refresh-dspy-audit

Conversation

@ruvnet

@ruvnet ruvnet commented Nov 9, 2026

Copy link
Copy Markdown
Owner

What

  • Remove zod from dependencies. No file in src/ imports it. Clean-install npm audit --omit=dev goes from 1 critical / 4 high to 1 critical / 2 high: the transitive zod now resolves to patched 4.6.7.
  • Fix the README quick start. The old snippet threw DummyLM not initialized and then Failed to parse LM response. The new one uses an offline stand-in LM, and it was run from a clean install of the packed tarball. Its real output is in the README.
  • Apply ADR-356 metadata: homepage https://ruv.io, 20 keywords and a supported-environments line.

Not fixed here (recorded as a blocker)

The tar critical and the node-gyp/cacache highs come through js-pytorch@0.7.2 → @eduardoleao052/gpu@2.19.0 → gl@8.1.6 → node-gyp@^10. gl has no newer release, and js-pytorch@1.0.0 ships without index.js, so its import fails. The fix is to make js-pytorch an optional peer that is loaded lazily, which changes behaviour for TorchLM users and belongs in a minor release.

Verification

  • build, typecheck: pass. Jest: 32/32 suites, 193/193 tests.
  • npm pack file list is identical to 2.3.0.
  • Clean install from the tarball: ESM import, CJS require and the quick start all work.

The owner has authorized autonomous merges for the weaver refresh lane. This PR merges only when CI on the head is green.

🤖 Generated with claude-flow

… start, ruv.io metadata

Co-Authored-By: claude-flow <ruv@ruv.net>
…tches the runner Node

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet
ruvnet merged commit 531d66b into main Nov 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant