deepline 0.3.514 → 0.3.516

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 (180) hide show
  1. package/dist/bundling-sources/sdk/src/errors.ts +1 -0
  2. package/dist/bundling-sources/sdk/src/http-core.ts +9 -4
  3. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +30 -15
  6. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +6 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +71 -1
  8. package/dist/bundling-sources/shared_libs/play-runtime/secret-redaction.ts +20 -7
  9. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +3 -1
  10. package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +45 -0
  11. package/dist/bundling-sources/shared_libs/tool-execution-error.ts +45 -0
  12. package/dist/cli/{artifacts-GNFL5LY4.mjs → artifacts-G56FISIE.mjs} +9 -9
  13. package/dist/cli/{artifacts-OZRO4LHT.js → artifacts-KMWS32R5.js} +21 -21
  14. package/dist/cli/auth-6EIEZ3UE.js +43 -0
  15. package/dist/cli/{auth-53EDAX7Y.mjs → auth-RSS7MOBV.mjs} +7 -7
  16. package/dist/cli/{billing-ZMX2V5X3.mjs → billing-2ALO3XEG.mjs} +10 -10
  17. package/dist/cli/{billing-B6V3FELL.js → billing-RCC6WBIZ.js} +93 -93
  18. package/dist/cli/{chunk-753MZFDF.mjs → chunk-2YEFJHAF.mjs} +3 -3
  19. package/dist/cli/{chunk-BBDWIUJA.js → chunk-4IIK6GIY.js} +17 -17
  20. package/dist/cli/{chunk-DMBCJFGY.mjs → chunk-5NU37KME.mjs} +2 -2
  21. package/dist/cli/{chunk-Z5WO6IBV.mjs → chunk-6ADGVZRX.mjs} +21 -6
  22. package/dist/cli/{chunk-RNSHCJME.js → chunk-6Y3DDRRN.js} +30 -30
  23. package/dist/cli/{chunk-NXT52SIV.js → chunk-6ZLL5GDN.js} +2 -2
  24. package/dist/cli/{chunk-QSFAUGFK.js → chunk-72L5HQ3J.js} +5 -5
  25. package/dist/cli/{chunk-DLYWOHO4.mjs → chunk-72MFP7V4.mjs} +1 -1
  26. package/dist/cli/{chunk-MF7ZVWJK.js → chunk-7R2V5Z6O.js} +41 -41
  27. package/dist/cli/{chunk-W3TN352L.mjs → chunk-C2SR3X7Y.mjs} +4 -4
  28. package/dist/cli/{chunk-76M3DL5G.mjs → chunk-C72J6JE3.mjs} +1 -1
  29. package/dist/cli/{chunk-RMRZ4BC4.mjs → chunk-CA24C3XL.mjs} +4 -4
  30. package/dist/cli/{chunk-2RCZCWPO.js → chunk-CKEZXNMV.js} +6 -6
  31. package/dist/cli/{chunk-C24VEYSP.js → chunk-D4OZSC3C.js} +8 -4
  32. package/dist/cli/{chunk-EVTD3ELD.mjs → chunk-E7ZM2ZRD.mjs} +5 -5
  33. package/dist/cli/{chunk-MJIS4XAZ.mjs → chunk-EYWP5JPU.mjs} +4 -4
  34. package/dist/cli/{chunk-TG4IMWAL.js → chunk-FIIBDWAO.js} +55 -55
  35. package/dist/cli/{chunk-7MJYZ33I.mjs → chunk-GJYLC4JB.mjs} +1 -1
  36. package/dist/cli/{chunk-7MBI2OLW.mjs → chunk-H6BSB2YJ.mjs} +1 -1
  37. package/dist/cli/{chunk-N4TR6QRI.mjs → chunk-HT675XNR.mjs} +1 -1
  38. package/dist/cli/{chunk-IZJGOMCW.mjs → chunk-HY6KAW5H.mjs} +5 -5
  39. package/dist/cli/{chunk-ILITNKGM.mjs → chunk-J4VMWSQK.mjs} +7 -7
  40. package/dist/cli/{chunk-TZS4G7CS.js → chunk-JB6FEEDQ.js} +2 -2
  41. package/dist/cli/{chunk-6FYGFIXD.mjs → chunk-JPLEDOEW.mjs} +2 -2
  42. package/dist/cli/{chunk-7ZCXQDOQ.mjs → chunk-LCKAG5RL.mjs} +2 -2
  43. package/dist/cli/{chunk-RVMV4MXO.mjs → chunk-LWUFEX26.mjs} +3 -3
  44. package/dist/cli/{chunk-FPWOEK7G.js → chunk-LZROM6VQ.js} +2 -2
  45. package/dist/cli/{chunk-RLVSWAWB.js → chunk-N6Q5SDGA.js} +62 -51
  46. package/dist/cli/{chunk-A6QCMBGL.js → chunk-NRO3NTVO.js} +5 -5
  47. package/dist/cli/{chunk-VLIDBQYL.js → chunk-P6AADORO.js} +3 -3
  48. package/dist/cli/{chunk-55WBE4UK.js → chunk-PKKSXXZ5.js} +26 -26
  49. package/dist/cli/{chunk-G6PUQQJP.js → chunk-PMS3LQ6B.js} +5 -5
  50. package/dist/cli/{chunk-JC3ABOZP.js → chunk-PPYJXP4Z.js} +38 -23
  51. package/dist/cli/{chunk-6SSISVXD.mjs → chunk-PVVWKOEB.mjs} +8 -7
  52. package/dist/cli/{chunk-DBBLPDXK.mjs → chunk-Q47MAAHI.mjs} +1 -1
  53. package/dist/cli/{chunk-2CTTSNFE.js → chunk-QG3MRMU5.js} +58 -57
  54. package/dist/cli/{chunk-53F6JDQ3.mjs → chunk-QG4LIOGI.mjs} +2 -2
  55. package/dist/cli/{chunk-4QF2K7TM.mjs → chunk-QNHHZ63P.mjs} +1 -1
  56. package/dist/cli/{chunk-A253CMOI.js → chunk-QUSYG3VP.js} +8 -8
  57. package/dist/cli/{chunk-T4NQ2ZOH.js → chunk-QX7WDG4V.js} +11 -11
  58. package/dist/cli/{chunk-MQK5SY5N.js → chunk-RB3OR32I.js} +16 -16
  59. package/dist/cli/{chunk-RFN7OKT2.mjs → chunk-RB5EMAWD.mjs} +1 -1
  60. package/dist/cli/{chunk-WP3ULMRU.js → chunk-RLI6FDQM.js} +6 -6
  61. package/dist/cli/{chunk-TMQUMILM.js → chunk-RVHUW4TN.js} +2 -2
  62. package/dist/cli/{chunk-DIAWYWT5.js → chunk-SQWET4SL.js} +18 -1
  63. package/dist/cli/{chunk-OZDT2CZW.mjs → chunk-STR5LXK4.mjs} +1 -1
  64. package/dist/cli/{chunk-ALJJRZNJ.js → chunk-T2N3B7IQ.js} +8 -8
  65. package/dist/cli/{chunk-OQ4JV3IW.js → chunk-TZNQRKDF.js} +1 -1
  66. package/dist/cli/{chunk-CUMA6DE2.js → chunk-UW5QWTUG.js} +19 -19
  67. package/dist/cli/{chunk-G6A7CGFV.mjs → chunk-V46UBZBJ.mjs} +6 -3
  68. package/dist/cli/{chunk-R5PJ6XZI.js → chunk-VIZJIBI4.js} +10 -10
  69. package/dist/cli/{chunk-Y2RIMVEM.js → chunk-W5I53WQ4.js} +112 -112
  70. package/dist/cli/{chunk-H7L5MS5E.mjs → chunk-WCQ7JGDV.mjs} +4 -4
  71. package/dist/cli/{chunk-7KD4IYLA.js → chunk-WE223LFR.js} +19 -19
  72. package/dist/cli/{chunk-H53YG6QG.mjs → chunk-X2YP36YP.mjs} +1 -1
  73. package/dist/cli/{chunk-LV2DGEJ3.js → chunk-XEQBYK4B.js} +16 -13
  74. package/dist/cli/{chunk-5LBXLQRW.js → chunk-YS7AI7R6.js} +108 -108
  75. package/dist/cli/{chunk-HJ5B67S3.mjs → chunk-YXGTO5XA.mjs} +8 -4
  76. package/dist/cli/{chunk-54IH5U3I.mjs → chunk-Z3KLCDCB.mjs} +23 -12
  77. package/dist/cli/{chunk-6OIRN4PC.mjs → chunk-ZFRN3B2R.mjs} +2 -2
  78. package/dist/cli/{chunk-EO52BKGA.mjs → chunk-ZMCQP4EU.mjs} +11 -11
  79. package/dist/cli/{chunk-HBL4PM5Q.mjs → chunk-ZPGGW27Q.mjs} +17 -0
  80. package/dist/cli/command-docs.js +2 -2
  81. package/dist/cli/command-docs.mjs +1 -1
  82. package/dist/cli/{csv-2BLYUV2G.js → csv-RPR64UBS.js} +15 -15
  83. package/dist/cli/{csv-ONKAMLL4.mjs → csv-YXK5TB47.mjs} +6 -6
  84. package/dist/cli/{db-YKT6LEQ3.js → db-KO3JCGRG.js} +36 -36
  85. package/dist/cli/{db-4GVSGAXL.mjs → db-UQYILAMF.mjs} +9 -9
  86. package/dist/cli/describe-BPX3U2BF.js +50 -0
  87. package/dist/cli/describe-P2OK5X2S.mjs +50 -0
  88. package/dist/cli/describe-core.d.mts +3 -3
  89. package/dist/cli/describe-core.d.ts +3 -3
  90. package/dist/cli/describe-core.js +4 -4
  91. package/dist/cli/describe-core.mjs +3 -3
  92. package/dist/cli/{executions-VFCU5NGH.js → executions-5Z7H7HV3.js} +11 -11
  93. package/dist/cli/{executions-7OSL25KJ.mjs → executions-IQCRQXVA.mjs} +9 -9
  94. package/dist/cli/{feedback-ERTOLEC4.js → feedback-EDZJDARP.js} +12 -12
  95. package/dist/cli/{feedback-RPZELEA5.mjs → feedback-ZO6A4HTV.mjs} +7 -7
  96. package/dist/cli/{git-XKRQZ4A6.mjs → git-OBXSILWM.mjs} +7 -7
  97. package/dist/cli/git-Y34J73QC.js +25 -0
  98. package/dist/cli/index.js +150 -150
  99. package/dist/cli/index.mjs +46 -46
  100. package/dist/cli/{legacy-noops-MZCFS2FQ.mjs → legacy-noops-4UJM3FMN.mjs} +8 -8
  101. package/dist/cli/{legacy-noops-HG3M5HGZ.js → legacy-noops-HKXU2EU6.js} +11 -11
  102. package/dist/cli/{monitors-MESMMU5P.js → monitors-7EP3Q2DX.js} +110 -110
  103. package/dist/cli/{monitors-GBO5XAEZ.mjs → monitors-ZXF2KCW7.mjs} +10 -10
  104. package/dist/cli/{org-DJRNWIPO.mjs → org-EDHCUR6V.mjs} +9 -9
  105. package/dist/cli/{org-EZPREEWH.js → org-GFGOTUWP.js} +75 -75
  106. package/dist/cli/{pages-36BHVOFL.mjs → pages-EGEWMPJN.mjs} +9 -9
  107. package/dist/cli/{pages-ACI7VV6I.js → pages-TLFQQL5S.js} +21 -21
  108. package/dist/cli/{play-SUSVQHX5.mjs → play-NBO3MPDL.mjs} +22 -22
  109. package/dist/cli/{play-KCLLAGWR.js → play-XDHJY5R4.js} +392 -392
  110. package/dist/cli/{providers-MV2YW3J5.mjs → providers-NXJ7WPNH.mjs} +9 -9
  111. package/dist/cli/{providers-YFO3EFLK.js → providers-RU6BGEDM.js} +12 -12
  112. package/dist/cli/{quickstart-MATFTZVQ.js → quickstart-4ZZBMZPF.js} +8 -8
  113. package/dist/cli/{quickstart-KMXU2T3Z.mjs → quickstart-YBNDPNAR.mjs} +6 -6
  114. package/dist/cli/{run-UW5FM64G.js → run-374CTJBV.js} +46 -46
  115. package/dist/cli/{run-YRYVGUCJ.mjs → run-LX52KVZM.mjs} +27 -27
  116. package/dist/cli/{search-WF3Q3I5X.mjs → search-EH6JPV62.mjs} +11 -11
  117. package/dist/cli/search-YS4DHSQC.js +33 -0
  118. package/dist/cli/{search-output-BG743WAM.js → search-output-NATLJOWW.js} +9 -9
  119. package/dist/cli/{search-output-THOAHTCU.mjs → search-output-XIQERUHF.mjs} +7 -7
  120. package/dist/cli/{secrets-EOGBWN44.js → secrets-A3UXDE5V.js} +18 -18
  121. package/dist/cli/{secrets-LM7OTAUE.mjs → secrets-VRJQFUKF.mjs} +9 -9
  122. package/dist/cli/sessions-5TTH5FGZ.mjs +18 -0
  123. package/dist/cli/sessions-EXII5VOV.js +18 -0
  124. package/dist/cli/{settings-OWE3EEG7.js → settings-LX5EGLVT.js} +89 -89
  125. package/dist/cli/{settings-JXTFX5G2.mjs → settings-VRGFTOTJ.mjs} +16 -16
  126. package/dist/cli/{setup-FG37SKMB.mjs → setup-FXP5Y3Y6.mjs} +12 -12
  127. package/dist/cli/{setup-Z5BEQKA7.js → setup-QL4YWKOR.js} +52 -52
  128. package/dist/cli/skills-5L4CYX3V.js +37 -0
  129. package/dist/cli/{skills-UGNCBZTJ.mjs → skills-ET4PMBJE.mjs} +10 -10
  130. package/dist/cli/tools-5V77VIUA.js +57 -0
  131. package/dist/cli/{tools-J3PKLQSL.mjs → tools-WPL3NZAA.mjs} +20 -20
  132. package/dist/cli/update-G5RSSWM5.js +35 -0
  133. package/dist/cli/{update-GGZ2XTMZ.mjs → update-OCAHAKL2.mjs} +12 -12
  134. package/dist/cli/{workflow-AUZCSCZP.js → workflow-CWO3XL4O.js} +20 -20
  135. package/dist/cli/{workflow-C66BBXHH.mjs → workflow-NPZ2RLQG.mjs} +10 -10
  136. package/dist/{client-CmlKSBXd.d.ts → client-CQSPuqxh.d.ts} +1 -1
  137. package/dist/{client-By7bUS8h.d.mts → client-K1g4ab5Y.d.mts} +1 -1
  138. package/dist/{client-core-BZ3tpY_J.d.mts → client-core-BksGf5Gd.d.mts} +1 -1
  139. package/dist/{client-core-BM0mKhgp.d.ts → client-core-BlaqOlQ7.d.ts} +1 -1
  140. package/dist/{compiler-manifest-BeURaD5Y.d.mts → compiler-manifest-BliMS7ax.d.mts} +14 -1
  141. package/dist/{compiler-manifest-BeURaD5Y.d.ts → compiler-manifest-BliMS7ax.d.ts} +14 -1
  142. package/dist/{errors-kBuT4kGK.d.mts → errors-BZ6Zq1cz.d.mts} +1 -1
  143. package/dist/{errors-BoPXPrSy.d.ts → errors-xfNscfS1.d.ts} +1 -1
  144. package/dist/{index-DC7oRAAC.d.mts → index-DbvCg4zg.d.mts} +1 -1
  145. package/dist/{index-D0crdGM1.d.ts → index-FGdQv8J8.d.ts} +1 -1
  146. package/dist/index.d.mts +7 -7
  147. package/dist/index.d.ts +7 -7
  148. package/dist/index.js +13 -13
  149. package/dist/index.mjs +9 -9
  150. package/dist/install-integrity.json +126 -126
  151. package/dist/plays/bundle-play-file.d.mts +3 -3
  152. package/dist/plays/bundle-play-file.d.ts +3 -3
  153. package/dist/plays/bundle-play-file.mjs +1 -1
  154. package/dist/plays/csv-data-input.js +3 -3
  155. package/dist/plays/csv-data-input.mjs +2 -2
  156. package/dist/plays/play-description.d.mts +2 -2
  157. package/dist/plays/play-description.d.ts +2 -2
  158. package/dist/plays/run-request.d.mts +2 -2
  159. package/dist/plays/run-request.d.ts +2 -2
  160. package/dist/plays/run-request.js +3 -3
  161. package/dist/plays/run-request.mjs +2 -2
  162. package/dist/release.d.mts +1 -1
  163. package/dist/release.d.ts +1 -1
  164. package/dist/release.js +2 -2
  165. package/dist/release.mjs +1 -1
  166. package/dist/server.d.mts +4 -4
  167. package/dist/server.d.ts +4 -4
  168. package/dist/server.js +12 -12
  169. package/dist/server.mjs +6 -6
  170. package/package.json +1 -1
  171. package/dist/cli/auth-SM5GLO45.js +0 -43
  172. package/dist/cli/describe-KPGQP4LH.js +0 -50
  173. package/dist/cli/describe-PRT2WQMS.mjs +0 -50
  174. package/dist/cli/git-U353JURQ.js +0 -25
  175. package/dist/cli/search-4ZQOFG7G.js +0 -33
  176. package/dist/cli/sessions-GDSJ72XI.js +0 -18
  177. package/dist/cli/sessions-SP2JL27H.mjs +0 -18
  178. package/dist/cli/skills-SIX5OTNX.js +0 -37
  179. package/dist/cli/tools-EZOV37MQ.js +0 -57
  180. package/dist/cli/update-ISU7YN34.js +0 -35
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkRLVSWAWBjs = require('./chunk-RLVSWAWB.js');
14
+ var _chunkN6Q5SDGAjs = require('./chunk-N6Q5SDGA.js');
15
15
 
