deepline 0.3.535 → 0.3.537

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 (229) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +232 -147
  2. package/dist/bundling-sources/sdk/src/index.ts +4 -0
  3. package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +27 -1
  4. package/dist/bundling-sources/sdk/src/plays/run-request.ts +16 -5
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/sdk/src/types.ts +2 -23
  7. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +26 -14
  8. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +33 -8
  9. package/dist/bundling-sources/shared_libs/monitors/fleets/count-drift-alert.ts +121 -0
  10. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
  11. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +14 -82
  12. package/dist/bundling-sources/shared_libs/monitors/package.json +1 -0
  13. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +22 -4
  14. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -26
  15. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +36 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +21 -31
  17. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +88 -96
  18. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
  19. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
  20. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
  21. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +9 -0
  22. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +127 -9
  25. package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
  26. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
  27. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
  28. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
  29. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
  31. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +7 -0
  33. package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
  34. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
  35. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +8 -3
  36. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  37. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
  40. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
  41. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
  42. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
  44. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +84 -49
  45. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -32
  46. package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
  47. package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
  48. package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
  49. package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
  50. package/dist/cli/{auth-ZCTMB5RA.mjs → auth-4SUPGDIM.mjs} +7 -7
  51. package/dist/cli/auth-Y2K2ZYYA.js +43 -0
  52. package/dist/cli/{billing-OU2ZHL72.mjs → billing-5JUA3ZM3.mjs} +185 -24
  53. package/dist/cli/{billing-GVFKZQH3.js → billing-SQU726P7.js} +273 -112
  54. package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
  55. package/dist/cli/{chunk-ZUVE63Y7.js → chunk-2Q7VXTMS.js} +2 -2
  56. package/dist/cli/{chunk-WAIBM6KX.mjs → chunk-37AZHCTP.mjs} +5 -5
  57. package/dist/cli/{chunk-D4MHCCIR.js → chunk-3PMCQ3LK.js} +33 -33
  58. package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
  59. package/dist/cli/{chunk-PI5R65OQ.js → chunk-5EOEJKSV.js} +1 -1
  60. package/dist/cli/{chunk-XSOTEVOB.js → chunk-6BBGUQJJ.js} +50 -141
  61. package/dist/cli/{chunk-OM732MGV.js → chunk-ALHKB3AE.js} +17 -17
  62. package/dist/cli/{chunk-6LHX33VN.js → chunk-AVQET3NR.js} +9 -6
  63. package/dist/cli/{chunk-W6T23EUC.mjs → chunk-AX2OAXDL.mjs} +1 -1
  64. package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
  65. package/dist/cli/{chunk-G2DLG32W.mjs → chunk-BFHR7IC2.mjs} +40 -27
  66. package/dist/cli/{chunk-KWGXHPHL.js → chunk-BGXEMTIG.js} +523 -59
  67. package/dist/cli/{chunk-AUEUAPVS.mjs → chunk-BRRCWUOW.mjs} +1 -1
  68. package/dist/cli/{chunk-QYBAHYP4.mjs → chunk-C37VELBR.mjs} +7 -9
  69. package/dist/cli/{chunk-H6SWS5CG.mjs → chunk-C3XD2WHM.mjs} +2 -2
  70. package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
  71. package/dist/cli/{chunk-CIDATNTY.js → chunk-CFND2ACL.js} +16 -16
  72. package/dist/cli/{chunk-J75DANZY.mjs → chunk-CGDW2CRR.mjs} +2 -2
  73. package/dist/cli/{chunk-RFQWSH6I.js → chunk-CHIGEDAE.js} +3 -3
  74. package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
  75. package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
  76. package/dist/cli/{chunk-E3CLOVG5.mjs → chunk-CXTW7SRW.mjs} +50 -141
  77. package/dist/cli/{chunk-4NLRWKZB.js → chunk-D77W6Q67.js} +26 -26
  78. package/dist/cli/{chunk-JWWYLGUT.mjs → chunk-EEFSUCYP.mjs} +475 -11
  79. package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
  80. package/dist/cli/{chunk-6TYRRNXY.mjs → chunk-GI3V4D7K.mjs} +2 -2
  81. package/dist/cli/{chunk-DFJODFMC.mjs → chunk-GPMS6OPX.mjs} +5 -5
  82. package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
  83. package/dist/cli/{chunk-DAPKLYST.js → chunk-IQOIT6E3.js} +41 -41
  84. package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
  85. package/dist/cli/{chunk-FGN75ZN6.js → chunk-JMHYDDBQ.js} +390 -382
  86. package/dist/cli/{chunk-KA6ZERJL.js → chunk-JS2SBCWD.js} +6 -6
  87. package/dist/cli/{chunk-W5YJYU4G.mjs → chunk-K4WJ4BYO.mjs} +2 -2
  88. package/dist/cli/{chunk-LVISZFYO.mjs → chunk-KH27B2HJ.mjs} +2 -2
  89. package/dist/cli/{chunk-UUQ2OXMH.js → chunk-KULT6O5K.js} +18 -20
  90. package/dist/cli/{chunk-YFZLZNTH.mjs → chunk-L3JVGNAT.mjs} +4 -4
  91. package/dist/cli/{chunk-HYBZWSSH.js → chunk-L6QAIZNZ.js} +44 -44
  92. package/dist/cli/{chunk-TCVCFZP6.mjs → chunk-NU7B5X6J.mjs} +4 -1
  93. package/dist/cli/{chunk-7PXP2FQK.js → chunk-NXGLJGPB.js} +2 -2
  94. package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
  95. package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
  96. package/dist/cli/{chunk-2D6SWQTK.js → chunk-PJ4ZGZAN.js} +13 -13
  97. package/dist/cli/{chunk-HWPOXCCK.js → chunk-PU42VOBI.js} +8 -8
  98. package/dist/cli/{chunk-RKY4LBX3.mjs → chunk-QDBGPRR2.mjs} +3 -3
  99. package/dist/cli/{chunk-KOZBZPRM.js → chunk-QPDLG7DQ.js} +55 -55
  100. package/dist/cli/{chunk-DWPY6ZID.mjs → chunk-R7JYG6XO.mjs} +1 -1
  101. package/dist/cli/{chunk-K76AEBFY.mjs → chunk-RMVZTBI5.mjs} +4 -4
  102. package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
  103. package/dist/cli/{chunk-WNNA4L6Z.js → chunk-UGA5KI4A.js} +22 -22
  104. package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
  105. package/dist/cli/{chunk-7CWSAEYS.mjs → chunk-V5IIBG2E.mjs} +1 -1
  106. package/dist/cli/{chunk-BF65LB7X.mjs → chunk-VP2K5B3R.mjs} +4 -4
  107. package/dist/cli/{chunk-DYIWDUY4.js → chunk-VRYX2BR4.js} +316 -303
  108. package/dist/cli/{chunk-R2KKEHJN.mjs → chunk-W3J3LT22.mjs} +5 -5
  109. package/dist/cli/{chunk-PHLNYBAA.js → chunk-WBFOV5HT.js} +5 -5
  110. package/dist/cli/{chunk-5EKNDNFQ.js → chunk-WBTYWJLN.js} +2 -2
  111. package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
  112. package/dist/cli/{chunk-K3IPGMGP.js → chunk-XDS26J7Z.js} +17 -19
  113. package/dist/cli/{chunk-JQQG4QL4.mjs → chunk-Y6AMMXWS.mjs} +3 -3
  114. package/dist/cli/{chunk-7R5DAANG.mjs → chunk-Z2PPB3IO.mjs} +1 -1
  115. package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
  116. package/dist/cli/{chunk-243O3FH5.js → chunk-ZFSB7GXF.js} +5 -5
  117. package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
  118. package/dist/cli/{chunk-FZKPPB5P.mjs → chunk-ZHPSJ3LJ.mjs} +85 -77
  119. package/dist/cli/{chunk-K53NKWZO.mjs → chunk-ZUAMXZXC.mjs} +13 -15
  120. package/dist/cli/command-docs.js +2 -2
  121. package/dist/cli/command-docs.mjs +1 -1
  122. package/dist/cli/{csv-CLPVMIRF.mjs → csv-HZP6QMG7.mjs} +6 -6
  123. package/dist/cli/{csv-CD55KEIO.js → csv-JITYN27L.js} +15 -15
  124. package/dist/cli/{db-MQKLDAEO.js → db-FYSRB7O4.js} +36 -36
  125. package/dist/cli/{db-AU4SMWUN.mjs → db-QRIRTOMM.mjs} +9 -9
  126. package/dist/cli/describe-LSOHOLFI.js +49 -0
  127. package/dist/cli/describe-REXJVJC3.mjs +49 -0
  128. package/dist/cli/describe-core.d.mts +3 -3
  129. package/dist/cli/describe-core.d.ts +3 -3
  130. package/dist/cli/describe-core.js +5 -5
  131. package/dist/cli/describe-core.mjs +4 -4
  132. package/dist/cli/{executions-TFIJPUX7.mjs → executions-53KJAFOW.mjs} +9 -9
  133. package/dist/cli/{executions-77GOLWRM.js → executions-BSTF4DDS.js} +11 -11
  134. package/dist/cli/{feedback-OV5YAL3A.js → feedback-6MW3QOXX.js} +16 -16
  135. package/dist/cli/{feedback-2WRSZ5WL.mjs → feedback-CWUJJF3J.mjs} +8 -8
  136. package/dist/cli/{git-VNS4ATLZ.mjs → git-CKVZTJFS.mjs} +7 -7
  137. package/dist/cli/git-S7SWUZ3T.js +25 -0
  138. package/dist/cli/index.js +151 -157
  139. package/dist/cli/index.mjs +51 -57
  140. package/dist/cli/{legacy-noops-HDOB5C6F.js → legacy-noops-QBL4PNGB.js} +11 -11
  141. package/dist/cli/{legacy-noops-C732QDCY.mjs → legacy-noops-USTBRFRX.mjs} +8 -8
  142. package/dist/cli/{monitors-2LYEFXOU.mjs → monitors-6UCG5D7W.mjs} +19 -16
  143. package/dist/cli/{monitors-5IUMHH3E.js → monitors-VCR6SUZD.js} +125 -122
  144. package/dist/cli/{org-G4YGZPHS.mjs → org-GSRBOJVO.mjs} +9 -9
  145. package/dist/cli/{org-ADW2EVAC.js → org-HPILTEG4.js} +89 -89
  146. package/dist/cli/{play-7GQ56C2D.mjs → play-QRTYQNG4.mjs} +123 -76
  147. package/dist/cli/{play-EHSOSSHT.js → play-TK7WOP5H.js} +641 -594
  148. package/dist/cli/{providers-PWCF6OOO.js → providers-HEXNJ5QC.js} +12 -12
  149. package/dist/cli/{providers-WL3YTCSV.mjs → providers-OAQJWVBS.mjs} +9 -9
  150. package/dist/cli/{quickstart-323XOPGI.mjs → quickstart-FFVHTPSP.mjs} +6 -6
  151. package/dist/cli/{quickstart-ZKI5MURA.js → quickstart-PYZTFXZX.js} +8 -8
  152. package/dist/cli/{run-XZPWA6JS.js → run-4DWJXJRO.js} +50 -53
  153. package/dist/cli/{run-ZCNZU3K2.mjs → run-HLN6YYZH.mjs} +31 -34
  154. package/dist/cli/search-WERQBC6V.js +32 -0
  155. package/dist/cli/{search-CVLVSFMJ.mjs → search-ZHRCXGEL.mjs} +10 -11
  156. package/dist/cli/{search-output-7HRSSRBS.js → search-output-2KY6PFDH.js} +8 -8
  157. package/dist/cli/{search-output-6PY6RN2R.mjs → search-output-N7QXACVK.mjs} +6 -6
  158. package/dist/cli/{secrets-6S2ZWDIM.mjs → secrets-FKMWBLHU.mjs} +9 -9
  159. package/dist/cli/{secrets-IYD5VKY4.js → secrets-WXQ7XO5C.js} +18 -18
  160. package/dist/cli/{sessions-GVEX5TUJ.mjs → sessions-3YDTEDA5.mjs} +8 -8
  161. package/dist/cli/sessions-LXQ4Q6BS.js +22 -0
  162. package/dist/cli/{settings-CANK4HJQ.js → settings-67TWLQ6E.js} +88 -89
  163. package/dist/cli/{settings-BN5MJZ3C.mjs → settings-JTPASUZN.mjs} +15 -16
  164. package/dist/cli/{setup-YSGKGLSJ.js → setup-KUERQJUX.js} +51 -52
  165. package/dist/cli/{setup-JNMSCCU4.mjs → setup-VYNGXUJ6.mjs} +11 -12
  166. package/dist/cli/skills-EFRLHY3F.js +36 -0
  167. package/dist/cli/{skills-QCQN2UM2.mjs → skills-KI4KYHH6.mjs} +9 -10
  168. package/dist/cli/tools-C3EIGFFP.js +56 -0
  169. package/dist/cli/{tools-CDPOID7V.mjs → tools-UQDJS2RS.mjs} +20 -21
  170. package/dist/cli/{update-D3ZERUQ3.mjs → update-7FQQUBOD.mjs} +11 -12
  171. package/dist/cli/update-KCY72RXH.js +34 -0
  172. package/dist/cli/{views-RDZRWQBQ.mjs → views-JAM4MNNV.mjs} +54 -10
  173. package/dist/cli/{views-4NV2KQKA.js → views-MJK7JGZG.js} +66 -22
  174. package/dist/cli/{workflow-RABJCAZC.js → workflow-AQPRIWQX.js} +20 -20
  175. package/dist/cli/{workflow-2CG3TVCG.mjs → workflow-TQRV5FGO.mjs} +10 -10
  176. package/dist/{client-DhSvMO3A.d.mts → client-BlLYQDNo.d.mts} +1 -1
  177. package/dist/{client-oGNJMQFd.d.ts → client-DSQlkIDO.d.ts} +1 -1
  178. package/dist/{client-core-CdWH6Sii.d.ts → client-core-CDwapXy5.d.ts} +159 -108
  179. package/dist/{client-core-CVG1Et-4.d.mts → client-core-rX7n2H8U.d.mts} +159 -108
  180. package/dist/{compiler-manifest-D2ZlBGxj.d.ts → compiler-manifest-BHNC4RL-.d.mts} +15 -22
  181. package/dist/{compiler-manifest-D2ZlBGxj.d.mts → compiler-manifest-BHNC4RL-.d.ts} +15 -22
  182. package/dist/{errors-B-gOQdj-.d.mts → errors-D7sPXrvB.d.mts} +1 -1
  183. package/dist/{errors-CB0KAmmV.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
  184. package/dist/{index-c3nvUGCS.d.ts → index-CQTBHXHr.d.ts} +1 -1
  185. package/dist/{index-BbJADro4.d.mts → index-NaDZq2xf.d.mts} +1 -1
  186. package/dist/index.d.mts +7 -7
  187. package/dist/index.d.ts +7 -7
  188. package/dist/index.js +15 -15
  189. package/dist/index.mjs +11 -11
  190. package/dist/install-integrity.json +129 -132
  191. package/dist/monitor-fleet-contract.d.mts +17 -11
  192. package/dist/monitor-fleet-contract.d.ts +17 -11
  193. package/dist/monitor-fleet-contract.js +3 -3
  194. package/dist/monitor-fleet-contract.mjs +2 -2
  195. package/dist/monitor-input-contract.js +2 -2
  196. package/dist/monitor-input-contract.mjs +1 -1
  197. package/dist/plays/bundle-play-file.d.mts +3 -3
  198. package/dist/plays/bundle-play-file.d.ts +3 -3
  199. package/dist/plays/bundle-play-file.mjs +17 -5
  200. package/dist/plays/csv-data-input.js +3 -3
  201. package/dist/plays/csv-data-input.mjs +2 -2
  202. package/dist/plays/play-description.d.mts +2 -2
  203. package/dist/plays/play-description.d.ts +2 -2
  204. package/dist/plays/run-request.d.mts +2 -2
  205. package/dist/plays/run-request.d.ts +2 -2
  206. package/dist/plays/run-request.js +3 -3
  207. package/dist/plays/run-request.mjs +2 -2
  208. package/dist/release.d.mts +1 -1
  209. package/dist/release.d.ts +1 -1
  210. package/dist/release.js +2 -2
  211. package/dist/release.mjs +1 -1
  212. package/dist/server.d.mts +4 -4
  213. package/dist/server.d.ts +4 -4
  214. package/dist/server.js +12 -12
  215. package/dist/server.mjs +6 -6
  216. package/package.json +1 -1
  217. package/dist/cli/auth-VDCU3T6A.js +0 -43
  218. package/dist/cli/chunk-4QELPWUW.mjs +0 -405
  219. package/dist/cli/chunk-T7RBM2WX.js +0 -405
  220. package/dist/cli/describe-5BFNHT5V.js +0 -50
  221. package/dist/cli/describe-AWJUXE2U.mjs +0 -50
  222. package/dist/cli/git-HGMX52XU.js +0 -25
  223. package/dist/cli/pages-KXKWSCEV.mjs +0 -266
  224. package/dist/cli/pages-VTJGAI2D.js +0 -266
  225. package/dist/cli/search-J6EY7DQN.js +0 -33
  226. package/dist/cli/sessions-7HPIVSQ4.js +0 -22
  227. package/dist/cli/skills-WDGSSKJZ.js +0 -37
  228. package/dist/cli/tools-URNVXSTZ.js +0 -57
  229. package/dist/cli/update-Q6JW32IA.js +0 -35
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-LVISZFYO.mjs";
4
- import "./chunk-FZKPPB5P.mjs";
3
+ } from "./chunk-KH27B2HJ.mjs";
4
+ import "./chunk-ZHPSJ3LJ.mjs";
5
5
  import "./chunk-L2VKAASU.mjs";
