@band-app/server 0.51.0 → 0.52.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 (77) hide show
  1. package/dist/client/_shell.html +0 -0
  2. package/dist/client/assets/{TerminalPanel-qmqKPHyc.js → TerminalPanel-DKqAZKph.js} +1 -1
  3. package/dist/client/assets/{_basePickBy-BQBhP69F.js → _basePickBy-Lux5SXmE.js} +1 -1
  4. package/dist/client/assets/{_baseUniq-BMLP-W-k.js → _baseUniq-BRndrPBs.js} +1 -1
  5. package/dist/client/assets/{arc-BSxt0K2o.js → arc-DZfC7Rpr.js} +1 -1
  6. package/dist/client/assets/{architectureDiagram-VXUJARFQ-DKlenA_3.js → architectureDiagram-VXUJARFQ-ZJfZ8zdb.js} +1 -1
  7. package/dist/client/assets/{blockDiagram-VD42YOAC-Bmv81qFh.js → blockDiagram-VD42YOAC-3k3wSV5M.js} +1 -1
  8. package/dist/client/assets/{c4Diagram-YG6GDRKO-1m0ghnr4.js → c4Diagram-YG6GDRKO-BftyF5L8.js} +1 -1
  9. package/dist/client/assets/channel-xSd8OE7n.js +1 -0
  10. package/dist/client/assets/{chunk-4BX2VUAB-Cwlcy_Hc.js → chunk-4BX2VUAB-jmDOmPs7.js} +1 -1
  11. package/dist/client/assets/{chunk-55IACEB6-BkSjt1H3.js → chunk-55IACEB6-yoftDmqP.js} +1 -1
  12. package/dist/client/assets/{chunk-B4BG7PRW-v8KL8AeI.js → chunk-B4BG7PRW-B5cWDsl9.js} +1 -1
  13. package/dist/client/assets/{chunk-DI55MBZ5-C6zUxMSQ.js → chunk-DI55MBZ5-CtgOzipf.js} +1 -1
  14. package/dist/client/assets/{chunk-FMBD7UC4-BmNKHY33.js → chunk-FMBD7UC4-C84PFHsT.js} +1 -1
  15. package/dist/client/assets/{chunk-QN33PNHL-CnEf_iiA.js → chunk-QN33PNHL-BnDRNZ-w.js} +1 -1
  16. package/dist/client/assets/{chunk-QZHKN3VN-BsauaExA.js → chunk-QZHKN3VN-BEcwqIEw.js} +1 -1
  17. package/dist/client/assets/{chunk-TZMSLE5B-CYFbWXpB.js → chunk-TZMSLE5B-mhfrozN2.js} +1 -1
  18. package/dist/client/assets/classDiagram-2ON5EDUG-BjwNlC-l.js +1 -0
  19. package/dist/client/assets/classDiagram-v2-WZHVMYZB-BjwNlC-l.js +1 -0
  20. package/dist/client/assets/clone-kxmSzCew.js +1 -0
  21. package/dist/client/assets/{cose-bilkent-S5V4N54A-6BIQRLA2.js → cose-bilkent-S5V4N54A-BvuaDm4n.js} +1 -1
  22. package/dist/client/assets/{dagre-6UL2VRFP-Dyz8Gwda.js → dagre-6UL2VRFP-BBZjFQ63.js} +1 -1
  23. package/dist/client/assets/{diagram-PSM6KHXK-BiiPYF4x.js → diagram-PSM6KHXK-DT1FFUKo.js} +1 -1
  24. package/dist/client/assets/{diagram-QEK2KX5R-oUkGbjs-.js → diagram-QEK2KX5R-BXHs1q1D.js} +1 -1
  25. package/dist/client/assets/{diagram-S2PKOQOG-CsluX-S2.js → diagram-S2PKOQOG-C8M152uu.js} +1 -1
  26. package/dist/client/assets/{erDiagram-Q2GNP2WA-BFNUbtEL.js → erDiagram-Q2GNP2WA-CbF_lox7.js} +1 -1
  27. package/dist/client/assets/{flowDiagram-NV44I4VS-D3CD9gfy.js → flowDiagram-NV44I4VS-BL6_RVai.js} +1 -1
  28. package/dist/client/assets/{ganttDiagram-JELNMOA3-COAQ4t73.js → ganttDiagram-JELNMOA3-Pk-PqX9c.js} +1 -1
  29. package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-BsR0N6uq.js → gitGraphDiagram-V2S2FVAM-DBht1B2r.js} +1 -1
  30. package/dist/client/assets/{graph-NLT9K6kr.js → graph-DavbHFOI.js} +1 -1
  31. package/dist/client/assets/{highlighted-body-B3W2YXNL-BFGKimnR.js → highlighted-body-B3W2YXNL-XLGK72Wh.js} +1 -1
  32. package/dist/client/assets/{index-CvSiihth.js → index-B4PKn6Ll.js} +1 -1
  33. package/dist/client/assets/{index-CIND0QfH.js → index-B_PID6gT.js} +1 -1
  34. package/dist/client/assets/{index-B05QiCnU.js → index-BhOnWnHk.js} +1 -1
  35. package/dist/client/assets/{index-CKSyi5ft.js → index-BjcEKASZ.js} +1 -1
  36. package/dist/client/assets/{index-BMIKww_o.js → index-BlBkuKRx.js} +1 -1
  37. package/dist/client/assets/{index-p69JLyV8.js → index-CGVOn47F.js} +1 -1
  38. package/dist/client/assets/{index-DKO-Qvhf.js → index-CeY_0J2U.js} +1 -1
  39. package/dist/client/assets/{index-BIhc5mgt.js → index-D4dcvsUB.js} +1 -1
  40. package/dist/client/assets/{index-D4d1r9xH.js → index-DPxhbM5o.js} +1 -1
  41. package/dist/client/assets/{index-DlR5KQTA.js → index-DUG1uaT-.js} +1 -1
  42. package/dist/client/assets/{index-DMgsjyy2.js → index-DbLPd21i.js} +1 -1
  43. package/dist/client/assets/{index-rHFD9xNL.js → index-IkkKIb9L.js} +1 -1
  44. package/dist/client/assets/{index-DmUn22rT.js → index-vbtGahO2.js} +1 -1
  45. package/dist/client/assets/{infoDiagram-HS3SLOUP-CPiCiCr1.js → infoDiagram-HS3SLOUP-PcGt5DEE.js} +1 -1
  46. package/dist/client/assets/{journeyDiagram-XKPGCS4Q-BRgYuFC5.js → journeyDiagram-XKPGCS4Q-DLp506Il.js} +1 -1
  47. package/dist/client/assets/{kanban-definition-3W4ZIXB7-BzPrF9MH.js → kanban-definition-3W4ZIXB7-BfzvJF8r.js} +1 -1
  48. package/dist/client/assets/{layout-BWHN4o0O.js → layout-CzbkeUtO.js} +1 -1
  49. package/dist/client/assets/main-BPlLVmee.css +1 -0
  50. package/dist/client/assets/{main-DeilaoAo.js → main-CIdbzLCe.js} +241 -241
  51. package/dist/client/assets/{mindmap-definition-VGOIOE7T-DMjnSZkO.js → mindmap-definition-VGOIOE7T-Vo92ET9F.js} +1 -1
  52. package/dist/client/assets/{pieDiagram-ADFJNKIX-6BwfmE2C.js → pieDiagram-ADFJNKIX-CkJ2h9qB.js} +1 -1
  53. package/dist/client/assets/{quadrantDiagram-AYHSOK5B-B1NmMm8z.js → quadrantDiagram-AYHSOK5B-ZJaeoKvJ.js} +1 -1
  54. package/dist/client/assets/{requirementDiagram-UZGBJVZJ-jQofjCHs.js → requirementDiagram-UZGBJVZJ-C8umuYwi.js} +1 -1
  55. package/dist/client/assets/{sankeyDiagram-TZEHDZUN-CSEiK4cm.js → sankeyDiagram-TZEHDZUN-D-Ig2b11.js} +1 -1
  56. package/dist/client/assets/{sequenceDiagram-WL72ISMW-CK4PyCNP.js → sequenceDiagram-WL72ISMW-CqUZMazY.js} +1 -1
  57. package/dist/client/assets/{stateDiagram-FKZM4ZOC-8_cSi1sy.js → stateDiagram-FKZM4ZOC-CTr38t0K.js} +1 -1
  58. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-reXX39Ci.js +1 -0
  59. package/dist/client/assets/{timeline-definition-IT6M3QCI-Dfbk3wPI.js → timeline-definition-IT6M3QCI-BYxZgHAk.js} +1 -1
  60. package/dist/client/assets/{treemap-GDKQZRPO-C0O_-1Et.js → treemap-GDKQZRPO-Dl4dCpdO.js} +1 -1
  61. package/dist/client/assets/{worktree._worktreeId-DokGt3kH.js → worktree._worktreeId-7TcpEpnB.js} +1 -1
  62. package/dist/client/assets/{worktree._worktreeId-B7Rg7yt9.js → worktree._worktreeId-DpXILxoS.js} +1 -1
  63. package/dist/client/assets/{xychartDiagram-PRI3JC2R-C7Zd0bF9.js → xychartDiagram-PRI3JC2R-ChF7fvtK.js} +1 -1
  64. package/dist/migrations/20261018141601_agent_logins/migration.sql +18 -0
  65. package/dist/migrations/20261018141601_agent_logins/snapshot.json +4935 -0
  66. package/dist/migrations/20261018173728_host_provisions/migration.sql +23 -0
  67. package/dist/migrations/20261018173728_host_provisions/snapshot.json +5015 -0
  68. package/dist/openapi.json +968 -35
  69. package/dist/start-server.mjs +16787 -15399
  70. package/dist/terminal-daemon.mjs +1 -0
  71. package/package.json +9 -9
  72. package/dist/client/assets/channel-Dd_TLPkf.js +0 -1
  73. package/dist/client/assets/classDiagram-2ON5EDUG-eT8KMTcY.js +0 -1
  74. package/dist/client/assets/classDiagram-v2-WZHVMYZB-eT8KMTcY.js +0 -1
  75. package/dist/client/assets/clone-ChQ-pk7R.js +0 -1
  76. package/dist/client/assets/main-H0Mi2D2z.css +0 -1
  77. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-DHHlDXqc.js +0 -1