16
16
 
17
- var _chunkLV2DGEJ3js = require('./chunk-LV2DGEJ3.js');
17
+ var _chunkXEQBYK4Bjs = require('./chunk-XEQBYK4B.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
23
+ var _chunkQUSYG3VPjs = require('./chunk-QUSYG3VP.js');
24
24
 
25
25
 
26
26
 
27
- var _chunk2CTTSNFEjs = require('./chunk-2CTTSNFE.js');
27
+ var _chunkQG3MRMU5js = require('./chunk-QG3MRMU5.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkA253CMOIjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkQUSYG3VPjs.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunk2CTTSNFEjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkQG3MRMU5js.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkA253CMOIjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkQUSYG3VPjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkRLVSWAWBjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkN6Q5SDGAjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkRLVSWAWBjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkN6Q5SDGAjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkRLVSWAWBjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkN6Q5SDGAjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkRLVSWAWBjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkN6Q5SDGAjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkRLVSWAWBjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkN6Q5SDGAjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunkRLVSWAWBjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkN6Q5SDGAjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkRLVSWAWBjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkN6Q5SDGAjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkA253CMOIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkQUSYG3VPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
303
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
313
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
330
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
353
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkA253CMOIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkQUSYG3VPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkRLVSWAWBjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunk2CTTSNFEjs.SDK_VERSION
367
+ skillNames: [..._chunkN6Q5SDGAjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkQG3MRMU5js.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
373
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkRLVSWAWBjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkN6Q5SDGAjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkRLVSWAWBjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkN6Q5SDGAjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkA253CMOIjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkQUSYG3VPjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkRLVSWAWBjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkN6Q5SDGAjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkRLVSWAWBjs.SkillsStateUnavailableError)) throw error;
433
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkN6Q5SDGAjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
449
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkRLVSWAWBjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkN6Q5SDGAjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
507
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
523
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunk2CTTSNFEjs.SDK_VERSION,
563
+ cliVersion: _chunkQG3MRMU5js.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkRLVSWAWBjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkN6Q5SDGAjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
578
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkRLVSWAWBjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkN6Q5SDGAjs.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkRLVSWAWBjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkN6Q5SDGAjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunkLV2DGEJ3js.printCommandEnvelope.call(void 0,
645
+ _chunkXEQBYK4Bjs.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkRLVSWAWBjs.syncSdkSkillsIfNeeded.call(void 0, _chunkA253CMOIjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkN6Q5SDGAjs.syncSdkSkillsIfNeeded.call(void 0, _chunkQUSYG3VPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-H7L5MS5E.mjs";
6
+ } from "./chunk-WCQ7JGDV.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
- } from "./chunk-N4TR6QRI.mjs";
9
+ } from "./chunk-HT675XNR.mjs";
10
10
  import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-G6A7CGFV.mjs";
14
+ } from "./chunk-V46UBZBJ.mjs";
15
15
  import {
16
16
  DeeplineError
17
- } from "./chunk-HBL4PM5Q.mjs";
17
+ } from "./chunk-ZPGGW27Q.mjs";
18
18
 
