@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.
- package/README.md +2 -2
- package/api/mcp.js +4 -1
- package/bin/mcp-server.js +1115 -205
- package/bin/mcp-server.js.map +82 -56
- package/esm/funcs/agentAnalyticsCountriesList.js +1 -0
- package/esm/funcs/agentAnalyticsCountriesList.js.map +1 -1
- package/esm/funcs/agentAnalyticsErrorPagesList.js +1 -0
- package/esm/funcs/agentAnalyticsErrorPagesList.js.map +1 -1
- package/esm/funcs/agentAnalyticsPagesList.js +1 -0
- package/esm/funcs/agentAnalyticsPagesList.js.map +1 -1
- package/esm/funcs/agentAnalyticsSourcesList.js +1 -0
- package/esm/funcs/agentAnalyticsSourcesList.js.map +1 -1
- package/esm/funcs/agentAnalyticsSummaryRetrieve.d.ts +1 -1
- package/esm/funcs/agentAnalyticsSummaryRetrieve.js +2 -1
- package/esm/funcs/agentAnalyticsSummaryRetrieve.js.map +1 -1
- package/esm/funcs/agentsList.d.ts +1 -1
- package/esm/funcs/agentsList.js +1 -1
- package/esm/funcs/evalsCreate.d.ts +2 -0
- package/esm/funcs/evalsCreate.d.ts.map +1 -1
- package/esm/funcs/evalsCreate.js +2 -0
- package/esm/funcs/evalsCreate.js.map +1 -1
- package/esm/funcs/evalsRun.d.ts +2 -0
- package/esm/funcs/evalsRun.d.ts.map +1 -1
- package/esm/funcs/evalsRun.js +2 -0
- package/esm/funcs/evalsRun.js.map +1 -1
- package/esm/funcs/promptsRun.d.ts +8 -3
- package/esm/funcs/promptsRun.d.ts.map +1 -1
- package/esm/funcs/promptsRun.js +8 -3
- package/esm/funcs/promptsRun.js.map +1 -1
- package/esm/funcs/promptsRunCancel.d.ts +16 -0
- package/esm/funcs/promptsRunCancel.d.ts.map +1 -0
- package/esm/funcs/promptsRunCancel.js +88 -0
- package/esm/funcs/promptsRunCancel.js.map +1 -0
- package/esm/funcs/promptsTargetsList.d.ts +16 -0
- package/esm/funcs/promptsTargetsList.d.ts.map +1 -0
- package/esm/funcs/promptsTargetsList.js +86 -0
- package/esm/funcs/promptsTargetsList.js.map +1 -0
- package/esm/funcs/promptsTargetsSet.d.ts +16 -0
- package/esm/funcs/promptsTargetsSet.d.ts.map +1 -0
- package/esm/funcs/promptsTargetsSet.js +83 -0
- package/esm/funcs/promptsTargetsSet.js.map +1 -0
- package/esm/funcs/visibilityCitationsList.d.ts +1 -1
- package/esm/funcs/visibilityCitationsList.js +2 -1
- package/esm/funcs/visibilityCitationsList.js.map +1 -1
- package/esm/funcs/visibilityCitationsSummaryRetrieve.d.ts +16 -0
- package/esm/funcs/visibilityCitationsSummaryRetrieve.d.ts.map +1 -0
- package/esm/funcs/visibilityCitationsSummaryRetrieve.js +93 -0
- package/esm/funcs/visibilityCitationsSummaryRetrieve.js.map +1 -0
- package/esm/funcs/visibilityCurrentRetrieve.d.ts +1 -1
- package/esm/funcs/visibilityCurrentRetrieve.js +2 -1
- package/esm/funcs/visibilityCurrentRetrieve.js.map +1 -1
- package/esm/funcs/visibilityOverviewRetrieve.d.ts +1 -1
- package/esm/funcs/visibilityOverviewRetrieve.js +2 -1
- package/esm/funcs/visibilityOverviewRetrieve.js.map +1 -1
- package/esm/funcs/visibilityPromptsRetrieve.js +1 -0
- package/esm/funcs/visibilityPromptsRetrieve.js.map +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +9 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/agentAnalyticsSummaryRetrieve.js +1 -1
- package/esm/mcp-server/tools/agentAnalyticsSummaryRetrieve.js.map +1 -1
- package/esm/mcp-server/tools/agentsList.js +1 -1
- package/esm/mcp-server/tools/agentsList.js.map +1 -1
- package/esm/mcp-server/tools/evalsCreate.d.ts.map +1 -1
- package/esm/mcp-server/tools/evalsCreate.js +3 -1
- package/esm/mcp-server/tools/evalsCreate.js.map +1 -1
- package/esm/mcp-server/tools/evalsRun.d.ts.map +1 -1
- package/esm/mcp-server/tools/evalsRun.js +2 -0
- package/esm/mcp-server/tools/evalsRun.js.map +1 -1
- package/esm/mcp-server/tools/promptsRun.d.ts.map +1 -1
- package/esm/mcp-server/tools/promptsRun.js +8 -3
- package/esm/mcp-server/tools/promptsRun.js.map +1 -1
- package/esm/mcp-server/tools/promptsRunCancel.d.ts +7 -0
- package/esm/mcp-server/tools/promptsRunCancel.d.ts.map +1 -0
- package/esm/mcp-server/tools/promptsRunCancel.js +35 -0
- package/esm/mcp-server/tools/promptsRunCancel.js.map +1 -0
- package/esm/mcp-server/tools/promptsTargetsList.d.ts +7 -0
- package/esm/mcp-server/tools/promptsTargetsList.d.ts.map +1 -0
- package/esm/mcp-server/tools/promptsTargetsList.js +35 -0
- package/esm/mcp-server/tools/promptsTargetsList.js.map +1 -0
- package/esm/mcp-server/tools/promptsTargetsSet.d.ts +7 -0
- package/esm/mcp-server/tools/promptsTargetsSet.d.ts.map +1 -0
- package/esm/mcp-server/tools/promptsTargetsSet.js +35 -0
- package/esm/mcp-server/tools/promptsTargetsSet.js.map +1 -0
- package/esm/mcp-server/tools/visibilityCitationsList.js +1 -1
- package/esm/mcp-server/tools/visibilityCitationsList.js.map +1 -1
- package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.d.ts +7 -0
- package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.d.ts.map +1 -0
- package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.js +35 -0
- package/esm/mcp-server/tools/visibilityCitationsSummaryRetrieve.js.map +1 -0
- package/esm/mcp-server/tools/visibilityCurrentRetrieve.js +1 -1
- package/esm/mcp-server/tools/visibilityCurrentRetrieve.js.map +1 -1
- package/esm/mcp-server/tools/visibilityOverviewRetrieve.js +1 -1
- package/esm/mcp-server/tools/visibilityOverviewRetrieve.js.map +1 -1
- package/esm/models/createv2promptrequest.js +1 -1
- package/esm/models/createv2promptrequest.js.map +1 -1
- package/esm/models/createv2promptrunrequest.d.ts +1 -0
- package/esm/models/createv2promptrunrequest.d.ts.map +1 -1
- package/esm/models/createv2promptrunrequest.js +2 -1
- package/esm/models/createv2promptrunrequest.js.map +1 -1
- package/esm/models/evaltemplateschedule.d.ts +4 -4
- package/esm/models/evaltemplateschedule.d.ts.map +1 -1
- package/esm/models/evaltemplateschedule.js +4 -3
- package/esm/models/evaltemplateschedule.js.map +1 -1
- package/esm/models/publicagentanalyticscountrylistresponse.d.ts +2 -0
- package/esm/models/publicagentanalyticscountrylistresponse.d.ts.map +1 -1
- package/esm/models/publicagentanalyticscountrylistresponse.js +2 -0
- package/esm/models/publicagentanalyticscountrylistresponse.js.map +1 -1
- package/esm/models/publicagentanalyticserrorpagelistresponse.d.ts +2 -0
- package/esm/models/publicagentanalyticserrorpagelistresponse.d.ts.map +1 -1
- package/esm/models/publicagentanalyticserrorpagelistresponse.js +2 -0
- package/esm/models/publicagentanalyticserrorpagelistresponse.js.map +1 -1
- package/esm/models/publicagentanalyticspagelistresponse.d.ts +2 -0
- package/esm/models/publicagentanalyticspagelistresponse.d.ts.map +1 -1
- package/esm/models/publicagentanalyticspagelistresponse.js +2 -0
- package/esm/models/publicagentanalyticspagelistresponse.js.map +1 -1
- package/esm/models/publicagentanalyticssourcelistresponse.d.ts +2 -0
- package/esm/models/publicagentanalyticssourcelistresponse.d.ts.map +1 -1
- package/esm/models/publicagentanalyticssourcelistresponse.js +2 -0
- package/esm/models/publicagentanalyticssourcelistresponse.js.map +1 -1
- package/esm/models/publicagentanalyticssummary.d.ts +2 -0
- package/esm/models/publicagentanalyticssummary.d.ts.map +1 -1
- package/esm/models/publicagentanalyticssummary.js +2 -0
- package/esm/models/publicagentanalyticssummary.js.map +1 -1
- package/esm/models/publiccitationsummarygroup.d.ts +17 -0
- package/esm/models/publiccitationsummarygroup.d.ts.map +1 -0
- package/esm/models/publiccitationsummarygroup.js +20 -0
- package/esm/models/publiccitationsummarygroup.js.map +1 -0
- package/esm/models/publiccitationsummaryresponse.d.ts +61 -0
- package/esm/models/publiccitationsummaryresponse.d.ts.map +1 -0
- package/esm/models/publiccitationsummaryresponse.js +58 -0
- package/esm/models/publiccitationsummaryresponse.js.map +1 -0
- package/esm/models/publiccitationsummarytotals.d.ts +14 -0
- package/esm/models/publiccitationsummarytotals.d.ts.map +1 -0
- package/esm/models/publiccitationsummarytotals.js +17 -0
- package/esm/models/publiccitationsummarytotals.js.map +1 -0
- package/esm/models/publiccoverage.d.ts +12 -0
- package/esm/models/publiccoverage.d.ts.map +1 -0
- package/esm/models/publiccoverage.js +15 -0
- package/esm/models/publiccoverage.js.map +1 -0
- package/esm/models/publiccoverageday.d.ts +41 -0
- package/esm/models/publiccoverageday.d.ts.map +1 -0
- package/esm/models/publiccoverageday.js +39 -0
- package/esm/models/publiccoverageday.js.map +1 -0
- package/esm/models/publiccurrentvisibilityresponse.d.ts +8 -0
- package/esm/models/publiccurrentvisibilityresponse.d.ts.map +1 -1
- package/esm/models/publiccurrentvisibilityresponse.js +8 -0
- package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
- package/esm/models/publicperiodcoverage.d.ts +13 -0
- package/esm/models/publicperiodcoverage.d.ts.map +1 -0
- package/esm/models/publicperiodcoverage.js +17 -0
- package/esm/models/publicperiodcoverage.js.map +1 -0
- package/esm/models/publicperiodrates.d.ts +10 -0
- package/esm/models/publicperiodrates.d.ts.map +1 -0
- package/esm/models/publicperiodrates.js +14 -0
- package/esm/models/publicperiodrates.js.map +1 -0
- package/esm/models/publicpreviousvisibility.d.ts +10 -0
- package/esm/models/publicpreviousvisibility.d.ts.map +1 -0
- package/esm/models/publicpreviousvisibility.js +13 -0
- package/esm/models/publicpreviousvisibility.js.map +1 -0
- package/esm/models/publicpromptvisibilityreportresponse.d.ts +6 -0
- package/esm/models/publicpromptvisibilityreportresponse.d.ts.map +1 -1
- package/esm/models/publicpromptvisibilityreportresponse.js +6 -0
- package/esm/models/publicpromptvisibilityreportresponse.js.map +1 -1
- package/esm/models/publicratechanges.d.ts +8 -0
- package/esm/models/publicratechanges.d.ts.map +1 -0
- package/esm/models/publicratechanges.js +12 -0
- package/esm/models/publicratechanges.js.map +1 -0
- package/esm/models/publicrates.d.ts +27 -0
- package/esm/models/publicrates.d.ts.map +1 -0
- package/esm/models/publicrates.js +25 -0
- package/esm/models/publicrates.js.map +1 -0
- package/esm/models/publicresolvedperiod.d.ts +14 -0
- package/esm/models/publicresolvedperiod.d.ts.map +1 -0
- package/esm/models/publicresolvedperiod.js +18 -0
- package/esm/models/publicresolvedperiod.js.map +1 -0
- package/esm/models/publictopcitedurlsresponse.d.ts +10 -4
- package/esm/models/publictopcitedurlsresponse.d.ts.map +1 -1
- package/esm/models/publictopcitedurlsresponse.js +9 -3
- package/esm/models/publictopcitedurlsresponse.js.map +1 -1
- package/esm/models/publicvisibilityoverviewresponse.d.ts +6 -0
- package/esm/models/publicvisibilityoverviewresponse.d.ts.map +1 -1
- package/esm/models/publicvisibilityoverviewresponse.js +6 -0
- package/esm/models/publicvisibilityoverviewresponse.js.map +1 -1
- package/esm/models/setv2prompttargetsrequest.d.ts +8 -0
- package/esm/models/setv2prompttargetsrequest.d.ts.map +1 -0
- package/esm/models/setv2prompttargetsrequest.js +11 -0
- package/esm/models/setv2prompttargetsrequest.js.map +1 -0
- package/esm/models/setv2prompttargetsresponse.d.ts +9 -0
- package/esm/models/setv2prompttargetsresponse.d.ts.map +1 -0
- package/esm/models/setv2prompttargetsresponse.js +12 -0
- package/esm/models/setv2prompttargetsresponse.js.map +1 -0
- package/esm/models/updatev2promptrequest.js +1 -1
- package/esm/models/updatev2promptrequest.js.map +1 -1
- package/esm/models/v2agentanalyticscountrieslistop.d.ts +1 -0
- package/esm/models/v2agentanalyticscountrieslistop.d.ts.map +1 -1
- package/esm/models/v2agentanalyticscountrieslistop.js +1 -0
- package/esm/models/v2agentanalyticscountrieslistop.js.map +1 -1
- package/esm/models/v2agentanalyticserrorpageslistop.d.ts +1 -0
- package/esm/models/v2agentanalyticserrorpageslistop.d.ts.map +1 -1
- package/esm/models/v2agentanalyticserrorpageslistop.js +1 -0
- package/esm/models/v2agentanalyticserrorpageslistop.js.map +1 -1
- package/esm/models/v2agentanalyticspageslistop.d.ts +1 -0
- package/esm/models/v2agentanalyticspageslistop.d.ts.map +1 -1
- package/esm/models/v2agentanalyticspageslistop.js +1 -0
- package/esm/models/v2agentanalyticspageslistop.js.map +1 -1
- package/esm/models/v2agentanalyticssourceslistop.d.ts +1 -0
- package/esm/models/v2agentanalyticssourceslistop.d.ts.map +1 -1
- package/esm/models/v2agentanalyticssourceslistop.js +1 -0
- package/esm/models/v2agentanalyticssourceslistop.js.map +1 -1
- package/esm/models/v2agentanalyticssummaryretrieveop.d.ts +1 -0
- package/esm/models/v2agentanalyticssummaryretrieveop.d.ts.map +1 -1
- package/esm/models/v2agentanalyticssummaryretrieveop.js +1 -0
- package/esm/models/v2agentanalyticssummaryretrieveop.js.map +1 -1
- package/esm/models/v2promptrunscancelop.d.ts +38 -0
- package/esm/models/v2promptrunscancelop.d.ts.map +1 -0
- package/esm/models/v2promptrunscancelop.js +31 -0
- package/esm/models/v2promptrunscancelop.js.map +1 -0
- package/esm/models/v2prompttarget.d.ts +44 -0
- package/esm/models/v2prompttarget.d.ts.map +1 -0
- package/esm/models/v2prompttarget.js +41 -0
- package/esm/models/v2prompttarget.js.map +1 -0
- package/esm/models/v2prompttargetinput.d.ts +47 -0
- package/esm/models/v2prompttargetinput.d.ts.map +1 -0
- package/esm/models/v2prompttargetinput.js +45 -0
- package/esm/models/v2prompttargetinput.js.map +1 -0
- package/esm/models/v2prompttargetslistop.d.ts +10 -0
- package/esm/models/v2prompttargetslistop.d.ts.map +1 -0
- package/esm/models/v2prompttargetslistop.js +15 -0
- package/esm/models/v2prompttargetslistop.js.map +1 -0
- package/esm/models/v2prompttargetsresponse.d.ts +8 -0
- package/esm/models/v2prompttargetsresponse.d.ts.map +1 -0
- package/esm/models/v2prompttargetsresponse.js +11 -0
- package/esm/models/v2prompttargetsresponse.js.map +1 -0
- package/esm/models/v2prompttargetssetop.d.ts +6 -0
- package/esm/models/v2prompttargetssetop.d.ts.map +1 -0
- package/esm/models/v2prompttargetssetop.js +12 -0
- package/esm/models/v2prompttargetssetop.js.map +1 -0
- package/esm/models/v2visibilitycitationslistop.d.ts +1 -0
- package/esm/models/v2visibilitycitationslistop.d.ts.map +1 -1
- package/esm/models/v2visibilitycitationslistop.js +1 -0
- package/esm/models/v2visibilitycitationslistop.js.map +1 -1
- package/esm/models/v2visibilitycitationssummaryretrieveop.d.ts +54 -0
- package/esm/models/v2visibilitycitationssummaryretrieveop.d.ts.map +1 -0
- package/esm/models/v2visibilitycitationssummaryretrieveop.js +51 -0
- package/esm/models/v2visibilitycitationssummaryretrieveop.js.map +1 -0
- package/esm/models/v2visibilitycurrentretrieveop.d.ts +1 -0
- package/esm/models/v2visibilitycurrentretrieveop.d.ts.map +1 -1
- package/esm/models/v2visibilitycurrentretrieveop.js +1 -0
- package/esm/models/v2visibilitycurrentretrieveop.js.map +1 -1
- package/esm/models/v2visibilityoverviewretrieveop.d.ts +1 -0
- package/esm/models/v2visibilityoverviewretrieveop.d.ts.map +1 -1
- package/esm/models/v2visibilityoverviewretrieveop.js +1 -0
- package/esm/models/v2visibilityoverviewretrieveop.js.map +1 -1
- package/esm/models/v2visibilitypromptsretrieveop.d.ts +1 -0
- package/esm/models/v2visibilitypromptsretrieveop.d.ts.map +1 -1
- package/esm/models/v2visibilitypromptsretrieveop.js +1 -0
- package/esm/models/v2visibilitypromptsretrieveop.js.map +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +24 -8
- package/esm/tool-names.js.map +1 -1
- package/lib/feedback.js +47 -0
- package/lib/tracker.js +4 -2
- package/package.json +5 -4
- package/src/funcs/agentAnalyticsCountriesList.ts +1 -0
- package/src/funcs/agentAnalyticsErrorPagesList.ts +1 -0
- package/src/funcs/agentAnalyticsPagesList.ts +1 -0
- package/src/funcs/agentAnalyticsSourcesList.ts +1 -0
- package/src/funcs/agentAnalyticsSummaryRetrieve.ts +2 -1
- package/src/funcs/agentsList.ts +1 -1
- package/src/funcs/evalsCreate.ts +2 -0
- package/src/funcs/evalsRun.ts +2 -0
- package/src/funcs/promptsRun.ts +8 -3
- package/src/funcs/promptsRunCancel.ts +153 -0
- package/src/funcs/promptsTargetsList.ts +148 -0
- package/src/funcs/promptsTargetsSet.ts +145 -0
- package/src/funcs/visibilityCitationsList.ts +2 -1
- package/src/funcs/visibilityCitationsSummaryRetrieve.ts +158 -0
- package/src/funcs/visibilityCurrentRetrieve.ts +2 -1
- package/src/funcs/visibilityOverviewRetrieve.ts +2 -1
- package/src/funcs/visibilityPromptsRetrieve.ts +1 -0
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/agentAnalyticsSummaryRetrieve.ts +1 -1
- package/src/mcp-server/tools/agentsList.ts +1 -1
- package/src/mcp-server/tools/evalsCreate.ts +3 -1
- package/src/mcp-server/tools/evalsRun.ts +2 -0
- package/src/mcp-server/tools/promptsRun.ts +8 -3
- package/src/mcp-server/tools/promptsRunCancel.ts +43 -0
- package/src/mcp-server/tools/promptsTargetsList.ts +43 -0
- package/src/mcp-server/tools/promptsTargetsSet.ts +43 -0
- package/src/mcp-server/tools/visibilityCitationsList.ts +1 -1
- package/src/mcp-server/tools/visibilityCitationsSummaryRetrieve.ts +45 -0
- package/src/mcp-server/tools/visibilityCurrentRetrieve.ts +1 -1
- package/src/mcp-server/tools/visibilityOverviewRetrieve.ts +1 -1
- package/src/models/createv2promptrequest.ts +1 -1
- package/src/models/createv2promptrunrequest.ts +5 -1
- package/src/models/evaltemplateschedule.ts +8 -7
- package/src/models/publicagentanalyticscountrylistresponse.ts +8 -0
- package/src/models/publicagentanalyticserrorpagelistresponse.ts +8 -0
- package/src/models/publicagentanalyticspagelistresponse.ts +8 -0
- package/src/models/publicagentanalyticssourcelistresponse.ts +8 -0
- package/src/models/publicagentanalyticssummary.ts +8 -0
- package/src/models/publiccitationsummarygroup.ts +54 -0
- package/src/models/publiccitationsummaryresponse.ts +110 -0
- package/src/models/publiccitationsummarytotals.ts +38 -0
- package/src/models/publiccoverage.ts +34 -0
- package/src/models/publiccoverageday.ts +68 -0
- package/src/models/publiccurrentvisibilityresponse.ts +26 -0
- package/src/models/publicperiodcoverage.ts +33 -0
- package/src/models/publicperiodrates.ts +29 -0
- package/src/models/publicpreviousvisibility.ts +30 -0
- package/src/models/publicpromptvisibilityreportresponse.ts +18 -0
- package/src/models/publicratechanges.ts +25 -0
- package/src/models/publicrates.ts +52 -0
- package/src/models/publicresolvedperiod.ts +41 -0
- package/src/models/publictopcitedurlsresponse.ts +25 -5
- package/src/models/publicvisibilityoverviewresponse.ts +18 -0
- package/src/models/setv2prompttargetsrequest.ts +26 -0
- package/src/models/setv2prompttargetsresponse.ts +23 -0
- package/src/models/updatev2promptrequest.ts +1 -1
- package/src/models/v2agentanalyticscountrieslistop.ts +4 -0
- package/src/models/v2agentanalyticserrorpageslistop.ts +4 -0
- package/src/models/v2agentanalyticspageslistop.ts +4 -0
- package/src/models/v2agentanalyticssourceslistop.ts +4 -0
- package/src/models/v2agentanalyticssummaryretrieveop.ts +4 -0
- package/src/models/v2promptrunscancelop.ts +90 -0
- package/src/models/v2prompttarget.ts +79 -0
- package/src/models/v2prompttargetinput.ts +72 -0
- package/src/models/v2prompttargetslistop.ts +33 -0
- package/src/models/v2prompttargetsresponse.ts +19 -0
- package/src/models/v2prompttargetssetop.ts +25 -0
- package/src/models/v2visibilitycitationslistop.ts +4 -0
- package/src/models/v2visibilitycitationssummaryretrieveop.ts +113 -0
- package/src/models/v2visibilitycurrentretrieveop.ts +4 -0
- package/src/models/v2visibilityoverviewretrieveop.ts +4 -0
- package/src/models/v2visibilitypromptsretrieveop.ts +4 -0
- package/src/tool-names.ts +24 -8
- package/test/tracker.test.js +83 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evalsRun.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/evalsRun.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,gCAAgC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAgC;IACxD,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"evalsRun.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/evalsRun.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,gCAAgC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAgC;IACxD,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE;;;;;;;;;;;;;0IAa2H;IACxI,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;KACtB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,QAAQ,CAC7B,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptsRun.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsRun.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"promptsRun.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsRun.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,OAAO,IAAI,CAuCvD,CAAC"}
|
|
@@ -12,11 +12,16 @@ export const tool$promptsRun = {
|
|
|
12
12
|
name: "prompts-run",
|
|
13
13
|
description: `Run Prompts
|
|
14
14
|
|
|
15
|
-
Queue saved prompts
|
|
15
|
+
Queue saved prompts on answer engines and coding agents.
|
|
16
16
|
|
|
17
17
|
Provide \`prompt_ids\` to run selected prompts, or omit them to run all active
|
|
18
|
-
prompts.
|
|
19
|
-
|
|
18
|
+
prompts. By default the run uses the organization's configured targets,
|
|
19
|
+
listed by \`GET /v2/prompts/targets\`.
|
|
20
|
+
Provide \`agent\` with IDs from \`GET /v2/agents\` to run the prompts on
|
|
21
|
+
specific coding-agent harnesses and models instead, for example to compare
|
|
22
|
+
how several coding tools answer the same developer question. Results
|
|
23
|
+
include mentions and citations. Saved prompt run settings apply to
|
|
24
|
+
coding-agent targets. The response returns a run ID to poll with
|
|
20
25
|
\`GET /v2/prompts/runs/{run_id}/status\`.`,
|
|
21
26
|
annotations: {
|
|
22
27
|
"title": "",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptsRun.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsRun.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAgC;IAC1D,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"promptsRun.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsRun.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAgC;IAC1D,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE;;;;;;;;;;;;0CAY2B;IACxC,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;KACtB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,UAAU,CAC/B,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ToolDefinition } from "../tools.js";
|
|
2
|
+
declare const args: {
|
|
3
|
+
request: import("zod").ZodType<import("../../models/v2promptrunscancelop.js").V2PromptRunsCancelRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/v2promptrunscancelop.js").V2PromptRunsCancelRequest, unknown>>;
|
|
4
|
+
};
|
|
5
|
+
export declare const tool$promptsRunCancel: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=promptsRunCancel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptsRunCancel.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsRunCancel.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,OAAO,IAAI,CA6B7D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 0560657e0c9b
|
|
4
|
+
*/
|
|
5
|
+
import { promptsRunCancel } from "../../funcs/promptsRunCancel.js";
|
|
6
|
+
import { V2PromptRunsCancelRequest$zodSchema } from "../../models/v2promptrunscancelop.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: V2PromptRunsCancelRequest$zodSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$promptsRunCancel = {
|
|
12
|
+
name: "prompts-run-cancel",
|
|
13
|
+
description: `Cancel a prompt run
|
|
14
|
+
|
|
15
|
+
Marks an active prompt run as cancelled and prevents queued prompts from starting. Running coding-agent attempts are stopped asynchronously. Requests already sent to an answer platform cannot be recalled, so prompts already in progress may still finish and store their results, but the run stays cancelled. Prompts that never start use no usage-based credits. The response has the same shape as the status operation, with cancelled prompts counted in \`progress.cancelled\`. Repeating this request for an already-cancelled run is safe.`,
|
|
16
|
+
annotations: {
|
|
17
|
+
"title": "",
|
|
18
|
+
"destructiveHint": false,
|
|
19
|
+
"idempotentHint": false,
|
|
20
|
+
"openWorldHint": false,
|
|
21
|
+
"readOnlyHint": false,
|
|
22
|
+
},
|
|
23
|
+
args,
|
|
24
|
+
tool: async (client, args, ctx) => {
|
|
25
|
+
const [result] = await promptsRunCancel(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return formatResult(result.value);
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=promptsRunCancel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptsRunCancel.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsRunCancel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,sCAAsC,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAgC;IAChE,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE;;whBAEygB;IACthB,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;KACtB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,gBAAgB,CACrC,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ToolDefinition } from "../tools.js";
|
|
2
|
+
declare const args: {
|
|
3
|
+
request: import("zod").ZodOptional<import("zod").ZodType<import("../../models/v2prompttargetslistop.js").V2PromptTargetsListRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/v2prompttargetslistop.js").V2PromptTargetsListRequest, unknown>>>;
|
|
4
|
+
};
|
|
5
|
+
export declare const tool$promptsTargetsList: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=promptsTargetsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptsTargetsList.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsTargetsList.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,cAAc,CAAC,OAAO,IAAI,CA6B/D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: ea463f944d6c
|
|
4
|
+
*/
|
|
5
|
+
import { promptsTargetsList } from "../../funcs/promptsTargetsList.js";
|
|
6
|
+
import { V2PromptTargetsListRequest$zodSchema } from "../../models/v2prompttargetslistop.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: V2PromptTargetsListRequest$zodSchema.optional(),
|
|
10
|
+
};
|
|
11
|
+
export const tool$promptsTargetsList = {
|
|
12
|
+
name: "prompts-targets-list",
|
|
13
|
+
description: `List Targets
|
|
14
|
+
|
|
15
|
+
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.`,
|
|
16
|
+
annotations: {
|
|
17
|
+
"title": "",
|
|
18
|
+
"destructiveHint": false,
|
|
19
|
+
"idempotentHint": false,
|
|
20
|
+
"openWorldHint": false,
|
|
21
|
+
"readOnlyHint": true,
|
|
22
|
+
},
|
|
23
|
+
args,
|
|
24
|
+
tool: async (client, args, ctx) => {
|
|
25
|
+
const [result] = await promptsTargetsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return formatResult(result.value);
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=promptsTargetsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptsTargetsList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsTargetsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,oCAAoC,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,oCAAoC,CAAC,QAAQ,EAAE;CACzD,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAgC;IAClE,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE;;wLAEyK;IACtL,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,kBAAkB,CACvC,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ToolDefinition } from "../tools.js";
|
|
2
|
+
declare const args: {
|
|
3
|
+
request: import("zod").ZodType<import("../../models/setv2prompttargetsrequest.js").SetV2PromptTargetsRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/setv2prompttargetsrequest.js").SetV2PromptTargetsRequest, unknown>>;
|
|
4
|
+
};
|
|
5
|
+
export declare const tool$promptsTargetsSet: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=promptsTargetsSet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptsTargetsSet.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsTargetsSet.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,OAAO,IAAI,CA6B9D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: f1ffd3b02650
|
|
4
|
+
*/
|
|
5
|
+
import { promptsTargetsSet } from "../../funcs/promptsTargetsSet.js";
|
|
6
|
+
import { SetV2PromptTargetsRequest$zodSchema } from "../../models/setv2prompttargetsrequest.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: SetV2PromptTargetsRequest$zodSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$promptsTargetsSet = {
|
|
12
|
+
name: "prompts-targets-set",
|
|
13
|
+
description: `Set Targets
|
|
14
|
+
|
|
15
|
+
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.`,
|
|
16
|
+
annotations: {
|
|
17
|
+
"title": "",
|
|
18
|
+
"destructiveHint": false,
|
|
19
|
+
"idempotentHint": false,
|
|
20
|
+
"openWorldHint": false,
|
|
21
|
+
"readOnlyHint": false,
|
|
22
|
+
},
|
|
23
|
+
args,
|
|
24
|
+
tool: async (client, args, ctx) => {
|
|
25
|
+
const [result] = await promptsTargetsSet(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return formatResult(result.value);
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=promptsTargetsSet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promptsTargetsSet.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/promptsTargetsSet.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,mCAAmC,EAAE,MAAM,2CAA2C,CAAC;AAChG,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAgC;IACjE,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE;;siBAEuhB;IACpiB,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;KACtB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,iBAAiB,CACtC,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -12,7 +12,7 @@ export const tool$visibilityCitationsList = {
|
|
|
12
12
|
name: "visibility-citations-list",
|
|
13
13
|
description: `List Top Cited Urls
|
|
14
14
|
|
|
15
|
-
Returns URL-level citation counts ranked from most to least cited. Results can be filtered by platform and to owned or external sources.`,
|
|
15
|
+
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.`,
|
|
16
16
|
annotations: {
|
|
17
17
|
"title": "",
|
|
18
18
|
"destructiveHint": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visibilityCitationsList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityCitationsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,0CAA0C,EAAE,MAAM,6CAA6C,CAAC;AACzG,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,0CAA0C,CAAC,QAAQ,EAAE;CAC/D,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAgC;IACvE,IAAI,EAAE,2BAA2B;IACjC,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"visibilityCitationsList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityCitationsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,0CAA0C,EAAE,MAAM,6CAA6C,CAAC;AACzG,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,0CAA0C,CAAC,QAAQ,EAAE;CAC/D,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAgC;IACvE,IAAI,EAAE,2BAA2B;IACjC,WAAW,EAAE;;gPAEiO;IAC9O,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,uBAAuB,CAC5C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ToolDefinition } from "../tools.js";
|
|
2
|
+
declare const args: {
|
|
3
|
+
request: import("zod").ZodOptional<import("zod").ZodType<import("../../models/v2visibilitycitationssummaryretrieveop.js").V2VisibilityCitationsSummaryRetrieveRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/v2visibilitycitationssummaryretrieveop.js").V2VisibilityCitationsSummaryRetrieveRequest, unknown>>>;
|
|
4
|
+
};
|
|
5
|
+
export declare const tool$visibilityCitationsSummaryRetrieve: ToolDefinition<typeof args>;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=visibilityCitationsSummaryRetrieve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visibilityCitationsSummaryRetrieve.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityCitationsSummaryRetrieve.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,uCAAuC,EAAE,cAAc,CAClE,OAAO,IAAI,CA8BZ,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 094c7750d43d
|
|
4
|
+
*/
|
|
5
|
+
import { visibilityCitationsSummaryRetrieve } from "../../funcs/visibilityCitationsSummaryRetrieve.js";
|
|
6
|
+
import { V2VisibilityCitationsSummaryRetrieveRequest$zodSchema } from "../../models/v2visibilitycitationssummaryretrieveop.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: V2VisibilityCitationsSummaryRetrieveRequest$zodSchema.optional(),
|
|
10
|
+
};
|
|
11
|
+
export const tool$visibilityCitationsSummaryRetrieve = {
|
|
12
|
+
name: "visibility-citations-summary-retrieve",
|
|
13
|
+
description: `Retrieve Citation Summary
|
|
14
|
+
|
|
15
|
+
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.`,
|
|
16
|
+
annotations: {
|
|
17
|
+
"title": "",
|
|
18
|
+
"destructiveHint": false,
|
|
19
|
+
"idempotentHint": false,
|
|
20
|
+
"openWorldHint": false,
|
|
21
|
+
"readOnlyHint": true,
|
|
22
|
+
},
|
|
23
|
+
args,
|
|
24
|
+
tool: async (client, args, ctx) => {
|
|
25
|
+
const [result] = await visibilityCitationsSummaryRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return formatResult(result.value);
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=visibilityCitationsSummaryRetrieve.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visibilityCitationsSummaryRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityCitationsSummaryRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,kCAAkC,EAAE,MAAM,mDAAmD,CAAC;AACvG,OAAO,EAAE,qDAAqD,EAAE,MAAM,wDAAwD,CAAC;AAC/H,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,qDAAqD,CAAC,QAAQ,EAAE;CAC1E,CAAC;AAEF,MAAM,CAAC,MAAM,uCAAuC,GAEhD;IACF,IAAI,EAAE,uCAAuC;IAC7C,WAAW,EAAE;;oXAEqW;IAClX,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,kCAAkC,CACvD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -12,7 +12,7 @@ export const tool$visibilityCurrentRetrieve = {
|
|
|
12
12
|
name: "visibility-current-retrieve",
|
|
13
13
|
description: `Retrieve Current Visibility
|
|
14
14
|
|
|
15
|
-
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
|
|
15
|
+
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.`,
|
|
16
16
|
annotations: {
|
|
17
17
|
"title": "",
|
|
18
18
|
"destructiveHint": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visibilityCurrentRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityCurrentRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,4CAA4C,EAAE,MAAM,+CAA+C,CAAC;AAC7G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,4CAA4C,CAAC,QAAQ,EAAE;CACjE,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAgC;IACzE,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"visibilityCurrentRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityCurrentRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,4CAA4C,EAAE,MAAM,+CAA+C,CAAC;AAC7G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,4CAA4C,CAAC,QAAQ,EAAE;CACjE,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAgC;IACzE,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE;;qXAEsW;IACnX,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,yBAAyB,CAC9C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -12,7 +12,7 @@ export const tool$visibilityOverviewRetrieve = {
|
|
|
12
12
|
name: "visibility-overview-retrieve",
|
|
13
13
|
description: `Retrieve Visibility Overview
|
|
14
14
|
|
|
15
|
-
Returns aggregate snapshot, daily trends, per-platform breakdowns, and competitor comparison. Calculated from active prompts only.`,
|
|
15
|
+
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.`,
|
|
16
16
|
annotations: {
|
|
17
17
|
"title": "",
|
|
18
18
|
"destructiveHint": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visibilityOverviewRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityOverviewRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,6CAA6C,CAAC,QAAQ,EAAE;CAClE,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAgC;IAC1E,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"visibilityOverviewRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityOverviewRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,6CAA6C,CAAC,QAAQ,EAAE;CAClE,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAgC;IAC1E,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE;;oMAEqL;IAClM,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,0BAA0B,CAC/C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { V2PromptRunSettingsInput$zodSchema, } from "./v2promptrunsettingsinput.js";
|
|
7
7
|
export const CreateV2PromptRequest$zodSchema = z.object({
|
|
8
|
-
platform_ids: z.array(z.string()).optional().describe("
|
|
8
|
+
platform_ids: z.array(z.string()).optional().describe("Platform IDs, as returned in `platforms` on `GET /v2/prompts`. Omit to attach none. To choose which coding-agent models a run uses, pass `agent` to `POST /v2/prompts/runs`."),
|
|
9
9
|
run_settings: V2PromptRunSettingsInput$zodSchema.nullable().optional()
|
|
10
10
|
.describe("Run settings that apply to coding-agent runs of this prompt. Omitted fields keep their current or default values."),
|
|
11
11
|
text: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createv2promptrequest.js","sourceRoot":"","sources":["../../src/models/createv2promptrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,kCAAkC,GACnC,MAAM,+BAA+B,CAAC;AASvC,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnD,
|
|
1
|
+
{"version":3,"file":"createv2promptrequest.js","sourceRoot":"","sources":["../../src/models/createv2promptrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,kCAAkC,GACnC,MAAM,+BAA+B,CAAC;AASvC,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnD,8KAA8K,CAC/K;IACD,YAAY,EAAE,kCAAkC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SACnE,QAAQ,CACP,mHAAmH,CACpH;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC3B,gDAAgD,CACjD;CACF,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export type CreateV2PromptRunRequest = {
|
|
3
3
|
prompt_ids?: Array<string> | null | undefined;
|
|
4
|
+
agent?: Array<string> | null | undefined;
|
|
4
5
|
force?: boolean | undefined;
|
|
5
6
|
};
|
|
6
7
|
export declare const CreateV2PromptRunRequest$zodSchema: z.ZodType<CreateV2PromptRunRequest>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createv2promptrunrequest.d.ts","sourceRoot":"","sources":["../../src/models/createv2promptrunrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,
|
|
1
|
+
{"version":3,"file":"createv2promptrunrequest.d.ts","sourceRoot":"","sources":["../../src/models/createv2promptrunrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAWxB,CAAC"}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
export const CreateV2PromptRunRequest$zodSchema = z.object({
|
|
7
|
-
|
|
7
|
+
agent: z.array(z.string()).nullable().optional().describe("Runnable agents from `GET /v2/agents`, each a coding-agent harness and model such as `claude-code:claude-opus-5-5`. Every selected prompt runs once on each agent, so you can compare how several coding tools and models answer the same question. When set, this run uses only these agents instead of the organization's configured targets, including answer engines, and saves nothing. Omit it to use the configured targets; change those with `PUT /v2/prompts/targets`. CLI clients expose repeatable `--agent`."),
|
|
8
|
+
force: z.boolean().default(false).describe("Run even when a prompt already ran today on the same platform and model."),
|
|
8
9
|
prompt_ids: z.array(z.string()).nullable().optional().describe("Prompt IDs from `GET /v2/prompts`. Omit this field to run all active prompts."),
|
|
9
10
|
});
|
|
10
11
|
//# sourceMappingURL=createv2promptrunrequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createv2promptrunrequest.js","sourceRoot":"","sources":["../../src/models/createv2promptrunrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"createv2promptrunrequest.js","sourceRoot":"","sources":["../../src/models/createv2promptrunrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAQzB,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvD,2fAA2f,CAC5f;IACD,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CACxC,0EAA0E,CAC3E;IACD,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5D,+EAA+E,CAChF;CACF,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ClosedEnum } from "../types/enums.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Schedule cadence used when `enabled` is true.
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const EvalTemplateScheduleFrequency: {
|
|
7
7
|
readonly Daily: "daily";
|
|
8
8
|
readonly EveryOtherDay: "every_other_day";
|
|
9
9
|
readonly Weekly: "weekly";
|
|
@@ -11,8 +11,8 @@ export declare const Frequency: {
|
|
|
11
11
|
/**
|
|
12
12
|
* Schedule cadence used when `enabled` is true.
|
|
13
13
|
*/
|
|
14
|
-
export type
|
|
15
|
-
export declare const
|
|
14
|
+
export type EvalTemplateScheduleFrequency = ClosedEnum<typeof EvalTemplateScheduleFrequency>;
|
|
15
|
+
export declare const EvalTemplateScheduleFrequency$zodSchema: z.ZodEnum<{
|
|
16
16
|
daily: "daily";
|
|
17
17
|
every_other_day: "every_other_day";
|
|
18
18
|
weekly: "weekly";
|
|
@@ -22,7 +22,7 @@ export declare const Frequency$zodSchema: z.ZodEnum<{
|
|
|
22
22
|
*/
|
|
23
23
|
export type EvalTemplateSchedule = {
|
|
24
24
|
enabled?: boolean | undefined;
|
|
25
|
-
frequency?:
|
|
25
|
+
frequency?: EvalTemplateScheduleFrequency | undefined;
|
|
26
26
|
};
|
|
27
27
|
export declare const EvalTemplateSchedule$zodSchema: z.ZodType<EvalTemplateSchedule>;
|
|
28
28
|
//# sourceMappingURL=evaltemplateschedule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaltemplateschedule.d.ts","sourceRoot":"","sources":["../../src/models/evaltemplateschedule.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"evaltemplateschedule.d.ts","sourceRoot":"","sources":["../../src/models/evaltemplateschedule.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF,eAAO,MAAM,uCAAuC;;;;EAIQ,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAOA,CAAC"}
|
|
@@ -6,12 +6,12 @@ import * as z from "zod";
|
|
|
6
6
|
/**
|
|
7
7
|
* Schedule cadence used when `enabled` is true.
|
|
8
8
|
*/
|
|
9
|
-
export const
|
|
9
|
+
export const EvalTemplateScheduleFrequency = {
|
|
10
10
|
Daily: "daily",
|
|
11
11
|
EveryOtherDay: "every_other_day",
|
|
12
12
|
Weekly: "weekly",
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const EvalTemplateScheduleFrequency$zodSchema = z.enum([
|
|
15
15
|
"daily",
|
|
16
16
|
"every_other_day",
|
|
17
17
|
"weekly",
|
|
@@ -19,6 +19,7 @@ export const Frequency$zodSchema = z.enum([
|
|
|
19
19
|
export const EvalTemplateSchedule$zodSchema = z
|
|
20
20
|
.object({
|
|
21
21
|
enabled: z.boolean().default(false).describe("Whether each eval created from the template receives a schedule."),
|
|
22
|
-
frequency:
|
|
22
|
+
frequency: EvalTemplateScheduleFrequency$zodSchema.default("weekly")
|
|
23
|
+
.describe("Schedule cadence used when `enabled` is true."),
|
|
23
24
|
}).describe("Schedule copied into every eval created from the template.");
|
|
24
25
|
//# sourceMappingURL=evaltemplateschedule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaltemplateschedule.js","sourceRoot":"","sources":["../../src/models/evaltemplateschedule.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"evaltemplateschedule.js","sourceRoot":"","sources":["../../src/models/evaltemplateschedule.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,iBAAiB;IAChC,MAAM,EAAE,QAAQ;CACR,CAAC;AAQX,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5D,OAAO;IACP,iBAAiB;IACjB,QAAQ;CACT,CAAC,CAAC,QAAQ,CAAC,+CAA+C,CAAC,CAAC;AAU7D,MAAM,CAAC,MAAM,8BAA8B,GAAoC,CAAC;KAC7E,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAC1C,kEAAkE,CACnE;IACD,SAAS,EAAE,uCAAuC,CAAC,OAAO,CAAC,QAAQ,CAAC;SACjE,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC,4DAA4D,CAAC,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PublicAgentCountry } from "./publicagentcountry.js";
|
|
3
|
+
import { PublicResolvedPeriod } from "./publicresolvedperiod.js";
|
|
3
4
|
export type PublicAgentAnalyticsCountryListResponse = {
|
|
4
5
|
site_id: string;
|
|
5
6
|
start_date: string;
|
|
6
7
|
end_date: string;
|
|
8
|
+
period?: PublicResolvedPeriod | null | undefined;
|
|
7
9
|
countries?: Array<PublicAgentCountry> | undefined;
|
|
8
10
|
};
|
|
9
11
|
export declare const PublicAgentAnalyticsCountryListResponse$zodSchema: z.ZodType<PublicAgentAnalyticsCountryListResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicagentanalyticscountrylistresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicagentanalyticscountrylistresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"publicagentanalyticscountrylistresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicagentanalyticscountrylistresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,uCAAuC,GAAG;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,uCAAuC,CAWvC,CAAC"}
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { PublicAgentCountry$zodSchema, } from "./publicagentcountry.js";
|
|
7
|
+
import { PublicResolvedPeriod$zodSchema, } from "./publicresolvedperiod.js";
|
|
7
8
|
export const PublicAgentAnalyticsCountryListResponse$zodSchema = z.object({
|
|
8
9
|
countries: z.array(PublicAgentCountry$zodSchema).optional().describe("Visits from coding agents and AI assistants per country, most visits first. The country is located from the IP address the request came from. For hosted assistants such as ChatGPT that is usually the provider's servers, not the person who asked; for coding agents it is usually the developer's machine."),
|
|
9
10
|
end_date: z.string().date(),
|
|
11
|
+
period: PublicResolvedPeriod$zodSchema.nullable().optional().describe("The resolved period and the previous period it is compared with."),
|
|
10
12
|
site_id: z.string(),
|
|
11
13
|
start_date: z.string().date(),
|
|
12
14
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicagentanalyticscountrylistresponse.js","sourceRoot":"","sources":["../../src/models/publicagentanalyticscountrylistresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"publicagentanalyticscountrylistresponse.js","sourceRoot":"","sources":["../../src/models/publicagentanalyticscountrylistresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAUnC,MAAM,CAAC,MAAM,iDAAiD,GAE1D,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClE,gTAAgT,CACjT;IACD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3B,MAAM,EAAE,8BAA8B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnE,kEAAkE,CACnE;IACD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC9B,CAAC,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PublicAgentErrorPage } from "./publicagenterrorpage.js";
|
|
3
|
+
import { PublicResolvedPeriod } from "./publicresolvedperiod.js";
|
|
3
4
|
export type PublicAgentAnalyticsErrorPageListResponse = {
|
|
4
5
|
site_id: string;
|
|
5
6
|
start_date: string;
|
|
6
7
|
end_date: string;
|
|
8
|
+
period?: PublicResolvedPeriod | null | undefined;
|
|
7
9
|
status_codes_tracked: boolean;
|
|
8
10
|
pages?: Array<PublicAgentErrorPage> | undefined;
|
|
9
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicagentanalyticserrorpagelistresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicagentanalyticserrorpagelistresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,yCAAyC,GAAG;IACtD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,yCAAyC,
|
|
1
|
+
{"version":3,"file":"publicagentanalyticserrorpagelistresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicagentanalyticserrorpagelistresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,yCAAyC,GAAG;IACtD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,oBAAoB,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,yCAAyC,CAczC,CAAC"}
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { PublicAgentErrorPage$zodSchema, } from "./publicagenterrorpage.js";
|
|
7
|
+
import { PublicResolvedPeriod$zodSchema, } from "./publicresolvedperiod.js";
|
|
7
8
|
export const PublicAgentAnalyticsErrorPageListResponse$zodSchema = z.object({
|
|
8
9
|
end_date: z.string().date(),
|
|
9
10
|
pages: z.array(PublicAgentErrorPage$zodSchema).optional().describe("Most error requests first."),
|
|
11
|
+
period: PublicResolvedPeriod$zodSchema.nullable().optional().describe("The resolved period and the previous period it is compared with."),
|
|
10
12
|
site_id: z.string(),
|
|
11
13
|
start_date: z.string().date(),
|
|
12
14
|
status_codes_tracked: z.boolean().describe("Whether any request to the site in the date range reported a status code. Status codes come from server-side tracking such as a log drain or middleware; when this is false, an empty `pages` list does not mean there were no errors."),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicagentanalyticserrorpagelistresponse.js","sourceRoot":"","sources":["../../src/models/publicagentanalyticserrorpagelistresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"publicagentanalyticserrorpagelistresponse.js","sourceRoot":"","sources":["../../src/models/publicagentanalyticserrorpagelistresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAWnC,MAAM,CAAC,MAAM,mDAAmD,GAE5D,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChE,4BAA4B,CAC7B;IACD,MAAM,EAAE,8BAA8B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnE,kEAAkE,CACnE;IACD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC7B,oBAAoB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CACxC,wOAAwO,CACzO;CACF,CAAC,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PublicAgentTrafficPage } from "./publicagenttrafficpage.js";
|
|
3
|
+
import { PublicResolvedPeriod } from "./publicresolvedperiod.js";
|
|
3
4
|
export type PublicAgentAnalyticsPageListResponse = {
|
|
4
5
|
site_id: string;
|
|
5
6
|
start_date: string;
|
|
6
7
|
end_date: string;
|
|
8
|
+
period?: PublicResolvedPeriod | null | undefined;
|
|
7
9
|
agent?: string | null | undefined;
|
|
8
10
|
pages?: Array<PublicAgentTrafficPage> | undefined;
|
|
9
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicagentanalyticspagelistresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicagentanalyticspagelistresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"publicagentanalyticspagelistresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicagentanalyticspagelistresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,oCAAoC,GAAG;IACjD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,oCAAoC,CAYpC,CAAC"}
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { PublicAgentTrafficPage$zodSchema, } from "./publicagenttrafficpage.js";
|
|
7
|
+
import { PublicResolvedPeriod$zodSchema, } from "./publicresolvedperiod.js";
|
|
7
8
|
export const PublicAgentAnalyticsPageListResponse$zodSchema = z.object({
|
|
8
9
|
agent: z.string().nullable().optional().describe("The coding agent the pages were filtered to, when `agent` was set. Its visits are in `coding` and `ai_total`; the other counts are 0."),
|
|
9
10
|
end_date: z.string().date(),
|
|
10
11
|
pages: z.array(PublicAgentTrafficPage$zodSchema).optional(),
|
|
12
|
+
period: PublicResolvedPeriod$zodSchema.nullable().optional().describe("The resolved period and the previous period it is compared with."),
|
|
11
13
|
site_id: z.string(),
|
|
12
14
|
start_date: z.string().date(),
|
|
13
15
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicagentanalyticspagelistresponse.js","sourceRoot":"","sources":["../../src/models/publicagentanalyticspagelistresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,gCAAgC,GACjC,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"publicagentanalyticspagelistresponse.js","sourceRoot":"","sources":["../../src/models/publicagentanalyticspagelistresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,gCAAgC,GACjC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AAWnC,MAAM,CAAC,MAAM,8CAA8C,GAEvD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC9C,uIAAuI,CACxI;IACD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC,QAAQ,EAAE;IAC3D,MAAM,EAAE,8BAA8B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnE,kEAAkE,CACnE;IACD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC9B,CAAC,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PublicAgentTrafficSource } from "./publicagenttrafficsource.js";
|
|
3
|
+
import { PublicResolvedPeriod } from "./publicresolvedperiod.js";
|
|
3
4
|
export type PublicAgentAnalyticsSourceListResponse = {
|
|
4
5
|
site_id: string;
|
|
5
6
|
start_date: string;
|
|
6
7
|
end_date: string;
|
|
8
|
+
period?: PublicResolvedPeriod | null | undefined;
|
|
7
9
|
sources?: Array<PublicAgentTrafficSource> | undefined;
|
|
8
10
|
};
|
|
9
11
|
export declare const PublicAgentAnalyticsSourceListResponse$zodSchema: z.ZodType<PublicAgentAnalyticsSourceListResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicagentanalyticssourcelistresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicagentanalyticssourcelistresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"publicagentanalyticssourcelistresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicagentanalyticssourcelistresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,sCAAsC,GAAG;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,OAAO,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,sCAAsC,CAWtC,CAAC"}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { PublicAgentTrafficSource$zodSchema, } from "./publicagenttrafficsource.js";
|
|
7
|
+
import { PublicResolvedPeriod$zodSchema, } from "./publicresolvedperiod.js";
|
|
7
8
|
export const PublicAgentAnalyticsSourceListResponse$zodSchema = z.object({
|
|
8
9
|
end_date: z.string().date(),
|
|
10
|
+
period: PublicResolvedPeriod$zodSchema.nullable().optional().describe("The resolved period and the previous period it is compared with."),
|
|
9
11
|
site_id: z.string(),
|
|
10
12
|
sources: z.array(PublicAgentTrafficSource$zodSchema).optional().describe("Most visits first."),
|
|
11
13
|
start_date: z.string().date(),
|