Skip to content

chore(sdk): regenerate from API 1.10.x - #194

Merged
jfrench9 merged 1 commit into
mainfrom
chore/regenerate-api-1-10
Aug 27, 2026
Merged

chore(sdk): regenerate from API 1.10.x#194
jfrench9 merged 1 commit into
mainfrom
chore/regenerate-api-1-10

Conversation

@jfrench9

Copy link
Copy Markdown
Member

Summary

Regenerates the SDK against the API's 1.10 line (1.10.0–1.10.4 plus the OAuth connected-apps endpoints landing in robosystems #1275). The client was last generated from 1.9.x. Net effect on the public surface: the REST MCP tool pair leaves api/mcp, the connected-apps and reconciling-item operations arrive, two close operations gain a flag, and the GraphQL schema snapshot picks up two fields. Curated release notes for the minor are included.

Changes

  • Regenerated robosystems_client/api and models — removed: api/mcp/ (list_mcp_tools, call_mcp_tool) and the models MCPToolCall, MCPToolCallArguments, MCPToolsResponse, MCPToolsResponseToolsItem (the API dropped GET …/mcp/tools and POST …/mcp/call-tool in 1.10.2). Added: api/user/list_user_o_auth_grants, revoke_user_o_auth_grant (+ OAuthGrantInfo, OAuthGrantsResponse); api/extensions_robo_ledger/preview_reconciling_item, resolve_reconciling_item (+ the reconciling-item plan/delta/catch-up/request/response models and their operation envelopes). Widened: FiscalCalendarResponse gains reconciling_item_count / reconciling_item_sample; ClosePeriodOperation and BackfillPlanHistoryOperation gain allow_reconciling_items; DeleteSubgraphOp.backup_first and create_event_block carry richer descriptions. models/__init__.py follows.
  • Refreshed graphql/schema.graphql (+10 lines: reconcilingItemCount, reconcilingItemSample on the fiscal calendar) and regenerated the ariadne models from it, so the CI drift gate stays clean.
  • .github/release-notes/v1.12.0.md — the contract document for the minor: names the generated-tier removal and its replacement (the Streamable HTTP transport), and describes the additions.

No hand-written code changed. Facades and root exports are untouched.

Compatibility

Under the two-tier rule (CLAUDE.local.md § Versioning): ADDITIVE on the stable tier — with one generated-tier removal (api.mcp.*), which rides a minor and is named in the release notes. Checked by hand against the integration template's emit path: AuthenticatedClient, types.UNSET, all six emit operations (create_file_upload, ingest_file, materialize, create_event_block, assert_metrics, create_taxonomy_block) and their request models resolve in the regenerated tree; no facade referenced the removed operations. The removal meets the dead-surface test: the endpoints no longer exist upstream, and nothing in the stable tier or the template imported them. Intended version: 1.12.0 (the notes file is named for it; the bump itself stays with the release dispatch).

Testing

just generate-sdk (REST + schema refresh) and just generate-graphql against the local stack running robosystems main + #1275 (verified the two grants operations and no mcp paths in its openapi.json before generating).

just test-all — passes: 526 tests (17 skipped), ruff check and format clean, basedpyright 0 errors. The pre-commit hook re-ran the same gate on commit.

Generated tier: the REST MCP tool surface (list_mcp_tools, call_mcp_tool
and their four models) is removed, following its removal from the API in
1.10.2; the connected-apps operations (list/revoke OAuth grants) and the
reconciling-item operations (preview/resolve) are added, with the
reconciling-item fields on FiscalCalendarResponse and the
allow_reconciling_items flag on close-period and backfill-plan-history.
The GraphQL schema snapshot picks up reconcilingItemCount and
reconcilingItemSample.

Stable tier untouched: every symbol the integration template imports
still resolves, and no facade referenced the removed operations. Curated
release notes for the minor are in .github/release-notes/v1.12.0.md.
@jfrench9

Copy link
Copy Markdown
Member Author

@claude please review this PR

@claude

claude Bot commented Aug 27, 2026

Copy link
Copy Markdown

Claude encountered an error after 2s —— View job


I'll analyze this and get back to you.

@jfrench9
jfrench9 merged commit 14aa671 into main Aug 27, 2026
4 checks passed
@jfrench9
jfrench9 deleted the chore/regenerate-api-1-10 branch August 27, 2026 03:09
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