19
19
  // ../play-runtime/governor/policy.ts
20
20
  var DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS = 64;
@@ -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.516",
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."
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-G6A7CGFV.mjs";
5
+ } from "./chunk-V46UBZBJ.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,17 +22,17 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-6OIRN4PC.mjs";
25
+ } from "./chunk-ZFRN3B2R.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  connectionFailureMessage,
30
30
  detectAgentRuntime,
31
31
  networkCauseCode
32
- } from "./chunk-6SSISVXD.mjs";
32
+ } from "./chunk-PVVWKOEB.mjs";
33
33
  import {
34
34
  DeeplineError
35
- } from "./chunk-HBL4PM5Q.mjs";
35
+ } from "./chunk-ZPGGW27Q.mjs";
36
36
 
37
37
  // src/cli/commands/auth.ts
38
38
  import {
@@ -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 _chunkLZROM6VQjs = require('./chunk-LZROM6VQ.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkRLVSWAWBjs = require('./chunk-RLVSWAWB.js');
8
+ var _chunkN6Q5SDGAjs = require('./chunk-N6Q5SDGA.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") _chunkN6Q5SDGAjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkLZROM6VQjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkRLVSWAWBjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkN6Q5SDGAjs.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
+ _chunkN6Q5SDGAjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -719,10 +719,12 @@ Output (JSON):
719
719
  listSourcePath}, summary, next, render.sections.
720
720
  Failures:
721
721
  A failed call prints {ok:false, status:"failed", statusCode, error} and
722
- exits non-zero. Treat ok:false or a non-zero exit as a failure, never as an
723
- empty result: record the row as failed and retry it, not as "no match".
722
+ exits non-zero. Record the row as failed and check
723
+ error.tool_error.retryable before repeating the call.
724
724
  statusCode 429 is a rate or quota refusal; retry after the delay in
725
725
  error.tool_error.retryAfterMs.
726
+ When a connected provider returns a failure, error.upstreamResponse
727
+ includes its HTTP status and body, with echoed authentication masked.
726
728
  ]]
