deepline 0.3.457 → 0.3.459

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 (114) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +0 -23
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +2 -0
  5. package/dist/cli/{auth-MZG5NF5U.mjs → auth-2RM2ZC6E.mjs} +4 -4
  6. package/dist/cli/auth-EAFWPDJG.js +40 -0
  7. package/dist/cli/{billing-RG3LF5OU.js → billing-4BZABEOA.js} +73 -73
  8. package/dist/cli/{billing-DWKZIL66.mjs → billing-FYF2GJ25.mjs} +4 -4
  9. package/dist/cli/{chunk-GLXYOSEL.js → chunk-2JSVKNLG.js} +3 -3
  10. package/dist/cli/{chunk-EXOCQILY.mjs → chunk-4EBJNT5C.mjs} +2 -2
  11. package/dist/cli/{chunk-MWRPRDHW.js → chunk-5KC7RLJO.js} +6 -6
  12. package/dist/cli/{chunk-X4XNGIPL.mjs → chunk-5WGW57KC.mjs} +3 -3
  13. package/dist/cli/{chunk-CQHTN3RY.mjs → chunk-7AGGDRNR.mjs} +1 -1
  14. package/dist/cli/{chunk-YVQVS7SF.mjs → chunk-7DFM5YLL.mjs} +4 -4
  15. package/dist/cli/{chunk-JL5DCH37.js → chunk-ACCQ5OM7.js} +16 -16
  16. package/dist/cli/{chunk-QGLFBQ43.mjs → chunk-BIPMJKLI.mjs} +5 -5
  17. package/dist/cli/{chunk-VLL6RRIA.js → chunk-FBMVFOD7.js} +8 -8
  18. package/dist/cli/{chunk-5TIASNUT.js → chunk-FFUQFRKZ.js} +20 -20
  19. package/dist/cli/{chunk-CTWD4ZHP.js → chunk-FPPCTKV6.js} +2 -2
  20. package/dist/cli/{chunk-JANCYPKP.mjs → chunk-HU7JG4RL.mjs} +1 -1
  21. package/dist/cli/{chunk-EHEBXARN.js → chunk-HUVI6EBF.js} +1 -1
  22. package/dist/cli/{chunk-J2ZS4PEC.js → chunk-JOSOQJ5P.js} +51 -51
  23. package/dist/cli/{chunk-KTAVYWYI.js → chunk-KB4XJRQW.js} +8 -8
  24. package/dist/cli/{chunk-W3IZ55XS.mjs → chunk-KDDB5S6E.mjs} +3 -3
  25. package/dist/cli/{chunk-SFCNYJ4B.js → chunk-LGOI2BRX.js} +10 -21
  26. package/dist/cli/{chunk-E5BGIERY.mjs → chunk-LSJYTDEK.mjs} +1 -1
  27. package/dist/cli/{chunk-NMVLO3JM.mjs → chunk-MHMRLS7W.mjs} +3 -3
  28. package/dist/cli/{chunk-LVGCJZ5S.mjs → chunk-MNNMPS6J.mjs} +1 -12
  29. package/dist/cli/{chunk-F64XBZ3A.mjs → chunk-NLRKZJZF.mjs} +2 -2
  30. package/dist/cli/{chunk-AQFHU3DW.js → chunk-NMJ4D2WO.js} +0 -21
  31. package/dist/cli/{chunk-BD5A242C.mjs → chunk-OD236M42.mjs} +2 -2
  32. package/dist/cli/{chunk-CHBYYJ7Q.mjs → chunk-OQW2YP3P.mjs} +1 -1
  33. package/dist/cli/{chunk-KVXBMYRY.js → chunk-OY4JQBJG.js} +2 -2
  34. package/dist/cli/{chunk-7JW4WIWU.js → chunk-PI65FBEA.js} +81 -81
  35. package/dist/cli/{chunk-77Z5BO7D.mjs → chunk-R2GLGLDR.mjs} +0 -21
  36. package/dist/cli/{chunk-L7WE7Q63.mjs → chunk-RLQDDJZZ.mjs} +1 -1
  37. package/dist/cli/{chunk-JCWEQQGE.js → chunk-S5TTNBEZ.js} +35 -35
  38. package/dist/cli/{chunk-MU4ZDVQK.mjs → chunk-SOUQUQQE.mjs} +8 -8
  39. package/dist/cli/{chunk-KKPKLLNB.js → chunk-U3VAYRUL.js} +6 -6
  40. package/dist/cli/{chunk-LKAITV2M.js → chunk-UIKSAVAE.js} +26 -26
  41. package/dist/cli/{chunk-TTBQOHG4.js → chunk-VLJXYDGZ.js} +4 -4
  42. package/dist/cli/{chunk-7IIRZXCO.mjs → chunk-Y35FCRLQ.mjs} +1 -1
  43. package/dist/cli/{chunk-US3SZ7VQ.js → chunk-Z4YO4J4J.js} +50 -50
  44. package/dist/cli/{chunk-LHHJATXY.mjs → chunk-ZAJAGMXA.mjs} +2 -2
  45. package/dist/cli/command-docs.js +2 -2
  46. package/dist/cli/command-docs.mjs +1 -1
  47. package/dist/cli/{csv-QSAAPCYE.js → csv-LRIV3RXE.js} +12 -12
  48. package/dist/cli/{csv-27M4PREP.mjs → csv-SDVEU3O5.mjs} +3 -3
  49. package/dist/cli/{db-LYPTNAPX.js → db-JS4OEDNY.js} +25 -25
  50. package/dist/cli/{db-H73PJID6.mjs → db-NHYULZTM.mjs} +4 -4
  51. package/dist/cli/{describe-Y5BHLZLH.mjs → describe-H5F72Q3S.mjs} +13 -13
  52. package/dist/cli/{describe-KYLGQSMO.js → describe-ZFKCZHOJ.js} +17 -17
  53. package/dist/cli/describe-core.d.mts +1 -1
  54. package/dist/cli/describe-core.d.ts +1 -1
  55. package/dist/cli/{executions-ZGQEWS2X.mjs → executions-25YKX4K3.mjs} +4 -4
  56. package/dist/cli/{executions-DHGYCPFO.js → executions-QPAKZTNQ.js} +6 -6
  57. package/dist/cli/{feedback-3YQPYCMT.js → feedback-O63Z5O2R.js} +7 -7
  58. package/dist/cli/{feedback-EBXU4ANA.mjs → feedback-Z3BES6L6.mjs} +3 -3
  59. package/dist/cli/git-KSRP3PNB.js +24 -0
  60. package/dist/cli/{git-CFPU33DJ.mjs → git-V7S3IBLO.mjs} +4 -4
  61. package/dist/cli/index.js +136 -136
  62. package/dist/cli/index.mjs +38 -38
  63. package/dist/cli/{legacy-noops-TFGIWA5C.mjs → legacy-noops-VRT5WZ5I.mjs} +4 -4
  64. package/dist/cli/{legacy-noops-CDKZ7RYT.js → legacy-noops-ZLLYEGQ6.js} +7 -7
  65. package/dist/cli/{monitors-6ED5RJYG.mjs → monitors-44KSWY3M.mjs} +5 -5
  66. package/dist/cli/{monitors-PCMAB7NP.js → monitors-T7FKIDDY.js} +89 -89
  67. package/dist/cli/{org-V4QYXLOL.mjs → org-BZE4CGIT.mjs} +4 -4
  68. package/dist/cli/{org-KAARC2XN.js → org-KPPG2KY4.js} +66 -66
  69. package/dist/cli/{play-OTTJ6S2G.mjs → play-CHTP4NKR.mjs} +11 -11
  70. package/dist/cli/{play-PPWCRYME.js → play-M5P74N3E.js} +284 -284
  71. package/dist/cli/{providers-ULL5EJHY.mjs → providers-CGLPOOXA.mjs} +4 -46
  72. package/dist/cli/{providers-ICY74FM5.js → providers-L3PK7NHU.js} +8 -50
  73. package/dist/cli/{quickstart-YOUCGJQP.js → quickstart-LJ7HELWE.js} +5 -5
  74. package/dist/cli/{quickstart-QLVS53TD.mjs → quickstart-NWG35AKK.mjs} +3 -3
  75. package/dist/cli/{search-AGYQR6YQ.mjs → search-723TVSNC.mjs} +5 -5
  76. package/dist/cli/search-PESQULBG.js +30 -0
  77. package/dist/cli/{secrets-PJFO3RZW.mjs → secrets-ONN3Z5Y6.mjs} +4 -4
  78. package/dist/cli/{secrets-OA3HHNHP.js → secrets-SVSSLPWB.js} +13 -13
  79. package/dist/cli/{sessions-WNRZQEBL.mjs → sessions-3KAEYQ3U.mjs} +4 -4
  80. package/dist/cli/{sessions-OYTROOOG.js → sessions-7LYPPYUY.js} +5 -5
  81. package/dist/cli/{settings-JIYDWBPM.mjs → settings-2CBJI7FY.mjs} +10 -10
  82. package/dist/cli/{settings-RXGOZAZI.js → settings-JGJZO7EX.js} +77 -77
  83. package/dist/cli/{setup-VXNSUQYT.js → setup-AIAOO7R4.js} +43 -43
  84. package/dist/cli/{setup-YAYE7KQM.mjs → setup-BJCBDH34.mjs} +8 -8
  85. package/dist/cli/{skills-XYDBLLRK.mjs → skills-7QSQPQXX.mjs} +6 -6
  86. package/dist/cli/skills-WECIGARR.js +30 -0
  87. package/dist/cli/tools-HTEMYXT2.js +45 -0
  88. package/dist/cli/{tools-TRDYMDPL.mjs → tools-I7LYXHDR.mjs} +13 -13
  89. package/dist/cli/update-J4LSPXHD.js +32 -0
  90. package/dist/cli/{update-KH36JGLK.mjs → update-LKY5OJ56.mjs} +8 -8
  91. package/dist/cli/{workflow-EYWCMD4D.mjs → workflow-DD32BU7Y.mjs} +5 -5
  92. package/dist/cli/{workflow-CQZBGIQ2.js → workflow-Y4HGE7MB.js} +15 -15
  93. package/dist/{client-BX2EVlPo.d.mts → client-BbU5_j7n.d.mts} +0 -14
  94. package/dist/{client-CRz2laoR.d.ts → client-CYqG23K1.d.ts} +0 -14
  95. package/dist/index.d.mts +2 -2
  96. package/dist/index.d.ts +2 -2
  97. package/dist/index.js +6 -6
  98. package/dist/index.mjs +3 -3
  99. package/dist/install-integrity.json +84 -84
  100. package/dist/plays/play-description.d.mts +1 -1
  101. package/dist/plays/play-description.d.ts +1 -1
  102. package/dist/plays/run-request.d.mts +1 -1
  103. package/dist/plays/run-request.d.ts +1 -1
  104. package/dist/release.d.mts +1 -1
  105. package/dist/release.d.ts +1 -1
  106. package/dist/release.js +2 -2
  107. package/dist/release.mjs +1 -1
  108. package/package.json +1 -1
  109. package/dist/cli/auth-O3XJDECG.js +0 -40
  110. package/dist/cli/git-4ACVGA4W.js +0 -24
  111. package/dist/cli/search-XNU6FOOH.js +0 -30
  112. package/dist/cli/skills-5UCGZVCN.js +0 -30
  113. package/dist/cli/tools-UMSFNX5B.js +0 -45
  114. package/dist/cli/update-K5AOROYI.js +0 -32