package/dist/openapi.json CHANGED
@@ -2100,6 +2100,9 @@
2100
2100
  "null"
2101
2101
  ]
2102
2102
  },
2103
+ "branch": {
2104
+ "type": "string"
2105
+ },
2103
2106
  "input": {
2104
2107
  "type": "object",
2105
2108
  "additionalProperties": {}
@@ -2110,9 +2113,6 @@
2110
2113
  "repo": {
2111
2114
  "type": "string"
2112
2115
  },
2113
- "branch": {
2114
- "type": "string"
2115
- },
2116
2116
  "requires": {
2117
2117
  "type": "object",
2118
2118
  "additionalProperties": {
@@ -2161,10 +2161,10 @@
2161
2161
  "id",
2162
2162
  "labels",
2163
2163
  "hostId",
2164
+ "branch",
2164
2165
  "input",
2165
2166
  "worktreeId",
2166
2167
  "repo",
2167
- "branch",
2168
2168
  "requires",
2169
2169
  "environment",
2170
2170
  "createdAt",
@@ -2275,6 +2275,9 @@
2275
2275
  "null"
2276
2276
  ]
2277
2277
  },
2278
+ "branch": {
2279
+ "type": "string"
2280
+ },
2278
2281
  "input": {
2279
2282
  "type": "object",
2280
2283
  "additionalProperties": {}
@@ -2285,9 +2288,6 @@
2285
2288
  "repo": {
2286
2289
  "type": "string"
2287
2290
  },
2288
- "branch": {
2289
- "type": "string"
2290
- },
2291
2291
  "requires": {
2292
2292
  "type": "object",
2293
2293
  "additionalProperties": {
@@ -2336,10 +2336,10 @@
2336
2336
  "id",
2337
2337
  "labels",
2338
2338
  "hostId",
2339
+ "branch",
2339
2340
  "input",
2340
2341
  "worktreeId",
2341
2342
  "repo",
2342
- "branch",
2343
2343
  "requires",
2344
2344
  "environment",
2345
2345
  "createdAt",
@@ -2485,6 +2485,9 @@
2485
2485
  "null"
2486
2486
  ]
2487
2487
  },
2488
+ "branch": {
2489
+ "type": "string"
2490
+ },
2488
2491
  "input": {
2489
2492
  "type": "object",
2490
2493
  "additionalProperties": {}
@@ -2495,9 +2498,6 @@
2495
2498
  "repo": {
2496
2499
  "type": "string"
2497
2500
  },
2498
- "branch": {
2499
- "type": "string"
2500
- },
2501
2501
  "requires": {
2502
2502
  "type": "object",
2503
2503
  "additionalProperties": {
@@ -2546,10 +2546,10 @@
2546
2546
  "id",
2547
2547
  "labels",
2548
2548
  "hostId",
2549
+ "branch",
2549
2550
  "input",
2550
2551
  "worktreeId",
2551
2552
  "repo",
2552
- "branch",
2553
2553
  "requires",
2554
2554
  "environment",
2555
2555
  "createdAt",
@@ -2665,6 +2665,9 @@
2665
2665
  "null"
2666
2666
  ]
2667
2667
  },
2668
+ "branch": {
2669
+ "type": "string"
2670
+ },
2668
2671
  "input": {
2669
2672
  "type": "object",
2670
2673
  "additionalProperties": {}
@@ -2675,9 +2678,6 @@
2675
2678
  "repo": {
2676
2679
  "type": "string"
2677
2680
  },
2678
- "branch": {
2679
- "type": "string"
2680
- },
2681
2681
  "requires": {
2682
2682
  "type": "object",
2683
2683
  "additionalProperties": {
@@ -2726,10 +2726,10 @@
2726
2726
  "id",
2727
2727
  "labels",
2728
2728
  "hostId",
2729
+ "branch",
2729
2730
  "input",
2730
2731
  "worktreeId",
2731
2732
  "repo",
2732
- "branch",
2733
2733
  "requires",
2734
2734
  "environment",
2735
2735
  "createdAt",
@@ -2849,6 +2849,9 @@
2849
2849
  "null"
2850
2850
  ]
2851
2851
  },
2852
+ "branch": {
2853
+ "type": "string"
2854
+ },
2852
2855
  "input": {
2853
2856
  "type": "object",
2854
2857
  "additionalProperties": {}
@@ -2859,9 +2862,6 @@
2859
2862
  "repo": {
2860
2863
  "type": "string"
2861
2864
  },
2862
- "branch": {
2863
- "type": "string"
2864
- },
2865
2865
  "requires": {
2866
2866
  "type": "object",
2867
2867
  "additionalProperties": {
@@ -2910,10 +2910,10 @@
2910
2910
  "id",
2911
2911
  "labels",
2912
2912
  "hostId",
2913
+ "branch",
2913
2914
  "input",
2914
2915
  "worktreeId",
2915
2916
  "repo",
2916
- "branch",
2917
2917
  "requires",
2918
2918
  "environment",
2919
2919
  "createdAt",
@@ -5663,15 +5663,671 @@
5663
5663
  "type": "string"
5664
5664
  }
5665
5665
  },
5666
- "required": [
5667
- "flowId"
5668
- ],
5669
- "additionalProperties": false
5670
- }
5666
+ "required": [
5667
+ "flowId"
5668
+ ],
5669
+ "additionalProperties": false
5670
+ }
5671
+ }
5672
+ }
5673
+ }
5674
+ ]
5675
+ }
5676
+ },
5677
+ "/provisioning.createCommand": {
5678
+ "post": {
5679
+ "operationId": "provisioning.createCommand",
5680
+ "description": "Makes a one-time command. `hubUrl` is the address the new machine reaches the hub at.",
5681
+ "tags": [
5682
+ "provisioning"
5683
+ ],
5684
+ "responses": {
5685
+ "200": {
5686
+ "description": "Successful response",
5687
+ "content": {
5688
+ "application/json": {
5689
+ "schema": {
5690
+ "type": "object",
5691
+ "properties": {
5692
+ "result": {
5693
+ "type": "object",
5694
+ "properties": {
5695
+ "data": {
5696
+ "$ref": "#/components/schemas/CreatedCommand"
5697
+ }
5698
+ },
5699
+ "required": [
5700
+ "data"
5701
+ ]
5702
+ }
5703
+ },
5704
+ "required": [
5705
+ "result"
5706
+ ]
5707
+ }
5708
+ }
5709
+ }
5710
+ },
5711
+ "default": {
5712
+ "$ref": "#/components/responses/Error"
5713
+ }
5714
+ },
5715
+ "requestBody": {
5716
+ "required": true,
5717
+ "content": {
5718
+ "application/json": {
5719
+ "schema": {
5720
+ "type": "object",
5721
+ "properties": {
5722
+ "hubUrl": {
5723
+ "type": "string"
5724
+ },
5725
+ "labels": {
5726
+ "type": "array",
5727
+ "items": {
5728
+ "type": "string"
5729
+ }
5730
+ },
5731
+ "hostName": {
5732
+ "type": "string"
5733
+ }
5734
+ },
5735
+ "required": [
5736
+ "hubUrl"
5737
+ ],
5738
+ "additionalProperties": false
5739
+ }
5740
+ }
5741
+ }
5742
+ }
5743
+ }
5744
+ },
5745
+ "/provisioning.status": {
5746
+ "get": {
5747
+ "operationId": "provisioning.status",
5748
+ "description": "One command's state and log, or the newest commands when no id is given.",
5749
+ "tags": [
5750
+ "provisioning"
5751
+ ],
5752
+ "responses": {
5753
+ "200": {
5754
+ "description": "Successful response",
5755
+ "content": {
5756
+ "application/json": {
5757
+ "schema": {
5758
+ "type": "object",
5759
+ "properties": {
5760
+ "result": {
5761
+ "type": "object",
5762
+ "properties": {
5763
+ "data": {
5764
+ "type": "object",
5765
+ "properties": {
5766
+ "commands": {
5767
+ "type": "array",
5768
+ "items": {
5769
+ "$ref": "#/components/schemas/ProvisionView"
5770
+ }
5771
+ }
5772
+ },
5773
+ "required": [
5774
+ "commands"
5775
+ ],
5776
+ "additionalProperties": false
5777
+ }
5778
+ },
5779
+ "required": [
5780
+ "data"
5781
+ ]
5782
+ }
5783
+ },
5784
+ "required": [
5785
+ "result"
5786
+ ]
5787
+ }
5788
+ }
5789
+ }
5790
+ },
5791
+ "default": {
5792
+ "$ref": "#/components/responses/Error"
5793
+ }
5794
+ },
5795
+ "parameters": [
5796
+ {
5797
+ "name": "input",
5798
+ "in": "query",
5799
+ "required": true,
5800
+ "style": "deepObject",
5801
+ "content": {
5802
+ "application/json": {
5803
+ "schema": {
5804
+ "type": "object",
5805
+ "properties": {
5806
+ "id": {
5807
+ "type": "string"
5808
+ }
5809
+ },
5810
+ "additionalProperties": false
5811
+ }
5812
+ }
5813
+ }
5814
+ }
5815
+ ]
5816
+ }
5817
+ },
5818
+ "/provisioning.settings": {
5819
+ "get": {
5820
+ "operationId": "provisioning.settings",
5821
+ "tags": [
5822
+ "provisioning"
5823
+ ],
5824
+ "responses": {
5825
+ "200": {
5826
+ "description": "Successful response",
5827
+ "content": {
5828
+ "application/json": {
5829
+ "schema": {
5830
+ "type": "object",
5831
+ "properties": {
5832
+ "result": {
5833
+ "type": "object",
5834
+ "properties": {
5835
+ "data": {
5836
+ "$ref": "#/components/schemas/ProvisionSettings"
5837
+ }
5838
+ },
5839
+ "required": [
5840
+ "data"
5841
+ ]
5842
+ }
5843
+ },
5844
+ "required": [
5845
+ "result"
5846
+ ]
5847
+ }
5848
+ }
5849
+ }
5850
+ },
5851
+ "default": {
5852
+ "$ref": "#/components/responses/Error"
5853
+ }
5854
+ }
5855
+ }
5856
+ },
5857
+ "/provisioning.updateSettings": {
5858
+ "post": {
5859
+ "operationId": "provisioning.updateSettings",
5860
+ "tags": [
5861
+ "provisioning"
5862
+ ],
5863
+ "responses": {
5864
+ "200": {
5865
+ "description": "Successful response",
5866
+ "content": {
5867
+ "application/json": {
5868
+ "schema": {
5869
+ "type": "object",
5870
+ "properties": {
5871
+ "result": {
5872
+ "type": "object",
5873
+ "properties": {
5874
+ "data": {
5875
+ "$ref": "#/components/schemas/ProvisionSettings"
5876
+ }
5877
+ },
5878
+ "required": [
5879
+ "data"
5880
+ ]
5881
+ }
5882
+ },
5883
+ "required": [
5884
+ "result"
5885
+ ]
5886
+ }
5887
+ }
5888
+ }
5889
+ },
5890
+ "default": {
5891
+ "$ref": "#/components/responses/Error"
5892
+ }
5893
+ },
5894
+ "requestBody": {
5895
+ "required": true,
5896
+ "content": {
5897
+ "application/json": {
5898
+ "schema": {
5899
+ "type": "object",
5900
+ "properties": {
5901
+ "command": {
5902
+ "type": "string"
5903
+ },
5904
+ "repoUrl": {
5905
+ "type": "string"
5906
+ },
5907
+ "branch": {
5908
+ "type": "string"
5909
+ }
5910
+ },
5911
+ "additionalProperties": false
5912
+ }
5913
+ }
5914
+ }
5915
+ }
5916
+ }
5917
+ },
5918
+ "/agentLogins.list": {
5919
+ "get": {
5920
+ "operationId": "agentLogins.list",
5921
+ "tags": [
5922
+ "agentLogins"
5923
+ ],
5924
+ "responses": {
5925
+ "200": {
5926
+ "description": "Successful response",
5927
+ "content": {
5928
+ "application/json": {
5929
+ "schema": {
5930
+ "type": "object",
5931
+ "properties": {
5932
+ "result": {
5933
+ "type": "object",
5934
+ "properties": {
5935
+ "data": {
5936
+ "$ref": "#/components/schemas/AgentLoginList"
5937
+ }
5938
+ },
5939
+ "required": [
5940
+ "data"
5941
+ ]
5942
+ }
5943
+ },
5944
+ "required": [
5945
+ "result"
5946
+ ]
5947
+ }
5948
+ }
5949
+ }
5950
+ },
5951
+ "default": {
5952
+ "$ref": "#/components/responses/Error"
5953
+ }
5954
+ }
5955
+ }
5956
+ },
5957
+ "/agentLogins.create": {
5958
+ "post": {
5959
+ "operationId": "agentLogins.create",
5960
+ "tags": [
5961
+ "agentLogins"
5962
+ ],
5963
+ "responses": {
5964
+ "200": {
5965
+ "description": "Successful response",
5966
+ "content": {
5967
+ "application/json": {
5968
+ "schema": {
5969
+ "type": "object",
5970
+ "properties": {
5971
+ "result": {
5972
+ "type": "object",
5973
+ "properties": {
5974
+ "data": {
5975
+ "type": "object",
5976
+ "properties": {
5977
+ "login": {
5978
+ "$ref": "#/components/schemas/AgentLoginView"
5979
+ }
5980
+ },
5981
+ "required": [
5982
+ "login"
5983
+ ],
5984
+ "additionalProperties": false
5985
+ }
5986
+ },
5987
+ "required": [
5988
+ "data"
5989
+ ]
5990
+ }
5991
+ },
5992
+ "required": [
5993
+ "result"
5994
+ ]
5995
+ }
5996
+ }
5997
+ }
5998
+ },
5999
+ "default": {
6000
+ "$ref": "#/components/responses/Error"
6001
+ }
6002
+ },
6003
+ "requestBody": {
6004
+ "required": true,
6005
+ "content": {
6006
+ "application/json": {
6007
+ "schema": {
6008
+ "type": "object",
6009
+ "properties": {
6010
+ "label": {
6011
+ "type": "string"
6012
+ },
6013
+ "kind": {
6014
+ "type": "string"
6015
+ },
6016
+ "agentType": {
6017
+ "type": "string"
6018
+ },
6019
+ "secret": {
6020
+ "type": "string"
6021
+ },
6022
+ "vaultItemId": {
6023
+ "type": "string"
6024
+ }
6025
+ },
6026
+ "required": [
6027
+ "label",
6028
+ "kind",
6029
+ "agentType"
6030
+ ],
6031
+ "additionalProperties": false
6032
+ }
6033
+ }
6034
+ }
6035
+ }
6036
+ }
6037
+ },
6038
+ "/agentLogins.update": {
6039
+ "post": {
6040
+ "operationId": "agentLogins.update",
6041
+ "tags": [
6042
+ "agentLogins"
6043
+ ],
6044
+ "responses": {
6045
+ "200": {
6046
+ "description": "Successful response",
6047
+ "content": {
6048
+ "application/json": {
6049
+ "schema": {
6050
+ "type": "object",
6051
+ "properties": {
6052
+ "result": {
6053
+ "type": "object",
6054
+ "properties": {
6055
+ "data": {
6056
+ "type": "object",
6057
+ "properties": {
6058
+ "login": {
6059
+ "$ref": "#/components/schemas/AgentLoginView"
6060
+ }
6061
+ },
6062
+ "required": [
6063
+ "login"
6064
+ ],
6065
+ "additionalProperties": false
6066
+ }
6067
+ },
6068
+ "required": [
6069
+ "data"
6070
+ ]
6071
+ }
6072
+ },
6073
+ "required": [
6074
+ "result"
6075
+ ]
6076
+ }
6077
+ }
6078
+ }
6079
+ },
6080
+ "default": {
6081
+ "$ref": "#/components/responses/Error"
6082
+ }
6083
+ },
6084
+ "requestBody": {
6085
+ "required": true,
6086
+ "content": {
6087
+ "application/json": {
6088
+ "schema": {
6089
+ "type": "object",
6090
+ "properties": {
6091
+ "id": {
6092
+ "type": "string"
6093
+ },
6094
+ "label": {
6095
+ "type": "string"
6096
+ },
6097
+ "secret": {
6098
+ "type": "string"
6099
+ }
6100
+ },
6101
+ "required": [
6102
+ "id"
6103
+ ],
6104
+ "additionalProperties": false
6105
+ }
6106
+ }
6107
+ }
6108
+ }
6109
+ }
6110
+ },
6111
+ "/agentLogins.remove": {
6112
+ "post": {
6113
+ "operationId": "agentLogins.remove",
6114
+ "tags": [
6115
+ "agentLogins"
6116
+ ],
6117
+ "responses": {
6118
+ "200": {
6119
+ "description": "Successful response",
6120
+ "content": {
6121
+ "application/json": {
6122
+ "schema": {
6123
+ "type": "object",
6124
+ "properties": {
6125
+ "result": {
6126
+ "type": "object",
6127
+ "properties": {
6128
+ "data": {
6129
+ "type": "object",
6130
+ "properties": {
6131
+ "removed": {
6132
+ "type": "boolean",
6133
+ "const": true
6134
+ }
6135
+ },
6136
+ "required": [
6137
+ "removed"
6138
+ ],
6139
+ "additionalProperties": false
6140
+ }
6141
+ },
6142
+ "required": [
6143
+ "data"
6144
+ ]
6145
+ }
6146
+ },
6147
+ "required": [
6148
+ "result"
6149
+ ]
6150
+ }
6151
+ }
6152
+ }
6153
+ },
6154
+ "default": {
6155
+ "$ref": "#/components/responses/Error"
6156
+ }
6157
+ },
6158
+ "requestBody": {
6159
+ "required": true,
6160
+ "content": {
6161
+ "application/json": {
6162
+ "schema": {
6163
+ "type": "object",
6164
+ "properties": {
6165
+ "id": {
6166
+ "type": "string"
6167
+ }
6168
+ },
6169
+ "required": [
6170
+ "id"
6171
+ ],
6172
+ "additionalProperties": false
6173
+ }
6174
+ }
6175
+ }
6176
+ }
6177
+ }
6178
+ },
6179
+ "/agentLogins.setDefault": {
6180
+ "post": {
6181
+ "operationId": "agentLogins.setDefault",
6182
+ "tags": [
6183
+ "agentLogins"
6184
+ ],
6185
+ "responses": {
6186
+ "200": {
6187
+ "description": "Successful response",
6188
+ "content": {
6189
+ "application/json": {
6190
+ "schema": {
6191
+ "type": "object",
6192
+ "properties": {
6193
+ "result": {
6194
+ "type": "object",
6195
+ "properties": {
6196
+ "data": {
6197
+ "type": "object",
6198
+ "properties": {
6199
+ "ok": {
6200
+ "type": "boolean",
6201
+ "const": true
6202
+ }
6203
+ },
6204
+ "required": [
6205
+ "ok"
6206
+ ],
6207
+ "additionalProperties": false
6208
+ }
6209
+ },
6210
+ "required": [
6211
+ "data"
6212
+ ]
6213
+ }
6214
+ },
6215
+ "required": [
6216
+ "result"
6217
+ ]
6218
+ }
6219
+ }
6220
+ }
6221
+ },
6222
+ "default": {
6223
+ "$ref": "#/components/responses/Error"
6224
+ }
6225
+ },
6226
+ "requestBody": {
6227
+ "required": true,
6228
+ "content": {
6229
+ "application/json": {
6230
+ "schema": {
6231
+ "type": "object",
6232
+ "properties": {
6233
+ "loginId": {
6234
+ "type": [
6235
+ "string",
6236
+ "null"
6237
+ ]
6238
+ },
6239
+ "agentType": {
6240
+ "type": "string"
6241
+ }
6242
+ },
6243
+ "required": [
6244
+ "loginId",
6245
+ "agentType"
6246
+ ],
6247
+ "additionalProperties": false
6248
+ }
6249
+ }
6250
+ }
6251
+ }
6252
+ }
6253
+ },
6254
+ "/agentLogins.setRepoOverride": {
6255
+ "post": {
6256
+ "operationId": "agentLogins.setRepoOverride",
6257
+ "tags": [
6258
+ "agentLogins"
6259
+ ],
6260
+ "responses": {
6261
+ "200": {
6262
+ "description": "Successful response",
6263
+ "content": {
6264
+ "application/json": {
6265
+ "schema": {
6266
+ "type": "object",
6267
+ "properties": {
6268
+ "result": {
6269
+ "type": "object",
6270
+ "properties": {
6271
+ "data": {
6272
+ "type": "object",
6273
+ "properties": {
6274
+ "ok": {
6275
+ "type": "boolean",
6276
+ "const": true
6277
+ }
6278
+ },
6279
+ "required": [
6280
+ "ok"
6281
+ ],
6282
+ "additionalProperties": false
6283
+ }
6284
+ },
6285
+ "required": [
6286
+ "data"
6287
+ ]
6288
+ }
6289
+ },
6290
+ "required": [
6291
+ "result"
6292
+ ]
6293
+ }
6294
+ }
6295
+ }
6296
+ },
6297
+ "default": {
6298
+ "$ref": "#/components/responses/Error"
6299
+ }
6300
+ },
6301
+ "requestBody": {
6302
+ "required": true,
6303
+ "content": {
6304
+ "application/json": {
6305
+ "schema": {
6306
+ "type": "object",
6307
+ "properties": {
6308
+ "repo": {
6309
+ "type": "string"
6310
+ },
6311
+ "loginId": {
6312
+ "type": [
6313
+ "string",
6314
+ "null"
6315
+ ]
6316
+ },
6317
+ "agentType": {
6318
+ "type": "string"
6319
+ }
6320
+ },
6321
+ "required": [
6322
+ "repo",
6323
+ "loginId",
6324
+ "agentType"
6325
+ ],
6326
+ "additionalProperties": false
5671
6327
  }
5672
6328
  }
5673
6329
  }
5674
- ]
6330
+ }
5675
6331
  }
