deepline 0.3.514 → 0.3.515

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 (127) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +6 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +71 -1
  4. package/dist/cli/{artifacts-OZRO4LHT.js → artifacts-6ONZSASU.js} +18 -18
  5. package/dist/cli/{artifacts-GNFL5LY4.mjs → artifacts-C3262FEY.mjs} +6 -6
  6. package/dist/cli/{auth-53EDAX7Y.mjs → auth-BVCHIFKH.mjs} +5 -5
  7. package/dist/cli/auth-VYECQ6PI.js +43 -0
  8. package/dist/cli/{billing-B6V3FELL.js → billing-APS3ELBH.js} +79 -79
  9. package/dist/cli/{billing-ZMX2V5X3.mjs → billing-DUKPCJD5.mjs} +6 -6
  10. package/dist/cli/{chunk-H53YG6QG.mjs → chunk-2AVO64J2.mjs} +1 -1
  11. package/dist/cli/{chunk-ILITNKGM.mjs → chunk-2SG4MRCI.mjs} +6 -6
  12. package/dist/cli/{chunk-MJIS4XAZ.mjs → chunk-2T6ZOAXX.mjs} +4 -4
  13. package/dist/cli/{chunk-R5PJ6XZI.js → chunk-4FN4WVGL.js} +10 -10
  14. package/dist/cli/{chunk-WP3ULMRU.js → chunk-4H3XE5OX.js} +6 -6
  15. package/dist/cli/{chunk-LV2DGEJ3.js → chunk-5I2L6VMP.js} +7 -7
  16. package/dist/cli/{chunk-5LBXLQRW.js → chunk-5TOFI5GC.js} +7 -7
  17. package/dist/cli/{chunk-RVMV4MXO.mjs → chunk-5YFBVXFQ.mjs} +2 -2
  18. package/dist/cli/{chunk-6SSISVXD.mjs → chunk-62PFEEX3.mjs} +1 -1
  19. package/dist/cli/{chunk-H7L5MS5E.mjs → chunk-6FM7YDHA.mjs} +1 -1
  20. package/dist/cli/{chunk-7KD4IYLA.js → chunk-7TFAKDSD.js} +16 -16
  21. package/dist/cli/{chunk-EO52BKGA.mjs → chunk-AC3YRA3Y.mjs} +10 -10
  22. package/dist/cli/{chunk-T4NQ2ZOH.js → chunk-BSR56POG.js} +11 -11
  23. package/dist/cli/{chunk-TG4IMWAL.js → chunk-BX5N4YT4.js} +53 -53
  24. package/dist/cli/{chunk-53F6JDQ3.mjs → chunk-CB4ZU276.mjs} +2 -2
  25. package/dist/cli/{chunk-OQ4JV3IW.js → chunk-CZLYC62O.js} +1 -1
  26. package/dist/cli/{chunk-VLIDBQYL.js → chunk-DEGOD6EH.js} +3 -3
  27. package/dist/cli/{chunk-CUMA6DE2.js → chunk-DWASXQF6.js} +14 -14
  28. package/dist/cli/{chunk-6FYGFIXD.mjs → chunk-EA775NLJ.mjs} +2 -2
  29. package/dist/cli/{chunk-MQK5SY5N.js → chunk-F6OXFG5K.js} +16 -16
  30. package/dist/cli/{chunk-A253CMOI.js → chunk-FGKQ2MVA.js} +3 -3
  31. package/dist/cli/{chunk-RFN7OKT2.mjs → chunk-FHJTOHSE.mjs} +1 -1
  32. package/dist/cli/{chunk-DMBCJFGY.mjs → chunk-FVWUNN6J.mjs} +2 -2
  33. package/dist/cli/{chunk-JC3ABOZP.js → chunk-GESSUOYZ.js} +38 -23
  34. package/dist/cli/{chunk-G6PUQQJP.js → chunk-HSESQ4OG.js} +5 -5
  35. package/dist/cli/{chunk-55WBE4UK.js → chunk-JMPBBVRF.js} +26 -26
  36. package/dist/cli/{chunk-FPWOEK7G.js → chunk-JUCUJFBH.js} +2 -2
  37. package/dist/cli/{chunk-NXT52SIV.js → chunk-LVVWOMK6.js} +2 -2
  38. package/dist/cli/{chunk-EVTD3ELD.mjs → chunk-LXOMP5AZ.mjs} +5 -5
  39. package/dist/cli/{chunk-2RCZCWPO.js → chunk-M4DZLI3T.js} +6 -6
  40. package/dist/cli/{chunk-W3TN352L.mjs → chunk-MMZO25CN.mjs} +2 -2
  41. package/dist/cli/{chunk-753MZFDF.mjs → chunk-N43XH6VY.mjs} +3 -3
  42. package/dist/cli/{chunk-7MBI2OLW.mjs → chunk-NP6FLJ75.mjs} +1 -1
  43. package/dist/cli/{chunk-TZS4G7CS.js → chunk-NTWNM5IW.js} +2 -2
  44. package/dist/cli/{chunk-IZJGOMCW.mjs → chunk-ODJS43GU.mjs} +5 -5
  45. package/dist/cli/{chunk-DLYWOHO4.mjs → chunk-QPA3ZG56.mjs} +1 -1
  46. package/dist/cli/{chunk-76M3DL5G.mjs → chunk-R5RWDO75.mjs} +1 -1
  47. package/dist/cli/{chunk-7ZCXQDOQ.mjs → chunk-RK5V6MFG.mjs} +2 -2
  48. package/dist/cli/{chunk-QSFAUGFK.js → chunk-RPXW5XUC.js} +5 -5
  49. package/dist/cli/{chunk-Z5WO6IBV.mjs → chunk-T6XPF7AP.mjs} +21 -6
  50. package/dist/cli/{chunk-Y2RIMVEM.js → chunk-TRJLHTHI.js} +96 -96
  51. package/dist/cli/{chunk-BBDWIUJA.js → chunk-TTH5IEHD.js} +9 -9
  52. package/dist/cli/{chunk-G6A7CGFV.mjs → chunk-TX4OUEUU.mjs} +2 -2
  53. package/dist/cli/{chunk-54IH5U3I.mjs → chunk-TYUC56PS.mjs} +23 -12
  54. package/dist/cli/{chunk-MF7ZVWJK.js → chunk-UBY2MSP4.js} +41 -41
  55. package/dist/cli/{chunk-RMRZ4BC4.mjs → chunk-Z6PDSCJ3.mjs} +3 -3
  56. package/dist/cli/{chunk-RLVSWAWB.js → chunk-Z7YEZWP3.js} +62 -51
  57. package/dist/cli/{chunk-2CTTSNFE.js → chunk-ZEZAFOH3.js} +4 -4
  58. package/dist/cli/{chunk-DBBLPDXK.mjs → chunk-ZL4C3NPO.mjs} +1 -1
  59. package/dist/cli/{chunk-6OIRN4PC.mjs → chunk-ZMFR4BKH.mjs} +1 -1
  60. package/dist/cli/{csv-2BLYUV2G.js → csv-L63HLRNM.js} +13 -13
  61. package/dist/cli/{csv-ONKAMLL4.mjs → csv-NOYOCDAK.mjs} +4 -4
  62. package/dist/cli/{db-4GVSGAXL.mjs → db-637BNZ2B.mjs} +6 -6
  63. package/dist/cli/{db-YKT6LEQ3.js → db-UBQFFOTS.js} +27 -27
  64. package/dist/cli/describe-C7FBGVGM.js +50 -0
  65. package/dist/cli/{describe-PRT2WQMS.mjs → describe-KAUMYSRG.mjs} +18 -18
  66. package/dist/cli/{executions-7OSL25KJ.mjs → executions-NGPKKOLW.mjs} +6 -6
  67. package/dist/cli/{executions-VFCU5NGH.js → executions-RNOBWJ3P.js} +8 -8
  68. package/dist/cli/{feedback-ERTOLEC4.js → feedback-7BHVKCY5.js} +10 -10
  69. package/dist/cli/{feedback-RPZELEA5.mjs → feedback-NREYHFEJ.mjs} +5 -5
  70. package/dist/cli/{git-XKRQZ4A6.mjs → git-DSTDRP3J.mjs} +5 -5
  71. package/dist/cli/git-XTEKRVO3.js +25 -0
  72. package/dist/cli/index.js +141 -141
  73. package/dist/cli/index.mjs +43 -43
  74. package/dist/cli/{legacy-noops-MZCFS2FQ.mjs → legacy-noops-TC7WNDQS.mjs} +6 -6
  75. package/dist/cli/{legacy-noops-HG3M5HGZ.js → legacy-noops-VTNA7T4P.js} +9 -9
  76. package/dist/cli/{monitors-MESMMU5P.js → monitors-IC4NIUE5.js} +100 -100
  77. package/dist/cli/{monitors-GBO5XAEZ.mjs → monitors-YNQ6LYCY.mjs} +7 -7
  78. package/dist/cli/{org-EZPREEWH.js → org-B47C34FY.js} +72 -72
  79. package/dist/cli/{org-DJRNWIPO.mjs → org-MF2UEFK4.mjs} +6 -6
  80. package/dist/cli/{pages-36BHVOFL.mjs → pages-3EC54UPO.mjs} +6 -6
  81. package/dist/cli/{pages-ACI7VV6I.js → pages-A3JMHBHD.js} +18 -18
  82. package/dist/cli/{play-SUSVQHX5.mjs → play-BLFSS42Z.mjs} +18 -18
  83. package/dist/cli/{play-KCLLAGWR.js → play-LAEAIGU4.js} +317 -317
  84. package/dist/cli/{providers-MV2YW3J5.mjs → providers-PEXILFIA.mjs} +6 -6
  85. package/dist/cli/{providers-YFO3EFLK.js → providers-XNC5JF3F.js} +9 -9
  86. package/dist/cli/{quickstart-KMXU2T3Z.mjs → quickstart-E2PKFV2L.mjs} +4 -4
  87. package/dist/cli/{quickstart-MATFTZVQ.js → quickstart-XRU23BKT.js} +6 -6
  88. package/dist/cli/{run-YRYVGUCJ.mjs → run-5QI3H7HH.mjs} +23 -23
  89. package/dist/cli/{run-UW5FM64G.js → run-T7U6DRMZ.js} +41 -41
  90. package/dist/cli/search-A6HYC5XI.js +33 -0
  91. package/dist/cli/{search-WF3Q3I5X.mjs → search-WLXLC3Z3.mjs} +8 -8
  92. package/dist/cli/{search-output-BG743WAM.js → search-output-7WXW6WZQ.js} +6 -6
  93. package/dist/cli/{search-output-THOAHTCU.mjs → search-output-HGO5JVJO.mjs} +4 -4
  94. package/dist/cli/{secrets-EOGBWN44.js → secrets-TTGCKS7Z.js} +15 -15
  95. package/dist/cli/{secrets-LM7OTAUE.mjs → secrets-ZYDUC6NU.mjs} +6 -6
  96. package/dist/cli/{sessions-SP2JL27H.mjs → sessions-3KMK76O3.mjs} +6 -6
  97. package/dist/cli/sessions-5X4PTBB6.js +18 -0
  98. package/dist/cli/{settings-OWE3EEG7.js → settings-LF43ODWF.js} +86 -86
  99. package/dist/cli/{settings-JXTFX5G2.mjs → settings-YA3ZNWZA.mjs} +13 -13
  100. package/dist/cli/{setup-FG37SKMB.mjs → setup-26D6ZPSI.mjs} +10 -10
  101. package/dist/cli/{setup-Z5BEQKA7.js → setup-XBY4GXCA.js} +50 -50
  102. package/dist/cli/{skills-UGNCBZTJ.mjs → skills-LYPZTDUL.mjs} +8 -8
  103. package/dist/cli/skills-ZA7YZBQC.js +37 -0
  104. package/dist/cli/{tools-J3PKLQSL.mjs → tools-5JNLULNK.mjs} +17 -17
  105. package/dist/cli/tools-LBDNLH4V.js +57 -0
  106. package/dist/cli/update-CEH2LRAC.js +35 -0
  107. package/dist/cli/{update-GGZ2XTMZ.mjs → update-UIO6RHIB.mjs} +10 -10
  108. package/dist/cli/{workflow-C66BBXHH.mjs → workflow-H5UVEIGG.mjs} +7 -7
  109. package/dist/cli/{workflow-AUZCSCZP.js → workflow-UQ2S2X42.js} +17 -17
  110. package/dist/index.js +9 -9
  111. package/dist/index.mjs +6 -6
  112. package/dist/install-integrity.json +104 -104
  113. package/dist/release.d.mts +1 -1
  114. package/dist/release.d.ts +1 -1
  115. package/dist/release.js +2 -2
  116. package/dist/release.mjs +1 -1
  117. package/dist/server.js +5 -5
  118. package/dist/server.mjs +3 -3
  119. package/package.json +1 -1
  120. package/dist/cli/auth-SM5GLO45.js +0 -43
  121. package/dist/cli/describe-KPGQP4LH.js +0 -50
  122. package/dist/cli/git-U353JURQ.js +0 -25
  123. package/dist/cli/search-4ZQOFG7G.js +0 -33
  124. package/dist/cli/sessions-GDSJ72XI.js +0 -18
  125. package/dist/cli/skills-SIX5OTNX.js +0 -37
  126. package/dist/cli/tools-EZOV37MQ.js +0 -57
  127. package/dist/cli/update-ISU7YN34.js +0 -35
