feat(core): add opencode integration (#33555)

This commit is contained in:
Dax
2026-06-23 19:45:02 -04:00
committed by GitHub
parent c17b9557f1
commit cf80b5c470
26 changed files with 1065 additions and 443 deletions
@@ -68,6 +68,20 @@ function isBuiltInEndpointError(name: string) {
}
describe("PublicApi OpenAPI v2 errors", () => {
test("includes plugin-facing core schemas", () => {
const spec = OpenApi.fromApi(PublicApi) as OpenApiSpec
expect(Object.keys(spec.components.schemas)).toEqual(
expect.arrayContaining([
"CredentialValue",
"IntegrationInputs",
"IntegrationMethod",
"IntegrationRef",
"SkillV2Source",
]),
)
})
test("documents nested legacy global sync events", () => {
const spec = OpenApi.fromApi(PublicApi) as OpenApiSpec
const schema = spec.components.schemas.SyncEventSessionCreated