@lightsage/mcp 0.4.22 → 0.4.24
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 +3 -0
- package/bin/mcp-server.js +362 -173
- package/bin/mcp-server.js.map +25 -19
- package/esm/funcs/pluginEvalsResultsList.d.ts +16 -0
- package/esm/funcs/pluginEvalsResultsList.d.ts.map +1 -0
- package/esm/funcs/pluginEvalsResultsList.js +86 -0
- package/esm/funcs/pluginEvalsResultsList.js.map +1 -0
- 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 +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/pluginEvalsResultsList.d.ts +7 -0
- package/esm/mcp-server/tools/pluginEvalsResultsList.d.ts.map +1 -0
- package/esm/mcp-server/tools/pluginEvalsResultsList.js +35 -0
- package/esm/mcp-server/tools/pluginEvalsResultsList.js.map +1 -0
- package/esm/models/createv2evalrequest.d.ts +1 -0
- package/esm/models/createv2evalrequest.d.ts.map +1 -1
- package/esm/models/createv2evalrequest.js +1 -0
- package/esm/models/createv2evalrequest.js.map +1 -1
- package/esm/models/createv2evalrunrequest.d.ts +1 -0
- package/esm/models/createv2evalrunrequest.d.ts.map +1 -1
- package/esm/models/createv2evalrunrequest.js +1 -0
- package/esm/models/createv2evalrunrequest.js.map +1 -1
- package/esm/models/graderdefinition.d.ts +1 -0
- package/esm/models/graderdefinition.d.ts.map +1 -1
- package/esm/models/graderdefinition.js +1 -0
- package/esm/models/graderdefinition.js.map +1 -1
- package/esm/models/publiccriterionverdict.d.ts +4 -2
- package/esm/models/publiccriterionverdict.d.ts.map +1 -1
- package/esm/models/publiccriterionverdict.js +5 -3
- package/esm/models/publiccriterionverdict.js.map +1 -1
- package/esm/models/publicgraderresult.d.ts +1 -0
- package/esm/models/publicgraderresult.d.ts.map +1 -1
- package/esm/models/publicgraderresult.js +1 -0
- package/esm/models/publicgraderresult.js.map +1 -1
- package/esm/models/publicpluginevalresultsdownload.d.ts +11 -0
- package/esm/models/publicpluginevalresultsdownload.d.ts.map +1 -0
- package/esm/models/publicpluginevalresultsdownload.js +14 -0
- package/esm/models/publicpluginevalresultsdownload.js.map +1 -0
- package/esm/models/publicpluginevalresultsresponse.d.ts +8 -0
- package/esm/models/publicpluginevalresultsresponse.d.ts.map +1 -0
- package/esm/models/publicpluginevalresultsresponse.js +11 -0
- package/esm/models/publicpluginevalresultsresponse.js.map +1 -0
- package/esm/models/updatev2evalrequest.d.ts +1 -0
- package/esm/models/updatev2evalrequest.d.ts.map +1 -1
- package/esm/models/updatev2evalrequest.js +1 -0
- package/esm/models/updatev2evalrequest.js.map +1 -1
- package/esm/models/v2eval.d.ts +1 -0
- package/esm/models/v2eval.d.ts.map +1 -1
- package/esm/models/v2eval.js +1 -0
- package/esm/models/v2eval.js.map +1 -1
- package/esm/models/v2evalresultsummary.d.ts +2 -0
- package/esm/models/v2evalresultsummary.d.ts.map +1 -1
- package/esm/models/v2evalresultsummary.js +2 -0
- package/esm/models/v2evalresultsummary.js.map +1 -1
- package/esm/models/v2evalresulttoolcall.d.ts +8 -8
- package/esm/models/v2evalresulttoolcall.js +9 -9
- package/esm/models/v2evalresulttoolcall.js.map +1 -1
- package/esm/models/v2pluginevalsresultslistop.d.ts +10 -0
- package/esm/models/v2pluginevalsresultslistop.d.ts.map +1 -0
- package/esm/models/v2pluginevalsresultslistop.js +15 -0
- package/esm/models/v2pluginevalsresultslistop.js.map +1 -0
- package/esm/models/v2promptrunjobresponse.js +1 -1
- package/esm/models/v2promptrunjobresponse.js.map +1 -1
- package/esm/models/v2setupcommandoutput.d.ts +10 -0
- package/esm/models/v2setupcommandoutput.d.ts.map +1 -0
- package/esm/models/v2setupcommandoutput.js +14 -0
- package/esm/models/v2setupcommandoutput.js.map +1 -0
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +4 -0
- package/esm/tool-names.js.map +1 -1
- package/lib/tool-overrides.js +66 -0
- package/package.json +1 -1
- package/src/funcs/pluginEvalsResultsList.ts +148 -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 +3 -1
- package/src/mcp-server/tools/pluginEvalsResultsList.ts +43 -0
- package/src/models/createv2evalrequest.ts +4 -0
- package/src/models/createv2evalrunrequest.ts +4 -0
- package/src/models/graderdefinition.ts +2 -0
- package/src/models/publiccriterionverdict.ts +6 -4
- package/src/models/publicgraderresult.ts +4 -0
- package/src/models/publicpluginevalresultsdownload.ts +34 -0
- package/src/models/publicpluginevalresultsresponse.ts +24 -0
- package/src/models/updatev2evalrequest.ts +4 -0
- package/src/models/v2eval.ts +4 -0
- package/src/models/v2evalresultsummary.ts +8 -0
- package/src/models/v2evalresulttoolcall.ts +10 -10
- package/src/models/v2pluginevalsresultslistop.ts +35 -0
- package/src/models/v2promptrunjobresponse.ts +1 -1
- package/src/models/v2setupcommandoutput.ts +31 -0
- package/src/tool-names.ts +4 -0
- package/test/simulations.test.js +2 -1
- package/test/tool-overrides.test.js +70 -0
package/bin/mcp-server.js
CHANGED
|
@@ -6561,7 +6561,15 @@ function writeFromReadableStream(stream, writable) {
|
|
|
6561
6561
|
}
|
|
6562
6562
|
return writeFromReadableStreamDefaultReader(stream.getReader(), writable);
|
|
6563
6563
|
}
|
|
6564
|
-
var RequestError,
|
|
6564
|
+
var RequestError, validateRequestTarget = (target) => {
|
|
6565
|
+
const backslash = target.indexOf("\\");
|
|
6566
|
+
if (backslash !== -1) {
|
|
6567
|
+
const query = target.indexOf("?");
|
|
6568
|
+
if (query === -1 || backslash < query) {
|
|
6569
|
+
throw new RequestError("Backslash in request path");
|
|
6570
|
+
}
|
|
6571
|
+
}
|
|
6572
|
+
}, toRequestError = (e) => {
|
|
6565
6573
|
if (e instanceof RequestError) {
|
|
6566
6574
|
return e;
|
|
6567
6575
|
}
|
|
@@ -6631,6 +6639,7 @@ var RequestError, toRequestError = (e) => {
|
|
|
6631
6639
|
throw new RequestError("Absolute URL for :path is not allowed in HTTP/2");
|
|
6632
6640
|
}
|
|
6633
6641
|
try {
|
|
6642
|
+
validateRequestTarget(incomingUrl);
|
|
6634
6643
|
const url2 = new URL(incomingUrl);
|
|
6635
6644
|
req[urlKey] = url2.href;
|
|
6636
6645
|
} catch (e) {
|
|
@@ -6651,6 +6660,7 @@ var RequestError, toRequestError = (e) => {
|
|
|
6651
6660
|
} else {
|
|
6652
6661
|
scheme = incoming.socket && incoming.socket.encrypted ? "https" : "http";
|
|
6653
6662
|
}
|
|
6663
|
+
validateRequestTarget(incomingUrl);
|
|
6654
6664
|
const url = new URL(`${scheme}://${host}${incomingUrl}`);
|
|
6655
6665
|
if (url.hostname.length !== host.length && url.hostname !== host.replace(/:\d+$/, "")) {
|
|
6656
6666
|
throw new RequestError("Invalid host header");
|
|
@@ -53747,9 +53757,9 @@ var init_config = __esm(() => {
|
|
|
53747
53757
|
SDK_METADATA = {
|
|
53748
53758
|
language: "typescript",
|
|
53749
53759
|
openapiDocVersion: "1.0.0",
|
|
53750
|
-
sdkVersion: "0.4.
|
|
53760
|
+
sdkVersion: "0.4.24",
|
|
53751
53761
|
genVersion: "2.948.4",
|
|
53752
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.4.
|
|
53762
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.4.24 2.948.4 1.0.0 @lightsage/mcp"
|
|
53753
53763
|
};
|
|
53754
53764
|
});
|
|
53755
53765
|
|
|
@@ -58922,6 +58932,7 @@ var init_createv2evalrequest = __esm(() => {
|
|
|
58922
58932
|
agent: array(string2()).optional().describe("Runnable agents from `GET /v2/agents`. An empty array saves the eval without default agents. CLI clients expose repeatable `--agent`."),
|
|
58923
58933
|
cleanup_commands: array(string2()).optional().describe("Best-effort shell commands run sequentially after agent execution and result capture, before sandbox deletion. CLI clients expose repeatable `--cleanup-command`."),
|
|
58924
58934
|
clis: array(string2()).optional().describe("Saved CLI IDs or shell installation commands. UUID values resolve saved CLIs from `GET /v2/clis`; every other value is run as an installation command. CLI clients expose repeatable `--cli`."),
|
|
58935
|
+
include_env_vars: boolean2().default(true).describe("Whether runs get environment variables. Set false to run with no environment: neither a configuration's environment nor the organization's default environment is attached. This is the same setting as Environment: Off in the app."),
|
|
58925
58936
|
judges: array(string2()).describe("Plain-text success criteria. CLI clients expose this as repeatable `--judge`."),
|
|
58926
58937
|
mcps: array(union([
|
|
58927
58938
|
V2InlineMcpDefinition$zodSchema,
|
|
@@ -59091,6 +59102,7 @@ var init_v2eval = __esm(() => {
|
|
|
59091
59102
|
])).optional(),
|
|
59092
59103
|
created_at: string2().nullable().optional(),
|
|
59093
59104
|
id: string2(),
|
|
59105
|
+
include_env_vars: boolean2().default(true).describe("Whether runs get environment variables. false means runs use no environment, as Environment: Off in the app."),
|
|
59094
59106
|
judges: array(string2()).optional(),
|
|
59095
59107
|
mcps: array(union([
|
|
59096
59108
|
V2InlineMcpDefinition$zodSchema,
|
|
@@ -59257,12 +59269,13 @@ var init_publiccriterionverdict = __esm(() => {
|
|
|
59257
59269
|
Verdict$zodSchema = _enum([
|
|
59258
59270
|
"PASS",
|
|
59259
59271
|
"FAIL",
|
|
59260
|
-
"NOT_VERIFIED"
|
|
59261
|
-
|
|
59272
|
+
"NOT_VERIFIED",
|
|
59273
|
+
"NOT_APPLICABLE"
|
|
59274
|
+
]).describe('`PASS` when the evidence shows the requirement was met, `FAIL` when it shows it was not, and `NOT_VERIFIED` when the evidence cannot confirm it. Any `FAIL` or `NOT_VERIFIED` fails the run, whatever the score. `NOT_APPLICABLE` when the requirement states its own condition ("If X is used, ...") and that condition did not occur; it neither passes nor fails the run.');
|
|
59262
59275
|
PublicCriterionVerdict$zodSchema = object({
|
|
59263
59276
|
criterion: string2().describe("One mandatory requirement from the judge criteria."),
|
|
59264
59277
|
evidence: string2().nullable().optional().describe("Short evidence the judge gave for the verdict."),
|
|
59265
|
-
verdict: Verdict$zodSchema.describe(
|
|
59278
|
+
verdict: Verdict$zodSchema.describe('`PASS` when the evidence shows the requirement was met, `FAIL` when it shows it was not, and `NOT_VERIFIED` when the evidence cannot confirm it. Any `FAIL` or `NOT_VERIFIED` fails the run, whatever the score. `NOT_APPLICABLE` when the requirement states its own condition ("If X is used, ...") and that condition did not occur; it neither passes nor fails the run.')
|
|
59266
59279
|
});
|
|
59267
59280
|
});
|
|
59268
59281
|
|
|
@@ -59277,6 +59290,7 @@ var init_publicgraderresult = __esm(() => {
|
|
|
59277
59290
|
details: string2().nullable().optional().describe("Reasoning or check output explaining the verdict."),
|
|
59278
59291
|
label: string2().nullable().optional().describe("Display name for the check, when the grader sets one."),
|
|
59279
59292
|
name: string2().describe("Grader name as configured on the eval."),
|
|
59293
|
+
not_applicable: boolean2().default(false).describe("Judges only: true when every requirement was `NOT_APPLICABLE`. The check is left out of the run's score and does not fail the run."),
|
|
59280
59294
|
passed: boolean2().nullable().optional().describe("Whether this check passed."),
|
|
59281
59295
|
score: number2().nullable().optional().describe("Score from 0 to 1 for checks that score partially, such as judges; null for pass/fail checks.")
|
|
59282
59296
|
});
|
|
@@ -59287,20 +59301,33 @@ var TimingBasis$zodSchema, V2EvalResultToolCall$zodSchema;
|
|
|
59287
59301
|
var init_v2evalresulttoolcall = __esm(() => {
|
|
59288
59302
|
init_zod();
|
|
59289
59303
|
TimingBasis$zodSchema = _enum([
|
|
59290
|
-
"
|
|
59291
|
-
"
|
|
59292
|
-
"
|
|
59293
|
-
]).describe("How the time was measured. `
|
|
59304
|
+
"timed_by_agent",
|
|
59305
|
+
"timed_from_messages",
|
|
59306
|
+
"not_timed"
|
|
59307
|
+
]).describe("How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null.");
|
|
59294
59308
|
V2EvalResultToolCall$zodSchema = object({
|
|
59295
59309
|
completed_at: string2().nullable().optional().describe("When the call's result was received. Null when not measured or the call never returned."),
|
|
59296
59310
|
duration_ms: int().nullable().optional().describe("Milliseconds from the call to its result. Null when it could not be measured, never 0 in its place."),
|
|
59297
59311
|
started_at: string2().nullable().optional().describe("When the call was received. Null when not measured."),
|
|
59298
|
-
timing_basis: TimingBasis$zodSchema.describe("How the time was measured. `
|
|
59312
|
+
timing_basis: TimingBasis$zodSchema.describe("How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null."),
|
|
59299
59313
|
tool_call_id: string2().nullable().optional().describe("ID of the tool invocation, the same as `tool_call_id` on this attempt's trace events. Null when the agent's log did not include call IDs."),
|
|
59300
59314
|
tool_name: string2().nullable().optional().describe("Tool the agent called.")
|
|
59301
59315
|
}).describe("How long one tool call of an eval result took.");
|
|
59302
59316
|
});
|
|
59303
59317
|
|
|
59318
|
+
// src/models/v2setupcommandoutput.ts
|
|
59319
|
+
var V2SetupCommandOutput$zodSchema;
|
|
59320
|
+
var init_v2setupcommandoutput = __esm(() => {
|
|
59321
|
+
init_zod();
|
|
59322
|
+
V2SetupCommandOutput$zodSchema = object({
|
|
59323
|
+
command: string2().describe("The setup command as saved on the eval."),
|
|
59324
|
+
exit_code: int().nullable().optional().describe("The command's exit code."),
|
|
59325
|
+
output: string2().nullable().optional().describe("The end of what the command printed (up to 4,000 characters), with secret values redacted."),
|
|
59326
|
+
output_truncated: boolean2().default(false).describe("True when earlier output was cut off."),
|
|
59327
|
+
status: string2().nullable().optional().describe("`succeeded` for a completed command.")
|
|
59328
|
+
});
|
|
59329
|
+
});
|
|
59330
|
+
|
|
59304
59331
|
// src/models/v2evalresultsummary.ts
|
|
59305
59332
|
var V2EvalResultSummary$zodSchema;
|
|
59306
59333
|
var init_v2evalresultsummary = __esm(() => {
|
|
@@ -59310,6 +59337,7 @@ var init_v2evalresultsummary = __esm(() => {
|
|
|
59310
59337
|
init_searchgroundingmode();
|
|
59311
59338
|
init_v2evalresulttoolcall();
|
|
59312
59339
|
init_v2preferenceresult();
|
|
59340
|
+
init_v2setupcommandoutput();
|
|
59313
59341
|
V2EvalResultSummary$zodSchema = object({
|
|
59314
59342
|
agent: string2().nullable().optional().describe("Runnable agent combining the harness and model."),
|
|
59315
59343
|
created_at: string2().nullable().optional(),
|
|
@@ -59329,6 +59357,7 @@ var init_v2evalresultsummary = __esm(() => {
|
|
|
59329
59357
|
score: number2().nullable().optional().describe("Score from 0 to 1."),
|
|
59330
59358
|
search_grounding: SearchGroundingMode$zodSchema.nullable().optional(),
|
|
59331
59359
|
search_observed: boolean2().nullable().optional(),
|
|
59360
|
+
setup_output: array(V2SetupCommandOutput$zodSchema).optional().describe("Setup commands run before the agent started, in order, with the end of what each printed. Secret values are redacted. Empty when the eval has no setup commands or the attempt ran before setup output was recorded."),
|
|
59332
59361
|
tool_calls: array(V2EvalResultToolCall$zodSchema).optional().describe("Every tool call the agent made, in order, with how long each took. Empty when the agent made no tool calls or the model does not use tools."),
|
|
59333
59362
|
web_retrieval_observed: boolean2().nullable().optional()
|
|
59334
59363
|
});
|
|
@@ -59758,6 +59787,7 @@ var init_createv2evalrunrequest = __esm(() => {
|
|
|
59758
59787
|
configuration_id: string2().optional().describe("Saved-run form only. Optional saved repository, environment, skills, and legacy tool configuration."),
|
|
59759
59788
|
env: record(string2(), string2()).optional().describe("Write-only environment variables for this launch. Values are stored only in the queued job's private configuration."),
|
|
59760
59789
|
eval_id: string2().optional().describe("Saved-run form only. Existing eval definition to run. Omit this field to use the direct create-and-run form."),
|
|
59790
|
+
include_env_vars: boolean2().optional().describe("Either request form. false runs this launch with no environment: neither the configuration's environment nor the organization's default environment is attached. Omit it to use the eval's saved setting. Cannot be false when `env` is sent."),
|
|
59761
59791
|
judges: array(string2()).nullable().optional().describe("Success criteria. Required in direct mode; in saved mode, replaces saved judges for this launch. CLI clients expose repeatable `--judge`."),
|
|
59762
59792
|
mcps: array(union([
|
|
59763
59793
|
V2InlineMcpDefinition$zodSchema,
|
|
@@ -60089,6 +60119,7 @@ var init_updatev2evalrequest = __esm(() => {
|
|
|
60089
60119
|
agent: array(string2()).nullable().optional(),
|
|
60090
60120
|
cleanup_commands: array(string2()).nullable().optional().describe("Replacement cleanup commands. Pass an empty array to clear all saved cleanup commands."),
|
|
60091
60121
|
clis: array(string2()).nullable().optional().describe("Replacement saved CLI IDs or shell installation commands. UUID values resolve saved CLIs; every other value is an installation command. Pass an empty array to clear all CLIs."),
|
|
60122
|
+
include_env_vars: boolean2().optional().describe("Replacement environment setting. false runs the eval with no environment; omit it to keep the saved value."),
|
|
60092
60123
|
judges: array(string2()).nullable().optional().describe("Replacement success criteria for the eval."),
|
|
60093
60124
|
mcps: array(union([
|
|
60094
60125
|
V2InlineMcpDefinition$zodSchema,
|
|
@@ -60290,6 +60321,7 @@ var init_graderdefinition = __esm(() => {
|
|
|
60290
60321
|
needle: string2().nullable().optional(),
|
|
60291
60322
|
needles: array(string2()).nullable().optional(),
|
|
60292
60323
|
pattern: string2().nullable().optional(),
|
|
60324
|
+
plugin: string2().nullable().optional(),
|
|
60293
60325
|
type: string2(),
|
|
60294
60326
|
weight: number2().default(1)
|
|
60295
60327
|
});
|
|
@@ -61533,6 +61565,157 @@ Returns one computed opportunity and its execution context for the selected date
|
|
|
61533
61565
|
};
|
|
61534
61566
|
});
|
|
61535
61567
|
|
|
61568
|
+
// src/models/publicpluginevalresultsdownload.ts
|
|
61569
|
+
var PublicPluginEvalResultsDownload$zodSchema;
|
|
61570
|
+
var init_publicpluginevalresultsdownload = __esm(() => {
|
|
61571
|
+
init_zod();
|
|
61572
|
+
PublicPluginEvalResultsDownload$zodSchema = object({
|
|
61573
|
+
created_at: datetime2({ offset: true }).nullable().optional().describe("When the results were prepared."),
|
|
61574
|
+
download_url: string2().describe("Downloads the zip of the day's runs and their insights report. Call it with the same API key."),
|
|
61575
|
+
filename: string2().nullable().optional().describe("The zip file's name."),
|
|
61576
|
+
plugin: string2().describe("The plugin's slug, such as `firecrawl`."),
|
|
61577
|
+
prompts: int().nullable().optional().describe("Distinct prompts included in the download."),
|
|
61578
|
+
runs: int().nullable().optional().describe("Runs included in the download.")
|
|
61579
|
+
});
|
|
61580
|
+
});
|
|
61581
|
+
|
|
61582
|
+
// src/models/publicpluginevalresultsresponse.ts
|
|
61583
|
+
var PublicPluginEvalResultsResponse$zodSchema;
|
|
61584
|
+
var init_publicpluginevalresultsresponse = __esm(() => {
|
|
61585
|
+
init_zod();
|
|
61586
|
+
init_publicpluginevalresultsdownload();
|
|
61587
|
+
PublicPluginEvalResultsResponse$zodSchema = object({
|
|
61588
|
+
date: string2().describe("The day the results cover, as YYYY-MM-DD."),
|
|
61589
|
+
results: array(PublicPluginEvalResultsDownload$zodSchema).describe("One download per plugin with results on that day.")
|
|
61590
|
+
});
|
|
61591
|
+
});
|
|
61592
|
+
|
|
61593
|
+
// src/models/v2pluginevalsresultslistop.ts
|
|
61594
|
+
var V2PluginEvalsResultsListRequest$zodSchema, V2PluginEvalsResultsListResponse$zodSchema;
|
|
61595
|
+
var init_v2pluginevalsresultslistop = __esm(() => {
|
|
61596
|
+
init_zod();
|
|
61597
|
+
init_httpvalidationerror();
|
|
61598
|
+
init_publicpluginevalresultsresponse();
|
|
61599
|
+
V2PluginEvalsResultsListRequest$zodSchema = object({
|
|
61600
|
+
date: string2().date().describe("The day to get results for, as YYYY-MM-DD (UTC).")
|
|
61601
|
+
});
|
|
61602
|
+
V2PluginEvalsResultsListResponse$zodSchema = union([
|
|
61603
|
+
PublicPluginEvalResultsResponse$zodSchema,
|
|
61604
|
+
HTTPValidationError$zodSchema
|
|
61605
|
+
]);
|
|
61606
|
+
});
|
|
61607
|
+
|
|
61608
|
+
// src/funcs/pluginEvalsResultsList.ts
|
|
61609
|
+
function pluginEvalsResultsList(client$, request, options) {
|
|
61610
|
+
return new APIPromise($do42(client$, request, options));
|
|
61611
|
+
}
|
|
61612
|
+
async function $do42(client$, request, options) {
|
|
61613
|
+
const parsed$ = safeParse4(request, (value$) => V2PluginEvalsResultsListRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61614
|
+
if (!parsed$.ok) {
|
|
61615
|
+
return [parsed$, { status: "invalid" }];
|
|
61616
|
+
}
|
|
61617
|
+
const payload$ = parsed$.value;
|
|
61618
|
+
const body$ = null;
|
|
61619
|
+
const path$ = pathToFunc("/v2/plugin-evals/results")();
|
|
61620
|
+
const query$ = encodeFormQuery({
|
|
61621
|
+
date: payload$.date
|
|
61622
|
+
});
|
|
61623
|
+
const headers$ = new Headers(compactMap({
|
|
61624
|
+
Accept: "application/json"
|
|
61625
|
+
}));
|
|
61626
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
61627
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
61628
|
+
const context = {
|
|
61629
|
+
options: client$._options,
|
|
61630
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
61631
|
+
operationID: "v2_plugin_evals_results_list",
|
|
61632
|
+
oAuth2Scopes: null,
|
|
61633
|
+
resolvedSecurity: requestSecurity,
|
|
61634
|
+
securitySource: client$._options.security,
|
|
61635
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
61636
|
+
retryCodes: options?.retryCodes || [
|
|
61637
|
+
"429",
|
|
61638
|
+
"500",
|
|
61639
|
+
"502",
|
|
61640
|
+
"503",
|
|
61641
|
+
"504"
|
|
61642
|
+
]
|
|
61643
|
+
};
|
|
61644
|
+
const requestRes = client$._createRequest(context, {
|
|
61645
|
+
security: requestSecurity,
|
|
61646
|
+
method: "GET",
|
|
61647
|
+
baseURL: options?.serverURL,
|
|
61648
|
+
path: path$,
|
|
61649
|
+
headers: headers$,
|
|
61650
|
+
query: query$,
|
|
61651
|
+
body: body$,
|
|
61652
|
+
userAgent: client$._options.userAgent,
|
|
61653
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
61654
|
+
}, options);
|
|
61655
|
+
if (!requestRes.ok) {
|
|
61656
|
+
return [requestRes, { status: "invalid" }];
|
|
61657
|
+
}
|
|
61658
|
+
const req$ = requestRes.value;
|
|
61659
|
+
const doResult = await client$._do(req$, {
|
|
61660
|
+
context,
|
|
61661
|
+
errorCodes: [],
|
|
61662
|
+
retryConfig: context.retryConfig,
|
|
61663
|
+
retryCodes: context.retryCodes
|
|
61664
|
+
});
|
|
61665
|
+
if (!doResult.ok) {
|
|
61666
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
61667
|
+
}
|
|
61668
|
+
return [doResult, {
|
|
61669
|
+
status: "complete",
|
|
61670
|
+
request: req$,
|
|
61671
|
+
response: doResult.value
|
|
61672
|
+
}];
|
|
61673
|
+
}
|
|
61674
|
+
var init_pluginEvalsResultsList = __esm(() => {
|
|
61675
|
+
init_encodings();
|
|
61676
|
+
init_primitives();
|
|
61677
|
+
init_schemas4();
|
|
61678
|
+
init_security();
|
|
61679
|
+
init_url();
|
|
61680
|
+
init_v2pluginevalsresultslistop();
|
|
61681
|
+
init_async();
|
|
61682
|
+
});
|
|
61683
|
+
|
|
61684
|
+
// src/mcp-server/tools/pluginEvalsResultsList.ts
|
|
61685
|
+
var args33, tool$pluginEvalsResultsList;
|
|
61686
|
+
var init_pluginEvalsResultsList2 = __esm(() => {
|
|
61687
|
+
init_pluginEvalsResultsList();
|
|
61688
|
+
init_v2pluginevalsresultslistop();
|
|
61689
|
+
init_tools();
|
|
61690
|
+
args33 = {
|
|
61691
|
+
request: V2PluginEvalsResultsListRequest$zodSchema
|
|
61692
|
+
};
|
|
61693
|
+
tool$pluginEvalsResultsList = {
|
|
61694
|
+
name: "plugin-evals-results-list",
|
|
61695
|
+
description: `List Plugin Eval Results
|
|
61696
|
+
|
|
61697
|
+
Returns a day's plugin eval results, one per plugin with results that day. Each has a \`download_url\` for a zip of every run with and without the plugin installed, plus the insights report written from them. Call \`download_url\` with the same API key. Returns 404 when no results exist for the date.`,
|
|
61698
|
+
annotations: {
|
|
61699
|
+
title: "",
|
|
61700
|
+
destructiveHint: false,
|
|
61701
|
+
idempotentHint: false,
|
|
61702
|
+
openWorldHint: false,
|
|
61703
|
+
readOnlyHint: true
|
|
61704
|
+
},
|
|
61705
|
+
args: args33,
|
|
61706
|
+
tool: async (client, args, ctx) => {
|
|
61707
|
+
const [result] = await pluginEvalsResultsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61708
|
+
if (!result.ok) {
|
|
61709
|
+
return {
|
|
61710
|
+
content: [{ type: "text", text: result.error.message }],
|
|
61711
|
+
isError: true
|
|
61712
|
+
};
|
|
61713
|
+
}
|
|
61714
|
+
return formatResult(result.value);
|
|
61715
|
+
}
|
|
61716
|
+
};
|
|
61717
|
+
});
|
|
61718
|
+
|
|
61536
61719
|
// src/models/v2promptrunsettingsinput.ts
|
|
61537
61720
|
var V2PromptRunSettingsInputWebSearchInstruction$zodSchema, V2PromptRunSettingsInput$zodSchema;
|
|
61538
61721
|
var init_v2promptrunsettingsinput = __esm(() => {
|
|
@@ -61574,9 +61757,9 @@ var init_createv2promptsrequest = __esm(() => {
|
|
|
61574
61757
|
|
|
61575
61758
|
// src/funcs/promptsCreate.ts
|
|
61576
61759
|
function promptsCreate(client$, request, options) {
|
|
61577
|
-
return new APIPromise($
|
|
61760
|
+
return new APIPromise($do43(client$, request, options));
|
|
61578
61761
|
}
|
|
61579
|
-
async function $
|
|
61762
|
+
async function $do43(client$, request, options) {
|
|
61580
61763
|
const parsed$ = safeParse4(request, (value$) => CreateV2PromptsRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61581
61764
|
if (!parsed$.ok) {
|
|
61582
61765
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61646,12 +61829,12 @@ var init_promptsCreate = __esm(() => {
|
|
|
61646
61829
|
});
|
|
61647
61830
|
|
|
61648
61831
|
// src/mcp-server/tools/promptsCreate.ts
|
|
61649
|
-
var
|
|
61832
|
+
var args34, tool$promptsCreate;
|
|
61650
61833
|
var init_promptsCreate2 = __esm(() => {
|
|
61651
61834
|
init_promptsCreate();
|
|
61652
61835
|
init_createv2promptsrequest();
|
|
61653
61836
|
init_tools();
|
|
61654
|
-
|
|
61837
|
+
args34 = {
|
|
61655
61838
|
request: CreateV2PromptsRequest$zodSchema
|
|
61656
61839
|
};
|
|
61657
61840
|
tool$promptsCreate = {
|
|
@@ -61666,7 +61849,7 @@ Creates prompts in a batch. Each item is validated independently, so the respons
|
|
|
61666
61849
|
openWorldHint: false,
|
|
61667
61850
|
readOnlyHint: false
|
|
61668
61851
|
},
|
|
61669
|
-
args:
|
|
61852
|
+
args: args34,
|
|
61670
61853
|
tool: async (client, args, ctx) => {
|
|
61671
61854
|
const [result] = await promptsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61672
61855
|
if (!result.ok) {
|
|
@@ -61706,9 +61889,9 @@ var init_v2promptsdeleteop = __esm(() => {
|
|
|
61706
61889
|
|
|
61707
61890
|
// src/funcs/promptsDelete.ts
|
|
61708
61891
|
function promptsDelete(client$, request, options) {
|
|
61709
|
-
return new APIPromise($
|
|
61892
|
+
return new APIPromise($do44(client$, request, options));
|
|
61710
61893
|
}
|
|
61711
|
-
async function $
|
|
61894
|
+
async function $do44(client$, request, options) {
|
|
61712
61895
|
const parsed$ = safeParse4(request, (value$) => V2PromptsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61713
61896
|
if (!parsed$.ok) {
|
|
61714
61897
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61783,12 +61966,12 @@ var init_promptsDelete = __esm(() => {
|
|
|
61783
61966
|
});
|
|
61784
61967
|
|
|
61785
61968
|
// src/mcp-server/tools/promptsDelete.ts
|
|
61786
|
-
var
|
|
61969
|
+
var args35, tool$promptsDelete;
|
|
61787
61970
|
var init_promptsDelete2 = __esm(() => {
|
|
61788
61971
|
init_promptsDelete();
|
|
61789
61972
|
init_v2promptsdeleteop();
|
|
61790
61973
|
init_tools();
|
|
61791
|
-
|
|
61974
|
+
args35 = {
|
|
61792
61975
|
request: V2PromptsDeleteRequest$zodSchema
|
|
61793
61976
|
};
|
|
61794
61977
|
tool$promptsDelete = {
|
|
@@ -61803,7 +61986,7 @@ Archives the prompt and excludes it from normal listings while preserving its hi
|
|
|
61803
61986
|
openWorldHint: false,
|
|
61804
61987
|
readOnlyHint: false
|
|
61805
61988
|
},
|
|
61806
|
-
args:
|
|
61989
|
+
args: args35,
|
|
61807
61990
|
tool: async (client, args, ctx) => {
|
|
61808
61991
|
const [result] = await promptsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61809
61992
|
if (!result.ok) {
|
|
@@ -61936,9 +62119,9 @@ var init_v2promptslistop = __esm(() => {
|
|
|
61936
62119
|
|
|
61937
62120
|
// src/funcs/promptsList.ts
|
|
61938
62121
|
function promptsList(client$, request, options) {
|
|
61939
|
-
return new APIPromise($
|
|
62122
|
+
return new APIPromise($do45(client$, request, options));
|
|
61940
62123
|
}
|
|
61941
|
-
async function $
|
|
62124
|
+
async function $do45(client$, request, options) {
|
|
61942
62125
|
const parsed$ = safeParse4(request, (value$) => V2PromptsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61943
62126
|
if (!parsed$.ok) {
|
|
61944
62127
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62015,12 +62198,12 @@ var init_promptsList = __esm(() => {
|
|
|
62015
62198
|
});
|
|
62016
62199
|
|
|
62017
62200
|
// src/mcp-server/tools/promptsList.ts
|
|
62018
|
-
var
|
|
62201
|
+
var args36, tool$promptsList;
|
|
62019
62202
|
var init_promptsList2 = __esm(() => {
|
|
62020
62203
|
init_promptsList();
|
|
62021
62204
|
init_v2promptslistop();
|
|
62022
62205
|
init_tools();
|
|
62023
|
-
|
|
62206
|
+
args36 = {
|
|
62024
62207
|
request: V2PromptsListRequest$zodSchema.optional()
|
|
62025
62208
|
};
|
|
62026
62209
|
tool$promptsList = {
|
|
@@ -62035,7 +62218,7 @@ Returns active and inactive prompts by default, newest first. Set \`include_arch
|
|
|
62035
62218
|
openWorldHint: false,
|
|
62036
62219
|
readOnlyHint: true
|
|
62037
62220
|
},
|
|
62038
|
-
args:
|
|
62221
|
+
args: args36,
|
|
62039
62222
|
tool: async (client, args, ctx) => {
|
|
62040
62223
|
const [result] = await promptsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62041
62224
|
if (!result.ok) {
|
|
@@ -62066,9 +62249,9 @@ var init_v2promptsretrieveop = __esm(() => {
|
|
|
62066
62249
|
|
|
62067
62250
|
// src/funcs/promptsRetrieve.ts
|
|
62068
62251
|
function promptsRetrieve(client$, request, options) {
|
|
62069
|
-
return new APIPromise($
|
|
62252
|
+
return new APIPromise($do46(client$, request, options));
|
|
62070
62253
|
}
|
|
62071
|
-
async function $
|
|
62254
|
+
async function $do46(client$, request, options) {
|
|
62072
62255
|
const parsed$ = safeParse4(request, (value$) => V2PromptsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
62073
62256
|
if (!parsed$.ok) {
|
|
62074
62257
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62143,12 +62326,12 @@ var init_promptsRetrieve = __esm(() => {
|
|
|
62143
62326
|
});
|
|
62144
62327
|
|
|
62145
62328
|
// src/mcp-server/tools/promptsRetrieve.ts
|
|
62146
|
-
var
|
|
62329
|
+
var args37, tool$promptsRetrieve;
|
|
62147
62330
|
var init_promptsRetrieve2 = __esm(() => {
|
|
62148
62331
|
init_promptsRetrieve();
|
|
62149
62332
|
init_v2promptsretrieveop();
|
|
62150
62333
|
init_tools();
|
|
62151
|
-
|
|
62334
|
+
args37 = {
|
|
62152
62335
|
request: V2PromptsRetrieveRequest$zodSchema
|
|
62153
62336
|
};
|
|
62154
62337
|
tool$promptsRetrieve = {
|
|
@@ -62163,7 +62346,7 @@ Returns a prompt with its topic, platforms, tags, lifecycle status, and coding-a
|
|
|
62163
62346
|
openWorldHint: false,
|
|
62164
62347
|
readOnlyHint: true
|
|
62165
62348
|
},
|
|
62166
|
-
args:
|
|
62349
|
+
args: args37,
|
|
62167
62350
|
tool: async (client, args, ctx) => {
|
|
62168
62351
|
const [result] = await promptsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62169
62352
|
if (!result.ok) {
|
|
@@ -62190,9 +62373,9 @@ var init_createv2promptrunrequest = __esm(() => {
|
|
|
62190
62373
|
|
|
62191
62374
|
// src/funcs/promptsRun.ts
|
|
62192
62375
|
function promptsRun(client$, request, options) {
|
|
62193
|
-
return new APIPromise($
|
|
62376
|
+
return new APIPromise($do47(client$, request, options));
|
|
62194
62377
|
}
|
|
62195
|
-
async function $
|
|
62378
|
+
async function $do47(client$, request, options) {
|
|
62196
62379
|
const parsed$ = safeParse4(request, (value$) => CreateV2PromptRunRequest$zodSchema.parse(value$), "Input validation failed");
|
|
62197
62380
|
if (!parsed$.ok) {
|
|
62198
62381
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62262,12 +62445,12 @@ var init_promptsRun = __esm(() => {
|
|
|
62262
62445
|
});
|
|
62263
62446
|
|
|
62264
62447
|
// src/mcp-server/tools/promptsRun.ts
|
|
62265
|
-
var
|
|
62448
|
+
var args38, tool$promptsRun;
|
|
62266
62449
|
var init_promptsRun2 = __esm(() => {
|
|
62267
62450
|
init_promptsRun();
|
|
62268
62451
|
init_createv2promptrunrequest();
|
|
62269
62452
|
init_tools();
|
|
62270
|
-
|
|
62453
|
+
args38 = {
|
|
62271
62454
|
request: CreateV2PromptRunRequest$zodSchema
|
|
62272
62455
|
};
|
|
62273
62456
|
tool$promptsRun = {
|
|
@@ -62292,7 +62475,7 @@ coding-agent targets. The response returns a run ID to poll with
|
|
|
62292
62475
|
openWorldHint: false,
|
|
62293
62476
|
readOnlyHint: false
|
|
62294
62477
|
},
|
|
62295
|
-
args:
|
|
62478
|
+
args: args38,
|
|
62296
62479
|
tool: async (client, args, ctx) => {
|
|
62297
62480
|
const [result] = await promptsRun(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62298
62481
|
if (!result.ok) {
|
|
@@ -62329,7 +62512,7 @@ var init_v2promptrunjobresponse = __esm(() => {
|
|
|
62329
62512
|
created_at: string2().nullable().optional(),
|
|
62330
62513
|
dispatch_id: string2().nullable().optional(),
|
|
62331
62514
|
error: string2().nullable().optional(),
|
|
62332
|
-
estimated_cost: number2().nullable().optional().describe("
|
|
62515
|
+
estimated_cost: number2().nullable().optional().describe("Estimated credits for the run, worked out when it was queued. Credits actually used can differ by agent and model. Null when no estimate is available."),
|
|
62333
62516
|
eval_count: int().nullable().optional(),
|
|
62334
62517
|
id: string2().describe("Run ID to poll with `GET /v2/prompts/runs/{run_id}/status`."),
|
|
62335
62518
|
job_id: string2().describe("Parent job ID. It currently matches `id`."),
|
|
@@ -62379,9 +62562,9 @@ var init_v2promptrunscancelop = __esm(() => {
|
|
|
62379
62562
|
|
|
62380
62563
|
// src/funcs/promptsRunCancel.ts
|
|
62381
62564
|
function promptsRunCancel(client$, request, options) {
|
|
62382
|
-
return new APIPromise($
|
|
62565
|
+
return new APIPromise($do48(client$, request, options));
|
|
62383
62566
|
}
|
|
62384
|
-
async function $
|
|
62567
|
+
async function $do48(client$, request, options) {
|
|
62385
62568
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunsCancelRequest$zodSchema.parse(value$), "Input validation failed");
|
|
62386
62569
|
if (!parsed$.ok) {
|
|
62387
62570
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62456,12 +62639,12 @@ var init_promptsRunCancel = __esm(() => {
|
|
|
62456
62639
|
});
|
|
62457
62640
|
|
|
62458
62641
|
// src/mcp-server/tools/promptsRunCancel.ts
|
|
62459
|
-
var
|
|
62642
|
+
var args39, tool$promptsRunCancel;
|
|
62460
62643
|
var init_promptsRunCancel2 = __esm(() => {
|
|
62461
62644
|
init_promptsRunCancel();
|
|
62462
62645
|
init_v2promptrunscancelop();
|
|
62463
62646
|
init_tools();
|
|
62464
|
-
|
|
62647
|
+
args39 = {
|
|
62465
62648
|
request: V2PromptRunsCancelRequest$zodSchema
|
|
62466
62649
|
};
|
|
62467
62650
|
tool$promptsRunCancel = {
|
|
@@ -62476,7 +62659,7 @@ Marks an active prompt run as cancelled and prevents queued prompts from startin
|
|
|
62476
62659
|
openWorldHint: false,
|
|
62477
62660
|
readOnlyHint: false
|
|
62478
62661
|
},
|
|
62479
|
-
args:
|
|
62662
|
+
args: args39,
|
|
62480
62663
|
tool: async (client, args, ctx) => {
|
|
62481
62664
|
const [result] = await promptsRunCancel(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62482
62665
|
if (!result.ok) {
|
|
@@ -62590,9 +62773,9 @@ var init_v2promptrunslistop = __esm(() => {
|
|
|
62590
62773
|
|
|
62591
62774
|
// src/funcs/promptsRunsList.ts
|
|
62592
62775
|
function promptsRunsList(client$, request, options) {
|
|
62593
|
-
return new APIPromise($
|
|
62776
|
+
return new APIPromise($do49(client$, request, options));
|
|
62594
62777
|
}
|
|
62595
|
-
async function $
|
|
62778
|
+
async function $do49(client$, request, options) {
|
|
62596
62779
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
62597
62780
|
if (!parsed$.ok) {
|
|
62598
62781
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62670,12 +62853,12 @@ var init_promptsRunsList = __esm(() => {
|
|
|
62670
62853
|
});
|
|
62671
62854
|
|
|
62672
62855
|
// src/mcp-server/tools/promptsRunsList.ts
|
|
62673
|
-
var
|
|
62856
|
+
var args40, tool$promptsRunsList;
|
|
62674
62857
|
var init_promptsRunsList2 = __esm(() => {
|
|
62675
62858
|
init_promptsRunsList();
|
|
62676
62859
|
init_v2promptrunslistop();
|
|
62677
62860
|
init_tools();
|
|
62678
|
-
|
|
62861
|
+
args40 = {
|
|
62679
62862
|
request: V2PromptRunsListRequest$zodSchema.optional()
|
|
62680
62863
|
};
|
|
62681
62864
|
tool$promptsRunsList = {
|
|
@@ -62690,7 +62873,7 @@ Returns stored prompt runs with limit-and-offset pagination, without exposing ra
|
|
|
62690
62873
|
openWorldHint: false,
|
|
62691
62874
|
readOnlyHint: true
|
|
62692
62875
|
},
|
|
62693
|
-
args:
|
|
62876
|
+
args: args40,
|
|
62694
62877
|
tool: async (client, args, ctx) => {
|
|
62695
62878
|
const [result] = await promptsRunsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62696
62879
|
if (!result.ok) {
|
|
@@ -62803,9 +62986,9 @@ var init_v2promptrunsretrieveop = __esm(() => {
|
|
|
62803
62986
|
|
|
62804
62987
|
// src/funcs/promptsRunsRetrieve.ts
|
|
62805
62988
|
function promptsRunsRetrieve(client$, request, options) {
|
|
62806
|
-
return new APIPromise($
|
|
62989
|
+
return new APIPromise($do50(client$, request, options));
|
|
62807
62990
|
}
|
|
62808
|
-
async function $
|
|
62991
|
+
async function $do50(client$, request, options) {
|
|
62809
62992
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
62810
62993
|
if (!parsed$.ok) {
|
|
62811
62994
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62880,12 +63063,12 @@ var init_promptsRunsRetrieve = __esm(() => {
|
|
|
62880
63063
|
});
|
|
62881
63064
|
|
|
62882
63065
|
// src/mcp-server/tools/promptsRunsRetrieve.ts
|
|
62883
|
-
var
|
|
63066
|
+
var args41, tool$promptsRunsRetrieve;
|
|
62884
63067
|
var init_promptsRunsRetrieve2 = __esm(() => {
|
|
62885
63068
|
init_promptsRunsRetrieve();
|
|
62886
63069
|
init_v2promptrunsretrieveop();
|
|
62887
63070
|
init_tools();
|
|
62888
|
-
|
|
63071
|
+
args41 = {
|
|
62889
63072
|
request: V2PromptRunsRetrieveRequest$zodSchema
|
|
62890
63073
|
};
|
|
62891
63074
|
tool$promptsRunsRetrieve = {
|
|
@@ -62900,7 +63083,7 @@ Returns one stored prompt run, including mentions, citations, and any sanitized
|
|
|
62900
63083
|
openWorldHint: false,
|
|
62901
63084
|
readOnlyHint: true
|
|
62902
63085
|
},
|
|
62903
|
-
args:
|
|
63086
|
+
args: args41,
|
|
62904
63087
|
tool: async (client, args, ctx) => {
|
|
62905
63088
|
const [result] = await promptsRunsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62906
63089
|
if (!result.ok) {
|
|
@@ -62939,9 +63122,9 @@ var init_v2promptrunstatusretrieveop = __esm(() => {
|
|
|
62939
63122
|
|
|
62940
63123
|
// src/funcs/promptsRunStatus.ts
|
|
62941
63124
|
function promptsRunStatus(client$, request, options) {
|
|
62942
|
-
return new APIPromise($
|
|
63125
|
+
return new APIPromise($do51(client$, request, options));
|
|
62943
63126
|
}
|
|
62944
|
-
async function $
|
|
63127
|
+
async function $do51(client$, request, options) {
|
|
62945
63128
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunStatusRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
62946
63129
|
if (!parsed$.ok) {
|
|
62947
63130
|
return [parsed$, { status: "invalid" }];
|
|
@@ -63016,12 +63199,12 @@ var init_promptsRunStatus = __esm(() => {
|
|
|
63016
63199
|
});
|
|
63017
63200
|
|
|
63018
63201
|
// src/mcp-server/tools/promptsRunStatus.ts
|
|
63019
|
-
var
|
|
63202
|
+
var args42, tool$promptsRunStatus;
|
|
63020
63203
|
var init_promptsRunStatus2 = __esm(() => {
|
|
63021
63204
|
init_promptsRunStatus();
|
|
63022
63205
|
init_v2promptrunstatusretrieveop();
|
|
63023
63206
|
init_tools();
|
|
63024
|
-
|
|
63207
|
+
args42 = {
|
|
63025
63208
|
request: V2PromptRunStatusRetrieveRequest$zodSchema
|
|
63026
63209
|
};
|
|
63027
63210
|
tool$promptsRunStatus = {
|
|
@@ -63039,7 +63222,7 @@ Individual stored results are available from \`GET /v2/prompts/runs\`.`,
|
|
|
63039
63222
|
openWorldHint: false,
|
|
63040
63223
|
readOnlyHint: true
|
|
63041
63224
|
},
|
|
63042
|
-
args:
|
|
63225
|
+
args: args42,
|
|
63043
63226
|
tool: async (client, args, ctx) => {
|
|
63044
63227
|
const [result] = await promptsRunStatus(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63045
63228
|
if (!result.ok) {
|
|
@@ -63109,9 +63292,9 @@ var init_v2prompttargetslistop = __esm(() => {
|
|
|
63109
63292
|
|
|
63110
63293
|
// src/funcs/promptsTargetsList.ts
|
|
63111
63294
|
function promptsTargetsList(client$, request, options) {
|
|
63112
|
-
return new APIPromise($
|
|
63295
|
+
return new APIPromise($do52(client$, request, options));
|
|
63113
63296
|
}
|
|
63114
|
-
async function $
|
|
63297
|
+
async function $do52(client$, request, options) {
|
|
63115
63298
|
const parsed$ = safeParse4(request, (value$) => V2PromptTargetsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
63116
63299
|
if (!parsed$.ok) {
|
|
63117
63300
|
return [parsed$, { status: "invalid" }];
|
|
@@ -63184,12 +63367,12 @@ var init_promptsTargetsList = __esm(() => {
|
|
|
63184
63367
|
});
|
|
63185
63368
|
|
|
63186
63369
|
// src/mcp-server/tools/promptsTargetsList.ts
|
|
63187
|
-
var
|
|
63370
|
+
var args43, tool$promptsTargetsList;
|
|
63188
63371
|
var init_promptsTargetsList2 = __esm(() => {
|
|
63189
63372
|
init_promptsTargetsList();
|
|
63190
63373
|
init_v2prompttargetslistop();
|
|
63191
63374
|
init_tools();
|
|
63192
|
-
|
|
63375
|
+
args43 = {
|
|
63193
63376
|
request: V2PromptTargetsListRequest$zodSchema.optional()
|
|
63194
63377
|
};
|
|
63195
63378
|
tool$promptsTargetsList = {
|
|
@@ -63204,7 +63387,7 @@ Returns the answer engines and coding agents that run the organization's prompts
|
|
|
63204
63387
|
openWorldHint: false,
|
|
63205
63388
|
readOnlyHint: true
|
|
63206
63389
|
},
|
|
63207
|
-
args:
|
|
63390
|
+
args: args43,
|
|
63208
63391
|
tool: async (client, args, ctx) => {
|
|
63209
63392
|
const [result] = await promptsTargetsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63210
63393
|
if (!result.ok) {
|
|
@@ -63257,9 +63440,9 @@ var init_setv2prompttargetsrequest = __esm(() => {
|
|
|
63257
63440
|
|
|
63258
63441
|
// src/funcs/promptsTargetsSet.ts
|
|
63259
63442
|
function promptsTargetsSet(client$, request, options) {
|
|
63260
|
-
return new APIPromise($
|
|
63443
|
+
return new APIPromise($do53(client$, request, options));
|
|
63261
63444
|
}
|
|
63262
|
-
async function $
|
|
63445
|
+
async function $do53(client$, request, options) {
|
|
63263
63446
|
const parsed$ = safeParse4(request, (value$) => SetV2PromptTargetsRequest$zodSchema.parse(value$), "Input validation failed");
|
|
63264
63447
|
if (!parsed$.ok) {
|
|
63265
63448
|
return [parsed$, { status: "invalid" }];
|
|
@@ -63329,12 +63512,12 @@ var init_promptsTargetsSet = __esm(() => {
|
|
|
63329
63512
|
});
|
|
63330
63513
|
|
|
63331
63514
|
// src/mcp-server/tools/promptsTargetsSet.ts
|
|
63332
|
-
var
|
|
63515
|
+
var args44, tool$promptsTargetsSet;
|
|
63333
63516
|
var init_promptsTargetsSet2 = __esm(() => {
|
|
63334
63517
|
init_promptsTargetsSet();
|
|
63335
63518
|
init_setv2prompttargetsrequest();
|
|
63336
63519
|
init_tools();
|
|
63337
|
-
|
|
63520
|
+
args44 = {
|
|
63338
63521
|
request: SetV2PromptTargetsRequest$zodSchema
|
|
63339
63522
|
};
|
|
63340
63523
|
tool$promptsTargetsSet = {
|
|
@@ -63349,7 +63532,7 @@ Sets which answer engines and coding agents run a topic's prompts on schedule, t
|
|
|
63349
63532
|
openWorldHint: false,
|
|
63350
63533
|
readOnlyHint: false
|
|
63351
63534
|
},
|
|
63352
|
-
args:
|
|
63535
|
+
args: args44,
|
|
63353
63536
|
tool: async (client, args, ctx) => {
|
|
63354
63537
|
const [result] = await promptsTargetsSet(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63355
63538
|
if (!result.ok) {
|
|
@@ -63374,9 +63557,9 @@ var init_createprompttopicrequest = __esm(() => {
|
|
|
63374
63557
|
|
|
63375
63558
|
// src/funcs/promptsTopicsCreate.ts
|
|
63376
63559
|
function promptsTopicsCreate(client$, request, options) {
|
|
63377
|
-
return new APIPromise($
|
|
63560
|
+
return new APIPromise($do54(client$, request, options));
|
|
63378
63561
|
}
|
|
63379
|
-
async function $
|
|
63562
|
+
async function $do54(client$, request, options) {
|
|
63380
63563
|
const parsed$ = safeParse4(request, (value$) => CreatePromptTopicRequest$zodSchema.parse(value$), "Input validation failed");
|
|
63381
63564
|
if (!parsed$.ok) {
|
|
63382
63565
|
return [parsed$, { status: "invalid" }];
|
|
@@ -63446,12 +63629,12 @@ var init_promptsTopicsCreate = __esm(() => {
|
|
|
63446
63629
|
});
|
|
63447
63630
|
|
|
63448
63631
|
// src/mcp-server/tools/promptsTopicsCreate.ts
|
|
63449
|
-
var
|
|
63632
|
+
var args45, tool$promptsTopicsCreate;
|
|
63450
63633
|
var init_promptsTopicsCreate2 = __esm(() => {
|
|
63451
63634
|
init_promptsTopicsCreate();
|
|
63452
63635
|
init_createprompttopicrequest();
|
|
63453
63636
|
init_tools();
|
|
63454
|
-
|
|
63637
|
+
args45 = {
|
|
63455
63638
|
request: CreatePromptTopicRequest$zodSchema
|
|
63456
63639
|
};
|
|
63457
63640
|
tool$promptsTopicsCreate = {
|
|
@@ -63466,7 +63649,7 @@ Creates a prompt topic and returns the saved topic.`,
|
|
|
63466
63649
|
openWorldHint: false,
|
|
63467
63650
|
readOnlyHint: false
|
|
63468
63651
|
},
|
|
63469
|
-
args:
|
|
63652
|
+
args: args45,
|
|
63470
63653
|
tool: async (client, args, ctx) => {
|
|
63471
63654
|
const [result] = await promptsTopicsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63472
63655
|
if (!result.ok) {
|
|
@@ -63498,9 +63681,9 @@ var init_v2prompttopicsdeleteop = __esm(() => {
|
|
|
63498
63681
|
|
|
63499
63682
|
// src/funcs/promptsTopicsDelete.ts
|
|
63500
63683
|
function promptsTopicsDelete(client$, request, options) {
|
|
63501
|
-
return new APIPromise($
|
|
63684
|
+
return new APIPromise($do55(client$, request, options));
|
|
63502
63685
|
}
|
|
63503
|
-
async function $
|
|
63686
|
+
async function $do55(client$, request, options) {
|
|
63504
63687
|
const parsed$ = safeParse4(request, (value$) => V2PromptTopicsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
63505
63688
|
if (!parsed$.ok) {
|
|
63506
63689
|
return [parsed$, { status: "invalid" }];
|
|
@@ -63579,12 +63762,12 @@ var init_promptsTopicsDelete = __esm(() => {
|
|
|
63579
63762
|
});
|
|
63580
63763
|
|
|
63581
63764
|
// src/mcp-server/tools/promptsTopicsDelete.ts
|
|
63582
|
-
var
|
|
63765
|
+
var args46, tool$promptsTopicsDelete;
|
|
63583
63766
|
var init_promptsTopicsDelete2 = __esm(() => {
|
|
63584
63767
|
init_promptsTopicsDelete();
|
|
63585
63768
|
init_v2prompttopicsdeleteop();
|
|
63586
63769
|
init_tools();
|
|
63587
|
-
|
|
63770
|
+
args46 = {
|
|
63588
63771
|
request: V2PromptTopicsDeleteRequest$zodSchema
|
|
63589
63772
|
};
|
|
63590
63773
|
tool$promptsTopicsDelete = {
|
|
@@ -63599,7 +63782,7 @@ Archives a prompt topic. Set \`archive_prompts\` to archive remaining prompts; o
|
|
|
63599
63782
|
openWorldHint: false,
|
|
63600
63783
|
readOnlyHint: false
|
|
63601
63784
|
},
|
|
63602
|
-
args:
|
|
63785
|
+
args: args46,
|
|
63603
63786
|
tool: async (client, args, ctx) => {
|
|
63604
63787
|
const [result] = await promptsTopicsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63605
63788
|
if (!result.ok) {
|
|
@@ -63615,9 +63798,9 @@ Archives a prompt topic. Set \`archive_prompts\` to archive remaining prompts; o
|
|
|
63615
63798
|
|
|
63616
63799
|
// src/funcs/promptsTopicsList.ts
|
|
63617
63800
|
function promptsTopicsList(client$, options) {
|
|
63618
|
-
return new APIPromise($
|
|
63801
|
+
return new APIPromise($do56(client$, options));
|
|
63619
63802
|
}
|
|
63620
|
-
async function $
|
|
63803
|
+
async function $do56(client$, options) {
|
|
63621
63804
|
const path$ = pathToFunc("/v2/prompts/topics")();
|
|
63622
63805
|
const headers$ = new Headers(compactMap({
|
|
63623
63806
|
Accept: "application/json"
|
|
@@ -63733,9 +63916,9 @@ var init_v2prompttopicsupdateop = __esm(() => {
|
|
|
63733
63916
|
|
|
63734
63917
|
// src/funcs/promptsTopicsUpdate.ts
|
|
63735
63918
|
function promptsTopicsUpdate(client$, request, options) {
|
|
63736
|
-
return new APIPromise($
|
|
63919
|
+
return new APIPromise($do57(client$, request, options));
|
|
63737
63920
|
}
|
|
63738
|
-
async function $
|
|
63921
|
+
async function $do57(client$, request, options) {
|
|
63739
63922
|
const parsed$ = safeParse4(request, (value$) => V2PromptTopicsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
63740
63923
|
if (!parsed$.ok) {
|
|
63741
63924
|
return [parsed$, { status: "invalid" }];
|
|
@@ -63811,12 +63994,12 @@ var init_promptsTopicsUpdate = __esm(() => {
|
|
|
63811
63994
|
});
|
|
63812
63995
|
|
|
63813
63996
|
// src/mcp-server/tools/promptsTopicsUpdate.ts
|
|
63814
|
-
var
|
|
63997
|
+
var args47, tool$promptsTopicsUpdate;
|
|
63815
63998
|
var init_promptsTopicsUpdate2 = __esm(() => {
|
|
63816
63999
|
init_promptsTopicsUpdate();
|
|
63817
64000
|
init_v2prompttopicsupdateop();
|
|
63818
64001
|
init_tools();
|
|
63819
|
-
|
|
64002
|
+
args47 = {
|
|
63820
64003
|
request: V2PromptTopicsUpdateRequest$zodSchema
|
|
63821
64004
|
};
|
|
63822
64005
|
tool$promptsTopicsUpdate = {
|
|
@@ -63831,7 +64014,7 @@ Renames a prompt topic and returns the updated topic.`,
|
|
|
63831
64014
|
openWorldHint: false,
|
|
63832
64015
|
readOnlyHint: false
|
|
63833
64016
|
},
|
|
63834
|
-
args:
|
|
64017
|
+
args: args47,
|
|
63835
64018
|
tool: async (client, args, ctx) => {
|
|
63836
64019
|
const [result] = await promptsTopicsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63837
64020
|
if (!result.ok) {
|
|
@@ -63883,9 +64066,9 @@ var init_v2promptsupdateop = __esm(() => {
|
|
|
63883
64066
|
|
|
63884
64067
|
// src/funcs/promptsUpdate.ts
|
|
63885
64068
|
function promptsUpdate(client$, request, options) {
|
|
63886
|
-
return new APIPromise($
|
|
64069
|
+
return new APIPromise($do58(client$, request, options));
|
|
63887
64070
|
}
|
|
63888
|
-
async function $
|
|
64071
|
+
async function $do58(client$, request, options) {
|
|
63889
64072
|
const parsed$ = safeParse4(request, (value$) => V2PromptsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
63890
64073
|
if (!parsed$.ok) {
|
|
63891
64074
|
return [parsed$, { status: "invalid" }];
|
|
@@ -63961,12 +64144,12 @@ var init_promptsUpdate = __esm(() => {
|
|
|
63961
64144
|
});
|
|
63962
64145
|
|
|
63963
64146
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
63964
|
-
var
|
|
64147
|
+
var args48, tool$promptsUpdate;
|
|
63965
64148
|
var init_promptsUpdate2 = __esm(() => {
|
|
63966
64149
|
init_promptsUpdate();
|
|
63967
64150
|
init_v2promptsupdateop();
|
|
63968
64151
|
init_tools();
|
|
63969
|
-
|
|
64152
|
+
args48 = {
|
|
63970
64153
|
request: V2PromptsUpdateRequest$zodSchema
|
|
63971
64154
|
};
|
|
63972
64155
|
tool$promptsUpdate = {
|
|
@@ -63981,7 +64164,7 @@ Updates a prompt's text, topic, platforms, lifecycle status, or coding-agent run
|
|
|
63981
64164
|
openWorldHint: false,
|
|
63982
64165
|
readOnlyHint: false
|
|
63983
64166
|
},
|
|
63984
|
-
args:
|
|
64167
|
+
args: args48,
|
|
63985
64168
|
tool: async (client, args, ctx) => {
|
|
63986
64169
|
const [result] = await promptsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63987
64170
|
if (!result.ok) {
|
|
@@ -64024,9 +64207,9 @@ var init_createv2repositoryrequest = __esm(() => {
|
|
|
64024
64207
|
|
|
64025
64208
|
// src/funcs/repositoriesCreate.ts
|
|
64026
64209
|
function repositoriesCreate(client$, request, options) {
|
|
64027
|
-
return new APIPromise($
|
|
64210
|
+
return new APIPromise($do59(client$, request, options));
|
|
64028
64211
|
}
|
|
64029
|
-
async function $
|
|
64212
|
+
async function $do59(client$, request, options) {
|
|
64030
64213
|
const parsed$ = safeParse4(request, (value$) => CreateV2RepositoryRequest$zodSchema.parse(value$), "Input validation failed");
|
|
64031
64214
|
if (!parsed$.ok) {
|
|
64032
64215
|
return [parsed$, { status: "invalid" }];
|
|
@@ -64096,12 +64279,12 @@ var init_repositoriesCreate = __esm(() => {
|
|
|
64096
64279
|
});
|
|
64097
64280
|
|
|
64098
64281
|
// src/mcp-server/tools/repositoriesCreate.ts
|
|
64099
|
-
var
|
|
64282
|
+
var args49, tool$repositoriesCreate;
|
|
64100
64283
|
var init_repositoriesCreate2 = __esm(() => {
|
|
64101
64284
|
init_repositoriesCreate();
|
|
64102
64285
|
init_createv2repositoryrequest();
|
|
64103
64286
|
init_tools();
|
|
64104
|
-
|
|
64287
|
+
args49 = {
|
|
64105
64288
|
request: CreateV2RepositoryRequest$zodSchema
|
|
64106
64289
|
};
|
|
64107
64290
|
tool$repositoriesCreate = {
|
|
@@ -64116,7 +64299,7 @@ Adds a reusable Git repository workspace for eval configurations.`,
|
|
|
64116
64299
|
openWorldHint: false,
|
|
64117
64300
|
readOnlyHint: false
|
|
64118
64301
|
},
|
|
64119
|
-
args:
|
|
64302
|
+
args: args49,
|
|
64120
64303
|
tool: async (client, args, ctx) => {
|
|
64121
64304
|
const [result] = await repositoriesCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64122
64305
|
if (!result.ok) {
|
|
@@ -64182,9 +64365,9 @@ var init_v2repositoriesdeleteop = __esm(() => {
|
|
|
64182
64365
|
|
|
64183
64366
|
// src/funcs/repositoriesDelete.ts
|
|
64184
64367
|
function repositoriesDelete(client$, request, options) {
|
|
64185
|
-
return new APIPromise($
|
|
64368
|
+
return new APIPromise($do60(client$, request, options));
|
|
64186
64369
|
}
|
|
64187
|
-
async function $
|
|
64370
|
+
async function $do60(client$, request, options) {
|
|
64188
64371
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
64189
64372
|
if (!parsed$.ok) {
|
|
64190
64373
|
return [parsed$, { status: "invalid" }];
|
|
@@ -64259,12 +64442,12 @@ var init_repositoriesDelete = __esm(() => {
|
|
|
64259
64442
|
});
|
|
64260
64443
|
|
|
64261
64444
|
// src/mcp-server/tools/repositoriesDelete.ts
|
|
64262
|
-
var
|
|
64445
|
+
var args50, tool$repositoriesDelete;
|
|
64263
64446
|
var init_repositoriesDelete2 = __esm(() => {
|
|
64264
64447
|
init_repositoriesDelete();
|
|
64265
64448
|
init_v2repositoriesdeleteop();
|
|
64266
64449
|
init_tools();
|
|
64267
|
-
|
|
64450
|
+
args50 = {
|
|
64268
64451
|
request: V2RepositoriesDeleteRequest$zodSchema
|
|
64269
64452
|
};
|
|
64270
64453
|
tool$repositoriesDelete = {
|
|
@@ -64279,7 +64462,7 @@ Permanently deletes a repository workspace and returns its last saved state.`,
|
|
|
64279
64462
|
openWorldHint: false,
|
|
64280
64463
|
readOnlyHint: false
|
|
64281
64464
|
},
|
|
64282
|
-
args:
|
|
64465
|
+
args: args50,
|
|
64283
64466
|
tool: async (client, args, ctx) => {
|
|
64284
64467
|
const [result] = await repositoriesDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64285
64468
|
if (!result.ok) {
|
|
@@ -64295,9 +64478,9 @@ Permanently deletes a repository workspace and returns its last saved state.`,
|
|
|
64295
64478
|
|
|
64296
64479
|
// src/funcs/repositoriesList.ts
|
|
64297
64480
|
function repositoriesList(client$, options) {
|
|
64298
|
-
return new APIPromise($
|
|
64481
|
+
return new APIPromise($do61(client$, options));
|
|
64299
64482
|
}
|
|
64300
|
-
async function $
|
|
64483
|
+
async function $do61(client$, options) {
|
|
64301
64484
|
const path$ = pathToFunc("/v2/repositories")();
|
|
64302
64485
|
const headers$ = new Headers(compactMap({
|
|
64303
64486
|
Accept: "application/json"
|
|
@@ -64402,9 +64585,9 @@ var init_v2repositoriesretrieveop = __esm(() => {
|
|
|
64402
64585
|
|
|
64403
64586
|
// src/funcs/repositoriesRetrieve.ts
|
|
64404
64587
|
function repositoriesRetrieve(client$, request, options) {
|
|
64405
|
-
return new APIPromise($
|
|
64588
|
+
return new APIPromise($do62(client$, request, options));
|
|
64406
64589
|
}
|
|
64407
|
-
async function $
|
|
64590
|
+
async function $do62(client$, request, options) {
|
|
64408
64591
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
64409
64592
|
if (!parsed$.ok) {
|
|
64410
64593
|
return [parsed$, { status: "invalid" }];
|
|
@@ -64479,12 +64662,12 @@ var init_repositoriesRetrieve = __esm(() => {
|
|
|
64479
64662
|
});
|
|
64480
64663
|
|
|
64481
64664
|
// src/mcp-server/tools/repositoriesRetrieve.ts
|
|
64482
|
-
var
|
|
64665
|
+
var args51, tool$repositoriesRetrieve;
|
|
64483
64666
|
var init_repositoriesRetrieve2 = __esm(() => {
|
|
64484
64667
|
init_repositoriesRetrieve();
|
|
64485
64668
|
init_v2repositoriesretrieveop();
|
|
64486
64669
|
init_tools();
|
|
64487
|
-
|
|
64670
|
+
args51 = {
|
|
64488
64671
|
request: V2RepositoriesRetrieveRequest$zodSchema
|
|
64489
64672
|
};
|
|
64490
64673
|
tool$repositoriesRetrieve = {
|
|
@@ -64499,7 +64682,7 @@ Returns one reusable repository workspace.`,
|
|
|
64499
64682
|
openWorldHint: false,
|
|
64500
64683
|
readOnlyHint: true
|
|
64501
64684
|
},
|
|
64502
|
-
args:
|
|
64685
|
+
args: args51,
|
|
64503
64686
|
tool: async (client, args, ctx) => {
|
|
64504
64687
|
const [result] = await repositoriesRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64505
64688
|
if (!result.ok) {
|
|
@@ -64559,9 +64742,9 @@ var init_v2repositoriesupdateop = __esm(() => {
|
|
|
64559
64742
|
|
|
64560
64743
|
// src/funcs/repositoriesUpdate.ts
|
|
64561
64744
|
function repositoriesUpdate(client$, request, options) {
|
|
64562
|
-
return new APIPromise($
|
|
64745
|
+
return new APIPromise($do63(client$, request, options));
|
|
64563
64746
|
}
|
|
64564
|
-
async function $
|
|
64747
|
+
async function $do63(client$, request, options) {
|
|
64565
64748
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
64566
64749
|
if (!parsed$.ok) {
|
|
64567
64750
|
return [parsed$, { status: "invalid" }];
|
|
@@ -64637,12 +64820,12 @@ var init_repositoriesUpdate = __esm(() => {
|
|
|
64637
64820
|
});
|
|
64638
64821
|
|
|
64639
64822
|
// src/mcp-server/tools/repositoriesUpdate.ts
|
|
64640
|
-
var
|
|
64823
|
+
var args52, tool$repositoriesUpdate;
|
|
64641
64824
|
var init_repositoriesUpdate2 = __esm(() => {
|
|
64642
64825
|
init_repositoriesUpdate();
|
|
64643
64826
|
init_v2repositoriesupdateop();
|
|
64644
64827
|
init_tools();
|
|
64645
|
-
|
|
64828
|
+
args52 = {
|
|
64646
64829
|
request: V2RepositoriesUpdateRequest$zodSchema
|
|
64647
64830
|
};
|
|
64648
64831
|
tool$repositoriesUpdate = {
|
|
@@ -64657,7 +64840,7 @@ Updates a repository workspace; omitted fields remain unchanged.`,
|
|
|
64657
64840
|
openWorldHint: false,
|
|
64658
64841
|
readOnlyHint: false
|
|
64659
64842
|
},
|
|
64660
|
-
args:
|
|
64843
|
+
args: args52,
|
|
64661
64844
|
tool: async (client, args, ctx) => {
|
|
64662
64845
|
const [result] = await repositoriesUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64663
64846
|
if (!result.ok) {
|
|
@@ -64673,9 +64856,9 @@ Updates a repository workspace; omitted fields remain unchanged.`,
|
|
|
64673
64856
|
|
|
64674
64857
|
// src/funcs/siteAuditsList.ts
|
|
64675
64858
|
function siteAuditsList(client$, options) {
|
|
64676
|
-
return new APIPromise($
|
|
64859
|
+
return new APIPromise($do64(client$, options));
|
|
64677
64860
|
}
|
|
64678
|
-
async function $
|
|
64861
|
+
async function $do64(client$, options) {
|
|
64679
64862
|
const path$ = pathToFunc("/v2/site-audits")();
|
|
64680
64863
|
const headers$ = new Headers(compactMap({
|
|
64681
64864
|
Accept: "application/json"
|
|
@@ -64816,9 +64999,9 @@ var init_v2siteauditsretrieveop = __esm(() => {
|
|
|
64816
64999
|
|
|
64817
65000
|
// src/funcs/siteAuditsRetrieve.ts
|
|
64818
65001
|
function siteAuditsRetrieve(client$, request, options) {
|
|
64819
|
-
return new APIPromise($
|
|
65002
|
+
return new APIPromise($do65(client$, request, options));
|
|
64820
65003
|
}
|
|
64821
|
-
async function $
|
|
65004
|
+
async function $do65(client$, request, options) {
|
|
64822
65005
|
const parsed$ = safeParse4(request, (value$) => V2SiteAuditsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
64823
65006
|
if (!parsed$.ok) {
|
|
64824
65007
|
return [parsed$, { status: "invalid" }];
|
|
@@ -64893,12 +65076,12 @@ var init_siteAuditsRetrieve = __esm(() => {
|
|
|
64893
65076
|
});
|
|
64894
65077
|
|
|
64895
65078
|
// src/mcp-server/tools/siteAuditsRetrieve.ts
|
|
64896
|
-
var
|
|
65079
|
+
var args53, tool$siteAuditsRetrieve;
|
|
64897
65080
|
var init_siteAuditsRetrieve2 = __esm(() => {
|
|
64898
65081
|
init_siteAuditsRetrieve();
|
|
64899
65082
|
init_v2siteauditsretrieveop();
|
|
64900
65083
|
init_tools();
|
|
64901
|
-
|
|
65084
|
+
args53 = {
|
|
64902
65085
|
request: V2SiteAuditsRetrieveRequest$zodSchema
|
|
64903
65086
|
};
|
|
64904
65087
|
tool$siteAuditsRetrieve = {
|
|
@@ -64913,7 +65096,7 @@ Returns one audited page with its score, priority, supporting evidence, and reco
|
|
|
64913
65096
|
openWorldHint: false,
|
|
64914
65097
|
readOnlyHint: true
|
|
64915
65098
|
},
|
|
64916
|
-
args:
|
|
65099
|
+
args: args53,
|
|
64917
65100
|
tool: async (client, args, ctx) => {
|
|
64918
65101
|
const [result] = await siteAuditsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
64919
65102
|
if (!result.ok) {
|
|
@@ -64929,9 +65112,9 @@ Returns one audited page with its score, priority, supporting evidence, and reco
|
|
|
64929
65112
|
|
|
64930
65113
|
// src/funcs/skillsList.ts
|
|
64931
65114
|
function skillsList(client$, options) {
|
|
64932
|
-
return new APIPromise($
|
|
65115
|
+
return new APIPromise($do66(client$, options));
|
|
64933
65116
|
}
|
|
64934
|
-
async function $
|
|
65117
|
+
async function $do66(client$, options) {
|
|
64935
65118
|
const path$ = pathToFunc("/v2/skills")();
|
|
64936
65119
|
const headers$ = new Headers(compactMap({
|
|
64937
65120
|
Accept: "application/json"
|
|
@@ -65021,9 +65204,9 @@ Returns reusable skills available to workflows and eval configurations.`,
|
|
|
65021
65204
|
|
|
65022
65205
|
// src/funcs/statusAuthStatusGet.ts
|
|
65023
65206
|
function statusAuthStatusGet(client$, options) {
|
|
65024
|
-
return new APIPromise($
|
|
65207
|
+
return new APIPromise($do67(client$, options));
|
|
65025
65208
|
}
|
|
65026
|
-
async function $
|
|
65209
|
+
async function $do67(client$, options) {
|
|
65027
65210
|
const path$ = pathToFunc("/v2/auth/status")();
|
|
65028
65211
|
const headers$ = new Headers(compactMap({
|
|
65029
65212
|
Accept: "application/json"
|
|
@@ -65113,9 +65296,9 @@ Validates the API key and returns its organization ID, API key ID, scopes, and a
|
|
|
65113
65296
|
|
|
65114
65297
|
// src/funcs/statusGet.ts
|
|
65115
65298
|
function statusGet(client$, options) {
|
|
65116
|
-
return new APIPromise($
|
|
65299
|
+
return new APIPromise($do68(client$, options));
|
|
65117
65300
|
}
|
|
65118
|
-
async function $
|
|
65301
|
+
async function $do68(client$, options) {
|
|
65119
65302
|
const path$ = pathToFunc("/v2/status")();
|
|
65120
65303
|
const headers$ = new Headers(compactMap({
|
|
65121
65304
|
Accept: "application/json"
|
|
@@ -65244,9 +65427,9 @@ var init_createtaskrequest = __esm(() => {
|
|
|
65244
65427
|
|
|
65245
65428
|
// src/funcs/tasksCreate.ts
|
|
65246
65429
|
function tasksCreate(client$, request, options) {
|
|
65247
|
-
return new APIPromise($
|
|
65430
|
+
return new APIPromise($do69(client$, request, options));
|
|
65248
65431
|
}
|
|
65249
|
-
async function $
|
|
65432
|
+
async function $do69(client$, request, options) {
|
|
65250
65433
|
const parsed$ = safeParse4(request, (value$) => CreateTaskRequest$zodSchema.parse(value$), "Input validation failed");
|
|
65251
65434
|
if (!parsed$.ok) {
|
|
65252
65435
|
return [parsed$, { status: "invalid" }];
|
|
@@ -65316,12 +65499,12 @@ var init_tasksCreate = __esm(() => {
|
|
|
65316
65499
|
});
|
|
65317
65500
|
|
|
65318
65501
|
// src/mcp-server/tools/tasksCreate.ts
|
|
65319
|
-
var
|
|
65502
|
+
var args54, tool$tasksCreate;
|
|
65320
65503
|
var init_tasksCreate2 = __esm(() => {
|
|
65321
65504
|
init_tasksCreate();
|
|
65322
65505
|
init_createtaskrequest();
|
|
65323
65506
|
init_tools();
|
|
65324
|
-
|
|
65507
|
+
args54 = {
|
|
65325
65508
|
request: CreateTaskRequest$zodSchema
|
|
65326
65509
|
};
|
|
65327
65510
|
tool$tasksCreate = {
|
|
@@ -65336,7 +65519,7 @@ Adds a task to today's queue and returns it with its execution prompt. New tasks
|
|
|
65336
65519
|
openWorldHint: false,
|
|
65337
65520
|
readOnlyHint: false
|
|
65338
65521
|
},
|
|
65339
|
-
args:
|
|
65522
|
+
args: args54,
|
|
65340
65523
|
tool: async (client, args, ctx) => {
|
|
65341
65524
|
const [result] = await tasksCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65342
65525
|
if (!result.ok) {
|
|
@@ -65496,9 +65679,9 @@ var init_v2taskslistop = __esm(() => {
|
|
|
65496
65679
|
|
|
65497
65680
|
// src/funcs/tasksList.ts
|
|
65498
65681
|
function tasksList(client$, request, options) {
|
|
65499
|
-
return new APIPromise($
|
|
65682
|
+
return new APIPromise($do70(client$, request, options));
|
|
65500
65683
|
}
|
|
65501
|
-
async function $
|
|
65684
|
+
async function $do70(client$, request, options) {
|
|
65502
65685
|
const parsed$ = safeParse4(request, (value$) => V2TasksListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
65503
65686
|
if (!parsed$.ok) {
|
|
65504
65687
|
return [parsed$, { status: "invalid" }];
|
|
@@ -65572,12 +65755,12 @@ var init_tasksList = __esm(() => {
|
|
|
65572
65755
|
});
|
|
65573
65756
|
|
|
65574
65757
|
// src/mcp-server/tools/tasksList.ts
|
|
65575
|
-
var
|
|
65758
|
+
var args55, tool$tasksList;
|
|
65576
65759
|
var init_tasksList2 = __esm(() => {
|
|
65577
65760
|
init_tasksList();
|
|
65578
65761
|
init_v2taskslistop();
|
|
65579
65762
|
init_tools();
|
|
65580
|
-
|
|
65763
|
+
args55 = {
|
|
65581
65764
|
request: V2TasksListRequest$zodSchema.optional()
|
|
65582
65765
|
};
|
|
65583
65766
|
tool$tasksList = {
|
|
@@ -65592,7 +65775,7 @@ Returns persisted daily tasks with execution instructions. Includes per-status c
|
|
|
65592
65775
|
openWorldHint: false,
|
|
65593
65776
|
readOnlyHint: true
|
|
65594
65777
|
},
|
|
65595
|
-
args:
|
|
65778
|
+
args: args55,
|
|
65596
65779
|
tool: async (client, args, ctx) => {
|
|
65597
65780
|
const [result] = await tasksList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65598
65781
|
if (!result.ok) {
|
|
@@ -65623,9 +65806,9 @@ var init_v2tasksretrieveop = __esm(() => {
|
|
|
65623
65806
|
|
|
65624
65807
|
// src/funcs/tasksRetrieve.ts
|
|
65625
65808
|
function tasksRetrieve(client$, request, options) {
|
|
65626
|
-
return new APIPromise($
|
|
65809
|
+
return new APIPromise($do71(client$, request, options));
|
|
65627
65810
|
}
|
|
65628
|
-
async function $
|
|
65811
|
+
async function $do71(client$, request, options) {
|
|
65629
65812
|
const parsed$ = safeParse4(request, (value$) => V2TasksRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
65630
65813
|
if (!parsed$.ok) {
|
|
65631
65814
|
return [parsed$, { status: "invalid" }];
|
|
@@ -65700,12 +65883,12 @@ var init_tasksRetrieve = __esm(() => {
|
|
|
65700
65883
|
});
|
|
65701
65884
|
|
|
65702
65885
|
// src/mcp-server/tools/tasksRetrieve.ts
|
|
65703
|
-
var
|
|
65886
|
+
var args56, tool$tasksRetrieve;
|
|
65704
65887
|
var init_tasksRetrieve2 = __esm(() => {
|
|
65705
65888
|
init_tasksRetrieve();
|
|
65706
65889
|
init_v2tasksretrieveop();
|
|
65707
65890
|
init_tools();
|
|
65708
|
-
|
|
65891
|
+
args56 = {
|
|
65709
65892
|
request: V2TasksRetrieveRequest$zodSchema
|
|
65710
65893
|
};
|
|
65711
65894
|
tool$tasksRetrieve = {
|
|
@@ -65720,7 +65903,7 @@ Returns one persisted task and its execution prompt.`,
|
|
|
65720
65903
|
openWorldHint: false,
|
|
65721
65904
|
readOnlyHint: true
|
|
65722
65905
|
},
|
|
65723
|
-
args:
|
|
65906
|
+
args: args56,
|
|
65724
65907
|
tool: async (client, args, ctx) => {
|
|
65725
65908
|
const [result] = await tasksRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65726
65909
|
if (!result.ok) {
|
|
@@ -65783,9 +65966,9 @@ var init_v2tasksupdateop = __esm(() => {
|
|
|
65783
65966
|
|
|
65784
65967
|
// src/funcs/tasksUpdate.ts
|
|
65785
65968
|
function tasksUpdate(client$, request, options) {
|
|
65786
|
-
return new APIPromise($
|
|
65969
|
+
return new APIPromise($do72(client$, request, options));
|
|
65787
65970
|
}
|
|
65788
|
-
async function $
|
|
65971
|
+
async function $do72(client$, request, options) {
|
|
65789
65972
|
const parsed$ = safeParse4(request, (value$) => V2TasksUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
65790
65973
|
if (!parsed$.ok) {
|
|
65791
65974
|
return [parsed$, { status: "invalid" }];
|
|
@@ -65861,12 +66044,12 @@ var init_tasksUpdate = __esm(() => {
|
|
|
65861
66044
|
});
|
|
65862
66045
|
|
|
65863
66046
|
// src/mcp-server/tools/tasksUpdate.ts
|
|
65864
|
-
var
|
|
66047
|
+
var args57, tool$tasksUpdate;
|
|
65865
66048
|
var init_tasksUpdate2 = __esm(() => {
|
|
65866
66049
|
init_tasksUpdate();
|
|
65867
66050
|
init_v2tasksupdateop();
|
|
65868
66051
|
init_tools();
|
|
65869
|
-
|
|
66052
|
+
args57 = {
|
|
65870
66053
|
request: V2TasksUpdateRequest$zodSchema
|
|
65871
66054
|
};
|
|
65872
66055
|
tool$tasksUpdate = {
|
|
@@ -65881,7 +66064,7 @@ Updates a task's status, priority, assignee, or action type. Only sent fields ar
|
|
|
65881
66064
|
openWorldHint: false,
|
|
65882
66065
|
readOnlyHint: false
|
|
65883
66066
|
},
|
|
65884
|
-
args:
|
|
66067
|
+
args: args57,
|
|
65885
66068
|
tool: async (client, args, ctx) => {
|
|
65886
66069
|
const [result] = await tasksUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65887
66070
|
if (!result.ok) {
|
|
@@ -66073,9 +66256,9 @@ var init_v2visibilitycitationslistop = __esm(() => {
|
|
|
66073
66256
|
|
|
66074
66257
|
// src/funcs/visibilityCitationsList.ts
|
|
66075
66258
|
function visibilityCitationsList(client$, request, options) {
|
|
66076
|
-
return new APIPromise($
|
|
66259
|
+
return new APIPromise($do73(client$, request, options));
|
|
66077
66260
|
}
|
|
66078
|
-
async function $
|
|
66261
|
+
async function $do73(client$, request, options) {
|
|
66079
66262
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityCitationsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
66080
66263
|
if (!parsed$.ok) {
|
|
66081
66264
|
return [parsed$, { status: "invalid" }];
|
|
@@ -66153,12 +66336,12 @@ var init_visibilityCitationsList = __esm(() => {
|
|
|
66153
66336
|
});
|
|
66154
66337
|
|
|
66155
66338
|
// src/mcp-server/tools/visibilityCitationsList.ts
|
|
66156
|
-
var
|
|
66339
|
+
var args58, tool$visibilityCitationsList;
|
|
66157
66340
|
var init_visibilityCitationsList2 = __esm(() => {
|
|
66158
66341
|
init_visibilityCitationsList();
|
|
66159
66342
|
init_v2visibilitycitationslistop();
|
|
66160
66343
|
init_tools();
|
|
66161
|
-
|
|
66344
|
+
args58 = {
|
|
66162
66345
|
request: V2VisibilityCitationsListRequest$zodSchema.optional()
|
|
66163
66346
|
};
|
|
66164
66347
|
tool$visibilityCitationsList = {
|
|
@@ -66173,7 +66356,7 @@ Returns URL-level citation counts ranked from most to least cited. Results can b
|
|
|
66173
66356
|
openWorldHint: false,
|
|
66174
66357
|
readOnlyHint: true
|
|
66175
66358
|
},
|
|
66176
|
-
args:
|
|
66359
|
+
args: args58,
|
|
66177
66360
|
tool: async (client, args, ctx) => {
|
|
66178
66361
|
const [result] = await visibilityCitationsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66179
66362
|
if (!result.ok) {
|
|
@@ -66298,9 +66481,9 @@ var init_v2visibilitycitationssummaryretrieveop = __esm(() => {
|
|
|
66298
66481
|
|
|
66299
66482
|
// src/funcs/visibilityCitationsSummaryRetrieve.ts
|
|
66300
66483
|
function visibilityCitationsSummaryRetrieve(client$, request, options) {
|
|
66301
|
-
return new APIPromise($
|
|
66484
|
+
return new APIPromise($do74(client$, request, options));
|
|
66302
66485
|
}
|
|
66303
|
-
async function $
|
|
66486
|
+
async function $do74(client$, request, options) {
|
|
66304
66487
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityCitationsSummaryRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
66305
66488
|
if (!parsed$.ok) {
|
|
66306
66489
|
return [parsed$, { status: "invalid" }];
|
|
@@ -66380,12 +66563,12 @@ var init_visibilityCitationsSummaryRetrieve = __esm(() => {
|
|
|
66380
66563
|
});
|
|
66381
66564
|
|
|
66382
66565
|
// src/mcp-server/tools/visibilityCitationsSummaryRetrieve.ts
|
|
66383
|
-
var
|
|
66566
|
+
var args59, tool$visibilityCitationsSummaryRetrieve;
|
|
66384
66567
|
var init_visibilityCitationsSummaryRetrieve2 = __esm(() => {
|
|
66385
66568
|
init_visibilityCitationsSummaryRetrieve();
|
|
66386
66569
|
init_v2visibilitycitationssummaryretrieveop();
|
|
66387
66570
|
init_tools();
|
|
66388
|
-
|
|
66571
|
+
args59 = {
|
|
66389
66572
|
request: V2VisibilityCitationsSummaryRetrieveRequest$zodSchema.optional()
|
|
66390
66573
|
};
|
|
66391
66574
|
tool$visibilityCitationsSummaryRetrieve = {
|
|
@@ -66400,7 +66583,7 @@ Returns citation totals grouped by URL prefix (domain and first path segment, su
|
|
|
66400
66583
|
openWorldHint: false,
|
|
66401
66584
|
readOnlyHint: true
|
|
66402
66585
|
},
|
|
66403
|
-
args:
|
|
66586
|
+
args: args59,
|
|
66404
66587
|
tool: async (client, args, ctx) => {
|
|
66405
66588
|
const [result] = await visibilityCitationsSummaryRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66406
66589
|
if (!result.ok) {
|
|
@@ -66489,9 +66672,9 @@ var init_v2visibilitycurrentretrieveop = __esm(() => {
|
|
|
66489
66672
|
|
|
66490
66673
|
// src/funcs/visibilityCurrentRetrieve.ts
|
|
66491
66674
|
function visibilityCurrentRetrieve(client$, request, options) {
|
|
66492
|
-
return new APIPromise($
|
|
66675
|
+
return new APIPromise($do75(client$, request, options));
|
|
66493
66676
|
}
|
|
66494
|
-
async function $
|
|
66677
|
+
async function $do75(client$, request, options) {
|
|
66495
66678
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityCurrentRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
66496
66679
|
if (!parsed$.ok) {
|
|
66497
66680
|
return [parsed$, { status: "invalid" }];
|
|
@@ -66566,12 +66749,12 @@ var init_visibilityCurrentRetrieve = __esm(() => {
|
|
|
66566
66749
|
});
|
|
66567
66750
|
|
|
66568
66751
|
// src/mcp-server/tools/visibilityCurrentRetrieve.ts
|
|
66569
|
-
var
|
|
66752
|
+
var args60, tool$visibilityCurrentRetrieve;
|
|
66570
66753
|
var init_visibilityCurrentRetrieve2 = __esm(() => {
|
|
66571
66754
|
init_visibilityCurrentRetrieve();
|
|
66572
66755
|
init_v2visibilitycurrentretrieveop();
|
|
66573
66756
|
init_tools();
|
|
66574
|
-
|
|
66757
|
+
args60 = {
|
|
66575
66758
|
request: V2VisibilityCurrentRetrieveRequest$zodSchema.optional()
|
|
66576
66759
|
};
|
|
66577
66760
|
tool$visibilityCurrentRetrieve = {
|
|
@@ -66586,7 +66769,7 @@ Returns recommendation score, visibility score, ranks, and date-range metadata f
|
|
|
66586
66769
|
openWorldHint: false,
|
|
66587
66770
|
readOnlyHint: true
|
|
66588
66771
|
},
|
|
66589
|
-
args:
|
|
66772
|
+
args: args60,
|
|
66590
66773
|
tool: async (client, args, ctx) => {
|
|
66591
66774
|
const [result] = await visibilityCurrentRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66592
66775
|
if (!result.ok) {
|
|
@@ -66742,9 +66925,9 @@ var init_v2visibilityoverviewretrieveop = __esm(() => {
|
|
|
66742
66925
|
|
|
66743
66926
|
// src/funcs/visibilityOverviewRetrieve.ts
|
|
66744
66927
|
function visibilityOverviewRetrieve(client$, request, options) {
|
|
66745
|
-
return new APIPromise($
|
|
66928
|
+
return new APIPromise($do76(client$, request, options));
|
|
66746
66929
|
}
|
|
66747
|
-
async function $
|
|
66930
|
+
async function $do76(client$, request, options) {
|
|
66748
66931
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityOverviewRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
66749
66932
|
if (!parsed$.ok) {
|
|
66750
66933
|
return [parsed$, { status: "invalid" }];
|
|
@@ -66819,12 +67002,12 @@ var init_visibilityOverviewRetrieve = __esm(() => {
|
|
|
66819
67002
|
});
|
|
66820
67003
|
|
|
66821
67004
|
// src/mcp-server/tools/visibilityOverviewRetrieve.ts
|
|
66822
|
-
var
|
|
67005
|
+
var args61, tool$visibilityOverviewRetrieve;
|
|
66823
67006
|
var init_visibilityOverviewRetrieve2 = __esm(() => {
|
|
66824
67007
|
init_visibilityOverviewRetrieve();
|
|
66825
67008
|
init_v2visibilityoverviewretrieveop();
|
|
66826
67009
|
init_tools();
|
|
66827
|
-
|
|
67010
|
+
args61 = {
|
|
66828
67011
|
request: V2VisibilityOverviewRetrieveRequest$zodSchema.optional()
|
|
66829
67012
|
};
|
|
66830
67013
|
tool$visibilityOverviewRetrieve = {
|
|
@@ -66839,7 +67022,7 @@ Returns aggregate snapshot, daily trends, per-platform breakdowns, and competito
|
|
|
66839
67022
|
openWorldHint: false,
|
|
66840
67023
|
readOnlyHint: true
|
|
66841
67024
|
},
|
|
66842
|
-
args:
|
|
67025
|
+
args: args61,
|
|
66843
67026
|
tool: async (client, args, ctx) => {
|
|
66844
67027
|
const [result] = await visibilityOverviewRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66845
67028
|
if (!result.ok) {
|
|
@@ -66961,9 +67144,9 @@ var init_v2visibilitypromptsretrieveop = __esm(() => {
|
|
|
66961
67144
|
|
|
66962
67145
|
// src/funcs/visibilityPromptsRetrieve.ts
|
|
66963
67146
|
function visibilityPromptsRetrieve(client$, request, options) {
|
|
66964
|
-
return new APIPromise($
|
|
67147
|
+
return new APIPromise($do77(client$, request, options));
|
|
66965
67148
|
}
|
|
66966
|
-
async function $
|
|
67149
|
+
async function $do77(client$, request, options) {
|
|
66967
67150
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityPromptsRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
66968
67151
|
if (!parsed$.ok) {
|
|
66969
67152
|
return [parsed$, { status: "invalid" }];
|
|
@@ -67038,12 +67221,12 @@ var init_visibilityPromptsRetrieve = __esm(() => {
|
|
|
67038
67221
|
});
|
|
67039
67222
|
|
|
67040
67223
|
// src/mcp-server/tools/visibilityPromptsRetrieve.ts
|
|
67041
|
-
var
|
|
67224
|
+
var args62, tool$visibilityPromptsRetrieve;
|
|
67042
67225
|
var init_visibilityPromptsRetrieve2 = __esm(() => {
|
|
67043
67226
|
init_visibilityPromptsRetrieve();
|
|
67044
67227
|
init_v2visibilitypromptsretrieveop();
|
|
67045
67228
|
init_tools();
|
|
67046
|
-
|
|
67229
|
+
args62 = {
|
|
67047
67230
|
request: V2VisibilityPromptsRetrieveRequest$zodSchema.optional()
|
|
67048
67231
|
};
|
|
67049
67232
|
tool$visibilityPromptsRetrieve = {
|
|
@@ -67058,7 +67241,7 @@ Returns per-topic and per-prompt visibility metrics including recommendation sco
|
|
|
67058
67241
|
openWorldHint: false,
|
|
67059
67242
|
readOnlyHint: true
|
|
67060
67243
|
},
|
|
67061
|
-
args:
|
|
67244
|
+
args: args62,
|
|
67062
67245
|
tool: async (client, args, ctx) => {
|
|
67063
67246
|
const [result] = await visibilityPromptsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67064
67247
|
if (!result.ok) {
|
|
@@ -67082,7 +67265,7 @@ function createMCPServer(deps) {
|
|
|
67082
67265
|
sizes: ["any"]
|
|
67083
67266
|
}],
|
|
67084
67267
|
name: "LightsageMcp",
|
|
67085
|
-
version: "0.4.
|
|
67268
|
+
version: "0.4.24"
|
|
67086
67269
|
});
|
|
67087
67270
|
const getClient = deps.getSDK || (() => new LightsageMcpCore({
|
|
67088
67271
|
security: deps.security,
|
|
@@ -67167,6 +67350,7 @@ function createMCPServer(deps) {
|
|
|
67167
67350
|
tool(tool$agentPreferenceEvalsUpdate);
|
|
67168
67351
|
tool(tool$agentPreferenceEvalsDelete);
|
|
67169
67352
|
tool(tool$agentPreferenceEvalsResultsList);
|
|
67353
|
+
tool(tool$pluginEvalsResultsList);
|
|
67170
67354
|
tool(tool$agentsList);
|
|
67171
67355
|
tool(tool$repositoriesList);
|
|
67172
67356
|
tool(tool$repositoriesCreate);
|
|
@@ -67228,6 +67412,7 @@ var init_server3 = __esm(() => {
|
|
|
67228
67412
|
init_mcpServersList2();
|
|
67229
67413
|
init_opportunitiesList2();
|
|
67230
67414
|
init_opportunitiesRetrieve2();
|
|
67415
|
+
init_pluginEvalsResultsList2();
|
|
67231
67416
|
init_promptsCreate2();
|
|
67232
67417
|
init_promptsDelete2();
|
|
67233
67418
|
init_promptsList2();
|
|
@@ -67615,6 +67800,10 @@ Permanently deletes an Agent Preference eval and returns its last saved state.`
|
|
|
67615
67800
|
|
|
67616
67801
|
Returns recorded attempts for an Agent Preference eval, newest first, each with whether your company won, lost, or tied against the competitor.`
|
|
67617
67802
|
},
|
|
67803
|
+
{
|
|
67804
|
+
name: "plugin-evals-results-list",
|
|
67805
|
+
description: "List Plugin Eval Results\n\nReturns a day's plugin eval results, one per plugin with results that day. Each has a `download_url` for a zip of every run with and without the plugin installed, plus the insights report written from them. Call `download_url` with the same API key. Returns 404 when no results exist for the date."
|
|
67806
|
+
},
|
|
67618
67807
|
{
|
|
67619
67808
|
name: "agents-list",
|
|
67620
67809
|
description: "List Agents\n\nReturns 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."
|
|
@@ -68577,7 +68766,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
|
|
|
68577
68766
|
<h1>Instructions</h1>
|
|
68578
68767
|
<p>One-click installation for Claude Desktop users</p>
|
|
68579
68768
|
<div class="instruction-item">
|
|
68580
|
-
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.
|
|
68769
|
+
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.24/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
68581
68770
|
\uD83D\uDCE5 Download MCP Bundle
|
|
68582
68771
|
</a>
|
|
68583
68772
|
</div>
|
|
@@ -71477,7 +71666,7 @@ var routes = buildRouteMap({
|
|
|
71477
71666
|
var app = buildApplication(routes, {
|
|
71478
71667
|
name: "mcp",
|
|
71479
71668
|
versionInfo: {
|
|
71480
|
-
currentVersion: "0.4.
|
|
71669
|
+
currentVersion: "0.4.24"
|
|
71481
71670
|
}
|
|
71482
71671
|
});
|
|
71483
71672
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -71485,5 +71674,5 @@ export {
|
|
|
71485
71674
|
app
|
|
71486
71675
|
};
|
|
71487
71676
|
|
|
71488
|
-
//# debugId=
|
|
71677
|
+
//# debugId=A9E096CF9926E1C264756E2164756E21
|
|
71489
71678
|
//# sourceMappingURL=mcp-server.js.map
|