Skip to content

Upgrade @modernrelay/omnigraph to ^0.8.0#18

Merged
aaltshuler merged 2 commits into
mainfrom
sdk-0.8
Jul 7, 2026
Merged

Upgrade @modernrelay/omnigraph to ^0.8.0#18
aaltshuler merged 2 commits into
mainfrom
sdk-0.8

Conversation

@aaltshuler

@aaltshuler aaltshuler commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Prod (graph.modernrelay.ai) already serves 0.8.0; this brings the SDK to the matching line. The 0.8 type surface is nearly identical (health output gains internal_schema_version) and none of the facade's call paths changed shape — the diff is the two dependency declarations + lockfile.

Upstream bug still present in 0.8.0 (worth reporting): the SDK constructs ConflictError.mergeConflicts from body?.mergeConflicts, but the server sends snake_case merge_conflicts and error bodies are never camelized — so the field is always undefined. Our Client facade's raw-body fallback (from the branch-staging work) remains load-bearing.

Verified live: prod 0.8.0 (dev-graph notebook — all cells, ✓ valid notebook) and cross-line against a 0.7.1 local demo (read + write round-trip). Full suite green.

🤖 Generated with Claude Code

https://claude.ai/code/session_011TrhtF1SiJghJASMWECzBh

Greptile Summary

This PR upgrades the notebook packages to the OmniGraph 0.8 SDK line.

  • Updates @modernrelay/omnigraph to ^0.8.0 in the CLI and client packages.
  • Refreshes the lockfile to resolve OmniGraph 0.8.0.
  • Raises the workspace and published CLI Node requirement to >=22.
  • Updates contributor guidance to match the new Node requirement.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
package.json Raises the workspace Node engine requirement to >=22.
packages/cli/package.json Upgrades OmniGraph and aligns the published CLI Node engine requirement.
packages/client/package.json Upgrades the private client package to the OmniGraph 0.8 SDK line.
pnpm-lock.yaml Locks OmniGraph to 0.8.0 with its recorded Node engine requirement.
CLAUDE.md Updates workspace command guidance for Node >=22.

Reviews (2): Last reviewed commit: "Align the Node engine contract with the ..." | Re-trigger Greptile

Context used:

  • Context used - CLAUDE.md (source)

Prod (graph.modernrelay.ai) already serves 0.8.0. The SDK surface is
nearly identical (health gains internal_schema_version); none of the
facade's call paths changed shape.

Note: the SDK still reads camelCase `mergeConflicts` from an error body
the server sends as snake_case `merge_conflicts`, so ConflictError's
structured conflicts remain always-undefined in 0.8.0 — the raw-body
fallback in our Client facade stays load-bearing.

Verified live against prod 0.8.0 (dev-graph notebook, reads) and a
0.7.1 local demo (cross-line read+write round-trip).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011TrhtF1SiJghJASMWECzBh
Comment thread packages/cli/package.json
Comment thread packages/client/package.json
Greptile: @modernrelay/omnigraph@0.8.0 declares engines.node >=22 while
the workspace and published CLI still advertised >=20 — a Node 20
install could fail strict engine checks or hit 22-only runtime APIs.
The workspace root, the published CLI, and CLAUDE.md now all say >=22.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011TrhtF1SiJghJASMWECzBh
@aaltshuler aaltshuler merged commit 165ded9 into main Jul 7, 2026
2 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