diff options
| author | Aiden Cline <[email protected]> | 2026-03-18 11:36:19 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-18 11:36:19 -0500 |
| commit | 171e69c2fc148985af7b9506b47f048d3a34a767 (patch) | |
| tree | 0f99fed774361a768c15a79825fd4c30b55bea2c /packages/sdk/openapi.json | |
| parent | 822bb7b3366d051a6d74657b7764f7f403a0c9a8 (diff) | |
| download | opencode-171e69c2fc148985af7b9506b47f048d3a34a767.tar.gz opencode-171e69c2fc148985af7b9506b47f048d3a34a767.zip | |
feat: integrate support for multi step auth flows for providers that require additional questions (#18035)
Diffstat (limited to 'packages/sdk/openapi.json')
| -rw-r--r-- | packages/sdk/openapi.json | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json index c6d79b11e..350395423 100644 --- a/packages/sdk/openapi.json +++ b/packages/sdk/openapi.json @@ -4761,6 +4761,16 @@ "method": { "description": "Auth method index", "type": "number" + }, + "inputs": { + "description": "Prompt inputs", + "type": "object", + "propertyNames": { + "type": "string" + }, + "additionalProperties": { + "type": "string" + } } }, "required": ["method"] @@ -11541,6 +11551,114 @@ }, "label": { "type": "string" + }, + "prompts": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "text" + }, + "key": { + "type": "string" + }, + "message": { + "type": "string" + }, + "placeholder": { + "type": "string" + }, + "when": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "op": { + "anyOf": [ + { + "type": "string", + "const": "eq" + }, + { + "type": "string", + "const": "neq" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": ["key", "op", "value"] + } + }, + "required": ["type", "key", "message"] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "select" + }, + "key": { + "type": "string" + }, + "message": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + }, + "hint": { + "type": "string" + } + }, + "required": ["label", "value"] + } + }, + "when": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "op": { + "anyOf": [ + { + "type": "string", + "const": "eq" + }, + { + "type": "string", + "const": "neq" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": ["key", "op", "value"] + } + }, + "required": ["type", "key", "message", "options"] + } + ] + } } }, "required": ["type", "label"] |
