deepline 0.3.557 → 0.3.558

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 (142) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{auth-SGWFS2DS.mjs → auth-JJXTMFWH.mjs} +5 -5
  3. package/dist/cli/auth-TWSGYOWI.js +44 -0
  4. package/dist/cli/{billing-XJZX3JSG.mjs → billing-RBFJMAI5.mjs} +8 -8
  5. package/dist/cli/{billing-G6C2LUSN.js → billing-V3TJKUHY.js} +99 -99
  6. package/dist/cli/{chunk-CDLTF6M2.mjs → chunk-2FFZ5SEU.mjs} +2 -2
  7. package/dist/cli/{chunk-L5JD66EF.js → chunk-4CTBC6Q7.js} +3 -3
  8. package/dist/cli/{chunk-2TTAHHSJ.mjs → chunk-4SVFZCCI.mjs} +2 -2
  9. package/dist/cli/{chunk-DTMUYIUO.js → chunk-5V45LY6Y.js} +9 -9
  10. package/dist/cli/{chunk-B2V6NKX7.js → chunk-67J4K4G2.js} +20 -20
  11. package/dist/cli/{chunk-CPDXS2UK.js → chunk-6ASDTHEN.js} +17 -17
  12. package/dist/cli/{chunk-NWQZIBPY.js → chunk-6BDLYZYL.js} +26 -26
  13. package/dist/cli/{chunk-YUB7OX65.mjs → chunk-6GBQNS6L.mjs} +1 -1
  14. package/dist/cli/{chunk-ZAR6JSI6.js → chunk-6LFPPAMD.js} +3 -3
  15. package/dist/cli/{chunk-TPRMS2D7.mjs → chunk-6PIQC2XE.mjs} +3 -3
  16. package/dist/cli/{chunk-6ZBAXLOR.js → chunk-7Q3EXOLC.js} +12 -12
  17. package/dist/cli/{chunk-NW6NYTYM.mjs → chunk-7Q5I4KEG.mjs} +4 -4
  18. package/dist/cli/{chunk-A6FYP3KU.js → chunk-A5MRMCMW.js} +5 -5
  19. package/dist/cli/{chunk-ARYKF2YT.mjs → chunk-AL4QQKUK.mjs} +2 -2
  20. package/dist/cli/{chunk-5RVSMMQV.mjs → chunk-ARGJDP77.mjs} +2 -2
  21. package/dist/cli/{chunk-ODBQY6MD.js → chunk-BFM2RCC3.js} +2 -2
  22. package/dist/cli/{chunk-JX4X4KAZ.mjs → chunk-BHHCQGUY.mjs} +7 -7
  23. package/dist/cli/{chunk-VLXLKNR4.mjs → chunk-BM4GE67C.mjs} +2 -1
  24. package/dist/cli/{chunk-QUAPOFCA.mjs → chunk-BWWLLK56.mjs} +5 -5
  25. package/dist/cli/{chunk-5H7BLMNH.js → chunk-C7BQBKRZ.js} +4 -4
  26. package/dist/cli/{chunk-ZKLUGMPE.mjs → chunk-CB5DIX5K.mjs} +2 -2
  27. package/dist/cli/{chunk-24PL5QN5.mjs → chunk-CEEUL7ER.mjs} +1 -1
  28. package/dist/cli/{chunk-VVGGQBAV.mjs → chunk-CG3R4ZFS.mjs} +2 -2
  29. package/dist/cli/{chunk-GENZXMNR.mjs → chunk-D4GCU735.mjs} +1 -1
  30. package/dist/cli/{chunk-NHGQHMV7.js → chunk-DDI4LNVC.js} +41 -41
  31. package/dist/cli/{chunk-C6M5TIPZ.mjs → chunk-DJAP2M5M.mjs} +1 -1
  32. package/dist/cli/{chunk-4AE3A4SL.mjs → chunk-ENHQBPR5.mjs} +1 -1
  33. package/dist/cli/{chunk-MZSUMGWN.js → chunk-FCG42RQZ.js} +20 -20
  34. package/dist/cli/{chunk-WZKWSIZS.mjs → chunk-FF3BWNLL.mjs} +1 -1
  35. package/dist/cli/{chunk-JMDLLVIR.js → chunk-FH55SB63.js} +11 -11
  36. package/dist/cli/{chunk-U7LDRRRB.mjs → chunk-GAQ6VSRS.mjs} +1 -1
  37. package/dist/cli/{chunk-NXYBZSRL.mjs → chunk-HUJMFETO.mjs} +2 -2
  38. package/dist/cli/{chunk-K35ZLTN2.js → chunk-I3PX6NGG.js} +5 -5
  39. package/dist/cli/{chunk-XJUHHIH4.mjs → chunk-I57JNBKA.mjs} +5 -5
  40. package/dist/cli/{chunk-UP2CQTGX.js → chunk-IS67LBNV.js} +2 -2
  41. package/dist/cli/{chunk-TW7HFIQG.mjs → chunk-KMNLER7F.mjs} +13 -13
  42. package/dist/cli/{chunk-2YT2TFNX.js → chunk-LHPYCJNL.js} +2 -1
  43. package/dist/cli/{chunk-PITVKXY3.mjs → chunk-LIS6UJSC.mjs} +1 -1
  44. package/dist/cli/{chunk-JY2EJQL5.js → chunk-M4CJGF53.js} +5 -5
  45. package/dist/cli/{chunk-OOCGLW46.mjs → chunk-MAN4IEO4.mjs} +4 -4
  46. package/dist/cli/{chunk-5S2G32ZX.js → chunk-NADXF2C5.js} +53 -53
  47. package/dist/cli/{chunk-C46GRCHZ.js → chunk-NAJAAIEE.js} +48 -48
  48. package/dist/cli/{chunk-JWPJXCD2.js → chunk-OWOUDGHO.js} +23 -23
  49. package/dist/cli/{chunk-JORWYP5P.mjs → chunk-P2MVPTFJ.mjs} +1 -1
  50. package/dist/cli/{chunk-DUXL7U7U.mjs → chunk-P3SLGOGA.mjs} +2 -2
  51. package/dist/cli/{chunk-25SOYGAX.js → chunk-PAJLUB37.js} +274 -274
  52. package/dist/cli/{chunk-L7DGWNF7.js → chunk-QGDU23YW.js} +8 -8
  53. package/dist/cli/{chunk-7AMUXIZ5.js → chunk-QGJ4DYGE.js} +1 -1
  54. package/dist/cli/{chunk-T26CM5LC.js → chunk-RIQYBKHK.js} +2 -2
  55. package/dist/cli/{chunk-OBW2YFHR.mjs → chunk-T6W7SKE7.mjs} +2 -2
  56. package/dist/cli/{chunk-PK6MYC5E.js → chunk-TBLP7HDL.js} +7 -7
  57. package/dist/cli/{chunk-EZNYE6GZ.js → chunk-VPJ663PV.js} +10 -10
  58. package/dist/cli/{chunk-GC4HHDE4.mjs → chunk-WJ7RY3PJ.mjs} +3 -3
  59. package/dist/cli/{chunk-4YNKJTCP.mjs → chunk-XPSSXKBT.mjs} +2 -2
  60. package/dist/cli/{chunk-6C3E6ZZ3.js → chunk-XV4DHKZ2.js} +13 -13
  61. package/dist/cli/{chunk-YQDBHVYJ.mjs → chunk-YBJSDL34.mjs} +5 -5
  62. package/dist/cli/{chunk-WSX76BQX.js → chunk-YJ46MJMT.js} +6 -6
  63. package/dist/cli/{chunk-UVFR7FW4.js → chunk-YVWINBZL.js} +20 -20
  64. package/dist/cli/concurrent-runs-help-4VRUNL3T.js +22 -0
  65. package/dist/cli/{concurrent-runs-help-HSBXPVDN.mjs → concurrent-runs-help-ZWWMHCK4.mjs} +6 -6
  66. package/dist/cli/{csv-OQGWJ4HU.mjs → csv-D76CXYOL.mjs} +4 -4
  67. package/dist/cli/{csv-JEOU3DOF.js → csv-V2FR4SO2.js} +13 -13
  68. package/dist/cli/{db-YHCKYQJI.mjs → db-2D7PD7A3.mjs} +6 -6
  69. package/dist/cli/{db-75WPSR3C.js → db-B23O6Q4O.js} +27 -27
  70. package/dist/cli/{describe-TSW245QQ.mjs → describe-3LG6VO3D.mjs} +21 -21
  71. package/dist/cli/describe-QE4ITFPG.js +50 -0
  72. package/dist/cli/describe-core.js +4 -4
  73. package/dist/cli/describe-core.mjs +3 -3
  74. package/dist/cli/{executions-PNSETDOA.js → executions-4P4UBPMX.js} +8 -8
  75. package/dist/cli/{executions-NW3SQULX.mjs → executions-ORWO4SR4.mjs} +6 -6
  76. package/dist/cli/{feedback-R2Y4APBY.mjs → feedback-AY47IRDD.mjs} +6 -6
  77. package/dist/cli/{feedback-LXTVGS4E.js → feedback-LPHCSOJT.js} +14 -14
  78. package/dist/cli/{git-S7DESBSB.mjs → git-LQGZNBZM.mjs} +5 -5
  79. package/dist/cli/git-XXVGEPEM.js +26 -0
  80. package/dist/cli/index.js +143 -143
  81. package/dist/cli/index.mjs +45 -45
  82. package/dist/cli/{integrations-CQWODJ23.mjs → integrations-NEUZIBQT.mjs} +7 -7
  83. package/dist/cli/{integrations-ZLMM2CMG.js → integrations-QEOUALDR.js} +15 -15
  84. package/dist/cli/{legacy-noops-EGD7QOML.mjs → legacy-noops-4G3DXN57.mjs} +6 -6
  85. package/dist/cli/{legacy-noops-4UDVSN5R.js → legacy-noops-PUO5VKHN.js} +9 -9
  86. package/dist/cli/{mcp-5W4HWAMB.js → mcp-EWAZKABW.js} +24 -24
  87. package/dist/cli/{mcp-Q3SKD3A2.mjs → mcp-USM2QUKK.mjs} +4 -4
  88. package/dist/cli/{monitors-NA6QQRUK.js → monitors-2BI5J46A.js} +100 -100
  89. package/dist/cli/{monitors-ZXHOLBOO.mjs → monitors-T6FJSZCP.mjs} +7 -7
  90. package/dist/cli/{org-O3NSKVA7.mjs → org-BT45O64S.mjs} +6 -6
  91. package/dist/cli/{org-25E7SBZP.js → org-V6V3E7F7.js} +121 -121
  92. package/dist/cli/{outcomes-TEXVO2EV.mjs → outcomes-2T6W554M.mjs} +6 -6
  93. package/dist/cli/{outcomes-O5DS5XSH.js → outcomes-B6RPHM6M.js} +14 -14
  94. package/dist/cli/{play-UFAJEDX4.mjs → play-CBBGJPRI.mjs} +20 -20
  95. package/dist/cli/{play-2FVIRT7Z.js → play-YCFVGEWK.js} +337 -337
  96. package/dist/cli/{providers-4C4TJ5N3.js → providers-AGRUGBIY.js} +9 -9
  97. package/dist/cli/{providers-LCJA4VQ7.mjs → providers-RHBUQFFO.mjs} +6 -6
  98. package/dist/cli/{quickstart-2OAKQFLT.js → quickstart-6N2KPWII.js} +6 -6
  99. package/dist/cli/{quickstart-QOJLPGFW.mjs → quickstart-OPR5NLIQ.mjs} +4 -4
  100. package/dist/cli/{run-SNAFQJWR.mjs → run-HAU2STMQ.mjs} +26 -26
  101. package/dist/cli/{run-SV3EPJGU.js → run-MMANMS4E.js} +48 -48
  102. package/dist/cli/search-7LMUBMDC.js +32 -0
  103. package/dist/cli/{search-KIJZGURG.mjs → search-TGWQMQ2C.mjs} +7 -7
  104. package/dist/cli/{search-output-OESDMVBG.mjs → search-output-DZBYNJEO.mjs} +5 -5
  105. package/dist/cli/{search-output-WRHLYDZX.js → search-output-VVM3DO2H.js} +8 -8
  106. package/dist/cli/{secrets-GH6KF5VR.js → secrets-V5WD552F.js} +15 -15
  107. package/dist/cli/{secrets-5WCCHFM5.mjs → secrets-Z6NEKNWM.mjs} +6 -6
  108. package/dist/cli/{sessions-52MAEUFQ.mjs → sessions-C5GNXSPB.mjs} +6 -6
  109. package/dist/cli/sessions-VYIPZBSR.js +23 -0
  110. package/dist/cli/{settings-5RSARPXF.js → settings-EZPZXJDG.js} +85 -85
  111. package/dist/cli/{settings-HDOBMJ5A.mjs → settings-QUDVUIOJ.mjs} +12 -12
  112. package/dist/cli/{setup-UY3TSZZV.mjs → setup-BCJBVQTI.mjs} +9 -9
  113. package/dist/cli/{setup-4DTCFBOX.js → setup-QY5VVGWQ.js} +49 -49
  114. package/dist/cli/{skills-QUWJHOEZ.mjs → skills-LY2WZ22U.mjs} +7 -7
  115. package/dist/cli/skills-PKNTNDYL.js +37 -0
  116. package/dist/cli/tools-D6CKFZL3.js +57 -0
  117. package/dist/cli/{tools-U2LH642W.mjs → tools-FNCTTFWA.mjs} +19 -19
  118. package/dist/cli/update-E2H2DWH4.js +37 -0
  119. package/dist/cli/{update-3H4E5YJ7.mjs → update-YKQAC4AQ.mjs} +9 -9
  120. package/dist/cli/{views-7WOYBLLQ.mjs → views-5R5NVYHL.mjs} +6 -6
  121. package/dist/cli/{views-2LUZ3ATR.js → views-NBTOBB67.js} +21 -21
  122. package/dist/cli/{workflow-55OASFLG.mjs → workflow-HBDW43GT.mjs} +7 -7
  123. package/dist/cli/{workflow-YME2SGMA.js → workflow-VNPT5VQS.js} +17 -17
  124. package/dist/index.js +9 -9
  125. package/dist/index.mjs +6 -6
  126. package/dist/install-integrity.json +118 -118
  127. package/dist/release.d.mts +1 -1
  128. package/dist/release.d.ts +1 -1
  129. package/dist/release.js +2 -2
  130. package/dist/release.mjs +1 -1
  131. package/dist/server.js +5 -5
  132. package/dist/server.mjs +3 -3
  133. package/package.json +1 -1
  134. package/dist/cli/auth-F7QPLPTB.js +0 -44
  135. package/dist/cli/concurrent-runs-help-3KEUX2GA.js +0 -22
  136. package/dist/cli/describe-ZUATHN4Z.js +0 -50
  137. package/dist/cli/git-GAXMETIP.js +0 -26
  138. package/dist/cli/search-DCHBSXPZ.js +0 -32
  139. package/dist/cli/sessions-MYG6BH6T.js +0 -23
  140. package/dist/cli/skills-EOC2MSQK.js +0 -37
  141. package/dist/cli/tools-AGOX64LC.js +0 -57
  142. package/dist/cli/update-OLLOIH4U.js +0 -37
@@ -1,13 +1,13 @@
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 _chunkJY2EJQL5js = require('./chunk-JY2EJQL5.js');
4
- require('./chunk-L7DGWNF7.js');
3
+ var _chunkM4CJGF53js = require('./chunk-M4CJGF53.js');
4
+ require('./chunk-QGDU23YW.js');
5
5
  require('./chunk-4WAM6TLD.js');
6
6
  require('./chunk-MJTVX4QK.js');
7
7
  require('./chunk-PMH4GLMD.js');
8
8
 
9
9
 
10
- var _chunkUVFR7FW4js = require('./chunk-UVFR7FW4.js');
10
+ var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
11
11
 
12
12
 
13
13
 
@@ -29,17 +29,17 @@ var _chunkUVFR7FW4js = require('./chunk-UVFR7FW4.js');
29
29
 
30
30
 
31
31
 
32
- var _chunkL5JD66EFjs = require('./chunk-L5JD66EF.js');
32
+ var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
33
33
 
34
34
 
35
- var _chunk5H7BLMNHjs = require('./chunk-5H7BLMNH.js');
35
+ var _chunkC7BQBKRZjs = require('./chunk-C7BQBKRZ.js');
36
36
  require('./chunk-6VLFQZK6.js');
37
37
  require('./chunk-XNYIZMNQ.js');
38
38
 
39
39
 
40
40
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
41
41
  require('./chunk-CFJFUVX2.js');
42
- require('./chunk-7AMUXIZ5.js');
42
+ require('./chunk-QGJ4DYGE.js');
43
43
  require('./chunk-OG64RBAC.js');
44
44
  require('./chunk-COGTRVWW.js');
45
45
 
@@ -76,7 +76,7 @@ function describeMember(member) {
76
76
  return `${_nullishCoalesce(member.email, () => ( member.user_id))} ${member.user_id} ${state}`;
77
77
  }
78
78
  function printMapping(title, payload, json) {
79
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
79
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
80
80
  {
81
81
  ...payload,
82
82
  render: {
@@ -97,13 +97,13 @@ function printMapping(title, payload, json) {
97
97
  { json }
98
98
  );
99
99
  }
100
- function registerScimGroupCommands(scim, http2 = () => new (0, _chunkL5JD66EFjs.HttpClient)(_chunkL5JD66EFjs.resolveConfig.call(void 0, ))) {
100
+ function registerScimGroupCommands(scim, http2 = () => new (0, _chunk4CTBC6Q7js.HttpClient)(_chunk4CTBC6Q7js.resolveConfig.call(void 0, ))) {
101
101
  const groups = scim.command("groups").description(
102
102
  "Map SCIM groups from your identity provider to workspaces (Enterprise; owners and admins)."
103
103
  );
104
104
  groups.command("list").description("List the org's SCIM groups and the workspace each maps to.").option("--json", "Emit JSON output").action(async (options) => {
105
105
  const payload = await http2().get(GROUPS_PATH);
106
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
106
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
107
107
  {
108
108
  ...payload,
109
109
  render: {
@@ -136,7 +136,7 @@ function registerScimGroupCommands(scim, http2 = () => new (0, _chunkL5JD66EFjs.
136
136
  members.push(...page.members);
137
137
  cursor = page.next_cursor;
138
138
  } while (cursor);
139
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
139
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  group,
142
142
  members,
@@ -213,7 +213,7 @@ function printMove(payload, json) {
213
213
  ...counts.length > 0 ? [`Moved so far: ${counts.join(", ")}`] : [],
214
214
  `Move id: ${payload.move_id}`
215
215
  ];
216
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
216
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
217
217
  {
218
218
  ...payload,
219
219
  render: {
@@ -278,8 +278,8 @@ Examples:
278
278
  `Unknown kind "${kind}". Use one of: ${MOVE_KINDS.join(", ")}.`
279
279
  );
280
280
  }
281
- const payload = await new (0, _chunkL5JD66EFjs.HttpClient)(
282
- _chunkL5JD66EFjs.resolveConfig.call(void 0, )
281
+ const payload = await new (0, _chunk4CTBC6Q7js.HttpClient)(
282
+ _chunk4CTBC6Q7js.resolveConfig.call(void 0, )
283
283
  ).post("/api/v2/teams/move", {
284
284
  kind,
285
285
  id,
@@ -298,7 +298,7 @@ Examples:
298
298
  `
299
299
  ).action(async (moveId, options) => {
300
300
  printMove(
301
- await new (0, _chunkL5JD66EFjs.HttpClient)(_chunkL5JD66EFjs.resolveConfig.call(void 0, )).get(
301
+ await new (0, _chunk4CTBC6Q7js.HttpClient)(_chunk4CTBC6Q7js.resolveConfig.call(void 0, )).get(
302
302
  `/api/v2/teams/move/${encodeURIComponent(moveId)}`
303
303
  ),
304
304
  options.json
@@ -308,7 +308,7 @@ Examples:
308
308
 
309
309
  // src/cli/commands/workspace-integrations.ts
310
310
 
311
- var http = () => new (0, _chunkL5JD66EFjs.HttpClient)(_chunkL5JD66EFjs.resolveConfig.call(void 0, ));
311
+ var http = () => new (0, _chunk4CTBC6Q7js.HttpClient)(_chunk4CTBC6Q7js.resolveConfig.call(void 0, ));
312
312
  function requireArgument(value, label) {
313
313
  const trimmed = value.trim();
314
314
  if (!trimmed) throw new Error(`Pass a ${label}.`);
@@ -346,7 +346,7 @@ function registerWorkspaceIntegrationCommands(workspaces) {
346
346
  const payload = await http().get(
347
347
  `/api/v2/integrations/overrides?team_id=${encodeURIComponent(id)}`
348
348
  );
349
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
349
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
350
350
  {
351
351
  ...payload,
352
352
  render: {
@@ -383,7 +383,7 @@ function registerWorkspaceIntegrationCommands(workspaces) {
383
383
  ...apiKey === void 0 ? {} : { api_key: apiKey }
384
384
  }
385
385
  );
386
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
386
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
387
387
  {
388
388
  provider: name,
389
389
  team_id: id,
@@ -414,7 +414,7 @@ function registerWorkspaceIntegrationCommands(workspaces) {
414
414
  "/api/v2/integrations/test",
415
415
  { provider: name, team_id: id }
416
416
  );
417
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
417
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
418
418
  {
419
419
  provider: name,
420
420
  team_id: id,
@@ -443,7 +443,7 @@ function registerWorkspaceIntegrationCommands(workspaces) {
443
443
  { method: "DELETE", body: { provider: name, team_id: id } }
444
444
  );
445
445
  const cleared = payload.cleared.credentials + payload.cleared.configurations + payload.cleared.oauthConnections;
446
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
446
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
447
447
  {
448
448
  ...payload,
449
449
  render: {
@@ -466,7 +466,7 @@ function registerWorkspaceIntegrationCommands(workspaces) {
466
466
  // src/cli/commands/org.ts
467
467
  function pendingOrgCreatePath(baseUrl, accountId, sourceOrgId, name) {
468
468
  const intent = _crypto.createHash.call(void 0, "sha256").update(accountId).update("\0").update(sourceOrgId).update("\0").update(name).digest("hex");
469
- return _path.join.call(void 0, _chunkL5JD66EFjs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
469
+ return _path.join.call(void 0, _chunk4CTBC6Q7js.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
470
470
  }
471
471
  function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
472
472
  let value;
@@ -485,7 +485,7 @@ function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
485
485
  return value;
486
486
  }
487
487
  function loadOrCreatePendingOrgCreate(input) {
488
- const stateDir = _chunkL5JD66EFjs.sdkCliStateDirPath.call(void 0, input.baseUrl);
488
+ const stateDir = _chunk4CTBC6Q7js.sdkCliStateDirPath.call(void 0, input.baseUrl);
489
489
  const path = pendingOrgCreatePath(
490
490
  input.baseUrl,
491
491
  input.accountId,
@@ -575,11 +575,11 @@ function processEnvValue(name) {
575
575
  }
576
576
  function organizationAuthValues(input) {
577
577
  return {
578
- [_chunkL5JD66EFjs.HOST_URL_ENV]: input.baseUrl,
579
- [_chunkL5JD66EFjs.API_KEY_ENV]: input.apiKey,
580
- [_chunkL5JD66EFjs.ACTIVE_ORG_ID_ENV]: input.orgId,
581
- [_chunkL5JD66EFjs.ACTIVE_ORG_NAME_ENV]: input.orgName,
582
- ..._chunkL5JD66EFjs.featureEnvValues.call(void 0, input)
578
+ [_chunk4CTBC6Q7js.HOST_URL_ENV]: input.baseUrl,
579
+ [_chunk4CTBC6Q7js.API_KEY_ENV]: input.apiKey,
580
+ [_chunk4CTBC6Q7js.ACTIVE_ORG_ID_ENV]: input.orgId,
581
+ [_chunk4CTBC6Q7js.ACTIVE_ORG_NAME_ENV]: input.orgName,
582
+ ..._chunk4CTBC6Q7js.featureEnvValues.call(void 0, input)
583
583
  };
584
584
  }
585
585
  function organizationCommandContext(input) {
@@ -593,14 +593,14 @@ function organizationCommandContext(input) {
593
593
  };
594
594
  }
595
595
  function agentCommandContext(commandContext) {
596
- return _chunk5H7BLMNHjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
596
+ return _chunkC7BQBKRZjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
597
597
  }
598
598
  function resolveOrgSwitchAuthTarget(scope, config) {
599
- const activeProject = _chunkL5JD66EFjs.getResolvedProjectAuthSource.call(void 0,
599
+ const activeProject = _chunk4CTBC6Q7js.getResolvedProjectAuthSource.call(void 0,
600
600
  config.baseUrl,
601
601
  config.apiKey
602
602
  );
603
- const folderTarget = _chunkL5JD66EFjs.resolveProjectPinTarget.call(void 0, );
603
+ const folderTarget = _chunk4CTBC6Q7js.resolveProjectPinTarget.call(void 0, );
604
604
  const globalOverrideWarning = activeProject && scope === "global" ? [
605
605
  `Folder auth in ${activeProject.filePath} overrides global auth for commands run here.`
606
606
  ] : [];
@@ -672,8 +672,8 @@ function resolveOrgSwitchAuthTarget(scope, config) {
672
672
  };
673
673
  }
674
674
  async function handleOrgList(options) {
675
- const config = _chunkL5JD66EFjs.resolveConfig.call(void 0, );
676
- const http2 = new (0, _chunkL5JD66EFjs.HttpClient)(config);
675
+ const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, );
676
+ const http2 = new (0, _chunk4CTBC6Q7js.HttpClient)(config);
677
677
  const payload = await fetchOrganizations(http2, config.apiKey);
678
678
  let organizations = payload.organizations;
679
679
  if (options.workspaces) {
@@ -688,7 +688,7 @@ async function handleOrgList(options) {
688
688
  workspaces: _nullishCoalesce(byOrg.get(org.org_id), () => ( []))
689
689
  }));
690
690
  }
691
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
691
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
692
692
  {
693
693
  ...payload,
694
694
  organizations,
@@ -705,22 +705,22 @@ async function handleOrgList(options) {
705
705
  );
706
706
  }
707
707
  async function handleOrgStatus(options) {
708
- const config = _chunkL5JD66EFjs.resolveConfig.call(void 0, );
709
- const http2 = new (0, _chunkL5JD66EFjs.HttpClient)(config);
708
+ const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, );
709
+ const http2 = new (0, _chunk4CTBC6Q7js.HttpClient)(config);
710
710
  const payload = await fetchOrganizations(http2, config.apiKey);
711
711
  const current = _nullishCoalesce(_nullishCoalesce(payload.organizations.find((org) => org.is_current), () => ( payload.organizations.find(
712
712
  (org) => org.org_id === payload.current_org_id
713
713
  ))), () => ( null));
714
- const projectCandidate = _chunkL5JD66EFjs.getActiveProjectAuthSource.call(void 0, );
715
- const activeProject = _chunkL5JD66EFjs.getResolvedProjectAuthSource.call(void 0,
714
+ const projectCandidate = _chunk4CTBC6Q7js.getActiveProjectAuthSource.call(void 0, );
715
+ const activeProject = _chunk4CTBC6Q7js.getResolvedProjectAuthSource.call(void 0,
716
716
  config.baseUrl,
717
717
  config.apiKey
718
718
  );
719
- const folderTarget = _chunkL5JD66EFjs.resolveProjectPinTarget.call(void 0, );
720
- const provenance = _chunkL5JD66EFjs.resolveCliAuthProvenance.call(void 0, config);
721
- const hostPath = _chunkL5JD66EFjs.hostEnvFilePath.call(void 0, config.baseUrl);
722
- const envApiKey = processEnvValue(_chunkL5JD66EFjs.API_KEY_ENV);
723
- const envHostUrl = processEnvValue(_chunkL5JD66EFjs.HOST_URL_ENV);
719
+ const folderTarget = _chunk4CTBC6Q7js.resolveProjectPinTarget.call(void 0, );
720
+ const provenance = _chunk4CTBC6Q7js.resolveCliAuthProvenance.call(void 0, config);
721
+ const hostPath = _chunk4CTBC6Q7js.hostEnvFilePath.call(void 0, config.baseUrl);
722
+ const envApiKey = processEnvValue(_chunk4CTBC6Q7js.API_KEY_ENV);
723
+ const envHostUrl = processEnvValue(_chunk4CTBC6Q7js.HOST_URL_ENV);
724
724
  const authSource = envApiKey ? {
725
725
  scope: "env",
726
726
  source: "process",
@@ -761,17 +761,17 @@ async function handleOrgStatus(options) {
761
761
  if (authSource.path) {
762
762
  lines.push(`Auth file: ${authSource.path}`);
763
763
  } else {
764
- lines.push(`Auth source: ${_chunkL5JD66EFjs.API_KEY_ENV} process environment`);
764
+ lines.push(`Auth source: ${_chunk4CTBC6Q7js.API_KEY_ENV} process environment`);
765
765
  }
766
766
  if (envApiKey) {
767
- lines.push(`${_chunkL5JD66EFjs.API_KEY_ENV} overrides saved auth for this process.`);
767
+ lines.push(`${_chunk4CTBC6Q7js.API_KEY_ENV} overrides saved auth for this process.`);
768
768
  } else if (activeProject) {
769
769
  lines.push("Global auth is overridden in this folder.");
770
770
  } else if (provenance.scope === "global" && provenance.project.state === "project") {
771
771
  lines.push("Cloud mutations are blocked until this project is pinned.");
772
772
  lines.push("Pin it: deepline org set --auth-scope folder");
773
773
  }
774
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
774
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
775
775
  {
776
776
  ok: true,
777
777
  host: config.baseUrl,
@@ -805,25 +805,25 @@ async function handleOrgStatus(options) {
805
805
  }
806
806
  async function handleOrgSwitch(selection, options) {
807
807
  const authScope = normalizeAuthScope(options.authScope);
808
- const config = _chunkL5JD66EFjs.resolveConfig.call(void 0, );
809
- const provenance = _chunkL5JD66EFjs.resolveCliAuthProvenance.call(void 0, config);
808
+ const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, );
809
+ const provenance = _chunk4CTBC6Q7js.resolveCliAuthProvenance.call(void 0, config);
810
810
  if (!selection && !options.orgId && authScope === "folder" && provenance.scope === "global" && provenance.project.state === "project") {
811
- const commandContext = _chunkL5JD66EFjs.resolveCliCommandContext.call(void 0, config);
811
+ const commandContext = _chunk4CTBC6Q7js.resolveCliCommandContext.call(void 0, config);
812
812
  const activeOrganization = commandContext.active_organization;
813
- const pinnedFeatures = _chunkL5JD66EFjs.storedHostFeatures.call(void 0, config.baseUrl);
814
- const project_env_paths2 = _chunkL5JD66EFjs.saveProjectDeeplineEnvValues.call(void 0,
813
+ const pinnedFeatures = _chunk4CTBC6Q7js.storedHostFeatures.call(void 0, config.baseUrl);
814
+ const project_env_paths2 = _chunk4CTBC6Q7js.saveProjectDeeplineEnvValues.call(void 0,
815
815
  {
816
- [_chunkL5JD66EFjs.HOST_URL_ENV]: config.baseUrl,
817
- [_chunkL5JD66EFjs.API_KEY_ENV]: config.apiKey,
816
+ [_chunk4CTBC6Q7js.HOST_URL_ENV]: config.baseUrl,
817
+ [_chunk4CTBC6Q7js.API_KEY_ENV]: config.apiKey,
818
818
  ...activeOrganization ? {
819
- [_chunkL5JD66EFjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
820
- [_chunkL5JD66EFjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
819
+ [_chunk4CTBC6Q7js.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
820
+ [_chunk4CTBC6Q7js.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
821
821
  } : {},
822
- ...pinnedFeatures !== void 0 ? { [_chunkL5JD66EFjs.FEATURES_ENV]: pinnedFeatures } : {}
822
+ ...pinnedFeatures !== void 0 ? { [_chunk4CTBC6Q7js.FEATURES_ENV]: pinnedFeatures } : {}
823
823
  },
824
824
  provenance.project.dir
825
825
  );
826
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
826
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
827
827
  {
828
828
  ok: true,
829
829
  unchanged: true,
@@ -835,7 +835,7 @@ async function handleOrgSwitch(selection, options) {
835
835
  orgId: activeOrganization.org_id,
836
836
  orgName: activeOrganization.org_name,
837
837
  authScope: "folder"
838
- }) : _chunkL5JD66EFjs.resolveCliCommandContext.call(void 0, config, "folder")
838
+ }) : _chunk4CTBC6Q7js.resolveCliCommandContext.call(void 0, config, "folder")
839
839
  ),
840
840
  project_env_paths: project_env_paths2,
841
841
  next: { status: "deepline org status" },
@@ -856,10 +856,10 @@ async function handleOrgSwitch(selection, options) {
856
856
  );
857
857
  return;
858
858
  }
859
- const http2 = new (0, _chunkL5JD66EFjs.HttpClient)(config);
859
+ const http2 = new (0, _chunk4CTBC6Q7js.HttpClient)(config);
860
860
  const payload = await fetchOrganizations(http2, config.apiKey);
861
861
  if (!selection && !options.orgId) {
862
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
862
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
863
863
  {
864
864
  ...payload,
865
865
  next: { set: "deepline org set <number>" },
@@ -910,9 +910,9 @@ async function handleOrgSwitch(selection, options) {
910
910
  features
911
911
  });
912
912
  if (authTarget.kind === "folder") {
913
- project_env_paths2 = _chunkL5JD66EFjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
913
+ project_env_paths2 = _chunk4CTBC6Q7js.saveProjectDeeplineEnvValues.call(void 0, authValues2);
914
914
  } else {
915
- _chunkL5JD66EFjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
915
+ _chunk4CTBC6Q7js.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
916
916
  }
917
917
  const renderLines2 = [`Already on ${target.name}.`];
918
918
  for (const projectPath of project_env_paths2) {
@@ -920,7 +920,7 @@ async function handleOrgSwitch(selection, options) {
920
920
  }
921
921
  if (authTarget.kind === "global") {
922
922
  renderLines2.push(
923
- `Saved global auth in ${_chunkL5JD66EFjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
923
+ `Saved global auth in ${_chunk4CTBC6Q7js.hostEnvFilePath.call(void 0, config.baseUrl)}`
924
924
  );
925
925
  }
926
926
  renderLines2.push(
@@ -936,7 +936,7 @@ async function handleOrgSwitch(selection, options) {
936
936
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
937
937
  ...authTarget.warnings
938
938
  ];
939
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
939
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
940
940
  {
941
941
  ok: true,
942
942
  unchanged: true,
@@ -952,7 +952,7 @@ async function handleOrgSwitch(selection, options) {
952
952
  authScope: authTarget.effective_scope
953
953
  })
954
954
  ),
955
- host_env_path: authTarget.kind === "global" ? _chunkL5JD66EFjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
955
+ host_env_path: authTarget.kind === "global" ? _chunk4CTBC6Q7js.hostEnvFilePath.call(void 0, config.baseUrl) : null,
956
956
  project_env_paths: project_env_paths2,
957
957
  deprecated_command: options.deprecatedSwitch ? "org switch" : null,
958
958
  replacement_command: options.deprecatedSwitch ? "deepline org set" : null,
@@ -978,9 +978,9 @@ async function handleOrgSwitch(selection, options) {
978
978
  features: switched.features
979
979
  });
980
980
  if (authTarget.kind === "folder") {
981
- project_env_paths = _chunkL5JD66EFjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
981
+ project_env_paths = _chunk4CTBC6Q7js.saveProjectDeeplineEnvValues.call(void 0, authValues);
982
982
  } else {
983
- _chunkL5JD66EFjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
983
+ _chunk4CTBC6Q7js.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
984
984
  }
985
985
  const { api_key: _apiKey, ...publicSwitched } = switched;
986
986
  const renderLines = [`Switched to ${switched.org_name}.`];
@@ -989,7 +989,7 @@ async function handleOrgSwitch(selection, options) {
989
989
  renderLines.push(`Saved folder auth in ${projectPath}`);
990
990
  }
991
991
  } else {
992
- renderLines.push(`Saved global auth in ${_chunkL5JD66EFjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
992
+ renderLines.push(`Saved global auth in ${_chunk4CTBC6Q7js.hostEnvFilePath.call(void 0, config.baseUrl)}`);
993
993
  }
994
994
  renderLines.push(
995
995
  `Scope: ${authTarget.requested_scope} -> ${authTarget.effective_scope} (${authTarget.reason})`
@@ -1004,10 +1004,10 @@ async function handleOrgSwitch(selection, options) {
1004
1004
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
1005
1005
  ...authTarget.warnings
1006
1006
  ];
1007
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1007
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1008
1008
  {
1009
1009
  ok: true,
1010
- host_env_path: authTarget.kind === "global" ? _chunkL5JD66EFjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
1010
+ host_env_path: authTarget.kind === "global" ? _chunk4CTBC6Q7js.hostEnvFilePath.call(void 0, config.baseUrl) : null,
1011
1011
  project_env_paths,
1012
1012
  ...publicSwitched,
1013
1013
  api_key_saved: true,
@@ -1038,12 +1038,12 @@ async function handleOrgSwitch(selection, options) {
1038
1038
  );
1039
1039
  }
1040
1040
  async function handleOrgCreate(name, options) {
1041
- const config = _chunkL5JD66EFjs.resolveConfig.call(void 0, );
1041
+ const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, );
1042
1042
  const normalizedName = name.trim();
1043
1043
  if (!normalizedName) {
1044
1044
  throw new Error("Org name is required.");
1045
1045
  }
1046
- const http2 = new (0, _chunkL5JD66EFjs.HttpClient)(config);
1046
+ const http2 = new (0, _chunk4CTBC6Q7js.HttpClient)(config);
1047
1047
  const identity = await fetchWorkspaceCreationIdentity(http2, config.apiKey);
1048
1048
  let created;
1049
1049
  let workspaceApiKey;
@@ -1069,7 +1069,7 @@ async function handleOrgCreate(name, options) {
1069
1069
  sourceOrgId: identity.orgId,
1070
1070
  name: normalizedName
1071
1071
  });
1072
- const workspace = await new (0, _chunkJY2EJQL5js.DeeplineClient)({
1072
+ const workspace = await new (0, _chunkM4CJGF53js.DeeplineClient)({
1073
1073
  apiKey: config.apiKey,
1074
1074
  baseUrl: config.baseUrl
1075
1075
  }).workspaces.create({
@@ -1092,16 +1092,16 @@ async function handleOrgCreate(name, options) {
1092
1092
  orgName: created.org_name,
1093
1093
  features: workspaceFeatures
1094
1094
  });
1095
- _chunkL5JD66EFjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
1095
+ _chunk4CTBC6Q7js.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
1096
1096
  if (pendingIntentPath) _fs.unlinkSync.call(void 0, pendingIntentPath);
1097
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1097
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1098
1098
  {
1099
1099
  ok: true,
1100
1100
  ...created,
1101
1101
  initial_credits: typeof created.initial_credits === "number" ? created.initial_credits : 0,
1102
1102
  api_key_saved: true,
1103
1103
  switched: true,
1104
- host_env_path: _chunkL5JD66EFjs.hostEnvFilePath.call(void 0, config.baseUrl),
1104
+ host_env_path: _chunk4CTBC6Q7js.hostEnvFilePath.call(void 0, config.baseUrl),
1105
1105
  ...agentCommandContext(
1106
1106
  organizationCommandContext({
1107
1107
  orgId: created.org_id,
@@ -1116,7 +1116,7 @@ async function handleOrgCreate(name, options) {
1116
1116
  lines: [
1117
1117
  `Created organization: ${created.org_name}.`,
1118
1118
  `Switched to ${created.org_name}.`,
1119
- `Saved host auth in ${_chunkL5JD66EFjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
1119
+ `Saved host auth in ${_chunk4CTBC6Q7js.hostEnvFilePath.call(void 0, config.baseUrl)}`
1120
1120
  ]
1121
1121
  }
1122
1122
  ]
@@ -1317,8 +1317,8 @@ Examples:
1317
1317
  );
1318
1318
  const members = org.command("members").description("List org members and manage their grants.");
1319
1319
  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) => {
1320
- const result = await new (0, _chunkJY2EJQL5js.DeeplineClient)().workspaces.members(options);
1321
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1320
+ const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().workspaces.members(options);
1321
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1322
1322
  {
1323
1323
  ...result,
1324
1324
  render: {
@@ -1339,11 +1339,11 @@ Examples:
1339
1339
  "Replace a member\u2019s grants (read, run, admin). Requires admin."
1340
1340
  ).option("--json", "Output JSON").action(
1341
1341
  async (memberId, grants, options) => {
1342
- const result = await new (0, _chunkJY2EJQL5js.DeeplineClient)().workspaces.setMemberGrants(
1342
+ const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().workspaces.setMemberGrants(
1343
1343
  memberId,
1344
1344
  grants
1345
1345
  );
1346
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1346
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1347
1347
  {
1348
1348
  ...result,
1349
1349
  render: {
@@ -1364,8 +1364,8 @@ Examples:
1364
1364
  );
1365
1365
  const renderServiceAccount = (account) => `${account.id} ${account.name} role=${_nullishCoalesce(account.role, () => ( "none"))} keys=${account.activeKeyCount}`;
1366
1366
  serviceAccounts.command("list").description("List service accounts and, for admins, their keys.").option("--json", "Output JSON").action(async (options) => {
1367
- const result = await new (0, _chunkJY2EJQL5js.DeeplineClient)().workspaces.serviceAccounts.list();
1368
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1367
+ const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().workspaces.serviceAccounts.list();
1368
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1369
1369
  {
1370
1370
  ...result,
1371
1371
  render: {
@@ -1386,11 +1386,11 @@ Examples:
1386
1386
  );
1387
1387
  });
1388
1388
  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) => {
1389
- const result = await new (0, _chunkJY2EJQL5js.DeeplineClient)().workspaces.serviceAccounts.create({
1389
+ const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().workspaces.serviceAccounts.create({
1390
1390
  name,
1391
1391
  role: options.role
1392
1392
  });
1393
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1393
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1394
1394
  {
1395
1395
  ...result,
1396
1396
  render: {
@@ -1410,11 +1410,11 @@ Examples:
1410
1410
  });
1411
1411
  serviceAccounts.command("set-role <service-account-id> <role>").description("Change a service account\u2019s role. Requires admin.").option("--json", "Output JSON").action(
1412
1412
  async (serviceAccountId, role, options) => {
1413
- const result = await new (0, _chunkJY2EJQL5js.DeeplineClient)().workspaces.serviceAccounts.setRole(
1413
+ const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().workspaces.serviceAccounts.setRole(
1414
1414
  serviceAccountId,
1415
1415
  role
1416
1416
  );
1417
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1417
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1418
1418
  {
1419
1419
  ...result,
1420
1420
  render: {
@@ -1433,10 +1433,10 @@ Examples:
1433
1433
  serviceAccounts.command("delete <service-account-id>").description(
1434
1434
  "Delete a service account and revoke its keys. Requires admin."
1435
1435
  ).option("--json", "Output JSON").action(async (serviceAccountId, options) => {
1436
- const result = await new (0, _chunkJY2EJQL5js.DeeplineClient)().workspaces.serviceAccounts.delete(
1436
+ const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().workspaces.serviceAccounts.delete(
1437
1437
  serviceAccountId
1438
1438
  );
1439
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1439
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1440
1440
  {
1441
1441
  ...result,
1442
1442
  render: {
@@ -1457,10 +1457,10 @@ Examples:
1457
1457
  serviceAccountKeys.command("create <service-account-id>").description(
1458
1458
  "Create the API key for a service account that has none. Requires admin."
1459
1459
  ).option("--json", "Output JSON").action(async (serviceAccountId, options) => {
1460
- const result = await new (0, _chunkJY2EJQL5js.DeeplineClient)().workspaces.serviceAccounts.createKey(
1460
+ const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().workspaces.serviceAccounts.createKey(
1461
1461
  serviceAccountId
1462
1462
  );
1463
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1463
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1464
1464
  {
1465
1465
  ...result,
1466
1466
  render: {
@@ -1478,10 +1478,10 @@ Examples:
1478
1478
  serviceAccountKeys.command("rotate <service-account-id>").description(
1479
1479
  "Replace a service account\u2019s API key: the old key stops working and the new one is shown once. Requires admin."
1480
1480
  ).option("--json", "Output JSON").action(async (serviceAccountId, options) => {
1481
- const result = await new (0, _chunkJY2EJQL5js.DeeplineClient)().workspaces.serviceAccounts.rotateKey(
1481
+ const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().workspaces.serviceAccounts.rotateKey(
1482
1482
  serviceAccountId
1483
1483
  );
1484
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1484
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1485
1485
  {
1486
1486
  ...result,
1487
1487
  render: {
@@ -1502,11 +1502,11 @@ Examples:
1502
1502
  });
1503
1503
  serviceAccountKeys.command("revoke <service-account-id> <key-id>").description("Revoke a service account API key. Requires admin.").option("--json", "Output JSON").action(
1504
1504
  async (serviceAccountId, keyId, options) => {
1505
- const result = await new (0, _chunkJY2EJQL5js.DeeplineClient)().workspaces.serviceAccounts.revokeKey(
1505
+ const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().workspaces.serviceAccounts.revokeKey(
1506
1506
  serviceAccountId,
1507
1507
  keyId
1508
1508
  );
1509
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1509
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1510
1510
  {
1511
1511
  ...result,
1512
1512
  render: {
@@ -1524,7 +1524,7 @@ Examples:
1524
1524
  );
1525
1525
  const sso = org.command("sso").description("Manage Enterprise org SSO.");
1526
1526
  const ssoPath = "/api/v2/auth/workspace/sso";
1527
- const printSso = (payload, json) => _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1527
+ const printSso = (payload, json) => _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1528
1528
  {
1529
1529
  ...payload,
1530
1530
  render: {
@@ -1548,7 +1548,7 @@ Examples:
1548
1548
  },
1549
1549
  { json }
1550
1550
  );
1551
- const ssoHttp = () => new (0, _chunkL5JD66EFjs.HttpClient)(_chunkL5JD66EFjs.resolveConfig.call(void 0, ));
1551
+ const ssoHttp = () => new (0, _chunk4CTBC6Q7js.HttpClient)(_chunk4CTBC6Q7js.resolveConfig.call(void 0, ));
1552
1552
  sso.command("status").description("Show this org's SSO connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
1553
1553
  printSso(await ssoHttp().get(ssoPath), options.json);
1554
1554
  });
@@ -1579,8 +1579,8 @@ Examples:
1579
1579
  "Identity provider metadata XML file"
1580
1580
  ).option("--json", "Emit JSON output").action(
1581
1581
  async (options) => {
1582
- const config = _chunkL5JD66EFjs.resolveConfig.call(void 0, );
1583
- const http2 = new (0, _chunkL5JD66EFjs.HttpClient)(config);
1582
+ const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, );
1583
+ const http2 = new (0, _chunk4CTBC6Q7js.HttpClient)(config);
1584
1584
  const identity = await fetchWorkspaceCreationIdentity(
1585
1585
  http2,
1586
1586
  config.apiKey
@@ -1647,7 +1647,7 @@ Examples:
1647
1647
  `
1648
1648
  );
1649
1649
  const scimPath = "/api/v2/auth/workspace/scim";
1650
- const printScim = (payload, json) => _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1650
+ const printScim = (payload, json) => _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1651
1651
  {
1652
1652
  ...payload,
1653
1653
  render: {
@@ -1671,7 +1671,7 @@ Examples:
1671
1671
  },
1672
1672
  { json }
1673
1673
  );
1674
- const scimHttp = () => new (0, _chunkL5JD66EFjs.HttpClient)(_chunkL5JD66EFjs.resolveConfig.call(void 0, ));
1674
+ const scimHttp = () => new (0, _chunk4CTBC6Q7js.HttpClient)(_chunk4CTBC6Q7js.resolveConfig.call(void 0, ));
1675
1675
  scim.command("status").description("Show this org's SCIM connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
1676
1676
  printScim(await scimHttp().get(scimPath), options.json);
1677
1677
  });
@@ -1715,10 +1715,10 @@ Examples:
1715
1715
  deepline --workspace <workspace-id> org workspace --json
1716
1716
  `
1717
1717
  ).action(async (options) => {
1718
- const config = _chunkL5JD66EFjs.resolveConfig.call(void 0, );
1719
- const { source } = _chunkL5JD66EFjs.resolveCliWorkspace.call(void 0, config, config.workspace);
1720
- const payload = await new (0, _chunkL5JD66EFjs.HttpClient)(config).get("/api/v2/auth/workspace/active-team");
1721
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1718
+ const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, );
1719
+ const { source } = _chunk4CTBC6Q7js.resolveCliWorkspace.call(void 0, config, config.workspace);
1720
+ const payload = await new (0, _chunk4CTBC6Q7js.HttpClient)(config).get("/api/v2/auth/workspace/active-team");
1721
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1722
1722
  {
1723
1723
  ...payload,
1724
1724
  source: payload.team_id === null ? "default" : source,
@@ -1758,13 +1758,13 @@ Examples:
1758
1758
  `
1759
1759
  ).action(
1760
1760
  async (selection, options) => {
1761
- const config = { ..._chunkL5JD66EFjs.resolveConfig.call(void 0, ), workspace: void 0 };
1762
- const http2 = new (0, _chunkL5JD66EFjs.HttpClient)(config);
1761
+ const config = { ..._chunk4CTBC6Q7js.resolveConfig.call(void 0, ), workspace: void 0 };
1762
+ const http2 = new (0, _chunk4CTBC6Q7js.HttpClient)(config);
1763
1763
  const { teams: entries } = await http2.get(
1764
1764
  "/api/v2/auth/workspace/teams"
1765
1765
  );
1766
1766
  if (!selection) {
1767
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1767
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1768
1768
  {
1769
1769
  teams: entries,
1770
1770
  next: { set: "deepline org workspace set <number>" },
@@ -1791,12 +1791,12 @@ Examples:
1791
1791
  }
1792
1792
  const target = resolveTeamSelection(entries, selection);
1793
1793
  if (target.team_id !== null) {
1794
- await new (0, _chunkL5JD66EFjs.HttpClient)({ ...config, workspace: target.team_id }).get(
1794
+ await new (0, _chunk4CTBC6Q7js.HttpClient)({ ...config, workspace: target.team_id }).get(
1795
1795
  "/api/v2/auth/workspace/active-team"
1796
1796
  );
1797
1797
  }
1798
- const saved = _chunkL5JD66EFjs.saveCliWorkspace.call(void 0, config, target.team_id);
1799
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1798
+ const saved = _chunk4CTBC6Q7js.saveCliWorkspace.call(void 0, config, target.team_id);
1799
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1800
1800
  {
1801
1801
  ok: true,
1802
1802
  team_id: target.team_id,
@@ -1834,7 +1834,7 @@ Examples:
1834
1834
  `
1835
1835
  );
1836
1836
  const defaultTeamPath = "/api/v2/auth/workspace/default-team";
1837
- const printDefaultTeam = (payload, json) => _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1837
+ const printDefaultTeam = (payload, json) => _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1838
1838
  {
1839
1839
  ...payload,
1840
1840
  render: {
@@ -1851,7 +1851,7 @@ Examples:
1851
1851
  },
1852
1852
  { json }
1853
1853
  );
1854
- const defaultTeamHttp = () => new (0, _chunkL5JD66EFjs.HttpClient)(_chunkL5JD66EFjs.resolveConfig.call(void 0, ));
1854
+ const defaultTeamHttp = () => new (0, _chunk4CTBC6Q7js.HttpClient)(_chunk4CTBC6Q7js.resolveConfig.call(void 0, ));
1855
1855
  defaultTeam.option("--json", "Emit JSON output").action(async (options) => {
1856
1856
  printDefaultTeam(
1857
1857
  await defaultTeamHttp().get(defaultTeamPath),
@@ -1883,8 +1883,8 @@ Examples:
1883
1883
  registerWorkspaceIntegrationCommands(teams);
1884
1884
  const teamsPath = "/api/v2/auth/workspace/teams";
1885
1885
  const teamPath = (teamId) => `${teamsPath}/${encodeURIComponent(requireTeamIdArgument(teamId))}`;
1886
- const teamsHttp = () => new (0, _chunkL5JD66EFjs.HttpClient)(_chunkL5JD66EFjs.resolveConfig.call(void 0, ));
1887
- const printTeam = (title, payload, json) => _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1886
+ const teamsHttp = () => new (0, _chunk4CTBC6Q7js.HttpClient)(_chunk4CTBC6Q7js.resolveConfig.call(void 0, ));
1887
+ const printTeam = (title, payload, json) => _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1888
1888
  {
1889
1889
  ...payload,
1890
1890
  render: {
@@ -1897,7 +1897,7 @@ Examples:
1897
1897
  const payload = await teamsHttp().get(
1898
1898
  options.archived ? `${teamsPath}?include_archived=true` : teamsPath
1899
1899
  );
1900
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1900
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1901
1901
  {
1902
1902
  ...payload,
1903
1903
  render: {
@@ -1972,7 +1972,7 @@ Examples:
1972
1972
  members2.push(...page.members);
1973
1973
  cursor = page.next_cursor;
1974
1974
  } while (cursor);
1975
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
1975
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1976
1976
  {
1977
1977
  team: team2,
1978
1978
  members: members2,
@@ -2000,7 +2000,7 @@ Examples:
2000
2000
  `${teamPath(teamId)}/members`,
2001
2001
  { user }
2002
2002
  );
2003
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
2003
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
2004
2004
  {
2005
2005
  ...payload,
2006
2006
  render: {
@@ -2027,7 +2027,7 @@ Examples:
2027
2027
  const payload = await teamsHttp().delete(
2028
2028
  `${teamPath(teamId)}/members/${encodeURIComponent(value)}`
2029
2029
  );
2030
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
2030
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
2031
2031
  {
2032
2032
  ...payload,
2033
2033
  render: {
@@ -2048,7 +2048,7 @@ Examples:
2048
2048
  const caps = teams.command("cap").description(
2049
2049
  "Read and manage workspaces' rolling 30-day spending caps (owners and admins change them)."
2050
2050
  );
2051
- const printCap = (title, payload, json) => _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
2051
+ const printCap = (title, payload, json) => _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
2052
2052
  {
2053
2053
  ...payload,
2054
2054
  render: {
@@ -2069,7 +2069,7 @@ Examples:
2069
2069
  "List workspace caps with spend in the last 30 days, and the organization cap."
2070
2070
  ).option("--json", "Emit JSON output").action(async (options) => {
2071
2071
  const payload = await teamsHttp().get(`${teamsPath}/caps`);
2072
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
2072
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
2073
2073
  {
2074
2074
  ...payload,
2075
2075
  render: {
@@ -2141,13 +2141,13 @@ Examples:
2141
2141
  if (chosen.length > 1) {
2142
2142
  throw new Error("Pass one of a logo URL, --domain, or --remove.");
2143
2143
  }
2144
- const http2 = new (0, _chunkL5JD66EFjs.HttpClient)(_chunkL5JD66EFjs.resolveConfig.call(void 0, ));
2144
+ const http2 = new (0, _chunk4CTBC6Q7js.HttpClient)(_chunk4CTBC6Q7js.resolveConfig.call(void 0, ));
2145
2145
  const path = "/api/v2/auth/workspace/logo";
2146
2146
  const payload = chosen.length === 0 ? await http2.get(path) : await http2.patch(
2147
2147
  path,
2148
2148
  options.domain ? { domain: options.domain } : { logo: _nullishCoalesce(url, () => ( null)) }
2149
2149
  );
2150
- _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
2150
+ _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
2151
2151
  {
2152
2152
  ...payload,
2153
2153
  render: {