6
- import "./chunk-FKD3KL5Q.mjs";
6
+ import "./chunk-Z2XA6YU4.mjs";
7
7
  import "./chunk-PSX3WHIH.mjs";
8
8
  import "./chunk-UBKA33KY.mjs";
9
9
  import {
10
10
  printCommandEnvelope
11
- } from "./chunk-JWWYLGUT.mjs";
11
+ } from "./chunk-EEFSUCYP.mjs";
12
12
  import {
13
13
  ACTIVE_ORG_ID_ENV,
14
14
  ACTIVE_ORG_NAME_ENV,
@@ -28,14 +28,14 @@ import {
28
28
  saveProjectDeeplineEnvValues,
29
29
  sdkCliStateDirPath,
30
30
  storedHostFeatures
31
- } from "./chunk-W5YJYU4G.mjs";
31
+ } from "./chunk-K4WJ4BYO.mjs";
32
32
  import {
33
33
  detectAgentRuntime
34
- } from "./chunk-RKY4LBX3.mjs";
35
- import "./chunk-QNHHZ63P.mjs";
34
+ } from "./chunk-QDBGPRR2.mjs";
35
+ import "./chunk-CQBIO6HW.mjs";
36
36
  import "./chunk-DLIRSHV6.mjs";
37
- import "./chunk-ZPGGW27Q.mjs";
38
- import "./chunk-7CWSAEYS.mjs";
37
+ import "./chunk-JL2OTMSG.mjs";
38
+ import "./chunk-V5IIBG2E.mjs";
39
39
  import "./chunk-WZYKRD7T.mjs";
