You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/schema.json
+60-11Lines changed: 60 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,10 @@
55
55
{
56
56
"$ref": "#/$defs/ReleaseTerminalRequest",
57
57
"title": "ReleaseTerminalRequest"
58
+
},
59
+
{
60
+
"$ref": "#/$defs/WaitForTerminalExitRequest",
61
+
"title": "WaitForTerminalExitRequest"
58
62
}
59
63
],
60
64
"description": "All possible requests that an agent can send to a client.\n\nThis enum is used internally for routing RPC requests. You typically won't need\nto use this directly - instead, use the methods on the [`Client`] trait.\n\nThis enum encompasses all method calls from agent to client.",
@@ -272,6 +276,10 @@
272
276
{
273
277
"title": "ReleaseTerminalResponse",
274
278
"type": "null"
279
+
},
280
+
{
281
+
"$ref": "#/$defs/WaitForTerminalExitResponse",
282
+
"title": "WaitForTerminalExitResponse"
275
283
}
276
284
],
277
285
"description": "All possible responses that a client can send to an agent.\n\nThis enum is used internally for routing RPC responses. You typically won't need\nto use this directly - the responses are handled automatically by the connection.\n\nThese are responses to the corresponding AgentRequest variants.",
@@ -1273,6 +1281,19 @@
1273
1281
}
1274
1282
]
1275
1283
},
1284
+
"TerminalExitStatus": {
1285
+
"properties": {
1286
+
"exitCode": {
1287
+
"format": "uint32",
1288
+
"minimum": 0,
1289
+
"type": ["integer", "null"]
1290
+
},
1291
+
"signal": {
1292
+
"type": ["string", "null"]
1293
+
}
1294
+
},
1295
+
"type": "object"
1296
+
},
1276
1297
"TerminalOutputRequest": {
1277
1298
"properties": {
1278
1299
"sessionId": {
@@ -1289,25 +1310,24 @@
1289
1310
},
1290
1311
"TerminalOutputResponse": {
1291
1312
"properties": {
1292
-
"exitCode": {
1293
-
"format": "uint32",
1294
-
"minimum": 0,
1295
-
"type": ["integer", "null"]
1296
-
},
1297
-
"finished": {
1298
-
"type": "boolean"
1313
+
"exitStatus": {
1314
+
"anyOf": [
1315
+
{
1316
+
"$ref": "#/$defs/TerminalExitStatus"
1317
+
},
1318
+
{
1319
+
"type": "null"
1320
+
}
1321
+
]
1299
1322
},
1300
1323
"output": {
1301
1324
"type": "string"
1302
1325
},
1303
-
"signal": {
1304
-
"type": ["string", "null"]
1305
-
},
1306
1326
"truncated": {
1307
1327
"type": "boolean"
1308
1328
}
1309
1329
},
1310
-
"required": ["output", "truncated", "finished"],
1330
+
"required": ["output", "truncated"],
1311
1331
"type": "object",
1312
1332
"x-method": "terminal/output",
1313
1333
"x-side": "client"
@@ -1600,6 +1620,35 @@
1600
1620
}
1601
1621
]
1602
1622
},
1623
+
"WaitForTerminalExitRequest": {
1624
+
"properties": {
1625
+
"sessionId": {
1626
+
"$ref": "#/$defs/SessionId"
1627
+
},
1628
+
"terminalId": {
1629
+
"type": "string"
1630
+
}
1631
+
},
1632
+
"required": ["sessionId", "terminalId"],
1633
+
"type": "object",
1634
+
"x-method": "terminal/wait_for_exit",
1635
+
"x-side": "client"
1636
+
},
1637
+
"WaitForTerminalExitResponse": {
1638
+
"properties": {
1639
+
"exitCode": {
1640
+
"format": "uint32",
1641
+
"minimum": 0,
1642
+
"type": ["integer", "null"]
1643
+
},
1644
+
"signal": {
1645
+
"type": ["string", "null"]
1646
+
}
1647
+
},
1648
+
"type": "object",
1649
+
"x-method": "terminal/wait_for_exit",
1650
+
"x-side": "client"
1651
+
},
1603
1652
"WriteTextFileRequest": {
1604
1653
"description": "Request to write content to a text file.\n\nOnly available if the client supports the `fs.writeTextFile` capability.",
0 commit comments