Skip to content

Commit 0a36433

Browse files
chore: generate
1 parent 5426478 commit 0a36433

1 file changed

Lines changed: 71 additions & 0 deletions

File tree

packages/sdk/openapi.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,6 +1568,77 @@
15681568
]
15691569
}
15701570
},
1571+
"/experimental/session/{sessionID}/background": {
1572+
"post": {
1573+
"tags": ["experimental"],
1574+
"operationId": "experimental.session.background",
1575+
"parameters": [
1576+
{
1577+
"name": "sessionID",
1578+
"in": "path",
1579+
"schema": {
1580+
"type": "string",
1581+
"pattern": "^ses"
1582+
},
1583+
"required": true
1584+
},
1585+
{
1586+
"name": "directory",
1587+
"in": "query",
1588+
"schema": {
1589+
"type": "string"
1590+
},
1591+
"required": false
1592+
},
1593+
{
1594+
"name": "workspace",
1595+
"in": "query",
1596+
"schema": {
1597+
"type": "string"
1598+
},
1599+
"required": false
1600+
}
1601+
],
1602+
"responses": {
1603+
"200": {
1604+
"description": "Backgrounded subagents",
1605+
"content": {
1606+
"application/json": {
1607+
"schema": {
1608+
"type": "boolean",
1609+
"description": "Backgrounded subagents"
1610+
}
1611+
}
1612+
}
1613+
},
1614+
"400": {
1615+
"description": "BadRequest | InvalidRequestError",
1616+
"content": {
1617+
"application/json": {
1618+
"schema": {
1619+
"anyOf": [
1620+
{
1621+
"$ref": "#/components/schemas/effect_HttpApiError_BadRequest"
1622+
},
1623+
{
1624+
"$ref": "#/components/schemas/InvalidRequestError"
1625+
}
1626+
]
1627+
}
1628+
}
1629+
}
1630+
}
1631+
},
1632+
"description": "Detach any synchronous subagents currently blocking the session and continue them in the background.",
1633+
"summary": "Background subagents",
1634+
"x-codeSamples": [
1635+
{
1636+
"lang": "js",
1637+
"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.experimental.session.background({\n ...\n})"
1638+
}
1639+
]
1640+
}
1641+
},
15711642
"/experimental/resource": {
15721643
"get": {
15731644
"tags": ["experimental"],

0 commit comments

Comments
 (0)