40
40
  import "./chunk-KRD6H754.mjs";
41
41
 
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk243O3FH5js = require('./chunk-243O3FH5.js');
4
- require('./chunk-FGN75ZN6.js');
3
+ var _chunkZFSB7GXFjs = require('./chunk-ZFSB7GXF.js');
4
+ require('./chunk-JMHYDDBQ.js');
5
5
  require('./chunk-E4CABWXL.js');
6
- require('./chunk-2KHUFWTK.js');
6
+ require('./chunk-CQDQNZGH.js');
7
7
  require('./chunk-PMH4GLMD.js');
8
8
  require('./chunk-XDVT3GOM.js');
9
9
 
10
10
 
11
- var _chunkKWGXHPHLjs = require('./chunk-KWGXHPHL.js');
11
+ var _chunkBGXEMTIGjs = require('./chunk-BGXEMTIG.js');
12
12
 
13
13
 
14
14
 
@@ -28,14 +28,14 @@ var _chunkKWGXHPHLjs = require('./chunk-KWGXHPHL.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkHWPOXCCKjs = require('./chunk-HWPOXCCK.js');
31
+ var _chunkPU42VOBIjs = require('./chunk-PU42VOBI.js');
32
32
 
33
33
 
34
- var _chunkD4MHCCIRjs = require('./chunk-D4MHCCIR.js');
35
- require('./chunk-T2N3B7IQ.js');
34
+ var _chunk3PMCQ3LKjs = require('./chunk-3PMCQ3LK.js');
35
+ require('./chunk-2GJZLIKW.js');
36
36
  require('./chunk-XNYIZMNQ.js');
37
- require('./chunk-SQWET4SL.js');
38
- require('./chunk-PI5R65OQ.js');
37
+ require('./chunk-BBTKAASQ.js');
38
+ require('./chunk-5EOEJKSV.js');
39
39
  require('./chunk-OG64RBAC.js');
40
40
  require('./chunk-COGTRVWW.js');
41
41
 
@@ -51,7 +51,7 @@ var _fs = require('fs');
51
51
  var _path = require('path');
52
52
  function pendingOrgCreatePath(baseUrl, accountId, sourceOrgId, name) {
53
53
  const intent = _crypto.createHash.call(void 0, "sha256").update(accountId).update("\0").update(sourceOrgId).update("\0").update(name).digest("hex");
54
- return _path.join.call(void 0, _chunkHWPOXCCKjs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
54
+ return _path.join.call(void 0, _chunkPU42VOBIjs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
55
55
  }
56
56
  function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
57
57
  let value;
@@ -70,7 +70,7 @@ function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
70
70
  return value;
71
71
  }
72
72
  function loadOrCreatePendingOrgCreate(input) {
73
- const stateDir = _chunkHWPOXCCKjs.sdkCliStateDirPath.call(void 0, input.baseUrl);
73
+ const stateDir = _chunkPU42VOBIjs.sdkCliStateDirPath.call(void 0, input.baseUrl);
74
74
  const path = pendingOrgCreatePath(
75
75
  input.baseUrl,
76
76
  input.accountId,
@@ -155,11 +155,11 @@ function processEnvValue(name) {
155
155
  }
156
156
  function organizationAuthValues(input) {
157
157
  return {
158
- [_chunkHWPOXCCKjs.HOST_URL_ENV]: input.baseUrl,
159
- [_chunkHWPOXCCKjs.API_KEY_ENV]: input.apiKey,
160
- [_chunkHWPOXCCKjs.ACTIVE_ORG_ID_ENV]: input.orgId,
161
- [_chunkHWPOXCCKjs.ACTIVE_ORG_NAME_ENV]: input.orgName,
162
- ..._chunkHWPOXCCKjs.featureEnvValues.call(void 0, input)
158
+ [_chunkPU42VOBIjs.HOST_URL_ENV]: input.baseUrl,
159
+ [_chunkPU42VOBIjs.API_KEY_ENV]: input.apiKey,
160
+ [_chunkPU42VOBIjs.ACTIVE_ORG_ID_ENV]: input.orgId,
161
+ [_chunkPU42VOBIjs.ACTIVE_ORG_NAME_ENV]: input.orgName,
162
+ ..._chunkPU42VOBIjs.featureEnvValues.call(void 0, input)
163
163
  };
164
164
  }
165
165
  function organizationCommandContext(input) {
@@ -173,14 +173,14 @@ function organizationCommandContext(input) {
173
173
  };
174
174
  }
175
175
  function agentCommandContext(commandContext) {
176
- return _chunkD4MHCCIRjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
176
+ return _chunk3PMCQ3LKjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
177
177
  }
178
178
  function resolveOrgSwitchAuthTarget(scope, config) {
179
- const activeProject = _chunkHWPOXCCKjs.getResolvedProjectAuthSource.call(void 0,
179
+ const activeProject = _chunkPU42VOBIjs.getResolvedProjectAuthSource.call(void 0,
180
180
  config.baseUrl,
181
181
  config.apiKey
182
182
  );
183
- const folderTarget = _chunkHWPOXCCKjs.resolveProjectPinTarget.call(void 0, );
183
+ const folderTarget = _chunkPU42VOBIjs.resolveProjectPinTarget.call(void 0, );
184
184
  const globalOverrideWarning = activeProject && scope === "global" ? [
185
185
  `Folder auth in ${activeProject.filePath} overrides global auth for commands run here.`
186
186
  ] : [];
@@ -252,10 +252,10 @@ function resolveOrgSwitchAuthTarget(scope, config) {
252
252
  };
253
253
  }
254
254
  async function handleOrgList(options) {
255
- const config = _chunkHWPOXCCKjs.resolveConfig.call(void 0, );
256
- const http = new (0, _chunkHWPOXCCKjs.HttpClient)(config);
255
+ const config = _chunkPU42VOBIjs.resolveConfig.call(void 0, );
256
+ const http = new (0, _chunkPU42VOBIjs.HttpClient)(config);
257
257
  const payload = await fetchOrganizations(http, config.apiKey);
258
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
258
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
259
259
  {
260
260
  ...payload,
261
261
  render: {
@@ -271,22 +271,22 @@ async function handleOrgList(options) {
271
271
  );
272
272
  }
273
273
  async function handleOrgStatus(options) {
274
- const config = _chunkHWPOXCCKjs.resolveConfig.call(void 0, );
275
- const http = new (0, _chunkHWPOXCCKjs.HttpClient)(config);
274
+ const config = _chunkPU42VOBIjs.resolveConfig.call(void 0, );
275
+ const http = new (0, _chunkPU42VOBIjs.HttpClient)(config);
276
276
  const payload = await fetchOrganizations(http, config.apiKey);
277
277
  const current = _nullishCoalesce(_nullishCoalesce(payload.organizations.find((org) => org.is_current), () => ( payload.organizations.find(
278
278
  (org) => org.org_id === payload.current_org_id
279
279
  ))), () => ( null));
280
- const projectCandidate = _chunkHWPOXCCKjs.getActiveProjectAuthSource.call(void 0, );
281
- const activeProject = _chunkHWPOXCCKjs.getResolvedProjectAuthSource.call(void 0,
280
+ const projectCandidate = _chunkPU42VOBIjs.getActiveProjectAuthSource.call(void 0, );
281
+ const activeProject = _chunkPU42VOBIjs.getResolvedProjectAuthSource.call(void 0,
282
282
  config.baseUrl,
283
283
  config.apiKey
284
284
  );
285
- const folderTarget = _chunkHWPOXCCKjs.resolveProjectPinTarget.call(void 0, );
286
- const provenance = _chunkHWPOXCCKjs.resolveCliAuthProvenance.call(void 0, config);
287
- const hostPath = _chunkHWPOXCCKjs.hostEnvFilePath.call(void 0, config.baseUrl);
288
- const envApiKey = processEnvValue(_chunkHWPOXCCKjs.API_KEY_ENV);
289
- const envHostUrl = processEnvValue(_chunkHWPOXCCKjs.HOST_URL_ENV);
285
+ const folderTarget = _chunkPU42VOBIjs.resolveProjectPinTarget.call(void 0, );
286
+ const provenance = _chunkPU42VOBIjs.resolveCliAuthProvenance.call(void 0, config);
287
+ const hostPath = _chunkPU42VOBIjs.hostEnvFilePath.call(void 0, config.baseUrl);
288
+ const envApiKey = processEnvValue(_chunkPU42VOBIjs.API_KEY_ENV);
289
+ const envHostUrl = processEnvValue(_chunkPU42VOBIjs.HOST_URL_ENV);
290
290
  const authSource = envApiKey ? {
291
291
  scope: "env",
292
292
  source: "process",
@@ -327,17 +327,17 @@ async function handleOrgStatus(options) {
327
327
  if (authSource.path) {
328
328
  lines.push(`Auth file: ${authSource.path}`);
329
329
  } else {
330
- lines.push(`Auth source: ${_chunkHWPOXCCKjs.API_KEY_ENV} process environment`);
330
+ lines.push(`Auth source: ${_chunkPU42VOBIjs.API_KEY_ENV} process environment`);
331
331
  }
332
332
  if (envApiKey) {
333
- lines.push(`${_chunkHWPOXCCKjs.API_KEY_ENV} overrides saved auth for this process.`);
333
+ lines.push(`${_chunkPU42VOBIjs.API_KEY_ENV} overrides saved auth for this process.`);
334
334
  } else if (activeProject) {
335
335
  lines.push("Global auth is overridden in this folder.");
336
336
  } else if (provenance.scope === "global" && provenance.project.state === "project") {
337
337
  lines.push("Cloud mutations are blocked until this project is pinned.");
338
338
  lines.push("Pin it: deepline org set --auth-scope folder");
339
339
  }
340
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
340
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
341
341
  {
342
342
  ok: true,
343
343
  host: config.baseUrl,
@@ -371,25 +371,25 @@ async function handleOrgStatus(options) {
371
371
  }
372
372
  async function handleOrgSwitch(selection, options) {
373
373
  const authScope = normalizeAuthScope(options.authScope);
374
- const config = _chunkHWPOXCCKjs.resolveConfig.call(void 0, );
375
- const provenance = _chunkHWPOXCCKjs.resolveCliAuthProvenance.call(void 0, config);
374
+ const config = _chunkPU42VOBIjs.resolveConfig.call(void 0, );
375
+ const provenance = _chunkPU42VOBIjs.resolveCliAuthProvenance.call(void 0, config);
376
376
  if (!selection && !options.orgId && authScope === "folder" && provenance.scope === "global" && provenance.project.state === "project") {
377
- const commandContext = _chunkHWPOXCCKjs.resolveCliCommandContext.call(void 0, config);
377
+ const commandContext = _chunkPU42VOBIjs.resolveCliCommandContext.call(void 0, config);
378
378
  const activeOrganization = commandContext.active_organization;
379
- const pinnedFeatures = _chunkHWPOXCCKjs.storedHostFeatures.call(void 0, config.baseUrl);
380
- const project_env_paths2 = _chunkHWPOXCCKjs.saveProjectDeeplineEnvValues.call(void 0,
379
+ const pinnedFeatures = _chunkPU42VOBIjs.storedHostFeatures.call(void 0, config.baseUrl);
380
+ const project_env_paths2 = _chunkPU42VOBIjs.saveProjectDeeplineEnvValues.call(void 0,
381
381
  {
382
- [_chunkHWPOXCCKjs.HOST_URL_ENV]: config.baseUrl,
383
- [_chunkHWPOXCCKjs.API_KEY_ENV]: config.apiKey,
382
+ [_chunkPU42VOBIjs.HOST_URL_ENV]: config.baseUrl,
383
+ [_chunkPU42VOBIjs.API_KEY_ENV]: config.apiKey,
384
384
  ...activeOrganization ? {
385
- [_chunkHWPOXCCKjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
386
- [_chunkHWPOXCCKjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
385
+ [_chunkPU42VOBIjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
386
+ [_chunkPU42VOBIjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
387
387
  } : {},
388
- ...pinnedFeatures !== void 0 ? { [_chunkHWPOXCCKjs.FEATURES_ENV]: pinnedFeatures } : {}
388
+ ...pinnedFeatures !== void 0 ? { [_chunkPU42VOBIjs.FEATURES_ENV]: pinnedFeatures } : {}
389
389
  },
390
390
  provenance.project.dir
391
391
  );
392
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
392
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  ok: true,
395
395
  unchanged: true,
@@ -401,7 +401,7 @@ async function handleOrgSwitch(selection, options) {
401
401
  orgId: activeOrganization.org_id,
402
402
  orgName: activeOrganization.org_name,
403
403
  authScope: "folder"
404
- }) : _chunkHWPOXCCKjs.resolveCliCommandContext.call(void 0, config, "folder")
404
+ }) : _chunkPU42VOBIjs.resolveCliCommandContext.call(void 0, config, "folder")
405
405
  ),
406
406
  project_env_paths: project_env_paths2,
407
407
  next: { status: "deepline org status" },
@@ -422,10 +422,10 @@ async function handleOrgSwitch(selection, options) {
422
422
  );
423
423
  return;
424
424
  }
425
- const http = new (0, _chunkHWPOXCCKjs.HttpClient)(config);
425
+ const http = new (0, _chunkPU42VOBIjs.HttpClient)(config);
426
426
  const payload = await fetchOrganizations(http, config.apiKey);
427
427
  if (!selection && !options.orgId) {
428
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
428
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
429
429
  {
430
430
  ...payload,
431
431
  next: { set: "deepline org set <number>" },
@@ -476,9 +476,9 @@ async function handleOrgSwitch(selection, options) {
476
476
  features
477
477
  });
478
478
  if (authTarget.kind === "folder") {
479
- project_env_paths2 = _chunkHWPOXCCKjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
479
+ project_env_paths2 = _chunkPU42VOBIjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
480
480
  } else {
481
- _chunkHWPOXCCKjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
481
+ _chunkPU42VOBIjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
482
482
  }
483
483
  const renderLines2 = [`Already on ${target.name}.`];
484
484
  for (const projectPath of project_env_paths2) {
@@ -486,7 +486,7 @@ async function handleOrgSwitch(selection, options) {
486
486
  }
487
487
  if (authTarget.kind === "global") {
488
488
  renderLines2.push(
489
- `Saved global auth in ${_chunkHWPOXCCKjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
489
+ `Saved global auth in ${_chunkPU42VOBIjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
490
490
  );
491
491
  }
492
492
  renderLines2.push(
@@ -502,7 +502,7 @@ async function handleOrgSwitch(selection, options) {
502
502
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
503
503
  ...authTarget.warnings
504
504
  ];
505
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
505
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
506
506
  {
507
507
  ok: true,
508
508
  unchanged: true,
@@ -518,7 +518,7 @@ async function handleOrgSwitch(selection, options) {
518
518
  authScope: authTarget.effective_scope
519
519
  })
520
520
  ),
521
- host_env_path: authTarget.kind === "global" ? _chunkHWPOXCCKjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
521
+ host_env_path: authTarget.kind === "global" ? _chunkPU42VOBIjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
522
522
  project_env_paths: project_env_paths2,
523
523
  deprecated_command: options.deprecatedSwitch ? "org switch" : null,
524
524
  replacement_command: options.deprecatedSwitch ? "deepline org set" : null,
@@ -544,9 +544,9 @@ async function handleOrgSwitch(selection, options) {
544
544
  features: switched.features
545
545
  });
546
546
  if (authTarget.kind === "folder") {
547
- project_env_paths = _chunkHWPOXCCKjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
547
+ project_env_paths = _chunkPU42VOBIjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
548
548
  } else {
549
- _chunkHWPOXCCKjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
549
+ _chunkPU42VOBIjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
550
550
  }
551
551
  const { api_key: _apiKey, ...publicSwitched } = switched;
552
552
  const renderLines = [`Switched to ${switched.org_name}.`];
@@ -555,7 +555,7 @@ async function handleOrgSwitch(selection, options) {
555
555
  renderLines.push(`Saved folder auth in ${projectPath}`);
556
556
  }
557
557
  } else {
558
- renderLines.push(`Saved global auth in ${_chunkHWPOXCCKjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
558
+ renderLines.push(`Saved global auth in ${_chunkPU42VOBIjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
559
559
  }
560
560
  renderLines.push(
561
561
  `Scope: ${authTarget.requested_scope} -> ${authTarget.effective_scope} (${authTarget.reason})`
@@ -570,10 +570,10 @@ async function handleOrgSwitch(selection, options) {
570
570
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
571
571
  ...authTarget.warnings
572
572
  ];
573
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
573
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
574
574
  {
575
575
  ok: true,
576
- host_env_path: authTarget.kind === "global" ? _chunkHWPOXCCKjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
576
+ host_env_path: authTarget.kind === "global" ? _chunkPU42VOBIjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
577
577
  project_env_paths,
578
578
  ...publicSwitched,
579
579
  api_key_saved: true,
@@ -604,12 +604,12 @@ async function handleOrgSwitch(selection, options) {
604
604
  );
605
605
  }
606
606
  async function handleOrgCreate(name, options) {
607
- const config = _chunkHWPOXCCKjs.resolveConfig.call(void 0, );
607
+ const config = _chunkPU42VOBIjs.resolveConfig.call(void 0, );
608
608
  const normalizedName = name.trim();
609
609
  if (!normalizedName) {
610
610
  throw new Error("Workspace name is required.");
611
611
  }
612
- const http = new (0, _chunkHWPOXCCKjs.HttpClient)(config);
612
+ const http = new (0, _chunkPU42VOBIjs.HttpClient)(config);
613
613
  const identity = await fetchWorkspaceCreationIdentity(http, config.apiKey);
614
614
  let created;
615
615
  let workspaceApiKey;
@@ -635,7 +635,7 @@ async function handleOrgCreate(name, options) {
635
635
  sourceOrgId: identity.orgId,
636
636
  name: normalizedName
637
637
  });
638
- const workspace = await new (0, _chunk243O3FH5js.DeeplineClient)({
638
+ const workspace = await new (0, _chunkZFSB7GXFjs.DeeplineClient)({
639
639
  apiKey: config.apiKey,
640
640
  baseUrl: config.baseUrl
641
641
  }).workspaces.create({
@@ -658,16 +658,16 @@ async function handleOrgCreate(name, options) {
658
658
  orgName: created.org_name,
659
659
  features: workspaceFeatures
660
660
  });
661
- _chunkHWPOXCCKjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
661
+ _chunkPU42VOBIjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
662
662
  if (pendingIntentPath) _fs.unlinkSync.call(void 0, pendingIntentPath);
663
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
663
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
664
664
  {
665
665
  ok: true,
666
666
  ...created,
667
667
  initial_credits: typeof created.initial_credits === "number" ? created.initial_credits : 0,
668
668
  api_key_saved: true,
669
669
  switched: true,
670
- host_env_path: _chunkHWPOXCCKjs.hostEnvFilePath.call(void 0, config.baseUrl),
670
+ host_env_path: _chunkPU42VOBIjs.hostEnvFilePath.call(void 0, config.baseUrl),
671
671
  ...agentCommandContext(
672
672
  organizationCommandContext({
673
673
  orgId: created.org_id,
@@ -682,7 +682,7 @@ async function handleOrgCreate(name, options) {
682
682
  lines: [
683
683
  `Created organization: ${created.org_name}.`,
684
684
  `Switched to ${created.org_name}.`,
685
- `Saved host auth in ${_chunkHWPOXCCKjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
685
+ `Saved host auth in ${_chunkPU42VOBIjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
686
686
  ]
687
687
  }
688
688
  ]
@@ -734,8 +734,8 @@ Examples:
734
734
  );
735
735
  const members = org.command("members").description("List workspace members and manage their grants.");
736
736
  members.command("list").description("List one page of memberships and effective grants.").option("--cursor <cursor>", "Continue from the previous page").option("--json", "Output JSON").action(async (options) => {
737
- const result = await new (0, _chunk243O3FH5js.DeeplineClient)().workspaces.members(options);
738
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
737
+ const result = await new (0, _chunkZFSB7GXFjs.DeeplineClient)().workspaces.members(options);
738
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
739
739
  {
740
740
  ...result,
741
741
  render: {
@@ -756,11 +756,11 @@ Examples:
756
756
  "Replace a member\u2019s grants (read, run, admin). Requires admin."
757
757
  ).option("--json", "Output JSON").action(
758
758
  async (memberId, grants, options) => {
759
- const result = await new (0, _chunk243O3FH5js.DeeplineClient)().workspaces.setMemberGrants(
759
+ const result = await new (0, _chunkZFSB7GXFjs.DeeplineClient)().workspaces.setMemberGrants(
760
760
  memberId,
761
761
  grants
762
762
  );
763
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
763
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
764
764
  {
765
765
  ...result,
766
766
  render: {
@@ -781,8 +781,8 @@ Examples:
781
781
  );
782
782
  const renderServiceAccount = (account) => `${account.id} ${account.name} role=${_nullishCoalesce(account.role, () => ( "none"))} keys=${account.activeKeyCount}`;
783
783
  serviceAccounts.command("list").description("List service accounts and, for admins, their keys.").option("--json", "Output JSON").action(async (options) => {
784
- const result = await new (0, _chunk243O3FH5js.DeeplineClient)().workspaces.serviceAccounts.list();
785
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
784
+ const result = await new (0, _chunkZFSB7GXFjs.DeeplineClient)().workspaces.serviceAccounts.list();
785
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
786
786
  {
787
787
  ...result,
788
788
  render: {
@@ -803,11 +803,11 @@ Examples:
803
803
  );
804
804
  });
805
805
  serviceAccounts.command("create <name>").description("Create a service account. Requires admin.").requiredOption("--role <role>", "read, run, or member").option("--json", "Output JSON").action(async (name, options) => {
806
- const result = await new (0, _chunk243O3FH5js.DeeplineClient)().workspaces.serviceAccounts.create({
806
+ const result = await new (0, _chunkZFSB7GXFjs.DeeplineClient)().workspaces.serviceAccounts.create({
807
807
  name,
808
808
  role: options.role
809
809
  });
810
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
810
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
811
811
  {
812
812
  ...result,
813
813
  render: {
@@ -827,11 +827,11 @@ Examples:
827
827
  });
828
828
  serviceAccounts.command("set-role <service-account-id> <role>").description("Change a service account\u2019s role. Requires admin.").option("--json", "Output JSON").action(
829
829
  async (serviceAccountId, role, options) => {
830
- const result = await new (0, _chunk243O3FH5js.DeeplineClient)().workspaces.serviceAccounts.setRole(
830
+ const result = await new (0, _chunkZFSB7GXFjs.DeeplineClient)().workspaces.serviceAccounts.setRole(
831
831
  serviceAccountId,
832
832
  role
833
833
  );
834
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
834
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
835
835
  {
836
836
  ...result,
837
837
  render: {
@@ -850,10 +850,10 @@ Examples:
850
850
  serviceAccounts.command("delete <service-account-id>").description(
851
851
  "Delete a service account and revoke its keys. Requires admin."
852
852
  ).option("--json", "Output JSON").action(async (serviceAccountId, options) => {
853
- const result = await new (0, _chunk243O3FH5js.DeeplineClient)().workspaces.serviceAccounts.delete(
853
+ const result = await new (0, _chunkZFSB7GXFjs.DeeplineClient)().workspaces.serviceAccounts.delete(
854
854
  serviceAccountId
855
855
  );
856
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
856
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
857
857
  {
858
858
  ...result,
859
859
  render: {
@@ -874,10 +874,10 @@ Examples:
874
874
  serviceAccountKeys.command("create <service-account-id>").description(
875
875
  "Create the API key for a service account that has none. Requires admin."
876
876
  ).option("--json", "Output JSON").action(async (serviceAccountId, options) => {
877
- const result = await new (0, _chunk243O3FH5js.DeeplineClient)().workspaces.serviceAccounts.createKey(
877
+ const result = await new (0, _chunkZFSB7GXFjs.DeeplineClient)().workspaces.serviceAccounts.createKey(
878
878
  serviceAccountId
879
879
  );
880
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
880
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
881
881
  {
882
882
  ...result,
883
883
  render: {
@@ -895,10 +895,10 @@ Examples:
895
895
  serviceAccountKeys.command("rotate <service-account-id>").description(
896
896
  "Replace a service account\u2019s API key: the old key stops working and the new one is shown once. Requires admin."
897
897
  ).option("--json", "Output JSON").action(async (serviceAccountId, options) => {
898
- const result = await new (0, _chunk243O3FH5js.DeeplineClient)().workspaces.serviceAccounts.rotateKey(
898
+ const result = await new (0, _chunkZFSB7GXFjs.DeeplineClient)().workspaces.serviceAccounts.rotateKey(
899
899
  serviceAccountId
900
900
  );
901
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
901
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
902
902
  {
903
903
  ...result,
904
904
  render: {
@@ -919,11 +919,11 @@ Examples:
919
919
  });
920
920
  serviceAccountKeys.command("revoke <service-account-id> <key-id>").description("Revoke a service account API key. Requires admin.").option("--json", "Output JSON").action(
921
921
  async (serviceAccountId, keyId, options) => {
922
- const result = await new (0, _chunk243O3FH5js.DeeplineClient)().workspaces.serviceAccounts.revokeKey(
922
+ const result = await new (0, _chunkZFSB7GXFjs.DeeplineClient)().workspaces.serviceAccounts.revokeKey(
923
923
  serviceAccountId,
924
924
  keyId
925
925
  );
926
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
926
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
927
927
  {
928
928
  ...result,
929
929
  render: {
@@ -941,7 +941,7 @@ Examples:
941
941
  );
942
942
  const sso = org.command("sso").description("Manage Enterprise workspace SSO.");
943
943
  const ssoPath = "/api/v2/auth/workspace/sso";
944
- const printSso = (payload, json) => _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
944
+ const printSso = (payload, json) => _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
945
945
  {
946
946
  ...payload,
947
947
  render: {
@@ -965,7 +965,7 @@ Examples:
965
965
  },
966
966
  { json }
967
967
  );
968
- const ssoHttp = () => new (0, _chunkHWPOXCCKjs.HttpClient)(_chunkHWPOXCCKjs.resolveConfig.call(void 0, ));
968
+ const ssoHttp = () => new (0, _chunkPU42VOBIjs.HttpClient)(_chunkPU42VOBIjs.resolveConfig.call(void 0, ));
969
969
  sso.command("status").description("Show this workspace's SSO connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
970
970
  printSso(await ssoHttp().get(ssoPath), options.json);
971
971
  });
@@ -996,8 +996,8 @@ Examples:
996
996
  "Identity provider metadata XML file"
997
997
  ).option("--json", "Emit JSON output").action(
998
998
  async (options) => {
999
- const config = _chunkHWPOXCCKjs.resolveConfig.call(void 0, );
1000
- const http = new (0, _chunkHWPOXCCKjs.HttpClient)(config);
999
+ const config = _chunkPU42VOBIjs.resolveConfig.call(void 0, );
1000
+ const http = new (0, _chunkPU42VOBIjs.HttpClient)(config);
1001
1001
  const identity = await fetchWorkspaceCreationIdentity(
1002
1002
  http,
1003
1003
  config.apiKey
@@ -1061,13 +1061,13 @@ Examples:
1061
1061
  if (chosen.length > 1) {
1062
1062
  throw new Error("Pass one of a logo URL, --domain, or --remove.");
1063
1063
  }
1064
- const http = new (0, _chunkHWPOXCCKjs.HttpClient)(_chunkHWPOXCCKjs.resolveConfig.call(void 0, ));
1064
+ const http = new (0, _chunkPU42VOBIjs.HttpClient)(_chunkPU42VOBIjs.resolveConfig.call(void 0, ));
1065
1065
  const path = "/api/v2/auth/workspace/logo";
1066
1066
  const payload = chosen.length === 0 ? await http.get(path) : await http.patch(
1067
1067
  path,
1068
1068
  options.domain ? { domain: options.domain } : { logo: _nullishCoalesce(url, () => ( null)) }
1069
1069
  );
1070
- _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
1070
+ _chunkBGXEMTIGjs.printCommandEnvelope.call(void 0,
1071
1071
  {
1072
1072
  ...payload,
1073
1073
  render: {