Skip to content

release: SDK 0.6.1 — sync to engine v0.6.1 (stored-queries support)#11

Merged
aaltshuler merged 2 commits into
mainfrom
release/0.6.1
Jun 6, 2026
Merged

release: SDK 0.6.1 — sync to engine v0.6.1 (stored-queries support)#11
aaltshuler merged 2 commits into
mainfrom
release/0.6.1

Conversation

@aaltshuler

Copy link
Copy Markdown
Contributor

Why

The TS SDK was pinned to omnigraph-server 0.6.0 while the engine shipped 0.6.1 — the version-lag half of iss-dx-ts-no-releases (P3). v0.6.1 isn't a no-op bump: it adds the stored-queries API (GET /queries, POST /queries/{name}), so the SDK must vendor the new spec and expose the surface.

What

  • Versions: root omnigraph.serverVersion + @modernrelay/omnigraph + @modernrelay/omnigraph-mcp0.6.1; regenerated version.gen.ts. (check-versions ✅)
  • Spec + codegen: sync-spec vendored the engine's v0.6.1 openapi.json; regenerated the typed client. (check-drift ✅)
  • New client surface (coverage 19/19, was 17/19):
    • og.queries.list()GET /queries — the typed stored-query catalog (the mcp.expose subset).
    • og.queries.invoke(name, input?)POST /queries/{name} — runs a server-side stored query by name; returns Read | Change. params (body) and rows/columns (read response) stay opaque across the camel↔snake boundary, exactly like og.query(). Distinct from og.query(), which runs ad-hoc GQ source.
  • Exports: Queries, QueryCatalogEntry, ParamDescriptor, InvokeQuery, InvokeQueryInput types + the ParamKind runtime enum.
  • Tests: new queries.test.ts (list + invoke, incl. path escaping and opaque-key round-trip); bumped two version-coupled MCP assertions.

Gates run locally: check-versions, check-drift, check-coverage, build, typecheck, test (SDK 85 passed, MCP 16 passed) — all green. Lockfile unchanged.

Scope notes

  • MCP tool surface unchanged — wiring stored queries as MCP tools is a separate feature, not required for the version sync.
  • Publishing is gated by design: after merge, a maintainer pushes an annotated v0.6.1 tag and approves the release environment; the workflow then publishes npm and (via the just-merged ci(release): create a GitHub Release on each published tag #10) creates the GitHub Release.

🤖 Generated with Claude Code

aaltshuler and others added 2 commits June 6, 2026 20:14
Aligns the TypeScript SDK with omnigraph-server v0.6.1 (was 0.6.0), which
adds the stored-queries API. Closes the version-lag half of
iss-dx-ts-no-releases.

- Bump root omnigraph.serverVersion + both packages to 0.6.1; regenerate
  version.gen.ts (check-versions passes).
- sync-spec: vendor the engine's v0.6.1 openapi.json and regenerate the
  typed client (check-drift passes).
- New surface for the two added operations (coverage now 19/19):
  - `og.queries.list()` → GET /queries (typed stored-query catalog).
  - `og.queries.invoke(name, input?)` → POST /queries/{name} (runs a
    server-side stored query; returns Read | Change). params/rows kept
    opaque across the camel<->snake boundary, mirroring og.query().
- Export Queries / QueryCatalogEntry / ParamDescriptor / InvokeQuery /
  InvokeQueryInput types and the ParamKind enum.
- Add queries.test.ts; bump the two version-coupled MCP test assertions.

MCP tool surface is intentionally unchanged — exposing stored queries as
MCP tools is a separate follow-up. Publishing is gated on a maintainer
pushing the v0.6.1 tag and approving the `release` environment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bumping the pinned server to 0.6.1 makes the e2e job install a server that
enforces the config-coherence check: a named graph plus a top-level
`policy.file` is rejected (the top-level block would be silently ignored).
The single-graph fixture hit exactly that and the server refused to start.

Move `policy.file` into `graphs.e2e.policy.file` (the multi-graph fixture
already uses the per-graph shape). Unblocks the e2e job at server 0.6.1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aaltshuler aaltshuler merged commit af5a81a into main Jun 6, 2026
3 checks passed
@aaltshuler aaltshuler deleted the release/0.6.1 branch June 6, 2026 17:20
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