deepline 0.3.549 → 0.3.551

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 (178) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +22 -0
  3. package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +42 -0
  4. package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +31 -0
  5. package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +2 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +2 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +187 -16
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +70 -19
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +854 -3
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +15 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +6 -2
  14. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +43 -0
  15. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
  16. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +38 -5
  17. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  18. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +16 -0
  19. package/dist/cli/auth-B4PI7GVY.js +43 -0
  20. package/dist/cli/{auth-YENF525S.mjs → auth-E7BH4GMJ.mjs} +5 -5
  21. package/dist/cli/{billing-52GAHIDZ.js → billing-DNQAZGX7.js} +99 -99
  22. package/dist/cli/{billing-XPXB27G7.mjs → billing-OXKU462W.mjs} +10 -10
  23. package/dist/cli/chunk-2RIKOPIM.mjs +9 -0
  24. package/dist/cli/{chunk-L6UMWAAY.mjs → chunk-2UXDHFSF.mjs} +1 -1
  25. package/dist/cli/{chunk-XYIECA7M.js → chunk-2WFPHBR4.js} +30 -8
  26. package/dist/cli/{chunk-HWCIU3KY.js → chunk-2ZYRBMQM.js} +23 -22
  27. package/dist/cli/{chunk-NVALIJQS.js → chunk-3G6QZACZ.js} +23 -20
  28. package/dist/cli/{chunk-BPBPY42E.js → chunk-3KYBDAR3.js} +7 -7
  29. package/dist/cli/{chunk-DCTEH6N5.mjs → chunk-3T65J5RG.mjs} +2 -2
  30. package/dist/cli/{chunk-DIRLEJJX.js → chunk-44I675YK.js} +42 -41
  31. package/dist/cli/{chunk-LP2VNGG3.mjs → chunk-44KSACJW.mjs} +2 -2
  32. package/dist/cli/{chunk-X4RGDE4J.mjs → chunk-4D3WIZST.mjs} +1 -1
  33. package/dist/cli/{chunk-7FY7AHR6.js → chunk-4OMAGJ6U.js} +2 -2
  34. package/dist/cli/{chunk-TYOAOSDL.js → chunk-54EEYLTF.js} +3 -3
  35. package/dist/cli/{chunk-PLAJ6HPD.mjs → chunk-5IL7SC45.mjs} +2 -2
  36. package/dist/cli/{chunk-XS72HELO.mjs → chunk-5S6PHKRV.mjs} +2 -1
  37. package/dist/cli/{chunk-4HSSPT73.js → chunk-5VVSEU67.js} +6 -6
  38. package/dist/cli/{chunk-ANOTB6V3.mjs → chunk-6PWJKMFQ.mjs} +5 -4
  39. package/dist/cli/{chunk-MAE3AKDR.mjs → chunk-7DOQ3OEX.mjs} +17 -8
  40. package/dist/cli/{chunk-RMKRZJOS.js → chunk-7RSIFA72.js} +18 -16
  41. package/dist/cli/{chunk-4AUV5QJF.mjs → chunk-7WQNWJQW.mjs} +7 -5
  42. package/dist/cli/{chunk-6P7TGCHQ.mjs → chunk-BGBJV26E.mjs} +10 -3
  43. package/dist/cli/{chunk-UGVXHT62.mjs → chunk-BIIJATTX.mjs} +2 -2
  44. package/dist/cli/{chunk-ADWMIZCB.js → chunk-C4CUZH57.js} +20 -11
  45. package/dist/cli/{chunk-PQX4WTBY.mjs → chunk-CLRAANWH.mjs} +1 -1
  46. package/dist/cli/{chunk-XPYCNA43.js → chunk-COGREZAO.js} +48 -44
  47. package/dist/cli/{chunk-QUELC3B2.js → chunk-CQ6JYQSW.js} +10 -10
  48. package/dist/cli/{chunk-Z3DKJOUL.mjs → chunk-D6M5HFBB.mjs} +1 -1
  49. package/dist/cli/{chunk-W77LBYF3.mjs → chunk-E64HFB4L.mjs} +13 -13
  50. package/dist/cli/{chunk-BDOLPGHD.mjs → chunk-FOTGUFVK.mjs} +3 -3
  51. package/dist/cli/{chunk-4QUWXUUJ.mjs → chunk-GGB3JYCW.mjs} +3 -2
  52. package/dist/cli/{chunk-7AOFSZJM.mjs → chunk-GGGAEVCX.mjs} +23 -1
  53. package/dist/cli/{chunk-PLJCY35C.mjs → chunk-GVYLCCKN.mjs} +1 -1
  54. package/dist/cli/{chunk-UV4RU2TE.js → chunk-H4ALLC2X.js} +2 -0
  55. package/dist/cli/{chunk-V5WPYOAE.mjs → chunk-HEHVGEZV.mjs} +10 -7
  56. package/dist/cli/{chunk-AZSVDAXT.mjs → chunk-I4VKGNAQ.mjs} +9 -5
  57. package/dist/cli/{chunk-RKF263LR.js → chunk-KWSH5T7K.js} +25 -18
  58. package/dist/cli/{chunk-4DJNXAPH.js → chunk-LPJPCGT3.js} +8 -8
  59. package/dist/cli/{chunk-Y5SKYU5X.mjs → chunk-MNSTCJMX.mjs} +3 -3
  60. package/dist/cli/{chunk-Y5MDCPWA.js → chunk-MR5LTVHD.js} +53 -53
  61. package/dist/cli/{chunk-LMFTDDAM.mjs → chunk-MXGA6JFI.mjs} +2 -2
  62. package/dist/cli/{chunk-BDUZJX4V.js → chunk-NMWGZD6Y.js} +26 -26
  63. package/dist/cli/{chunk-5622PYAP.js → chunk-PACD5DGC.js} +4 -4
  64. package/dist/cli/{chunk-CX4KGWCH.mjs → chunk-PM7MO62Y.mjs} +3 -3
  65. package/dist/cli/{chunk-ETLEPHLT.js → chunk-POLUE7D5.js} +11 -11
  66. package/dist/cli/{chunk-VLAJGF27.js → chunk-PPSDCN6C.js} +3 -2
  67. package/dist/cli/{chunk-KBMBNUUW.js → chunk-QM6Y6S4E.js} +5 -5
  68. package/dist/cli/{chunk-YX7BX2FA.mjs → chunk-RE5MJBEV.mjs} +2 -2
  69. package/dist/cli/{chunk-5CXE22BI.mjs → chunk-S7IZWGUA.mjs} +2 -2
  70. package/dist/cli/{chunk-OWX4AAJ4.js → chunk-T2B5BVZE.js} +13 -13
  71. package/dist/cli/{chunk-3IUQNHIG.js → chunk-UDXULACQ.js} +3 -3
  72. package/dist/cli/{chunk-ECWOIXAV.js → chunk-UPMRIVZB.js} +14 -12
  73. package/dist/cli/{chunk-U6KHWIAO.mjs → chunk-V6SCP4B7.mjs} +1 -1
  74. package/dist/cli/{chunk-V7WMNX4R.js → chunk-VTGG2RT3.js} +1 -1
  75. package/dist/cli/{chunk-QIZBUY2N.mjs → chunk-VWLHRZFG.mjs} +4 -4
  76. package/dist/cli/{chunk-YZTS3XA7.js → chunk-W2ZWQUHT.js} +2 -2
  77. package/dist/cli/{chunk-5T37KQNG.mjs → chunk-W425ERWN.mjs} +6 -5
  78. package/dist/cli/{chunk-GWNYLIF7.mjs → chunk-WEHCBH5R.mjs} +4 -2
  79. package/dist/cli/{chunk-CXFOYRI4.js → chunk-WKBHUB6R.js} +270 -270
  80. package/dist/cli/{chunk-SVNAP2QI.js → chunk-XYE5XPGF.js} +9 -9
  81. package/dist/cli/{chunk-HPSCRVTM.js → chunk-Z2FIOG3V.js} +12 -12
  82. package/dist/cli/{chunk-KTZ3VU6S.js → chunk-ZCDKE4UH.js} +5 -5
  83. package/dist/cli/{chunk-QGKX2WBZ.js → chunk-ZDQFBJPO.js} +20 -19
  84. package/dist/cli/{chunk-J6FINSAK.mjs → chunk-ZMNGZ6XS.mjs} +1 -1
  85. package/dist/cli/command-docs.js +3 -3
  86. package/dist/cli/command-docs.mjs +2 -2
  87. package/dist/cli/{concurrent-runs-help-OYSLW55L.mjs → concurrent-runs-help-C6L6I5OR.mjs} +7 -7
  88. package/dist/cli/concurrent-runs-help-JEFQZTJI.js +21 -0
  89. package/dist/cli/{csv-FRO3UFMQ.js → csv-QMF4FWE7.js} +19 -14
  90. package/dist/cli/{csv-TFCTUYF2.mjs → csv-SYSDXFEM.mjs} +10 -5
  91. package/dist/cli/{db-NHVZBT2H.mjs → db-Q7HURWRZ.mjs} +6 -6
  92. package/dist/cli/{db-SNFNRVZJ.js → db-YSHPPA4H.js} +27 -27
  93. package/dist/cli/describe-PXTSBJTL.js +50 -0
  94. package/dist/cli/{describe-OVFPRJJL.mjs → describe-YGMQBV44.mjs} +21 -21
  95. package/dist/cli/describe-core.d.mts +4 -2
  96. package/dist/cli/describe-core.d.ts +4 -2
  97. package/dist/cli/describe-core.js +4 -4
  98. package/dist/cli/describe-core.mjs +3 -3
  99. package/dist/cli/{executions-HWMH2LTC.mjs → executions-G7U3VUXN.mjs} +6 -6
  100. package/dist/cli/{executions-RZLKKPZV.js → executions-MWBC5TAW.js} +8 -8
  101. package/dist/cli/{feedback-WD4JVF77.mjs → feedback-GMHIFLBJ.mjs} +6 -6
  102. package/dist/cli/{feedback-3D5OROCI.js → feedback-SD55OY6H.js} +14 -14
  103. package/dist/cli/{git-RYUKBCUZ.mjs → git-HPE45OPD.mjs} +5 -5
  104. package/dist/cli/git-I3JV7IGH.js +25 -0
  105. package/dist/cli/index.js +147 -147
  106. package/dist/cli/index.mjs +46 -46
  107. package/dist/cli/{integrations-KJPFCEXL.mjs → integrations-2W4MGIQR.mjs} +7 -7
  108. package/dist/cli/{integrations-Y7OK23DW.js → integrations-HFKVBY6G.js} +15 -15
  109. package/dist/cli/{legacy-noops-2PU2ZVEP.mjs → legacy-noops-GZYKNU2Z.mjs} +6 -6
  110. package/dist/cli/{legacy-noops-G7ZY7K3K.js → legacy-noops-SXVNDEXN.js} +9 -9
  111. package/dist/cli/{mcp-D7F2RSOI.mjs → mcp-BWA6KULG.mjs} +4 -4
  112. package/dist/cli/{mcp-GILBYX72.js → mcp-PJRHQHHU.js} +24 -24
  113. package/dist/cli/{monitors-OXNHOT3C.js → monitors-K2WSI6CR.js} +100 -100
  114. package/dist/cli/{monitors-IK5KXY2H.mjs → monitors-SYQKCATO.mjs} +7 -7
  115. package/dist/cli/{org-L5D7EISU.mjs → org-5KD7X7IA.mjs} +6 -6
  116. package/dist/cli/{org-OYM3UNTP.js → org-YQ2CR32B.js} +88 -88
  117. package/dist/cli/{play-YK22QPYO.js → play-SZXY2F2S.js} +352 -341
  118. package/dist/cli/{play-PK6QO3WX.mjs → play-TTMABJEI.mjs} +40 -29
  119. package/dist/cli/{providers-Z6MNJDCG.mjs → providers-GQIOMRQO.mjs} +6 -6
  120. package/dist/cli/{providers-5CYP7P4N.js → providers-YDHCTZAF.js} +9 -9
  121. package/dist/cli/{quickstart-2YKETYJY.js → quickstart-BNYOXQXG.js} +6 -6
  122. package/dist/cli/{quickstart-2I73XQXB.mjs → quickstart-PHSSMKCA.mjs} +4 -4
  123. package/dist/cli/{run-KGQ6TUBB.mjs → run-74C3C75C.mjs} +26 -26
  124. package/dist/cli/{run-YVSEAVE5.js → run-GFIAZXVL.js} +47 -47
  125. package/dist/cli/search-2RRRF4LW.js +32 -0
  126. package/dist/cli/{search-V2HPN6FU.mjs → search-3SWUB7KX.mjs} +7 -7
  127. package/dist/cli/{search-output-BUSANFRN.js → search-output-6JF3S4TP.js} +43 -13
  128. package/dist/cli/{search-output-OCTOSDEO.mjs → search-output-K2SWHVHQ.mjs} +40 -10
  129. package/dist/cli/{secrets-WZGRBWI5.mjs → secrets-2M4XWEKE.mjs} +6 -6
  130. package/dist/cli/{secrets-VDKTHCVB.js → secrets-2SAKLH2H.js} +15 -15
  131. package/dist/cli/{sessions-5DTN55DZ.mjs → sessions-A64BCXTO.mjs} +6 -6
  132. package/dist/cli/sessions-SBH27JNW.js +22 -0
  133. package/dist/cli/{settings-A7VSNOLI.js → settings-HV64WIJF.js} +85 -85
  134. package/dist/cli/{settings-BK5FPQ3X.mjs → settings-SVGEC3FI.mjs} +12 -12
  135. package/dist/cli/{setup-LLQVPZTP.mjs → setup-EDC3NEJ3.mjs} +15 -10
  136. package/dist/cli/{setup-NV27CYQ5.js → setup-FHXOLQGQ.js} +55 -50
  137. package/dist/cli/{skills-IV6HK4XA.mjs → skills-3HGHZMXB.mjs} +7 -7
  138. package/dist/cli/skills-Y3SRLOYD.js +36 -0
  139. package/dist/cli/tools-OFYPUPUV.js +57 -0
  140. package/dist/cli/{tools-4FKPCRD7.mjs → tools-P2QS6A6Q.mjs} +19 -19
  141. package/dist/cli/{update-MH5M746E.mjs → update-552BYQM4.mjs} +9 -9
  142. package/dist/cli/update-SOUSCLB7.js +34 -0
  143. package/dist/cli/{views-KXC4JDT7.mjs → views-LD5HXJYY.mjs} +6 -6
  144. package/dist/cli/{views-JW44TCGL.js → views-PA25NAE3.js} +21 -21
  145. package/dist/cli/{workflow-F5AHL2ET.js → workflow-FIDBUQV6.js} +17 -17
  146. package/dist/cli/{workflow-FI4DL7ZI.mjs → workflow-LDYFGBYP.mjs} +7 -7
  147. package/dist/{client-BEJqhQAj.d.mts → client-DuDFiJDU.d.mts} +1 -1
  148. package/dist/{client-core-BPYuWfBC.d.ts → client-core-CJRzLanv.d.ts} +93 -4
  149. package/dist/{client-core-BqetRxx-.d.mts → client-core-DydMQOft.d.mts} +93 -4
  150. package/dist/{client-Ceo295L2.d.ts → client-t9HZAkFD.d.ts} +1 -1
  151. package/dist/index.d.mts +3 -3
  152. package/dist/index.d.ts +3 -3
  153. package/dist/index.js +9 -9
  154. package/dist/index.mjs +6 -6
  155. package/dist/install-integrity.json +124 -124
  156. package/dist/plays/play-description.d.mts +1 -1
  157. package/dist/plays/play-description.d.ts +1 -1
  158. package/dist/plays/run-request.d.mts +1 -1
  159. package/dist/plays/run-request.d.ts +1 -1
  160. package/dist/release.d.mts +1 -1
  161. package/dist/release.d.ts +1 -1
  162. package/dist/release.js +2 -2
  163. package/dist/release.mjs +1 -1
  164. package/dist/server.d.mts +2 -2
  165. package/dist/server.d.ts +2 -2
  166. package/dist/server.js +5 -5
  167. package/dist/server.mjs +3 -3
  168. package/package.json +1 -1
  169. package/dist/cli/auth-UVEZIP3H.js +0 -43
  170. package/dist/cli/chunk-NIPLY25A.mjs +0 -7
  171. package/dist/cli/concurrent-runs-help-74AFW3BD.js +0 -21
  172. package/dist/cli/describe-2JCOC4AK.js +0 -50
  173. package/dist/cli/git-GCCPCUWJ.js +0 -25
  174. package/dist/cli/search-YG3UIZ6A.js +0 -32
  175. package/dist/cli/sessions-NSPT6LHT.js +0 -22
  176. package/dist/cli/skills-UA5E4DA3.js +0 -36
  177. package/dist/cli/tools-NJVPAG37.js +0 -57
  178. package/dist/cli/update-DKX27XZB.js +0 -34
@@ -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 _chunk4DJNXAPHjs = require('./chunk-4DJNXAPH.js');
3
+ var _chunkLPJPCGT3js = require('./chunk-LPJPCGT3.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk3IUQNHIGjs = require('./chunk-3IUQNHIG.js');
7
+ var _chunkUDXULACQjs = require('./chunk-UDXULACQ.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunk4DJNXAPHjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkLPJPCGT3js.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunk3IUQNHIGjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunk3IUQNHIGjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkUDXULACQjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkUDXULACQjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-J6FINSAK.mjs";
3
+ } from "./chunk-ZMNGZ6XS.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-U6KHWIAO.mjs";
7
+ } from "./chunk-V6SCP4B7.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-DCTEH6N5.mjs";
3
+ } from "./chunk-3T65J5RG.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-4QUWXUUJ.mjs";
6
+ } from "./chunk-GGB3JYCW.mjs";
7
7
 
8
8
  // src/cli/commands/integration-commands.ts
9
9
  import { Option } from "commander";
@@ -1,15 +1,15 @@
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 _chunk7FY7AHR6js = require('./chunk-7FY7AHR6.js');
3
+ var _chunk4OMAGJ6Ujs = require('./chunk-4OMAGJ6U.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
7
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunk5622PYAPjs = require('./chunk-5622PYAP.js');
12
+ var _chunkPACD5DGCjs = require('./chunk-PACD5DGC.js');
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
 
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
55
55
  }