@@ -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 _chunkGLXYOSELjs = require('./chunk-GLXYOSEL.js');
3
+ var _chunk2JSVKNLGjs = require('./chunk-2JSVKNLG.js');
4
4
 
5
5
 
6
6
 
@@ -17,13 +17,13 @@ var _chunkGLXYOSELjs = require('./chunk-GLXYOSEL.js');
17
17
 
18
18
 
19
19
 
20
- var _chunkTTBQOHG4js = require('./chunk-TTBQOHG4.js');
20
+ var _chunkVLJXYDGZjs = require('./chunk-VLJXYDGZ.js');
21
21
 
22
22
 
23
23
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
24
24
 
25
25
 
26
- var _chunkEHEBXARNjs = require('./chunk-EHEBXARN.js');
26
+ var _chunkHUVI6EBFjs = require('./chunk-HUVI6EBF.js');
27
27
 
28
28
  // src/compat.ts
29
29
  var _crypto = require('crypto');
@@ -58,7 +58,7 @@ function shouldSkipCompatibilityCheck() {
58
58
  return value === "1" || value === "true" || value === "yes";
59
59
  }
60
60
  function sdkCompatibilityCachePath(baseUrl, homeDir = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.HOME, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || _os.homedir.call(void 0, )) {
61
- return _path.join.call(void 0, _chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
61
+ return _path.join.call(void 0, _chunkVLJXYDGZjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
62
62
  }
63
63
  function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'access', _11 => _11.env, 'access', _12 => _12.HOME, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) || _os.homedir.call(void 0, )) {
64
64
  return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
@@ -66,9 +66,9 @@ function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'acc
66
66
  function compatibilityCacheKey(baseUrl, command, skillsVersion) {
67
67
  return JSON.stringify({
68
68
  baseUrl: baseUrl.replace(/\/$/, ""),
69
- version: _chunkTTBQOHG4js.SDK_VERSION,
70
- apiContract: _chunkTTBQOHG4js.SDK_API_CONTRACT,
71
- apiMajor: _chunkTTBQOHG4js.SDK_API_MAJOR,
69
+ version: _chunkVLJXYDGZjs.SDK_VERSION,
70
+ apiContract: _chunkVLJXYDGZjs.SDK_API_CONTRACT,
71
+ apiMajor: _chunkVLJXYDGZjs.SDK_API_MAJOR,
72
72
  command: _optionalChain([command, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) || null,
73
73
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
74
74
  });
@@ -76,8 +76,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
76
76
  function legacyCompatibilityCacheKey(baseUrl, command) {
77
77
  return JSON.stringify({
78
78
  baseUrl: baseUrl.replace(/\/$/, ""),
79
- version: _chunkTTBQOHG4js.SDK_VERSION,
80
- apiContract: _chunkTTBQOHG4js.SDK_API_CONTRACT,
79
+ version: _chunkVLJXYDGZjs.SDK_VERSION,
80
+ apiContract: _chunkVLJXYDGZjs.SDK_API_CONTRACT,
81
81
  command: _optionalChain([command, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) || null
82
82
  });
83
83
  }
@@ -102,7 +102,7 @@ function isSavedWithin(savedAt, windowMs, now) {
102
102
  }
103
103
  var UPDATE_ADVISORY_INTERVAL_MS = 24 * 60 * 60 * 1e3;
104
104
  function claimUpdateAdvisory(baseUrl, now = Date.now()) {
105
- const path = _path.join.call(void 0, _chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
105
+ const path = _path.join.call(void 0, _chunkVLJXYDGZjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
106
106
  try {
107
107
  const { shownAt } = JSON.parse(_fs.readFileSync.call(void 0, path, "utf8"));
108
108
  if (isSavedWithin(shownAt, UPDATE_ADVISORY_INTERVAL_MS, now)) return false;
@@ -186,7 +186,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
186
186
  );
187
187
  try {
188
188
  const url = new URL("/api/v2/sdk/compat", baseUrl);
189
- url.searchParams.set("version", _chunkTTBQOHG4js.SDK_VERSION);
189
+ url.searchParams.set("version", _chunkVLJXYDGZjs.SDK_VERSION);
190
190
  if (_optionalChain([options, 'access', _27 => _27.command, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()])) {
191
191
  url.searchParams.set("command", options.command.trim());
192
192
  }
@@ -194,7 +194,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
194
194
  url.searchParams.set("skills_version", _nullishCoalesce(options.skillsVersion, () => ( "")));
195
195
  url.searchParams.set(
196
196
  "skills_cli_capability",
197
- String(_chunkEHEBXARNjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
197
+ String(_chunkHUVI6EBFjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
198
198
  );
199
199
  }
200
200
  if (options.catalog) {
@@ -206,14 +206,14 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
206
206
  const response = await fetch(url, {
207
207
  method: "GET",
208
208
  headers: {
209
- ..._chunkTTBQOHG4js.deploymentProtectionHeaders.call(void 0, ),
210
- "User-Agent": `deepline-ts-sdk/${_chunkTTBQOHG4js.SDK_VERSION}`,
211
- "X-Deepline-SDK-Version": _chunkTTBQOHG4js.SDK_VERSION,
212
- "X-Deepline-API-Major": String(_chunkTTBQOHG4js.SDK_API_MAJOR),
213
- "X-Deepline-API-Contract": _chunkTTBQOHG4js.SDK_API_CONTRACT,
209
+ ..._chunkVLJXYDGZjs.deploymentProtectionHeaders.call(void 0, ),
210
+ "User-Agent": `deepline-ts-sdk/${_chunkVLJXYDGZjs.SDK_VERSION}`,
211
+ "X-Deepline-SDK-Version": _chunkVLJXYDGZjs.SDK_VERSION,
212
+ "X-Deepline-API-Major": String(_chunkVLJXYDGZjs.SDK_API_MAJOR),
213
+ "X-Deepline-API-Contract": _chunkVLJXYDGZjs.SDK_API_CONTRACT,
214
214
  "X-Deepline-CLI-Update-Preferences": "1",
215
215
  "X-Deepline-CLI-Auto-Update-Capability": SDK_CLI_AUTO_UPDATE_CAPABILITY,
216
- ...options.catalog ? { Authorization: `Bearer ${_chunkTTBQOHG4js.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
216
+ ...options.catalog ? { Authorization: `Bearer ${_chunkVLJXYDGZjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
217
217
  ..._optionalChain([options, 'access', _30 => _30.catalog, 'optionalAccess', _31 => _31.cliInvocationId]) ? { "X-Deepline-CLI-Invocation-ID": options.catalog.cliInvocationId } : {}
218
218
  },
219
219
  signal: controller.signal
@@ -374,7 +374,7 @@ function skillsSourceUrl(baseUrl) {
374
374
  function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
375
375
  const skillNames = Array.isArray(skillName) ? skillName : [skillName];
376
376
  const [firstSkillName, ...extraSkillNames] = skillNames;
377
- const agents = _nullishCoalesce(options.agents, () => ( _chunkTTBQOHG4js.DEFAULT_SKILL_AGENTS));
377
+ const agents = _nullishCoalesce(options.agents, () => ( _chunkVLJXYDGZjs.DEFAULT_SKILL_AGENTS));
378
378
  const values = {
379
379
  skills_index_url: skillsIndexUrl(baseUrl),
380
380
  skills_source_url: skillsSourceUrl(baseUrl),
@@ -593,7 +593,7 @@ function buildEnvironmentContext() {
593
593
  node_version: process.version,
594
594
  runtime: "Node.js",
595
595
  hostname: _os.hostname.call(void 0, ),
596
- agent_runtime: _chunkTTBQOHG4js.detectAgentRuntime.call(void 0, )
596
+ agent_runtime: _chunkVLJXYDGZjs.detectAgentRuntime.call(void 0, )
597
597
  };
598
598
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
599
599
  const normalized = _optionalChain([process, 'access', _42 => _42.env, 'access', _43 => _43[key], 'optionalAccess', _44 => _44.trim, 'call', _45 => _45()]);
@@ -615,15 +615,15 @@ function buildEnvironmentContext() {
615
615
  }
616
616
  function failureReportHeaders(apiKey) {
617
617
  return {
618
- ..._chunkTTBQOHG4js.deploymentProtectionHeaders.call(void 0, ),
618
+ ..._chunkVLJXYDGZjs.deploymentProtectionHeaders.call(void 0, ),
619
619
  Authorization: `Bearer ${apiKey}`,
620
620
  "Content-Type": "application/json",
621
- "User-Agent": `deepline-ts-sdk/${_chunkTTBQOHG4js.SDK_VERSION}`,
621
+ "User-Agent": `deepline-ts-sdk/${_chunkVLJXYDGZjs.SDK_VERSION}`,
622
622
  "X-Deepline-Client-Family": "sdk",
623
623
  "X-Deepline-CLI-Family": "sdk",
624
- "X-Deepline-Agent-Runtime": _chunkTTBQOHG4js.detectAgentRuntime.call(void 0, ),
625
- "X-Deepline-CLI-Version": _chunkTTBQOHG4js.SDK_VERSION,
626
- "X-Deepline-SDK-Version": _chunkTTBQOHG4js.SDK_VERSION
624
+ "X-Deepline-Agent-Runtime": _chunkVLJXYDGZjs.detectAgentRuntime.call(void 0, ),
625
+ "X-Deepline-CLI-Version": _chunkVLJXYDGZjs.SDK_VERSION,
626
+ "X-Deepline-SDK-Version": _chunkVLJXYDGZjs.SDK_VERSION
627
627
  };
628
628
  }
629
629
  async function postFailureReport(input) {
@@ -651,7 +651,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
651
651
  if (isFailureReportingDisabled()) return false;
652
652
  let apiKey = "";
653
653
  try {
654
- apiKey = _chunkTTBQOHG4js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
654
+ apiKey = _chunkVLJXYDGZjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
655
655
  } catch (e9) {
656
656
  return false;
657
657
  }
@@ -678,7 +678,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
678
678
  failure_code: failureCode2,
679
679
  failure_stage: failureStage,
680
680
  error_body: "Automatic Deepline skills installation failed.",
681
- cli_version: _chunkTTBQOHG4js.SDK_VERSION,
681
+ cli_version: _chunkVLJXYDGZjs.SDK_VERSION,
682
682
  context: {
683
683
  environment: buildEnvironmentContext(),
684
684
  skills_sync: {
@@ -798,7 +798,7 @@ function buildFailureReport(input) {
798
798
  failure_kind: failureKind,
799
799
  failure_code: code,
800
800
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
801
- cli_version: _chunkTTBQOHG4js.SDK_VERSION,
801
+ cli_version: _chunkVLJXYDGZjs.SDK_VERSION,
802
802
  context: {
803
803
  base_url: redactFailureText(input.baseUrl, 400),
804
804
  command_summary: sanitizeCommand(input.argv),
@@ -818,8 +818,8 @@ async function maybeReportSdkCliFailure(input) {
818
818
  if (isServerLoggedPlayRunStartFailure(input)) return false;
819
819
  const exitCode = resolvedExitCode(input);
820
820
  if (!shouldReport({ exitCode, error: input.error })) return false;
821
- const baseUrl = _chunkTTBQOHG4js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
822
- const apiKey = _chunkTTBQOHG4js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
821
+ const baseUrl = _chunkVLJXYDGZjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
822
+ const apiKey = _chunkVLJXYDGZjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
823
823
  if (!apiKey) return false;
824
824
  return postFailureReport({
825
825
  baseUrl,
@@ -856,25 +856,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
856
856
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
857
857
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
858
858
  function shouldSkipSkillsSync() {
859
- if (_chunkTTBQOHG4js.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
859
+ if (_chunkVLJXYDGZjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
860
860
  return true;
861
861
  }
862
862
  const value = _optionalChain([process, 'access', _66 => _66.env, 'access', _67 => _67.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _68 => _68.trim, 'call', _69 => _69(), 'access', _70 => _70.toLowerCase, 'call', _71 => _71()]);
863
863
  return value === "1" || value === "true" || value === "yes" || value === "on";
864
864
  }
865
865
  function unavailableSkillsNoticePath(baseUrl) {
866
- return _path.join.call(void 0, _chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
866
+ return _path.join.call(void 0, _chunkVLJXYDGZjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
867
867
  }
868
868
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
869
869
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
870
- var agentLeaseSegment = _chunkTTBQOHG4js.skillsAgentPathSegment;
870
+ var agentLeaseSegment = _chunkVLJXYDGZjs.skillsAgentPathSegment;
871
871
  function sortedLeaseAgents(agents) {
872
- const expanded = agents.includes("*") ? [...agents, ..._chunkTTBQOHG4js.KNOWN_SKILL_AGENTS] : agents;
872
+ const expanded = agents.includes("*") ? [...agents, ..._chunkVLJXYDGZjs.KNOWN_SKILL_AGENTS] : agents;
873
873
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
874
874
  }
875
875
  function inProgressSkillsSyncPath(baseUrl, agent) {
876
876
  return _path.join.call(void 0,
877
- _chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, baseUrl),
877
+ _chunkVLJXYDGZjs.sdkCliStateDirPath.call(void 0, baseUrl),
878
878
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
879
879
  );
880
880
  }
@@ -1033,7 +1033,7 @@ var SkillsStateUnavailableError = class extends Error {
1033
1033
  constructor(baseUrl, error) {
1034
1034
  const detail = error instanceof Error ? error.message : String(error);
1035
1035
  super(
1036
- `Could not save skills state in ${_chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1036
+ `Could not save skills state in ${_chunkVLJXYDGZjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1037
1037
  );
1038
1038
  this.name = "SkillsStateUnavailableError";
1039
1039
  }
@@ -1118,7 +1118,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
1118
1118
  }
1119
1119
  function deferredSkillsNoticePath(baseUrl, agents) {
1120
1120
  return _path.join.call(void 0,
1121
- _chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, baseUrl),
1121
+ _chunkVLJXYDGZjs.sdkCliStateDirPath.call(void 0, baseUrl),
1122
1122
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
1123
1123
  );
1124
1124
  }
@@ -1152,8 +1152,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
1152
1152
  if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
1153
1153
  }
1154
1154
  function flushDeferredSkillsSyncNotices(baseUrl) {
1155
- if (shouldSkipSkillsSync() || _chunkTTBQOHG4js.hasActivePluginSkills.call(void 0, )) return;
1156
- const agents = _chunkTTBQOHG4js.resolveAutoSyncSkillAgents.call(void 0, );
1155
+ if (shouldSkipSkillsSync() || _chunkVLJXYDGZjs.hasActivePluginSkills.call(void 0, )) return;
1156
+ const agents = _chunkVLJXYDGZjs.resolveAutoSyncSkillAgents.call(void 0, );
1157
1157
  if (agents.length === 0) return;
1158
1158
  flushDeferredSkillsNotices(baseUrl, agents);
1159
1159
  }
@@ -1169,7 +1169,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError) {
1169
1169
  }
1170
1170
  function failedSkillsSyncPath(baseUrl, agents) {
1171
1171
  return _path.join.call(void 0,
1172
- _chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, baseUrl),
1172
+ _chunkVLJXYDGZjs.sdkCliStateDirPath.call(void 0, baseUrl),
1173
1173
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
1174
1174
  );
1175
1175
  }
@@ -1198,7 +1198,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
1198
1198
  if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
1199
1199
  writeMarkedSkillsSyncVersion(path, remoteVersion);
1200
1200
  const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
1201
- const manualCommand = _optionalChain([probes, 'optionalAccess', _75 => _75.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkTTBQOHG4js.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1201
+ const manualCommand = _optionalChain([probes, 'optionalAccess', _75 => _75.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkVLJXYDGZjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1202
1202
  const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _76 => _76.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
1203
1203
  notice(
1204
1204
  `Deepline agent skills are out of date, but ${explanation} To install manually, run:
@@ -1286,7 +1286,7 @@ function buildSdkSkillNames(v1SkillNames2) {
1286
1286
  return sortedUniqueSkillNames(v1SkillNames2);
1287
1287
  }
1288
1288
  function isDefaultAgentSet(agents) {
1289
- return agents.length === _chunkTTBQOHG4js.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkTTBQOHG4js.DEFAULT_SKILL_AGENTS[index]);
1289
+ return agents.length === _chunkVLJXYDGZjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkVLJXYDGZjs.DEFAULT_SKILL_AGENTS[index]);
1290
1290
  }
1291
1291
  function safeSkillFilePath(value) {
1292
1292
  if (typeof value !== "string" || !value) return false;
@@ -1443,10 +1443,10 @@ async function fetchSkillsUpdate(baseUrl, localVersion) {
1443
1443
  method: "POST",
1444
1444
  headers: { "Content-Type": "application/json" },
1445
1445
  body: JSON.stringify({
1446
- sdk_cli: { version: _chunkTTBQOHG4js.SDK_VERSION },
1446
+ sdk_cli: { version: _chunkVLJXYDGZjs.SDK_VERSION },
1447
1447
  skills: {
1448
1448
  version: localVersion,
1449
- capability: _chunkEHEBXARNjs.SDK_RELEASE.packageCapabilities.skillsGuidance
1449
+ capability: _chunkHUVI6EBFjs.SDK_RELEASE.packageCapabilities.skillsGuidance
1450
1450
  }
1451
1451
  }),
1452
1452
  signal: controller.signal
@@ -1485,7 +1485,7 @@ function probeInstallers(timeoutMs) {
1485
1485
  }
1486
1486
  function noInstallerProbePath(baseUrl) {
1487
1487
  return _path.join.call(void 0,
1488
- _chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, baseUrl),
1488
+ _chunkVLJXYDGZjs.sdkCliStateDirPath.call(void 0, baseUrl),
1489
1489
  "skills-sync-no-installer-unknown.json"
1490
1490
  );
1491
1491
  }
@@ -1564,7 +1564,7 @@ function temporarySkillsSyncSkipCommand() {
1564
1564
  function resolveSkillsInstallSpawn(install, platform2 = process.platform) {
1565
1565
  return resolveShellSpawn(install.command, install.args, platform2);
1566
1566
  }
1567
- function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkTTBQOHG4js.DEFAULT_SKILL_AGENTS, knownProbes) {
1567
+ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkVLJXYDGZjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1568
1568
  const commands = [];
1569
1569
  const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
1570
1570
  if (probes.bunx === "available") {
@@ -1706,7 +1706,7 @@ function runLegacySkillsCleanup(agents) {
1706
1706
  }
1707
1707
  }
1708
1708
  function writeSdkSkillsStatusLine(line) {
1709
- const progress = _chunkGLXYOSELjs.getActiveCliProgress.call(void 0, );
1709
+ const progress = _chunk2JSVKNLGjs.getActiveCliProgress.call(void 0, );
1710
1710
  if (progress) {
1711
1711
  progress.writeLine(line);
1712
1712
  return;
@@ -1716,11 +1716,11 @@ function writeSdkSkillsStatusLine(line) {
1716
1716
  }
1717
1717
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1718
1718
  if (shouldSkipSkillsSync()) return;
1719
- const usingPluginSkills = _chunkTTBQOHG4js.hasActivePluginSkills.call(void 0, );
1719
+ const usingPluginSkills = _chunkVLJXYDGZjs.hasActivePluginSkills.call(void 0, );
1720
1720
  if (usingPluginSkills) {
1721
1721
  return;
1722
1722
  }
1723
- const agents = _chunkTTBQOHG4js.resolveAutoSyncSkillAgents.call(void 0, );
1723
+ const agents = _chunkVLJXYDGZjs.resolveAutoSyncSkillAgents.call(void 0, );
1724
1724
  if (options.mode === "detached" && agents.length > 0) {
1725
1725
  flushDeferredSkillsNotices(baseUrl, agents);
1726
1726
  }
@@ -1748,7 +1748,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1748
1748
  return;
1749
1749
  }
1750
1750
  try {
1751
- const localVersion = _chunkTTBQOHG4js.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1751
+ const localVersion = _chunkVLJXYDGZjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1752
1752
  const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
1753
1753
  needsUpdate: options.update.needs_update,
1754
1754
  remoteVersion: options.update.remote.version
@@ -1914,7 +1914,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1914
1914
  }
1915
1915
  }
1916
1916
  runLegacySkillsCleanup(agents);
1917
- if (!_chunkTTBQOHG4js.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1917
+ if (!_chunkVLJXYDGZjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1918
1918
  notice(
1919
1919
  "Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
1920
1920
  );
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkSFCNYJ4Bjs = require('./chunk-SFCNYJ4B.js');
6
+ var _chunkLGOI2BRXjs = require('./chunk-LGOI2BRX.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkKKPKLLNBjs = require('./chunk-KKPKLLNB.js');
10
+ var _chunkU3VAYRULjs = require('./chunk-U3VAYRUL.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkTTBQOHG4js = require('./chunk-TTBQOHG4.js');
14
+ var _chunkVLJXYDGZjs = require('./chunk-VLJXYDGZ.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkTTBQOHG4js.sdkCliStateDirPath.call(void 0, _chunkTTBQOHG4js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkVLJXYDGZjs.sdkCliStateDirPath.call(void 0, _chunkVLJXYDGZjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunkKKPKLLNBjs.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkU3VAYRULjs.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunkKKPKLLNBjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkU3VAYRULjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5987,7 +5987,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5987
5987
  console.error("--summary-width must be an integer of at least 2.");
5988
5988
  return 1;
5989
5989
  }
5990
- const { search_ref: searchRef, ...result } = await new (0, _chunkSFCNYJ4Bjs.DeeplineClient)().search({
5990
+ const { search_ref: searchRef, ...result } = await new (0, _chunkLGOI2BRXjs.DeeplineClient)().search({
5991
5991
  query,
5992
5992
  types,
5993
5993
  exclude,
@@ -6001,7 +6001,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6001
6001
  });
6002
6002
  if (searchRef) rememberSearchRef(searchRef);
6003
6003
  pointAtDescribe(result);
6004
- _chunkKKPKLLNBjs.printCommandEnvelope.call(void 0, result, {
6004
+ _chunkU3VAYRULjs.printCommandEnvelope.call(void 0, result, {
6005
6005
  json: options.json === true,
6006
6006
  text: renderSearchResults(result, summaryWidth)
6007
6007
  });
@@ -11,10 +11,10 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-X4XNGIPL.mjs";
14
+ } from "./chunk-5WGW57KC.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-7IIRZXCO.mjs";
17
+ } from "./chunk-Y35FCRLQ.mjs";
18
18
  import {
19
19
  SDK_VERSION,
20
20
  autoDetectBaseUrl,
@@ -22,7 +22,7 @@ import {
22
22
  ensureProjectPrivatePathsIgnored,
23
23
  resolveProjectPinTarget,
24
24
  sdkCliStateDirPath
25
- } from "./chunk-CQHTN3RY.mjs";
25
+ } from "./chunk-7AGGDRNR.mjs";
26
26
 
27
27
  // src/cli/commands/skills.ts
28
28
  import { spawn } from "child_process";
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkTTBQOHG4js = require('./chunk-TTBQOHG4.js');
31
+ var _chunkVLJXYDGZjs = require('./chunk-VLJXYDGZ.js');
32
32
 
33
33
 
34
34
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -649,7 +649,7 @@ var ToolCalls = class {
649
649
  idempotencyKey,
650
650
  onResponse: (response2) => {
651
651
  lastResponse = null;
652
- atomicToolsSupported = response2.headers.get(_chunkTTBQOHG4js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
652
+ atomicToolsSupported = response2.headers.get(_chunkVLJXYDGZjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
653
653
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
654
654
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
655
655
  try {
@@ -999,8 +999,8 @@ function runtimeSelectionHeaders(runtime, env) {
999
999
  }
1000
1000
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1001
1001
  return {
1002
- [_chunkTTBQOHG4js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1003
- ...receivers ? { [_chunkTTBQOHG4js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1002
+ [_chunkVLJXYDGZjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1003
+ ...receivers ? { [_chunkVLJXYDGZjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1004
1004
  };
1005
1005
  }
1006
1006
  function normalizeTestPolicyOverrides(value, source) {
@@ -1071,7 +1071,7 @@ var PlayClient = class {
1071
1071
  return _chunkJKVRBCZLjs.startPlayRun.call(void 0,
1072
1072
  this.http,
1073
1073
  resolved.request,
1074
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkTTBQOHG4js.SDK_API_MAJOR) } : headers,
1074
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkVLJXYDGZjs.SDK_API_MAJOR) } : headers,
1075
1075
  options
1076
1076
  );
1077
1077
  }
@@ -1137,9 +1137,9 @@ var PlayClient = class {
1137
1137
  }
1138
1138
  };
1139
1139
  function createPlayClient(options) {
1140
- const config = _chunkTTBQOHG4js.resolveConfig.call(void 0, options);
1140
+ const config = _chunkVLJXYDGZjs.resolveConfig.call(void 0, options);
1141
1141
  return new PlayClient(
1142
- new (0, _chunkTTBQOHG4js.HttpClient)(config),
1142
+ new (0, _chunkVLJXYDGZjs.HttpClient)(config),
1143
1143
  _nullishCoalesce(config.environment, () => ( process.env))
1144
1144
  );
1145
1145
  }
@@ -3153,7 +3153,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3153
3153
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3154
3154
  );
3155
3155
  }
3156
- return { [_chunkTTBQOHG4js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3156
+ return { [_chunkVLJXYDGZjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3157
3157
  }
3158
3158
  function sleep(ms) {
3159
3159
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3391,9 +3391,9 @@ var DeeplineClient = (_class = class _DeeplineClient {
3391
3391
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3392
3392
  */
3393
3393
  constructor(options) {
3394
- this.config = _chunkTTBQOHG4js.resolveConfig.call(void 0, options);
3394
+ this.config = _chunkVLJXYDGZjs.resolveConfig.call(void 0, options);
3395
3395
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3396
- this.http = new (0, _chunkTTBQOHG4js.HttpClient)(this.config);
3396
+ this.http = new (0, _chunkVLJXYDGZjs.HttpClient)(this.config);
3397
3397
  this.playClient = new PlayClient(this.http, this.environment);
3398
3398
  this.toolCalls = new ToolCalls(
3399
3399
  this.http,
@@ -5177,17 +5177,6 @@ var DeeplineClient = (_class = class _DeeplineClient {
5177
5177
  async getNotificationSettings() {
5178
5178
  return this.http.get("/api/v2/settings/notifications");
5179
5179
  }
5180
- /** Start provider OAuth; complete the returned URL in an authenticated browser. */
5181
- async connectIntegration(provider, scopes) {
5182
- return this.http.post("/api/v2/integrations/connect", {
5183
- provider,
5184
- ...scopes ? { scopes } : {}
5185
- });
5186
- }
5187
- /** Probe an OAuth connection, refreshing expired tokens through the normal lifecycle. */
5188
- async testIntegration(provider) {
5189
- return this.http.get(`/api/oauth/test/${encodeURIComponent(provider)}`);
5190
- }
5191
5180
  /** Save provider-owned credential fields without starting an OAuth browser flow. */
5192
5181
  async setIntegrationCredentials(provider, credentials) {
5193
5182
  return this.http.post("/api/v2/integrations/connect", {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-X4XNGIPL.mjs";
3
+ } from "./chunk-5WGW57KC.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-LJ5747UC.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-LVGCJZ5S.mjs";
6
+ } from "./chunk-MNNMPS6J.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-7IIRZXCO.mjs";
10
+ } from "./chunk-Y35FCRLQ.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-CQHTN3RY.mjs";
14
+ } from "./chunk-7AGGDRNR.mjs";
15
15
  import {
16
16
  __commonJS,
17
17
  __toESM
@@ -28,7 +28,7 @@ import {
28
28
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
29
29
  SDK_API_MAJOR,
30
30
  resolveConfig
31
- } from "./chunk-CQHTN3RY.mjs";
31
+ } from "./chunk-7AGGDRNR.mjs";
32
32
  import {
33
33
  CustomerDbQueryOutcomeUnknownError
34
34
  } from "./chunk-4QF2K7TM.mjs";
@@ -5177,17 +5177,6 @@ var DeeplineClient = class _DeeplineClient {
5177
5177
  async getNotificationSettings() {
5178
5178
  return this.http.get("/api/v2/settings/notifications");
5179
5179
  }
5180
- /** Start provider OAuth; complete the returned URL in an authenticated browser. */
5181
- async connectIntegration(provider, scopes) {
5182
- return this.http.post("/api/v2/integrations/connect", {
5183
- provider,
5184
- ...scopes ? { scopes } : {}
5185
- });
5186
- }
5187
- /** Probe an OAuth connection, refreshing expired tokens through the normal lifecycle. */
5188
- async testIntegration(provider) {
5189
- return this.http.get(`/api/oauth/test/${encodeURIComponent(provider)}`);
5190
- }
5191
5180
  /** Save provider-owned credential fields without starting an OAuth browser flow. */
5192
5181
  async setIntegrationCredentials(provider, credentials) {
5193
5182
  return this.http.post("/api/v2/integrations/connect", {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-7IIRZXCO.mjs";
4
+ } from "./chunk-Y35FCRLQ.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-CQHTN3RY.mjs";
7
+ } from "./chunk-7AGGDRNR.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -40,27 +40,6 @@ Conventions (apply to every tool):
40
40
  ]]
41
41
  `;
42
42
  var COMMAND_DOCS = {
43
- "providers connect": {
44
- core: `Purpose: Start OAuth authorization for an integration.
45
- Input: Pass its provider ID,
46
- for example: deepline providers connect apollo. The response contains ok and
47
- redirect_url. Open redirect_url in a browser signed into the intended Deepline
48
- workspace, then sign into the provider and approve access. Returning a URL does
49
- not mean authorization is complete. --scopes accepts a quoted space-separated
50
- list; omit it for the provider's default permissions. This stores an account
51
- connection after approval and does not execute provider tools.
52
- Cost: Does not spend Deepline credits.`
53
- },
54
- "providers test": {
55
- core: `Purpose: Verify a connected OAuth integration, for example:
56
- deepline providers test apollo --json. Input: Pass a provider ID with an OAuth test
57
- endpoint. The result includes provider, status, hasAccessToken, hasRefreshToken,
58
- expiresAt and apiCheck; tokens are never returned. Expired credentials refresh
59
- through the normal lifecycle before a read-only provider probe. This does not
60
- prove every tool's permissions. Run tools describe and a bounded read tool to
61
- verify data access. Provider errors fail the command.
62
- Cost: The connection probe does not spend Deepline credits.`
63
- },
64
43
  "": {
65
44
  core: `
66
45
  [[cli:
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-L7WE7Q63.mjs";
3
+ } from "./chunk-RLQDDJZZ.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-X4XNGIPL.mjs";
8
+ } from "./chunk-5WGW57KC.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -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.457",
52
+ version: "0.3.459",
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,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 _chunkJ2ZS4PECjs = require('./chunk-J2ZS4PEC.js');
3
+ var _chunkJOSOQJ5Pjs = require('./chunk-JOSOQJ5P.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 = _chunkJ2ZS4PECjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkJOSOQJ5Pjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,