deepline 0.3.511 → 0.3.513

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 (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +2 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +9 -3
  5. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +35 -3
  6. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +23 -1
  8. package/dist/cli/{artifacts-G6JHRHY5.mjs → artifacts-AMM4RZNI.mjs} +6 -6
  9. package/dist/cli/{artifacts-PLF5ZUS7.js → artifacts-SZA52D3P.js} +18 -18
  10. package/dist/cli/{auth-2XMJMDWG.mjs → auth-3HQ7FXPX.mjs} +5 -5
  11. package/dist/cli/auth-THCURTEC.js +43 -0
  12. package/dist/cli/{billing-6C5AI42X.mjs → billing-7AIKDEQQ.mjs} +7 -7
  13. package/dist/cli/{billing-Z3XFXP3H.js → billing-SVFRN4BJ.js} +82 -82
  14. package/dist/cli/{chunk-VEOFISLZ.mjs → chunk-3SE4O52N.mjs} +1 -1
  15. package/dist/cli/{chunk-JYFLIQPE.js → chunk-3UKVFI2R.js} +7 -7
  16. package/dist/cli/{chunk-VQ74WMKG.mjs → chunk-3WHK7WCP.mjs} +3 -3
  17. package/dist/cli/{chunk-5WTLXL6O.mjs → chunk-46QVEEXR.mjs} +1 -1
  18. package/dist/cli/{chunk-2YVRIXVR.js → chunk-4EGBOZ53.js} +9 -9
  19. package/dist/cli/{chunk-FF25PDQ2.js → chunk-5IZXMA2L.js} +4 -1
  20. package/dist/cli/{chunk-HLEZQDEZ.mjs → chunk-5T4SZPVO.mjs} +2 -2
  21. package/dist/cli/{chunk-77DPQI6W.mjs → chunk-5UWWZLMX.mjs} +4 -1
  22. package/dist/cli/{chunk-KUDNPJ43.js → chunk-6JNRYX65.js} +2 -2
  23. package/dist/cli/{chunk-KZBKQPSA.js → chunk-6UVAYLQG.js} +2 -2
  24. package/dist/cli/{chunk-XXQZYLLL.mjs → chunk-7NIBAJML.mjs} +2 -2
  25. package/dist/cli/{chunk-JDDKJIZU.mjs → chunk-7UVKC5G4.mjs} +1 -1
  26. package/dist/cli/{chunk-LDZYGM7W.js → chunk-ADB6FD2Q.js} +41 -41
  27. package/dist/cli/{chunk-FTT2SBBH.mjs → chunk-B4BKATGX.mjs} +5 -5
  28. package/dist/cli/{chunk-OQ4YBPOQ.mjs → chunk-C5KH6FDN.mjs} +3 -3
  29. package/dist/cli/{chunk-S5C4CWSS.mjs → chunk-CEWRCUSH.mjs} +5 -5
  30. package/dist/cli/{chunk-O37BQ2CG.js → chunk-D72M5LBQ.js} +10 -10
  31. package/dist/cli/{chunk-D5VWSR4D.js → chunk-EAQQTYJL.js} +5 -5
  32. package/dist/cli/{chunk-ZYVR4A4P.mjs → chunk-FC6BR2OA.mjs} +10 -10
  33. package/dist/cli/{chunk-ISY7PBIK.mjs → chunk-FLG3VIDQ.mjs} +5 -5
  34. package/dist/cli/{chunk-K4JB2BZP.js → chunk-H6WD65CD.js} +96 -96
  35. package/dist/cli/{chunk-WDBEWOU6.js → chunk-HDDE4Y4V.js} +2 -2
  36. package/dist/cli/{chunk-FAGSSIOY.js → chunk-JA5PBN44.js} +6 -6
  37. package/dist/cli/{chunk-PI45LZ5B.js → chunk-JI2LKS5V.js} +11 -11
  38. package/dist/cli/{chunk-ASXOFBF7.mjs → chunk-JNNQ53BX.mjs} +2 -2
  39. package/dist/cli/{chunk-PCI4MMH7.mjs → chunk-K3CUVLW7.mjs} +1 -1
  40. package/dist/cli/{chunk-GJWL4KTY.mjs → chunk-KINDIV44.mjs} +4 -4
  41. package/dist/cli/{chunk-XZ6IZIQJ.mjs → chunk-LA66PYB4.mjs} +2 -2
  42. package/dist/cli/{chunk-BHV7JKXQ.js → chunk-MPOF4Z44.js} +1 -1
  43. package/dist/cli/{chunk-QDWNVTTO.mjs → chunk-OD72PULZ.mjs} +2 -2
  44. package/dist/cli/{chunk-IYWN7M4I.js → chunk-ORQVTTTM.js} +5 -5
  45. package/dist/cli/{chunk-JHBZBCU4.mjs → chunk-P2EHYH2Q.mjs} +1 -1
  46. package/dist/cli/{chunk-XSBGWMI6.mjs → chunk-P63SBUEW.mjs} +1 -1
  47. package/dist/cli/{chunk-LKSJXTRP.js → chunk-P6TG7COR.js} +53 -53
  48. package/dist/cli/{chunk-YX7E2VQM.js → chunk-PFEFK2FB.js} +26 -26
  49. package/dist/cli/{chunk-GGQHOLH6.js → chunk-PGHCBL5G.js} +3 -3
  50. package/dist/cli/{chunk-RPPU3XB3.mjs → chunk-PPQU263U.mjs} +2 -2
  51. package/dist/cli/{chunk-XGXXNT4O.js → chunk-QDGUDNVR.js} +7 -7
  52. package/dist/cli/{chunk-S6KEACD3.mjs → chunk-ROIFA4H7.mjs} +6 -6
  53. package/dist/cli/{chunk-KK6NZHAJ.mjs → chunk-ROJ55CXM.mjs} +1 -1
  54. package/dist/cli/{chunk-2Q4H2Y6N.js → chunk-SDD75XIU.js} +6 -6
  55. package/dist/cli/{chunk-FV4PASXH.js → chunk-TWHJ4WCA.js} +16 -16
  56. package/dist/cli/{chunk-VHFTN6VY.js → chunk-U5QR527Y.js} +44 -44
  57. package/dist/cli/{chunk-PUFEARWT.js → chunk-UDVX7HKU.js} +16 -16
  58. package/dist/cli/{chunk-GD3ES3JU.js → chunk-VMLZQ3VM.js} +14 -14
  59. package/dist/cli/{chunk-XREZY4FA.mjs → chunk-WFN6SB2B.mjs} +1 -1
  60. package/dist/cli/{chunk-KXGH4YUQ.mjs → chunk-XCP75LSJ.mjs} +1 -1
  61. package/dist/cli/{chunk-JIY25SUX.js → chunk-Y2SIHXYS.js} +4 -4
  62. package/dist/cli/{chunk-ZWGBQKW7.js → chunk-YZW4ZLU3.js} +21 -21
  63. package/dist/cli/{chunk-NVMNMKZW.js → chunk-Z52XVM5I.js} +3 -3
  64. package/dist/cli/{chunk-SI4QXATV.mjs → chunk-ZDO67LFA.mjs} +5 -5
  65. package/dist/cli/{chunk-ZFJ2U76O.mjs → chunk-ZKUXTF6X.mjs} +2 -2
  66. package/dist/cli/command-docs.js +2 -2
  67. package/dist/cli/command-docs.mjs +1 -1
  68. package/dist/cli/{csv-CNK6ZF3T.mjs → csv-56JWAO3Y.mjs} +4 -4
  69. package/dist/cli/{csv-S44OGG2O.js → csv-WKF5O6C4.js} +13 -13
  70. package/dist/cli/{db-AVO6QJU6.mjs → db-SENEFS45.mjs} +6 -6
  71. package/dist/cli/{db-WKZ6EXNG.js → db-UURETUXZ.js} +27 -27
  72. package/dist/cli/describe-GIJAGNZM.js +50 -0
  73. package/dist/cli/{describe-2HQRT5MI.mjs → describe-R3XKAGF5.mjs} +18 -18
  74. package/dist/cli/{executions-DKHOR7HD.mjs → executions-BAUUWHSW.mjs} +6 -6
  75. package/dist/cli/{executions-MTAHNARA.js → executions-WZUS3S2K.js} +8 -8
  76. package/dist/cli/{feedback-K6SJS4LG.mjs → feedback-5SCDE247.mjs} +5 -5
  77. package/dist/cli/{feedback-R2UABU3E.js → feedback-Z6A7WMJS.js} +10 -10
  78. package/dist/cli/{git-3EPA7433.mjs → git-246MRTK7.mjs} +5 -5
  79. package/dist/cli/git-D5UAIEQE.js +25 -0
  80. package/dist/cli/index.js +145 -145
  81. package/dist/cli/index.mjs +44 -44
  82. package/dist/cli/{legacy-noops-3Q2D2F24.js → legacy-noops-AKETAVNI.js} +9 -9
  83. package/dist/cli/{legacy-noops-66OPCJJD.mjs → legacy-noops-M242HT67.mjs} +6 -6
  84. package/dist/cli/{monitors-2PYPRWT4.mjs → monitors-N5T6PLCX.mjs} +7 -7
  85. package/dist/cli/{monitors-KHH4MZDF.js → monitors-QIHYTSKD.js} +100 -100
  86. package/dist/cli/{org-X5G36B2Q.js → org-BSCPIN7Y.js} +72 -72
  87. package/dist/cli/{org-WAW3OL7B.mjs → org-YMDLKBVM.mjs} +6 -6
  88. package/dist/cli/{pages-XDPHCHHU.js → pages-BYSQBWD5.js} +18 -18
  89. package/dist/cli/{pages-KABWXDGW.mjs → pages-FRLPAY6I.mjs} +6 -6
  90. package/dist/cli/{play-654B2HQU.mjs → play-CMJI6RNI.mjs} +18 -18
  91. package/dist/cli/{play-UE5FKQCO.js → play-OIJAMP5P.js} +317 -317
  92. package/dist/cli/{providers-QT2BZMJ7.js → providers-6Q7H2RYZ.js} +9 -9
  93. package/dist/cli/{providers-SKNGX6IT.mjs → providers-KWFIH3E7.mjs} +6 -6
  94. package/dist/cli/{quickstart-XWDVAQTT.js → quickstart-GU35UZPU.js} +6 -6
  95. package/dist/cli/{quickstart-BX7XMJIQ.mjs → quickstart-UZWAQ7VJ.mjs} +4 -4
  96. package/dist/cli/{run-JTU4K4MY.mjs → run-AJ24G4CT.mjs} +23 -23
  97. package/dist/cli/{run-C6YYD4AK.js → run-OYOQIVBM.js} +41 -41
  98. package/dist/cli/{search-NHV4Y4SX.mjs → search-2KNDV3DL.mjs} +8 -8
  99. package/dist/cli/search-UZM6U4MZ.js +33 -0
  100. package/dist/cli/{search-output-WLFFEGCY.js → search-output-526FOJQD.js} +6 -6
  101. package/dist/cli/{search-output-AAOMFK7K.mjs → search-output-X5TMIIA4.mjs} +4 -4
  102. package/dist/cli/{secrets-H4WTLQJJ.js → secrets-QL5SMK62.js} +15 -15
  103. package/dist/cli/{secrets-S66PZSRO.mjs → secrets-XEOGG6TV.mjs} +6 -6
  104. package/dist/cli/sessions-T27GUYZX.js +18 -0
  105. package/dist/cli/{sessions-PY6FJX3O.mjs → sessions-Z352OY5B.mjs} +6 -6
  106. package/dist/cli/{settings-V7BM42KQ.mjs → settings-AET5AKBY.mjs} +13 -13
  107. package/dist/cli/{settings-YO4FFPN6.js → settings-EKLYIRWJ.js} +86 -86
  108. package/dist/cli/{setup-IFZYYQ2W.js → setup-IJWDEYLG.js} +50 -50
  109. package/dist/cli/{setup-VUBM2HMH.mjs → setup-JPGTZYR2.mjs} +10 -10
  110. package/dist/cli/{skills-EYWRSQQJ.mjs → skills-DGCK6723.mjs} +8 -8
  111. package/dist/cli/skills-MLMVPHWG.js +37 -0
  112. package/dist/cli/tools-5WBKZRLQ.js +57 -0
  113. package/dist/cli/{tools-VZOW4MUD.mjs → tools-7GEQLQWX.mjs} +17 -17
  114. package/dist/cli/update-JK4NLT4H.js +35 -0
  115. package/dist/cli/{update-CQDJJYU2.mjs → update-SAN6LDPT.mjs} +10 -10
  116. package/dist/cli/{workflow-2VRDIPF3.mjs → workflow-C66GOHRB.mjs} +7 -7
  117. package/dist/cli/{workflow-XS3JEU6X.js → workflow-E4NGYGGM.js} +17 -17
  118. package/dist/index.js +9 -9
  119. package/dist/index.mjs +6 -6
  120. package/dist/install-integrity.json +106 -106
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/dist/server.js +5 -5
  126. package/dist/server.mjs +3 -3
  127. package/dist/viewer/viewer.js +16 -7
  128. package/package.json +1 -1
  129. package/dist/cli/auth-PI2KS2CD.js +0 -43
  130. package/dist/cli/describe-CCK77NER.js +0 -50
  131. package/dist/cli/git-7L3PY2A4.js +0 -25
  132. package/dist/cli/search-RIFW5JCK.js +0 -33
  133. package/dist/cli/sessions-EFWO62XJ.js +0 -18
  134. package/dist/cli/skills-LFP53SWQ.js +0 -37
  135. package/dist/cli/tools-SR2Q7KC5.js +0 -57
  136. package/dist/cli/update-ADZBZZZS.js +0 -35
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
3
+ var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkJYFLIQPEjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunk3UKVFI2Rjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkWDBEWOU6js = require('./chunk-WDBEWOU6.js');
3
+ var _chunkHDDE4Y4Vjs = require('./chunk-HDDE4Y4V.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkVHFTN6VYjs = require('./chunk-VHFTN6VY.js');
8
+ var _chunkU5QR527Yjs = require('./chunk-U5QR527Y.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkVHFTN6VYjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkWDBEWOU6js.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkU5QR527Yjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkHDDE4Y4Vjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkVHFTN6VYjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkU5QR527Yjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkVHFTN6VYjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkU5QR527Yjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -3,18 +3,18 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkD5VWSR4Djs = require('./chunk-D5VWSR4D.js');
6
+ var _chunkEAQQTYJLjs = require('./chunk-EAQQTYJL.js');
7
7
 
8
8
 
9
- var _chunkGD3ES3JUjs = require('./chunk-GD3ES3JU.js');
9
+ var _chunkVMLZQ3VMjs = require('./chunk-VMLZQ3VM.js');
10
10
 
11
11
 
12
12
 
13
- var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
13
+ var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
17
+ var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.js');
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  var _commander = require('commander');
@@ -24,7 +24,7 @@ var _fs = require('fs');
24
24
  var _path = require('path');
25
25
  var SEARCH_REF_TTL_MS = 15 * 6e4;
26
26
  function lastSearchPath() {
27
- return _path.join.call(void 0, _chunkGGQHOLH6js.sdkCliStateDirPath.call(void 0, _chunkGGQHOLH6js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
27
+ return _path.join.call(void 0, _chunkPGHCBL5Gjs.sdkCliStateDirPath.call(void 0, _chunkPGHCBL5Gjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
28
28
  }
29
29
  function rememberSearchRef(searchRef) {
30
30
  writeSearchRefs({ searchRef });
@@ -134,9 +134,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  console.error("--summary-width must be an integer of at least 2.");
135
135
  return 1;
136
136
  }
137
- const client = new (0, _chunkD5VWSR4Djs.DeeplineClient)();
137
+ const client = new (0, _chunkEAQQTYJLjs.DeeplineClient)();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-WLFFEGCY.js")));
139
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-526FOJQD.js")));
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -159,7 +159,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
159
159
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
160
160
  if (!multiple) {
161
161
  if (searchRef) rememberSearchRef(searchRef);
162
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0, result, { json, text });
162
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0, result, { json, text });
163
163
  return 0;
164
164
  }
165
165
  searches.push({ ...result, query });
@@ -173,8 +173,8 @@ ${text}`);
173
173
  }
174
174
  } catch (error) {
175
175
  if (!multiple) throw error;
176
- const payload = _chunkJYFLIQPEjs.errorToJsonPayload.call(void 0, error);
177
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkGD3ES3JUjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
+ const payload = _chunk3UKVFI2Rjs.errorToJsonPayload.call(void 0, error);
177
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkVMLZQ3VMjs.resolveSdkCliFailureExitCode.call(void 0, error)));
178
178
  searches.push({ ...payload, query, exitCode: queryExitCode });
179
179
  if (!json) {
180
180
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -186,7 +186,7 @@ Search failed.
186
186
  }
187
187
  }
188
188
  rememberSearchRefsByTool(refs);
189
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
189
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
190
190
  { searches },
191
191
  {
192
192
  json,
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-HLEZQDEZ.mjs";
5
+ } from "./chunk-5T4SZPVO.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-VEOFISLZ.mjs";
8
+ } from "./chunk-3SE4O52N.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-HLEZQDEZ.mjs";
3
+ } from "./chunk-5T4SZPVO.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-S5C4CWSS.mjs";
14
+ } from "./chunk-CEWRCUSH.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-HLEZQDEZ.mjs";
17
+ } from "./chunk-5T4SZPVO.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-VEOFISLZ.mjs";
23
+ } from "./chunk-3SE4O52N.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-JDDKJIZU.mjs";
27
+ } from "./chunk-7UVKC5G4.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-XSBGWMI6.mjs";
3
+ } from "./chunk-P63SBUEW.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-VEOFISLZ.mjs";
7
+ } from "./chunk-3SE4O52N.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.511",
52
+ version: "0.3.513",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  autoDetectBaseUrl,
3
3
  resolveApiKeyForBaseUrl
4
- } from "./chunk-VEOFISLZ.mjs";
4
+ } from "./chunk-3SE4O52N.mjs";
5
5
  import {
6
6
  SDK_VERSION,
7
7
  agentSessionIdFromEnvironment,
8
8
  deploymentProtectionHeaders,
9
9
  detectAgentRuntime
10
- } from "./chunk-JDDKJIZU.mjs";
10
+ } from "./chunk-7UVKC5G4.mjs";
11
11
  import {
12
12
  DeeplineError
13
13
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkXGXXNT4Ojs = require('./chunk-XGXXNT4O.js');
3
+ var _chunkQDGUDNVRjs = require('./chunk-QDGUDNVR.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
7
+ var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkGGQHOLH6js.resolveConfig.call(void 0, options);
141
- return new (0, _chunkXGXXNT4Ojs.PlayClient)(
142
- new (0, _chunkGGQHOLH6js.HttpClient)(config),
140
+ const config = _chunkPGHCBL5Gjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkQDGUDNVRjs.PlayClient)(
142
+ new (0, _chunkPGHCBL5Gjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-HLEZQDEZ.mjs";
11
+ } from "./chunk-5T4SZPVO.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -31,7 +31,7 @@ import {
31
31
  RETAINED_PIPELINE_RECEIVERS_HEADER,
32
32
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
33
33
  SDK_API_MAJOR
34
- } from "./chunk-JDDKJIZU.mjs";
34
+ } from "./chunk-7UVKC5G4.mjs";
35
35
  import {
36
36
  CustomerDbQueryOutcomeUnknownError
37
37
  } from "./chunk-4QF2K7TM.mjs";
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
5
+ var _chunk3UKVFI2Rjs = require('./chunk-3UKVFI2R.js');
6
6
 
7
7
 
8
8
 
@@ -22,14 +22,14 @@ var _chunkJYFLIQPEjs = require('./chunk-JYFLIQPE.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkGGQHOLH6js = require('./chunk-GGQHOLH6.js');
25
+ var _chunkPGHCBL5Gjs = require('./chunk-PGHCBL5G.js');
26
26
 
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
- var _chunkJIY25SUXjs = require('./chunk-JIY25SUX.js');
32
+ var _chunkY2SIHXYSjs = require('./chunk-Y2SIHXYS.js');
33
33
 
34
34
 
35
35
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -60,7 +60,7 @@ function statusBannerLine(value) {
60
60
  return `Service notice: ${banner.message}`;
61
61
  }
62
62
  function envFilePath(baseUrl) {
63
- return _chunkGGQHOLH6js.hostEnvFilePath.call(void 0, baseUrl);
63
+ return _chunkPGHCBL5Gjs.hostEnvFilePath.call(void 0, baseUrl);
64
64
  }
65
65
  function normalizeAuthScope(value) {
66
66
  if (!value || value === "global") return "global";
@@ -73,7 +73,7 @@ function parseAuthScope(args) {
73
73
  }
74
74
  function pendingClaimPath(baseUrl, scope) {
75
75
  if (scope === "folder") {
76
- const target = _chunkGGQHOLH6js.resolveProjectPinTarget.call(void 0, );
76
+ const target = _chunkPGHCBL5Gjs.resolveProjectPinTarget.call(void 0, );
77
77
  if (!target.ok) {
78
78
  throw new Error(
79
79
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -83,10 +83,10 @@ function pendingClaimPath(baseUrl, scope) {
83
83
  }
84
84
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
85
85
  }
86
- return `${_chunkGGQHOLH6js.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
86
+ return `${_chunkPGHCBL5Gjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
87
87
  }
88
88
  function legacyPendingClaimTokenPath(baseUrl) {
89
- return `${_chunkGGQHOLH6js.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
89
+ return `${_chunkPGHCBL5Gjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
90
90
  }
91
91
  function savePendingClaim(baseUrl, claim) {
92
92
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -190,21 +190,21 @@ function parseRegisterWaitMode(args) {
190
190
  function shouldWaitForRegisterClaim(mode) {
191
191
  if (mode === "yes") return true;
192
192
  if (mode === "no") return false;
193
- return _chunkJIY25SUXjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
193
+ return _chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
194
194
  }
195
195
  function saveEnvValues(values, baseUrl, scope) {
196
196
  const filtered = {
197
- ...values[_chunkGGQHOLH6js.HOST_URL_ENV] ? { [_chunkGGQHOLH6js.HOST_URL_ENV]: values[_chunkGGQHOLH6js.HOST_URL_ENV] } : {},
198
- ...values[_chunkGGQHOLH6js.API_KEY_ENV] ? { [_chunkGGQHOLH6js.API_KEY_ENV]: values[_chunkGGQHOLH6js.API_KEY_ENV] } : {},
199
- ...values[_chunkGGQHOLH6js.ACTIVE_ORG_ID_ENV] ? { [_chunkGGQHOLH6js.ACTIVE_ORG_ID_ENV]: values[_chunkGGQHOLH6js.ACTIVE_ORG_ID_ENV] } : {},
200
- ...Object.prototype.hasOwnProperty.call(values, _chunkGGQHOLH6js.ACTIVE_ORG_NAME_ENV) ? { [_chunkGGQHOLH6js.ACTIVE_ORG_NAME_ENV]: values[_chunkGGQHOLH6js.ACTIVE_ORG_NAME_ENV] } : {},
197
+ ...values[_chunkPGHCBL5Gjs.HOST_URL_ENV] ? { [_chunkPGHCBL5Gjs.HOST_URL_ENV]: values[_chunkPGHCBL5Gjs.HOST_URL_ENV] } : {},
198
+ ...values[_chunkPGHCBL5Gjs.API_KEY_ENV] ? { [_chunkPGHCBL5Gjs.API_KEY_ENV]: values[_chunkPGHCBL5Gjs.API_KEY_ENV] } : {},
199
+ ...values[_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV] ? { [_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV]: values[_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV] } : {},
200
+ ...Object.prototype.hasOwnProperty.call(values, _chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV]: values[_chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV] } : {},
201
201
  // An explicit empty list must reach the store: it clears a stale line.
202
- ...Object.prototype.hasOwnProperty.call(values, _chunkGGQHOLH6js.FEATURES_ENV) ? { [_chunkGGQHOLH6js.FEATURES_ENV]: values[_chunkGGQHOLH6js.FEATURES_ENV] } : {}
202
+ ...Object.prototype.hasOwnProperty.call(values, _chunkPGHCBL5Gjs.FEATURES_ENV) ? { [_chunkPGHCBL5Gjs.FEATURES_ENV]: values[_chunkPGHCBL5Gjs.FEATURES_ENV] } : {}
203
203
  };
204
204
  if (scope === "folder") {
205
- _chunkGGQHOLH6js.saveProjectDeeplineEnvValues.call(void 0, filtered);
205
+ _chunkPGHCBL5Gjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
206
206
  } else {
207
- _chunkGGQHOLH6js.saveHostEnvValues.call(void 0, baseUrl, filtered);
207
+ _chunkPGHCBL5Gjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
208
208
  }
209
209
  }
210
210
  function activeOrgEnvValues(data) {
@@ -212,21 +212,21 @@ function activeOrgEnvValues(data) {
212
212
  if (!orgId) return {};
213
213
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
214
214
  return {
215
- [_chunkGGQHOLH6js.ACTIVE_ORG_ID_ENV]: orgId,
216
- [_chunkGGQHOLH6js.ACTIVE_ORG_NAME_ENV]: orgName,
217
- ..._chunkGGQHOLH6js.featureEnvValues.call(void 0, data)
215
+ [_chunkPGHCBL5Gjs.ACTIVE_ORG_ID_ENV]: orgId,
216
+ [_chunkPGHCBL5Gjs.ACTIVE_ORG_NAME_ENV]: orgName,
217
+ ..._chunkPGHCBL5Gjs.featureEnvValues.call(void 0, data)
218
218
  };
219
219
  }
220
220
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
221
221
  const headers = {
222
222
  "Content-Type": "application/json",
223
- "User-Agent": `deepline-ts-sdk/${_chunkJIY25SUXjs.SDK_VERSION}`,
223
+ "User-Agent": `deepline-ts-sdk/${_chunkY2SIHXYSjs.SDK_VERSION}`,
224
224
  "X-Deepline-Client-Family": "sdk",
225
225
  "X-Deepline-CLI-Family": "sdk",
226
- "X-Deepline-Agent-Runtime": _chunkJIY25SUXjs.detectAgentRuntime.call(void 0, ),
227
- "X-Deepline-CLI-Version": _chunkJIY25SUXjs.SDK_VERSION,
228
- "X-Deepline-SDK-Version": _chunkJIY25SUXjs.SDK_VERSION,
229
- "X-Deepline-API-Contract": _chunkJIY25SUXjs.SDK_API_CONTRACT
226
+ "X-Deepline-Agent-Runtime": _chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, ),
227
+ "X-Deepline-CLI-Version": _chunkY2SIHXYSjs.SDK_VERSION,
228
+ "X-Deepline-SDK-Version": _chunkY2SIHXYSjs.SDK_VERSION,
229
+ "X-Deepline-API-Contract": _chunkY2SIHXYSjs.SDK_API_CONTRACT
230
230
  };
231
231
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
232
232
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -265,10 +265,10 @@ async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT
265
265
  if (failure.name === "AbortError" || failure.name === "TimeoutError") {
266
266
  throw failure;
267
267
  }
268
- const causeCode = _chunkJIY25SUXjs.networkCauseCode.call(void 0, failure);
268
+ const causeCode = _chunkY2SIHXYSjs.networkCauseCode.call(void 0, failure);
269
269
  throw Object.assign(
270
270
  new (0, _chunkDIAWYWT5js.DeeplineError)(
271
- _chunkJIY25SUXjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
271
+ _chunkY2SIHXYSjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
272
272
  void 0,
273
273
  "NETWORK_ERROR",
274
274
  causeCode ? { causeCode } : void 0
@@ -285,7 +285,7 @@ async function readStatusBanner(baseUrl) {
285
285
  return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
286
286
  }
287
287
  async function reportSetupCompleted(input) {
288
- const apiKey = input.authScope === "folder" ? _chunkGGQHOLH6js.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkGGQHOLH6js.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
288
+ const apiKey = input.authScope === "folder" ? _chunkPGHCBL5Gjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkPGHCBL5Gjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
289
289
  if (!apiKey) return;
290
290
  try {
291
291
  await httpJson(
@@ -414,7 +414,7 @@ function endClaimPollOnRefusal(status, data, baseUrl, authScope) {
414
414
  return EXIT_SERVER;
415
415
  }
416
416
  async function handleRegister(args, options) {
417
- const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
417
+ const baseUrl = _chunkPGHCBL5Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
418
418
  let orgName = "";
419
419
  let orgId = "";
420
420
  let agentName = "";
@@ -473,19 +473,19 @@ async function handleRegister(args, options) {
473
473
  savePendingClaim(baseUrl, pendingClaim);
474
474
  saveEnvValues(
475
475
  {
476
- [_chunkGGQHOLH6js.HOST_URL_ENV]: baseUrl
476
+ [_chunkPGHCBL5Gjs.HOST_URL_ENV]: baseUrl
477
477
  },
478
478
  baseUrl,
479
479
  authScope
480
480
  );
481
481
  }
482
482
  if (claimUrl) {
483
- const shouldOpen = waitMode !== "no" && _chunkJIY25SUXjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
483
+ const shouldOpen = waitMode !== "no" && _chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
484
484
  console.log(
485
485
  shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
486
486
  );
487
487
  console.log(` ${claimUrl}`);
488
- if (shouldOpen) _chunkJYFLIQPEjs.openInBrowser.call(void 0, claimUrl);
488
+ if (shouldOpen) _chunk3UKVFI2Rjs.openInBrowser.call(void 0, claimUrl);
489
489
  if (claimToken && pendingClaim.approvalLinkReporting && !_optionalChain([options, 'optionalAccess', _16 => _16.deferApprovalLinkReport])) {
490
490
  await reportApprovalLinkShown(
491
491
  baseUrl,
@@ -534,8 +534,8 @@ async function handleRegister(args, options) {
534
534
  if (apiKey) {
535
535
  saveEnvValues(
536
536
  {
537
- [_chunkGGQHOLH6js.HOST_URL_ENV]: baseUrl,
538
- [_chunkGGQHOLH6js.API_KEY_ENV]: apiKey,
537
+ [_chunkPGHCBL5Gjs.HOST_URL_ENV]: baseUrl,
538
+ [_chunkPGHCBL5Gjs.API_KEY_ENV]: apiKey,
539
539
  ...activeOrgEnvValues(statusData)
540
540
  },
541
541
  baseUrl,
@@ -557,7 +557,7 @@ async function handleRegister(args, options) {
557
557
  }
558
558
  }
559
559
  async function handleWait(args) {
560
- const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
560
+ const baseUrl = _chunkPGHCBL5Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
561
  let timeoutSeconds = 300;
562
562
  let requestedScope;
563
563
  if (args.includes("--auth-scope")) {
@@ -581,7 +581,7 @@ async function handleWait(args) {
581
581
  const authScope = resumed.scope;
582
582
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _17 => _17.claimToken]), () => ( ""));
583
583
  if (!pendingClaim) {
584
- const scopedApiKey = authScope === "folder" ? _chunkGGQHOLH6js.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkGGQHOLH6js.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
584
+ const scopedApiKey = authScope === "folder" ? _chunkPGHCBL5Gjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkPGHCBL5Gjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
585
585
  if (scopedApiKey) {
586
586
  console.log("Already connected.");
587
587
  return EXIT_OK;
@@ -623,8 +623,8 @@ async function handleWait(args) {
623
623
  if (apiKey) {
624
624
  saveEnvValues(
625
625
  {
626
- [_chunkGGQHOLH6js.HOST_URL_ENV]: baseUrl,
627
- [_chunkGGQHOLH6js.API_KEY_ENV]: apiKey,
626
+ [_chunkPGHCBL5Gjs.HOST_URL_ENV]: baseUrl,
627
+ [_chunkPGHCBL5Gjs.API_KEY_ENV]: apiKey,
628
628
  ...activeOrgEnvValues(data)
629
629
  },
630
630
  baseUrl,
@@ -648,8 +648,8 @@ async function handleWait(args) {
648
648
  return EXIT_AUTH;
649
649
  }
650
650
  async function authStatusLine(timeoutMs = 3e3) {
651
- const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
652
- const apiKey = _chunkGGQHOLH6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
651
+ const baseUrl = _chunkPGHCBL5Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
652
+ const apiKey = _chunkPGHCBL5Gjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
653
653
  if (!apiKey) return `Auth: not connected (${baseUrl})`;
654
654
  try {
655
655
  const { status, data } = await httpJson(
@@ -672,9 +672,9 @@ async function authStatusLine(timeoutMs = 3e3) {
672
672
  }
673
673
  }
674
674
  async function handleStatus(args) {
675
- const baseUrl = _chunkGGQHOLH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
675
+ const baseUrl = _chunkPGHCBL5Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
676
676
  const reveal = args.includes("--reveal");
677
- const jsonOutput = _chunkJYFLIQPEjs.argsWantJson.call(void 0, args);
677
+ const jsonOutput = _chunk3UKVFI2Rjs.argsWantJson.call(void 0, args);
678
678
  const hasExplicitAuthScope = args.includes("--auth-scope");
679
679
  let authScope = null;
680
680
  if (hasExplicitAuthScope) {
@@ -715,14 +715,14 @@ async function handleStatus(args) {
715
715
  };
716
716
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
717
717
  }
718
- const apiKey = authScope === "folder" ? _chunkGGQHOLH6js.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkGGQHOLH6js.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkGGQHOLH6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
718
+ const apiKey = authScope === "folder" ? _chunkPGHCBL5Gjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkPGHCBL5Gjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkPGHCBL5Gjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
719
719
  if (!apiKey) {
720
720
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
721
721
  baseUrl,
722
722
  _nullishCoalesce(authScope, () => ( void 0))
723
723
  );
724
724
  if (pendingClaim) {
725
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
725
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
726
726
  {
727
727
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
728
728
  status: "pending",
@@ -743,7 +743,7 @@ async function handleStatus(args) {
743
743
  );
744
744
  return EXIT_OK;
745
745
  }
746
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
746
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
747
747
  {
748
748
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
749
749
  status: "not connected",
@@ -776,7 +776,7 @@ async function handleStatus(args) {
776
776
  }
777
777
  );
778
778
  if (status === 401 || status === 403) {
779
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
779
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
780
780
  {
781
781
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
782
782
  status: "unauthorized",
@@ -803,7 +803,7 @@ async function handleStatus(args) {
803
803
  console.error(`Auth status error (status ${status}).`);
804
804
  return EXIT_SERVER;
805
805
  }
806
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkGGQHOLH6js.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
806
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkPGHCBL5Gjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
807
807
  clearSatisfiedPendingClaim(
808
808
  baseUrl,
809
809
  resolvedAuthScope,
@@ -831,28 +831,28 @@ async function handleStatus(args) {
831
831
  if (apiKeyResp) {
832
832
  saveEnvValues(
833
833
  {
834
- [_chunkGGQHOLH6js.HOST_URL_ENV]: baseUrl,
835
- [_chunkGGQHOLH6js.API_KEY_ENV]: apiKeyResp,
834
+ [_chunkPGHCBL5Gjs.HOST_URL_ENV]: baseUrl,
835
+ [_chunkPGHCBL5Gjs.API_KEY_ENV]: apiKeyResp,
836
836
  ...activeOrgEnvValues(data)
837
837
  },
838
838
  baseUrl,
839
839
  resolvedAuthScope
840
840
  );
841
841
  if (resolvedAuthScope === "folder") {
842
- const target = _chunkGGQHOLH6js.resolveProjectPinTarget.call(void 0, );
842
+ const target = _chunkPGHCBL5Gjs.resolveProjectPinTarget.call(void 0, );
843
843
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
844
844
  } else {
845
845
  savedApiKeyPath = envFilePath(baseUrl);
846
846
  }
847
847
  }
848
- } else if (resolvedAuthScope === "folder" || _chunkGGQHOLH6js.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
849
- saveEnvValues(_chunkGGQHOLH6js.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
848
+ } else if (resolvedAuthScope === "folder" || _chunkPGHCBL5Gjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
849
+ saveEnvValues(_chunkPGHCBL5Gjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
850
850
  }
851
- _chunkJYFLIQPEjs.printCommandEnvelope.call(void 0,
851
+ _chunk3UKVFI2Rjs.printCommandEnvelope.call(void 0,
852
852
  {
853
853
  ...payload,
854
- ..._chunkJIY25SUXjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
855
- command_context: _chunkGGQHOLH6js.resolveCliCommandContext.call(void 0,
854
+ ..._chunkY2SIHXYSjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
855
+ command_context: _chunkPGHCBL5Gjs.resolveCliCommandContext.call(void 0,
856
856
  { baseUrl, apiKey },
857
857
  resolvedAuthScope
858
858
  )