deepline 0.3.300 → 0.3.301

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 (85) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/run-log-buffer.ts +60 -0
  3. package/dist/cli/{auth-RVK23SLA.mjs → auth-DCN4DA2T.mjs} +4 -4
  4. package/dist/cli/auth-G2CKLPSX.js +31 -0
  5. package/dist/cli/{billing-6LEQNTUS.js → billing-OGWOCZOZ.js} +70 -70
  6. package/dist/cli/{billing-CBWRPMBG.mjs → billing-VLZNKJ4N.mjs} +4 -4
  7. package/dist/cli/{chunk-E6S4RTMG.mjs → chunk-57J4GHJG.mjs} +4 -4
  8. package/dist/cli/{chunk-N5A3LWPC.js → chunk-6JIXIMC5.js} +57 -57
  9. package/dist/cli/{chunk-RLDEQJQQ.mjs → chunk-6S2UJUVD.mjs} +2 -2
  10. package/dist/cli/{chunk-BW3WGFLG.js → chunk-7JA3CLD2.js} +48 -48
  11. package/dist/cli/{chunk-OKKAFDXS.js → chunk-7VBN7TU5.js} +15 -15
  12. package/dist/cli/{chunk-OCKGMK6B.js → chunk-AKWMFS7H.js} +2 -2
  13. package/dist/cli/{chunk-BFGSCAZ7.mjs → chunk-AXHRD6ME.mjs} +1 -1
  14. package/dist/cli/{chunk-BLANZQG2.mjs → chunk-D7WKHLLF.mjs} +2 -2
  15. package/dist/cli/{chunk-6CLYAWXK.js → chunk-FAQGAPKK.js} +4 -4
  16. package/dist/cli/{chunk-Z3RMVRCQ.mjs → chunk-GILGPI67.mjs} +1 -1
  17. package/dist/cli/{chunk-M5SHROFS.js → chunk-M6KBDWGI.js} +6 -6
  18. package/dist/cli/{chunk-GQISQAAZ.mjs → chunk-OILZKWKC.mjs} +2 -2
  19. package/dist/cli/{chunk-MFGPKFJC.mjs → chunk-PXJAS6X2.mjs} +1 -1
  20. package/dist/cli/{chunk-NMTG3N2J.js → chunk-QDFEF4PI.js} +6 -6
  21. package/dist/cli/{chunk-6AUI2MS4.mjs → chunk-RQKAKIVL.mjs} +1 -1
  22. package/dist/cli/{chunk-LH7IBCW2.mjs → chunk-SBUIMF2B.mjs} +3 -3
  23. package/dist/cli/{chunk-YLYVPHEG.mjs → chunk-SHQNCP2G.mjs} +1 -1
  24. package/dist/cli/{chunk-YR26QBMJ.js → chunk-TAPI3QLV.js} +1 -1
  25. package/dist/cli/{chunk-2C5H32YE.js → chunk-V7J7U63X.js} +6 -6
  26. package/dist/cli/{chunk-NXOML2N6.mjs → chunk-YBYPHZ4I.mjs} +1 -1
  27. package/dist/cli/{chunk-DRLNWL4W.js → chunk-YFRWD6LM.js} +6 -6
  28. package/dist/cli/{chunk-XUA3QCZU.js → chunk-ZNC3KU5O.js} +26 -26
  29. package/dist/cli/{client-6D6UBKDX.mjs → client-F7LPXBQS.mjs} +3 -3
  30. package/dist/cli/client-WTE3IK53.js +20 -0
  31. package/dist/cli/{csv-O4HDE34Y.js → csv-DTGOY553.js} +12 -12
  32. package/dist/cli/{csv-VK327Z63.mjs → csv-PFAL3PLE.mjs} +3 -3
  33. package/dist/cli/{db-TRNRYJL6.mjs → db-24PTJ6J5.mjs} +4 -4
  34. package/dist/cli/{db-IL35EIOE.js → db-B7JTWZQB.js} +20 -20
  35. package/dist/cli/{executions-CFWDNHOQ.js → executions-3CPX35CQ.js} +6 -6
  36. package/dist/cli/{executions-JEUBKNUA.mjs → executions-53BGMOYB.mjs} +4 -4
  37. package/dist/cli/{feedback-F7HXHQY3.js → feedback-4JPCFN6F.js} +6 -6
  38. package/dist/cli/{feedback-BSSEEXR2.mjs → feedback-GA6FF4UP.mjs} +3 -3
  39. package/dist/cli/{git-I3AAHTCJ.mjs → git-VXB6ZLJ3.mjs} +4 -4
  40. package/dist/cli/git-YTJCZVEL.js +23 -0
  41. package/dist/cli/index.js +73 -73
  42. package/dist/cli/index.mjs +30 -30
  43. package/dist/cli/{legacy-noops-KTRWO7NA.mjs → legacy-noops-7J5WN4M6.mjs} +4 -4
  44. package/dist/cli/{legacy-noops-HNN7WPWF.js → legacy-noops-ANYHW7ER.js} +7 -7
  45. package/dist/cli/{monitors-D64KB7G2.mjs → monitors-DXETJ5NX.mjs} +4 -4
  46. package/dist/cli/{monitors-4Y4M3ZJ3.js → monitors-EAV6KHOK.js} +85 -85
  47. package/dist/cli/{org-ELLMCZRC.js → org-3IVIYYVM.js} +60 -60
  48. package/dist/cli/{org-UGIVFU7B.mjs → org-B57DDLLC.mjs} +4 -4
  49. package/dist/cli/{play-LUNGZ5ZJ.mjs → play-FXABI2NH.mjs} +6 -6
  50. package/dist/cli/{play-NXV5UJYW.js → play-LNYRYGOT.js} +200 -200
  51. package/dist/cli/{providers-YCNHAEFJ.mjs → providers-LMZBXPLP.mjs} +4 -4
  52. package/dist/cli/{providers-AL6YIZVA.js → providers-SWHCMHUN.js} +7 -7
  53. package/dist/cli/{quickstart-R6AOCVA2.mjs → quickstart-PHGLWVGA.mjs} +3 -3
  54. package/dist/cli/{quickstart-LK5IBLYY.js → quickstart-YYKEMF5A.js} +5 -5
  55. package/dist/cli/{search-PGW2ZEZ3.js → search-CEBKSGXX.js} +6 -6
  56. package/dist/cli/{search-77YOO5TG.mjs → search-PHSXMXSV.mjs} +5 -5
  57. package/dist/cli/{secrets-5OV4C2UI.js → secrets-CWWMAPBB.js} +13 -13
  58. package/dist/cli/{secrets-OWNCPA6L.mjs → secrets-ZRVJ6GWI.mjs} +4 -4
  59. package/dist/cli/{sessions-NOLZ4NAQ.js → sessions-3HSV7W2M.js} +5 -5
  60. package/dist/cli/{sessions-RVJHCSYH.mjs → sessions-IXMB2B5R.mjs} +4 -4
  61. package/dist/cli/{settings-326S34JQ.js → settings-PGYWTWJ7.js} +74 -74
  62. package/dist/cli/{settings-LEYUQDYL.mjs → settings-XEM64DRR.mjs} +7 -7
  63. package/dist/cli/{setup-7RTEC2RE.js → setup-EOTIXFLU.js} +41 -41
  64. package/dist/cli/{setup-CNE25BAJ.mjs → setup-MCXGMDIV.mjs} +6 -6
  65. package/dist/cli/skills-3IXQN3KZ.js +28 -0
  66. package/dist/cli/{skills-R4EC4IXL.mjs → skills-4HXO76M7.mjs} +4 -4
  67. package/dist/cli/{tools-ZVTN62JI.js → tools-FMOJUYVW.js} +50 -50
  68. package/dist/cli/{tools-BEBLJVVA.mjs → tools-P3OULQFZ.mjs} +5 -5
  69. package/dist/cli/{update-5JG7TQZ4.mjs → update-2QXPDAIV.mjs} +6 -6
  70. package/dist/cli/update-H6I7437Q.js +28 -0
  71. package/dist/cli/{workflow-VTDHF75U.js → workflow-P2YQPB7Y.js} +15 -15
  72. package/dist/cli/{workflow-FQVZBGT3.mjs → workflow-VAJ3GV2W.mjs} +5 -5
  73. package/dist/index.js +6 -6
  74. package/dist/index.mjs +3 -3
  75. package/dist/install-integrity.json +68 -68
  76. package/dist/release.d.mts +1 -1
  77. package/dist/release.d.ts +1 -1
  78. package/dist/release.js +2 -2
  79. package/dist/release.mjs +1 -1
  80. package/package.json +1 -1
  81. package/dist/cli/auth-6JUPJXSW.js +0 -31
  82. package/dist/cli/client-HAGQESNI.js +0 -20
  83. package/dist/cli/git-T5WWT3DW.js +0 -23
  84. package/dist/cli/skills-SE54MI6I.js +0 -28
  85. package/dist/cli/update-IQYOCMLG.js +0 -28
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkDRLNWL4Wjs = require('./chunk-DRLNWL4W.js');
5
+ var _chunkYFRWD6LMjs = require('./chunk-YFRWD6LM.js');
6
6
 
7
7
 
8
8
 
@@ -25,7 +25,7 @@ var _chunkDRLNWL4Wjs = require('./chunk-DRLNWL4W.js');
25
25
 
26
26
 
27
27
 
28
- var _chunk6CLYAWXKjs = require('./chunk-6CLYAWXK.js');
28
+ var _chunkFAQGAPKKjs = require('./chunk-FAQGAPKK.js');
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
 
@@ -52,7 +52,7 @@ function statusBannerLine(value) {
52
52
  return `Service notice: ${banner.message}`;
53
53
  }
54
54
  function envFilePath(baseUrl) {
55
- return _chunk6CLYAWXKjs.hostEnvFilePath.call(void 0, baseUrl);
55
+ return _chunkFAQGAPKKjs.hostEnvFilePath.call(void 0, baseUrl);
56
56
  }
57
57
  function normalizeAuthScope(value) {
58
58
  if (!value || value === "global") return "global";
@@ -65,7 +65,7 @@ function parseAuthScope(args) {
65
65
  }
66
66
  function pendingClaimPath(baseUrl, scope) {
67
67
  if (scope === "folder") {
68
- const target = _chunk6CLYAWXKjs.resolveProjectPinTarget.call(void 0, );
68
+ const target = _chunkFAQGAPKKjs.resolveProjectPinTarget.call(void 0, );
69
69
  if (!target.ok) {
70
70
  throw new Error(
71
71
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -75,10 +75,10 @@ function pendingClaimPath(baseUrl, scope) {
75
75
  }
76
76
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
77
77
  }
78
- return `${_chunk6CLYAWXKjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
78
+ return `${_chunkFAQGAPKKjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
79
79
  }
80
80
  function legacyPendingClaimTokenPath(baseUrl) {
81
- return `${_chunk6CLYAWXKjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
81
+ return `${_chunkFAQGAPKKjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
82
82
  }
83
83
  function savePendingClaim(baseUrl, claim) {
84
84
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -180,21 +180,21 @@ function parseRegisterWaitMode(args) {
180
180
  function shouldWaitForRegisterClaim(mode) {
181
181
  if (mode === "yes") return true;
182
182
  if (mode === "no") return false;
183
- return _chunk6CLYAWXKjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
183
+ return _chunkFAQGAPKKjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
184
184
  }
185
185
  function saveEnvValues(values, baseUrl, scope) {
186
186
  const filtered = {
187
- ...values[_chunk6CLYAWXKjs.HOST_URL_ENV] ? { [_chunk6CLYAWXKjs.HOST_URL_ENV]: values[_chunk6CLYAWXKjs.HOST_URL_ENV] } : {},
188
- ...values[_chunk6CLYAWXKjs.API_KEY_ENV] ? { [_chunk6CLYAWXKjs.API_KEY_ENV]: values[_chunk6CLYAWXKjs.API_KEY_ENV] } : {},
189
- ...values[_chunk6CLYAWXKjs.ACTIVE_ORG_ID_ENV] ? { [_chunk6CLYAWXKjs.ACTIVE_ORG_ID_ENV]: values[_chunk6CLYAWXKjs.ACTIVE_ORG_ID_ENV] } : {},
190
- ...Object.prototype.hasOwnProperty.call(values, _chunk6CLYAWXKjs.ACTIVE_ORG_NAME_ENV) ? { [_chunk6CLYAWXKjs.ACTIVE_ORG_NAME_ENV]: values[_chunk6CLYAWXKjs.ACTIVE_ORG_NAME_ENV] } : {},
187
+ ...values[_chunkFAQGAPKKjs.HOST_URL_ENV] ? { [_chunkFAQGAPKKjs.HOST_URL_ENV]: values[_chunkFAQGAPKKjs.HOST_URL_ENV] } : {},
188
+ ...values[_chunkFAQGAPKKjs.API_KEY_ENV] ? { [_chunkFAQGAPKKjs.API_KEY_ENV]: values[_chunkFAQGAPKKjs.API_KEY_ENV] } : {},
189
+ ...values[_chunkFAQGAPKKjs.ACTIVE_ORG_ID_ENV] ? { [_chunkFAQGAPKKjs.ACTIVE_ORG_ID_ENV]: values[_chunkFAQGAPKKjs.ACTIVE_ORG_ID_ENV] } : {},
190
+ ...Object.prototype.hasOwnProperty.call(values, _chunkFAQGAPKKjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkFAQGAPKKjs.ACTIVE_ORG_NAME_ENV]: values[_chunkFAQGAPKKjs.ACTIVE_ORG_NAME_ENV] } : {},
191
191
  // An explicit empty list must reach the store: it clears a stale line.
192
- ...Object.prototype.hasOwnProperty.call(values, _chunk6CLYAWXKjs.FEATURES_ENV) ? { [_chunk6CLYAWXKjs.FEATURES_ENV]: values[_chunk6CLYAWXKjs.FEATURES_ENV] } : {}
192
+ ...Object.prototype.hasOwnProperty.call(values, _chunkFAQGAPKKjs.FEATURES_ENV) ? { [_chunkFAQGAPKKjs.FEATURES_ENV]: values[_chunkFAQGAPKKjs.FEATURES_ENV] } : {}
193
193
  };
194
194
  if (scope === "folder") {
195
- _chunk6CLYAWXKjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
195
+ _chunkFAQGAPKKjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
196
196
  } else {
197
- _chunk6CLYAWXKjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
197
+ _chunkFAQGAPKKjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
198
198
  }
199
199
  }
200
200
  function activeOrgEnvValues(data) {
@@ -202,21 +202,21 @@ function activeOrgEnvValues(data) {
202
202
  if (!orgId) return {};
203
203
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
204
204
  return {
205
- [_chunk6CLYAWXKjs.ACTIVE_ORG_ID_ENV]: orgId,
206
- [_chunk6CLYAWXKjs.ACTIVE_ORG_NAME_ENV]: orgName,
207
- ..._chunk6CLYAWXKjs.featureEnvValues.call(void 0, data)
205
+ [_chunkFAQGAPKKjs.ACTIVE_ORG_ID_ENV]: orgId,
206
+ [_chunkFAQGAPKKjs.ACTIVE_ORG_NAME_ENV]: orgName,
207
+ ..._chunkFAQGAPKKjs.featureEnvValues.call(void 0, data)
208
208
  };
209
209
  }
210
210
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
211
211
  const headers = {
212
212
  "Content-Type": "application/json",
213
- "User-Agent": `deepline-ts-sdk/${_chunk6CLYAWXKjs.SDK_VERSION}`,
213
+ "User-Agent": `deepline-ts-sdk/${_chunkFAQGAPKKjs.SDK_VERSION}`,
214
214
  "X-Deepline-Client-Family": "sdk",
215
215
  "X-Deepline-CLI-Family": "sdk",
216
- "X-Deepline-Agent-Runtime": _chunk6CLYAWXKjs.detectAgentRuntime.call(void 0, ),
217
- "X-Deepline-CLI-Version": _chunk6CLYAWXKjs.SDK_VERSION,
218
- "X-Deepline-SDK-Version": _chunk6CLYAWXKjs.SDK_VERSION,
219
- "X-Deepline-API-Contract": _chunk6CLYAWXKjs.SDK_API_CONTRACT
216
+ "X-Deepline-Agent-Runtime": _chunkFAQGAPKKjs.detectAgentRuntime.call(void 0, ),
217
+ "X-Deepline-CLI-Version": _chunkFAQGAPKKjs.SDK_VERSION,
218
+ "X-Deepline-SDK-Version": _chunkFAQGAPKKjs.SDK_VERSION,
219
+ "X-Deepline-API-Contract": _chunkFAQGAPKKjs.SDK_API_CONTRACT
220
220
  };
221
221
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
222
222
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -254,7 +254,7 @@ async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT
254
254
  throw lastError instanceof Error ? lastError : new Error(String(lastError));
255
255
  }
256
256
  async function reportSetupCompleted(input) {
257
- const apiKey = input.authScope === "folder" ? _chunk6CLYAWXKjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunk6CLYAWXKjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
257
+ const apiKey = input.authScope === "folder" ? _chunkFAQGAPKKjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkFAQGAPKKjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
258
258
  if (!apiKey) return;
259
259
  try {
260
260
  await httpJson(
@@ -351,7 +351,7 @@ async function printClaimSuccessBanner(baseUrl, apiKey, statusData) {
351
351
  }
352
352
  }
353
353
  async function handleRegister(args) {
354
- const baseUrl = _chunk6CLYAWXKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
354
+ const baseUrl = _chunkFAQGAPKKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
355
355
  let orgName = "";
356
356
  let orgId = "";
357
357
  let agentName = "";
@@ -406,19 +406,19 @@ async function handleRegister(args) {
406
406
  });
407
407
  saveEnvValues(
408
408
  {
409
- [_chunk6CLYAWXKjs.HOST_URL_ENV]: baseUrl
409
+ [_chunkFAQGAPKKjs.HOST_URL_ENV]: baseUrl
410
410
  },
411
411
  baseUrl,
412
412
  authScope
413
413
  );
414
414
  }
415
415
  if (claimUrl) {
416
- const shouldOpen = waitMode !== "no" && _chunk6CLYAWXKjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
416
+ const shouldOpen = waitMode !== "no" && _chunkFAQGAPKKjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
417
417
  console.log(
418
418
  shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
419
419
  );
420
420
  console.log(` ${claimUrl}`);
421
- if (shouldOpen) _chunkDRLNWL4Wjs.openInBrowser.call(void 0, claimUrl);
421
+ if (shouldOpen) _chunkYFRWD6LMjs.openInBrowser.call(void 0, claimUrl);
422
422
  }
423
423
  if (data.cli_message) {
424
424
  console.log(String(data.cli_message));
@@ -461,8 +461,8 @@ async function handleRegister(args) {
461
461
  if (apiKey) {
462
462
  saveEnvValues(
463
463
  {
464
- [_chunk6CLYAWXKjs.HOST_URL_ENV]: baseUrl,
465
- [_chunk6CLYAWXKjs.API_KEY_ENV]: apiKey,
464
+ [_chunkFAQGAPKKjs.HOST_URL_ENV]: baseUrl,
465
+ [_chunkFAQGAPKKjs.API_KEY_ENV]: apiKey,
466
466
  ...activeOrgEnvValues(statusData)
467
467
  },
468
468
  baseUrl,
@@ -484,7 +484,7 @@ async function handleRegister(args) {
484
484
  }
485
485
  }
486
486
  async function handleWait(args) {
487
- const baseUrl = _chunk6CLYAWXKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
487
+ const baseUrl = _chunkFAQGAPKKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
488
488
  let timeoutSeconds = 300;
489
489
  let requestedScope;
490
490
  if (args.includes("--auth-scope")) {
@@ -508,7 +508,7 @@ async function handleWait(args) {
508
508
  const authScope = resumed.scope;
509
509
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _11 => _11.claimToken]), () => ( ""));
510
510
  if (!pendingClaim) {
511
- const scopedApiKey = authScope === "folder" ? _chunk6CLYAWXKjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunk6CLYAWXKjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
511
+ const scopedApiKey = authScope === "folder" ? _chunkFAQGAPKKjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkFAQGAPKKjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
512
512
  if (scopedApiKey) {
513
513
  console.log("Already connected.");
514
514
  return EXIT_OK;
@@ -551,8 +551,8 @@ async function handleWait(args) {
551
551
  if (apiKey) {
552
552
  saveEnvValues(
553
553
  {
554
- [_chunk6CLYAWXKjs.HOST_URL_ENV]: baseUrl,
555
- [_chunk6CLYAWXKjs.API_KEY_ENV]: apiKey,
554
+ [_chunkFAQGAPKKjs.HOST_URL_ENV]: baseUrl,
555
+ [_chunkFAQGAPKKjs.API_KEY_ENV]: apiKey,
556
556
  ...activeOrgEnvValues(data)
557
557
  },
558
558
  baseUrl,
@@ -576,9 +576,9 @@ async function handleWait(args) {
576
576
  return EXIT_AUTH;
577
577
  }
578
578
  async function handleStatus(args) {
579
- const baseUrl = _chunk6CLYAWXKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
579
+ const baseUrl = _chunkFAQGAPKKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
580
580
  const reveal = args.includes("--reveal");
581
- const jsonOutput = _chunkDRLNWL4Wjs.argsWantJson.call(void 0, args);
581
+ const jsonOutput = _chunkYFRWD6LMjs.argsWantJson.call(void 0, args);
582
582
  const hasExplicitAuthScope = args.includes("--auth-scope");
583
583
  let authScope = null;
584
584
  if (hasExplicitAuthScope) {
@@ -618,14 +618,14 @@ async function handleStatus(args) {
618
618
  };
619
619
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
620
620
  }
621
- const apiKey = authScope === "folder" ? _chunk6CLYAWXKjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunk6CLYAWXKjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunk6CLYAWXKjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
621
+ const apiKey = authScope === "folder" ? _chunkFAQGAPKKjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkFAQGAPKKjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkFAQGAPKKjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
622
622
  if (!apiKey) {
623
623
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
624
624
  baseUrl,
625
625
  _nullishCoalesce(authScope, () => ( void 0))
626
626
  );
627
627
  if (pendingClaim) {
628
- _chunkDRLNWL4Wjs.printCommandEnvelope.call(void 0,
628
+ _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
629
629
  {
630
630
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
631
631
  status: "pending",
@@ -646,7 +646,7 @@ async function handleStatus(args) {
646
646
  );
647
647
  return EXIT_OK;
648
648
  }
649
- _chunkDRLNWL4Wjs.printCommandEnvelope.call(void 0,
649
+ _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
650
650
  {
651
651
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
652
652
  status: "not connected",
@@ -682,7 +682,7 @@ async function handleStatus(args) {
682
682
  }
683
683
  );
684
684
  if (status === 401 || status === 403) {
685
- _chunkDRLNWL4Wjs.printCommandEnvelope.call(void 0,
685
+ _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
686
686
  {
687
687
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
688
688
  status: "unauthorized",
@@ -712,7 +712,7 @@ async function handleStatus(args) {
712
712
  console.error(`Auth status error (status ${status}).`);
713
713
  return EXIT_SERVER;
714
714
  }
715
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunk6CLYAWXKjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
715
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkFAQGAPKKjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
716
716
  clearSatisfiedPendingClaim(
717
717
  baseUrl,
718
718
  resolvedAuthScope,
@@ -740,28 +740,28 @@ async function handleStatus(args) {
740
740
  if (apiKeyResp) {
741
741
  saveEnvValues(
742
742
  {
743
- [_chunk6CLYAWXKjs.HOST_URL_ENV]: baseUrl,
744
- [_chunk6CLYAWXKjs.API_KEY_ENV]: apiKeyResp,
743
+ [_chunkFAQGAPKKjs.HOST_URL_ENV]: baseUrl,
744
+ [_chunkFAQGAPKKjs.API_KEY_ENV]: apiKeyResp,
745
745
  ...activeOrgEnvValues(data)
746
746
  },
747
747
  baseUrl,
748
748
  resolvedAuthScope
749
749
  );
750
750
  if (resolvedAuthScope === "folder") {
751
- const target = _chunk6CLYAWXKjs.resolveProjectPinTarget.call(void 0, );
751
+ const target = _chunkFAQGAPKKjs.resolveProjectPinTarget.call(void 0, );
752
752
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
753
753
  } else {
754
754
  savedApiKeyPath = envFilePath(baseUrl);
755
755
  }
756
756
  }
757
- } else if (resolvedAuthScope === "folder" || _chunk6CLYAWXKjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
758
- saveEnvValues(_chunk6CLYAWXKjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
757
+ } else if (resolvedAuthScope === "folder" || _chunkFAQGAPKKjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
758
+ saveEnvValues(_chunkFAQGAPKKjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
759
759
  }
760
- _chunkDRLNWL4Wjs.printCommandEnvelope.call(void 0,
760
+ _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
761
761
  {
762
762
  ...payload,
763
- ..._chunk6CLYAWXKjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
764
- command_context: _chunk6CLYAWXKjs.resolveCliCommandContext.call(void 0,
763
+ ..._chunkFAQGAPKKjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
764
+ command_context: _chunkFAQGAPKKjs.resolveCliCommandContext.call(void 0,
765
765
  { baseUrl, apiKey },
766
766
  resolvedAuthScope
767
767
  )
@@ -1,17 +1,17 @@
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
3
 
4
- var _chunkOCKGMK6Bjs = require('./chunk-OCKGMK6B.js');
4
+ var _chunkAKWMFS7Hjs = require('./chunk-AKWMFS7H.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkN5A3LWPCjs = require('./chunk-N5A3LWPC.js');
8
+ var _chunk6JIXIMC5js = require('./chunk-6JIXIMC5.js');
9
9
 
10
10
 
11
- var _chunkDRLNWL4Wjs = require('./chunk-DRLNWL4W.js');
11
+ var _chunkYFRWD6LMjs = require('./chunk-YFRWD6LM.js');
12
12
 
13
13
 
14
- var _chunk6CLYAWXKjs = require('./chunk-6CLYAWXK.js');
14
+ var _chunkFAQGAPKKjs = require('./chunk-FAQGAPKK.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -504,7 +504,7 @@ function normalizedNpmPrefix(value) {
504
504
  }
505
505
  function resolveNpmGlobalPrefix(env) {
506
506
  try {
507
- const plan = _chunkN5A3LWPCjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"]);
507
+ const plan = _chunk6JIXIMC5js.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"]);
508
508
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
509
509
  encoding: "utf8",
510
510
  env,
@@ -560,8 +560,8 @@ function resolveUpdatePlan(options = {}) {
560
560
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
561
561
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
562
562
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
563
- const npmVersion = options.npmVersion === void 0 ? _chunkOCKGMK6Bjs.readNpmVersion.call(void 0, env) : options.npmVersion;
564
- const npmGlobalInstallFlags = _chunkOCKGMK6Bjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
563
+ const npmVersion = options.npmVersion === void 0 ? _chunkAKWMFS7Hjs.readNpmVersion.call(void 0, env) : options.npmVersion;
564
+ const npmGlobalInstallFlags = _chunkAKWMFS7Hjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
565
565
  const args = installPrefix ? [
566
566
  "install",
567
567
  "-g",
@@ -571,7 +571,7 @@ function resolveUpdatePlan(options = {}) {
571
571
  packageSpec
572
572
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
573
573
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
574
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunk6CLYAWXKjs.autoDetectBaseUrl.call(void 0, )
574
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkFAQGAPKKjs.autoDetectBaseUrl.call(void 0, )
575
575
  );
576
576
  return {
577
577
  kind: "npm-global",
@@ -718,7 +718,7 @@ function sidecarInstallFailure(versionDir) {
718
718
  function runCommand(command, args, env = process.env) {
719
719
  return new Promise((resolveResult) => {
720
720
  let output = "";
721
- const plan = _chunkN5A3LWPCjs.resolveShellSpawn.call(void 0, command, args);
721
+ const plan = _chunk6JIXIMC5js.resolveShellSpawn.call(void 0, command, args);
722
722
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
723
723
  stdio: ["inherit", "pipe", "pipe"],
724
724
  shell: plan.shell,
@@ -1094,14 +1094,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1094
1094
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1095
1095
  }
1096
1096
  async function runUpdateCommand(options, dependencies = {}) {
1097
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk6CLYAWXKjs.autoDetectBaseUrl));
1097
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkFAQGAPKKjs.autoDetectBaseUrl));
1098
1098
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1099
1099
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1100
1100
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1101
1101
  const originalWrite = process.stdout.write.bind(process.stdout);
1102
1102
  process.stdout.write = (() => true);
1103
1103
  try {
1104
- const exitCode = await _chunkN5A3LWPCjs.runSkillsCommand.call(void 0, { json: true });
1104
+ const exitCode = await _chunk6JIXIMC5js.runSkillsCommand.call(void 0, { json: true });
1105
1105
  if (exitCode !== 0) {
1106
1106
  throw new Error(
1107
1107
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1172,11 +1172,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1172
1172
  ]
1173
1173
  };
1174
1174
  if (options.json && !options.executeWithJson) {
1175
- _chunkDRLNWL4Wjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1175
+ _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1176
1176
  return 0;
1177
1177
  }
1178
1178
  if (options.printCommand) {
1179
- _chunkDRLNWL4Wjs.printCommandEnvelope.call(void 0,
1179
+ _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
1180
1180
  {
1181
1181
  ...plan,
1182
1182
  render: {
@@ -1189,7 +1189,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1189
1189
  return 0;
1190
1190
  }
1191
1191
  if (plan.kind === "source" || plan.kind === "homebrew") {
1192
- _chunkDRLNWL4Wjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1192
+ _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1193
1193
  return 0;
1194
1194
  }
1195
1195
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1219,7 +1219,7 @@ To retry with full installer output, run: deepline skills --json
1219
1219
  );
1220
1220
  }
1221
1221
  if (options.executeWithJson && options.json) {
1222
- _chunkDRLNWL4Wjs.printCommandEnvelope.call(void 0,
1222
+ _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0,
1223
1223
  {
1224
1224
  ok: true,
1225
1225
  pinnedVersion
@@ -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(); } } 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 _chunkN5A3LWPCjs = require('./chunk-N5A3LWPC.js');
3
+ var _chunk6JIXIMC5js = require('./chunk-6JIXIMC5.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkN5A3LWPCjs.resolveShellSpawn.call(void 0, "npm", ["--version"]);
16
+ const plan = _chunk6JIXIMC5js.resolveShellSpawn.call(void 0, "npm", ["--version"]);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-DLIRSHV6.mjs";
5
5
  import {
6
6
  SDK_RELEASE
7
- } from "./chunk-NXOML2N6.mjs";
7
+ } from "./chunk-YBYPHZ4I.mjs";
8
8
  import {
9
9
  DeeplineError,
10
10
  TOOL_EXECUTION_ERROR_SCHEMA_VERSION,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-6AUI2MS4.mjs";
6
+ } from "./chunk-RQKAKIVL.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -22,7 +22,7 @@ import {
22
22
  sdkCliStateDirPath,
23
23
  skillsAgentPathSegment,
24
24
  writeSdkSkillsLocalVersion
25
- } from "./chunk-BFGSCAZ7.mjs";
25
+ } from "./chunk-AXHRD6ME.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
5
5
 
6
6
 
7
- var _chunkYR26QBMJjs = require('./chunk-YR26QBMJ.js');
7
+ var _chunkTAPI3QLVjs = require('./chunk-TAPI3QLV.js');
8
8
 
9
9
 
10
10
 
@@ -721,9 +721,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
721
721
  }
722
722
 
723
723
  // src/version.ts
724
- var SDK_VERSION = _chunkYR26QBMJjs.SDK_RELEASE.version;
725
- var SDK_API_MAJOR = _chunkYR26QBMJjs.SDK_RELEASE.contracts.api.currentMajor;
726
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkYR26QBMJjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
724
+ var SDK_VERSION = _chunkTAPI3QLVjs.SDK_RELEASE.version;
725
+ var SDK_API_MAJOR = _chunkTAPI3QLVjs.SDK_RELEASE.contracts.api.currentMajor;
726
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkTAPI3QLVjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
727
727
 
728
728
  // src/agent-runtime.ts
729
729
 
@@ -14,7 +14,7 @@ import {
14
14
  RETAINED_PIPELINE_RECEIVERS_HEADER,
15
15
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
16
16
  resolveConfig
17
- } from "./chunk-BFGSCAZ7.mjs";
17
+ } from "./chunk-AXHRD6ME.mjs";
18
18
  import {
19
19
  PLAY_RUNTIME_BACKENDS,
20
20
  RAW_V2_TOOL_RESPONSE_CONTRACT,
@@ -14,7 +14,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
14
14
 
15
15
 
16
16
 
17
- var _chunk6CLYAWXKjs = require('./chunk-6CLYAWXK.js');
17
+ var _chunkFAQGAPKKjs = require('./chunk-FAQGAPKK.js');
18
18
 
19
19
 
20
20
 
@@ -2191,8 +2191,8 @@ function runtimeSelectionHeaders(runtime) {
2191
2191
  }
2192
2192
  const receivers = _optionalChain([process, 'access', _95 => _95.env, 'access', _96 => _96.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _97 => _97.trim, 'call', _98 => _98()]);
2193
2193
  return {
2194
- [_chunk6CLYAWXKjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2195
- ...receivers ? { [_chunk6CLYAWXKjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2194
+ [_chunkFAQGAPKKjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2195
+ ...receivers ? { [_chunkFAQGAPKKjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2196
2196
  };
2197
2197
  }
2198
2198
  function isolatedCiRuntimeEventReadHeaders() {
@@ -2208,7 +2208,7 @@ function isolatedCiRuntimeEventReadHeaders() {
2208
2208
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
2209
2209
  );
2210
2210
  }
2211
- return { [_chunk6CLYAWXKjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2211
+ return { [_chunkFAQGAPKKjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2212
2212
  }
2213
2213
  function normalizeTestPolicyOverrides(value, source) {
2214
2214
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -2509,8 +2509,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
2509
2509
  * @throws {@link ConfigError} if no API key can be resolved from any source.
2510
2510
  */
2511
2511
  constructor(options) {
2512
- this.config = _chunk6CLYAWXKjs.resolveConfig.call(void 0, options);
2513
- this.http = new (0, _chunk6CLYAWXKjs.HttpClient)(this.config);
2512
+ this.config = _chunkFAQGAPKKjs.resolveConfig.call(void 0, options);
2513
+ this.http = new (0, _chunkFAQGAPKKjs.HttpClient)(this.config);
2514
2514
  this.toolCalls = new ToolCalls(
2515
2515
  this.http,
2516
2516
  this.config.timeout,
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-6AUI2MS4.mjs";
5
+ } from "./chunk-RQKAKIVL.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-BFGSCAZ7.mjs";
28
+ } from "./chunk-AXHRD6ME.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-6AUI2MS4.mjs";
4
+ } from "./chunk-RQKAKIVL.mjs";
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
  import {
@@ -1,20 +1,20 @@
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 _chunkM5SHROFSjs = require('./chunk-M5SHROFS.js');
3
+ var _chunkM6KBDWGIjs = require('./chunk-M6KBDWGI.js');
4
4
 
5
5
 
6
- var _chunkDRLNWL4Wjs = require('./chunk-DRLNWL4W.js');
6
+ var _chunkYFRWD6LMjs = require('./chunk-YFRWD6LM.js');
7
7
 
8
8
 
9
9
 
10
- var _chunk6CLYAWXKjs = require('./chunk-6CLYAWXK.js');
10
+ var _chunkFAQGAPKKjs = require('./chunk-FAQGAPKK.js');
11
11
 
12
12
  // src/cli/search-ref.ts
13
13
  var _fs = require('fs');
14
14
  var _path = require('path');
15
15
  var SEARCH_REF_TTL_MS = 15 * 6e4;
16
16
  function lastSearchPath() {
17
- return _path.join.call(void 0, _chunk6CLYAWXKjs.sdkCliStateDirPath.call(void 0, _chunk6CLYAWXKjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
17
+ return _path.join.call(void 0, _chunkFAQGAPKKjs.sdkCliStateDirPath.call(void 0, _chunkFAQGAPKKjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
18
18
  }
19
19
  function rememberSearchRef(searchRef) {
20
20
  try {
@@ -82,7 +82,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
82
82
  console.error(USAGE);
83
83
  return 1;
84
84
  }
85
- const { search_ref: searchRef, ...result } = await new (0, _chunkM5SHROFSjs.DeeplineClient)().search({
85
+ const { search_ref: searchRef, ...result } = await new (0, _chunkM6KBDWGIjs.DeeplineClient)().search({
86
86
  query,
87
87
  types,
88
88
  exclude,
@@ -95,7 +95,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
95
95
  includeSearchDebug: Boolean(options.includeSearchDebug)
96
96
  });
97
97
  if (searchRef) rememberSearchRef(searchRef);
98
- _chunkDRLNWL4Wjs.printCommandEnvelope.call(void 0, result, {
98
+ _chunkYFRWD6LMjs.printCommandEnvelope.call(void 0, result, {
99
99
  json: options.json === true
100
100
  });
101
101
  return 0;
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-BFGSCAZ7.mjs";
6
+ } from "./chunk-AXHRD6ME.mjs";
7
7
  import {
8
8
  DeeplineError
9
9
  } from "./chunk-NXGCO4JB.mjs";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-Z3RMVRCQ.mjs";
3
+ } from "./chunk-GILGPI67.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-6AUI2MS4.mjs";
6
+ } from "./chunk-RQKAKIVL.mjs";
7
7
  import {
8
8
  resolveConfig,
9
9
  sdkCliStateDirPath
10
- } from "./chunk-BFGSCAZ7.mjs";
10
+ } from "./chunk-AXHRD6ME.mjs";
11
11
 
12
12
  // src/cli/search-ref.ts
13
13
  import { mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-BLANZQG2.mjs";
3
+ } from "./chunk-D7WKHLLF.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -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.300",
52
+ version: "0.3.301",
53
53
  updateSummary: "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.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1