Skip to content

fix(sdk): document agency swarm bridge field - #304

Merged
nicko-ai merged 1 commit into
devfrom
codex/openapi-bridge-spec
Jun 28, 2026
Merged

fix(sdk): document agency swarm bridge field#304
nicko-ai merged 1 commit into
devfrom
codex/openapi-bridge-spec

Conversation

@nicko-ai

Copy link
Copy Markdown
Collaborator

Issue for this PR

Fixes #303

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds the missing optional agencySwarmBridge field to the tracked OpenAPI request bodies for session prompt, summarize, async prompt, command, and shell calls.

The server schemas and generated JS SDK already include this field. This keeps packages/sdk/openapi.json aligned with that release surface without taking unrelated generator drift.

How did you verify your code works?

  • rg -n 'agencySwarmBridge' packages/sdk/openapi.json
  • Focused JSON check for the five affected operations: each has optional boolean agencySwarmBridge; none mark it required.
  • git diff --check
  • bun x prettier --check packages/sdk/openapi.json
  • bun --cwd packages/sdk/js typecheck
  • bun typecheck
  • bun turbo test:ci
  • Local Codex review found no regression in the diff.

Screenshots / recordings

Not applicable; this updates an API artifact only.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

- add agencySwarmBridge to the tracked OpenAPI session request bodies

- keep the patch scoped to the generated field already present in server schemas and the JS SDK

- fixes #303
@nicko-ai

Copy link
Copy Markdown
Collaborator Author

@codex review

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 3a480acd15

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@nicko-ai
nicko-ai merged commit f08f6ad into dev Jun 28, 2026
18 of 19 checks passed
@nicko-ai
nicko-ai deleted the codex/openapi-bridge-spec branch June 28, 2026 22:04
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.

fix(sdk): include agencySwarmBridge in OpenAPI spec

1 participant