@@ -4,20 +4,21 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkMQK5SY5Njs = require('./chunk-MQK5SY5N.js');
7
+ var _chunkF6OXFG5Kjs = require('./chunk-F6OXFG5K.js');
8
8
 
9
9
 
10
- var _chunkRLVSWAWBjs = require('./chunk-RLVSWAWB.js');
11
10
 
11
+ var _chunkZ7YEZWP3js = require('./chunk-Z7YEZWP3.js');
12
12
 
13
13
 
14
- var _chunkLV2DGEJ3js = require('./chunk-LV2DGEJ3.js');
15
14
 
15
+ var _chunk5I2L6VMPjs = require('./chunk-5I2L6VMP.js');
16
16
 
17
- var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
18
17
 
18
+ var _chunkFGKQ2MVAjs = require('./chunk-FGKQ2MVA.js');
19
19
 
20
- var _chunk2CTTSNFEjs = require('./chunk-2CTTSNFE.js');
20
+
21
+ var _chunkZEZAFOH3js = require('./chunk-ZEZAFOH3.js');
21
22
 
22
23
  // src/cli/compatibility-catalog.ts
23
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +45,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
45
  async function reportAutoUpdateEvent(input) {
45
46
  let apiKey = "";
46
47
  try {
47
- apiKey = _chunkA253CMOIjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
+ apiKey = _chunkFGKQ2MVAjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
49
  } catch (e2) {
49
50
  return;
50
51
  }
@@ -60,15 +61,15 @@ async function reportAutoUpdateEvent(input) {
60
61
  headers: {
61
62
  Authorization: `Bearer ${apiKey}`,
62
63
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunk2CTTSNFEjs.SDK_VERSION}`,
64
+ "User-Agent": `deepline-ts-sdk/${_chunkZEZAFOH3js.SDK_VERSION}`,
64
65
  "X-Deepline-Client-Family": "sdk",
65
66
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunk2CTTSNFEjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunk2CTTSNFEjs.SDK_VERSION
67
+ "X-Deepline-CLI-Version": _chunkZEZAFOH3js.SDK_VERSION,
68
+ "X-Deepline-SDK-Version": _chunkZEZAFOH3js.SDK_VERSION
68
69
  },
69
70
  body: JSON.stringify({
70
71
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk2CTTSNFEjs.SDK_VERSION,
72
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkZEZAFOH3js.SDK_VERSION,
72
73
  target_version: input.response.latest,
73
74
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
75
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +88,13 @@ function envTruthy(name) {
87
88
  return value === "1" || value === "true" || value === "yes";
88
89
  }
89
90
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkMQK5SY5Njs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkRLVSWAWBjs.isCiEnvironment.call(void 0, );
91
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkF6OXFG5Kjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkZ7YEZWP3js.isCiEnvironment.call(void 0, );
91
92
  }
92
93
  function isDowngradeAutoUpdateResponse(response) {
93
94
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk2CTTSNFEjs.SDK_VERSION;
95
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkZEZAFOH3js.SDK_VERSION;
95
96
  if (!target) return false;
96
- return _chunkMQK5SY5Njs.compareUpdateVersions.call(void 0, target, current) < 0;
97
+ return _chunkF6OXFG5Kjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
98
  }
98
99
  function relaunchCurrentCommand(plan, runtime = {}) {
99
100
  return new Promise((resolve) => {
@@ -146,7 +147,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
147
  }
147
148
  if (isDowngradeAutoUpdateResponse(response)) {
148
149
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk2CTTSNFEjs.SDK_VERSION;
150
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkZEZAFOH3js.SDK_VERSION;
150
151
  process.stderr.write(
151
152
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
153
  `
@@ -154,21 +155,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
155
  return false;
155
156
  }
156
157
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkMQK5SY5Njs.resolveUpdatePlan.call(void 0, {
158
+ const plan = _chunkF6OXFG5Kjs.resolveUpdatePlan.call(void 0, {
158
159
  packageSpec,
159
160
  requireVerifiedNpmOwnership: true,
160
161
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
162
  });
162
- if (!_chunkMQK5SY5Njs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
+ if (!_chunkF6OXFG5Kjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
164
  return false;
164
165
  }
165
166
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
167
  deferredAutoUpdate = async () => {
167
168
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
169
  };
169
- if (_chunkLV2DGEJ3js.isJsonOutputMode.call(void 0, )) {
170
+ if (_chunk5I2L6VMPjs.isJsonOutputMode.call(void 0, )) {
170
171
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunkLV2DGEJ3js.addJsonNotice.call(void 0, {
172
+ _chunk5I2L6VMPjs.addJsonNotice.call(void 0, {
172
173
  code: "sdk_update_queued",
173
174
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
175
  });
@@ -181,7 +182,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
182
  return true;
182
183
  }
183
184
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkMQK5SY5Njs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
+ if (!_chunkF6OXFG5Kjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
186
  const autoUpdate = response.auto_update;
186
187
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
187
188
  process.stderr.write(
@@ -194,7 +195,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
195
  event: "started",
195
196
  installKind: plan.kind
196
197
  });
197
- const updateResult = await _chunkMQK5SY5Njs.runAutomaticUpdatePlan.call(void 0, plan);
198
+ const updateResult = await _chunkF6OXFG5Kjs.runAutomaticUpdatePlan.call(void 0, plan);
198
199
  if (updateResult.status === "skipped_previous_failure") {
199
200
  void reportAutoUpdateEvent({
200
201
  baseUrl,
@@ -231,6 +232,20 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
231
232
  installKind: plan.kind,
232
233
  exitCode: 0
233
234
  });
235
+ try {
236
+ await _chunkZ7YEZWP3js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ mode: "detached",
238
+ update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
239
+ afterCliUpdate: {
240
+ sidecarPath: plan.kind === "python-sidecar" ? plan.sidecarPath : void 0
241
+ }
242
+ });
243
+ } catch (error) {
244
+ process.stderr.write(
245
+ `Deepline SDK/CLI updated, but could not start the skills refresh: ${error instanceof Error ? error.message : String(error)}
246
+ `
247
+ );
248
+ }
234
249
  const updateSummary = response.update_summary ? `
235
250
  What changed in ${response.update_summary.version}: ${response.update_summary.summary}` : "";
236
251
  process.stderr.write(
@@ -245,7 +260,7 @@ var _crypto = require('crypto');
245
260
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
261
  var activeToolExecuteCommand = null;
247
262
  function progressLine(line) {
248
- if (!_chunkLV2DGEJ3js.isJsonOutputMode.call(void 0, )) console.error(line);
263
+ if (!_chunk5I2L6VMPjs.isJsonOutputMode.call(void 0, )) console.error(line);
249
264
  }
250
265
  function beginToolExecuteCommand() {
251
266
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -258,7 +273,7 @@ function beginToolExecuteCommand() {
258
273
  return invocationId;
259
274
  }
260
275
  function getToolExecuteInvocationId() {
261
- return _nullishCoalesce(_optionalChain([activeToolExecuteCommand, 'optionalAccess', _36 => _36.invocationId]), () => ( null));
276
+ return _nullishCoalesce(_optionalChain([activeToolExecuteCommand, 'optionalAccess', _38 => _38.invocationId]), () => ( null));
262
277
  }
263
278
  async function runToolExecuteStage(stage, action) {
264
279
  const command = activeToolExecuteCommand;
@@ -271,7 +286,7 @@ async function runToolExecuteStage(stage, action) {
271
286
  `[tool call ${command.invocationId}] ${stage} still running (${elapsedMs()}ms)`
272
287
  );
273
288
  }, TOOL_EXECUTE_PROGRESS_INTERVAL_MS);
274
- _optionalChain([progressTimer, 'access', _37 => _37.unref, 'optionalCall', _38 => _38()]);
289
+ _optionalChain([progressTimer, 'access', _39 => _39.unref, 'optionalCall', _40 => _40()]);
275
290
  try {
276
291
  const result = await action();
277
292
  if (result === false) {
@@ -1,16 +1,16 @@
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 _chunk5LBXLQRWjs = require('./chunk-5LBXLQRW.js');
3
+ var _chunk5TOFI5GCjs = require('./chunk-5TOFI5GC.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
7
+ var _chunkFGKQ2MVAjs = require('./chunk-FGKQ2MVA.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunk5LBXLQRWjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunk5TOFI5GCjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkA253CMOIjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkA253CMOIjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkFGKQ2MVAjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkFGKQ2MVAjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkLV2DGEJ3js = require('./chunk-LV2DGEJ3.js');
5
+ var _chunk5I2L6VMPjs = require('./chunk-5I2L6VMP.js');
6
6
 
7
7
 
8
- var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
8
+ var _chunkFGKQ2MVAjs = require('./chunk-FGKQ2MVA.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
39
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
139
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
153
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
200
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
227
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
254
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
269
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkA253CMOIjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkFGKQ2MVAjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkLV2DGEJ3js.openInBrowser.call(void 0, connectUrl);
292
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk5I2L6VMPjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
322
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
371
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkLV2DGEJ3js.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk5I2L6VMPjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
392
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -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 _chunkLV2DGEJ3js = require('./chunk-LV2DGEJ3.js');
3
+ var _chunk5I2L6VMPjs = require('./chunk-5I2L6VMP.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
- _chunkLV2DGEJ3js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunk5I2L6VMPjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -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 _chunkRLVSWAWBjs = require('./chunk-RLVSWAWB.js');
3
+ var _chunkZ7YEZWP3js = require('./chunk-Z7YEZWP3.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 = _chunkRLVSWAWBjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkZ7YEZWP3js.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,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-RFN7OKT2.mjs";
4
+ } from "./chunk-FHJTOHSE.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-MJIS4XAZ.mjs";
7
+ } from "./chunk-2T6ZOAXX.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-54IH5U3I.mjs";
10
+ } from "./chunk-TYUC56PS.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-G6A7CGFV.mjs";
13
+ } from "./chunk-TX4OUEUU.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-6OIRN4PC.mjs";
16
+ } from "./chunk-ZMFR4BKH.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -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 _chunkFPWOEK7Gjs = require('./chunk-FPWOEK7G.js');
3
+ var _chunkJUCUJFBHjs = require('./chunk-JUCUJFBH.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkRLVSWAWBjs = require('./chunk-RLVSWAWB.js');
8
+ var _chunkZ7YEZWP3js = require('./chunk-Z7YEZWP3.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") _chunkRLVSWAWBjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkFPWOEK7Gjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkZ7YEZWP3js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkJUCUJFBHjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkRLVSWAWBjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkZ7YEZWP3js.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
- _chunkRLVSWAWBjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkZ7YEZWP3js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-H7L5MS5E.mjs";
6
+ } from "./chunk-6FM7YDHA.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-N4TR6QRI.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-G6A7CGFV.mjs";
14
+ } from "./chunk-TX4OUEUU.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-DBBLPDXK.mjs";
3
+ } from "./chunk-ZL4C3NPO.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-G6A7CGFV.mjs";
7
+ } from "./chunk-TX4OUEUU.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment
10
- } from "./chunk-6SSISVXD.mjs";
10
+ } from "./chunk-62PFEEX3.mjs";
11
11
 
12
12
  // src/cli/commands/sessions.ts
13
13
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-G6A7CGFV.mjs";
3
+ } from "./chunk-TX4OUEUU.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -1,6 +1,6 @@
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 _chunkLV2DGEJ3js = require('./chunk-LV2DGEJ3.js');
3
+ var _chunk5I2L6VMPjs = require('./chunk-5I2L6VMP.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
60
+ _chunk5I2L6VMPjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-7ZCXQDOQ.mjs";
6
+ } from "./chunk-RK5V6MFG.mjs";
7
7
  import {
8
8
  resolveSdkCliFailureExitCode
9
- } from "./chunk-RVMV4MXO.mjs";
9
+ } from "./chunk-5YFBVXFQ.mjs";
10
10
  import {
11
11
  errorToJsonPayload,
12
12
  printCommandEnvelope
13
- } from "./chunk-G6A7CGFV.mjs";
13
+ } from "./chunk-TX4OUEUU.mjs";
14
14
  import {
15
15
  resolveConfig,
16
16
  sdkCliStateDirPath
17
- } from "./chunk-6OIRN4PC.mjs";
17
+ } from "./chunk-ZMFR4BKH.mjs";
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  import { Option } from "commander";
@@ -136,7 +136,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
136
136
  }
137
137
  const client = new DeeplineClient();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await import("./search-output-THOAHTCU.mjs");
139
+ const renderer = json ? void 0 : await import("./search-output-HGO5JVJO.mjs");
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-G6A7CGFV.mjs";
11
+ } from "./chunk-TX4OUEUU.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -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.514",
52
+ version: "0.3.515",
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,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-H7L5MS5E.mjs";
3
+ } from "./chunk-6FM7YDHA.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-6OIRN4PC.mjs";
7
+ } from "./chunk-ZMFR4BKH.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -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 _chunk5LBXLQRWjs = require('./chunk-5LBXLQRW.js');
3
+ var _chunk5TOFI5GCjs = require('./chunk-5TOFI5GC.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
7
+ var _chunkFGKQ2MVAjs = require('./chunk-FGKQ2MVA.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 = _chunkA253CMOIjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunk5LBXLQRWjs.PlayClient)(
142
- new (0, _chunkA253CMOIjs.HttpClient)(config),
140
+ const config = _chunkFGKQ2MVAjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk5TOFI5GCjs.PlayClient)(
142
+ new (0, _chunkFGKQ2MVAjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }