@lightsage/mcp 0.4.17 → 0.4.19

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 (345) hide show
  1. package/README.md +2 -2
  2. package/api/mcp.js +4 -1
  3. package/bin/mcp-server.js +1115 -205
  4. package/bin/mcp-server.js.map +82 -56
  5. package/esm/funcs/agentAnalyticsCountriesList.js +1 -0
  6. package/esm/funcs/agentAnalyticsCountriesList.js.map +1 -1
  7. package/esm/funcs/agentAnalyticsErrorPagesList.js +1 -0
  8. package/esm/funcs/agentAnalyticsErrorPagesList.js.map +1 -1
  9. package/esm/funcs/agentAnalyticsPagesList.js +1 -0
  10. package/esm/funcs/agentAnalyticsPagesList.js.map +1 -1
  11. package/esm/funcs/agentAnalyticsSourcesList.js +1 -0
  12. package/esm/funcs/agentAnalyticsSourcesList.js.map +1 -1
  13. package/esm/funcs/agentAnalyticsSummaryRetrieve.d.ts +1 -1
  14. package/esm/funcs/agentAnalyticsSummaryRetrieve.js +2 -1
  15. package/esm/funcs/agentAnalyticsSummaryRetrieve.js.map +1 -1
  16. package/esm/funcs/agentsList.d.ts +1 -1
  17. package/esm/funcs/agentsList.js +1 -1
  18. package/esm/funcs/evalsCreate.d.ts +2 -0
  19. package/esm/funcs/evalsCreate.d.ts.map +1 -1
  20. package/esm/funcs/evalsCreate.js +2 -0
  21. package/esm/funcs/evalsCreate.js.map +1 -1
  22. package/esm/funcs/evalsRun.d.ts +2 -0
  23. package/esm/funcs/evalsRun.d.ts.map +1 -1
  24. package/esm/funcs/evalsRun.js +2 -0
  25. package/esm/funcs/evalsRun.js.map +1 -1
  26. package/esm/funcs/promptsRun.d.ts +8 -3
  27. package/esm/funcs/promptsRun.d.ts.map +1 -1
  28. package/esm/funcs/promptsRun.js +8 -3
  29. package/esm/funcs/promptsRun.js.map +1 -1
  30. package/esm/funcs/promptsRunCancel.d.ts +16 -0
  31. package/esm/funcs/promptsRunCancel.d.ts.map +1 -0
  32. package/esm/funcs/promptsRunCancel.js +88 -0
  33. package/esm/funcs/promptsRunCancel.js.map +1 -0
  34. package/esm/funcs/promptsTargetsList.d.ts +16 -0
  35. package/esm/funcs/promptsTargetsList.d.ts.map +1 -0
  36. package/esm/funcs/promptsTargetsList.js +86 -0
  37. package/esm/funcs/promptsTargetsList.js.map +1 -0
  38. package/esm/funcs/promptsTargetsSet.d.ts +16 -0
  39. package/esm/funcs/promptsTargetsSet.d.ts.map +1 -0
  40. package/esm/funcs/promptsTargetsSet.js +83 -0
  41. package/esm/funcs/promptsTargetsSet.js.map +1 -0
  42. package/esm/funcs/visibilityCitationsList.d.ts +1 -1
  43. package/esm/funcs/visibilityCitationsList.js +2 -1
  44. package/esm/funcs/visibilityCitationsList.js.map +1 -1
  45. package/esm/funcs/visibilityCitationsSummaryRetrieve.d.ts +16 -0
  46. package/esm/funcs/visibilityCitationsSummaryRetrieve.d.ts.map +1 -0
  47. package/esm/funcs/visibilityCitationsSummaryRetrieve.js +93 -0
  48. package/esm/funcs/visibilityCitationsSummaryRetrieve.js.map +1 -0
  49. package/esm/funcs/visibilityCurrentRetrieve.d.ts +1 -1
  50. package/esm/funcs/visibilityCurrentRetrieve.js +2 -1
  51. package/esm/funcs/visibilityCurrentRetrieve.js.map +1 -1
  52. package/esm/funcs/visibilityOverviewRetrieve.d.ts +1 -1
  53. package/esm/funcs/visibilityOverviewRetrieve.js +2 -1
  54. package/esm/funcs/visibilityOverviewRetrieve.js.map +1 -1
  55. package/esm/funcs/visibilityPromptsRetrieve.js +1 -0
  56. package/esm/funcs/visibilityPromptsRetrieve.js.map +1 -1
  57. package/esm/landing-page.js +1 -1
  58. package/esm/lib/config.d.ts +2 -2
  59. package/esm/lib/config.js +2 -2
  60. package/esm/mcp-server/mcp-server.js +1 -1
  61. package/esm/mcp-server/server.d.ts.map +1 -1
  62. package/esm/mcp-server/server.js +9 -1
  63. package/esm/mcp-server/server.js.map +1 -1
  64. package/esm/mcp-server/tools/agentAnalyticsSummaryRetrieve.js +1 -1
  65. package/esm/mcp-server/tools/agentAnalyticsSummaryRetrieve.js.map +1 -1
  66. package/esm/mcp-server/tools/agentsList.js +1 -1
  67. package/esm/mcp-server/tools/agentsList.js.map +1 -1
  68. package/esm/mcp-server/tools/evalsCreate.d.ts.map +1 -1
  69. package/esm/mcp-server/tools/evalsCreate.js +3 -1
  70. package/esm/mcp-server/tools/evalsCreate.js.map +1 -1
  71. package/esm/mcp-server/tools/evalsRun.d.ts.map +1 -1
  72. package/esm/mcp-server/tools/evalsRun.js +2 -0
  73. package/esm/mcp-server/tools/evalsRun.js.map +1 -1
  74. package/esm/mcp-server/tools/promptsRun.d.ts.map +1 -1
  75. package/esm/mcp-server/tools/promptsRun.js +8 -3
  76. package/esm/mcp-server/tools/promptsRun.js.map +1 -1
  77. package/esm/mcp-server/tools/promptsRunCancel.d.ts +7 -0
  78. package/esm/mcp-server/tools/promptsRunCancel.d.ts.map +1 -0
  79. package/esm/mcp-server/tools/promptsRunCancel.js +35 -0
  80. package/esm/mcp-server/tools/promptsRunCancel.js.map +1 -0
  81. package/esm/mcp-server/tools/promptsTargetsList.d.ts +7 -0
  82. package/esm/mcp-server/tools/promptsTargetsList.d.ts.map +1 -0
  83. package/esm/mcp-server/tools/promptsTargetsList.js +35 -0
  84. package/esm/mcp-server/tools/promptsTargetsList.js.map +1 -0
  85. package/esm/mcp-server/tools/promptsTargetsSet.d.ts +7 -0
  86. package/esm/mcp-server/tools/promptsTargetsSet.d.ts.map +1 -0
  87. package/esm/mcp-server/tools/promptsTargetsSet.js +35 -0
  88. package/esm/mcp-server/tools/promptsTargetsSet.js.map +1 -0
  89. package/esm/mcp-server/tools/visibilityCitationsList.js +1 -1
  90. package/esm/mcp-server/tools/visibilityCitationsList.js.map +1 -1
  91. package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.d.ts +7 -0
  92. package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.d.ts.map +1 -0
  93. package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.js +35 -0
  94. package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.js.map +1 -0
  95. package/esm/mcp-server/tools/visibilityCurrentRetrieve.js +1 -1
  96. package/esm/mcp-server/tools/visibilityCurrentRetrieve.js.map +1 -1
  97. package/esm/mcp-server/tools/visibilityOverviewRetrieve.js +1 -1
  98. package/esm/mcp-server/tools/visibilityOverviewRetrieve.js.map +1 -1
  99. package/esm/models/createv2promptrequest.js +1 -1
  100. package/esm/models/createv2promptrequest.js.map +1 -1
  101. package/esm/models/createv2promptrunrequest.d.ts +1 -0
  102. package/esm/models/createv2promptrunrequest.d.ts.map +1 -1
  103. package/esm/models/createv2promptrunrequest.js +2 -1
  104. package/esm/models/createv2promptrunrequest.js.map +1 -1
  105. package/esm/models/evaltemplateschedule.d.ts +4 -4
  106. package/esm/models/evaltemplateschedule.d.ts.map +1 -1
  107. package/esm/models/evaltemplateschedule.js +4 -3
  108. package/esm/models/evaltemplateschedule.js.map +1 -1
  109. package/esm/models/publicagentanalyticscountrylistresponse.d.ts +2 -0
  110. package/esm/models/publicagentanalyticscountrylistresponse.d.ts.map +1 -1
  111. package/esm/models/publicagentanalyticscountrylistresponse.js +2 -0
  112. package/esm/models/publicagentanalyticscountrylistresponse.js.map +1 -1
  113. package/esm/models/publicagentanalyticserrorpagelistresponse.d.ts +2 -0
  114. package/esm/models/publicagentanalyticserrorpagelistresponse.d.ts.map +1 -1
  115. package/esm/models/publicagentanalyticserrorpagelistresponse.js +2 -0
  116. package/esm/models/publicagentanalyticserrorpagelistresponse.js.map +1 -1
  117. package/esm/models/publicagentanalyticspagelistresponse.d.ts +2 -0
  118. package/esm/models/publicagentanalyticspagelistresponse.d.ts.map +1 -1
  119. package/esm/models/publicagentanalyticspagelistresponse.js +2 -0
  120. package/esm/models/publicagentanalyticspagelistresponse.js.map +1 -1
  121. package/esm/models/publicagentanalyticssourcelistresponse.d.ts +2 -0
  122. package/esm/models/publicagentanalyticssourcelistresponse.d.ts.map +1 -1
  123. package/esm/models/publicagentanalyticssourcelistresponse.js +2 -0
  124. package/esm/models/publicagentanalyticssourcelistresponse.js.map +1 -1
  125. package/esm/models/publicagentanalyticssummary.d.ts +2 -0
  126. package/esm/models/publicagentanalyticssummary.d.ts.map +1 -1
  127. package/esm/models/publicagentanalyticssummary.js +2 -0
  128. package/esm/models/publicagentanalyticssummary.js.map +1 -1
  129. package/esm/models/publiccitationsummarygroup.d.ts +17 -0
  130. package/esm/models/publiccitationsummarygroup.d.ts.map +1 -0
  131. package/esm/models/publiccitationsummarygroup.js +20 -0
  132. package/esm/models/publiccitationsummarygroup.js.map +1 -0
  133. package/esm/models/publiccitationsummaryresponse.d.ts +61 -0
  134. package/esm/models/publiccitationsummaryresponse.d.ts.map +1 -0
  135. package/esm/models/publiccitationsummaryresponse.js +58 -0
  136. package/esm/models/publiccitationsummaryresponse.js.map +1 -0
  137. package/esm/models/publiccitationsummarytotals.d.ts +14 -0
  138. package/esm/models/publiccitationsummarytotals.d.ts.map +1 -0
  139. package/esm/models/publiccitationsummarytotals.js +17 -0
  140. package/esm/models/publiccitationsummarytotals.js.map +1 -0
  141. package/esm/models/publiccoverage.d.ts +12 -0
  142. package/esm/models/publiccoverage.d.ts.map +1 -0
  143. package/esm/models/publiccoverage.js +15 -0
  144. package/esm/models/publiccoverage.js.map +1 -0
  145. package/esm/models/publiccoverageday.d.ts +41 -0
  146. package/esm/models/publiccoverageday.d.ts.map +1 -0
  147. package/esm/models/publiccoverageday.js +39 -0
  148. package/esm/models/publiccoverageday.js.map +1 -0
  149. package/esm/models/publiccurrentvisibilityresponse.d.ts +8 -0
  150. package/esm/models/publiccurrentvisibilityresponse.d.ts.map +1 -1
  151. package/esm/models/publiccurrentvisibilityresponse.js +8 -0
  152. package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
  153. package/esm/models/publicperiodcoverage.d.ts +13 -0
  154. package/esm/models/publicperiodcoverage.d.ts.map +1 -0
  155. package/esm/models/publicperiodcoverage.js +17 -0
  156. package/esm/models/publicperiodcoverage.js.map +1 -0
  157. package/esm/models/publicperiodrates.d.ts +10 -0
  158. package/esm/models/publicperiodrates.d.ts.map +1 -0
  159. package/esm/models/publicperiodrates.js +14 -0
  160. package/esm/models/publicperiodrates.js.map +1 -0
  161. package/esm/models/publicpreviousvisibility.d.ts +10 -0
  162. package/esm/models/publicpreviousvisibility.d.ts.map +1 -0
  163. package/esm/models/publicpreviousvisibility.js +13 -0
  164. package/esm/models/publicpreviousvisibility.js.map +1 -0
  165. package/esm/models/publicpromptvisibilityreportresponse.d.ts +6 -0
  166. package/esm/models/publicpromptvisibilityreportresponse.d.ts.map +1 -1
  167. package/esm/models/publicpromptvisibilityreportresponse.js +6 -0
  168. package/esm/models/publicpromptvisibilityreportresponse.js.map +1 -1
  169. package/esm/models/publicratechanges.d.ts +8 -0
  170. package/esm/models/publicratechanges.d.ts.map +1 -0
  171. package/esm/models/publicratechanges.js +12 -0
  172. package/esm/models/publicratechanges.js.map +1 -0
  173. package/esm/models/publicrates.d.ts +27 -0
  174. package/esm/models/publicrates.d.ts.map +1 -0
  175. package/esm/models/publicrates.js +25 -0
  176. package/esm/models/publicrates.js.map +1 -0
  177. package/esm/models/publicresolvedperiod.d.ts +14 -0
  178. package/esm/models/publicresolvedperiod.d.ts.map +1 -0
  179. package/esm/models/publicresolvedperiod.js +18 -0
  180. package/esm/models/publicresolvedperiod.js.map +1 -0
  181. package/esm/models/publictopcitedurlsresponse.d.ts +10 -4
  182. package/esm/models/publictopcitedurlsresponse.d.ts.map +1 -1
  183. package/esm/models/publictopcitedurlsresponse.js +9 -3
  184. package/esm/models/publictopcitedurlsresponse.js.map +1 -1
  185. package/esm/models/publicvisibilityoverviewresponse.d.ts +6 -0
  186. package/esm/models/publicvisibilityoverviewresponse.d.ts.map +1 -1
  187. package/esm/models/publicvisibilityoverviewresponse.js +6 -0
  188. package/esm/models/publicvisibilityoverviewresponse.js.map +1 -1
  189. package/esm/models/setv2prompttargetsrequest.d.ts +8 -0
  190. package/esm/models/setv2prompttargetsrequest.d.ts.map +1 -0
  191. package/esm/models/setv2prompttargetsrequest.js +11 -0
  192. package/esm/models/setv2prompttargetsrequest.js.map +1 -0
  193. package/esm/models/setv2prompttargetsresponse.d.ts +9 -0
  194. package/esm/models/setv2prompttargetsresponse.d.ts.map +1 -0
  195. package/esm/models/setv2prompttargetsresponse.js +12 -0
  196. package/esm/models/setv2prompttargetsresponse.js.map +1 -0
  197. package/esm/models/updatev2promptrequest.js +1 -1
  198. package/esm/models/updatev2promptrequest.js.map +1 -1
  199. package/esm/models/v2agentanalyticscountrieslistop.d.ts +1 -0
  200. package/esm/models/v2agentanalyticscountrieslistop.d.ts.map +1 -1
  201. package/esm/models/v2agentanalyticscountrieslistop.js +1 -0
  202. package/esm/models/v2agentanalyticscountrieslistop.js.map +1 -1
  203. package/esm/models/v2agentanalyticserrorpageslistop.d.ts +1 -0
  204. package/esm/models/v2agentanalyticserrorpageslistop.d.ts.map +1 -1
  205. package/esm/models/v2agentanalyticserrorpageslistop.js +1 -0
  206. package/esm/models/v2agentanalyticserrorpageslistop.js.map +1 -1
  207. package/esm/models/v2agentanalyticspageslistop.d.ts +1 -0
  208. package/esm/models/v2agentanalyticspageslistop.d.ts.map +1 -1
  209. package/esm/models/v2agentanalyticspageslistop.js +1 -0
  210. package/esm/models/v2agentanalyticspageslistop.js.map +1 -1
  211. package/esm/models/v2agentanalyticssourceslistop.d.ts +1 -0
  212. package/esm/models/v2agentanalyticssourceslistop.d.ts.map +1 -1
  213. package/esm/models/v2agentanalyticssourceslistop.js +1 -0
  214. package/esm/models/v2agentanalyticssourceslistop.js.map +1 -1
  215. package/esm/models/v2agentanalyticssummaryretrieveop.d.ts +1 -0
  216. package/esm/models/v2agentanalyticssummaryretrieveop.d.ts.map +1 -1
  217. package/esm/models/v2agentanalyticssummaryretrieveop.js +1 -0
  218. package/esm/models/v2agentanalyticssummaryretrieveop.js.map +1 -1
  219. package/esm/models/v2promptrunscancelop.d.ts +38 -0
  220. package/esm/models/v2promptrunscancelop.d.ts.map +1 -0
  221. package/esm/models/v2promptrunscancelop.js +31 -0
  222. package/esm/models/v2promptrunscancelop.js.map +1 -0
  223. package/esm/models/v2prompttarget.d.ts +44 -0
  224. package/esm/models/v2prompttarget.d.ts.map +1 -0
  225. package/esm/models/v2prompttarget.js +41 -0
  226. package/esm/models/v2prompttarget.js.map +1 -0
  227. package/esm/models/v2prompttargetinput.d.ts +47 -0
  228. package/esm/models/v2prompttargetinput.d.ts.map +1 -0
  229. package/esm/models/v2prompttargetinput.js +45 -0
  230. package/esm/models/v2prompttargetinput.js.map +1 -0
  231. package/esm/models/v2prompttargetslistop.d.ts +10 -0
  232. package/esm/models/v2prompttargetslistop.d.ts.map +1 -0
  233. package/esm/models/v2prompttargetslistop.js +15 -0
  234. package/esm/models/v2prompttargetslistop.js.map +1 -0
  235. package/esm/models/v2prompttargetsresponse.d.ts +8 -0
  236. package/esm/models/v2prompttargetsresponse.d.ts.map +1 -0
  237. package/esm/models/v2prompttargetsresponse.js +11 -0
  238. package/esm/models/v2prompttargetsresponse.js.map +1 -0
  239. package/esm/models/v2prompttargetssetop.d.ts +6 -0
  240. package/esm/models/v2prompttargetssetop.d.ts.map +1 -0
  241. package/esm/models/v2prompttargetssetop.js +12 -0
  242. package/esm/models/v2prompttargetssetop.js.map +1 -0
  243. package/esm/models/v2visibilitycitationslistop.d.ts +1 -0
  244. package/esm/models/v2visibilitycitationslistop.d.ts.map +1 -1
  245. package/esm/models/v2visibilitycitationslistop.js +1 -0
  246. package/esm/models/v2visibilitycitationslistop.js.map +1 -1
  247. package/esm/models/v2visibilitycitationssummaryretrieveop.d.ts +54 -0
  248. package/esm/models/v2visibilitycitationssummaryretrieveop.d.ts.map +1 -0
  249. package/esm/models/v2visibilitycitationssummaryretrieveop.js +51 -0
  250. package/esm/models/v2visibilitycitationssummaryretrieveop.js.map +1 -0
  251. package/esm/models/v2visibilitycurrentretrieveop.d.ts +1 -0
  252. package/esm/models/v2visibilitycurrentretrieveop.d.ts.map +1 -1
  253. package/esm/models/v2visibilitycurrentretrieveop.js +1 -0
  254. package/esm/models/v2visibilitycurrentretrieveop.js.map +1 -1
  255. package/esm/models/v2visibilityoverviewretrieveop.d.ts +1 -0
  256. package/esm/models/v2visibilityoverviewretrieveop.d.ts.map +1 -1
  257. package/esm/models/v2visibilityoverviewretrieveop.js +1 -0
  258. package/esm/models/v2visibilityoverviewretrieveop.js.map +1 -1
  259. package/esm/models/v2visibilitypromptsretrieveop.d.ts +1 -0
  260. package/esm/models/v2visibilitypromptsretrieveop.d.ts.map +1 -1
  261. package/esm/models/v2visibilitypromptsretrieveop.js +1 -0
  262. package/esm/models/v2visibilitypromptsretrieveop.js.map +1 -1
  263. package/esm/tool-names.d.ts.map +1 -1
  264. package/esm/tool-names.js +24 -8
  265. package/esm/tool-names.js.map +1 -1
  266. package/lib/feedback.js +47 -0
  267. package/lib/tracker.js +4 -2
  268. package/package.json +5 -4
  269. package/src/funcs/agentAnalyticsCountriesList.ts +1 -0
  270. package/src/funcs/agentAnalyticsErrorPagesList.ts +1 -0
  271. package/src/funcs/agentAnalyticsPagesList.ts +1 -0
  272. package/src/funcs/agentAnalyticsSourcesList.ts +1 -0
  273. package/src/funcs/agentAnalyticsSummaryRetrieve.ts +2 -1
  274. package/src/funcs/agentsList.ts +1 -1
  275. package/src/funcs/evalsCreate.ts +2 -0
  276. package/src/funcs/evalsRun.ts +2 -0
  277. package/src/funcs/promptsRun.ts +8 -3
  278. package/src/funcs/promptsRunCancel.ts +153 -0
  279. package/src/funcs/promptsTargetsList.ts +148 -0
  280. package/src/funcs/promptsTargetsSet.ts +145 -0
  281. package/src/funcs/visibilityCitationsList.ts +2 -1
  282. package/src/funcs/visibilityCitationsSummaryRetrieve.ts +158 -0
  283. package/src/funcs/visibilityCurrentRetrieve.ts +2 -1
  284. package/src/funcs/visibilityOverviewRetrieve.ts +2 -1
  285. package/src/funcs/visibilityPromptsRetrieve.ts +1 -0
  286. package/src/landing-page.ts +1 -1
  287. package/src/lib/config.ts +2 -2
  288. package/src/mcp-server/mcp-server.ts +1 -1
  289. package/src/mcp-server/server.ts +9 -1
  290. package/src/mcp-server/tools/agentAnalyticsSummaryRetrieve.ts +1 -1
  291. package/src/mcp-server/tools/agentsList.ts +1 -1
  292. package/src/mcp-server/tools/evalsCreate.ts +3 -1
  293. package/src/mcp-server/tools/evalsRun.ts +2 -0
  294. package/src/mcp-server/tools/promptsRun.ts +8 -3
  295. package/src/mcp-server/tools/promptsRunCancel.ts +43 -0
  296. package/src/mcp-server/tools/promptsTargetsList.ts +43 -0
  297. package/src/mcp-server/tools/promptsTargetsSet.ts +43 -0
  298. package/src/mcp-server/tools/visibilityCitationsList.ts +1 -1
  299. package/src/mcp-server/tools/visibilityCitationsSummaryRetrieve.ts +45 -0
  300. package/src/mcp-server/tools/visibilityCurrentRetrieve.ts +1 -1
  301. package/src/mcp-server/tools/visibilityOverviewRetrieve.ts +1 -1
  302. package/src/models/createv2promptrequest.ts +1 -1
  303. package/src/models/createv2promptrunrequest.ts +5 -1
  304. package/src/models/evaltemplateschedule.ts +8 -7
  305. package/src/models/publicagentanalyticscountrylistresponse.ts +8 -0
  306. package/src/models/publicagentanalyticserrorpagelistresponse.ts +8 -0
  307. package/src/models/publicagentanalyticspagelistresponse.ts +8 -0
  308. package/src/models/publicagentanalyticssourcelistresponse.ts +8 -0
  309. package/src/models/publicagentanalyticssummary.ts +8 -0
  310. package/src/models/publiccitationsummarygroup.ts +54 -0
  311. package/src/models/publiccitationsummaryresponse.ts +110 -0
  312. package/src/models/publiccitationsummarytotals.ts +38 -0
  313. package/src/models/publiccoverage.ts +34 -0
  314. package/src/models/publiccoverageday.ts +68 -0
  315. package/src/models/publiccurrentvisibilityresponse.ts +26 -0
  316. package/src/models/publicperiodcoverage.ts +33 -0
  317. package/src/models/publicperiodrates.ts +29 -0
  318. package/src/models/publicpreviousvisibility.ts +30 -0
  319. package/src/models/publicpromptvisibilityreportresponse.ts +18 -0
  320. package/src/models/publicratechanges.ts +25 -0
  321. package/src/models/publicrates.ts +52 -0
  322. package/src/models/publicresolvedperiod.ts +41 -0
  323. package/src/models/publictopcitedurlsresponse.ts +25 -5
  324. package/src/models/publicvisibilityoverviewresponse.ts +18 -0
  325. package/src/models/setv2prompttargetsrequest.ts +26 -0
  326. package/src/models/setv2prompttargetsresponse.ts +23 -0
  327. package/src/models/updatev2promptrequest.ts +1 -1
  328. package/src/models/v2agentanalyticscountrieslistop.ts +4 -0
  329. package/src/models/v2agentanalyticserrorpageslistop.ts +4 -0
  330. package/src/models/v2agentanalyticspageslistop.ts +4 -0
  331. package/src/models/v2agentanalyticssourceslistop.ts +4 -0
  332. package/src/models/v2agentanalyticssummaryretrieveop.ts +4 -0
  333. package/src/models/v2promptrunscancelop.ts +90 -0
  334. package/src/models/v2prompttarget.ts +79 -0
  335. package/src/models/v2prompttargetinput.ts +72 -0
  336. package/src/models/v2prompttargetslistop.ts +33 -0
  337. package/src/models/v2prompttargetsresponse.ts +19 -0
  338. package/src/models/v2prompttargetssetop.ts +25 -0
  339. package/src/models/v2visibilitycitationslistop.ts +4 -0
  340. package/src/models/v2visibilitycitationssummaryretrieveop.ts +113 -0
  341. package/src/models/v2visibilitycurrentretrieveop.ts +4 -0
  342. package/src/models/v2visibilityoverviewretrieveop.ts +4 -0
  343. package/src/models/v2visibilitypromptsretrieveop.ts +4 -0
  344. package/src/tool-names.ts +24 -8
  345. package/test/tracker.test.js +83 -1