56
56
  function listClaudeSessionFiles() {
57
57
  const files = [];
58
- for (const root of _chunk5622PYAPjs.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunkPACD5DGCjs.claudeProjectsRoots.call(void 0, )) {
59
59
  files.push(...listClaudeSessionFilesIn(root));
60
60
  }
61
61
  return files;
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
147
147
  const newestFirst = listSessionFiles(agent).sort(
148
148
  (a, b) => b.mtimeMs - a.mtimeMs
149
149
  );
150
- const sessionId = _chunk5622PYAPjs.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunkPACD5DGCjs.agentSessionIdFromEnvironment.call(void 0,
151
151
  process.env,
152
152
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
153
153
  );
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
156
156
  (candidate) => candidate.sessionId === sessionId
157
157
  );
158
158
  if (named) return named;
159
- const cowork = agent === "codex" ? null : _chunk5622PYAPjs.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunkPACD5DGCjs.coworkTranscriptFromEnvironment.call(void 0, );
160
160
  const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
161
161
  if (cowork && coworkStat) {
162
162
  return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
166
166
  ), () => ( newestFirst[0])), () => ( null));
167
167
  }
168
168
  function feedbackAgentSessionId(agentRuntime) {
169
- return _nullishCoalesce(_chunk5622PYAPjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunk5622PYAPjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunkPACD5DGCjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkPACD5DGCjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
170
170
  }
171
171
  function sessionStartedInDirectory(candidate, cwd) {
172
172
  if (candidate.agent === "claude") {
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
215
215
  return null;
216
216
  }
217
217
  function sessionSearchDescription(agent) {
218
- const claude = _chunk5622PYAPjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunkPACD5DGCjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
219
219
  if (agent === "claude") return claude;
220
220
  if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
221
221
  return `${claude} or ~/.codex/sessions/**/*.jsonl`;
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
472
472
  return { encodedContent: encoded, needsChunking: true };
473
473
  }
474
474
  async function uploadPayload(path, payload) {
475
- const { http } = _chunkQGKX2WBZjs.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkZDQFBJPOjs.getAuthedHttpClient.call(void 0, );
476
476
  return await http.post(path, payload);
477
477
  }
478
478
  async function uploadChunkedSessions(sessions, options) {
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
550
550
  return target.sessionId;
551
551
  }
552
552
  async function handleSessionsSend(options) {
553
- if (_chunk7FY7AHR6js.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunk4OMAGJ6Ujs.rejectRestrictedFeedback.call(void 0, options)) return;
554
554
  const rating = parseSessionRating(options.rating);
555
555
  if (options.file) {
556
556
  const filePath = _path.resolve.call(void 0, options.file);
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
562
562
  filename: _path.basename.call(void 0, filePath),
563
563
  ...rating ? { rating } : {}
564
564
  });
565
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
565
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
566
566
  {
567
567
  ...response2,
568
568
  ok: true,
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
594
594
  labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
595
595
  });
596
596
  const sessionIds = built.map((session) => session.sessionId);
597
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
597
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...response,
600
600
  ok: true,
@@ -702,7 +702,7 @@ ${refreshMeta}
702
702
  </body>
703
703
  </html>`;
704
704
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
705
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
705
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunk5622PYAPjs = require('./chunk-5622PYAP.js');
4
+ var _chunkPACD5DGCjs = require('./chunk-PACD5DGC.js');
5
5
 
6
6
 
7
7
  var _chunkEITMD3A5js = require('./chunk-EITMD3A5.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunk5622PYAPjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkPACD5DGCjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunk5622PYAPjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkPACD5DGCjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
5
+ var _chunk2WFPHBR4js = require('./chunk-2WFPHBR4.js');
6
6
 
7
7
 
8
8
  var _chunkJ33TSWO5js = require('./chunk-J33TSWO5.js');
@@ -280,7 +280,7 @@ function extractorValueType(name) {
280
280
  }
281
281
  const named = NAMED_VALUE_SHAPES[definition.valueKind];
282
282
  if (!named) return { type: "string" };
283
- const { type, fields } = _chunkXYIECA7Mjs.schemaField.call(void 0, name, named.schema, true);
283
+ const { type, fields } = _chunk2WFPHBR4js.schemaField.call(void 0, name, named.schema, true);
284
284
  return { type, ...fields ? { fields } : {}, shape: named.shape };
285
285
  }
286
286
  function jsonSchemaOf(wrapper) {
@@ -317,7 +317,7 @@ function describedTool(tool, requestedToolId) {
317
317
  description,
318
318
  cost: stringField(recordField(tool, "pricing"), "displayText") || void 0,
319
319
  guidance: [],
320
- inputs: _chunkXYIECA7Mjs.schemaFields.call(void 0,
320
+ inputs: _chunk2WFPHBR4js.schemaFields.call(void 0,
321
321
  recordField(tool, "payload_schema", "payloadSchema")
322
322
  ),
323
323
  outputs: [],
@@ -354,7 +354,7 @@ function describedTool(tool, requestedToolId) {
354
354
  (path) => path.replace(/^toolResponse\.raw\./, "")
355
355
  );
356
356
  const node = roots.flatMap((root) => paths.map((path) => schemaNodeAt(root, path))).find(isRecord);
357
- const { fields, ...typed } = _chunkXYIECA7Mjs.schemaField.call(void 0, name, node, true);
357
+ const { fields, ...typed } = _chunk2WFPHBR4js.schemaField.call(void 0, name, node, true);
358
358
  const valueType = stringField(_nullishCoalesce(details.get(name), () => ( {})), "valueType");
359
359
  const deepline = kind === "extractedValues" ? extractorValueType(name) : void 0;
360
360
  const known = typed.type !== "unknown" ? void 0 : kind === "extractedLists" ? { type: "object[]" } : deepline;
@@ -423,17 +423,19 @@ function describedTool(tool, requestedToolId) {
423
423
  ],
424
424
  rateLimit: withPlanRateLimit(
425
425
  recordField(recordField(tool, "pricing"), "benefit").requestsPerMinute,
426
- _chunkXYIECA7Mjs.rateLimitSummary.call(void 0,
426
+ _chunk2WFPHBR4js.rateLimitSummary.call(void 0,
427
427
  recordField(contract, "executionMetadata").configuredRateLimits
428
428
  )
429
429
  ),
430
430
  ..._optionalChain([byok, 'optionalAccess', _4 => _4.required]) === true ? { byok } : {},
431
431
  ...typeof tool.connected === "boolean" ? { connected: tool.connected } : {},
432
432
  ...credentialStatus ? { credentialStatus } : {},
433
- ...connectCommand ? { connectCommand } : {},
434
- inputs: _chunkXYIECA7Mjs.schemaFields.call(void 0, inputSchema),
433
+ ...connectCommand && !_optionalChain([tool, 'access', _5 => _5.auth, 'optionalAccess', _6 => _6.connectionRequired]) ? { connectCommand } : {},
434
+ ...tool.auth ? { auth: tool.auth } : {},
435
+ ...tool.toolUsage ? { toolUsage: tool.toolUsage } : {},
436
+ inputs: _chunk2WFPHBR4js.schemaFields.call(void 0, inputSchema),
435
437
  outputs: [...lists, ...values].map(({ field }) => field),
436
- rawResponse: _chunkXYIECA7Mjs.schemaFields.call(void 0, outputSchema),
438
+ rawResponse: _chunk2WFPHBR4js.schemaFields.call(void 0, outputSchema),
437
439
  runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
438
440
  };
439
441
  }
@@ -599,9 +601,9 @@ function toolInputFieldsForDisplay(inputSchema) {
599
601
  );
600
602
  return fields.map((field) => {
601
603
  const jsonSchemaField = typeof field.name === "string" ? jsonSchemaFields.get(field.name) : void 0;
602
- const minItems = typeof field.minItems === "number" ? field.minItems : _optionalChain([jsonSchemaField, 'optionalAccess', _5 => _5.minItems]);
603
- const maxItems = typeof field.maxItems === "number" ? field.maxItems : _optionalChain([jsonSchemaField, 'optionalAccess', _6 => _6.maxItems]);
604
- const items = isRecord(field.items) ? field.items : _optionalChain([jsonSchemaField, 'optionalAccess', _7 => _7.items]);
604
+ const minItems = typeof field.minItems === "number" ? field.minItems : _optionalChain([jsonSchemaField, 'optionalAccess', _7 => _7.minItems]);
605
+ const maxItems = typeof field.maxItems === "number" ? field.maxItems : _optionalChain([jsonSchemaField, 'optionalAccess', _8 => _8.maxItems]);
606
+ const items = isRecord(field.items) ? field.items : _optionalChain([jsonSchemaField, 'optionalAccess', _9 => _9.items]);
605
607
  return {
606
608
  ...field,
607
609
  ...isRecord(items) ? { items } : {},
@@ -839,7 +841,7 @@ function formatModelDescription(description) {
839
841
  function appendNamespace(lines, namespace) {
840
842
  lines.push(`- ${namespace.provider} (${namespace.sourceSymbol})`);
841
843
  for (const field of namespace.fields) {
842
- const values = _optionalChain([field, 'access', _8 => _8.enumValues, 'optionalAccess', _9 => _9.length]) ? ` (${field.enumValues.map((value) => JSON.stringify(value)).join(" | ")})` : "";
844
+ const values = _optionalChain([field, 'access', _10 => _10.enumValues, 'optionalAccess', _11 => _11.length]) ? ` (${field.enumValues.map((value) => JSON.stringify(value)).join(" | ")})` : "";
843
845
  lines.push(
844
846
  ` - ${field.name}: ${field.type}${values} - ${field.description}`
845
847
  );
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-X4RGDE4J.mjs";
4
+ } from "./chunk-4D3WIZST.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-NURW5XH4.mjs";
@@ -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.549",
52
+ version: "0.3.551",
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."
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-DCTEH6N5.mjs";
6
+ } from "./chunk-3T65J5RG.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-4QUWXUUJ.mjs";
11
+ } from "./chunk-GGB3JYCW.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-U6KHWIAO.mjs";
15
+ } from "./chunk-V6SCP4B7.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-OCTOSDEO.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-K2SWHVHQ.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -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 _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
3
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.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
- _chunkQGKX2WBZjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkZDQFBJPOjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -4,21 +4,21 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-4AUV5QJF.mjs";
7
+ } from "./chunk-7WQNWJQW.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  syncSdkSkillsIfNeeded
11
- } from "./chunk-AZSVDAXT.mjs";
11
+ } from "./chunk-I4VKGNAQ.mjs";
12
12
  import {
13
13
  addJsonNotice,
14
14
  isJsonOutputMode
15
- } from "./chunk-4QUWXUUJ.mjs";
15
+ } from "./chunk-GGB3JYCW.mjs";
16
16
  import {
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-U6KHWIAO.mjs";
18
+ } from "./chunk-V6SCP4B7.mjs";
19
19
  import {
20
20
  SDK_VERSION
21
- } from "./chunk-X4RGDE4J.mjs";
21
+ } from "./chunk-4D3WIZST.mjs";
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -103,6 +103,7 @@ function relaunchCurrentCommand(plan, runtime = {}) {
103
103
  const args = plan.kind === "python-sidecar" ? argv.slice(2) : argv.slice(1);
104
104
  const platform = runtime.platform ?? process.platform;
105
105
  const child = spawn(command, args, {
106
+ windowsHide: true,
106
107
  stdio: "inherit",
107
108
  // The Node executable is a native binary and must be spawned directly;
108
109
  // passing `C:\Program Files\...\node.exe` through cmd.exe splits it
@@ -2,7 +2,7 @@ import {
2
2
  rateLimitSummary,
3
3
  schemaField,
4
4
  schemaFields
5
- } from "./chunk-7AOFSZJM.mjs";
5
+ } from "./chunk-GGGAEVCX.mjs";
6
6
  import {
7
7
  playToolListGetterMode
8
8
  } from "./chunk-FR2ILQ4G.mjs";
@@ -430,7 +430,9 @@ function describedTool(tool, requestedToolId) {
430
430
  ...byok?.required === true ? { byok } : {},
431
431
  ...typeof tool.connected === "boolean" ? { connected: tool.connected } : {},
432
432
  ...credentialStatus ? { credentialStatus } : {},
433
- ...connectCommand ? { connectCommand } : {},
433
+ ...connectCommand && !tool.auth?.connectionRequired ? { connectCommand } : {},
434
+ ...tool.auth ? { auth: tool.auth } : {},
435
+ ...tool.toolUsage ? { toolUsage: tool.toolUsage } : {},
434
436
  inputs: schemaFields(inputSchema),
435
437
  outputs: [...lists, ...values].map(({ field }) => field),
436
438
  rawResponse: schemaFields(outputSchema),