deepline 0.3.493 → 0.3.495

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 (158) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +12 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +2 -2
  3. package/dist/bundling-sources/sdk/src/types.ts +5 -4
  4. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +8 -3
  5. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +2 -2
  6. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +15 -0
  7. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +101 -3
  8. package/dist/cli/{auth-3NAY3AST.mjs → auth-B2YUNFQ6.mjs} +5 -5
  9. package/dist/cli/auth-GAOWVOK4.js +43 -0
  10. package/dist/cli/{billing-FSB4BBBO.js → billing-2Q7TMNRE.js} +79 -79
  11. package/dist/cli/{billing-SBWQCC7B.mjs → billing-5TR7ZBZM.mjs} +6 -6
  12. package/dist/cli/{chunk-3RGWTKK3.mjs → chunk-2GEYN3H4.mjs} +89 -3
  13. package/dist/cli/{chunk-IRDYBMA7.mjs → chunk-2HCZHIMT.mjs} +21 -0
  14. package/dist/cli/{chunk-WCZFCOMZ.js → chunk-5OKQPDYJ.js} +11 -10
  15. package/dist/cli/{chunk-DYP27IWC.mjs → chunk-7LLUJQM5.mjs} +4 -4
  16. package/dist/cli/{chunk-IJOHWGPF.js → chunk-7OGADAAA.js} +6 -6
  17. package/dist/cli/{chunk-2BRTYIAH.mjs → chunk-7YNZRALI.mjs} +3 -3
  18. package/dist/cli/{chunk-MLEUOTEQ.js → chunk-ACVT5LPN.js} +53 -53
  19. package/dist/cli/{chunk-IOMEJKGK.js → chunk-B3ROCZ5Y.js} +2 -2
  20. package/dist/cli/{chunk-NPZBE64X.js → chunk-BLMB4N63.js} +89 -3
  21. package/dist/cli/{chunk-KGDDQMI7.mjs → chunk-C5R3UH5V.mjs} +28 -1
  22. package/dist/cli/{chunk-QTPS5RLG.js → chunk-CAWE3MS2.js} +45 -13
  23. package/dist/cli/{chunk-NALJJTPS.mjs → chunk-CKLJAQIV.mjs} +5 -5
  24. package/dist/cli/{chunk-NPNAEPY4.js → chunk-CTFR52JC.js} +26 -26
  25. package/dist/cli/{chunk-KKSKYZO4.mjs → chunk-DFK5IJMT.mjs} +2 -2
  26. package/dist/cli/{chunk-4NIGNT7X.mjs → chunk-FC4JGTFC.mjs} +1 -1
  27. package/dist/cli/{chunk-TNQOR6XQ.mjs → chunk-FLJSK32S.mjs} +1 -1
  28. package/dist/cli/{chunk-TIFRRLZT.js → chunk-GBICEYUA.js} +6 -6
  29. package/dist/cli/{chunk-ZQH4TXM2.mjs → chunk-H5L2Q2GI.mjs} +2 -2
  30. package/dist/cli/{chunk-Y3NN2UAF.mjs → chunk-HJ5LYO6U.mjs} +2 -2
  31. package/dist/cli/{chunk-C2MRDPA5.js → chunk-I42EOZKQ.js} +32 -5
  32. package/dist/cli/{chunk-3QGUWB6E.mjs → chunk-I66IWCY4.mjs} +8 -7
  33. package/dist/cli/{chunk-VFHIYWMC.mjs → chunk-JRBQC6L4.mjs} +2 -2
  34. package/dist/cli/{chunk-67ZG7XZV.mjs → chunk-KG2FUYWB.mjs} +2 -2
  35. package/dist/cli/{chunk-5WOPBX3H.mjs → chunk-KSHAFYYG.mjs} +1 -1
  36. package/dist/cli/{chunk-SXD2EYAH.mjs → chunk-L5ZXEYTQ.mjs} +37 -5
  37. package/dist/cli/{chunk-KCDZWS2B.js → chunk-LQKZG5RN.js} +231 -231
  38. package/dist/cli/{chunk-2I7VN65H.js → chunk-MAMEKGLI.js} +7 -7
  39. package/dist/cli/{chunk-2IHGVAGT.mjs → chunk-MG3WST3Z.mjs} +2 -2
  40. package/dist/cli/{chunk-DWJ4RXSA.js → chunk-N3T3L3WW.js} +21 -0
  41. package/dist/cli/{chunk-5DIZ2G74.mjs → chunk-OFBDI5S3.mjs} +2 -2
  42. package/dist/cli/{chunk-UCMY2SO2.js → chunk-PEIOQKTA.js} +3 -3
  43. package/dist/cli/{chunk-NWIDPT7H.js → chunk-PHO53W67.js} +4 -4
  44. package/dist/cli/{chunk-E5ILCMKQ.mjs → chunk-RBBOUPME.mjs} +1 -1
  45. package/dist/cli/{chunk-HLM2UFQ5.mjs → chunk-S2QARJLX.mjs} +1 -1
  46. package/dist/cli/{chunk-GSC35TPZ.mjs → chunk-SC5GHGFD.mjs} +2 -2
  47. package/dist/cli/{chunk-ZVW7EWTC.mjs → chunk-SR6VS5PG.mjs} +184 -184
  48. package/dist/cli/{chunk-EFO5GVYS.js → chunk-T4PGA6UD.js} +2 -2
  49. package/dist/cli/{chunk-AGTXL6LZ.js → chunk-TCNILHMS.js} +5 -5
  50. package/dist/cli/{chunk-ZVXB7OU7.mjs → chunk-TFMV3NKL.mjs} +1 -1
  51. package/dist/cli/{chunk-4IJFQV3O.mjs → chunk-TMO7W4P2.mjs} +1 -1
  52. package/dist/cli/{chunk-WTFI7BVH.mjs → chunk-TSKVPEVZ.mjs} +8 -1
  53. package/dist/cli/{chunk-HTUSTPP4.js → chunk-TUAEM76Y.js} +14 -7
  54. package/dist/cli/{chunk-EYG336YV.js → chunk-UDFO2MWA.js} +41 -41
  55. package/dist/cli/{chunk-2NGIBJM2.js → chunk-UKGOZOTT.js} +8 -8
  56. package/dist/cli/{chunk-7HABWOMB.js → chunk-UMFZQREB.js} +259 -259
  57. package/dist/cli/{chunk-XLE7KXE7.js → chunk-WVL5HGUG.js} +2 -2
  58. package/dist/cli/{chunk-XQX476QK.js → chunk-XAOLMEN5.js} +9 -9
  59. package/dist/cli/{chunk-AWMCZAUR.js → chunk-XKYQR3QK.js} +3 -3
  60. package/dist/cli/{chunk-IJJ6D5WL.mjs → chunk-XR6RCBB3.mjs} +11 -11
  61. package/dist/cli/{chunk-IOBPR2VO.js → chunk-XX6PRYFI.js} +16 -16
  62. package/dist/cli/{chunk-LGTZYI5B.js → chunk-Y2DUGUUU.js} +21 -21
  63. package/dist/cli/{chunk-2H4OFVR5.js → chunk-Z33PZUWG.js} +5 -5
  64. package/dist/cli/{chunk-EBAS3UT2.mjs → chunk-ZB6UYG5I.mjs} +5 -5
  65. package/dist/cli/{chunk-JO2JZUBR.js → chunk-ZBQBH4IT.js} +3 -3
  66. package/dist/cli/command-docs.js +2 -2
  67. package/dist/cli/command-docs.mjs +1 -1
  68. package/dist/cli/{csv-XR22YQXT.mjs → csv-5UQXKWLE.mjs} +4 -4
  69. package/dist/cli/{csv-DKYZE2KM.js → csv-DZQ77T67.js} +13 -13
  70. package/dist/cli/{db-EOKG36YN.mjs → db-F62BVFTP.mjs} +6 -6
  71. package/dist/cli/{db-RNYRTCMV.js → db-JIPLUHA6.js} +27 -27
  72. package/dist/cli/describe-BA4RAZ7J.js +50 -0
  73. package/dist/cli/{describe-ICFXOQBW.mjs → describe-J7KYHONJ.mjs} +20 -20
  74. package/dist/cli/describe-core.d.mts +5 -11
  75. package/dist/cli/describe-core.d.ts +5 -11
  76. package/dist/cli/describe-core.js +4 -4
  77. package/dist/cli/describe-core.mjs +3 -3
  78. package/dist/cli/{executions-3RAOACNS.mjs → executions-XB4F2KZD.mjs} +6 -6
  79. package/dist/cli/{executions-OBWPSWH7.js → executions-XQ4FNJ27.js} +8 -8
  80. package/dist/cli/{feedback-6EQRVBKF.mjs → feedback-5CR4CJ6W.mjs} +4 -4
  81. package/dist/cli/{feedback-6GPEUBLF.js → feedback-Q6JRCMDV.js} +8 -8
  82. package/dist/cli/git-EAO432S2.js +25 -0
  83. package/dist/cli/{git-CVQ24DTR.mjs → git-P5WBBUT3.mjs} +5 -5
  84. package/dist/cli/index.js +141 -141
  85. package/dist/cli/index.mjs +41 -41
  86. package/dist/cli/{legacy-noops-XPOATG5V.js → legacy-noops-EJAB6III.js} +8 -8
  87. package/dist/cli/{legacy-noops-QULJZYNH.mjs → legacy-noops-H5JJVYZ2.mjs} +5 -5
  88. package/dist/cli/{monitors-OJ4CMREE.js → monitors-7DOGM7RO.js} +91 -91
  89. package/dist/cli/{monitors-AFT5YJPZ.mjs → monitors-QPFAT2J5.mjs} +7 -7
  90. package/dist/cli/{org-WHKNXANG.mjs → org-BH7ATDIJ.mjs} +6 -6
  91. package/dist/cli/{org-RKT52CSL.js → org-QOBB4IN3.js} +72 -72
  92. package/dist/cli/{pages-EEAQFGVD.mjs → pages-PJH2TXZQ.mjs} +20 -6
  93. package/dist/cli/{pages-SOE3R667.js → pages-PLTE54KM.js} +32 -18
  94. package/dist/cli/{play-LXFWHUBP.mjs → play-ULTJ3LPA.mjs} +17 -17
  95. package/dist/cli/{play-OTJJ4E4T.js → play-XZAPTF3T.js} +314 -314
  96. package/dist/cli/{providers-U3CPKTMM.mjs → providers-6NUTRVE4.mjs} +6 -6
  97. package/dist/cli/{providers-RU4HIAT3.js → providers-SKXLW7M3.js} +9 -9
  98. package/dist/cli/{quickstart-75AO2AJC.mjs → quickstart-5HMJMXVT.mjs} +4 -4
  99. package/dist/cli/{quickstart-N72IVA2Y.js → quickstart-JFCIIGII.js} +6 -6
  100. package/dist/cli/{run-IGWFL6WH.mjs → run-2BJZPY4K.mjs} +25 -25
  101. package/dist/cli/{run-MMYES3IW.js → run-BRAXLCBC.js} +40 -40
  102. package/dist/cli/search-4MU2G6HV.js +32 -0
  103. package/dist/cli/{search-FIYESBLZ.mjs → search-IDXSB2CV.mjs} +7 -7
  104. package/dist/cli/{search-output-3I5KSW36.mjs → search-output-AATMH4QG.mjs} +4 -4
  105. package/dist/cli/{search-output-2FXN4ZWD.js → search-output-CJ4TNYF7.js} +6 -6
  106. package/dist/cli/{secrets-HCZQ6JNP.js → secrets-6SMKTBFT.js} +15 -15
  107. package/dist/cli/{secrets-O7IUQ3VT.mjs → secrets-UQNEJSNG.mjs} +6 -6
  108. package/dist/cli/{sessions-KY7A3EZO.mjs → sessions-MHTUVPSR.mjs} +5 -5
  109. package/dist/cli/{sessions-5AYTT4IW.js → sessions-W3KU4Q4X.js} +6 -6
  110. package/dist/cli/{settings-P4VFYWJK.js → settings-BA52NEU5.js} +78 -78
  111. package/dist/cli/{settings-WSMRR2GS.mjs → settings-KNYJ6GXK.mjs} +11 -11
  112. package/dist/cli/{setup-J7CA3EJL.js → setup-D5HCJAVU.js} +49 -49
  113. package/dist/cli/{setup-YTVKVQC7.mjs → setup-TLTZ2YCO.mjs} +9 -9
  114. package/dist/cli/{skills-W5WY764N.mjs → skills-DPLM4EGS.mjs} +7 -7
  115. package/dist/cli/skills-SVUWVXCE.js +36 -0
  116. package/dist/cli/{tools-YECI6N3N.mjs → tools-I4ZOJV23.mjs} +18 -18
  117. package/dist/cli/tools-RJSP76HX.js +57 -0
  118. package/dist/cli/{update-BIFBIEII.mjs → update-VIFS7IK5.mjs} +9 -9
  119. package/dist/cli/update-YT6JPIC6.js +34 -0
  120. package/dist/cli/{workflow-D2TUFFH6.js → workflow-7REPOHXM.js} +17 -17
  121. package/dist/cli/{workflow-XZVDNARC.mjs → workflow-TAQBNDV7.mjs} +7 -7
  122. package/dist/{client-CNzJ1LTF.d.mts → client-BDT_LwuM.d.mts} +1 -1
  123. package/dist/{client-BDB_VbE4.d.ts → client-CKVH6tmp.d.ts} +1 -1
  124. package/dist/{client-core-CSv3DlPD.d.mts → client-core-CEixe_C0.d.mts} +10 -5
  125. package/dist/{client-core-xEa9x3pl.d.ts → client-core-RS-d-vtY.d.ts} +10 -5
  126. package/dist/{compiler-manifest-BFTwq1HI.d.ts → compiler-manifest-CPEF48NM.d.mts} +91 -0
  127. package/dist/{compiler-manifest-BFTwq1HI.d.mts → compiler-manifest-CPEF48NM.d.ts} +91 -0
  128. package/dist/{errors-c3pMsylw.d.ts → errors-B-PJXveg.d.ts} +1 -1
  129. package/dist/{errors-w31ybrQM.d.mts → errors-BWbPzqwo.d.mts} +1 -1
  130. package/dist/{index-DvNtxucX.d.mts → index-BJ8AA1F9.d.mts} +1 -1
  131. package/dist/{index-CQ-15-QL.d.ts → index-CvVxPpE8.d.ts} +1 -1
  132. package/dist/index.d.mts +7 -7
  133. package/dist/index.d.ts +7 -7
  134. package/dist/index.js +26 -18
  135. package/dist/index.mjs +15 -7
  136. package/dist/install-integrity.json +116 -116
  137. package/dist/plays/bundle-play-file.d.mts +3 -3
  138. package/dist/plays/bundle-play-file.d.ts +3 -3
  139. package/dist/plays/play-description.d.mts +2 -2
  140. package/dist/plays/play-description.d.ts +2 -2
  141. package/dist/plays/run-request.d.mts +2 -2
  142. package/dist/plays/run-request.d.ts +2 -2
  143. package/dist/release.d.mts +2 -2
  144. package/dist/release.d.ts +2 -2
  145. package/dist/release.js +2 -2
  146. package/dist/release.mjs +1 -1
  147. package/dist/server.d.mts +4 -4
  148. package/dist/server.d.ts +4 -4
  149. package/dist/server.js +5 -5
  150. package/dist/server.mjs +3 -3
  151. package/package.json +1 -1
  152. package/dist/cli/auth-KYQLDI6V.js +0 -43
  153. package/dist/cli/describe-RS75I33X.js +0 -50
  154. package/dist/cli/git-DEFE4SSB.js +0 -25
  155. package/dist/cli/search-EQURI7SZ.js +0 -32
  156. package/dist/cli/skills-KKPEGLAR.js +0 -36
  157. package/dist/cli/tools-65Y4QTW6.js +0 -57
  158. package/dist/cli/update-WDG7VFOW.js +0 -34
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
5
+ var _chunkZBQBH4ITjs = require('./chunk-ZBQBH4IT.js');
6
6
 
