deepline 0.3.402 → 0.3.404

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 (120) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +14 -2
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +7 -2
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +114 -50
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +6 -2
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +379 -133
  7. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +2 -1
  8. package/dist/cli/{auth-GJGFHAUP.mjs → auth-DVJWHHC3.mjs} +4 -4
  9. package/dist/cli/auth-UIC53AE2.js +40 -0
  10. package/dist/cli/{billing-7YYI5OFD.mjs → billing-7UDFOLCT.mjs} +4 -4
  11. package/dist/cli/{billing-UBBNYU74.js → billing-MHS6WS77.js} +73 -73
  12. package/dist/cli/{chunk-3HWALOL2.mjs → chunk-6BJK4EJ3.mjs} +1 -1
  13. package/dist/cli/{chunk-5Z7SAD3Q.js → chunk-7CFSSEN3.js} +207 -207
  14. package/dist/cli/{chunk-TWZEHT5L.mjs → chunk-ANL3NJV5.mjs} +7 -7
  15. package/dist/cli/{chunk-65YHUBYZ.js → chunk-AYUR2RZ6.js} +8 -8
  16. package/dist/cli/{chunk-MSS6UHGK.js → chunk-B2BO6G7L.js} +26 -26
  17. package/dist/cli/{chunk-YHZUZO3U.mjs → chunk-BZAMOCPA.mjs} +1 -1
  18. package/dist/cli/{chunk-LQS5XUFL.js → chunk-CBMYUXAT.js} +6 -6
  19. package/dist/cli/{chunk-3HU47EGZ.mjs → chunk-CLJGSOVM.mjs} +2 -1
  20. package/dist/cli/{chunk-Q77JWGMZ.mjs → chunk-DSXMTZ64.mjs} +1 -1
  21. package/dist/cli/{chunk-RLL23M7M.mjs → chunk-EDSBH6W7.mjs} +2 -2
  22. package/dist/cli/{chunk-7DRPTGCK.js → chunk-FERRDNMO.js} +4 -4
  23. package/dist/cli/{chunk-Z7MNFHHE.mjs → chunk-FF2H4YLR.mjs} +4 -4
  24. package/dist/cli/{chunk-JHFX74T6.js → chunk-GPWTKORH.js} +4 -4
  25. package/dist/cli/{chunk-RFG3MRAC.js → chunk-ILHRA7AD.js} +5 -5
  26. package/dist/cli/{chunk-V4TFEZ47.mjs → chunk-JJZOGHEF.mjs} +1 -1
  27. package/dist/cli/{chunk-QPIAVCCS.mjs → chunk-KTWTQPYM.mjs} +2 -2
  28. package/dist/cli/{chunk-B2FAQ3AX.js → chunk-L3JGXPGB.js} +50 -50
  29. package/dist/cli/{chunk-TPPHH3FS.mjs → chunk-M55M5LDV.mjs} +3 -3
  30. package/dist/cli/{chunk-NMPFKSZN.mjs → chunk-NRI4TJVF.mjs} +1 -1
  31. package/dist/cli/{chunk-CIOMFOJJ.js → chunk-ODKHUBU3.js} +6 -6
  32. package/dist/cli/{chunk-JT7XZP4U.mjs → chunk-OHGXSFDQ.mjs} +1 -1
  33. package/dist/cli/{chunk-CBPK2TLC.js → chunk-OPGILU75.js} +65 -65
  34. package/dist/cli/{chunk-HFYQBC2D.mjs → chunk-PMVFAYL7.mjs} +1 -1
  35. package/dist/cli/{chunk-MH73HMPV.js → chunk-SEFMGO3Z.js} +3 -3
  36. package/dist/cli/{chunk-OPS5KQVF.mjs → chunk-TFIB4VNU.mjs} +2 -2
  37. package/dist/cli/{chunk-IK7J2DE5.js → chunk-URQAM7RR.js} +1 -1
  38. package/dist/cli/{chunk-L5UOVDJV.js → chunk-V5DPHNTE.js} +2 -2
  39. package/dist/cli/{chunk-OIUXHL7G.mjs → chunk-VPCIT5N6.mjs} +3 -3
  40. package/dist/cli/{chunk-ZOKF4F65.js → chunk-W3SACRLJ.js} +8 -8
  41. package/dist/cli/{chunk-4EWCKDFC.mjs → chunk-XKVJZ5JC.mjs} +1 -1
  42. package/dist/cli/{chunk-VHZOTHAD.js → chunk-Y5QWK7SS.js} +15 -15
  43. package/dist/cli/{chunk-KB4SDX5S.js → chunk-Z4VNJOF7.js} +2 -1
  44. package/dist/cli/{csv-V6JDZEWY.js → csv-7BXOAC3V.js} +12 -12
  45. package/dist/cli/{csv-USUSIYER.mjs → csv-TG7SSGXW.mjs} +3 -3
  46. package/dist/cli/{db-HRWKCFXF.js → db-BQCWAL3D.js} +25 -25
  47. package/dist/cli/{db-F5GMBQ65.mjs → db-GBVIPT7D.mjs} +4 -4
  48. package/dist/cli/{describe-R6KMEHL5.js → describe-3ROS6TC6.js} +15 -15
  49. package/dist/cli/{describe-S5O6FVT3.mjs → describe-6LP2CWEF.mjs} +9 -9
  50. package/dist/cli/describe-core.d.mts +2 -2
  51. package/dist/cli/describe-core.d.ts +2 -2
  52. package/dist/cli/describe-core.js +4 -4
  53. package/dist/cli/describe-core.mjs +3 -3
  54. package/dist/cli/{executions-YPZREEMY.mjs → executions-4TJOBZOQ.mjs} +4 -4
  55. package/dist/cli/{executions-PZIPKQBP.js → executions-KCKC2KKP.js} +6 -6
  56. package/dist/cli/{feedback-VDJR5X3J.js → feedback-7T77UCIV.js} +7 -7
  57. package/dist/cli/{feedback-BTETOM6H.mjs → feedback-CGJNFV3G.mjs} +3 -3
  58. package/dist/cli/{git-INUECEXT.mjs → git-5E3HETBN.mjs} +4 -4
  59. package/dist/cli/git-DRUSBG74.js +24 -0
  60. package/dist/cli/index.js +89 -89
  61. package/dist/cli/index.mjs +32 -32
  62. package/dist/cli/{legacy-noops-MDN77QAS.mjs → legacy-noops-4FGVQLLD.mjs} +4 -4
  63. package/dist/cli/{legacy-noops-45WQXPUD.js → legacy-noops-X5MCVE34.js} +7 -7
  64. package/dist/cli/{monitors-BMQEIYV6.js → monitors-OTAQWJH5.js} +84 -84
  65. package/dist/cli/{monitors-4BTZGTJW.mjs → monitors-QRZEIITA.mjs} +4 -4
  66. package/dist/cli/{org-6YNJ7VNJ.mjs → org-A6KANSFR.mjs} +4 -4
  67. package/dist/cli/{org-GTZDYRD3.js → org-B3JK2BND.js} +64 -64
  68. package/dist/cli/{play-GGQBJQG4.mjs → play-CN6DOFMT.mjs} +9 -9
  69. package/dist/cli/{play-BDIBVDSU.js → play-HLDZVD47.js} +249 -249
  70. package/dist/cli/{providers-6EYFXCHM.mjs → providers-EVPLX6BG.mjs} +4 -4
  71. package/dist/cli/{providers-AFQ6FQWQ.js → providers-XGCTTZ7T.js} +7 -7
  72. package/dist/cli/{quickstart-FIK5TO73.mjs → quickstart-HXORYMNO.mjs} +3 -3
  73. package/dist/cli/{quickstart-PUXYA3QD.js → quickstart-LTH2MZNQ.js} +5 -5
  74. package/dist/cli/search-MH6VAITK.js +30 -0
  75. package/dist/cli/{search-UTPRENV4.mjs → search-S4JOGJMH.mjs} +5 -5
  76. package/dist/cli/{secrets-FMM4RFK2.js → secrets-JV3TPKE6.js} +13 -13
  77. package/dist/cli/{secrets-R2RJ2J7Z.mjs → secrets-VNHUBHLN.mjs} +4 -4
  78. package/dist/cli/{sessions-HA2B7AYB.mjs → sessions-CDBTN53U.mjs} +4 -4
  79. package/dist/cli/{sessions-ZRXUQIVV.js → sessions-QYYFCXGY.js} +5 -5
  80. package/dist/cli/{settings-HPGNP7UU.mjs → settings-I6LQQCMK.mjs} +7 -7
  81. package/dist/cli/{settings-KKHOBBKF.js → settings-YYZ2IHFU.js} +74 -74
  82. package/dist/cli/{setup-FTSDFQOK.js → setup-IZQI5RZA.js} +41 -41
  83. package/dist/cli/{setup-WERVZIIX.mjs → setup-X24RP6O7.mjs} +6 -6
  84. package/dist/cli/skills-U4MIVNPW.js +29 -0
  85. package/dist/cli/{skills-D4BGGD5D.mjs → skills-UYIFSY2Y.mjs} +4 -4
  86. package/dist/cli/tools-BLP2VRAN.js +39 -0
  87. package/dist/cli/{tools-TKQW72OL.mjs → tools-IR5JEQF6.mjs} +8 -8
  88. package/dist/cli/update-EIYE45GT.js +29 -0
  89. package/dist/cli/{update-O77BPQAE.mjs → update-MXFLD3ZQ.mjs} +6 -6
  90. package/dist/cli/{workflow-GIDAYVSL.js → workflow-CZ6CXXOL.js} +15 -15
  91. package/dist/cli/{workflow-IJCMSPGJ.mjs → workflow-QGY342J5.mjs} +5 -5
  92. package/dist/{client-D0j-_aaa.d.mts → client-Buv1_ktG.d.mts} +4 -2
  93. package/dist/{client-DflfVyj6.d.ts → client-Db1jFLpF.d.ts} +4 -2
  94. package/dist/{compiler-manifest-DLxUY5kI.d.ts → compiler-manifest-N77W75Py.d.mts} +10 -6
  95. package/dist/{compiler-manifest-DLxUY5kI.d.mts → compiler-manifest-N77W75Py.d.ts} +10 -6
  96. package/dist/{index-SCb0NvDb.d.mts → index-3WOfyVhW.d.mts} +1 -1
  97. package/dist/{index-B_GM9E3q.d.ts → index-CtIJFTCl.d.ts} +1 -1
  98. package/dist/index.d.mts +5 -5
  99. package/dist/index.d.ts +5 -5
  100. package/dist/index.js +7 -7
  101. package/dist/index.mjs +4 -4
  102. package/dist/install-integrity.json +84 -84
  103. package/dist/plays/bundle-play-file.d.mts +3 -3
  104. package/dist/plays/bundle-play-file.d.ts +3 -3
  105. package/dist/plays/bundle-play-file.mjs +2 -2
  106. package/dist/plays/play-description.d.mts +2 -2
  107. package/dist/plays/play-description.d.ts +2 -2
  108. package/dist/plays/run-request.d.mts +2 -2
  109. package/dist/plays/run-request.d.ts +2 -2
  110. package/dist/release.d.mts +1 -1
  111. package/dist/release.d.ts +1 -1
  112. package/dist/release.js +2 -2
  113. package/dist/release.mjs +1 -1
  114. package/package.json +1 -1
  115. package/dist/cli/auth-CF34E66T.js +0 -40
  116. package/dist/cli/git-B5DP75FD.js +0 -24
  117. package/dist/cli/search-64GE26YS.js +0 -30
  118. package/dist/cli/skills-O7HGWWGF.js +0 -29
  119. package/dist/cli/tools-EKVHV35B.js +0 -39
  120. package/dist/cli/update-5CP72TRU.js +0 -29
