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,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-XS72HELO.mjs";
4
+ } from "./chunk-5S6PHKRV.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-ANOTB6V3.mjs";
7
+ } from "./chunk-6PWJKMFQ.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-AZSVDAXT.mjs";
10
+ } from "./chunk-I4VKGNAQ.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-4QUWXUUJ.mjs";
13
+ } from "./chunk-GGB3JYCW.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-U6KHWIAO.mjs";
16
+ } from "./chunk-V6SCP4B7.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -502,6 +502,7 @@ function resolveNpmGlobalPrefix(env) {
502
502
  env
503
503
  );
504
504
  const result = spawnSync(plan.command, plan.args, {
505
+ windowsHide: true,
505
506
  encoding: "utf8",
506
507
  env,
507
508
  shell: plan.shell,
@@ -818,6 +819,7 @@ function runCommand(command, args, env = process.env) {
818
819
  let output = "";
819
820
  const plan = resolveShellSpawn(command, args, process.platform, env);
820
821
  const child = spawn(plan.command, plan.args, {
822
+ windowsHide: true,
821
823
  stdio: ["inherit", "pipe", "pipe"],
822
824
  shell: plan.shell,
823
825
  env
@@ -3,7 +3,7 @@ import {
3
3
  formatModelDescription,
4
4
  publicToolSchemas,
5
5
  toolMetadataJsonForDescribe
6
- } from "./chunk-GWNYLIF7.mjs";
6
+ } from "./chunk-WEHCBH5R.mjs";
7
7
  import {
8
8
  buildPlayDashboardUrl,
9
9
  byokLines,
@@ -13,7 +13,7 @@ import {
13
13
  examples,
14
14
  schemaLines,
15
15
  topLevelField
16
- } from "./chunk-7AOFSZJM.mjs";
16
+ } from "./chunk-GGGAEVCX.mjs";
17
17
  import {
18
18
  DeeplineError
19
19
  } from "./chunk-JL2OTMSG.mjs";
@@ -141,8 +141,14 @@ async function findNamed(reference, options, lookups) {
141
141
  }
142
142
  };
143
143
  };
144
+ let scopedToolError;
144
145
  const tool = async () => {
145
- const record = await lookups.tool(name);
146
+ const record = await lookups.tool(name).catch((error) => {
147
+ if (!(error instanceof DeeplineError) || error.code !== "TOOL_UNAVAILABLE_IN_WORKSPACE")
148
+ throw error;
149
+ scopedToolError = error;
150
+ return null;
151
+ });
146
152
  if (!record) return null;
147
153
  const features = toolFeatures(record);
148
154
  return {
@@ -178,6 +184,7 @@ async function findNamed(reference, options, lookups) {
178
184
  })
179
185
  );
180
186
  const [chosen, shadowed] = matches.filter((match) => match !== null);
187
+ if (!chosen && scopedToolError) throw scopedToolError;
181
188
  return { chosen, shadowed };
182
189
  }
183
190
  async function describeName(name, options, lookups) {
@@ -2,14 +2,14 @@ import {
2
2
  SCHEMA_LINE_LIMIT,
3
3
  fieldBlockLines,
4
4
  schemaFields
5
- } from "./chunk-7AOFSZJM.mjs";
5
+ } from "./chunk-GGGAEVCX.mjs";
6
6
  import {
7
7
  csvSafeJsonString,
8
8
  csvStringFromRows,
9
9
  formatCliFailureDiagnostic,
10
10
  markJsonOutputHandled,
11
11
  writeRawStderr
12
- } from "./chunk-4QUWXUUJ.mjs";
12
+ } from "./chunk-GGB3JYCW.mjs";
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUV4RU2TEjs = require('./chunk-UV4RU2TE.js');
3
+ var _chunkH4ALLC2Xjs = require('./chunk-H4ALLC2X.js');
4
4
 
5
5
 
6
6
  var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
@@ -384,7 +384,7 @@ Output:
384
384
  Your runtime price, allowance used, paid overage, and reset date.
385
385
  Usage is shown in standard sandbox minutes at your current rate and in credits.
386
386
  ${PLAY_RUNTIME_PRICING_NOTE}
387
- ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
387
+ ${_chunkH4ALLC2Xjs.PRICING_PAGE_NOTE}
388
388
  Cost:
389
389
  Free to check.
390
390
  [[cli:
@@ -470,7 +470,7 @@ Purpose:
470
470
  When:
471
471
  First, whenever you do not already know what to run.
472
472
  Input:
473
- Search for one capability at a time.
473
+ Pass a full tool ID for an exact lookup, or search for one capability at a time.
474
474
  Include the input fields, the result you need, and requirements.
475
475
  Leave out customer data like names and domains, and export details like filenames.
476
476
  For a workflow with distinct steps, search for each step separately.
@@ -496,8 +496,10 @@ Examples:
496
496
  ]]
497
497
  Output:
498
498
  A ranked list. Each result has an id, its kind, what it does, and its price.
499
- Tools that need a provider connection are flagged. Describe the tool to
500
- see how to connect it.
499
+ An exact lookup reports whether the tool matched in this scope. If it
500
+ misses, check the account and workspace before searching by task.
501
+ Tool results include an exact describe command, required inputs, known
502
+ effects, and available authorization metadata.
501
503
  When search suggests a rewrite, retry with the core task in a shorter query.
502
504
  [[cli:
503
505
  Multiple queries print one section per query in argument order. With --json,
@@ -974,10 +976,11 @@ Input:
974
976
  --payload is an alias of --input. There is no --payload-file flag; use
975
977
  @path. --out <file.csv> writes row-shaped output to a CSV file.
976
978
  --connection <name> selects a workspace authorization for supported
977
- HubSpot and Google Calendar tools. A Google Workspace authorization uses its
978
- approved domain, for example --connection deepline.com. Pass calendar emails
979
- in the tool input. Omitting --connection uses the caller's personal account
980
- where personal connections are supported.
979
+ operations. For Google Workspace team availability, choose the approved
980
+ domain as the connection and pass primary work emails in calendarIds.
981
+ For booking, organizerEmail selects the primary calendar that receives the
982
+ event. Verify the calendars with a read-only call before publishing booking.
983
+ Where supported, omitting --connection uses the caller's default account.
981
984
  deepline integrations list --json lists workspace authorization names.
982
985
  Each authorization grants specific scopes. Missing scopes fail the call.
983
986
  ]]
@@ -999,6 +1002,12 @@ Failures:
999
1002
  fix the key, plan or input instead of retrying.
1000
1003
  ]]
1001
1004
  [[mcp:
1005
+ Named authorizations:
1006
+ Pass the authorized connection name as connection alongside tool_id and
1007
+ input. For Google Workspace, choose the approved domain and pass primary
1008
+ work emails in input.calendarIds for a read-only availability check. Use
1009
+ the same connection in the Play. For booking, input.organizerEmail selects
1010
+ the primary calendar that receives the event.
1002
1011
  Output:
1003
1012
  data, the provider result, and credits_used when it is reported.
1004
1013
  ]]
@@ -1569,7 +1578,7 @@ Concurrency:
1569
1578
  deepline billing entitlements shows this workspace's plan and limit and
1570
1579
  every plan's limit; this help prints them too when you are signed in.
1571
1580
  ]]
1572
- ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
1581
+ ${_chunkH4ALLC2Xjs.PRICING_PAGE_NOTE}
1573
1582
  Cost:
1574
1583
  Spends Deepline credits through the play's tool calls. Validation errors
1575
1584
  (missing column, bad input) fail before any spend.
@@ -1820,7 +1829,7 @@ Concurrency:
1820
1829
  deepline billing entitlements shows this workspace's plan and limit and
1821
1830
  every plan's limit; this help prints them too when you are signed in.
1822
1831
  ]]
1823
- ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
1832
+ ${_chunkH4ALLC2Xjs.PRICING_PAGE_NOTE}
1824
1833
  Cost:
1825
1834
  Free.
1826
1835
  Avoid:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-4QUWXUUJ.mjs";
3
+ } from "./chunk-GGB3JYCW.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,9 +1,9 @@
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 _chunkTYOAOSDLjs = require('./chunk-TYOAOSDL.js');
3
+ var _chunk54EEYLTFjs = require('./chunk-54EEYLTF.js');
4
4
 
5
5
 
6
- var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
6
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
7
7
 
8
8
 
9
9
 
@@ -14,17 +14,17 @@ var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
14
14
 
