Skip to content

generated(api-spec): API specification updates - #535

Merged
Natalia Markitantova (markitosha) merged 9 commits into
masterfrom
api-updates-0ff89b9
Oct 6, 2026
Merged

Natalia Markitantova (markitosha) merged 9 commits into
masterfrom
api-updates-0ff89b9

Conversation

Roles are no longer an enum (spec PRs #246/#250), so:
- stream.connect: replace the obsolete CONFIG_DENIED assertion with a
  custom role label expecting CONFIG_ACCEPTED (server accepts any label
  within the length/word constraints).
- transcripts.create: replace the removed SDK-side enum-rejection
  assertion with a successful create using a custom role label.
- codes.predict: filter include/exclude tests send CodesFilterCondition
  objects; expand removed from the combined-filters case (spec #239/#252).
- transcripts.create: diarize=true with isMultichannel=false is valid now
  that participants are decoupled from multichannel (#246) — expect
  success instead of 400.
- stream.connect: fix assertion count in the custom role-label test
  (2 expects, not 3).
@CortiDevOps

Copy link
Copy Markdown
Contributor Author

Superseded by a new release candidate PR.

@markitosha
Natalia Markitantova (markitosha) merged commit f73f7ff into master Oct 6, 2026
9 of 11 checks passed
Natalia Markitantova (markitosha) added a commit to corticph/corti-examples that referenced this pull request Oct 6, 2026
## What

RC-consume bump for the `api-updates-0ff89b9` SDK release cycle:

- **10 TS examples** (`@corti/sdk` `5` → `6.0.0-rc`):
`sdk/typescript/express-web-api`, `sdk/typescript/next-auth-examples`,
`sdk/typescript/applets`, `agents/react/next-agent-chat`,
`agents/react/search-documents-ui`, `ambient/typescript/basic-example`,
`ambient/typescript/web-component`,
`dictation/typescript/basic-example`,
`dictation/typescript/web-component`, `proxy/javascript/basic-example` —
with refreshed lockfiles; `overrides` blocks in `applets` and
`next-agent-chat` bumped in lockstep (npm `EOVERRIDE` otherwise).
- **`sdk/dotnet/web-api`**: `Corti.Sdk` `0.11.0` → `0.12.0-rc`;
`AmbientRtStreamsEndpoint` now passes a free-form participant role
(`"multiple"`) because the role **enum was removed** in 0.12.0
(`StreamConfigParticipantRole` no longer exists) — first real-consumer
validation of that break.
- **Embedded-assistant examples intentionally left on `^0.10.1`**
(separate upgrade effort, out of this cycle).

## Validation

| Build | Result |
|---|---|
| `express-web-api` — `npm run build` (tsc) | ✅ |
| `next-auth-examples` — `next build` | ✅ |
| `dotnet web-api` — `dotnet build -c Release` (NuGet `0.12.0-rc`) | ✅ 0
errors |

## References
- RCs: [@corti/sdk
v6.0.0-rc](https://github.com/corticph/corti-sdk-javascript/releases/tag/v6.0.0-rc)
· [Corti.Sdk
v0.12.0-rc](https://github.com/corticph/corti-sdk-dotnet/releases/tag/v0.12.0-rc)
- SDK release PRs:
[corti-sdk-javascript#535](corticph/corti-sdk-javascript#535)
·
[corti-sdk-dotnet#183](corticph/corti-sdk-dotnet#183)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants