feat(credentials): add v2 credential lifecycle APIs (#6664)

* feat(credentials): add v2 OAuth connection APIs

* fix(credentials): preserve active OAuth connection links

* fix(credentials): bind OAuth links to connection intent

* feat(credentials): complete v2 credential lifecycle

* fix(credentials): make disconnect idempotent

* fix(credentials): stabilize oauth draft retries

* fix(credentials): bind oauth callbacks to drafts

* fix(credentials): fail closed on oauth completion

* fix(credentials): bind shopify completion to oauth state

* fix(credentials): align custom oauth reconnects

* fix(credentials): centralize application authorization

* fix(credentials): keep OAuth draft intent immutable

* fix(credentials): allow renamed reconnect targets

* fix(credentials): close OAuth draft edge cases

* fix(credentials): fail closed without breaking auth

* fix(credentials): preserve migrated route behavior

* feat(credentials): add provider search

* fix(credentials): prevent stale secrets and drafts
This commit is contained in:
Theodore Li
2026-08-15 00:47:06 -04:00
committed by GitHub
parent 0ce8ded1e7
commit 6006870f02
124 changed files with 9867 additions and 2976 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ const EXPECTED_OPERATION_COUNTS = new Map<string, number>([
['apps/docs/openapi-v2-tables.json', 44],
['apps/docs/openapi-v2-knowledge.json', 21],
['apps/docs/openapi-v2-billing.json', 2],
['apps/docs/openapi-v2-resources.json', 22],
['apps/docs/openapi-v2-resources.json', 26],
])
function getOperation(spec: JsonObject, path: string, method: string): JsonObject {
@@ -169,7 +169,7 @@ describe('generated OpenAPI documents', () => {
})
}
}
expect(totalOperations).toBe(135)
expect(totalOperations).toBe(139)
})
it('documents mixed workflow execution and resume responses', () => {