@band-app/server 0.58.0 → 0.59.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.
Files changed (131) hide show
  1. package/dist/client/_shell.html +0 -0
  2. package/dist/client/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  3. package/dist/client/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  4. package/dist/client/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  5. package/dist/client/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  6. package/dist/client/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  7. package/dist/client/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  8. package/dist/client/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  9. package/dist/client/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  10. package/dist/client/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  11. package/dist/client/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  12. package/dist/client/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  13. package/dist/client/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  14. package/dist/client/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  15. package/dist/client/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  16. package/dist/client/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  17. package/dist/client/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  18. package/dist/client/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  19. package/dist/client/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  20. package/dist/client/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  21. package/dist/client/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  22. package/dist/client/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  23. package/dist/client/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  24. package/dist/client/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  25. package/dist/client/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  26. package/dist/client/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  27. package/dist/client/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  28. package/dist/client/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  29. package/dist/client/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  30. package/dist/client/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  31. package/dist/client/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  32. package/dist/client/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  33. package/dist/client/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  34. package/dist/client/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  35. package/dist/client/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  36. package/dist/client/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  37. package/dist/client/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  38. package/dist/client/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  39. package/dist/client/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  40. package/dist/client/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  41. package/dist/client/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  42. package/dist/client/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  43. package/dist/client/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  44. package/dist/client/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  45. package/dist/client/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  46. package/dist/client/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  47. package/dist/client/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  48. package/dist/client/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  49. package/dist/client/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  50. package/dist/client/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  51. package/dist/client/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  52. package/dist/client/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  53. package/dist/client/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  54. package/dist/client/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  55. package/dist/client/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  56. package/dist/client/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  57. package/dist/client/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  58. package/dist/client/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  59. package/dist/client/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  60. package/dist/client/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  61. package/dist/client/assets/{TerminalPanel-DZpYM-2e.js → TerminalPanel-Dls8_vGY.js} +1 -1
  62. package/dist/client/assets/{_basePickBy-6zU_l56i.js → _basePickBy-B5gHumRZ.js} +1 -1
  63. package/dist/client/assets/{_baseUniq-BmNIWTzJ.js → _baseUniq-Bk4j3bVH.js} +1 -1
  64. package/dist/client/assets/{arc-C2guaHsn.js → arc-BE7I7FD7.js} +1 -1
  65. package/dist/client/assets/{architectureDiagram-VXUJARFQ-CC-6zRwy.js → architectureDiagram-VXUJARFQ-BBWBwpgm.js} +1 -1
  66. package/dist/client/assets/{blockDiagram-VD42YOAC-SUU89nqx.js → blockDiagram-VD42YOAC-CfFgUppR.js} +1 -1
  67. package/dist/client/assets/{c4Diagram-YG6GDRKO-Brqvl68E.js → c4Diagram-YG6GDRKO-ClgEIcXl.js} +1 -1
  68. package/dist/client/assets/channel-CLuseuD8.js +1 -0
  69. package/dist/client/assets/{chunk-4BX2VUAB-aSJIRJbo.js → chunk-4BX2VUAB-BTsFCzlB.js} +1 -1
  70. package/dist/client/assets/{chunk-55IACEB6-Be_ygmcl.js → chunk-55IACEB6-HURI4nLM.js} +1 -1
  71. package/dist/client/assets/{chunk-B4BG7PRW-DO9kuFIX.js → chunk-B4BG7PRW-rC-ot-Mn.js} +1 -1
  72. package/dist/client/assets/{chunk-DI55MBZ5-Cs6PrThE.js → chunk-DI55MBZ5-C2_9NN7e.js} +1 -1
  73. package/dist/client/assets/{chunk-FMBD7UC4-NBjR-LSj.js → chunk-FMBD7UC4-CyCfpT3p.js} +1 -1
  74. package/dist/client/assets/{chunk-QN33PNHL-CthBcGPW.js → chunk-QN33PNHL-BbkJTAOV.js} +1 -1
  75. package/dist/client/assets/{chunk-QZHKN3VN-DFzP7rYv.js → chunk-QZHKN3VN-BSdemm5A.js} +1 -1
  76. package/dist/client/assets/{chunk-TZMSLE5B-BtqUkL_w.js → chunk-TZMSLE5B-D4wvd9Yu.js} +1 -1
  77. package/dist/client/assets/classDiagram-2ON5EDUG-PhOyZKeC.js +1 -0
  78. package/dist/client/assets/classDiagram-v2-WZHVMYZB-PhOyZKeC.js +1 -0
  79. package/dist/client/assets/clone-CMv9qsOc.js +1 -0
  80. package/dist/client/assets/{cose-bilkent-S5V4N54A-DhyKm2TQ.js → cose-bilkent-S5V4N54A-J0yf-ZRd.js} +1 -1
  81. package/dist/client/assets/{dagre-6UL2VRFP-NY1AKNho.js → dagre-6UL2VRFP-D2ktTA5V.js} +1 -1
  82. package/dist/client/assets/{diagram-PSM6KHXK-CCYOdCnq.js → diagram-PSM6KHXK-DlQLNiTP.js} +1 -1
  83. package/dist/client/assets/{diagram-QEK2KX5R-EcSNtDiG.js → diagram-QEK2KX5R-oY37vdEd.js} +1 -1
  84. package/dist/client/assets/{diagram-S2PKOQOG-Cvp7SMU7.js → diagram-S2PKOQOG-DaOX0asw.js} +1 -1
  85. package/dist/client/assets/{erDiagram-Q2GNP2WA-BF1T1k5o.js → erDiagram-Q2GNP2WA-BeewDnEp.js} +1 -1
  86. package/dist/client/assets/{flowDiagram-NV44I4VS-PZ3CeJSZ.js → flowDiagram-NV44I4VS-CgEQ2bXi.js} +1 -1
  87. package/dist/client/assets/{ganttDiagram-JELNMOA3-BHzq_mda.js → ganttDiagram-JELNMOA3-DLIhunms.js} +1 -1
  88. package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-CEkwii1J.js → gitGraphDiagram-V2S2FVAM-BbcljkLL.js} +1 -1
  89. package/dist/client/assets/{graph-CKhBarkm.js → graph-C1SThxwq.js} +1 -1
  90. package/dist/client/assets/{highlighted-body-B3W2YXNL-Cyw8VbMw.js → highlighted-body-B3W2YXNL-6fAWPSpW.js} +1 -1
  91. package/dist/client/assets/{index-BcU6fwij.js → index-5YEiuPMI.js} +1 -1
  92. package/dist/client/assets/{index-DsKR-Mzt.js → index-B1SUzFra.js} +1 -1
  93. package/dist/client/assets/{index-vgGRpYpH.js → index-BAfOs6Gy.js} +1 -1
  94. package/dist/client/assets/{index-s6CshXgO.js → index-Bh3TSdKT.js} +1 -1
  95. package/dist/client/assets/{index-ufFGOVtC.js → index-Bk8JlBY0.js} +1 -1
  96. package/dist/client/assets/{index-gv92vNY4.js → index-Bxgl3ZHO.js} +1 -1
  97. package/dist/client/assets/{index-Co0BifvH.js → index-CLieczz3.js} +1 -1
  98. package/dist/client/assets/{index-9FdHLIm3.js → index-CiOhy6I5.js} +1 -1
  99. package/dist/client/assets/{index-D5VI3PBL.js → index-D13XFok4.js} +1 -1
  100. package/dist/client/assets/{index-78ZDd0_e.js → index-D7f6vSSM.js} +1 -1
  101. package/dist/client/assets/{index-CQzYQxW2.js → index-DMWW3BkM.js} +1 -1
  102. package/dist/client/assets/{index-Bunws-S6.js → index-DNW-icyC.js} +1 -1
  103. package/dist/client/assets/{index-CXP92XgX.js → index-DWbGgUyQ.js} +1 -1
  104. package/dist/client/assets/{infoDiagram-HS3SLOUP-AFDG1cfu.js → infoDiagram-HS3SLOUP-vyRt2Bsk.js} +1 -1
  105. package/dist/client/assets/{journeyDiagram-XKPGCS4Q-OD_QroD7.js → journeyDiagram-XKPGCS4Q-DBXVmGpv.js} +1 -1
  106. package/dist/client/assets/{kanban-definition-3W4ZIXB7-DAnN30hM.js → kanban-definition-3W4ZIXB7-CEpw89r7.js} +1 -1
  107. package/dist/client/assets/{layout-B5dwS7ni.js → layout-Q53PNtzV.js} +1 -1
  108. package/dist/client/assets/main-BVyM6Kwo.css +1 -0
  109. package/dist/client/assets/{main-BbrdKUoC.js → main-doYM8mtx.js} +268 -264
  110. package/dist/client/assets/{mindmap-definition-VGOIOE7T-AKV3Q3Hd.js → mindmap-definition-VGOIOE7T-jFXUryZ1.js} +1 -1
  111. package/dist/client/assets/{pieDiagram-ADFJNKIX-i4GRsEWp.js → pieDiagram-ADFJNKIX-24FHt1PP.js} +1 -1
  112. package/dist/client/assets/{quadrantDiagram-AYHSOK5B-DNSnhdH3.js → quadrantDiagram-AYHSOK5B-BznmAQTy.js} +1 -1
  113. package/dist/client/assets/{requirementDiagram-UZGBJVZJ-iUlIxrQo.js → requirementDiagram-UZGBJVZJ-auw6LsZk.js} +1 -1
  114. package/dist/client/assets/{sankeyDiagram-TZEHDZUN-BSJNlHPV.js → sankeyDiagram-TZEHDZUN-CX_06gNQ.js} +1 -1
  115. package/dist/client/assets/{sequenceDiagram-WL72ISMW-CjyKPEZX.js → sequenceDiagram-WL72ISMW-tQMk7iIO.js} +1 -1
  116. package/dist/client/assets/{stateDiagram-FKZM4ZOC-DpwtZO7l.js → stateDiagram-FKZM4ZOC-DCZeLtBb.js} +1 -1
  117. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-9Yihsv84.js +1 -0
  118. package/dist/client/assets/{timeline-definition-IT6M3QCI-C36BxQGp.js → timeline-definition-IT6M3QCI-CqegSAwa.js} +1 -1
  119. package/dist/client/assets/{treemap-GDKQZRPO-B4ZwYsLv.js → treemap-GDKQZRPO-C1eLC_yq.js} +1 -1
  120. package/dist/client/assets/{worktree._worktreeId-BuDv4Wcj.js → worktree._worktreeId-BfJo-vJP.js} +1 -1
  121. package/dist/client/assets/{worktree._worktreeId-7gZfrkWN.js → worktree._worktreeId-CNBIqdCa.js} +1 -1
  122. package/dist/client/assets/{xychartDiagram-PRI3JC2R-B5IPrNpQ.js → xychartDiagram-PRI3JC2R-CDiV-aAA.js} +1 -1
  123. package/dist/openapi.json +533 -36
  124. package/dist/start-server.mjs +1081 -394
  125. package/package.json +10 -10
  126. package/dist/client/assets/channel-Cw0fhbpQ.js +0 -1
  127. package/dist/client/assets/classDiagram-2ON5EDUG-B6EGY8M-.js +0 -1
  128. package/dist/client/assets/classDiagram-v2-WZHVMYZB-B6EGY8M-.js +0 -1
  129. package/dist/client/assets/clone-BfwFgnQO.js +0 -1
  130. package/dist/client/assets/main-CsceWi1l.css +0 -1
  131. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-Cq_p4YyT.js +0 -1
