Skip to content

feat(sdk): executor under its public name, provider apart (sdk 0.16.29, enterprise#1983) - #247

Merged
fabianocruz merged 4 commits into
mainfrom
feat/1983-executor-public-name
Nov 11, 2026
Merged

fabianocruz merged 4 commits into
mainfrom
feat/1983-executor-public-name

Conversation

@fabianocruz

Copy link
Copy Markdown
Member

The SDK side of enterprise#1983's public executor naming. The API change is enterprise#2564, served in production at 2026-11-11 03:33Z (fdf6ecece).

What changes

  • The OpenAPI snapshot is refreshed to the served document (b9b057565a31, 390 operations), and src/generated/ is regenerated from it. Nothing else in the SDK changed by hand.

  • executor is "codespar_simulator" | "provider_sandbox" | null, and "celcoin_sandbox" leaves that enum. This is a type break for an exhaustive switch, and the CHANGELOG says so.

  • executor_provider ("celcoin" | null) is resolved by the server.

  • Consent, payment and receipt carry executor_label, environment and real_money.

  • POST /v1/consents and submit document 400 executor_provider_not_selectable.

  • The Charge (Collect) issuer / payment.executor is a separate contract and stays as is.

  • The refresh also picks up what other lanes served since 0.16.28, as types only:

    • /v1/ofb/sweeping;
    • /v1/ofb/jsr;
    • /v1/onboarding/first-receive;
    • GET /v1/shop/agent/capabilities.

    The snapshot has to equal the served document (spec:check), so it cannot be refreshed partially.

  • MCP, CLI and Python have no handwritten read of the executor field, so they are unchanged.

  • Version: @codespar/sdk 0.16.29.

Checks

  • npm run spec:check -w @codespar/sdk: the served document equals the snapshot.
  • npm run typecheck -w @codespar/sdk: clean.
  • npm test -w @codespar/sdk did not run locally: rollup's darwin-arm64 optional binary is missing from the lockfile on this machine. CI runs it.

Publishing the package is a separate step after merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RmCN2L9X5C6vdDBLVJ5Fuq

fabianocruz and others added 4 commits November 11, 2026 08:19
…9, enterprise#1983)

OpenAPI snapshot refreshed to the served document (b9b057565a31, 390
operations) after enterprise#2564 (fdf6ecece, production 2026-11-11 03:33Z);
src/generated regenerated. executor is codespar_simulator | provider_sandbox,
executor_provider carries the provider, and consent/payment/receipt carry
executor_label, environment and real_money.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RmCN2L9X5C6vdDBLVJ5Fuq
The 390-operation refresh brings live /v1/ofb routes (sweeping consents and
pulls, Pix com biometria enrollments and payments, Test only). The coverage
gate asks for a published group, not an exception.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RmCN2L9X5C6vdDBLVJ5Fuq
ofb (sweeping, Pix com biometria, bank consents), onboarding first-receive
and shop capabilities, as the served document declares them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RmCN2L9X5C6vdDBLVJ5Fuq
@fabianocruz
fabianocruz merged commit 688277e into main Nov 11, 2026
12 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