@@ -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 _chunkLQS5XUFLjs = require('./chunk-LQS5XUFL.js');
3
+ var _chunkCBMYUXATjs = require('./chunk-CBMYUXAT.js');
4
4
  require('./chunk-S6R3OX7B.js');
5
5
  require('./chunk-UHNDVD3P.js');
6
6
  require('./chunk-KXMNM4AQ.js');
7
7
  require('./chunk-XDVT3GOM.js');
8
8
 
9
9
 
10
- var _chunkCIOMFOJJjs = require('./chunk-CIOMFOJJ.js');
10
+ var _chunkODKHUBU3js = require('./chunk-ODKHUBU3.js');
11
11
 
12
12
 
13
13
 
@@ -28,11 +28,11 @@ var _chunkCIOMFOJJjs = require('./chunk-CIOMFOJJ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkJHFX74T6js = require('./chunk-JHFX74T6.js');
31
+ var _chunkGPWTKORHjs = require('./chunk-GPWTKORH.js');
32
32
  require('./chunk-Q2E4E4FJ.js');
33
33
  require('./chunk-XNYIZMNQ.js');
34
34
  require('./chunk-7P5AA3SN.js');
35
- require('./chunk-IK7J2DE5.js');
35
+ require('./chunk-URQAM7RR.js');
36
36
  require('./chunk-OG64RBAC.js');
37
37
  require('./chunk-COGTRVWW.js');
38
38
 
@@ -48,7 +48,7 @@ var _fs = require('fs');
48
48
  var _path = require('path');
49
49
  function pendingOrgCreatePath(baseUrl, accountId, sourceOrgId, name) {
50
50
  const intent = _crypto.createHash.call(void 0, "sha256").update(accountId).update("\0").update(sourceOrgId).update("\0").update(name).digest("hex");
51
- return _path.join.call(void 0, _chunkJHFX74T6js.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
51
+ return _path.join.call(void 0, _chunkGPWTKORHjs.sdkCliStateDirPath.call(void 0, baseUrl), `pending-org-create-${intent}.json`);
52
52
  }
53
53
  function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
54
54
  let value;
@@ -67,7 +67,7 @@ function readPendingOrgCreate(path, accountId, sourceOrgId, name) {
67
67
  return value;
68
68
  }
69
69
  function loadOrCreatePendingOrgCreate(input) {
70
- const stateDir = _chunkJHFX74T6js.sdkCliStateDirPath.call(void 0, input.baseUrl);
70
+ const stateDir = _chunkGPWTKORHjs.sdkCliStateDirPath.call(void 0, input.baseUrl);
71
71
  const path = pendingOrgCreatePath(
72
72
  input.baseUrl,
73
73
  input.accountId,
@@ -152,11 +152,11 @@ function processEnvValue(name) {
152
152
  }
153
153
  function organizationAuthValues(input) {
154
154
  return {
155
- [_chunkJHFX74T6js.HOST_URL_ENV]: input.baseUrl,
156
- [_chunkJHFX74T6js.API_KEY_ENV]: input.apiKey,
157
- [_chunkJHFX74T6js.ACTIVE_ORG_ID_ENV]: input.orgId,
158
- [_chunkJHFX74T6js.ACTIVE_ORG_NAME_ENV]: input.orgName,
159
- ..._chunkJHFX74T6js.featureEnvValues.call(void 0, input)
155
+ [_chunkGPWTKORHjs.HOST_URL_ENV]: input.baseUrl,
156
+ [_chunkGPWTKORHjs.API_KEY_ENV]: input.apiKey,
157
+ [_chunkGPWTKORHjs.ACTIVE_ORG_ID_ENV]: input.orgId,
158
+ [_chunkGPWTKORHjs.ACTIVE_ORG_NAME_ENV]: input.orgName,
159
+ ..._chunkGPWTKORHjs.featureEnvValues.call(void 0, input)
160
160
  };
161
161
  }
162
162
  function organizationCommandContext(input) {
@@ -170,14 +170,14 @@ function organizationCommandContext(input) {
170
170
  };
171
171
  }
172
172
  function agentCommandContext(commandContext) {
173
- return _chunkJHFX74T6js.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
173
+ return _chunkGPWTKORHjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? { command_context: commandContext } : {};
174
174
  }
175
175
  function resolveOrgSwitchAuthTarget(scope, config) {
176
- const activeProject = _chunkJHFX74T6js.getResolvedProjectAuthSource.call(void 0,
176
+ const activeProject = _chunkGPWTKORHjs.getResolvedProjectAuthSource.call(void 0,
177
177
  config.baseUrl,
178
178
  config.apiKey
179
179
  );
180
- const folderTarget = _chunkJHFX74T6js.resolveProjectPinTarget.call(void 0, );
180
+ const folderTarget = _chunkGPWTKORHjs.resolveProjectPinTarget.call(void 0, );
181
181
  const globalOverrideWarning = activeProject && scope === "global" ? [
182
182
  `Folder auth in ${activeProject.filePath} overrides global auth for commands run here.`
183
183
  ] : [];
@@ -249,10 +249,10 @@ function resolveOrgSwitchAuthTarget(scope, config) {
249
249
  };
250
250
  }
251
251
  async function handleOrgList(options) {
252
- const config = _chunkJHFX74T6js.resolveConfig.call(void 0, );
253
- const http = new (0, _chunkJHFX74T6js.HttpClient)(config);
252
+ const config = _chunkGPWTKORHjs.resolveConfig.call(void 0, );
253
+ const http = new (0, _chunkGPWTKORHjs.HttpClient)(config);
254
254
  const payload = await fetchOrganizations(http, config.apiKey);
255
- _chunkCIOMFOJJjs.printCommandEnvelope.call(void 0,
255
+ _chunkODKHUBU3js.printCommandEnvelope.call(void 0,
256
256
  {
257
257
  ...payload,
258
258
  render: {
@@ -268,22 +268,22 @@ async function handleOrgList(options) {
268
268
  );
269
269
  }
270
270
  async function handleOrgStatus(options) {
271
- const config = _chunkJHFX74T6js.resolveConfig.call(void 0, );
272
- const http = new (0, _chunkJHFX74T6js.HttpClient)(config);
271
+ const config = _chunkGPWTKORHjs.resolveConfig.call(void 0, );
272
+ const http = new (0, _chunkGPWTKORHjs.HttpClient)(config);
273
273
  const payload = await fetchOrganizations(http, config.apiKey);
274
274
  const current = _nullishCoalesce(_nullishCoalesce(payload.organizations.find((org) => org.is_current), () => ( payload.organizations.find(
275
275
  (org) => org.org_id === payload.current_org_id
276
276
  ))), () => ( null));
277
- const projectCandidate = _chunkJHFX74T6js.getActiveProjectAuthSource.call(void 0, );
278
- const activeProject = _chunkJHFX74T6js.getResolvedProjectAuthSource.call(void 0,
277
+ const projectCandidate = _chunkGPWTKORHjs.getActiveProjectAuthSource.call(void 0, );
278
+ const activeProject = _chunkGPWTKORHjs.getResolvedProjectAuthSource.call(void 0,
279
279
  config.baseUrl,
280
280
  config.apiKey
281
281
  );
282
- const folderTarget = _chunkJHFX74T6js.resolveProjectPinTarget.call(void 0, );
283
- const provenance = _chunkJHFX74T6js.resolveCliAuthProvenance.call(void 0, config);
284
- const hostPath = _chunkJHFX74T6js.hostEnvFilePath.call(void 0, config.baseUrl);
285
- const envApiKey = processEnvValue(_chunkJHFX74T6js.API_KEY_ENV);
286
- const envHostUrl = processEnvValue(_chunkJHFX74T6js.HOST_URL_ENV);
282
+ const folderTarget = _chunkGPWTKORHjs.resolveProjectPinTarget.call(void 0, );
283
+ const provenance = _chunkGPWTKORHjs.resolveCliAuthProvenance.call(void 0, config);
284
+ const hostPath = _chunkGPWTKORHjs.hostEnvFilePath.call(void 0, config.baseUrl);
285
+ const envApiKey = processEnvValue(_chunkGPWTKORHjs.API_KEY_ENV);
286
+ const envHostUrl = processEnvValue(_chunkGPWTKORHjs.HOST_URL_ENV);
287
287
  const authSource = envApiKey ? {
288
288
  scope: "env",
289
289
  source: "process",
@@ -324,17 +324,17 @@ async function handleOrgStatus(options) {
324
324
  if (authSource.path) {
325
325
  lines.push(`Auth file: ${authSource.path}`);
326
326
  } else {
327
- lines.push(`Auth source: ${_chunkJHFX74T6js.API_KEY_ENV} process environment`);
327
+ lines.push(`Auth source: ${_chunkGPWTKORHjs.API_KEY_ENV} process environment`);
328
328
  }
329
329
  if (envApiKey) {
330
- lines.push(`${_chunkJHFX74T6js.API_KEY_ENV} overrides saved auth for this process.`);
330
+ lines.push(`${_chunkGPWTKORHjs.API_KEY_ENV} overrides saved auth for this process.`);
331
331
  } else if (activeProject) {
332
332
  lines.push("Global auth is overridden in this folder.");
333
333
  } else if (provenance.scope === "global" && provenance.project.state === "project") {
334
334
  lines.push("Cloud mutations are blocked until this project is pinned.");
335
335
  lines.push("Pin it: deepline org set --auth-scope folder");
336
336
  }
337
- _chunkCIOMFOJJjs.printCommandEnvelope.call(void 0,
337
+ _chunkODKHUBU3js.printCommandEnvelope.call(void 0,
338
338
  {
339
339
  ok: true,
340
340
  host: config.baseUrl,
@@ -368,25 +368,25 @@ async function handleOrgStatus(options) {
368
368
  }
369
369
  async function handleOrgSwitch(selection, options) {
370
370
  const authScope = normalizeAuthScope(options.authScope);
371
- const config = _chunkJHFX74T6js.resolveConfig.call(void 0, );
372
- const provenance = _chunkJHFX74T6js.resolveCliAuthProvenance.call(void 0, config);
371
+ const config = _chunkGPWTKORHjs.resolveConfig.call(void 0, );
372
+ const provenance = _chunkGPWTKORHjs.resolveCliAuthProvenance.call(void 0, config);
373
373
  if (!selection && !options.orgId && authScope === "folder" && provenance.scope === "global" && provenance.project.state === "project") {
374
- const commandContext = _chunkJHFX74T6js.resolveCliCommandContext.call(void 0, config);
374
+ const commandContext = _chunkGPWTKORHjs.resolveCliCommandContext.call(void 0, config);
375
375
  const activeOrganization = commandContext.active_organization;
376
- const pinnedFeatures = _chunkJHFX74T6js.storedHostFeatures.call(void 0, config.baseUrl);
377
- const project_env_paths2 = _chunkJHFX74T6js.saveProjectDeeplineEnvValues.call(void 0,
376
+ const pinnedFeatures = _chunkGPWTKORHjs.storedHostFeatures.call(void 0, config.baseUrl);
377
+ const project_env_paths2 = _chunkGPWTKORHjs.saveProjectDeeplineEnvValues.call(void 0,
378
378
  {
379
- [_chunkJHFX74T6js.HOST_URL_ENV]: config.baseUrl,
380
- [_chunkJHFX74T6js.API_KEY_ENV]: config.apiKey,
379
+ [_chunkGPWTKORHjs.HOST_URL_ENV]: config.baseUrl,
380
+ [_chunkGPWTKORHjs.API_KEY_ENV]: config.apiKey,
381
381
  ...activeOrganization ? {
382
- [_chunkJHFX74T6js.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
383
- [_chunkJHFX74T6js.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
382
+ [_chunkGPWTKORHjs.ACTIVE_ORG_ID_ENV]: activeOrganization.org_id,
383
+ [_chunkGPWTKORHjs.ACTIVE_ORG_NAME_ENV]: _nullishCoalesce(activeOrganization.org_name, () => ( ""))
384
384
  } : {},
385
- ...pinnedFeatures !== void 0 ? { [_chunkJHFX74T6js.FEATURES_ENV]: pinnedFeatures } : {}
385
+ ...pinnedFeatures !== void 0 ? { [_chunkGPWTKORHjs.FEATURES_ENV]: pinnedFeatures } : {}
386
386
  },
387
387
  provenance.project.dir
388
388
  );
389
- _chunkCIOMFOJJjs.printCommandEnvelope.call(void 0,
389
+ _chunkODKHUBU3js.printCommandEnvelope.call(void 0,
390
390
  {
391
391
  ok: true,
392
392
  unchanged: true,
@@ -398,7 +398,7 @@ async function handleOrgSwitch(selection, options) {
398
398
  orgId: activeOrganization.org_id,
399
399
  orgName: activeOrganization.org_name,
400
400
  authScope: "folder"
401
- }) : _chunkJHFX74T6js.resolveCliCommandContext.call(void 0, config, "folder")
401
+ }) : _chunkGPWTKORHjs.resolveCliCommandContext.call(void 0, config, "folder")
402
402
  ),
403
403
  project_env_paths: project_env_paths2,
404
404
  next: { status: "deepline org status" },
@@ -419,10 +419,10 @@ async function handleOrgSwitch(selection, options) {
419
419
  );
420
420
  return;
421
421
  }
422
- const http = new (0, _chunkJHFX74T6js.HttpClient)(config);
422
+ const http = new (0, _chunkGPWTKORHjs.HttpClient)(config);
423
423
  const payload = await fetchOrganizations(http, config.apiKey);
424
424
  if (!selection && !options.orgId) {
425
- _chunkCIOMFOJJjs.printCommandEnvelope.call(void 0,
425
+ _chunkODKHUBU3js.printCommandEnvelope.call(void 0,
426
426
  {
427
427
  ...payload,
428
428
  next: { set: "deepline org set <number>" },
@@ -473,9 +473,9 @@ async function handleOrgSwitch(selection, options) {
473
473
  features
474
474
  });
475
475
  if (authTarget.kind === "folder") {
476
- project_env_paths2 = _chunkJHFX74T6js.saveProjectDeeplineEnvValues.call(void 0, authValues2);
476
+ project_env_paths2 = _chunkGPWTKORHjs.saveProjectDeeplineEnvValues.call(void 0, authValues2);
477
477
  } else {
478
- _chunkJHFX74T6js.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
478
+ _chunkGPWTKORHjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues2);
479
479
  }
480
480
  const renderLines2 = [`Already on ${target.name}.`];
481
481
  for (const projectPath of project_env_paths2) {
@@ -483,7 +483,7 @@ async function handleOrgSwitch(selection, options) {
483
483
  }
484
484
  if (authTarget.kind === "global") {
485
485
  renderLines2.push(
486
- `Saved global auth in ${_chunkJHFX74T6js.hostEnvFilePath.call(void 0, config.baseUrl)}`
486
+ `Saved global auth in ${_chunkGPWTKORHjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
487
487
  );
488
488
  }
489
489
  renderLines2.push(
@@ -499,7 +499,7 @@ async function handleOrgSwitch(selection, options) {
499
499
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
500
500
  ...authTarget.warnings
501
501
  ];
502
- _chunkCIOMFOJJjs.printCommandEnvelope.call(void 0,
502
+ _chunkODKHUBU3js.printCommandEnvelope.call(void 0,
503
503
  {
504
504
  ok: true,
505
505
  unchanged: true,
@@ -515,7 +515,7 @@ async function handleOrgSwitch(selection, options) {
515
515
  authScope: authTarget.effective_scope
516
516
  })
517
517
  ),
518
- host_env_path: authTarget.kind === "global" ? _chunkJHFX74T6js.hostEnvFilePath.call(void 0, config.baseUrl) : null,
518
+ host_env_path: authTarget.kind === "global" ? _chunkGPWTKORHjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
519
519
  project_env_paths: project_env_paths2,
520
520
  deprecated_command: options.deprecatedSwitch ? "org switch" : null,
521
521
  replacement_command: options.deprecatedSwitch ? "deepline org set" : null,
@@ -541,9 +541,9 @@ async function handleOrgSwitch(selection, options) {
541
541
  features: switched.features
542
542
  });
543
543
  if (authTarget.kind === "folder") {
544
- project_env_paths = _chunkJHFX74T6js.saveProjectDeeplineEnvValues.call(void 0, authValues);
544
+ project_env_paths = _chunkGPWTKORHjs.saveProjectDeeplineEnvValues.call(void 0, authValues);
545
545
  } else {
546
- _chunkJHFX74T6js.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
546
+ _chunkGPWTKORHjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
547
547
  }
548
548
  const { api_key: _apiKey, ...publicSwitched } = switched;
549
549
  const renderLines = [`Switched to ${switched.org_name}.`];
@@ -552,7 +552,7 @@ async function handleOrgSwitch(selection, options) {
552
552
  renderLines.push(`Saved folder auth in ${projectPath}`);
553
553
  }
554
554
  } else {
555
- renderLines.push(`Saved global auth in ${_chunkJHFX74T6js.hostEnvFilePath.call(void 0, config.baseUrl)}`);
555
+ renderLines.push(`Saved global auth in ${_chunkGPWTKORHjs.hostEnvFilePath.call(void 0, config.baseUrl)}`);
556
556
  }
557
557
  renderLines.push(
558
558
  `Scope: ${authTarget.requested_scope} -> ${authTarget.effective_scope} (${authTarget.reason})`
@@ -567,10 +567,10 @@ async function handleOrgSwitch(selection, options) {
567
567
  ...options.deprecatedSwitch ? ["org switch is deprecated; use org set."] : [],
568
568
  ...authTarget.warnings
569
569
  ];
570
- _chunkCIOMFOJJjs.printCommandEnvelope.call(void 0,
570
+ _chunkODKHUBU3js.printCommandEnvelope.call(void 0,
571
571
  {
572
572
  ok: true,
573
- host_env_path: authTarget.kind === "global" ? _chunkJHFX74T6js.hostEnvFilePath.call(void 0, config.baseUrl) : null,
573
+ host_env_path: authTarget.kind === "global" ? _chunkGPWTKORHjs.hostEnvFilePath.call(void 0, config.baseUrl) : null,
574
574
  project_env_paths,
575
575
  ...publicSwitched,
576
576
  api_key_saved: true,
@@ -601,12 +601,12 @@ async function handleOrgSwitch(selection, options) {
601
601
  );
602
602
  }
603
603
  async function handleOrgCreate(name, options) {
604
- const config = _chunkJHFX74T6js.resolveConfig.call(void 0, );
604
+ const config = _chunkGPWTKORHjs.resolveConfig.call(void 0, );
605
605
  const normalizedName = name.trim();
606
606
  if (!normalizedName) {
607
607
  throw new Error("Workspace name is required.");
608
608
  }
609
- const http = new (0, _chunkJHFX74T6js.HttpClient)(config);
609
+ const http = new (0, _chunkGPWTKORHjs.HttpClient)(config);
610
610
  const identity = await fetchWorkspaceCreationIdentity(http, config.apiKey);
611
611
  let created;
612
612
  let workspaceApiKey;
@@ -632,7 +632,7 @@ async function handleOrgCreate(name, options) {
632
632
  sourceOrgId: identity.orgId,
633
633
  name: normalizedName
634
634
  });
635
- const workspace = await new (0, _chunkLQS5XUFLjs.DeeplineClient)({
635
+ const workspace = await new (0, _chunkCBMYUXATjs.DeeplineClient)({
636
636
  apiKey: config.apiKey,
637
637
  baseUrl: config.baseUrl
638
638
  }).workspaces.create({
@@ -655,16 +655,16 @@ async function handleOrgCreate(name, options) {
655
655
  orgName: created.org_name,
656
656
  features: workspaceFeatures
657
657
  });
658
- _chunkJHFX74T6js.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
658
+ _chunkGPWTKORHjs.saveHostEnvValues.call(void 0, config.baseUrl, authValues);
659
659
  if (pendingIntentPath) _fs.unlinkSync.call(void 0, pendingIntentPath);
660
- _chunkCIOMFOJJjs.printCommandEnvelope.call(void 0,
660
+ _chunkODKHUBU3js.printCommandEnvelope.call(void 0,
661
661
  {
662
662
  ok: true,
663
663
  ...created,
664
664
  initial_credits: typeof created.initial_credits === "number" ? created.initial_credits : 0,
665
665
  api_key_saved: true,
666
666
  switched: true,
667
- host_env_path: _chunkJHFX74T6js.hostEnvFilePath.call(void 0, config.baseUrl),
667
+ host_env_path: _chunkGPWTKORHjs.hostEnvFilePath.call(void 0, config.baseUrl),
668
668
  ...agentCommandContext(
669
669
  organizationCommandContext({
670
670
  orgId: created.org_id,
@@ -679,7 +679,7 @@ async function handleOrgCreate(name, options) {
679
679
  lines: [
680
680
  `Created organization: ${created.org_name}.`,
681
681
  `Switched to ${created.org_name}.`,
682
- `Saved host auth in ${_chunkJHFX74T6js.hostEnvFilePath.call(void 0, config.baseUrl)}`
682
+ `Saved host auth in ${_chunkGPWTKORHjs.hostEnvFilePath.call(void 0, config.baseUrl)}`
683
683
  ]
684
684
  }
685
685
  ]
@@ -731,7 +731,7 @@ Examples:
731
731
  );
732
732
  const sso = org.command("sso").description("Manage Enterprise workspace SSO.");
733
733
  const ssoPath = "/api/v2/auth/workspace/sso";
734
- const printSso = (payload, json) => _chunkCIOMFOJJjs.printCommandEnvelope.call(void 0,
734
+ const printSso = (payload, json) => _chunkODKHUBU3js.printCommandEnvelope.call(void 0,
735
735
  {
736
736
  ...payload,
737
737
  render: {
@@ -755,7 +755,7 @@ Examples:
755
755
  },
756
756
  { json }
757
757
  );
758
- const ssoHttp = () => new (0, _chunkJHFX74T6js.HttpClient)(_chunkJHFX74T6js.resolveConfig.call(void 0, ));
758
+ const ssoHttp = () => new (0, _chunkGPWTKORHjs.HttpClient)(_chunkGPWTKORHjs.resolveConfig.call(void 0, ));
759
759
  sso.command("status").description("Show this workspace's SSO connection and plan eligibility.").option("--json", "Emit JSON output").action(async (options) => {
760
760
  printSso(await ssoHttp().get(ssoPath), options.json);
761
761
  });
@@ -786,8 +786,8 @@ Examples:
786
786
  "Identity provider metadata XML file"
787
787
  ).option("--json", "Emit JSON output").action(
788
788
  async (options) => {
789
- const config = _chunkJHFX74T6js.resolveConfig.call(void 0, );
790
- const http = new (0, _chunkJHFX74T6js.HttpClient)(config);
789
+ const config = _chunkGPWTKORHjs.resolveConfig.call(void 0, );
790
+ const http = new (0, _chunkGPWTKORHjs.HttpClient)(config);
791
791
  const identity = await fetchWorkspaceCreationIdentity(
792
792
  http,
793
793
  config.apiKey
@@ -4,11 +4,11 @@ import {
4
4
  } from "./chunk-OSDXE27V.mjs";
5
5
  import {
6
6
  registerDeprecatedSearchCommand
7
- } from "./chunk-OIUXHL7G.mjs";
7
+ } from "./chunk-VPCIT5N6.mjs";
8
8
  import {
9
9
  handleDeploymentGet,
10
10
  handleDeploymentsList
11
- } from "./chunk-OPS5KQVF.mjs";
11
+ } from "./chunk-TFIB4VNU.mjs";
12
12
  import {
13
13
  buildPlayDashboardUrl
14
14
  } from "./chunk-IHG7UAHD.mjs";
@@ -23,7 +23,7 @@ import {
23
23
  listPlayFileExports,
24
24
  parsePlaySourceForAnalysis,
25
25
  resolveEnabledExecutionProfile
26
- } from "./chunk-3HWALOL2.mjs";
26
+ } from "./chunk-6BJK4EJ3.mjs";
27
27
  import "./chunk-H7HIDGZ7.mjs";
28
28
  import {
29
29
  parseCsvDataInput
@@ -32,7 +32,7 @@ import {
32
32
  pinLocalPlayImports,
33
33
  planLocalPlayExecution
34
34
  } from "./chunk-ERFN2QY4.mjs";
35
- import "./chunk-3HU47EGZ.mjs";
35
+ import "./chunk-CLJGSOVM.mjs";
36
36
  import {
37
37
  DeeplineClient,
38
38
  RUN_EVENT_SEARCH_KIND_VALUES,
@@ -45,7 +45,7 @@ import {
45
45
  logProvenanceReaches,
46
46
  normalizeRunEventOperationRequest,
47
47
  parseLogLevel
48
- } from "./chunk-4EWCKDFC.mjs";
48
+ } from "./chunk-XKVJZ5JC.mjs";
49
49
  import "./chunk-6IKARAYD.mjs";
50
50
  import {
51
51
  CSV_DATA_INPUT_KEY,
@@ -84,16 +84,16 @@ import {
84
84
  printJsonError,
85
85
  renderCommandEnvelopeText,
86
86
  shouldEmitJson
87
- } from "./chunk-JT7XZP4U.mjs";
87
+ } from "./chunk-OHGXSFDQ.mjs";
88
88
  import {
89
89
  fetchWithDeploymentProtection
90
- } from "./chunk-Q77JWGMZ.mjs";
90
+ } from "./chunk-DSXMTZ64.mjs";
91
91
  import "./chunk-YHPYUZZX.mjs";
92
92
  import "./chunk-DLIRSHV6.mjs";
93
93
  import {
94
94
  DeeplineError
95
95
  } from "./chunk-NXGCO4JB.mjs";
96
- import "./chunk-NMPFKSZN.mjs";
96
+ import "./chunk-NRI4TJVF.mjs";
97
97
  import "./chunk-WZYKRD7T.mjs";
98
98
  import {
99
99
  __commonJS,
@@ -16710,7 +16710,7 @@ Examples:
16710
16710
  process.exitCode = await ownView();
16711
16711
  return;
16712
16712
  }
16713
- const { describeAnything } = await import("./describe-S5O6FVT3.mjs");
16713
+ const { describeAnything } = await import("./describe-6LP2CWEF.mjs");
16714
16714
  process.exitCode = await describeAnything(
16715
16715
  name,
16716
16716
  {