7
7
 
8
- var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
8
+ var _chunkPHO53W67js = require('./chunk-PHO53W67.js');
9
9
 
10
10
 
11
11
 
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
290
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
291
  var defaultBrowserCommandRunner = childProcess;
292
292
  function getAuthedHttpClient() {
293
- const config = _chunkJO2JZUBRjs.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkJO2JZUBRjs.HttpClient)(config) };
293
+ const config = _chunkZBQBH4ITjs.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkZBQBH4ITjs.HttpClient)(config) };
295
295
  }
296
296
  function stableOsUserId() {
297
297
  try {
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
631
631
  os: `${process.platform} ${process.arch}`,
632
632
  node_version: process.version,
633
633
  home_dir: homeDir,
634
- agent_runtime: _chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkPHO53W67js.detectAgentRuntime.call(void 0, )
635
635
  };
636
636
  const env = process.env;
637
637
  const optional = {
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
878
  }
879
879
  function withAgentCommandContext(value) {
880
880
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkPHO53W67js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunkJO2JZUBRjs.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkZBQBH4ITjs.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-VFHIYWMC.mjs";
4
+ } from "./chunk-JRBQC6L4.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-TNQOR6XQ.mjs";
7
+ } from "./chunk-FLJSK32S.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -388,6 +388,7 @@ Examples:
388
388
  deepline search "50 company domains -> each one's lead investors"