15
15
 
16
16
 
17
- var _chunk3IUQNHIGjs = require('./chunk-3IUQNHIG.js');
17
+ var _chunkUDXULACQjs = require('./chunk-UDXULACQ.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
23
 
24
- var _chunk5622PYAPjs = require('./chunk-5622PYAP.js');
24
+ var _chunkPACD5DGCjs = require('./chunk-PACD5DGC.js');
25
25
 
26
26
 
27
- var _chunkV7WMNX4Rjs = require('./chunk-V7WMNX4R.js');
27
+ var _chunkVTGG2RT3js = require('./chunk-VTGG2RT3.js');
28
28
 
29
29
  // src/compat.ts
30
30
  var _crypto = require('crypto');
@@ -59,7 +59,7 @@ function shouldSkipCompatibilityCheck() {
59
59
  return value === "1" || value === "true" || value === "yes";
60
60
  }
61
61
  function sdkCompatibilityCachePath(baseUrl, homeDir = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.HOME, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || _os.homedir.call(void 0, )) {
62
- return _path.join.call(void 0, _chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
62
+ return _path.join.call(void 0, _chunkUDXULACQjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
63
63
  }
64
64
  function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'access', _11 => _11.env, 'access', _12 => _12.HOME, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) || _os.homedir.call(void 0, )) {
65
65
  return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
@@ -67,9 +67,9 @@ function legacySdkCompatibilityCachePath(homeDir = _optionalChain([process, 'acc
67
67
  function compatibilityCacheKey(baseUrl, command, skillsVersion) {
68
68
  return JSON.stringify({
69
69
  baseUrl: baseUrl.replace(/\/$/, ""),
70
- version: _chunk5622PYAPjs.SDK_VERSION,
71
- apiContract: _chunk5622PYAPjs.SDK_API_CONTRACT,
72
- apiMajor: _chunk5622PYAPjs.SDK_API_MAJOR,
70
+ version: _chunkPACD5DGCjs.SDK_VERSION,
71
+ apiContract: _chunkPACD5DGCjs.SDK_API_CONTRACT,
72
+ apiMajor: _chunkPACD5DGCjs.SDK_API_MAJOR,
73
73
  command: _optionalChain([command, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) || null,
74
74
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
75
75
  });
@@ -77,8 +77,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
77
77
  function legacyCompatibilityCacheKey(baseUrl, command) {
78
78
  return JSON.stringify({
79
79
  baseUrl: baseUrl.replace(/\/$/, ""),
80
- version: _chunk5622PYAPjs.SDK_VERSION,
81
- apiContract: _chunk5622PYAPjs.SDK_API_CONTRACT,
80
+ version: _chunkPACD5DGCjs.SDK_VERSION,
81
+ apiContract: _chunkPACD5DGCjs.SDK_API_CONTRACT,
82
82
  command: _optionalChain([command, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()]) || null
83
83
  });
84
84
  }
@@ -103,7 +103,7 @@ function isSavedWithin(savedAt, windowMs, now) {
103
103
  }
104
104
  var UPDATE_ADVISORY_INTERVAL_MS = 24 * 60 * 60 * 1e3;
105
105
  function claimUpdateAdvisory(baseUrl, now = Date.now()) {
106
- const path = _path.join.call(void 0, _chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
106
+ const path = _path.join.call(void 0, _chunkUDXULACQjs.sdkCliStateDirPath.call(void 0, baseUrl), "update-advisory.json");
107
107
  try {
108
108
  const { shownAt } = JSON.parse(_fs.readFileSync.call(void 0, path, "utf8"));
109
109
  if (isSavedWithin(shownAt, UPDATE_ADVISORY_INTERVAL_MS, now)) return false;
@@ -190,7 +190,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
190
190
  );
191
191
  try {
192
192
  const url = new URL("/api/v2/sdk/compat", baseUrl);
193
- url.searchParams.set("version", _chunk5622PYAPjs.SDK_VERSION);
193
+ url.searchParams.set("version", _chunkPACD5DGCjs.SDK_VERSION);
194
194
  if (_optionalChain([options, 'access', _34 => _34.command, 'optionalAccess', _35 => _35.trim, 'call', _36 => _36()])) {
195
195
  url.searchParams.set("command", options.command.trim());
196
196
  }
@@ -198,7 +198,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
198
198
  url.searchParams.set("skills_version", _nullishCoalesce(options.skillsVersion, () => ( "")));
199
199
  url.searchParams.set(
200
200
  "skills_cli_capability",
201
- String(_chunkV7WMNX4Rjs.SDK_RELEASE.packageCapabilities.skillsGuidance)
201
+ String(_chunkVTGG2RT3js.SDK_RELEASE.packageCapabilities.skillsGuidance)
202
202
  );
203
203
  }
204
204
  if (options.catalog) {
@@ -210,14 +210,14 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
210
210
  const response = await fetch(url, {
211
211
  method: "GET",
212
212
  headers: {
213
- ..._chunk5622PYAPjs.deploymentProtectionHeaders.call(void 0, ),
214
- "User-Agent": `deepline-ts-sdk/${_chunk5622PYAPjs.SDK_VERSION}`,
215
- "X-Deepline-SDK-Version": _chunk5622PYAPjs.SDK_VERSION,
216
- "X-Deepline-API-Major": String(_chunk5622PYAPjs.SDK_API_MAJOR),
217
- "X-Deepline-API-Contract": _chunk5622PYAPjs.SDK_API_CONTRACT,
213
+ ..._chunkPACD5DGCjs.deploymentProtectionHeaders.call(void 0, ),
214
+ "User-Agent": `deepline-ts-sdk/${_chunkPACD5DGCjs.SDK_VERSION}`,
215
+ "X-Deepline-SDK-Version": _chunkPACD5DGCjs.SDK_VERSION,
216
+ "X-Deepline-API-Major": String(_chunkPACD5DGCjs.SDK_API_MAJOR),
217
+ "X-Deepline-API-Contract": _chunkPACD5DGCjs.SDK_API_CONTRACT,
218
218
  "X-Deepline-CLI-Update-Preferences": "1",
219
219
  "X-Deepline-CLI-Auto-Update-Capability": SDK_CLI_AUTO_UPDATE_CAPABILITY,
220
- ...options.catalog ? { Authorization: `Bearer ${_chunk3IUQNHIGjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
220
+ ...options.catalog ? { Authorization: `Bearer ${_chunkUDXULACQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {},
221
221
  ..._optionalChain([options, 'access', _37 => _37.catalog, 'optionalAccess', _38 => _38.cliInvocationId]) ? { "X-Deepline-CLI-Invocation-ID": options.catalog.cliInvocationId } : {}
222
222
  },
223
223
  signal: controller.signal
@@ -386,7 +386,7 @@ function skillsSourceUrl(baseUrl) {
386
386
  function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
387
387
  const skillNames = Array.isArray(skillName) ? skillName : [skillName];
388
388
  const [firstSkillName, ...extraSkillNames] = skillNames;
389
- const agents = _nullishCoalesce(options.agents, () => ( _chunk3IUQNHIGjs.DEFAULT_SKILL_AGENTS));
389
+ const agents = _nullishCoalesce(options.agents, () => ( _chunkUDXULACQjs.DEFAULT_SKILL_AGENTS));
390
390
  const values = {
391
391
  skills_index_url: skillsIndexUrl(baseUrl),
392
392
  skills_source_url: skillsSourceUrl(baseUrl),
@@ -514,25 +514,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
514
514
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
515
515
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
516
516
  function shouldSkipSkillsSync() {
517
- if (_chunk5622PYAPjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
517
+ if (_chunkPACD5DGCjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
518
518
  return true;
519
519
  }
520
520
  const value = _optionalChain([process, 'access', _57 => _57.env, 'access', _58 => _58.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60(), 'access', _61 => _61.toLowerCase, 'call', _62 => _62()]);
521
521
  return value === "1" || value === "true" || value === "yes" || value === "on" || !isCliSkillsSyncEnabled();
522
522
  }
523
523
  function unavailableSkillsNoticePath(baseUrl) {
524
- return _path.join.call(void 0, _chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
524
+ return _path.join.call(void 0, _chunkUDXULACQjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
525
525
  }
526
526
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
527
527
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
528
- var agentLeaseSegment = _chunk3IUQNHIGjs.skillsAgentPathSegment;
528
+ var agentLeaseSegment = _chunkUDXULACQjs.skillsAgentPathSegment;
529
529
  function sortedLeaseAgents(agents) {
530
- const expanded = agents.includes("*") ? [...agents, ..._chunk3IUQNHIGjs.KNOWN_SKILL_AGENTS] : agents;
530
+ const expanded = agents.includes("*") ? [...agents, ..._chunkUDXULACQjs.KNOWN_SKILL_AGENTS] : agents;
531
531
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
532
532
  }
533
533
  function inProgressSkillsSyncPath(baseUrl, agent) {
534
534
  return _path.join.call(void 0,
535
- _chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, baseUrl),
535
+ _chunkUDXULACQjs.sdkCliStateDirPath.call(void 0, baseUrl),
536
536
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
537
537
  );
538
538
  }
@@ -691,7 +691,7 @@ var SkillsStateUnavailableError = class extends Error {
691
691
  constructor(baseUrl, error) {
692
692
  const detail = error instanceof Error ? error.message : String(error);
693
693
  super(
694
- `Could not save skills state in ${_chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
694
+ `Could not save skills state in ${_chunkUDXULACQjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
695
695
  );
696
696
  this.name = "SkillsStateUnavailableError";
697
697
  }
@@ -776,7 +776,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
776
776
  }
777
777
  function deferredSkillsNoticePath(baseUrl, agents) {
778
778
  return _path.join.call(void 0,
779
- _chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, baseUrl),
779
+ _chunkUDXULACQjs.sdkCliStateDirPath.call(void 0, baseUrl),
780
780
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
781
781
  );
782
782
  }
@@ -810,8 +810,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
810
810
  if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
811
811
  }
812
812
  function flushDeferredSkillsSyncNotices(baseUrl) {
813
- if (shouldSkipSkillsSync() || _chunk3IUQNHIGjs.hasActivePluginSkills.call(void 0, )) return;
814
- const agents = _chunk3IUQNHIGjs.resolveAutoSyncSkillAgents.call(void 0, );
813
+ if (shouldSkipSkillsSync() || _chunkUDXULACQjs.hasActivePluginSkills.call(void 0, )) return;
814
+ const agents = _chunkUDXULACQjs.resolveAutoSyncSkillAgents.call(void 0, );
815
815
  if (agents.length === 0) return;
816
816
  flushDeferredSkillsNotices(baseUrl, agents);
817
817
  }
@@ -823,6 +823,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError, sidecarPath) {
823
823
  shell: false
824
824
  };
825
825
  const child = _child_process.spawn.call(void 0, launch.command, launch.args, {
826
+ windowsHide: true,
826
827
  detached: true,
827
828
  stdio: "ignore",
828
829
  env: process.env,
@@ -833,7 +834,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError, sidecarPath) {
833
834
  }
834
835
  function failedSkillsSyncPath(baseUrl, agents) {
835
836
  return _path.join.call(void 0,
836
- _chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, baseUrl),
837
+ _chunkUDXULACQjs.sdkCliStateDirPath.call(void 0, baseUrl),
837
838
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
838
839
  );
839
840
  }
@@ -862,7 +863,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
862
863
  if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
863
864
  writeMarkedSkillsSyncVersion(path, remoteVersion);
864
865
  const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
865
- const manualCommand = _optionalChain([probes, 'optionalAccess', _66 => _66.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunk3IUQNHIGjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
866
+ const manualCommand = _optionalChain([probes, 'optionalAccess', _66 => _66.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkUDXULACQjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
866
867
  const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _67 => _67.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
867
868
  notice(
868
869
  `Deepline agent skills are out of date, but ${explanation} To install manually, run:
@@ -950,7 +951,7 @@ function buildSdkSkillNames(v1SkillNames2) {
950
951
  return sortedUniqueSkillNames(v1SkillNames2);
951
952
  }
952
953
  function isDefaultAgentSet(agents) {
953
- return agents.length === _chunk3IUQNHIGjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunk3IUQNHIGjs.DEFAULT_SKILL_AGENTS[index]);
954
+ return agents.length === _chunkUDXULACQjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkUDXULACQjs.DEFAULT_SKILL_AGENTS[index]);
954
955
  }
955
956
  function safeSkillFilePath(value) {
956
957
  if (typeof value !== "string" || !value) return false;
@@ -1107,10 +1108,10 @@ async function fetchSkillsUpdate(baseUrl, localVersion) {
1107
1108
  method: "POST",
1108
1109
  headers: { "Content-Type": "application/json" },
1109
1110
  body: JSON.stringify({
1110
- sdk_cli: { version: _chunk5622PYAPjs.SDK_VERSION },
1111
+ sdk_cli: { version: _chunkPACD5DGCjs.SDK_VERSION },
1111
1112
  skills: {
1112
1113
  version: localVersion,
1113
- capability: _chunkV7WMNX4Rjs.SDK_RELEASE.packageCapabilities.skillsGuidance
1114
+ capability: _chunkVTGG2RT3js.SDK_RELEASE.packageCapabilities.skillsGuidance
1114
1115
  }
1115
1116
  }),
1116
1117
  signal: controller.signal
@@ -1149,7 +1150,7 @@ function probeInstallers(timeoutMs) {
1149
1150
  }
1150
1151
  function noInstallerProbePath(baseUrl) {
1151
1152
  return _path.join.call(void 0,
1152
- _chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, baseUrl),
1153
+ _chunkUDXULACQjs.sdkCliStateDirPath.call(void 0, baseUrl),
1153
1154
  "skills-sync-no-installer-unknown.json"
1154
1155
  );
1155
1156
  }
@@ -1206,6 +1207,7 @@ function dueUnknownInstallerProbes(baseUrl, remoteVersion) {
1206
1207
  function probeCommand(command, timeoutMs) {
1207
1208
  const plan = resolveShellSpawn(command, ["--version"]);
1208
1209
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
1210
+ windowsHide: true,
1209
1211
  stdio: "ignore",
1210
1212
  shell: plan.shell,
1211
1213
  timeout: timeoutMs
@@ -1228,7 +1230,7 @@ function temporarySkillsSyncSkipCommand() {
1228
1230
  function resolveSkillsInstallSpawn(install, platform = process.platform) {
1229
1231
  return resolveShellSpawn(install.command, install.args, platform);
1230
1232
  }
1231
- function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunk3IUQNHIGjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1233
+ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkUDXULACQjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1232
1234
  const commands = [];
1233
1235
  const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
1234
1236
  if (probes.bunx === "available") {
@@ -1253,6 +1255,7 @@ function runOneSkillsInstall(install) {
1253
1255
  return new Promise((resolve) => {
1254
1256
  const plan = resolveSkillsInstallSpawn(install);
1255
1257
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
1258
+ windowsHide: true,
1256
1259
  stdio: ["ignore", "ignore", "pipe"],
1257
1260
  env: process.env,
1258
1261
  shell: plan.shell
@@ -1362,6 +1365,7 @@ function runLegacySkillsCleanup(agents) {
1362
1365
  for (const candidate of candidates) {
1363
1366
  const plan = resolveShellSpawn(candidate.command, candidate.args);
1364
1367
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
1368
+ windowsHide: true,
1365
1369
  stdio: "ignore",
1366
1370
  env: process.env,
1367
1371
  shell: plan.shell
@@ -1370,7 +1374,7 @@ function runLegacySkillsCleanup(agents) {
1370
1374
  }
1371
1375
  }
1372
1376
  function writeSdkSkillsStatusLine(line) {
1373
- const progress = _chunkTYOAOSDLjs.getActiveCliProgress.call(void 0, );
1377
+ const progress = _chunk54EEYLTFjs.getActiveCliProgress.call(void 0, );
1374
1378
  if (progress) {
1375
1379
  progress.writeLine(line);
1376
1380
  return;
@@ -1381,11 +1385,11 @@ function writeSdkSkillsStatusLine(line) {
1381
1385
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1382
1386
  const skip = shouldSkipSkillsSync();
1383
1387
  if (skip && !options.claim) return;
1384
- const usingPluginSkills = _chunk3IUQNHIGjs.hasActivePluginSkills.call(void 0, );
1388
+ const usingPluginSkills = _chunkUDXULACQjs.hasActivePluginSkills.call(void 0, );
1385
1389
  if (usingPluginSkills) {
1386
1390
  return;
1387
1391
  }
1388
- const agents = _chunk3IUQNHIGjs.resolveAutoSyncSkillAgents.call(void 0, );
1392
+ const agents = _chunkUDXULACQjs.resolveAutoSyncSkillAgents.call(void 0, );
1389
1393
  if (options.mode === "detached" && agents.length > 0) {
1390
1394
  flushDeferredSkillsNotices(baseUrl, agents);
1391
1395
  }
@@ -1422,7 +1426,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1422
1426
  return;
1423
1427
  }
1424
1428
  try {
1425
- const localVersion = _chunk3IUQNHIGjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1429
+ const localVersion = _chunkUDXULACQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1426
1430
  const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
1427
1431
  needsUpdate: options.update.needs_update,
1428
1432
  remoteVersion: options.update.remote.version
@@ -1544,7 +1548,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1544
1548
  update.remoteVersion,
1545
1549
  agents
1546
1550
  );
1547
- void _chunkQGKX2WBZjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1551
+ void _chunkZDQFBJPOjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1548
1552
  baseUrl,
1549
1553
  remoteSkillsVersion: update.remoteVersion,
1550
1554
  agents,
@@ -1575,7 +1579,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1575
1579
  notice(
1576
1580
  publishedFailure ? `Deepline could not verify the published skills: ${detail}. The local version remains stale; it will retry automatically on a later command.` : `Deepline agent-skills refresh could not verify the five installed targets: ${detail}. The local version remains stale. After fixing the install, remove ${failedSkillsSyncPath(baseUrl, agents)} to retry this version automatically.`
1577
1581
  );
1578
- void _chunkQGKX2WBZjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1582
+ void _chunkZDQFBJPOjs.maybeReportAutomaticSkillsSyncFailure.call(void 0, {
1579
1583
  baseUrl,
1580
1584
  remoteSkillsVersion: update.remoteVersion,
1581
1585
  agents,
@@ -1588,7 +1592,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1588
1592
  }
1589
1593
  }
1590
1594
  runLegacySkillsCleanup(agents);
1591
- if (!_chunk3IUQNHIGjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1595
+ if (!_chunkUDXULACQjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1592
1596
  notice(
1593
1597
  "Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
1594
1598
  );
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkKBMBNUUWjs = require('./chunk-KBMBNUUW.js');
6
+ var _chunkQM6Y6S4Ejs = require('./chunk-QM6Y6S4E.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
11
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
12
12
 
13
13
 
14
14
 
15
- var _chunk3IUQNHIGjs = require('./chunk-3IUQNHIG.js');
15
+ var _chunkUDXULACQjs = require('./chunk-UDXULACQ.js');
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  var _commander = require('commander');
@@ -22,7 +22,7 @@ var _fs = require('fs');
22
22
  var _path = require('path');
23
23
  var SEARCH_REF_TTL_MS = 15 * 6e4;
24
24
  function lastSearchPath() {
25
- return _path.join.call(void 0, _chunk3IUQNHIGjs.sdkCliStateDirPath.call(void 0, _chunk3IUQNHIGjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunkUDXULACQjs.sdkCliStateDirPath.call(void 0, _chunkUDXULACQjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
26
26
  }
27
27
  function rememberSearchRef(searchRef) {
28
28
  writeSearchRefs({ searchRef });
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
132
132
  console.error("--summary-width must be an integer of at least 2.");
133
133
  return 1;
134
134
  }
135
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
135
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-BUSANFRN.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-6JF3S4TP.js")));
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
157
157
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
158
158
  if (!multiple) {
159
159
  if (searchRef) rememberSearchRef(searchRef);
160
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, result, { json, text });
161
161
  return 0;
162
162
  }
163
163
  searches.push({ ...result, query });
@@ -171,8 +171,8 @@ ${text}`);
171
171
  }
172
172
  } catch (error) {
173
173
  if (!multiple) throw error;
174
- const payload = _chunkQGKX2WBZjs.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkQGKX2WBZjs.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkZDQFBJPOjs.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkZDQFBJPOjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
176
  searches.push({ ...payload, query, exitCode: queryExitCode });
177
177
  if (!json) {
178
178
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -184,7 +184,7 @@ Search failed.
184
184
  }
185
185
  }
186
186
  rememberSearchRefsByTool(refs);
187
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
187
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-4QUWXUUJ.mjs";
3
+ } from "./chunk-GGB3JYCW.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {