Skip to content

chore(release): 3.0.1 metadata only - #5

Merged
nicourrutia98 merged 1 commit into
masterfrom
release/3.0.1
Jul 23, 2026
Merged

nicourrutia98 merged 1 commit into
masterfrom
release/3.0.1

Conversation

@nicourrutia98

Copy link
Copy Markdown
Contributor

Summary

OCAIS 3.0.1 is a metadata-only patch release:

  • package.json: zod moved from peerDependencies (optional) to dependencies (direct). generateObject() always requires Zod; making it a direct dependency gives consumers deterministic install behavior. Zero runtime behavior change.
  • README: install path updated to
    pm install @opitacode/ocais\ (the package is on the npm registry since 2026-07-09). New "Peer dependencies" table after Quickstart. Removed a stale mention of \streamTextWithEvents\ (not yet implemented).
  • CHANGELOG: ## [3.0.1]\ block added at top.
  • docs/peer-deps.md: new operator-facing reference table (auto-installs, when-needed, install commands).

What is NOT in this PR

Robust test rewrite for previously-untested modules (\�uth/password, \providers/openai-compatible, \providers/google, \lambda/sse-writer) is intentionally deferred to 3.1.0.

Those modules remain untested in this release. Operators depending on them should not upgrade to 3.0.1; await 3.1.0 which will include:

  • Real API fixtures (captured from DeepSeek + Gemini) replayed through the providers' parsers.
  • Property-based test generation for tool-call incremental accumulation.
  • SSE round-trip (writer → miniparser → structural equality).
  • Argon2 mocked for password roundtrip without native deps.
  • Mutation-style sanity (testing the tests).

See spec 434 in dark-memory for the full 3.1.0 plan.

Verification

  • \git diff master -- src/\ returns zero lines (zero public TypeScript export change).

  • pm test\ 132/132 pass, 0 fail, 0 skipped (no test deletions, no test additions).

  • pm run typecheck\ clean (exit 0).

  • pm pack --dry-run\ produces 75-file tarball (match 3.0.0; tests excluded by \ sconfig.json).

Test plan post-merge


  • pm view @opitacode/ocais dist-tags\ should return {"latest":"3.0.1"}\ after publish +
    pm dist-tag rm @opitacode/ocais beta\ cleanup.
  • Smoke test:
    pm install @opitacode/ocais@3.0.1 && node -e "import('@opitacode/ocais/auth').then(m => console.log(Object.keys(m).length))"\ should print \49.

- package.json: zod moved from optional peer to direct dep (deterministic install for generateObject)
- README: install path updated to npm registry; peer-deps table added; streamTextWithEvents mention removed
- CHANGELOG: 3.0.1 entry
- docs/peer-deps.md: new operator-facing reference

Public TypeScript surface unchanged (verified: git diff master -- src/ = empty).
Tests unchanged: 132 pass on the 11 existing test files; no new test files added in this patch.

Robust test rewrite for previously-untested modules (auth/password, providers/openai, providers/google, lambda/sse-writer) is deferred to 3.1.0 per the cascade plan in spec 434. Those modules remain untested in this release; operators depending on them should not upgrade until 3.1.0 ships.
@nicourrutia98
nicourrutia98 merged commit dea133c into master Jul 23, 2026
1 check passed
@nicourrutia98
nicourrutia98 deleted the release/3.0.1 branch July 23, 2026 15:06
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