@@ -0,0 +1,148 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 053c9d85cd77
4
+ */
5
+
6
+ import { LightsageMcpCore } from "../core.js";
7
+ import { encodeFormQuery } from "../lib/encodings.js";
8
+ import { compactMap } from "../lib/primitives.js";
9
+ import { safeParse } from "../lib/schemas.js";
10
+ import { RequestOptions } from "../lib/sdks.js";
11
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
12
+ import { pathToFunc } from "../lib/url.js";
13
+ import { APIError } from "../models/errors/apierror.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/httpclienterrors.js";
21
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
22
+ import {
23
+ V2PromptTargetsListRequest,
24
+ V2PromptTargetsListRequest$zodSchema,
25
+ } from "../models/v2prompttargetslistop.js";
26
+ import { APICall, APIPromise } from "../types/async.js";
27
+ import { Result } from "../types/fp.js";
28
+
29
+ /**
30
+ * List Targets
31
+ *
32
+ * @remarks
33
+ * Returns the answer engines and coding agents that run the organization's prompts on schedule, with each target's topic and frequency. Provide `topic_id` to list one topic's targets.
34
+ */
35
+ export function promptsTargetsList(
36
+ client$: LightsageMcpCore,
37
+ request?: V2PromptTargetsListRequest | undefined,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ Response,
42
+ | APIError
43
+ | SDKValidationError
44
+ | UnexpectedClientError
45
+ | InvalidRequestError
46
+ | RequestAbortedError
47
+ | RequestTimeoutError
48
+ | ConnectionError
49
+ >
50
+ > {
51
+ return new APIPromise($do(
52
+ client$,
53
+ request,
54
+ options,
55
+ ));
56
+ }
57
+
58
+ async function $do(
59
+ client$: LightsageMcpCore,
60
+ request?: V2PromptTargetsListRequest | undefined,
61
+ options?: RequestOptions,
62
+ ): Promise<
63
+ [
64
+ Result<
65
+ Response,
66
+ | APIError
67
+ | SDKValidationError
68
+ | UnexpectedClientError
69
+ | InvalidRequestError
70
+ | RequestAbortedError
71
+ | RequestTimeoutError
72
+ | ConnectionError
73
+ >,
74
+ APICall,
75
+ ]
76
+ > {
77
+ const parsed$ = safeParse(
78
+ request,
79
+ (value$) => V2PromptTargetsListRequest$zodSchema.optional().parse(value$),
80
+ "Input validation failed",
81
+ );
82
+ if (!parsed$.ok) {
83
+ return [parsed$, { status: "invalid" }];
84
+ }
85
+ const payload$ = parsed$.value;
86
+ const body$ = null;
87
+ const path$ = pathToFunc("/v2/prompts/targets")();
88
+ const query$ = encodeFormQuery({
89
+ "topic_id": payload$?.topic_id,
90
+ });
91
+
92
+ const headers$ = new Headers(compactMap({
93
+ Accept: "application/json",
94
+ }));
95
+ const securityInput = await extractSecurity(client$._options.security);
96
+ const requestSecurity = resolveGlobalSecurity(securityInput);
97
+
98
+ const context = {
99
+ options: client$._options,
100
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
101
+ operationID: "v2_prompt_targets_list",
102
+ oAuth2Scopes: null,
103
+ resolvedSecurity: requestSecurity,
104
+ securitySource: client$._options.security,
105
+ retryConfig: options?.retries
106
+ || client$._options.retryConfig
107
+ || { strategy: "none" },
108
+ retryCodes: options?.retryCodes || [
109
+ "429",
110
+ "500",
111
+ "502",
112
+ "503",
113
+ "504",
114
+ ],
115
+ };
116
+
117
+ const requestRes = client$._createRequest(context, {
118
+ security: requestSecurity,
119
+ method: "GET",
120
+ baseURL: options?.serverURL,
121
+ path: path$,
122
+ headers: headers$,
123
+ query: query$,
124
+ body: body$,
125
+ userAgent: client$._options.userAgent,
126
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs
127
+ || -1,
128
+ }, options);
129
+ if (!requestRes.ok) {
130
+ return [requestRes, { status: "invalid" }];
131
+ }
132
+ const req$ = requestRes.value;
133
+
134
+ const doResult = await client$._do(req$, {
135
+ context,
136
+ errorCodes: [],
137
+ retryConfig: context.retryConfig,
138
+ retryCodes: context.retryCodes,
139
+ });
140
+ if (!doResult.ok) {
141
+ return [doResult, { status: "request-error", request: req$ }];
142
+ }
143
+ return [doResult, {
144
+ status: "complete",
145
+ "request": req$,
146
+ response: doResult.value,
147
+ }];
148
+ }
@@ -0,0 +1,145 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 1b39d535380b
4
+ */
5
+
6
+ import { LightsageMcpCore } from "../core.js";
7
+ import { encodeJSON } from "../lib/encodings.js";
8
+ import { compactMap } from "../lib/primitives.js";
9
+ import { safeParse } from "../lib/schemas.js";
10
+ import { RequestOptions } from "../lib/sdks.js";
11
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
12
+ import { pathToFunc } from "../lib/url.js";
13
+ import { APIError } from "../models/errors/apierror.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/httpclienterrors.js";
21
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
22
+ import {
23
+ SetV2PromptTargetsRequest,
24
+ SetV2PromptTargetsRequest$zodSchema,
25
+ } from "../models/setv2prompttargetsrequest.js";
26
+ import { APICall, APIPromise } from "../types/async.js";
27
+ import { Result } from "../types/fp.js";
28
+
29
+ /**
30
+ * Set Targets
31
+ *
32
+ * @remarks
33
+ * Sets which answer engines and coding agents run a topic's prompts on schedule, the same way the prompt editor does. The list replaces the topic's targets: targets you leave out stop running. Every prompt in the topic is set to exactly these platforms; you can still narrow one prompt afterwards with `platform_ids`. Name coding agents with IDs from `GET /v2/agents`, and list a harness more than once to run it on several models. To pick agents for a single run without changing the schedule, pass `agent` to `POST /v2/prompts/runs` instead.
34
+ */
35
+ export function promptsTargetsSet(
36
+ client$: LightsageMcpCore,
37
+ request: SetV2PromptTargetsRequest,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ Response,
42
+ | APIError
43
+ | SDKValidationError
44
+ | UnexpectedClientError
45
+ | InvalidRequestError
46
+ | RequestAbortedError
47
+ | RequestTimeoutError
48
+ | ConnectionError
49
+ >
50
+ > {
51
+ return new APIPromise($do(
52
+ client$,
53
+ request,
54
+ options,
55
+ ));
56
+ }
57
+
58
+ async function $do(
59
+ client$: LightsageMcpCore,
60
+ request: SetV2PromptTargetsRequest,
61
+ options?: RequestOptions,
62
+ ): Promise<
63
+ [
64
+ Result<
65
+ Response,
66
+ | APIError
67
+ | SDKValidationError
68
+ | UnexpectedClientError
69
+ | InvalidRequestError
70
+ | RequestAbortedError
71
+ | RequestTimeoutError
72
+ | ConnectionError
73
+ >,
74
+ APICall,
75
+ ]
76
+ > {
77
+ const parsed$ = safeParse(
78
+ request,
79
+ (value$) => SetV2PromptTargetsRequest$zodSchema.parse(value$),
80
+ "Input validation failed",
81
+ );
82
+ if (!parsed$.ok) {
83
+ return [parsed$, { status: "invalid" }];
84
+ }
85
+ const payload$ = parsed$.value;
86
+ const body$ = encodeJSON("body", payload$, { explode: true });
87
+ const path$ = pathToFunc("/v2/prompts/targets")();
88
+
89
+ const headers$ = new Headers(compactMap({
90
+ "Content-Type": "application/json",
91
+ Accept: "application/json",
92
+ }));
93
+ const securityInput = await extractSecurity(client$._options.security);
94
+ const requestSecurity = resolveGlobalSecurity(securityInput);
95
+
96
+ const context = {
97
+ options: client$._options,
98
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
99
+ operationID: "v2_prompt_targets_set",
100
+ oAuth2Scopes: null,
101
+ resolvedSecurity: requestSecurity,
102
+ securitySource: client$._options.security,
103
+ retryConfig: options?.retries
104
+ || client$._options.retryConfig
105
+ || { strategy: "none" },
106
+ retryCodes: options?.retryCodes || [
107
+ "429",
108
+ "500",
109
+ "502",
110
+ "503",
111
+ "504",
112
+ ],
113
+ };
114
+
115
+ const requestRes = client$._createRequest(context, {
116
+ security: requestSecurity,
117
+ method: "PUT",
118
+ baseURL: options?.serverURL,
119
+ path: path$,
120
+ headers: headers$,
121
+ body: body$,
122
+ userAgent: client$._options.userAgent,
123
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs
124
+ || -1,
125
+ }, options);
126
+ if (!requestRes.ok) {
127
+ return [requestRes, { status: "invalid" }];
128
+ }
129
+ const req$ = requestRes.value;
130
+
131
+ const doResult = await client$._do(req$, {
132
+ context,
133
+ errorCodes: [],
134
+ retryConfig: context.retryConfig,
135
+ retryCodes: context.retryCodes,
136
+ });
137
+ if (!doResult.ok) {
138
+ return [doResult, { status: "request-error", request: req$ }];
139
+ }
140
+ return [doResult, {
141
+ status: "complete",
142
+ "request": req$,
143
+ response: doResult.value,
144
+ }];
145
+ }
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * List Top Cited Urls
31
31
  *
32
32
  * @remarks
33
- * Returns URL-level citation counts ranked from most to least cited. Results can be filtered by platform and to owned or external sources.
33
+ * Returns URL-level citation counts ranked from most to least cited. Results can be filtered by platform and to owned or external sources. For totals by URL prefix, domain, or day compared with the previous period, use the citations summary.
34
34
  */
35
35
  export function visibilityCitationsList(
36
36
  client$: LightsageMcpCore,
@@ -89,6 +89,7 @@ async function $do(
89
89
  const query$ = encodeFormQuery({
90
90
  "end_date": payload$?.end_date,
91
91
  "limit": payload$?.limit,
92
+ "period": payload$?.period,
92
93
  "platform": payload$?.platform,
93
94
  "source_type": payload$?.source_type,
94
95
  "start_date": payload$?.start_date,
@@ -0,0 +1,158 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: ce453917507f
4
+ */
5
+
6
+ import { LightsageMcpCore } from "../core.js";
7
+ import { encodeFormQuery } from "../lib/encodings.js";
8
+ import { compactMap } from "../lib/primitives.js";
9
+ import { safeParse } from "../lib/schemas.js";
10
+ import { RequestOptions } from "../lib/sdks.js";
11
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
12
+ import { pathToFunc } from "../lib/url.js";
13
+ import { APIError } from "../models/errors/apierror.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../models/errors/httpclienterrors.js";
21
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
22
+ import {
23
+ V2VisibilityCitationsSummaryRetrieveRequest,
24
+ V2VisibilityCitationsSummaryRetrieveRequest$zodSchema,
25
+ } from "../models/v2visibilitycitationssummaryretrieveop.js";
26
+ import { APICall, APIPromise } from "../types/async.js";
27
+ import { Result } from "../types/fp.js";
28
+
29
+ /**
30
+ * Retrieve Citation Summary
31
+ *
32
+ * @remarks
33
+ * Returns citation totals grouped by URL prefix (domain and first path segment, such as `example.com/blog`), URL, domain, or day, each compared with the previous period, with per-run rates and run coverage. Filter to one section of a site with `url_prefix`, for example `https://example.com/blog/`. Aggregated in one call; use it instead of paging the citations list.
34
+ */
35
+ export function visibilityCitationsSummaryRetrieve(
36
+ client$: LightsageMcpCore,
37
+ request?: V2VisibilityCitationsSummaryRetrieveRequest | undefined,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ Response,
42
+ | APIError
43
+ | SDKValidationError
44
+ | UnexpectedClientError
45
+ | InvalidRequestError
46
+ | RequestAbortedError
47
+ | RequestTimeoutError
48
+ | ConnectionError
49
+ >
50
+ > {
51
+ return new APIPromise($do(
52
+ client$,
53
+ request,
54
+ options,
55
+ ));
56
+ }
57
+
58
+ async function $do(
59
+ client$: LightsageMcpCore,
60
+ request?: V2VisibilityCitationsSummaryRetrieveRequest | undefined,
61
+ options?: RequestOptions,
62
+ ): Promise<
63
+ [
64
+ Result<
65
+ Response,
66
+ | APIError
67
+ | SDKValidationError
68
+ | UnexpectedClientError
69
+ | InvalidRequestError
70
+ | RequestAbortedError
71
+ | RequestTimeoutError
72
+ | ConnectionError
73
+ >,
74
+ APICall,
75
+ ]
76
+ > {
77
+ const parsed$ = safeParse(
78
+ request,
79
+ (value$) =>
80
+ V2VisibilityCitationsSummaryRetrieveRequest$zodSchema.optional().parse(
81
+ value$,
82
+ ),
83
+ "Input validation failed",
84
+ );
85
+ if (!parsed$.ok) {
86
+ return [parsed$, { status: "invalid" }];
87
+ }
88
+ const payload$ = parsed$.value;
89
+ const body$ = null;
90
+ const path$ = pathToFunc("/v2/visibility/citations/summary")();
91
+ const query$ = encodeFormQuery({
92
+ "end_date": payload$?.end_date,
93
+ "group_by": payload$?.group_by,
94
+ "limit": payload$?.limit,
95
+ "period": payload$?.period,
96
+ "platform": payload$?.platform,
97
+ "source_type": payload$?.source_type,
98
+ "start_date": payload$?.start_date,
99
+ "url_prefix": payload$?.url_prefix,
100
+ });
101
+
102
+ const headers$ = new Headers(compactMap({
103
+ Accept: "application/json",
104
+ }));
105
+ const securityInput = await extractSecurity(client$._options.security);
106
+ const requestSecurity = resolveGlobalSecurity(securityInput);
107
+
108
+ const context = {
109
+ options: client$._options,
110
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
111
+ operationID: "v2_visibility_citations_summary_retrieve",
112
+ oAuth2Scopes: null,
113
+ resolvedSecurity: requestSecurity,
114
+ securitySource: client$._options.security,
115
+ retryConfig: options?.retries
116
+ || client$._options.retryConfig
117
+ || { strategy: "none" },
118
+ retryCodes: options?.retryCodes || [
119
+ "429",
120
+ "500",
121
+ "502",
122
+ "503",
123
+ "504",
124
+ ],
125
+ };
126
+
127
+ const requestRes = client$._createRequest(context, {
128
+ security: requestSecurity,
129
+ method: "GET",
130
+ baseURL: options?.serverURL,
131
+ path: path$,
132
+ headers: headers$,
133
+ query: query$,
134
+ body: body$,
135
+ userAgent: client$._options.userAgent,
136
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs
137
+ || -1,
138
+ }, options);
139
+ if (!requestRes.ok) {
140
+ return [requestRes, { status: "invalid" }];
141
+ }
142
+ const req$ = requestRes.value;
143
+
144
+ const doResult = await client$._do(req$, {
145
+ context,
146
+ errorCodes: [],
147
+ retryConfig: context.retryConfig,
148
+ retryCodes: context.retryCodes,
149
+ });
150
+ if (!doResult.ok) {
151
+ return [doResult, { status: "request-error", request: req$ }];
152
+ }
153
+ return [doResult, {
154
+ status: "complete",
155
+ "request": req$,
156
+ response: doResult.value,
157
+ }];
158
+ }
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Retrieve Current Visibility
31
31
  *
32
32
  * @remarks
33
- * Returns recommendation score, visibility score, ranks, and date-range metadata for the configured primary company. Metrics are computed from active prompts only; when no data exists, values are `null`.
33
+ * Returns recommendation score, visibility score, ranks, and date-range metadata for the configured primary company, with the same metrics for the previous period, run coverage, and per-run rates. Metrics are computed from active prompts only; when no data exists, values are `null`. Pass `period` (for example `last_30_days` or `2026Q4`) instead of computing dates.
34
34
  */
35
35
  export function visibilityCurrentRetrieve(
36
36
  client$: LightsageMcpCore,
@@ -88,6 +88,7 @@ async function $do(
88
88
  const path$ = pathToFunc("/v2/visibility/current")();
89
89
  const query$ = encodeFormQuery({
90
90
  "end_date": payload$?.end_date,
91
+ "period": payload$?.period,
91
92
  "start_date": payload$?.start_date,
92
93
  });
93
94
 
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
30
30
  * Retrieve Visibility Overview
31
31
  *
32
32
  * @remarks
33
- * Returns aggregate snapshot, daily trends, per-platform breakdowns, and competitor comparison. Calculated from active prompts only.
33
+ * Returns aggregate snapshot, daily trends, per-platform breakdowns, and competitor comparison, with run coverage and per-run rates against the previous period. Calculated from active prompts only.
34
34
  */
35
35
  export function visibilityOverviewRetrieve(
36
36
  client$: LightsageMcpCore,
@@ -88,6 +88,7 @@ async function $do(
88
88
  const path$ = pathToFunc("/v2/visibility/overview")();
89
89
  const query$ = encodeFormQuery({
90
90
  "end_date": payload$?.end_date,
91
+ "period": payload$?.period,
91
92
  "start_date": payload$?.start_date,
92
93
  });
93
94
 
@@ -88,6 +88,7 @@ async function $do(
88
88
  const path$ = pathToFunc("/v2/visibility/prompts")();
89
89
  const query$ = encodeFormQuery({
90
90
  "end_date": payload$?.end_date,
91
+ "period": payload$?.period,
91
92
  "start_date": payload$?.start_date,
92
93
  });
93
94
 
@@ -931,7 +931,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
931
931
  <h1>Instructions</h1>
932
932
  <p>One-click installation for Claude Desktop users</p>
933
933
  <div class="instruction-item">
934
- <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.17/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
934
+ <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.19/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
935
935
  📥 Download MCP Bundle
936
936
  </a>
937
937
  </div>
package/src/lib/config.ts CHANGED
@@ -66,7 +66,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
66
66
  export const SDK_METADATA = {
67
67
  language: "typescript",
68
68
  openapiDocVersion: "1.0.0",
69
- sdkVersion: "0.4.17",
69
+ sdkVersion: "0.4.19",
70
70
  genVersion: "2.948.4",
71
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.17 2.948.4 1.0.0 @lightsage/mcp",
71
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.19 2.948.4 1.0.0 @lightsage/mcp",
72
72
  } as const;
@@ -22,7 +22,7 @@ const routes = buildRouteMap({
22
22
  export const app = buildApplication(routes, {
23
23
  name: "mcp",
24
24
  versionInfo: {
25
- currentVersion: "0.4.17",
25
+ currentVersion: "0.4.19",
26
26
  },
27
27
  });
28
28
 
@@ -64,9 +64,12 @@ import { tool$promptsDelete } from "./tools/promptsDelete.js";
64
64
  import { tool$promptsList } from "./tools/promptsList.js";
65
65
  import { tool$promptsRetrieve } from "./tools/promptsRetrieve.js";
66
66
  import { tool$promptsRun } from "./tools/promptsRun.js";
67
+ import { tool$promptsRunCancel } from "./tools/promptsRunCancel.js";
67
68
  import { tool$promptsRunsList } from "./tools/promptsRunsList.js";
68
69
  import { tool$promptsRunsRetrieve } from "./tools/promptsRunsRetrieve.js";
69
70
  import { tool$promptsRunStatus } from "./tools/promptsRunStatus.js";
71
+ import { tool$promptsTargetsList } from "./tools/promptsTargetsList.js";
72
+ import { tool$promptsTargetsSet } from "./tools/promptsTargetsSet.js";
70
73
  import { tool$promptsTopicsCreate } from "./tools/promptsTopicsCreate.js";
71
74
  import { tool$promptsTopicsDelete } from "./tools/promptsTopicsDelete.js";
72
75
  import { tool$promptsTopicsList } from "./tools/promptsTopicsList.js";
@@ -87,6 +90,7 @@ import { tool$tasksList } from "./tools/tasksList.js";
87
90
  import { tool$tasksRetrieve } from "./tools/tasksRetrieve.js";
88
91
  import { tool$tasksUpdate } from "./tools/tasksUpdate.js";
89
92
  import { tool$visibilityCitationsList } from "./tools/visibilityCitationsList.js";
93
+ import { tool$visibilityCitationsSummaryRetrieve } from "./tools/visibilityCitationsSummaryRetrieve.js";
90
94
  import { tool$visibilityCurrentRetrieve } from "./tools/visibilityCurrentRetrieve.js";
91
95
  import { tool$visibilityOverviewRetrieve } from "./tools/visibilityOverviewRetrieve.js";
92
96
  import { tool$visibilityPromptsRetrieve } from "./tools/visibilityPromptsRetrieve.js";
@@ -110,7 +114,7 @@ export function createMCPServer(deps: {
110
114
  sizes: ["any"],
111
115
  }],
112
116
  name: "LightsageMcp",
113
- version: "0.4.17",
117
+ version: "0.4.19",
114
118
  });
115
119
 
116
120
  const getClient = deps.getSDK || (() =>
@@ -161,12 +165,15 @@ export function createMCPServer(deps: {
161
165
  tool(tool$visibilityOverviewRetrieve);
162
166
  tool(tool$visibilityCitationsList);
163
167
  tool(tool$visibilityPromptsRetrieve);
168
+ tool(tool$visibilityCitationsSummaryRetrieve);
164
169
  tool(tool$promptsList);
165
170
  tool(tool$promptsCreate);
166
171
  tool(tool$promptsTopicsList);
167
172
  tool(tool$promptsTopicsCreate);
168
173
  tool(tool$promptsTopicsUpdate);
169
174
  tool(tool$promptsTopicsDelete);
175
+ tool(tool$promptsTargetsList);
176
+ tool(tool$promptsTargetsSet);
170
177
  tool(tool$promptsRunsList);
171
178
  tool(tool$promptsRunsRetrieve);
172
179
  tool(tool$promptsRetrieve);
@@ -174,6 +181,7 @@ export function createMCPServer(deps: {
174
181
  tool(tool$promptsDelete);
175
182
  tool(tool$promptsRun);
176
183
  tool(tool$promptsRunStatus);
184
+ tool(tool$promptsRunCancel);
177
185
  tool(tool$opportunitiesList);
178
186
  tool(tool$opportunitiesRetrieve);
179
187
  tool(tool$tasksList);
@@ -15,7 +15,7 @@ export const tool$agentAnalyticsSummaryRetrieve: ToolDefinition<typeof args> = {
15
15
  name: "agent-analytics-summary-retrieve",
16
16
  description: `Retrieve Agent Analytics Summary
17
17
 
18
- Returns a site's visits by traffic type (coding agents, user-requested AI fetches, AI search, AI training, other bots, and people) for the date range and for the same number of days before it.`,
18
+ Returns a site's visits by traffic type (coding agents, user-requested AI fetches, AI search, AI training, other bots, and people) for the date range and for the previous period (the same number of days before it, or the previous calendar week, month, or quarter for a named \`period\`).`,
19
19
  annotations: {
20
20
  "title": "",
21
21
  "destructiveHint": false,
@@ -10,7 +10,7 @@ export const tool$agentsList: ToolDefinition = {
10
10
  name: "agents-list",
11
11
  description: `List Agents
12
12
 
13
- Returns the harness-and-model combinations your plan can run, as single agent IDs for use in eval runs.`,
13
+ Returns the coding-agent harness-and-model combinations your plan can run, as single agent IDs. Pass them as \`agent\` to \`POST /v2/prompts/runs\` to see how coding agents answer your prompts, with mentions and citations, or to \`PUT /v2/prompts/targets\` to run them on a schedule; to \`POST /v2/agent-preference/evals\` to see whether agents recommend your company over one competitor; or to \`POST /v2/evals\` and \`POST /v2/eval-runs\` to measure how well agents complete tasks with your product.`,
14
14
  annotations: {
15
15
  "title": "",
16
16
  "destructiveHint": false,
@@ -15,7 +15,9 @@ export const tool$evalsCreate: ToolDefinition<typeof args> = {
15
15
  name: "evals-create",
16
16
  description: `Create Eval
17
17
 
18
- Creates a reusable simulation definition with one or more task prompts and judges. Optional agents, persona, CLI installations, MCP servers, setup commands, cleanup commands, grounding policy, repeat count, and tags are saved with the eval. \`search_grounding\` supports \`disabled\`, \`enabled\`, and \`default\`; \`default\` preserves normal platform behavior. Creating the eval does not start a run and does not accept secret environment values.`,
18
+ Creates a reusable simulation definition with one or more task prompts and judges. Optional agents, persona, CLI installations, MCP servers, setup commands, cleanup commands, grounding policy, repeat count, and tags are saved with the eval. \`search_grounding\` supports \`disabled\`, \`enabled\`, and \`default\`; \`default\` preserves normal platform behavior. Creating the eval does not start a run and does not accept secret environment values.
19
+
20
+ Evals measure how well agents complete tasks with your product. To track how agents and answer engines answer research questions, including which brands they mention and cite, run prompts with \`POST /v2/prompts/runs\` instead.`,
19
21
  annotations: {
20
22
  "title": "",
21
23
  "destructiveHint": false,
@@ -17,6 +17,8 @@ export const tool$evalsRun: ToolDefinition<typeof args> = {
17
17
 
18
18
  Queues a durable eval job and returns immediately with a polling ID. Poll \`GET /v2/eval-runs/{run_id}\` until its status reaches a terminal value; once finished it also returns the results and analysis. Follow a run live with the monitor operation.
19
19
 
20
+ Eval runs measure how well agents complete tasks with your product. To compare how coding agents and answer engines answer the same research question, with mentions and citations, use \`POST /v2/prompts/runs\` with \`agent\` instead.
21
+
20
22
  Send one of these flat request forms:
21
23
 
22
24
  - **Saved eval:** provide \`eval_id\`; optionally replace its prompts, persona, agents, CLIs, MCPs, setup commands, cleanup commands, or runs for this launch. A saved configuration can still provide repository, environment, skills, and legacy tool selections.
@@ -15,11 +15,16 @@ export const tool$promptsRun: ToolDefinition<typeof args> = {
15
15
  name: "prompts-run",
16
16
  description: `Run Prompts
17
17
 
18
- Queue saved prompts using the organization's configured targets.
18
+ Queue saved prompts on answer engines and coding agents.
19
19
 
20
20
  Provide \`prompt_ids\` to run selected prompts, or omit them to run all active
21
- prompts. Saved prompt run settings apply to coding-agent targets. The
22
- response returns a run ID to poll with
21
+ prompts. By default the run uses the organization's configured targets,
22
+ listed by \`GET /v2/prompts/targets\`.
23
+ Provide \`agent\` with IDs from \`GET /v2/agents\` to run the prompts on
24
+ specific coding-agent harnesses and models instead, for example to compare
25
+ how several coding tools answer the same developer question. Results
26
+ include mentions and citations. Saved prompt run settings apply to
27
+ coding-agent targets. The response returns a run ID to poll with
23
28
  \`GET /v2/prompts/runs/{run_id}/status\`.`,
24
29
  annotations: {
25
30
  "title": "",