@band-app/server 0.54.3 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/_shell.html +0 -0
- package/dist/client/assets/{TerminalPanel-Xl6oGaup.js → TerminalPanel-DyFsMnFK.js} +1 -1
- package/dist/client/assets/{_basePickBy-CPkUkuQZ.js → _basePickBy-C1Ui1wUI.js} +1 -1
- package/dist/client/assets/{_baseUniq-Cwz3JodT.js → _baseUniq-TZ0JUUYF.js} +1 -1
- package/dist/client/assets/{arc-DwsdIXPp.js → arc-BKZRD7Jr.js} +1 -1
- package/dist/client/assets/{architectureDiagram-VXUJARFQ-SXYkL9tA.js → architectureDiagram-VXUJARFQ-C6U3vX0O.js} +1 -1
- package/dist/client/assets/{blockDiagram-VD42YOAC-BJA-EF6e.js → blockDiagram-VD42YOAC-CMKfJSCq.js} +1 -1
- package/dist/client/assets/{c4Diagram-YG6GDRKO-Dx-xhS0w.js → c4Diagram-YG6GDRKO-BxBYCPCn.js} +1 -1
- package/dist/client/assets/channel-BJXLlcqp.js +1 -0
- package/dist/client/assets/{chunk-4BX2VUAB-hIHAP7Cm.js → chunk-4BX2VUAB-bw9X6kAI.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-B819cB7q.js → chunk-55IACEB6-ClHgx4bC.js} +1 -1
- package/dist/client/assets/{chunk-B4BG7PRW-B1YMhrD2.js → chunk-B4BG7PRW-Db1XzP6B.js} +1 -1
- package/dist/client/assets/{chunk-DI55MBZ5-B6E7V5JJ.js → chunk-DI55MBZ5-C8HzWkcQ.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-Cto0C9v0.js → chunk-FMBD7UC4-54B6Y5YM.js} +1 -1
- package/dist/client/assets/{chunk-QN33PNHL-FlpvaPrY.js → chunk-QN33PNHL-BttimAfW.js} +1 -1
- package/dist/client/assets/{chunk-QZHKN3VN-hfVUofCn.js → chunk-QZHKN3VN-BoejelHz.js} +1 -1
- package/dist/client/assets/{chunk-TZMSLE5B-B6Uwm_RZ.js → chunk-TZMSLE5B-CDFjN9wj.js} +1 -1
- package/dist/client/assets/classDiagram-2ON5EDUG-27E8Epaa.js +1 -0
- package/dist/client/assets/classDiagram-v2-WZHVMYZB-27E8Epaa.js +1 -0
- package/dist/client/assets/clone-DTRMs_1C.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-N9jnwEcj.js → cose-bilkent-S5V4N54A-VQAtNwQc.js} +1 -1
- package/dist/client/assets/{dagre-6UL2VRFP-Ckg49tw0.js → dagre-6UL2VRFP-BbY85-fg.js} +1 -1
- package/dist/client/assets/{diagram-PSM6KHXK-Dgp_MGHT.js → diagram-PSM6KHXK-ILb8cZAw.js} +1 -1
- package/dist/client/assets/{diagram-QEK2KX5R-HqtNbPpi.js → diagram-QEK2KX5R-BGiFNVyl.js} +1 -1
- package/dist/client/assets/{diagram-S2PKOQOG-B9kmoM2C.js → diagram-S2PKOQOG-CccJTBEx.js} +1 -1
- package/dist/client/assets/{erDiagram-Q2GNP2WA-CX0bAjbe.js → erDiagram-Q2GNP2WA-CkfZ33hi.js} +1 -1
- package/dist/client/assets/{flowDiagram-NV44I4VS-BlNstfD-.js → flowDiagram-NV44I4VS-Mh9EcV52.js} +1 -1
- package/dist/client/assets/{ganttDiagram-JELNMOA3-Bngv2UfV.js → ganttDiagram-JELNMOA3-Cyw35fle.js} +1 -1
- package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-DaVgpKKU.js → gitGraphDiagram-V2S2FVAM-B_pqKxKc.js} +1 -1
- package/dist/client/assets/{graph-DJibyMhY.js → graph-9t0DxPCF.js} +1 -1
- package/dist/client/assets/{highlighted-body-B3W2YXNL-8sRLcOTz.js → highlighted-body-B3W2YXNL-BoRk8xol.js} +1 -1
- package/dist/client/assets/{index-SOcZR9zA.js → index-0OIfn_16.js} +1 -1
- package/dist/client/assets/{index-CSlSUYm9.js → index-B4gaIFLM.js} +1 -1
- package/dist/client/assets/{index-hBffkV04.js → index-B9OAdTCy.js} +1 -1
- package/dist/client/assets/{index-Y9ds9lfC.js → index-BHbtQqNn.js} +1 -1
- package/dist/client/assets/{index-BdPmfxoL.js → index-Bq4KlIgZ.js} +1 -1
- package/dist/client/assets/{index-ROMcQtWt.js → index-BwCTnd17.js} +1 -1
- package/dist/client/assets/{index-BYWdCHQD.js → index-CtGnlQ-q.js} +1 -1
- package/dist/client/assets/{index-C8jptsrq.js → index-D8L39ca2.js} +1 -1
- package/dist/client/assets/{index-D_Hnyp0H.js → index-Ddtx5YHI.js} +1 -1
- package/dist/client/assets/{index-BsY88S9G.js → index-DicOq_Sf.js} +1 -1
- package/dist/client/assets/{index-CZkHIWnu.js → index-DyQAzRmj.js} +1 -1
- package/dist/client/assets/{index-BWbHkoFf.js → index-EhAKhw5f.js} +1 -1
- package/dist/client/assets/{index-QiwXMA-_.js → index-q1D5zrY_.js} +1 -1
- package/dist/client/assets/{infoDiagram-HS3SLOUP-BaXQhmZS.js → infoDiagram-HS3SLOUP-BpXpceBS.js} +1 -1
- package/dist/client/assets/{journeyDiagram-XKPGCS4Q-Bn4XhLKd.js → journeyDiagram-XKPGCS4Q-CUzBsDC2.js} +1 -1
- package/dist/client/assets/{kanban-definition-3W4ZIXB7-Dbz9IJS9.js → kanban-definition-3W4ZIXB7-d7CaBEND.js} +1 -1
- package/dist/client/assets/{layout-KhM6N15I.js → layout-D8LvZDRj.js} +1 -1
- package/dist/client/assets/{main-CqSslSJI.js → main-BIldwfya.js} +339 -339
- package/dist/client/assets/main-BxvTwvKU.css +1 -0
- package/dist/client/assets/{mindmap-definition-VGOIOE7T-G-zFfV9G.js → mindmap-definition-VGOIOE7T-CkyVVJ9w.js} +1 -1
- package/dist/client/assets/{pieDiagram-ADFJNKIX-BhPxI2x7.js → pieDiagram-ADFJNKIX-UGEIX01f.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-AYHSOK5B-B-GNhRJU.js → quadrantDiagram-AYHSOK5B-C9PM1qGp.js} +1 -1
- package/dist/client/assets/{requirementDiagram-UZGBJVZJ-DQJdQFIw.js → requirementDiagram-UZGBJVZJ-BmJorjE0.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-TZEHDZUN-DrPdLIfN.js → sankeyDiagram-TZEHDZUN-DK1YkHOf.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-WL72ISMW-0iaye3zO.js → sequenceDiagram-WL72ISMW-CMalVkVp.js} +1 -1
- package/dist/client/assets/{stateDiagram-FKZM4ZOC-B2-QB2W0.js → stateDiagram-FKZM4ZOC-CtDoLljP.js} +1 -1
- package/dist/client/assets/stateDiagram-v2-4FDKWEC3-Bu9w4Lt2.js +1 -0
- package/dist/client/assets/{timeline-definition-IT6M3QCI-M883VntJ.js → timeline-definition-IT6M3QCI-Vy5fVSzE.js} +1 -1
- package/dist/client/assets/{treemap-GDKQZRPO-NQBhY7Vk.js → treemap-GDKQZRPO-DN8hAqbn.js} +1 -1
- package/dist/client/assets/{worktree._worktreeId-D-GKIuuU.js → worktree._worktreeId-BjqfB2FM.js} +1 -1
- package/dist/client/assets/{worktree._worktreeId-D3DbNkyK.js → worktree._worktreeId-enSNl8Hs.js} +1 -1
- package/dist/client/assets/{xychartDiagram-PRI3JC2R-l_IPT77x.js → xychartDiagram-PRI3JC2R-Dl5pLjgP.js} +1 -1
- package/dist/migrations/20261028200323_worktree_title/migration.sql +1 -0
- package/dist/migrations/20261028200323_worktree_title/snapshot.json +5228 -0
- package/dist/migrations/20261029080757_worktree_unread/migration.sql +1 -0
- package/dist/migrations/20261029080757_worktree_unread/snapshot.json +5238 -0
- package/dist/openapi.json +1378 -44
- package/dist/start-server.mjs +43723 -41142
- package/dist/terminal-daemon.mjs +301 -283
- package/package.json +13 -7
- package/dist/client/assets/channel-2mY-lkL6.js +0 -1
- package/dist/client/assets/classDiagram-2ON5EDUG-CxKjlsUh.js +0 -1
- package/dist/client/assets/classDiagram-v2-WZHVMYZB-CxKjlsUh.js +0 -1
- package/dist/client/assets/clone-CTVr6Med.js +0 -1
- package/dist/client/assets/main-BYKQWpTo.css +0 -1
- package/dist/client/assets/stateDiagram-v2-4FDKWEC3-pfnkktuh.js +0 -1
package/dist/openapi.json
CHANGED
|
@@ -35,10 +35,14 @@
|
|
|
35
35
|
"DirNotFound",
|
|
36
36
|
"NotWritable"
|
|
37
37
|
]
|
|
38
|
+
},
|
|
39
|
+
"applicable": {
|
|
40
|
+
"type": "boolean"
|
|
38
41
|
}
|
|
39
42
|
},
|
|
40
43
|
"required": [
|
|
41
|
-
"status"
|
|
44
|
+
"status",
|
|
45
|
+
"applicable"
|
|
42
46
|
],
|
|
43
47
|
"additionalProperties": false
|
|
44
48
|
}
|
|
@@ -1095,11 +1099,51 @@
|
|
|
1095
1099
|
"compose",
|
|
1096
1100
|
"helm",
|
|
1097
1101
|
"k8s",
|
|
1098
|
-
"docker"
|
|
1102
|
+
"docker",
|
|
1103
|
+
"npm"
|
|
1099
1104
|
]
|
|
1100
1105
|
},
|
|
1101
1106
|
"hubCommand": {
|
|
1102
1107
|
"type": "string"
|
|
1108
|
+
},
|
|
1109
|
+
"hubUpdate": {
|
|
1110
|
+
"type": "object",
|
|
1111
|
+
"properties": {
|
|
1112
|
+
"error": {
|
|
1113
|
+
"type": [
|
|
1114
|
+
"string",
|
|
1115
|
+
"null"
|
|
1116
|
+
]
|
|
1117
|
+
},
|
|
1118
|
+
"configured": {
|
|
1119
|
+
"type": "boolean",
|
|
1120
|
+
"description": "Whether an admin has set a command."
|
|
1121
|
+
},
|
|
1122
|
+
"state": {
|
|
1123
|
+
"type": "string",
|
|
1124
|
+
"enum": [
|
|
1125
|
+
"idle",
|
|
1126
|
+
"failed",
|
|
1127
|
+
"updating"
|
|
1128
|
+
]
|
|
1129
|
+
},
|
|
1130
|
+
"target": {
|
|
1131
|
+
"type": [
|
|
1132
|
+
"string",
|
|
1133
|
+
"null"
|
|
1134
|
+
]
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"required": [
|
|
1138
|
+
"error",
|
|
1139
|
+
"configured",
|
|
1140
|
+
"state",
|
|
1141
|
+
"target"
|
|
1142
|
+
],
|
|
1143
|
+
"additionalProperties": false
|
|
1144
|
+
},
|
|
1145
|
+
"updateAll": {
|
|
1146
|
+
"$ref": "#/components/schemas/UpdateAllStatus"
|
|
1103
1147
|
}
|
|
1104
1148
|
},
|
|
1105
1149
|
"required": [
|
|
@@ -1109,7 +1153,143 @@
|
|
|
1109
1153
|
"checkEnabled",
|
|
1110
1154
|
"checkedAt",
|
|
1111
1155
|
"installMethod",
|
|
1112
|
-
"hubCommand"
|
|
1156
|
+
"hubCommand",
|
|
1157
|
+
"hubUpdate",
|
|
1158
|
+
"updateAll"
|
|
1159
|
+
],
|
|
1160
|
+
"additionalProperties": false
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
"required": [
|
|
1164
|
+
"data"
|
|
1165
|
+
]
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
"required": [
|
|
1169
|
+
"result"
|
|
1170
|
+
]
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
"default": {
|
|
1176
|
+
"$ref": "#/components/responses/Error"
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
"/workers.updateHub": {
|
|
1182
|
+
"post": {
|
|
1183
|
+
"operationId": "workers.updateHub",
|
|
1184
|
+
"description": "Runs the admin's `hubUpdate.command` on the hub's machine, detached, and answers at once. The\ncommand usually restarts the hub, so `updateStatus` reports progress after it comes back.",
|
|
1185
|
+
"tags": [
|
|
1186
|
+
"workers"
|
|
1187
|
+
],
|
|
1188
|
+
"responses": {
|
|
1189
|
+
"200": {
|
|
1190
|
+
"description": "Successful response",
|
|
1191
|
+
"content": {
|
|
1192
|
+
"application/json": {
|
|
1193
|
+
"schema": {
|
|
1194
|
+
"type": "object",
|
|
1195
|
+
"properties": {
|
|
1196
|
+
"result": {
|
|
1197
|
+
"type": "object",
|
|
1198
|
+
"properties": {
|
|
1199
|
+
"data": {
|
|
1200
|
+
"type": "object",
|
|
1201
|
+
"properties": {
|
|
1202
|
+
"target": {
|
|
1203
|
+
"type": "string"
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"required": [
|
|
1207
|
+
"target"
|
|
1208
|
+
],
|
|
1209
|
+
"additionalProperties": false
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
"required": [
|
|
1213
|
+
"data"
|
|
1214
|
+
]
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
"required": [
|
|
1218
|
+
"result"
|
|
1219
|
+
]
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
"default": {
|
|
1225
|
+
"$ref": "#/components/responses/Error"
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
"requestBody": {
|
|
1229
|
+
"required": true,
|
|
1230
|
+
"content": {
|
|
1231
|
+
"application/json": {
|
|
1232
|
+
"schema": {
|
|
1233
|
+
"type": "object",
|
|
1234
|
+
"properties": {
|
|
1235
|
+
"confirmInterruptions": {
|
|
1236
|
+
"type": "boolean"
|
|
1237
|
+
}
|
|
1238
|
+
},
|
|
1239
|
+
"additionalProperties": false
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"/workers.hubInterruptions": {
|
|
1247
|
+
"get": {
|
|
1248
|
+
"operationId": "workers.hubInterruptions",
|
|
1249
|
+
"description": "The agents a hub restart ends, on all workers, for the confirm dialog and update scripts.",
|
|
1250
|
+
"tags": [
|
|
1251
|
+
"workers"
|
|
1252
|
+
],
|
|
1253
|
+
"responses": {
|
|
1254
|
+
"200": {
|
|
1255
|
+
"description": "Successful response",
|
|
1256
|
+
"content": {
|
|
1257
|
+
"application/json": {
|
|
1258
|
+
"schema": {
|
|
1259
|
+
"type": "object",
|
|
1260
|
+
"properties": {
|
|
1261
|
+
"result": {
|
|
1262
|
+
"type": "object",
|
|
1263
|
+
"properties": {
|
|
1264
|
+
"data": {
|
|
1265
|
+
"type": "object",
|
|
1266
|
+
"properties": {
|
|
1267
|
+
"agents": {
|
|
1268
|
+
"type": "array",
|
|
1269
|
+
"items": {
|
|
1270
|
+
"type": "object",
|
|
1271
|
+
"properties": {
|
|
1272
|
+
"chatId": {
|
|
1273
|
+
"type": "string"
|
|
1274
|
+
},
|
|
1275
|
+
"worktreeId": {
|
|
1276
|
+
"type": "string"
|
|
1277
|
+
},
|
|
1278
|
+
"busy": {
|
|
1279
|
+
"type": "boolean"
|
|
1280
|
+
}
|
|
1281
|
+
},
|
|
1282
|
+
"required": [
|
|
1283
|
+
"chatId",
|
|
1284
|
+
"worktreeId",
|
|
1285
|
+
"busy"
|
|
1286
|
+
],
|
|
1287
|
+
"additionalProperties": false
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
"required": [
|
|
1292
|
+
"agents"
|
|
1113
1293
|
],
|
|
1114
1294
|
"additionalProperties": false
|
|
1115
1295
|
}
|
|
@@ -1132,6 +1312,114 @@
|
|
|
1132
1312
|
}
|
|
1133
1313
|
}
|
|
1134
1314
|
},
|
|
1315
|
+
"/workers.dismissHubUpdate": {
|
|
1316
|
+
"post": {
|
|
1317
|
+
"operationId": "workers.dismissHubUpdate",
|
|
1318
|
+
"description": "Dismisses a failed hub update.",
|
|
1319
|
+
"tags": [
|
|
1320
|
+
"workers"
|
|
1321
|
+
],
|
|
1322
|
+
"responses": {
|
|
1323
|
+
"200": {
|
|
1324
|
+
"description": "Successful response",
|
|
1325
|
+
"content": {
|
|
1326
|
+
"application/json": {
|
|
1327
|
+
"schema": {
|
|
1328
|
+
"type": "object",
|
|
1329
|
+
"properties": {
|
|
1330
|
+
"result": {
|
|
1331
|
+
"type": "object",
|
|
1332
|
+
"properties": {
|
|
1333
|
+
"data": {
|
|
1334
|
+
"type": "object",
|
|
1335
|
+
"properties": {
|
|
1336
|
+
"ok": {
|
|
1337
|
+
"type": "boolean"
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
"required": [
|
|
1341
|
+
"ok"
|
|
1342
|
+
],
|
|
1343
|
+
"additionalProperties": false
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
"required": [
|
|
1347
|
+
"data"
|
|
1348
|
+
]
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
"required": [
|
|
1352
|
+
"result"
|
|
1353
|
+
]
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
"default": {
|
|
1359
|
+
"$ref": "#/components/responses/Error"
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
},
|
|
1364
|
+
"/workers.updateAll": {
|
|
1365
|
+
"post": {
|
|
1366
|
+
"operationId": "workers.updateAll",
|
|
1367
|
+
"description": "Updates each online worker that is behind, one after the other. Answers at once.",
|
|
1368
|
+
"tags": [
|
|
1369
|
+
"workers"
|
|
1370
|
+
],
|
|
1371
|
+
"responses": {
|
|
1372
|
+
"200": {
|
|
1373
|
+
"description": "Successful response",
|
|
1374
|
+
"content": {
|
|
1375
|
+
"application/json": {
|
|
1376
|
+
"schema": {
|
|
1377
|
+
"type": "object",
|
|
1378
|
+
"properties": {
|
|
1379
|
+
"result": {
|
|
1380
|
+
"type": "object",
|
|
1381
|
+
"properties": {
|
|
1382
|
+
"data": {
|
|
1383
|
+
"$ref": "#/components/schemas/UpdateAllStatus"
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
"required": [
|
|
1387
|
+
"data"
|
|
1388
|
+
]
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
"required": [
|
|
1392
|
+
"result"
|
|
1393
|
+
]
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
},
|
|
1398
|
+
"default": {
|
|
1399
|
+
"$ref": "#/components/responses/Error"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
"requestBody": {
|
|
1403
|
+
"required": true,
|
|
1404
|
+
"content": {
|
|
1405
|
+
"application/json": {
|
|
1406
|
+
"schema": {
|
|
1407
|
+
"type": "object",
|
|
1408
|
+
"properties": {
|
|
1409
|
+
"confirmInterruptions": {
|
|
1410
|
+
"type": "boolean"
|
|
1411
|
+
},
|
|
1412
|
+
"includeHub": {
|
|
1413
|
+
"type": "boolean"
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
"additionalProperties": false
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1135
1423
|
"/workers.interruptions": {
|
|
1136
1424
|
"get": {
|
|
1137
1425
|
"operationId": "workers.interruptions",
|
|
@@ -2199,11 +2487,51 @@
|
|
|
2199
2487
|
"compose",
|
|
2200
2488
|
"helm",
|
|
2201
2489
|
"k8s",
|
|
2202
|
-
"docker"
|
|
2490
|
+
"docker",
|
|
2491
|
+
"npm"
|
|
2203
2492
|
]
|
|
2204
2493
|
},
|
|
2205
2494
|
"hubCommand": {
|
|
2206
2495
|
"type": "string"
|
|
2496
|
+
},
|
|
2497
|
+
"hubUpdate": {
|
|
2498
|
+
"type": "object",
|
|
2499
|
+
"properties": {
|
|
2500
|
+
"error": {
|
|
2501
|
+
"type": [
|
|
2502
|
+
"string",
|
|
2503
|
+
"null"
|
|
2504
|
+
]
|
|
2505
|
+
},
|
|
2506
|
+
"configured": {
|
|
2507
|
+
"type": "boolean",
|
|
2508
|
+
"description": "Whether an admin has set a command."
|
|
2509
|
+
},
|
|
2510
|
+
"state": {
|
|
2511
|
+
"type": "string",
|
|
2512
|
+
"enum": [
|
|
2513
|
+
"idle",
|
|
2514
|
+
"failed",
|
|
2515
|
+
"updating"
|
|
2516
|
+
]
|
|
2517
|
+
},
|
|
2518
|
+
"target": {
|
|
2519
|
+
"type": [
|
|
2520
|
+
"string",
|
|
2521
|
+
"null"
|
|
2522
|
+
]
|
|
2523
|
+
}
|
|
2524
|
+
},
|
|
2525
|
+
"required": [
|
|
2526
|
+
"error",
|
|
2527
|
+
"configured",
|
|
2528
|
+
"state",
|
|
2529
|
+
"target"
|
|
2530
|
+
],
|
|
2531
|
+
"additionalProperties": false
|
|
2532
|
+
},
|
|
2533
|
+
"updateAll": {
|
|
2534
|
+
"$ref": "#/components/schemas/UpdateAllStatus"
|
|
2207
2535
|
}
|
|
2208
2536
|
},
|
|
2209
2537
|
"required": [
|
|
@@ -2213,7 +2541,192 @@
|
|
|
2213
2541
|
"checkEnabled",
|
|
2214
2542
|
"checkedAt",
|
|
2215
2543
|
"installMethod",
|
|
2216
|
-
"hubCommand"
|
|
2544
|
+
"hubCommand",
|
|
2545
|
+
"hubUpdate",
|
|
2546
|
+
"updateAll"
|
|
2547
|
+
],
|
|
2548
|
+
"additionalProperties": false
|
|
2549
|
+
}
|
|
2550
|
+
},
|
|
2551
|
+
"required": [
|
|
2552
|
+
"data"
|
|
2553
|
+
]
|
|
2554
|
+
}
|
|
2555
|
+
},
|
|
2556
|
+
"required": [
|
|
2557
|
+
"result"
|
|
2558
|
+
]
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
"default": {
|
|
2564
|
+
"$ref": "#/components/responses/Error"
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
},
|
|
2569
|
+
"/hosts.updateHub": {
|
|
2570
|
+
"post": {
|
|
2571
|
+
"operationId": "hosts.updateHub",
|
|
2572
|
+
"description": "Runs the admin's `hubUpdate.command` on the hub's machine, detached, and answers at once. The\ncommand usually restarts the hub, so `updateStatus` reports progress after it comes back.",
|
|
2573
|
+
"tags": [
|
|
2574
|
+
"hosts"
|
|
2575
|
+
],
|
|
2576
|
+
"responses": {
|
|
2577
|
+
"200": {
|
|
2578
|
+
"description": "Successful response",
|
|
2579
|
+
"content": {
|
|
2580
|
+
"application/json": {
|
|
2581
|
+
"schema": {
|
|
2582
|
+
"type": "object",
|
|
2583
|
+
"properties": {
|
|
2584
|
+
"result": {
|
|
2585
|
+
"type": "object",
|
|
2586
|
+
"properties": {
|
|
2587
|
+
"data": {
|
|
2588
|
+
"type": "object",
|
|
2589
|
+
"properties": {
|
|
2590
|
+
"target": {
|
|
2591
|
+
"type": "string"
|
|
2592
|
+
}
|
|
2593
|
+
},
|
|
2594
|
+
"required": [
|
|
2595
|
+
"target"
|
|
2596
|
+
],
|
|
2597
|
+
"additionalProperties": false
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
"required": [
|
|
2601
|
+
"data"
|
|
2602
|
+
]
|
|
2603
|
+
}
|
|
2604
|
+
},
|
|
2605
|
+
"required": [
|
|
2606
|
+
"result"
|
|
2607
|
+
]
|
|
2608
|
+
}
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
},
|
|
2612
|
+
"default": {
|
|
2613
|
+
"$ref": "#/components/responses/Error"
|
|
2614
|
+
}
|
|
2615
|
+
},
|
|
2616
|
+
"requestBody": {
|
|
2617
|
+
"required": true,
|
|
2618
|
+
"content": {
|
|
2619
|
+
"application/json": {
|
|
2620
|
+
"schema": {
|
|
2621
|
+
"type": "object",
|
|
2622
|
+
"properties": {
|
|
2623
|
+
"confirmInterruptions": {
|
|
2624
|
+
"type": "boolean"
|
|
2625
|
+
}
|
|
2626
|
+
},
|
|
2627
|
+
"additionalProperties": false
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
},
|
|
2634
|
+
"/hosts.hubInterruptions": {
|
|
2635
|
+
"get": {
|
|
2636
|
+
"operationId": "hosts.hubInterruptions",
|
|
2637
|
+
"description": "The agents a hub restart ends, on all workers, for the confirm dialog and update scripts.",
|
|
2638
|
+
"tags": [
|
|
2639
|
+
"hosts"
|
|
2640
|
+
],
|
|
2641
|
+
"responses": {
|
|
2642
|
+
"200": {
|
|
2643
|
+
"description": "Successful response",
|
|
2644
|
+
"content": {
|
|
2645
|
+
"application/json": {
|
|
2646
|
+
"schema": {
|
|
2647
|
+
"type": "object",
|
|
2648
|
+
"properties": {
|
|
2649
|
+
"result": {
|
|
2650
|
+
"type": "object",
|
|
2651
|
+
"properties": {
|
|
2652
|
+
"data": {
|
|
2653
|
+
"type": "object",
|
|
2654
|
+
"properties": {
|
|
2655
|
+
"agents": {
|
|
2656
|
+
"type": "array",
|
|
2657
|
+
"items": {
|
|
2658
|
+
"type": "object",
|
|
2659
|
+
"properties": {
|
|
2660
|
+
"chatId": {
|
|
2661
|
+
"type": "string"
|
|
2662
|
+
},
|
|
2663
|
+
"worktreeId": {
|
|
2664
|
+
"type": "string"
|
|
2665
|
+
},
|
|
2666
|
+
"busy": {
|
|
2667
|
+
"type": "boolean"
|
|
2668
|
+
}
|
|
2669
|
+
},
|
|
2670
|
+
"required": [
|
|
2671
|
+
"chatId",
|
|
2672
|
+
"worktreeId",
|
|
2673
|
+
"busy"
|
|
2674
|
+
],
|
|
2675
|
+
"additionalProperties": false
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
},
|
|
2679
|
+
"required": [
|
|
2680
|
+
"agents"
|
|
2681
|
+
],
|
|
2682
|
+
"additionalProperties": false
|
|
2683
|
+
}
|
|
2684
|
+
},
|
|
2685
|
+
"required": [
|
|
2686
|
+
"data"
|
|
2687
|
+
]
|
|
2688
|
+
}
|
|
2689
|
+
},
|
|
2690
|
+
"required": [
|
|
2691
|
+
"result"
|
|
2692
|
+
]
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2697
|
+
"default": {
|
|
2698
|
+
"$ref": "#/components/responses/Error"
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
},
|
|
2703
|
+
"/hosts.dismissHubUpdate": {
|
|
2704
|
+
"post": {
|
|
2705
|
+
"operationId": "hosts.dismissHubUpdate",
|
|
2706
|
+
"description": "Dismisses a failed hub update.",
|
|
2707
|
+
"tags": [
|
|
2708
|
+
"hosts"
|
|
2709
|
+
],
|
|
2710
|
+
"responses": {
|
|
2711
|
+
"200": {
|
|
2712
|
+
"description": "Successful response",
|
|
2713
|
+
"content": {
|
|
2714
|
+
"application/json": {
|
|
2715
|
+
"schema": {
|
|
2716
|
+
"type": "object",
|
|
2717
|
+
"properties": {
|
|
2718
|
+
"result": {
|
|
2719
|
+
"type": "object",
|
|
2720
|
+
"properties": {
|
|
2721
|
+
"data": {
|
|
2722
|
+
"type": "object",
|
|
2723
|
+
"properties": {
|
|
2724
|
+
"ok": {
|
|
2725
|
+
"type": "boolean"
|
|
2726
|
+
}
|
|
2727
|
+
},
|
|
2728
|
+
"required": [
|
|
2729
|
+
"ok"
|
|
2217
2730
|
],
|
|
2218
2731
|
"additionalProperties": false
|
|
2219
2732
|
}
|
|
@@ -2236,6 +2749,65 @@
|
|
|
2236
2749
|
}
|
|
2237
2750
|
}
|
|
2238
2751
|
},
|
|
2752
|
+
"/hosts.updateAll": {
|
|
2753
|
+
"post": {
|
|
2754
|
+
"operationId": "hosts.updateAll",
|
|
2755
|
+
"description": "Updates each online worker that is behind, one after the other. Answers at once.",
|
|
2756
|
+
"tags": [
|
|
2757
|
+
"hosts"
|
|
2758
|
+
],
|
|
2759
|
+
"responses": {
|
|
2760
|
+
"200": {
|
|
2761
|
+
"description": "Successful response",
|
|
2762
|
+
"content": {
|
|
2763
|
+
"application/json": {
|
|
2764
|
+
"schema": {
|
|
2765
|
+
"type": "object",
|
|
2766
|
+
"properties": {
|
|
2767
|
+
"result": {
|
|
2768
|
+
"type": "object",
|
|
2769
|
+
"properties": {
|
|
2770
|
+
"data": {
|
|
2771
|
+
"$ref": "#/components/schemas/UpdateAllStatus"
|
|
2772
|
+
}
|
|
2773
|
+
},
|
|
2774
|
+
"required": [
|
|
2775
|
+
"data"
|
|
2776
|
+
]
|
|
2777
|
+
}
|
|
2778
|
+
},
|
|
2779
|
+
"required": [
|
|
2780
|
+
"result"
|
|
2781
|
+
]
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
}
|
|
2785
|
+
},
|
|
2786
|
+
"default": {
|
|
2787
|
+
"$ref": "#/components/responses/Error"
|
|
2788
|
+
}
|
|
2789
|
+
},
|
|
2790
|
+
"requestBody": {
|
|
2791
|
+
"required": true,
|
|
2792
|
+
"content": {
|
|
2793
|
+
"application/json": {
|
|
2794
|
+
"schema": {
|
|
2795
|
+
"type": "object",
|
|
2796
|
+
"properties": {
|
|
2797
|
+
"confirmInterruptions": {
|
|
2798
|
+
"type": "boolean"
|
|
2799
|
+
},
|
|
2800
|
+
"includeHub": {
|
|
2801
|
+
"type": "boolean"
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2804
|
+
"additionalProperties": false
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2239
2811
|
"/hosts.interruptions": {
|
|
2240
2812
|
"get": {
|
|
2241
2813
|
"operationId": "hosts.interruptions",
|
|
@@ -9962,6 +10534,9 @@
|
|
|
9962
10534
|
"properties": {
|
|
9963
10535
|
"worktreeId": {
|
|
9964
10536
|
"type": "string"
|
|
10537
|
+
},
|
|
10538
|
+
"clearUnread": {
|
|
10539
|
+
"type": "boolean"
|
|
9965
10540
|
}
|
|
9966
10541
|
},
|
|
9967
10542
|
"required": [
|
|
@@ -11445,6 +12020,129 @@
|
|
|
11445
12020
|
}
|
|
11446
12021
|
}
|
|
11447
12022
|
},
|
|
12023
|
+
"/simulators.status": {
|
|
12024
|
+
"get": {
|
|
12025
|
+
"operationId": "simulators.status",
|
|
12026
|
+
"description": "Whether the worktree's worker can run a simulator, and the device's state when it can.",
|
|
12027
|
+
"tags": [
|
|
12028
|
+
"simulators"
|
|
12029
|
+
],
|
|
12030
|
+
"responses": {
|
|
12031
|
+
"200": {
|
|
12032
|
+
"description": "Successful response",
|
|
12033
|
+
"content": {
|
|
12034
|
+
"application/json": {
|
|
12035
|
+
"schema": {
|
|
12036
|
+
"type": "object",
|
|
12037
|
+
"properties": {
|
|
12038
|
+
"result": {
|
|
12039
|
+
"type": "object",
|
|
12040
|
+
"properties": {
|
|
12041
|
+
"data": {
|
|
12042
|
+
"$ref": "#/components/schemas/SimulatorStatus"
|
|
12043
|
+
}
|
|
12044
|
+
},
|
|
12045
|
+
"required": [
|
|
12046
|
+
"data"
|
|
12047
|
+
]
|
|
12048
|
+
}
|
|
12049
|
+
},
|
|
12050
|
+
"required": [
|
|
12051
|
+
"result"
|
|
12052
|
+
]
|
|
12053
|
+
}
|
|
12054
|
+
}
|
|
12055
|
+
}
|
|
12056
|
+
},
|
|
12057
|
+
"default": {
|
|
12058
|
+
"$ref": "#/components/responses/Error"
|
|
12059
|
+
}
|
|
12060
|
+
},
|
|
12061
|
+
"parameters": [
|
|
12062
|
+
{
|
|
12063
|
+
"name": "input",
|
|
12064
|
+
"in": "query",
|
|
12065
|
+
"required": true,
|
|
12066
|
+
"style": "deepObject",
|
|
12067
|
+
"content": {
|
|
12068
|
+
"application/json": {
|
|
12069
|
+
"schema": {
|
|
12070
|
+
"type": "object",
|
|
12071
|
+
"properties": {
|
|
12072
|
+
"worktreeId": {
|
|
12073
|
+
"type": "string"
|
|
12074
|
+
}
|
|
12075
|
+
},
|
|
12076
|
+
"required": [
|
|
12077
|
+
"worktreeId"
|
|
12078
|
+
],
|
|
12079
|
+
"additionalProperties": false
|
|
12080
|
+
}
|
|
12081
|
+
}
|
|
12082
|
+
}
|
|
12083
|
+
}
|
|
12084
|
+
]
|
|
12085
|
+
}
|
|
12086
|
+
},
|
|
12087
|
+
"/simulators.open": {
|
|
12088
|
+
"post": {
|
|
12089
|
+
"operationId": "simulators.open",
|
|
12090
|
+
"description": "Boots the worktree's simulator and adds the Simulator tab to the worktree's shared tab list,\nwhich every connected client then opens.",
|
|
12091
|
+
"tags": [
|
|
12092
|
+
"simulators"
|
|
12093
|
+
],
|
|
12094
|
+
"responses": {
|
|
12095
|
+
"200": {
|
|
12096
|
+
"description": "Successful response",
|
|
12097
|
+
"content": {
|
|
12098
|
+
"application/json": {
|
|
12099
|
+
"schema": {
|
|
12100
|
+
"type": "object",
|
|
12101
|
+
"properties": {
|
|
12102
|
+
"result": {
|
|
12103
|
+
"type": "object",
|
|
12104
|
+
"properties": {
|
|
12105
|
+
"data": {
|
|
12106
|
+
"$ref": "#/components/schemas/SimulatorStatus"
|
|
12107
|
+
}
|
|
12108
|
+
},
|
|
12109
|
+
"required": [
|
|
12110
|
+
"data"
|
|
12111
|
+
]
|
|
12112
|
+
}
|
|
12113
|
+
},
|
|
12114
|
+
"required": [
|
|
12115
|
+
"result"
|
|
12116
|
+
]
|
|
12117
|
+
}
|
|
12118
|
+
}
|
|
12119
|
+
}
|
|
12120
|
+
},
|
|
12121
|
+
"default": {
|
|
12122
|
+
"$ref": "#/components/responses/Error"
|
|
12123
|
+
}
|
|
12124
|
+
},
|
|
12125
|
+
"requestBody": {
|
|
12126
|
+
"required": true,
|
|
12127
|
+
"content": {
|
|
12128
|
+
"application/json": {
|
|
12129
|
+
"schema": {
|
|
12130
|
+
"type": "object",
|
|
12131
|
+
"properties": {
|
|
12132
|
+
"worktreeId": {
|
|
12133
|
+
"type": "string"
|
|
12134
|
+
}
|
|
12135
|
+
},
|
|
12136
|
+
"required": [
|
|
12137
|
+
"worktreeId"
|
|
12138
|
+
],
|
|
12139
|
+
"additionalProperties": false
|
|
12140
|
+
}
|
|
12141
|
+
}
|
|
12142
|
+
}
|
|
12143
|
+
}
|
|
12144
|
+
}
|
|
12145
|
+
},
|
|
11448
12146
|
"/reviews.forWorktree": {
|
|
11449
12147
|
"get": {
|
|
11450
12148
|
"operationId": "reviews.forWorktree",
|
|
@@ -11480,11 +12178,15 @@
|
|
|
11480
12178
|
},
|
|
11481
12179
|
"name": {
|
|
11482
12180
|
"type": "string"
|
|
12181
|
+
},
|
|
12182
|
+
"fixHint": {
|
|
12183
|
+
"type": "string"
|
|
11483
12184
|
}
|
|
11484
12185
|
},
|
|
11485
12186
|
"required": [
|
|
11486
12187
|
"id",
|
|
11487
|
-
"name"
|
|
12188
|
+
"name",
|
|
12189
|
+
"fixHint"
|
|
11488
12190
|
],
|
|
11489
12191
|
"additionalProperties": false
|
|
11490
12192
|
},
|
|
@@ -11566,11 +12268,99 @@
|
|
|
11566
12268
|
],
|
|
11567
12269
|
"additionalProperties": false
|
|
11568
12270
|
}
|
|
11569
|
-
],
|
|
11570
|
-
"discriminator": {
|
|
11571
|
-
"propertyName": "status"
|
|
11572
|
-
},
|
|
11573
|
-
"description": "What the core returns for a worktree's review panel: the review for the\nworktree's branch, or when there is none, the checks on the branch."
|
|
12271
|
+
],
|
|
12272
|
+
"discriminator": {
|
|
12273
|
+
"propertyName": "status"
|
|
12274
|
+
},
|
|
12275
|
+
"description": "What the core returns for a worktree's review panel: the review for the\nworktree's branch, or when there is none, the checks on the branch."
|
|
12276
|
+
}
|
|
12277
|
+
},
|
|
12278
|
+
"required": [
|
|
12279
|
+
"data"
|
|
12280
|
+
]
|
|
12281
|
+
}
|
|
12282
|
+
},
|
|
12283
|
+
"required": [
|
|
12284
|
+
"result"
|
|
12285
|
+
]
|
|
12286
|
+
}
|
|
12287
|
+
}
|
|
12288
|
+
}
|
|
12289
|
+
},
|
|
12290
|
+
"default": {
|
|
12291
|
+
"$ref": "#/components/responses/Error"
|
|
12292
|
+
}
|
|
12293
|
+
},
|
|
12294
|
+
"parameters": [
|
|
12295
|
+
{
|
|
12296
|
+
"name": "input",
|
|
12297
|
+
"in": "query",
|
|
12298
|
+
"required": true,
|
|
12299
|
+
"style": "deepObject",
|
|
12300
|
+
"content": {
|
|
12301
|
+
"application/json": {
|
|
12302
|
+
"schema": {
|
|
12303
|
+
"type": "object",
|
|
12304
|
+
"properties": {
|
|
12305
|
+
"worktreeId": {
|
|
12306
|
+
"type": "string"
|
|
12307
|
+
}
|
|
12308
|
+
},
|
|
12309
|
+
"required": [
|
|
12310
|
+
"worktreeId"
|
|
12311
|
+
],
|
|
12312
|
+
"additionalProperties": false
|
|
12313
|
+
}
|
|
12314
|
+
}
|
|
12315
|
+
}
|
|
12316
|
+
}
|
|
12317
|
+
]
|
|
12318
|
+
}
|
|
12319
|
+
},
|
|
12320
|
+
"/reviews.provider": {
|
|
12321
|
+
"get": {
|
|
12322
|
+
"operationId": "reviews.provider",
|
|
12323
|
+
"description": "The provider that serves the worktree's repo, or null. Runs no forge command, so it is cheap to ask.",
|
|
12324
|
+
"tags": [
|
|
12325
|
+
"reviews"
|
|
12326
|
+
],
|
|
12327
|
+
"responses": {
|
|
12328
|
+
"200": {
|
|
12329
|
+
"description": "Successful response",
|
|
12330
|
+
"content": {
|
|
12331
|
+
"application/json": {
|
|
12332
|
+
"schema": {
|
|
12333
|
+
"type": "object",
|
|
12334
|
+
"properties": {
|
|
12335
|
+
"result": {
|
|
12336
|
+
"type": "object",
|
|
12337
|
+
"properties": {
|
|
12338
|
+
"data": {
|
|
12339
|
+
"oneOf": [
|
|
12340
|
+
{
|
|
12341
|
+
"type": "object",
|
|
12342
|
+
"properties": {
|
|
12343
|
+
"id": {
|
|
12344
|
+
"type": "string"
|
|
12345
|
+
},
|
|
12346
|
+
"name": {
|
|
12347
|
+
"type": "string"
|
|
12348
|
+
},
|
|
12349
|
+
"fixHint": {
|
|
12350
|
+
"type": "string"
|
|
12351
|
+
}
|
|
12352
|
+
},
|
|
12353
|
+
"required": [
|
|
12354
|
+
"id",
|
|
12355
|
+
"name",
|
|
12356
|
+
"fixHint"
|
|
12357
|
+
],
|
|
12358
|
+
"additionalProperties": false
|
|
12359
|
+
},
|
|
12360
|
+
{
|
|
12361
|
+
"type": "null"
|
|
12362
|
+
}
|
|
12363
|
+
]
|
|
11574
12364
|
}
|
|
11575
12365
|
},
|
|
11576
12366
|
"required": [
|
|
@@ -11615,10 +12405,93 @@
|
|
|
11615
12405
|
]
|
|
11616
12406
|
}
|
|
11617
12407
|
},
|
|
12408
|
+
"/reviews.runAction": {
|
|
12409
|
+
"post": {
|
|
12410
|
+
"operationId": "reviews.runAction",
|
|
12411
|
+
"description": "Run one of the actions the provider listed in the review's `actions`.",
|
|
12412
|
+
"tags": [
|
|
12413
|
+
"reviews"
|
|
12414
|
+
],
|
|
12415
|
+
"responses": {
|
|
12416
|
+
"200": {
|
|
12417
|
+
"description": "Successful response",
|
|
12418
|
+
"content": {
|
|
12419
|
+
"application/json": {
|
|
12420
|
+
"schema": {
|
|
12421
|
+
"type": "object",
|
|
12422
|
+
"properties": {
|
|
12423
|
+
"result": {
|
|
12424
|
+
"type": "object",
|
|
12425
|
+
"properties": {
|
|
12426
|
+
"data": {
|
|
12427
|
+
"type": "object",
|
|
12428
|
+
"properties": {
|
|
12429
|
+
"ok": {
|
|
12430
|
+
"type": "boolean",
|
|
12431
|
+
"const": true
|
|
12432
|
+
}
|
|
12433
|
+
},
|
|
12434
|
+
"required": [
|
|
12435
|
+
"ok"
|
|
12436
|
+
],
|
|
12437
|
+
"additionalProperties": false
|
|
12438
|
+
}
|
|
12439
|
+
},
|
|
12440
|
+
"required": [
|
|
12441
|
+
"data"
|
|
12442
|
+
]
|
|
12443
|
+
}
|
|
12444
|
+
},
|
|
12445
|
+
"required": [
|
|
12446
|
+
"result"
|
|
12447
|
+
]
|
|
12448
|
+
}
|
|
12449
|
+
}
|
|
12450
|
+
}
|
|
12451
|
+
},
|
|
12452
|
+
"default": {
|
|
12453
|
+
"$ref": "#/components/responses/Error"
|
|
12454
|
+
}
|
|
12455
|
+
},
|
|
12456
|
+
"requestBody": {
|
|
12457
|
+
"required": true,
|
|
12458
|
+
"content": {
|
|
12459
|
+
"application/json": {
|
|
12460
|
+
"schema": {
|
|
12461
|
+
"type": "object",
|
|
12462
|
+
"properties": {
|
|
12463
|
+
"worktreeId": {
|
|
12464
|
+
"type": "string"
|
|
12465
|
+
},
|
|
12466
|
+
"actionId": {
|
|
12467
|
+
"type": "string"
|
|
12468
|
+
},
|
|
12469
|
+
"args": {
|
|
12470
|
+
"type": "object",
|
|
12471
|
+
"additionalProperties": {
|
|
12472
|
+
"type": [
|
|
12473
|
+
"string",
|
|
12474
|
+
"number",
|
|
12475
|
+
"boolean"
|
|
12476
|
+
]
|
|
12477
|
+
}
|
|
12478
|
+
}
|
|
12479
|
+
},
|
|
12480
|
+
"required": [
|
|
12481
|
+
"worktreeId",
|
|
12482
|
+
"actionId"
|
|
12483
|
+
],
|
|
12484
|
+
"additionalProperties": false
|
|
12485
|
+
}
|
|
12486
|
+
}
|
|
12487
|
+
}
|
|
12488
|
+
}
|
|
12489
|
+
}
|
|
12490
|
+
},
|
|
11618
12491
|
"/reviews.merge": {
|
|
11619
12492
|
"post": {
|
|
11620
12493
|
"operationId": "reviews.merge",
|
|
11621
|
-
"description": "Merge the worktree branch's open review.",
|
|
12494
|
+
"description": "Merge the worktree branch's open review. Wraps the `merge` action.",
|
|
11622
12495
|
"tags": [
|
|
11623
12496
|
"reviews"
|
|
11624
12497
|
],
|
|
@@ -13201,6 +14074,15 @@
|
|
|
13201
14074
|
},
|
|
13202
14075
|
"additionalProperties": {}
|
|
13203
14076
|
},
|
|
14077
|
+
"hubUpdate": {
|
|
14078
|
+
"type": "object",
|
|
14079
|
+
"properties": {
|
|
14080
|
+
"command": {
|
|
14081
|
+
"type": "string"
|
|
14082
|
+
}
|
|
14083
|
+
},
|
|
14084
|
+
"additionalProperties": {}
|
|
14085
|
+
},
|
|
13204
14086
|
"environmentBuilder": {
|
|
13205
14087
|
"type": "object",
|
|
13206
14088
|
"properties": {
|
|
@@ -13534,6 +14416,17 @@
|
|
|
13534
14416
|
],
|
|
13535
14417
|
"description": "The group the worktree is in, or null for Ungrouped."
|
|
13536
14418
|
},
|
|
14419
|
+
"unread": {
|
|
14420
|
+
"type": "boolean",
|
|
14421
|
+
"description": "Marked unread by a person; shown as a dot until the worktree is opened or marked read."
|
|
14422
|
+
},
|
|
14423
|
+
"title": {
|
|
14424
|
+
"type": [
|
|
14425
|
+
"string",
|
|
14426
|
+
"null"
|
|
14427
|
+
],
|
|
14428
|
+
"description": "The worktree's custom title, or null to show its name."
|
|
14429
|
+
},
|
|
13537
14430
|
"origin": {
|
|
13538
14431
|
"oneOf": [
|
|
13539
14432
|
{
|
|
@@ -13562,6 +14455,8 @@
|
|
|
13562
14455
|
"worktreeId",
|
|
13563
14456
|
"agent",
|
|
13564
14457
|
"groupId",
|
|
14458
|
+
"unread",
|
|
14459
|
+
"title",
|
|
13565
14460
|
"origin",
|
|
13566
14461
|
"children"
|
|
13567
14462
|
],
|
|
@@ -14890,8 +15785,175 @@
|
|
|
14890
15785
|
}
|
|
14891
15786
|
},
|
|
14892
15787
|
"required": [
|
|
14893
|
-
"order",
|
|
14894
|
-
"scope"
|
|
15788
|
+
"order",
|
|
15789
|
+
"scope"
|
|
15790
|
+
],
|
|
15791
|
+
"additionalProperties": false
|
|
15792
|
+
}
|
|
15793
|
+
}
|
|
15794
|
+
}
|
|
15795
|
+
}
|
|
15796
|
+
}
|
|
15797
|
+
},
|
|
15798
|
+
"/worktrees.setOrigin": {
|
|
15799
|
+
"post": {
|
|
15800
|
+
"operationId": "worktrees.setOrigin",
|
|
15801
|
+
"tags": [
|
|
15802
|
+
"worktrees"
|
|
15803
|
+
],
|
|
15804
|
+
"responses": {
|
|
15805
|
+
"200": {
|
|
15806
|
+
"description": "Successful response",
|
|
15807
|
+
"content": {
|
|
15808
|
+
"application/json": {
|
|
15809
|
+
"schema": {
|
|
15810
|
+
"type": "object",
|
|
15811
|
+
"properties": {
|
|
15812
|
+
"result": {
|
|
15813
|
+
"type": "object",
|
|
15814
|
+
"properties": {
|
|
15815
|
+
"data": {
|
|
15816
|
+
"type": "object",
|
|
15817
|
+
"properties": {
|
|
15818
|
+
"ok": {
|
|
15819
|
+
"type": "boolean",
|
|
15820
|
+
"const": true
|
|
15821
|
+
}
|
|
15822
|
+
},
|
|
15823
|
+
"required": [
|
|
15824
|
+
"ok"
|
|
15825
|
+
],
|
|
15826
|
+
"additionalProperties": false
|
|
15827
|
+
}
|
|
15828
|
+
},
|
|
15829
|
+
"required": [
|
|
15830
|
+
"data"
|
|
15831
|
+
]
|
|
15832
|
+
}
|
|
15833
|
+
},
|
|
15834
|
+
"required": [
|
|
15835
|
+
"result"
|
|
15836
|
+
]
|
|
15837
|
+
}
|
|
15838
|
+
}
|
|
15839
|
+
}
|
|
15840
|
+
},
|
|
15841
|
+
"default": {
|
|
15842
|
+
"$ref": "#/components/responses/Error"
|
|
15843
|
+
}
|
|
15844
|
+
},
|
|
15845
|
+
"requestBody": {
|
|
15846
|
+
"required": true,
|
|
15847
|
+
"content": {
|
|
15848
|
+
"application/json": {
|
|
15849
|
+
"schema": {
|
|
15850
|
+
"type": "object",
|
|
15851
|
+
"properties": {
|
|
15852
|
+
"name": {
|
|
15853
|
+
"type": "string"
|
|
15854
|
+
},
|
|
15855
|
+
"repo": {
|
|
15856
|
+
"type": "string"
|
|
15857
|
+
},
|
|
15858
|
+
"origin": {
|
|
15859
|
+
"type": [
|
|
15860
|
+
"string",
|
|
15861
|
+
"null"
|
|
15862
|
+
]
|
|
15863
|
+
},
|
|
15864
|
+
"hostId": {
|
|
15865
|
+
"type": "string"
|
|
15866
|
+
}
|
|
15867
|
+
},
|
|
15868
|
+
"required": [
|
|
15869
|
+
"name",
|
|
15870
|
+
"repo",
|
|
15871
|
+
"origin"
|
|
15872
|
+
],
|
|
15873
|
+
"additionalProperties": false
|
|
15874
|
+
}
|
|
15875
|
+
}
|
|
15876
|
+
}
|
|
15877
|
+
}
|
|
15878
|
+
}
|
|
15879
|
+
},
|
|
15880
|
+
"/worktrees.setGroup": {
|
|
15881
|
+
"post": {
|
|
15882
|
+
"operationId": "worktrees.setGroup",
|
|
15883
|
+
"tags": [
|
|
15884
|
+
"worktrees"
|
|
15885
|
+
],
|
|
15886
|
+
"responses": {
|
|
15887
|
+
"200": {
|
|
15888
|
+
"description": "Successful response",
|
|
15889
|
+
"content": {
|
|
15890
|
+
"application/json": {
|
|
15891
|
+
"schema": {
|
|
15892
|
+
"type": "object",
|
|
15893
|
+
"properties": {
|
|
15894
|
+
"result": {
|
|
15895
|
+
"type": "object",
|
|
15896
|
+
"properties": {
|
|
15897
|
+
"data": {
|
|
15898
|
+
"type": "object",
|
|
15899
|
+
"properties": {
|
|
15900
|
+
"ok": {
|
|
15901
|
+
"type": "boolean",
|
|
15902
|
+
"const": true
|
|
15903
|
+
},
|
|
15904
|
+
"moved": {
|
|
15905
|
+
"type": "array",
|
|
15906
|
+
"items": {
|
|
15907
|
+
"type": "string"
|
|
15908
|
+
}
|
|
15909
|
+
}
|
|
15910
|
+
},
|
|
15911
|
+
"required": [
|
|
15912
|
+
"ok",
|
|
15913
|
+
"moved"
|
|
15914
|
+
],
|
|
15915
|
+
"additionalProperties": false
|
|
15916
|
+
}
|
|
15917
|
+
},
|
|
15918
|
+
"required": [
|
|
15919
|
+
"data"
|
|
15920
|
+
]
|
|
15921
|
+
}
|
|
15922
|
+
},
|
|
15923
|
+
"required": [
|
|
15924
|
+
"result"
|
|
15925
|
+
]
|
|
15926
|
+
}
|
|
15927
|
+
}
|
|
15928
|
+
}
|
|
15929
|
+
},
|
|
15930
|
+
"default": {
|
|
15931
|
+
"$ref": "#/components/responses/Error"
|
|
15932
|
+
}
|
|
15933
|
+
},
|
|
15934
|
+
"requestBody": {
|
|
15935
|
+
"required": true,
|
|
15936
|
+
"content": {
|
|
15937
|
+
"application/json": {
|
|
15938
|
+
"schema": {
|
|
15939
|
+
"type": "object",
|
|
15940
|
+
"properties": {
|
|
15941
|
+
"worktreeId": {
|
|
15942
|
+
"type": "string"
|
|
15943
|
+
},
|
|
15944
|
+
"groupId": {
|
|
15945
|
+
"type": [
|
|
15946
|
+
"string",
|
|
15947
|
+
"null"
|
|
15948
|
+
]
|
|
15949
|
+
},
|
|
15950
|
+
"withChildren": {
|
|
15951
|
+
"type": "boolean"
|
|
15952
|
+
}
|
|
15953
|
+
},
|
|
15954
|
+
"required": [
|
|
15955
|
+
"worktreeId",
|
|
15956
|
+
"groupId"
|
|
14895
15957
|
],
|
|
14896
15958
|
"additionalProperties": false
|
|
14897
15959
|
}
|
|
@@ -14900,9 +15962,9 @@
|
|
|
14900
15962
|
}
|
|
14901
15963
|
}
|
|
14902
15964
|
},
|
|
14903
|
-
"/worktrees.
|
|
15965
|
+
"/worktrees.setUnread": {
|
|
14904
15966
|
"post": {
|
|
14905
|
-
"operationId": "worktrees.
|
|
15967
|
+
"operationId": "worktrees.setUnread",
|
|
14906
15968
|
"tags": [
|
|
14907
15969
|
"worktrees"
|
|
14908
15970
|
],
|
|
@@ -14954,26 +16016,19 @@
|
|
|
14954
16016
|
"schema": {
|
|
14955
16017
|
"type": "object",
|
|
14956
16018
|
"properties": {
|
|
14957
|
-
"
|
|
14958
|
-
"type": "string"
|
|
14959
|
-
},
|
|
14960
|
-
"repo": {
|
|
16019
|
+
"worktreeId": {
|
|
14961
16020
|
"type": "string"
|
|
14962
16021
|
},
|
|
14963
|
-
"
|
|
14964
|
-
"type":
|
|
14965
|
-
"string",
|
|
14966
|
-
"null"
|
|
14967
|
-
]
|
|
16022
|
+
"unread": {
|
|
16023
|
+
"type": "boolean"
|
|
14968
16024
|
},
|
|
14969
16025
|
"hostId": {
|
|
14970
16026
|
"type": "string"
|
|
14971
16027
|
}
|
|
14972
16028
|
},
|
|
14973
16029
|
"required": [
|
|
14974
|
-
"
|
|
14975
|
-
"
|
|
14976
|
-
"origin"
|
|
16030
|
+
"worktreeId",
|
|
16031
|
+
"unread"
|
|
14977
16032
|
],
|
|
14978
16033
|
"additionalProperties": false
|
|
14979
16034
|
}
|
|
@@ -14982,9 +16037,9 @@
|
|
|
14982
16037
|
}
|
|
14983
16038
|
}
|
|
14984
16039
|
},
|
|
14985
|
-
"/worktrees.
|
|
16040
|
+
"/worktrees.setTitle": {
|
|
14986
16041
|
"post": {
|
|
14987
|
-
"operationId": "worktrees.
|
|
16042
|
+
"operationId": "worktrees.setTitle",
|
|
14988
16043
|
"tags": [
|
|
14989
16044
|
"worktrees"
|
|
14990
16045
|
],
|
|
@@ -15006,16 +16061,16 @@
|
|
|
15006
16061
|
"type": "boolean",
|
|
15007
16062
|
"const": true
|
|
15008
16063
|
},
|
|
15009
|
-
"
|
|
15010
|
-
"type":
|
|
15011
|
-
|
|
15012
|
-
"
|
|
15013
|
-
|
|
16064
|
+
"title": {
|
|
16065
|
+
"type": [
|
|
16066
|
+
"string",
|
|
16067
|
+
"null"
|
|
16068
|
+
]
|
|
15014
16069
|
}
|
|
15015
16070
|
},
|
|
15016
16071
|
"required": [
|
|
15017
16072
|
"ok",
|
|
15018
|
-
"
|
|
16073
|
+
"title"
|
|
15019
16074
|
],
|
|
15020
16075
|
"additionalProperties": false
|
|
15021
16076
|
}
|
|
@@ -15046,19 +16101,16 @@
|
|
|
15046
16101
|
"worktreeId": {
|
|
15047
16102
|
"type": "string"
|
|
15048
16103
|
},
|
|
15049
|
-
"
|
|
16104
|
+
"title": {
|
|
15050
16105
|
"type": [
|
|
15051
16106
|
"string",
|
|
15052
16107
|
"null"
|
|
15053
16108
|
]
|
|
15054
|
-
},
|
|
15055
|
-
"withChildren": {
|
|
15056
|
-
"type": "boolean"
|
|
15057
16109
|
}
|
|
15058
16110
|
},
|
|
15059
16111
|
"required": [
|
|
15060
16112
|
"worktreeId",
|
|
15061
|
-
"
|
|
16113
|
+
"title"
|
|
15062
16114
|
],
|
|
15063
16115
|
"additionalProperties": false
|
|
15064
16116
|
}
|
|
@@ -19042,7 +20094,87 @@
|
|
|
19042
20094
|
"chats": {
|
|
19043
20095
|
"type": "array",
|
|
19044
20096
|
"items": {
|
|
19045
|
-
"
|
|
20097
|
+
"type": "object",
|
|
20098
|
+
"properties": {
|
|
20099
|
+
"lastActivityAt": {
|
|
20100
|
+
"type": [
|
|
20101
|
+
"number",
|
|
20102
|
+
"null"
|
|
20103
|
+
]
|
|
20104
|
+
},
|
|
20105
|
+
"stalled": {
|
|
20106
|
+
"type": "boolean"
|
|
20107
|
+
},
|
|
20108
|
+
"id": {
|
|
20109
|
+
"type": "string"
|
|
20110
|
+
},
|
|
20111
|
+
"worktreeId": {
|
|
20112
|
+
"type": "string"
|
|
20113
|
+
},
|
|
20114
|
+
"name": {
|
|
20115
|
+
"type": "string"
|
|
20116
|
+
},
|
|
20117
|
+
"agent": {
|
|
20118
|
+
"type": "string"
|
|
20119
|
+
},
|
|
20120
|
+
"model": {
|
|
20121
|
+
"type": "string"
|
|
20122
|
+
},
|
|
20123
|
+
"mode": {
|
|
20124
|
+
"type": "string"
|
|
20125
|
+
},
|
|
20126
|
+
"activeSessionId": {
|
|
20127
|
+
"type": "string"
|
|
20128
|
+
},
|
|
20129
|
+
"activeSessionSummary": {
|
|
20130
|
+
"type": "string"
|
|
20131
|
+
},
|
|
20132
|
+
"activeSessionLastModified": {
|
|
20133
|
+
"type": "number"
|
|
20134
|
+
},
|
|
20135
|
+
"status": {
|
|
20136
|
+
"type": "string",
|
|
20137
|
+
"enum": [
|
|
20138
|
+
"error",
|
|
20139
|
+
"running",
|
|
20140
|
+
"idle",
|
|
20141
|
+
"stopped"
|
|
20142
|
+
],
|
|
20143
|
+
"description": "Chat status as persisted in the `state` JSON blob's `status` field.\n\nMirrors the runtime status the chat-service hands the dashboard. Stored\non disk so a server restart can deterministically reset every chat to\n`\"idle\"` (see `resetAllToIdle`)."
|
|
20144
|
+
},
|
|
20145
|
+
"labels": {
|
|
20146
|
+
"type": "object",
|
|
20147
|
+
"additionalProperties": {
|
|
20148
|
+
"type": "string"
|
|
20149
|
+
}
|
|
20150
|
+
},
|
|
20151
|
+
"ownerHostId": {
|
|
20152
|
+
"type": "string",
|
|
20153
|
+
"description": "The worker that runs this chat and replicates it to the hub, or\nundefined when the hub runs it."
|
|
20154
|
+
},
|
|
20155
|
+
"loginId": {
|
|
20156
|
+
"type": "string",
|
|
20157
|
+
"description": "The agent login (`agentLogins`) this chat picked, or undefined for the repo's or the agent's default."
|
|
20158
|
+
}
|
|
20159
|
+
},
|
|
20160
|
+
"required": [
|
|
20161
|
+
"lastActivityAt",
|
|
20162
|
+
"stalled",
|
|
20163
|
+
"id",
|
|
20164
|
+
"worktreeId",
|
|
20165
|
+
"name",
|
|
20166
|
+
"agent",
|
|
20167
|
+
"model",
|
|
20168
|
+
"mode",
|
|
20169
|
+
"activeSessionId",
|
|
20170
|
+
"activeSessionSummary",
|
|
20171
|
+
"activeSessionLastModified",
|
|
20172
|
+
"status",
|
|
20173
|
+
"labels",
|
|
20174
|
+
"ownerHostId",
|
|
20175
|
+
"loginId"
|
|
20176
|
+
],
|
|
20177
|
+
"additionalProperties": false
|
|
19046
20178
|
}
|
|
19047
20179
|
}
|
|
19048
20180
|
},
|
|
@@ -23255,6 +24387,59 @@
|
|
|
23255
24387
|
],
|
|
23256
24388
|
"additionalProperties": false
|
|
23257
24389
|
},
|
|
24390
|
+
"UpdateAllStatus": {
|
|
24391
|
+
"type": "object",
|
|
24392
|
+
"properties": {
|
|
24393
|
+
"running": {
|
|
24394
|
+
"type": "boolean"
|
|
24395
|
+
},
|
|
24396
|
+
"results": {
|
|
24397
|
+
"type": "array",
|
|
24398
|
+
"items": {
|
|
24399
|
+
"$ref": "#/components/schemas/UpdateAllEntry"
|
|
24400
|
+
}
|
|
24401
|
+
}
|
|
24402
|
+
},
|
|
24403
|
+
"required": [
|
|
24404
|
+
"running",
|
|
24405
|
+
"results"
|
|
24406
|
+
],
|
|
24407
|
+
"additionalProperties": false
|
|
24408
|
+
},
|
|
24409
|
+
"UpdateAllEntry": {
|
|
24410
|
+
"type": "object",
|
|
24411
|
+
"properties": {
|
|
24412
|
+
"hostId": {
|
|
24413
|
+
"type": "string"
|
|
24414
|
+
},
|
|
24415
|
+
"name": {
|
|
24416
|
+
"type": "string"
|
|
24417
|
+
},
|
|
24418
|
+
"state": {
|
|
24419
|
+
"type": "string",
|
|
24420
|
+
"enum": [
|
|
24421
|
+
"failed",
|
|
24422
|
+
"updating",
|
|
24423
|
+
"pending",
|
|
24424
|
+
"updated",
|
|
24425
|
+
"skipped"
|
|
24426
|
+
]
|
|
24427
|
+
},
|
|
24428
|
+
"message": {
|
|
24429
|
+
"type": [
|
|
24430
|
+
"string",
|
|
24431
|
+
"null"
|
|
24432
|
+
]
|
|
24433
|
+
}
|
|
24434
|
+
},
|
|
24435
|
+
"required": [
|
|
24436
|
+
"hostId",
|
|
24437
|
+
"name",
|
|
24438
|
+
"state",
|
|
24439
|
+
"message"
|
|
24440
|
+
],
|
|
24441
|
+
"additionalProperties": false
|
|
24442
|
+
},
|
|
23258
24443
|
"FsBrowseResult": {
|
|
23259
24444
|
"type": "object",
|
|
23260
24445
|
"properties": {
|
|
@@ -25764,7 +26949,10 @@
|
|
|
25764
26949
|
"type": "array",
|
|
25765
26950
|
"items": {
|
|
25766
26951
|
"type": "string",
|
|
25767
|
-
"
|
|
26952
|
+
"enum": [
|
|
26953
|
+
"worktree.sideTabs",
|
|
26954
|
+
"worktree.panels"
|
|
26955
|
+
]
|
|
25768
26956
|
}
|
|
25769
26957
|
}
|
|
25770
26958
|
},
|
|
@@ -25778,6 +26966,71 @@
|
|
|
25778
26966
|
],
|
|
25779
26967
|
"additionalProperties": false
|
|
25780
26968
|
},
|
|
26969
|
+
"SimulatorStatus": {
|
|
26970
|
+
"type": "object",
|
|
26971
|
+
"properties": {
|
|
26972
|
+
"available": {
|
|
26973
|
+
"type": "boolean",
|
|
26974
|
+
"description": "The worktree's worker is online and can run a simulator."
|
|
26975
|
+
},
|
|
26976
|
+
"reason": {
|
|
26977
|
+
"type": "string",
|
|
26978
|
+
"description": "Why not, when `available` is false."
|
|
26979
|
+
},
|
|
26980
|
+
"hostId": {
|
|
26981
|
+
"type": "string"
|
|
26982
|
+
},
|
|
26983
|
+
"device": {
|
|
26984
|
+
"type": "object",
|
|
26985
|
+
"properties": {
|
|
26986
|
+
"udid": {
|
|
26987
|
+
"type": "string"
|
|
26988
|
+
},
|
|
26989
|
+
"name": {
|
|
26990
|
+
"type": "string"
|
|
26991
|
+
},
|
|
26992
|
+
"state": {
|
|
26993
|
+
"type": "string"
|
|
26994
|
+
},
|
|
26995
|
+
"screen": {
|
|
26996
|
+
"oneOf": [
|
|
26997
|
+
{
|
|
26998
|
+
"type": "object",
|
|
26999
|
+
"properties": {
|
|
27000
|
+
"width": {
|
|
27001
|
+
"type": "number"
|
|
27002
|
+
},
|
|
27003
|
+
"height": {
|
|
27004
|
+
"type": "number"
|
|
27005
|
+
}
|
|
27006
|
+
},
|
|
27007
|
+
"required": [
|
|
27008
|
+
"width",
|
|
27009
|
+
"height"
|
|
27010
|
+
],
|
|
27011
|
+
"additionalProperties": false
|
|
27012
|
+
},
|
|
27013
|
+
{
|
|
27014
|
+
"type": "null"
|
|
27015
|
+
}
|
|
27016
|
+
]
|
|
27017
|
+
}
|
|
27018
|
+
},
|
|
27019
|
+
"required": [
|
|
27020
|
+
"udid",
|
|
27021
|
+
"name",
|
|
27022
|
+
"state",
|
|
27023
|
+
"screen"
|
|
27024
|
+
],
|
|
27025
|
+
"additionalProperties": false
|
|
27026
|
+
}
|
|
27027
|
+
},
|
|
27028
|
+
"required": [
|
|
27029
|
+
"available",
|
|
27030
|
+
"hostId"
|
|
27031
|
+
],
|
|
27032
|
+
"additionalProperties": false
|
|
27033
|
+
},
|
|
25781
27034
|
"RepoInfo": {
|
|
25782
27035
|
"type": "object",
|
|
25783
27036
|
"properties": {
|
|
@@ -25859,6 +27112,13 @@
|
|
|
25859
27112
|
},
|
|
25860
27113
|
"discussion": {
|
|
25861
27114
|
"$ref": "#/components/schemas/ReviewDiscussion"
|
|
27115
|
+
},
|
|
27116
|
+
"actions": {
|
|
27117
|
+
"type": "array",
|
|
27118
|
+
"items": {
|
|
27119
|
+
"$ref": "#/components/schemas/ReviewAction"
|
|
27120
|
+
},
|
|
27121
|
+
"description": "What the person may do to this review now."
|
|
25862
27122
|
}
|
|
25863
27123
|
},
|
|
25864
27124
|
"required": [
|
|
@@ -25869,7 +27129,8 @@
|
|
|
25869
27129
|
"updatedAt",
|
|
25870
27130
|
"reviewDecision",
|
|
25871
27131
|
"mergeState",
|
|
25872
|
-
"checks"
|
|
27132
|
+
"checks",
|
|
27133
|
+
"actions"
|
|
25873
27134
|
],
|
|
25874
27135
|
"additionalProperties": false
|
|
25875
27136
|
},
|
|
@@ -25900,6 +27161,13 @@
|
|
|
25900
27161
|
"items": {
|
|
25901
27162
|
"$ref": "#/components/schemas/CheckRun"
|
|
25902
27163
|
}
|
|
27164
|
+
},
|
|
27165
|
+
"actions": {
|
|
27166
|
+
"type": "array",
|
|
27167
|
+
"items": {
|
|
27168
|
+
"$ref": "#/components/schemas/ReviewAction"
|
|
27169
|
+
},
|
|
27170
|
+
"description": "What a person can do to these checks, e.g. re-run a job. A review's `actions` repeat them;\na branch with no review has only these."
|
|
25903
27171
|
}
|
|
25904
27172
|
},
|
|
25905
27173
|
"required": [
|
|
@@ -25995,6 +27263,64 @@
|
|
|
25995
27263
|
],
|
|
25996
27264
|
"additionalProperties": false
|
|
25997
27265
|
},
|
|
27266
|
+
"ReviewAction": {
|
|
27267
|
+
"type": "object",
|
|
27268
|
+
"properties": {
|
|
27269
|
+
"id": {
|
|
27270
|
+
"type": "string"
|
|
27271
|
+
},
|
|
27272
|
+
"label": {
|
|
27273
|
+
"type": "string"
|
|
27274
|
+
},
|
|
27275
|
+
"icon": {
|
|
27276
|
+
"type": "string",
|
|
27277
|
+
"enum": [
|
|
27278
|
+
"ready",
|
|
27279
|
+
"rerun",
|
|
27280
|
+
"merge"
|
|
27281
|
+
],
|
|
27282
|
+
"description": "The icons an action may name. A fixed set, so the core draws every icon itself."
|
|
27283
|
+
},
|
|
27284
|
+
"placement": {
|
|
27285
|
+
"type": "string",
|
|
27286
|
+
"enum": [
|
|
27287
|
+
"check",
|
|
27288
|
+
"header"
|
|
27289
|
+
],
|
|
27290
|
+
"description": "`header` shows in the panel's header. `check` belongs to one check row; its `args.checkId`\nnames the `CheckRun.id`. A `header` action with the `rerun` icon appears in the failing\nchecks banner instead."
|
|
27291
|
+
},
|
|
27292
|
+
"group": {
|
|
27293
|
+
"type": "string",
|
|
27294
|
+
"description": "Header actions with the same group show as one split button, the first being the default."
|
|
27295
|
+
},
|
|
27296
|
+
"args": {
|
|
27297
|
+
"type": "object",
|
|
27298
|
+
"additionalProperties": {
|
|
27299
|
+
"type": [
|
|
27300
|
+
"string",
|
|
27301
|
+
"number",
|
|
27302
|
+
"boolean"
|
|
27303
|
+
]
|
|
27304
|
+
},
|
|
27305
|
+
"description": "Argument values an action carries. Plain JSON only."
|
|
27306
|
+
},
|
|
27307
|
+
"confirm": {
|
|
27308
|
+
"type": "string",
|
|
27309
|
+
"description": "When set, the core asks for confirmation with this text before it runs the action."
|
|
27310
|
+
},
|
|
27311
|
+
"disabledReason": {
|
|
27312
|
+
"type": "string",
|
|
27313
|
+
"description": "When set, the action is shown but cannot run, and this says why."
|
|
27314
|
+
}
|
|
27315
|
+
},
|
|
27316
|
+
"required": [
|
|
27317
|
+
"id",
|
|
27318
|
+
"label",
|
|
27319
|
+
"icon",
|
|
27320
|
+
"placement"
|
|
27321
|
+
],
|
|
27322
|
+
"additionalProperties": false
|
|
27323
|
+
},
|
|
25998
27324
|
"Reviewer": {
|
|
25999
27325
|
"type": "object",
|
|
26000
27326
|
"properties": {
|
|
@@ -26757,6 +28083,14 @@
|
|
|
26757
28083
|
"type": "string",
|
|
26758
28084
|
"description": "The group the worktree is in (`worktree_groups.id`). Read-only here like `origin`: `saveAll`\nkeeps what the database holds, and `RepoQueries.setGroup` writes it."
|
|
26759
28085
|
},
|
|
28086
|
+
"unread": {
|
|
28087
|
+
"type": "boolean",
|
|
28088
|
+
"description": "Marked unread by a person. Read-only here like `groupId`: `saveAll` keeps what the database\nholds, and `RepoQueries.setUnread` writes it."
|
|
28089
|
+
},
|
|
28090
|
+
"title": {
|
|
28091
|
+
"type": "string",
|
|
28092
|
+
"description": "A custom title shown in place of the name. Read-only here like `groupId`: `saveAll` keeps\nwhat the database holds, and `RepoQueries.setTitle` writes it."
|
|
28093
|
+
},
|
|
26760
28094
|
"supersededBy": {
|
|
26761
28095
|
"type": "string",
|
|
26762
28096
|
"description": "The id of the worktree that replaced this one when it was restored on another host. The copy\nstays on its host untouched. Read-only here: `saveAll` keeps what the database holds, and\n`RepoQueries.setSupersededBy` writes it."
|