package/dist/openapi.json CHANGED
@@ -248,6 +248,108 @@
248
248
  ]
249
249
  }
250
250
  },
251
+ "/resources.snapshot": {
252
+ "get": {
253
+ "operationId": "resources.snapshot",
254
+ "tags": [
255
+ "resources"
256
+ ],
257
+ "responses": {
258
+ "200": {
259
+ "description": "Successful response",
260
+ "content": {
261
+ "application/json": {
262
+ "schema": {
263
+ "type": "object",
264
+ "properties": {
265
+ "result": {
266
+ "type": "object",
267
+ "properties": {
268
+ "data": {
269
+ "$ref": "#/components/schemas/ResourcesReport"
270
+ }
271
+ },
272
+ "required": [
273
+ "data"
274
+ ]
275
+ }
276
+ },
277
+ "required": [
278
+ "result"
279
+ ]
280
+ }
281
+ }
282
+ }
283
+ },
284
+ "default": {
285
+ "$ref": "#/components/responses/Error"
286
+ }
287
+ }
288
+ }
289
+ },
290
+ "/resources.storage": {
291
+ "get": {
292
+ "operationId": "resources.storage",
293
+ "tags": [
294
+ "resources"
295
+ ],
296
+ "responses": {
297
+ "200": {
298
+ "description": "Successful response",
299
+ "content": {
300
+ "application/json": {
301
+ "schema": {
302
+ "type": "object",
303
+ "properties": {
304
+ "result": {
305
+ "type": "object",
306
+ "properties": {
307
+ "data": {
308
+ "$ref": "#/components/schemas/ResourceStorageView"
309
+ }
310
+ },
311
+ "required": [
312
+ "data"
313
+ ]
314
+ }
315
+ },
316
+ "required": [
317
+ "result"
318
+ ]
319
+ }
320
+ }
321
+ }
322
+ },
323
+ "default": {
324
+ "$ref": "#/components/responses/Error"
325
+ }
326
+ },
327
+ "parameters": [
328
+ {
329
+ "name": "input",
330
+ "in": "query",
331
+ "required": true,
332
+ "style": "deepObject",
333
+ "content": {
334
+ "application/json": {
335
+ "schema": {
336
+ "type": "object",
337
+ "properties": {
338
+ "hostId": {
339
+ "type": "string"
340
+ }
341
+ },
342
+ "required": [
343
+ "hostId"
344
+ ],
345
+ "additionalProperties": false
346
+ }
347
+ }
348
+ }
349
+ }
350
+ ]
351
+ }
352
+ },
251
353
  "/hooks.check": {
252
354
  "get": {
253
355
  "operationId": "hooks.check",
@@ -24467,6 +24569,401 @@
24467
24569
  ],
24468
24570
  "additionalProperties": false
24469
24571
  },