727
729
  [[mcp:
728
730
  Output:
@@ -1626,8 +1628,10 @@ Input:
1626
1628
  row's actual schema before extracting keys.
1627
1629
  ]]
1628
1630
  Output (JSON):
1629
- One outcome per key, in the order asked, duplicates kept. A successful
1630
- entry holds result.toolResponse; an error stays with its key.
1631
+ One outcome per key, in the order asked, duplicates kept. A retained
1632
+ entry holds result.toolResponse. A failed call made with a connected
1633
+ provider can have result.toolResponse.rawV2.upstreamResponse.
1634
+ Read errors stay with their key.
1631
1635
  Cost:
1632
1636
  Free.
1633
1637
  Avoid:
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-RFN7OKT2.mjs";
4
+ } from "./chunk-RB5EMAWD.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-MJIS4XAZ.mjs";
7
+ } from "./chunk-EYWP5JPU.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-54IH5U3I.mjs";
10
+ } from "./chunk-Z3KLCDCB.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-G6A7CGFV.mjs";
13
+ } from "./chunk-V46UBZBJ.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-6OIRN4PC.mjs";
16
+ } from "./chunk-ZFRN3B2R.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-54IH5U3I.mjs";
14
+ } from "./chunk-Z3KLCDCB.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-G6A7CGFV.mjs";
17
+ } from "./chunk-V46UBZBJ.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-6OIRN4PC.mjs";
23
+ } from "./chunk-ZFRN3B2R.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-6SSISVXD.mjs";
27
+ } from "./chunk-PVVWKOEB.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";