5676
6332
  },
5677
6333
  "/voice.status": {
@@ -11337,6 +11993,21 @@
11337
11993
  },
11338
11994
  "additionalProperties": {}
11339
11995
  },
11996
+ "provisioning": {
11997
+ "type": "object",
11998
+ "properties": {
11999
+ "command": {
12000
+ "type": "string"
12001
+ },
12002
+ "repoUrl": {
12003
+ "type": "string"
12004
+ },
12005
+ "branch": {
12006
+ "type": "string"
12007
+ }
12008
+ },
12009
+ "additionalProperties": {}
12010
+ },
11340
12011
  "environmentBuilder": {
11341
12012
  "type": "object",
11342
12013
  "properties": {
@@ -12758,10 +13429,10 @@
12758
13429
  "schema": {
12759
13430
  "type": "object",
12760
13431
  "properties": {
12761
- "repo": {
13432
+ "branch": {
12762
13433
  "type": "string"
12763
13434
  },
12764
- "branch": {
13435
+ "repo": {
12765
13436
  "type": "string"
12766
13437
  },
12767
13438
  "model": {
@@ -12832,8 +13503,8 @@
12832
13503
  }
12833
13504
  },
12834
13505
  "required": [
12835
- "repo",
12836
- "branch"
13506
+ "branch",
13507
+ "repo"
12837
13508
  ],
12838
13509
  "additionalProperties": false
12839
13510
  }
@@ -16797,6 +17468,10 @@
16797
17468
  "type": "number",
16798
17469
  "description": "Timer only: fire once at this time, in epoch milliseconds."
16799
17470
  },
17471
+ "branch": {
17472
+ "type": "string",
17473
+ "description": "GitHub only: branch whose CI result is delivered once per commit, after every check completes."
17474
+ },
16800
17475
  "chatId": {
16801
17476
  "type": "string"
16802
17477
  },
@@ -16807,10 +17482,6 @@
16807
17482
  "type": "string",
16808
17483
  "description": "GitHub only: `owner/name`. With `pr` it watches that pull request, with `branch` its CI."
16809
17484
  },
16810
- "branch": {
16811
- "type": "string",
16812
- "description": "GitHub only: branch whose CI result is delivered once per commit, after every check completes."
16813
- },
16814
17485
  "coalesceSeconds": {
16815
17486
  "type": "number"
16816
17487
  },
@@ -17625,6 +18296,12 @@
17625
18296
  },
17626
18297
  "agent": {
17627
18298
  "type": "string"
18299
+ },
18300
+ "loginId": {
18301
+ "type": [
18302
+ "string",
18303
+ "null"
18304
+ ]
17628
18305
  }
17629
18306
  },
17630
18307
  "required": [
@@ -22514,6 +23191,226 @@
22514
23191
  ],
22515
23192
  "additionalProperties": false
22516
23193
  },
23194
+ "CreatedCommand": {
23195
+ "type": "object",
23196
+ "properties": {
23197
+ "id": {
23198
+ "type": "string"
23199
+ },
23200
+ "command": {
23201
+ "type": "string",
23202
+ "description": "The one line to paste."
23203
+ },
23204
+ "cloudInit": {
23205
+ "type": "string",
23206
+ "description": "The same line inside a `#cloud-config` document."
23207
+ },
23208
+ "expiresAt": {
23209
+ "type": "number"
23210
+ },
23211
+ "hostName": {
23212
+ "type": "string"
23213
+ },
23214
+ "commitSha": {
23215
+ "type": [
23216
+ "string",
23217
+ "null"
23218
+ ]
23219
+ }
23220
+ },
23221
+ "required": [
23222
+ "id",
23223
+ "command",
23224
+ "cloudInit",
23225
+ "expiresAt",
23226
+ "hostName",
23227
+ "commitSha"
23228
+ ],
23229
+ "additionalProperties": false
23230
+ },
23231
+ "ProvisionView": {
23232
+ "type": "object",
23233
+ "properties": {
23234
+ "id": {
23235
+ "type": "string"
23236
+ },
23237
+ "status": {
23238
+ "type": "string",
23239
+ "enum": [
23240
+ "provisioning",
23241
+ "failed",
23242
+ "online",
23243
+ "expired",
23244
+ "waiting"
23245
+ ]
23246
+ },
23247
+ "hostId": {
23248
+ "type": [
23249
+ "string",
23250
+ "null"
23251
+ ]
23252
+ },
23253
+ "hostName": {
23254
+ "type": "string"
23255
+ },
23256
+ "expiresAt": {
23257
+ "type": "number"
23258
+ },
23259
+ "createdAt": {
23260
+ "type": "number"
23261
+ },
23262
+ "commitSha": {
23263
+ "type": [
23264
+ "string",
23265
+ "null"
23266
+ ]
23267
+ },
23268
+ "repoUrl": {
23269
+ "type": [
23270
+ "string",
23271
+ "null"
23272
+ ]
23273
+ },
23274
+ "exitCode": {
23275
+ "type": [
23276
+ "number",
23277
+ "null"
23278
+ ]
23279
+ },
23280
+ "log": {
23281
+ "type": "string"
23282
+ }
23283
+ },
23284
+ "required": [
23285
+ "id",
23286
+ "status",
23287
+ "hostId",
23288
+ "hostName",
23289
+ "expiresAt",
23290
+ "createdAt",
23291
+ "commitSha",
23292
+ "repoUrl",
23293
+ "exitCode",
23294
+ "log"
23295
+ ],
23296
+ "additionalProperties": false
23297
+ },
23298
+ "ProvisionSettings": {
23299
+ "type": "object",
23300
+ "properties": {
23301
+ "repoUrl": {
23302
+ "type": "string"
23303
+ },
23304
+ "branch": {
23305
+ "type": "string"
23306
+ },
23307
+ "command": {
23308
+ "type": "string"
23309
+ }
23310
+ },
23311
+ "required": [
23312
+ "repoUrl",
23313
+ "branch",
23314
+ "command"
23315
+ ],
23316
+ "additionalProperties": false
23317
+ },
23318
+ "AgentLoginList": {
23319
+ "type": "object",
23320
+ "properties": {
23321
+ "logins": {
23322
+ "type": "array",
23323
+ "items": {
23324
+ "$ref": "#/components/schemas/AgentLoginView"
23325
+ }
23326
+ },
23327
+ "defaults": {
23328
+ "type": "object",
23329
+ "additionalProperties": {
23330
+ "type": "string"
23331
+ }
23332
+ },
23333
+ "repoOverrides": {
23334
+ "type": "array",
23335
+ "items": {
23336
+ "type": "object",
23337
+ "properties": {
23338
+ "agentType": {
23339
+ "type": "string"
23340
+ },
23341
+ "repo": {
23342
+ "type": "string"
23343
+ },
23344
+ "loginId": {
23345
+ "type": "string"
23346
+ }
23347
+ },
23348
+ "required": [
23349
+ "agentType",
23350
+ "repo",
23351
+ "loginId"
23352
+ ],
23353
+ "additionalProperties": false
23354
+ }
23355
+ }
23356
+ },
23357
+ "required": [
23358
+ "logins",
23359
+ "defaults",
23360
+ "repoOverrides"
23361
+ ],
23362
+ "additionalProperties": false
23363
+ },
23364
+ "AgentLoginView": {
23365
+ "type": "object",
23366
+ "properties": {
23367
+ "id": {
23368
+ "type": "string"
23369
+ },
23370
+ "agentType": {
23371
+ "type": "string"
23372
+ },
23373
+ "label": {
23374
+ "type": "string"
23375
+ },
23376
+ "kind": {
23377
+ "type": "string"
23378
+ },
23379
+ "kindLabel": {
23380
+ "type": "string"
23381
+ },
23382
+ "envVar": {
23383
+ "type": "string",
23384
+ "description": "The variable that carries the secret."
23385
+ },
23386
+ "vaultItemId": {
23387
+ "type": "string"
23388
+ },
23389
+ "missingSecret": {
23390
+ "type": "boolean",
23391
+ "description": "True when the vault item is gone, so the login cannot be used until it is replaced."
23392
+ },
23393
+ "createdAt": {
23394
+ "type": "number"
23395
+ },
23396
+ "updatedAt": {
23397
+ "type": "number"
23398
+ }
23399
+ },
23400
+ "required": [
23401
+ "id",
23402
+ "agentType",
23403
+ "label",
23404
+ "kind",
23405
+ "kindLabel",
23406
+ "envVar",
23407
+ "vaultItemId",
23408
+ "missingSecret",
23409
+ "createdAt",
23410
+ "updatedAt"
23411
+ ],
23412
+ "additionalProperties": false
23413
+ },
22517
23414
  "VoiceStatus": {
22518
23415
  "type": "object",
22519
23416
  "properties": {
@@ -22829,6 +23726,13 @@
22829
23726
  },
22830
23727
  "defaultModel": {
22831
23728
  "type": "string"
23729
+ },
23730
+ "logins": {
23731
+ "type": "array",
23732
+ "items": {
23733
+ "$ref": "#/components/schemas/AgentLoginOption"
23734
+ },
23735
+ "description": "Band-managed logins for this agent (`agentLogins`). The chat shows a picker when there are two or more choices."
22832
23736
  }
22833
23737
  },
22834
23738
  "required": [
@@ -22839,6 +23743,30 @@
22839
23743
  ],
22840
23744
  "additionalProperties": false
22841
23745
  },
23746
+ "AgentLoginOption": {
23747
+ "type": "object",
23748
+ "properties": {
23749
+ "id": {
23750
+ "type": "string"
23751
+ },
23752
+ "label": {
23753
+ "type": "string"
23754
+ },
23755
+ "kindLabel": {
23756
+ "type": "string"
23757
+ },
23758
+ "isDefault": {
23759
+ "type": "boolean"
23760
+ }
23761
+ },
23762
+ "required": [
23763
+ "id",
23764
+ "label",
23765
+ "kindLabel",
23766
+ "isDefault"
23767
+ ],
23768
+ "additionalProperties": false
23769
+ },
22842
23770
  "ModelRefreshResult": {
22843
23771
  "type": "object",
22844
23772
  "properties": {
@@ -25034,6 +25962,10 @@
25034
25962
  "ownerHostId": {
25035
25963
  "type": "string",
25036
25964
  "description": "The worker that runs this chat and replicates it to the hub, or\nundefined when the hub runs it."
25965
+ },
25966
+ "loginId": {
25967
+ "type": "string",
25968
+ "description": "The agent login (`agentLogins`) this chat picked, or undefined for the repo's or the agent's default."
25037
25969
  }
25038
25970
  },
25039
25971
  "required": [
@@ -25048,7 +25980,8 @@
25048
25980
  "activeSessionLastModified",
25049
25981
  "status",
25050
25982
  "labels",
25051
- "ownerHostId"
25983
+ "ownerHostId",
25984
+ "loginId"
25052
25985
  ],
25053
25986
  "additionalProperties": false
25054
25987
  },