24572
+ "ResourcesReport": {
24573
+ "type": "object",
24574
+ "properties": {
24575
+ "takenAt": {
24576
+ "type": "number"
24577
+ },
24578
+ "machines": {
24579
+ "type": "array",
24580
+ "items": {
24581
+ "$ref": "#/components/schemas/ResourceMachine"
24582
+ }
24583
+ }
24584
+ },
24585
+ "required": [
24586
+ "takenAt",
24587
+ "machines"
24588
+ ],
24589
+ "additionalProperties": false
24590
+ },
24591
+ "ResourceMachine": {
24592
+ "type": "object",
24593
+ "properties": {
24594
+ "id": {
24595
+ "type": "string",
24596
+ "description": "`local` for the hub's own machine, else the worker id."
24597
+ },
24598
+ "role": {
24599
+ "type": "string",
24600
+ "enum": [
24601
+ "hub",
24602
+ "worker"
24603
+ ],
24604
+ "description": "`hub` for the hub's machine (its built-in worker included), `worker` for any other."
24605
+ },
24606
+ "name": {
24607
+ "type": "string"
24608
+ },
24609
+ "version": {
24610
+ "type": [
24611
+ "string",
24612
+ "null"
24613
+ ]
24614
+ },
24615
+ "builtInWorker": {
24616
+ "type": "boolean",
24617
+ "description": "Whether the hub's machine also runs the built-in `local` worker."
24618
+ },
24619
+ "onBattery": {
24620
+ "type": [
24621
+ "boolean",
24622
+ "null"
24623
+ ]
24624
+ },
24625
+ "status": {
24626
+ "type": "string",
24627
+ "enum": [
24628
+ "ok",
24629
+ "unavailable"
24630
+ ]
24631
+ },
24632
+ "reason": {
24633
+ "type": [
24634
+ "string",
24635
+ "null"
24636
+ ],
24637
+ "enum": [
24638
+ "offline",
24639
+ "no-answer"
24640
+ ],
24641
+ "description": "Why a machine shows no numbers."
24642
+ },
24643
+ "snapshot": {
24644
+ "oneOf": [
24645
+ {
24646
+ "allOf": [
24647
+ {
24648
+ "$ref": "#/components/schemas/Omit"
24649
+ },
24650
+ {
24651
+ "type": "object",
24652
+ "properties": {
24653
+ "processes": {
24654
+ "type": "array",
24655
+ "items": {
24656
+ "$ref": "#/components/schemas/ResourceProcessView"
24657
+ }
24658
+ }
24659
+ },
24660
+ "required": [
24661
+ "processes"
24662
+ ],
24663
+ "additionalProperties": false
24664
+ }
24665
+ ]
24666
+ },
24667
+ {
24668
+ "type": "null"
24669
+ }
24670
+ ]
24671
+ }
24672
+ },
24673
+ "required": [
24674
+ "id",
24675
+ "role",
24676
+ "name",
24677
+ "version",
24678
+ "builtInWorker",
24679
+ "onBattery",
24680
+ "status",
24681
+ "reason",
24682
+ "snapshot"
24683
+ ],
24684
+ "additionalProperties": false
24685
+ },
24686
+ "Omit": {
24687
+ "type": "object",
24688
+ "properties": {
24689
+ "hostname": {
24690
+ "type": "string"
24691
+ },
24692
+ "os": {
24693
+ "type": "string"
24694
+ },
24695
+ "cores": {
24696
+ "type": "number"
24697
+ },
24698
+ "memTotalBytes": {
24699
+ "type": "number",
24700
+ "description": "RAM of the machine and what is in use, in bytes."
24701
+ },
24702
+ "memUsedBytes": {
24703
+ "type": "number"
24704
+ },
24705
+ "machineCpuPercent": {
24706
+ "type": [
24707
+ "number",
24708
+ "null"
24709
+ ],
24710
+ "description": "Machine CPU over the sampling window, 0 to 100. Null when it could not be read."
24711
+ },
24712
+ "loadAverage": {
24713
+ "type": "number"
24714
+ },
24715
+ "windowMs": {
24716
+ "type": "number",
24717
+ "description": "How long the sampling window was, in milliseconds."
24718
+ },
24719
+ "takenAt": {
24720
+ "type": "number"
24721
+ }
24722
+ },
24723
+ "required": [
24724
+ "hostname",
24725
+ "os",
24726
+ "cores",
24727
+ "memTotalBytes",
24728
+ "memUsedBytes",
24729
+ "machineCpuPercent",
24730
+ "loadAverage",
24731
+ "windowMs",
24732
+ "takenAt"
24733
+ ],
24734
+ "additionalProperties": false
24735
+ },
24736
+ "ResourceProcessView": {
24737
+ "type": "object",
24738
+ "properties": {
24739
+ "worktree": {
24740
+ "$ref": "#/components/schemas/ResourceWorktreeRef"
24741
+ },
24742
+ "chat": {
24743
+ "$ref": "#/components/schemas/ResourceChatRef"
24744
+ },
24745
+ "kind": {
24746
+ "type": "string",
24747
+ "enum": [
24748
+ "terminal",
24749
+ "agent",
24750
+ "browser",
24751
+ "hub",
24752
+ "worker",
24753
+ "mcp",
24754
+ "terminal-daemon",
24755
+ "agent-daemon",
24756
+ "lsp",
24757
+ "simulator",
24758
+ "other"
24759
+ ],
24760
+ "description": "What a Band process on a machine is for."
24761
+ },
24762
+ "chatId": {
24763
+ "type": "string"
24764
+ },
24765
+ "worktreeId": {
24766
+ "type": "string",
24767
+ "description": "Ids from the process environment (`BAND_WORKTREE_ID`, `BAND_CHAT_ID`, `BAND_TERMINAL_ID`)."
24768
+ },
24769
+ "terminalId": {
24770
+ "type": "string"
24771
+ },
24772
+ "name": {
24773
+ "type": "string",
24774
+ "description": "Short name: the shell, the agent adapter, the language server."
24775
+ },
24776
+ "pid": {
24777
+ "type": "number"
24778
+ },
24779
+ "rssBytes": {
24780
+ "type": "number",
24781
+ "description": "Resident memory of the process and its children, in bytes."
24782
+ },
24783
+ "cpuPercent": {
24784
+ "type": "number",
24785
+ "description": "CPU of the process and its children over the sampling window, in percent of one core."
24786
+ },
24787
+ "processCount": {
24788
+ "type": "number",
24789
+ "description": "How many processes the numbers cover (the process and its descendants)."
24790
+ }
24791
+ },
24792
+ "required": [
24793
+ "kind",
24794
+ "name",
24795
+ "pid",
24796
+ "rssBytes",
24797
+ "cpuPercent",
24798
+ "processCount"
24799
+ ],
24800
+ "additionalProperties": false
24801
+ },
24802
+ "ResourceWorktreeRef": {
24803
+ "type": "object",
24804
+ "properties": {
24805
+ "id": {
24806
+ "type": "string"
24807
+ },
24808
+ "repo": {
24809
+ "type": "string"
24810
+ },
24811
+ "branch": {
24812
+ "type": "string"
24813
+ },
24814
+ "title": {
24815
+ "type": [
24816
+ "string",
24817
+ "null"
24818
+ ]
24819
+ }
24820
+ },
24821
+ "required": [
24822
+ "id",
24823
+ "repo",
24824
+ "branch",
24825
+ "title"
24826
+ ],
24827
+ "additionalProperties": false
24828
+ },
24829
+ "ResourceChatRef": {
24830
+ "type": "object",
24831
+ "properties": {
24832
+ "id": {
24833
+ "type": "string"
24834
+ },
24835
+ "name": {
24836
+ "type": "string"
24837
+ },
24838
+ "agent": {
24839
+ "type": "string"
24840
+ },
24841
+ "running": {
24842
+ "type": "boolean"
24843
+ },
24844
+ "idleMs": {
24845
+ "type": [
24846
+ "number",
24847
+ "null"
24848
+ ],
24849
+ "description": "Milliseconds since the agent last sent anything. Null when unknown."
24850
+ },
24851
+ "idle": {
24852
+ "type": "boolean",
24853
+ "description": "True when the agent has been quiet for an hour and runs no turn."
24854
+ }
24855
+ },
24856
+ "required": [
24857
+ "id",
24858
+ "name",
24859
+ "agent",
24860
+ "running",
24861
+ "idleMs",
24862
+ "idle"
24863
+ ],
24864
+ "additionalProperties": false
24865
+ },
24866
+ "ResourceStorageView": {
24867
+ "type": "object",
24868
+ "properties": {
24869
+ "worktrees": {
24870
+ "type": "array",
24871
+ "items": {
24872
+ "$ref": "#/components/schemas/ResourceStorageWorktree"
24873
+ }
24874
+ },
24875
+ "state": {
24876
+ "type": "array",
24877
+ "items": {
24878
+ "type": "object",
24879
+ "properties": {
24880
+ "name": {
24881
+ "type": "string"
24882
+ },
24883
+ "sizeBytes": {
24884
+ "type": "number"
24885
+ }
24886
+ },
24887
+ "required": [
24888
+ "name",
24889
+ "sizeBytes"
24890
+ ],
24891
+ "additionalProperties": false
24892
+ }
24893
+ },
24894
+ "disk": {
24895
+ "oneOf": [
24896
+ {
24897
+ "$ref": "#/components/schemas/ResourceDisk"
24898
+ },
24899
+ {
24900
+ "type": "null"
24901
+ }
24902
+ ]
24903
+ }
24904
+ },
24905
+ "required": [
24906
+ "worktrees",
24907
+ "state",
24908
+ "disk"
24909
+ ],
24910
+ "additionalProperties": false
24911
+ },
24912
+ "ResourceStorageWorktree": {
24913
+ "type": "object",
24914
+ "properties": {
24915
+ "sizeBytes": {
24916
+ "type": "number"
24917
+ },
24918
+ "error": {
24919
+ "type": "string"
24920
+ },
24921
+ "id": {
24922
+ "type": "string"
24923
+ },
24924
+ "repo": {
24925
+ "type": "string"
24926
+ },
24927
+ "branch": {
24928
+ "type": "string"
24929
+ },
24930
+ "title": {
24931
+ "type": [
24932
+ "string",
24933
+ "null"
24934
+ ]
24935
+ }
24936
+ },
24937
+ "required": [
24938
+ "sizeBytes",
24939
+ "id",
24940
+ "repo",
24941
+ "branch",
24942
+ "title"
24943
+ ],
24944
+ "additionalProperties": false
24945
+ },
24946
+ "ResourceDisk": {
24947
+ "type": "object",
24948
+ "properties": {
24949
+ "path": {
24950
+ "type": "string",
24951
+ "description": "The folder the numbers describe."
24952
+ },
24953
+ "totalBytes": {
24954
+ "type": "number"
24955
+ },
24956
+ "freeBytes": {
24957
+ "type": "number"
24958
+ }
24959
+ },
24960
+ "required": [
24961
+ "path",
24962
+ "totalBytes",
24963
+ "freeBytes"
24964
+ ],
24965
+ "additionalProperties": false
24966
+ },
24470
24967
  "HooksStatus": {
24471
24968
  "type": "object",
24472
24969
  "properties": {
@@ -24961,6 +25458,24 @@
24961
25458
  "install": {
24962
25459
  "type": "string"
24963
25460
  },
25461
+ "resources": {
25462
+ "type": "object",
25463
+ "properties": {
25464
+ "cpu": {
25465
+ "type": "number"
25466
+ },
25467
+ "memory": {
25468
+ "type": "string"
25469
+ },
25470
+ "disk": {
25471
+ "type": "string"
25472
+ }
25473
+ },
25474
+ "required": [
25475
+ "cpu"
25476
+ ],
25477
+ "additionalProperties": false
25478
+ },
24964
25479
  "build": {
24965
25480
  "type": "object",
24966
25481
  "properties": {
@@ -24996,24 +25511,6 @@
24996
25511
  "items": {
24997
25512
  "type": "string"
24998
25513
  }
24999
- },
25000
- "resources": {
25001
- "type": "object",
25002
- "properties": {
25003
- "cpu": {
25004
- "type": "number"
25005
- },
25006
- "memory": {
25007
- "type": "string"
25008
- },
25009
- "disk": {
25010
- "type": "string"
25011
- }
25012
- },
25013
- "required": [
25014
- "cpu"
25015
- ],
25016
- "additionalProperties": false
25017
25514
  }
25018
25515
  },
25019
25516
  "additionalProperties": false
@@ -25329,6 +25826,24 @@
25329
25826
  "install": {
25330
25827
  "type": "string"
25331
25828
  },
25829
+ "resources": {
25830
+ "type": "object",
25831
+ "properties": {
25832
+ "cpu": {
25833
+ "type": "number"
25834
+ },
25835
+ "memory": {
25836
+ "type": "string"
25837
+ },
25838
+ "disk": {
25839
+ "type": "string"
25840
+ }
25841
+ },
25842
+ "required": [
25843
+ "cpu"
25844
+ ],
25845
+ "additionalProperties": false
25846
+ },
25332
25847
  "build": {
25333
25848
  "type": "object",
25334
25849
  "properties": {
@@ -25364,24 +25879,6 @@
25364
25879
  "items": {
25365
25880
  "type": "string"
25366
25881
  }
25367
- },
25368
- "resources": {
25369
- "type": "object",
25370
- "properties": {
25371
- "cpu": {
25372
- "type": "number"
25373
- },
25374
- "memory": {
25375
- "type": "string"
25376
- },
25377
- "disk": {
25378
- "type": "string"
25379
- }
25380
- },
25381
- "required": [
25382
- "cpu"
25383
- ],
25384
- "additionalProperties": false
25385
25882
  }
25386
25883
  },
25387
25884
  "additionalProperties": false