389
389
  deepline search "company domain -> contacts in sales leadership" --type plays
390
390
  deepline search "upload a contact list as a Meta ads audience"
391
+ deepline search "how do webhooks trigger a play" --type docs
391
392
  ]]
392
393
  [[mcp:
393
394
  query "first name, last name and company domain -> verified work email"
@@ -1730,6 +1731,8 @@ The sequence:
1730
1731
  [[pages set-private <name>]], [[pages links list <name>]],
1731
1732
  [[pages links revoke <name> <link-id>]], [[pages delete <name>]]. The
1732
1733
  Pages section of the dashboard has the same actions.
1734
+ 4. For cross-origin browser reads of a public page, set allowed origins
1735
+ with [[pages set-origins <name> https://example.com]].
1733
1736
  What visitors see:
1734
1737
  HTML, SVG, and XML open in a sandbox under a "Hosted on Deepline" tab.
1735
1738
  Scripts, forms, and https requests work. A link to another site asks the
@@ -1777,6 +1780,24 @@ Cost:
1777
1780
  Avoid:
1778
1781
  Do not use --public for something only your team should see. Write it
1779
1782
  --private and share it with [[pages links create <name>]].
1783
+ `
1784
+ },
1785
+ "pages set-origins": {
1786
+ rolloutFeature: "hosted-pages",
1787
+ core: `
1788
+ Purpose:
1789
+ Replace the list of sites that can fetch a public page from browser JavaScript.
1790
+ Input:
1791
+ <name>, followed by up to 20 exact HTTPS origins without trailing slashes.
1792
+ Omit the origins to clear the list. --json prints JSON.
1793
+ Output (JSON):
1794
+ allowed_origins: the saved list.
1795
+ Behavior:
1796
+ The setting applies to anonymous reads of the raw public document.
1797
+ Each listed origin includes the scheme, hostname, and port if non-default.
1798
+ Use a credential-free GET or HEAD request.
1799
+ Cost:
1800
+ Free.
1780
1801
  `
1781
1802
  },
1782
1803
  "pages links create": {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-WTFI7BVH.mjs";
3
+ } from "./chunk-TSKVPEVZ.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-4NIGNT7X.mjs";
7
+ } from "./chunk-FC4JGTFC.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -6,7 +6,7 @@ var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
6
6
 
7
7
 
8
8
 
9
- var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
9
+ var _chunkMAMEKGLIjs = require('./chunk-MAMEKGLI.js');
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
247
247
  const logicalValue = parseSerializedDatasetValue(value);
248
248
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
249
  if (typeof logicalValue === "object") {
250
- return _chunk2I7VN65Hjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunkMAMEKGLIjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
251
  }
252
252
  return logicalValue;
253
253
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunk2I7VN65Hjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkMAMEKGLIjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkEFO5GVYSjs = require('./chunk-EFO5GVYS.js');
19
+ var _chunkT4PGA6UDjs = require('./chunk-T4PGA6UD.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkEFO5GVYSjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkEFO5GVYSjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkEFO5GVYSjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunkT4PGA6UDjs.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunkT4PGA6UDjs.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkT4PGA6UDjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
25
25
 
26
26
  // src/agent-runtime.ts
27
27
  var _os = require('os');
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-VFHIYWMC.mjs";
3
+ } from "./chunk-JRBQC6L4.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  csvSafeJsonString,
8
8
  csvStringFromRows
9
- } from "./chunk-VFHIYWMC.mjs";
9
+ } from "./chunk-JRBQC6L4.mjs";
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-WTFI7BVH.mjs";
3
+ } from "./chunk-TSKVPEVZ.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-4NIGNT7X.mjs";
7
+ } from "./chunk-FC4JGTFC.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-E5ILCMKQ.mjs";
3
+ } from "./chunk-RBBOUPME.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -12,7 +12,7 @@ import {
12
12
  sdkCliStateDirPath,
13
13
  skillsAgentPathSegment,
14
14
  writeSdkSkillsLocalVersion
15
- } from "./chunk-4NIGNT7X.mjs";
15
+ } from "./chunk-FC4JGTFC.mjs";
16
16
  import {
17
17
  SDK_API_CONTRACT,
18
18
  SDK_API_MAJOR,
@@ -20,13 +20,13 @@ import {
20
20
  agentSessionIdFromEnvironment,
21
21
  deploymentProtectionHeaders,
22
22
  detectAgentRuntime
23
- } from "./chunk-TNQOR6XQ.mjs";
23
+ } from "./chunk-FLJSK32S.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-KKSKYZO4.mjs";
29
+ } from "./chunk-DFK5IJMT.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";
@@ -294,181 +294,6 @@ function enforceSdkCompatibilityResponse(response, options = {}) {
294
294
  }
295
295
  }
296
296
 
297
- // contracts/install-commands.json
298
- var install_commands_default = {
299
- skills: {
300
- index_path: "/.well-known/skills/index.json",
301
- default_agents: [
302
- "codex",
303
- "claude-code",
304
- "cursor",
305
- "gemini-cli",
306
- "antigravity"
307
- ],
308
- npx_binary: "npx",
309
- npx_add_args_template: [
310
- "--yes",
311
- "skills@1.5.15",
312
- "add",
313
- "{skills_source_url}",
314
- "--agent",
315
- "{agents}",
316
- "--global",
317
- "--yes",
318
- "--skill",
319
- "{skill_name}",
320
- "--full-depth"
321
- ]
322
- },
323
- cli: {
324
- sdk_npm_global: "npm install -g deepline@latest"
325
- }
326
- };
327
-
328
- // src/cli/install-commands.ts
329
- var INSTALL_COMMANDS = install_commands_default;
330
- var skillsNpxPackage = INSTALL_COMMANDS.skills.npx_add_args_template.find(
331
- (arg) => /^skills@\d+\.\d+\.\d+$/.test(arg)
332
- );
333
- if (!skillsNpxPackage) {
334
- throw new Error(
335
- "shared_libs/cli/install-commands.json must pin an exact skills package version."
336
- );
337
- }
338
- var SKILLS_NPX_PACKAGE = skillsNpxPackage;
339
- var DEFAULT_V1_SKILL_NAMES = [
340
- "deepline-org-chart",
341
- "build-tam",
342
- "clay-to-deepline",
343
- "deepline-analytics",
344
- "deepline-engine",
345
- // Retired: its guidance lives in `feedback send --help` and `sessions send
346
- // --help`. Kept as a stub because installed CLIs list it and refuse to
347
- // sync any skill when the published index lacks a listed name. Move to
348
- // LEGACY_SKILL_NAMES_TO_REMOVE once those CLIs are out of the field.
349
- "deepline-feedback",
350
- "deepline-gtm",
351
- "deepline-start",
352
- "deepline-plays",
353
- "deepline-quickstart",
354
- "deepline-research",
355
- "deepline-scoring",
356
- "find-qualified-titles",
357
- // Retired recipe shortcut: lookup guidance is now one rule in `deepline-gtm`.
358
- // Kept as a stub because installed CLIs list it and refuse to sync any skill
359
- // when the published index lacks a listed name. Move to
360
- // LEGACY_SKILL_NAMES_TO_REMOVE once those CLIs are out of the field.
361
- "linkedin-url-lookup",
362
- // Deprecated alias for `deepline-scoring`, kept installable so saved prompts
363
- // and scripts using `/niche-signal-discovery` keep routing to the renamed
364
- // skill. Move to LEGACY_SKILL_NAMES_TO_REMOVE once the window closes.
365
- "niche-signal-discovery",
366
- "portfolio-prospecting"
367
- ];
368
- var DEFAULT_SDK_SKILL_NAMES = [...DEFAULT_V1_SKILL_NAMES];
369
- var LEGACY_SKILL_NAMES_TO_REMOVE = [
370
- "deepline-plays-feedback",
371
- "deepline-plays-quickstart",
372
- "workflow-hello-world"
373
- ];
374
- function normalizeBaseUrl(baseUrl) {
375
- return baseUrl.replace(/\/$/, "");
376
- }
377
- function renderTemplate(template, values) {
378
- return template.replace(/\{([a-z_]+)\}/g, (match, key) => {
379
- return values[key] ?? match;
380
- });
381
- }
382
- function skillsIndexUrl(baseUrl) {
383
- return `${normalizeBaseUrl(baseUrl)}${INSTALL_COMMANDS.skills.index_path}`;
384
- }
385
- function skillsSourceUrl(baseUrl) {
386
- return normalizeBaseUrl(baseUrl);
387
- }
388
- function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
389
- const skillNames = Array.isArray(skillName) ? skillName : [skillName];
390
- const [firstSkillName, ...extraSkillNames] = skillNames;
391
- const agents = options.agents ?? DEFAULT_SKILL_AGENTS;
392
- const values = {
393
- skills_index_url: skillsIndexUrl(baseUrl),
394
- skills_source_url: skillsSourceUrl(baseUrl),
395
- agents: agents.join(" "),
396
- skill_name: firstSkillName ?? ""
397
- };
398
- const rendered = INSTALL_COMMANDS.skills.npx_add_args_template.flatMap(
399
- (arg, index) => {
400
- const next = index === 0 && options.firstArg ? options.firstArg : arg;
401
- const value = renderTemplate(next, values);
402
- if (arg === "{agents}") {
403
- return agents;
404
- }
405
- if (arg === "{skill_name}") {
406
- return [
407
- value,
408
- ...extraSkillNames.flatMap((name) => ["--skill", name])
409
- ];
410
- }
411
- return value;
412
- }
413
- );
414
- return rendered;
415
- }
416
-
417
- // src/cli/windows-arg-escape.ts
418
- import { statSync } from "fs";
419
- import { win32 } from "path";
420
- var CMD_META_CHARS = /([()\][%!^"`<>&|;, *?])/g;
421
- function escapeCmdArgument(arg, forBatchFile = true) {
422
- let escaped = arg.replace(/(\\*)"/g, '$1$1\\"');
423
- escaped = escaped.replace(/(\\*)$/, "$1$1");
424
- escaped = `"${escaped}"`;
425
- escaped = escaped.replace(CMD_META_CHARS, "^$1");
426
- return forBatchFile ? escaped.replace(CMD_META_CHARS, "^$1") : escaped;
427
- }
428
- function escapeCmdCommand(command) {
429
- return command.replace(CMD_META_CHARS, "^$1");
430
- }
431
- function resolveShellSpawn(command, args, platform2 = process.platform, env = process.env, cwd = process.cwd()) {
432
- if (platform2 !== "win32") {
433
- return { command, args: [...args], shell: false };
434
- }
435
- const resolved = resolveWindowsExecutable(command, env, cwd);
436
- const executable = resolved ?? command;
437
- const batchFile = /\.(cmd|bat)$/i.test(executable) || !resolved && /^(npm|npx|pnpm)$/i.test(command);
438
- if (!batchFile) {
439
- if (/^bunx(?:\.exe)?$/i.test(win32.basename(executable))) {
440
- const bun = resolveWindowsExecutable("bun", env, cwd);
441
- if (bun && /\.exe$/i.test(bun)) {
442
- return { command: bun, args: ["x", ...args], shell: false };
443
- }
444
- }
445
- return { command: executable, args: [...args], shell: false };
446
- }
447
- return {
448
- command: escapeCmdCommand(executable),
449
- args: args.map((arg) => escapeCmdArgument(arg)),
450
- shell: true
451
- };
452
- }
453
- function resolveWindowsExecutable(command, env, cwd) {
454
- const extensions = win32.extname(command) ? [""] : (env.PATHEXT ?? ".COM;.EXE;.BAT;.CMD").split(";").filter(Boolean);
455
- const directories = /[\\/]/.test(command) ? [""] : [cwd, ...(env.PATH ?? "").split(";")];
456
- for (const directory of directories) {
457
- for (const extension of extensions) {
458
- const candidate = directory ? win32.resolve(
459
- cwd,
460
- directory.replace(/^"|"$/g, ""),
461
- command + extension
462
- ) : win32.resolve(cwd, command + extension);
463
- try {
464
- if (statSync(candidate).isFile()) return candidate;
465
- } catch {
466
- }
467
- }
468
- }
469
- return void 0;
470
- }
471
-
472
297
  // src/cli/failure-reporting.ts
473
298
  import { hostname, platform, release } from "os";
474
299
  var FAILURE_REPORT_DISABLE_ENV = "DEEPLINE_DISABLE_FAILURE_REPORTING";
@@ -851,6 +676,181 @@ async function maybeReportSdkCliFailure(input) {
851
676
  });
852
677
  }
853
678
 
679
+ // contracts/install-commands.json
680
+ var install_commands_default = {
681
+ skills: {
682
+ index_path: "/.well-known/skills/index.json",
683
+ default_agents: [
684
+ "codex",
685
+ "claude-code",
686
+ "cursor",
687
+ "gemini-cli",
688
+ "antigravity"
689
+ ],
690
+ npx_binary: "npx",
691
+ npx_add_args_template: [
692
+ "--yes",
693
+ "skills@1.5.15",
694
+ "add",
695
+ "{skills_source_url}",
696
+ "--agent",
697
+ "{agents}",
698
+ "--global",
699
+ "--yes",
700
+ "--skill",
701
+ "{skill_name}",
702
+ "--full-depth"
703
+ ]
704
+ },
705
+ cli: {
706
+ sdk_npm_global: "npm install -g deepline@latest"
707
+ }
708
+ };
709
+
710
+ // src/cli/install-commands.ts
711
+ var INSTALL_COMMANDS = install_commands_default;
712
+ var skillsNpxPackage = INSTALL_COMMANDS.skills.npx_add_args_template.find(
713
+ (arg) => /^skills@\d+\.\d+\.\d+$/.test(arg)
714
+ );
715
+ if (!skillsNpxPackage) {
716
+ throw new Error(
717
+ "shared_libs/cli/install-commands.json must pin an exact skills package version."
718
+ );
719
+ }
720
+ var SKILLS_NPX_PACKAGE = skillsNpxPackage;
721
+ var DEFAULT_V1_SKILL_NAMES = [
722
+ "deepline-org-chart",
723
+ "build-tam",
724
+ "clay-to-deepline",
725
+ "deepline-analytics",
726
+ "deepline-engine",
727
+ // Retired: its guidance lives in `feedback send --help` and `sessions send
728
+ // --help`. Kept as a stub because installed CLIs list it and refuse to
729
+ // sync any skill when the published index lacks a listed name. Move to
730
+ // LEGACY_SKILL_NAMES_TO_REMOVE once those CLIs are out of the field.
731
+ "deepline-feedback",
732
+ "deepline-gtm",
733
+ "deepline-start",
734
+ "deepline-plays",
735
+ "deepline-quickstart",
736
+ "deepline-research",
737
+ "deepline-scoring",
738
+ "find-qualified-titles",
739
+ // Retired recipe shortcut: lookup guidance is now one rule in `deepline-gtm`.
740
+ // Kept as a stub because installed CLIs list it and refuse to sync any skill
741
+ // when the published index lacks a listed name. Move to
742
+ // LEGACY_SKILL_NAMES_TO_REMOVE once those CLIs are out of the field.
743
+ "linkedin-url-lookup",
744
+ // Deprecated alias for `deepline-scoring`, kept installable so saved prompts
745
+ // and scripts using `/niche-signal-discovery` keep routing to the renamed
746
+ // skill. Move to LEGACY_SKILL_NAMES_TO_REMOVE once the window closes.
747
+ "niche-signal-discovery",
748
+ "portfolio-prospecting"
749
+ ];
750
+ var DEFAULT_SDK_SKILL_NAMES = [...DEFAULT_V1_SKILL_NAMES];
751
+ var LEGACY_SKILL_NAMES_TO_REMOVE = [
752
+ "deepline-plays-feedback",
753
+ "deepline-plays-quickstart",
754
+ "workflow-hello-world"
755
+ ];
756
+ function normalizeBaseUrl(baseUrl) {
757
+ return baseUrl.replace(/\/$/, "");
758
+ }
759
+ function renderTemplate(template, values) {
760
+ return template.replace(/\{([a-z_]+)\}/g, (match, key) => {
761
+ return values[key] ?? match;
762
+ });
763
+ }
764
+ function skillsIndexUrl(baseUrl) {
765
+ return `${normalizeBaseUrl(baseUrl)}${INSTALL_COMMANDS.skills.index_path}`;
766
+ }
767
+ function skillsSourceUrl(baseUrl) {
768
+ return normalizeBaseUrl(baseUrl);
769
+ }
770
+ function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
771
+ const skillNames = Array.isArray(skillName) ? skillName : [skillName];
772
+ const [firstSkillName, ...extraSkillNames] = skillNames;
773
+ const agents = options.agents ?? DEFAULT_SKILL_AGENTS;
774
+ const values = {
775
+ skills_index_url: skillsIndexUrl(baseUrl),
776
+ skills_source_url: skillsSourceUrl(baseUrl),
777
+ agents: agents.join(" "),
778
+ skill_name: firstSkillName ?? ""
779
+ };
780
+ const rendered = INSTALL_COMMANDS.skills.npx_add_args_template.flatMap(
781
+ (arg, index) => {
782
+ const next = index === 0 && options.firstArg ? options.firstArg : arg;
783
+ const value = renderTemplate(next, values);
784
+ if (arg === "{agents}") {
785
+ return agents;
786
+ }
787
+ if (arg === "{skill_name}") {
788
+ return [
789
+ value,
790
+ ...extraSkillNames.flatMap((name) => ["--skill", name])
791
+ ];
792
+ }
793
+ return value;
794
+ }
795
+ );
796
+ return rendered;
797
+ }
798
+
799
+ // src/cli/windows-arg-escape.ts
800
+ import { statSync } from "fs";
801
+ import { win32 } from "path";
802
+ var CMD_META_CHARS = /([()\][%!^"`<>&|;, *?])/g;
803
+ function escapeCmdArgument(arg, forBatchFile = true) {
804
+ let escaped = arg.replace(/(\\*)"/g, '$1$1\\"');
805
+ escaped = escaped.replace(/(\\*)$/, "$1$1");
806
+ escaped = `"${escaped}"`;
807
+ escaped = escaped.replace(CMD_META_CHARS, "^$1");
808
+ return forBatchFile ? escaped.replace(CMD_META_CHARS, "^$1") : escaped;
809
+ }
810
+ function escapeCmdCommand(command) {
811
+ return command.replace(CMD_META_CHARS, "^$1");
812
+ }
813
+ function resolveShellSpawn(command, args, platform2 = process.platform, env = process.env, cwd = process.cwd()) {
814
+ if (platform2 !== "win32") {
815
+ return { command, args: [...args], shell: false };
816
+ }
817
+ const resolved = resolveWindowsExecutable(command, env, cwd);
818
+ const executable = resolved ?? command;
819
+ const batchFile = /\.(cmd|bat)$/i.test(executable) || !resolved && /^(npm|npx|pnpm)$/i.test(command);
820
+ if (!batchFile) {
821
+ if (/^bunx(?:\.exe)?$/i.test(win32.basename(executable))) {
822
+ const bun = resolveWindowsExecutable("bun", env, cwd);
823
+ if (bun && /\.exe$/i.test(bun)) {
824
+ return { command: bun, args: ["x", ...args], shell: false };
825
+ }
826
+ }
827
+ return { command: executable, args: [...args], shell: false };
828
+ }
829
+ return {
830
+ command: escapeCmdCommand(executable),
831
+ args: args.map((arg) => escapeCmdArgument(arg)),
832
+ shell: true
833
+ };
834
+ }
835
+ function resolveWindowsExecutable(command, env, cwd) {
836
+ const extensions = win32.extname(command) ? [""] : (env.PATHEXT ?? ".COM;.EXE;.BAT;.CMD").split(";").filter(Boolean);
837
+ const directories = /[\\/]/.test(command) ? [""] : [cwd, ...(env.PATH ?? "").split(";")];
838
+ for (const directory of directories) {
839
+ for (const extension of extensions) {
840
+ const candidate = directory ? win32.resolve(
841
+ cwd,
842
+ directory.replace(/^"|"$/g, ""),
843
+ command + extension
844
+ ) : win32.resolve(cwd, command + extension);
845
+ try {
846
+ if (statSync(candidate).isFile()) return candidate;
847
+ } catch {
848
+ }
849
+ }
850
+ }
851
+ return void 0;
852
+ }
853
+
854
854
  // src/cli/skills-sync.ts
855
855
  import { spawn, spawnSync } from "child_process";
856
856
  import { createHash, randomUUID as randomUUID2 } from "crypto";
@@ -1950,17 +1950,17 @@ export {
1950
1950
  checkSdkCompatibility,
1951
1951
  isCiEnvironment,
1952
1952
  enforceSdkCompatibilityResponse,
1953
- SKILLS_NPX_PACKAGE,
1954
- DEFAULT_SDK_SKILL_NAMES,
1955
- LEGACY_SKILL_NAMES_TO_REMOVE,
1956
- skillsSourceUrl,
1957
- resolveShellSpawn,
1958
1953
  isFailureReportingDisabled,
1959
1954
  redactFailureText,
1960
1955
  sanitizeCommand,
1961
1956
  failureReportHeaders,
1962
1957
  resolveSdkCliFailureExitCode,
1963
1958
  maybeReportSdkCliFailure,
1959
+ SKILLS_NPX_PACKAGE,
1960
+ DEFAULT_SDK_SKILL_NAMES,
1961
+ LEGACY_SKILL_NAMES_TO_REMOVE,
1962
+ skillsSourceUrl,
1963
+ resolveShellSpawn,
1964
1964
  SkillsStateUnavailableError,
1965
1965
  acquireSkillsInstallLease,
1966
1966
  skillsInstallLeasePath,
@@ -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.493",
52
+ version: "0.3.495",
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."
@@ -100,7 +100,7 @@ var SDK_RELEASE = {
100
100
  {
101
101
  command: "search",
102
102
  introducedIn: "0.3.287",
103
- reason: "deepline search was added in SDK CLI 0.3.287 as the one search across tools, monitors, and plays. On an older version run deepline tools search or deepline plays search, or update."
103
+ reason: "deepline search was added in SDK CLI 0.3.287 as the one search across tools, monitors, plays, and docs. On an older version run deepline tools search or deepline plays search, or update."
104
104
  },
105
105
  {
106
106
  command: "notifications",
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkHTUSTPP4js = require('./chunk-HTUSTPP4.js');
3
+ var _chunkTUAEM76Yjs = require('./chunk-TUAEM76Y.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
7
+ var _chunkZBQBH4ITjs = require('./chunk-ZBQBH4IT.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkJO2JZUBRjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkHTUSTPP4js.PlayClient)(
142
- new (0, _chunkJO2JZUBRjs.HttpClient)(config),
140
+ const config = _chunkZBQBH4ITjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkTUAEM76Yjs.PlayClient)(
142
+ new (0, _chunkZBQBH4ITjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-VFHIYWMC.mjs";
3
+ } from "./chunk-JRBQC6L4.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-ZVW7EWTC.mjs";
3
+ } from "./chunk-SR6VS5PG.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";