@lightsage/mcp 0.4.2 → 0.4.3
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/bin/mcp-server.js +449 -128
- package/bin/mcp-server.js.map +15 -8
- package/esm/funcs/promptsRun.d.ts +21 -0
- package/esm/funcs/promptsRun.d.ts.map +1 -0
- package/esm/funcs/promptsRun.js +88 -0
- package/esm/funcs/promptsRun.js.map +1 -0
- package/esm/funcs/promptsRunStatus.d.ts +19 -0
- package/esm/funcs/promptsRunStatus.d.ts.map +1 -0
- package/esm/funcs/promptsRunStatus.js +91 -0
- package/esm/funcs/promptsRunStatus.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 +5 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/promptsRun.d.ts +7 -0
- package/esm/mcp-server/tools/promptsRun.d.ts.map +1 -0
- package/esm/mcp-server/tools/promptsRun.js +40 -0
- package/esm/mcp-server/tools/promptsRun.js.map +1 -0
- package/esm/mcp-server/tools/promptsRunStatus.d.ts +7 -0
- package/esm/mcp-server/tools/promptsRunStatus.d.ts.map +1 -0
- package/esm/mcp-server/tools/promptsRunStatus.js +38 -0
- package/esm/mcp-server/tools/promptsRunStatus.js.map +1 -0
- package/esm/models/createv2promptrunrequest.d.ts +7 -0
- package/esm/models/createv2promptrunrequest.d.ts.map +1 -0
- package/esm/models/createv2promptrunrequest.js +10 -0
- package/esm/models/createv2promptrunrequest.js.map +1 -0
- package/esm/models/v2evalrunscreateop.d.ts +3 -3
- package/esm/models/v2evalrunscreateop.d.ts.map +1 -1
- package/esm/models/v2evalrunscreateop.js +2 -2
- package/esm/models/v2evalrunscreateop.js.map +1 -1
- package/esm/models/v2promptrunjobresponse.d.ts +46 -0
- package/esm/models/v2promptrunjobresponse.d.ts.map +1 -0
- package/esm/models/v2promptrunjobresponse.js +49 -0
- package/esm/models/v2promptrunjobresponse.js.map +1 -0
- package/esm/models/v2promptrunscreateop.d.ts +40 -0
- package/esm/models/v2promptrunscreateop.d.ts.map +1 -0
- package/esm/models/v2promptrunscreateop.js +33 -0
- package/esm/models/v2promptrunscreateop.js.map +1 -0
- package/esm/models/v2promptrunstatusretrieveop.d.ts +24 -0
- package/esm/models/v2promptrunstatusretrieveop.d.ts.map +1 -0
- package/esm/models/v2promptrunstatusretrieveop.js +23 -0
- package/esm/models/v2promptrunstatusretrieveop.js.map +1 -0
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +8 -0
- package/esm/tool-names.js.map +1 -1
- package/package.json +9 -4
- package/src/funcs/promptsRun.ts +150 -0
- package/src/funcs/promptsRunStatus.ts +156 -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 +5 -1
- package/src/mcp-server/tools/promptsRun.ts +48 -0
- package/src/mcp-server/tools/promptsRunStatus.ts +46 -0
- package/src/models/createv2promptrunrequest.ts +22 -0
- package/src/models/v2evalrunscreateop.ts +12 -4
- package/src/models/v2promptrunjobresponse.ts +97 -0
- package/src/models/v2promptrunscreateop.ts +100 -0
- package/src/models/v2promptrunstatusretrieveop.ts +64 -0
- package/src/tool-names.ts +8 -0
package/bin/mcp-server.js
CHANGED
|
@@ -52844,9 +52844,9 @@ var init_config = __esm(() => {
|
|
|
52844
52844
|
SDK_METADATA = {
|
|
52845
52845
|
language: "typescript",
|
|
52846
52846
|
openapiDocVersion: "1.0.0",
|
|
52847
|
-
sdkVersion: "0.4.
|
|
52847
|
+
sdkVersion: "0.4.3",
|
|
52848
52848
|
genVersion: "2.941.0",
|
|
52849
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.4.
|
|
52849
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.4.3 2.941.0 1.0.0 @lightsage/mcp"
|
|
52850
52850
|
};
|
|
52851
52851
|
});
|
|
52852
52852
|
|
|
@@ -58843,6 +58843,308 @@ Returns one computed opportunity and its execution context for the selected date
|
|
|
58843
58843
|
};
|
|
58844
58844
|
});
|
|
58845
58845
|
|
|
58846
|
+
// src/models/createv2promptrunrequest.ts
|
|
58847
|
+
var CreateV2PromptRunRequest$zodSchema;
|
|
58848
|
+
var init_createv2promptrunrequest = __esm(() => {
|
|
58849
|
+
init_zod();
|
|
58850
|
+
CreateV2PromptRunRequest$zodSchema = object({
|
|
58851
|
+
force: boolean2().default(false).describe("Run even when a prompt already ran today on the configured platform and model."),
|
|
58852
|
+
prompt_ids: array(string2()).nullable().optional().describe("Prompt IDs from `GET /v2/prompts`. Omit this field to run all active prompts.")
|
|
58853
|
+
});
|
|
58854
|
+
});
|
|
58855
|
+
|
|
58856
|
+
// src/funcs/promptsRun.ts
|
|
58857
|
+
function promptsRun(client$, request, options) {
|
|
58858
|
+
return new APIPromise($do31(client$, request, options));
|
|
58859
|
+
}
|
|
58860
|
+
async function $do31(client$, request, options) {
|
|
58861
|
+
const parsed$ = safeParse4(request, (value$) => CreateV2PromptRunRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58862
|
+
if (!parsed$.ok) {
|
|
58863
|
+
return [parsed$, { status: "invalid" }];
|
|
58864
|
+
}
|
|
58865
|
+
const payload$ = parsed$.value;
|
|
58866
|
+
const body$ = encodeJSON("body", payload$, { explode: true });
|
|
58867
|
+
const path$ = pathToFunc("/v2/prompts/runs")();
|
|
58868
|
+
const headers$ = new Headers(compactMap({
|
|
58869
|
+
"Content-Type": "application/json",
|
|
58870
|
+
Accept: "application/json"
|
|
58871
|
+
}));
|
|
58872
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
58873
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
58874
|
+
const context = {
|
|
58875
|
+
options: client$._options,
|
|
58876
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
58877
|
+
operationID: "v2_prompt_runs_create",
|
|
58878
|
+
oAuth2Scopes: null,
|
|
58879
|
+
resolvedSecurity: requestSecurity,
|
|
58880
|
+
securitySource: client$._options.security,
|
|
58881
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
58882
|
+
retryCodes: options?.retryCodes || [
|
|
58883
|
+
"429",
|
|
58884
|
+
"500",
|
|
58885
|
+
"502",
|
|
58886
|
+
"503",
|
|
58887
|
+
"504"
|
|
58888
|
+
]
|
|
58889
|
+
};
|
|
58890
|
+
const requestRes = client$._createRequest(context, {
|
|
58891
|
+
security: requestSecurity,
|
|
58892
|
+
method: "POST",
|
|
58893
|
+
baseURL: options?.serverURL,
|
|
58894
|
+
path: path$,
|
|
58895
|
+
headers: headers$,
|
|
58896
|
+
body: body$,
|
|
58897
|
+
userAgent: client$._options.userAgent,
|
|
58898
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
58899
|
+
}, options);
|
|
58900
|
+
if (!requestRes.ok) {
|
|
58901
|
+
return [requestRes, { status: "invalid" }];
|
|
58902
|
+
}
|
|
58903
|
+
const req$ = requestRes.value;
|
|
58904
|
+
const doResult = await client$._do(req$, {
|
|
58905
|
+
context,
|
|
58906
|
+
errorCodes: [],
|
|
58907
|
+
retryConfig: context.retryConfig,
|
|
58908
|
+
retryCodes: context.retryCodes
|
|
58909
|
+
});
|
|
58910
|
+
if (!doResult.ok) {
|
|
58911
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
58912
|
+
}
|
|
58913
|
+
return [doResult, {
|
|
58914
|
+
status: "complete",
|
|
58915
|
+
request: req$,
|
|
58916
|
+
response: doResult.value
|
|
58917
|
+
}];
|
|
58918
|
+
}
|
|
58919
|
+
var init_promptsRun = __esm(() => {
|
|
58920
|
+
init_encodings();
|
|
58921
|
+
init_primitives();
|
|
58922
|
+
init_schemas4();
|
|
58923
|
+
init_security();
|
|
58924
|
+
init_url();
|
|
58925
|
+
init_createv2promptrunrequest();
|
|
58926
|
+
init_async();
|
|
58927
|
+
});
|
|
58928
|
+
|
|
58929
|
+
// src/mcp-server/tools/promptsRun.ts
|
|
58930
|
+
var args25, tool$promptsRun;
|
|
58931
|
+
var init_promptsRun2 = __esm(() => {
|
|
58932
|
+
init_promptsRun();
|
|
58933
|
+
init_createv2promptrunrequest();
|
|
58934
|
+
init_tools();
|
|
58935
|
+
args25 = {
|
|
58936
|
+
request: CreateV2PromptRunRequest$zodSchema
|
|
58937
|
+
};
|
|
58938
|
+
tool$promptsRun = {
|
|
58939
|
+
name: "prompts-run",
|
|
58940
|
+
description: `Run Prompts
|
|
58941
|
+
|
|
58942
|
+
Queue saved prompts using the organization's configured targets.
|
|
58943
|
+
|
|
58944
|
+
Provide \`prompt_ids\` to run selected prompts, or omit them to run all active
|
|
58945
|
+
prompts. Saved prompt run settings apply to coding-agent targets. The
|
|
58946
|
+
response returns a run ID to poll with
|
|
58947
|
+
\`GET /v2/prompts/runs/{run_id}/status\`.`,
|
|
58948
|
+
annotations: {
|
|
58949
|
+
title: "",
|
|
58950
|
+
destructiveHint: false,
|
|
58951
|
+
idempotentHint: false,
|
|
58952
|
+
openWorldHint: false,
|
|
58953
|
+
readOnlyHint: false
|
|
58954
|
+
},
|
|
58955
|
+
args: args25,
|
|
58956
|
+
tool: async (client, args, ctx) => {
|
|
58957
|
+
const [result] = await promptsRun(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58958
|
+
if (!result.ok) {
|
|
58959
|
+
return {
|
|
58960
|
+
content: [{ type: "text", text: result.error.message }],
|
|
58961
|
+
isError: true
|
|
58962
|
+
};
|
|
58963
|
+
}
|
|
58964
|
+
return formatResult(result.value);
|
|
58965
|
+
}
|
|
58966
|
+
};
|
|
58967
|
+
});
|
|
58968
|
+
|
|
58969
|
+
// src/models/v2promptrunjobresponse.ts
|
|
58970
|
+
var V2PromptRunJobResponseStatusEnum$zodSchema, Status$zodSchema, V2PromptRunJobResponse$zodSchema;
|
|
58971
|
+
var init_v2promptrunjobresponse = __esm(() => {
|
|
58972
|
+
init_zod();
|
|
58973
|
+
init_publicevalrunprogress();
|
|
58974
|
+
V2PromptRunJobResponseStatusEnum$zodSchema = _enum([
|
|
58975
|
+
"pending",
|
|
58976
|
+
"running",
|
|
58977
|
+
"summarizing",
|
|
58978
|
+
"completed",
|
|
58979
|
+
"failed",
|
|
58980
|
+
"cancelled",
|
|
58981
|
+
"interrupted"
|
|
58982
|
+
]);
|
|
58983
|
+
Status$zodSchema = union([
|
|
58984
|
+
V2PromptRunJobResponseStatusEnum$zodSchema,
|
|
58985
|
+
string2()
|
|
58986
|
+
]).describe("Terminal values: `completed`, `failed`, and `cancelled`. Recoverable interruptions are reported as `running` with stage `retrying`.");
|
|
58987
|
+
V2PromptRunJobResponse$zodSchema = object({
|
|
58988
|
+
completed_at: string2().nullable().optional().describe("Can be set while `status` is still `summarizing`; use `status` to detect completion."),
|
|
58989
|
+
created_at: string2().nullable().optional(),
|
|
58990
|
+
dispatch_id: string2().nullable().optional(),
|
|
58991
|
+
error: string2().nullable().optional(),
|
|
58992
|
+
estimated_cost: number2().nullable().optional().describe("The estimated credit cost for prompt jobs or estimated USD cost for API Performance jobs. Null when no estimate is available."),
|
|
58993
|
+
eval_count: int().nullable().optional(),
|
|
58994
|
+
id: string2().describe("Run ID to poll with `GET /v2/prompts/runs/{run_id}/status`."),
|
|
58995
|
+
job_id: string2().describe("Parent job ID. It currently matches `id`."),
|
|
58996
|
+
model_count: int().nullable().optional(),
|
|
58997
|
+
progress: PublicEvalRunProgress$zodSchema.optional(),
|
|
58998
|
+
source_type: literal("prompts").default("prompts").optional(),
|
|
58999
|
+
stage: string2().nullable().optional().describe("Current lifecycle stage, including `retrying` while interrupted child jobs wait to be reclaimed."),
|
|
59000
|
+
started_at: string2().nullable().optional(),
|
|
59001
|
+
status: union([
|
|
59002
|
+
V2PromptRunJobResponseStatusEnum$zodSchema,
|
|
59003
|
+
string2()
|
|
59004
|
+
]).describe("Terminal values: `completed`, `failed`, and `cancelled`. Recoverable interruptions are reported as `running` with stage `retrying`."),
|
|
59005
|
+
type: literal("prompts").default("prompts").optional()
|
|
59006
|
+
});
|
|
59007
|
+
});
|
|
59008
|
+
|
|
59009
|
+
// src/models/v2promptrunstatusretrieveop.ts
|
|
59010
|
+
var V2PromptRunStatusRetrieveRequest$zodSchema, V2PromptRunStatusRetrieveNotFoundResponseBody$zodSchema, V2PromptRunStatusRetrieveBadRequestResponseBody$zodSchema, V2PromptRunStatusRetrieveResponse$zodSchema;
|
|
59011
|
+
var init_v2promptrunstatusretrieveop = __esm(() => {
|
|
59012
|
+
init_zod();
|
|
59013
|
+
init_httpvalidationerror();
|
|
59014
|
+
init_v2promptrunjobresponse();
|
|
59015
|
+
V2PromptRunStatusRetrieveRequest$zodSchema = object({
|
|
59016
|
+
run_id: string2().describe("Run ID returned by `POST /v2/prompts/runs`, not a stored prompt result ID.")
|
|
59017
|
+
});
|
|
59018
|
+
V2PromptRunStatusRetrieveNotFoundResponseBody$zodSchema = object({
|
|
59019
|
+
detail: string2()
|
|
59020
|
+
}).describe("The prompt run job does not exist or is not visible to this API key.");
|
|
59021
|
+
V2PromptRunStatusRetrieveBadRequestResponseBody$zodSchema = object({
|
|
59022
|
+
detail: string2()
|
|
59023
|
+
}).describe("The prompt run ID is not a valid UUID.");
|
|
59024
|
+
V2PromptRunStatusRetrieveResponse$zodSchema = union([
|
|
59025
|
+
V2PromptRunJobResponse$zodSchema,
|
|
59026
|
+
lazy(() => V2PromptRunStatusRetrieveBadRequestResponseBody$zodSchema),
|
|
59027
|
+
lazy(() => V2PromptRunStatusRetrieveNotFoundResponseBody$zodSchema),
|
|
59028
|
+
HTTPValidationError$zodSchema
|
|
59029
|
+
]);
|
|
59030
|
+
});
|
|
59031
|
+
|
|
59032
|
+
// src/funcs/promptsRunStatus.ts
|
|
59033
|
+
function promptsRunStatus(client$, request, options) {
|
|
59034
|
+
return new APIPromise($do32(client$, request, options));
|
|
59035
|
+
}
|
|
59036
|
+
async function $do32(client$, request, options) {
|
|
59037
|
+
const parsed$ = safeParse4(request, (value$) => V2PromptRunStatusRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59038
|
+
if (!parsed$.ok) {
|
|
59039
|
+
return [parsed$, { status: "invalid" }];
|
|
59040
|
+
}
|
|
59041
|
+
const payload$ = parsed$.value;
|
|
59042
|
+
const body$ = null;
|
|
59043
|
+
const pathParams$ = {
|
|
59044
|
+
run_id: encodeSimple("run_id", payload$.run_id, {
|
|
59045
|
+
explode: false,
|
|
59046
|
+
charEncoding: "percent"
|
|
59047
|
+
})
|
|
59048
|
+
};
|
|
59049
|
+
const path$ = pathToFunc("/v2/prompts/runs/{run_id}/status")(pathParams$);
|
|
59050
|
+
const headers$ = new Headers(compactMap({
|
|
59051
|
+
Accept: "application/json"
|
|
59052
|
+
}));
|
|
59053
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
59054
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
59055
|
+
const context = {
|
|
59056
|
+
options: client$._options,
|
|
59057
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
59058
|
+
operationID: "v2_prompt_run_status_retrieve",
|
|
59059
|
+
oAuth2Scopes: null,
|
|
59060
|
+
resolvedSecurity: requestSecurity,
|
|
59061
|
+
securitySource: client$._options.security,
|
|
59062
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
59063
|
+
retryCodes: options?.retryCodes || [
|
|
59064
|
+
"429",
|
|
59065
|
+
"500",
|
|
59066
|
+
"502",
|
|
59067
|
+
"503",
|
|
59068
|
+
"504"
|
|
59069
|
+
]
|
|
59070
|
+
};
|
|
59071
|
+
const requestRes = client$._createRequest(context, {
|
|
59072
|
+
security: requestSecurity,
|
|
59073
|
+
method: "GET",
|
|
59074
|
+
baseURL: options?.serverURL,
|
|
59075
|
+
path: path$,
|
|
59076
|
+
headers: headers$,
|
|
59077
|
+
body: body$,
|
|
59078
|
+
userAgent: client$._options.userAgent,
|
|
59079
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
59080
|
+
}, options);
|
|
59081
|
+
if (!requestRes.ok) {
|
|
59082
|
+
return [requestRes, { status: "invalid" }];
|
|
59083
|
+
}
|
|
59084
|
+
const req$ = requestRes.value;
|
|
59085
|
+
const doResult = await client$._do(req$, {
|
|
59086
|
+
context,
|
|
59087
|
+
errorCodes: [],
|
|
59088
|
+
retryConfig: context.retryConfig,
|
|
59089
|
+
retryCodes: context.retryCodes
|
|
59090
|
+
});
|
|
59091
|
+
if (!doResult.ok) {
|
|
59092
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
59093
|
+
}
|
|
59094
|
+
return [doResult, {
|
|
59095
|
+
status: "complete",
|
|
59096
|
+
request: req$,
|
|
59097
|
+
response: doResult.value
|
|
59098
|
+
}];
|
|
59099
|
+
}
|
|
59100
|
+
var init_promptsRunStatus = __esm(() => {
|
|
59101
|
+
init_encodings();
|
|
59102
|
+
init_primitives();
|
|
59103
|
+
init_schemas4();
|
|
59104
|
+
init_security();
|
|
59105
|
+
init_url();
|
|
59106
|
+
init_v2promptrunstatusretrieveop();
|
|
59107
|
+
init_async();
|
|
59108
|
+
});
|
|
59109
|
+
|
|
59110
|
+
// src/mcp-server/tools/promptsRunStatus.ts
|
|
59111
|
+
var args26, tool$promptsRunStatus;
|
|
59112
|
+
var init_promptsRunStatus2 = __esm(() => {
|
|
59113
|
+
init_promptsRunStatus();
|
|
59114
|
+
init_v2promptrunstatusretrieveop();
|
|
59115
|
+
init_tools();
|
|
59116
|
+
args26 = {
|
|
59117
|
+
request: V2PromptRunStatusRetrieveRequest$zodSchema
|
|
59118
|
+
};
|
|
59119
|
+
tool$promptsRunStatus = {
|
|
59120
|
+
name: "prompts-run-status",
|
|
59121
|
+
description: `Get Prompt Run Status
|
|
59122
|
+
|
|
59123
|
+
Return status and progress for a queued prompt run.
|
|
59124
|
+
|
|
59125
|
+
Poll this endpoint until \`status\` is \`completed\`, \`failed\`, or \`cancelled\`.
|
|
59126
|
+
Individual stored results are available from \`GET /v2/prompts/runs\`.`,
|
|
59127
|
+
annotations: {
|
|
59128
|
+
title: "",
|
|
59129
|
+
destructiveHint: false,
|
|
59130
|
+
idempotentHint: false,
|
|
59131
|
+
openWorldHint: false,
|
|
59132
|
+
readOnlyHint: true
|
|
59133
|
+
},
|
|
59134
|
+
args: args26,
|
|
59135
|
+
tool: async (client, args, ctx) => {
|
|
59136
|
+
const [result] = await promptsRunStatus(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59137
|
+
if (!result.ok) {
|
|
59138
|
+
return {
|
|
59139
|
+
content: [{ type: "text", text: result.error.message }],
|
|
59140
|
+
isError: true
|
|
59141
|
+
};
|
|
59142
|
+
}
|
|
59143
|
+
return formatResult(result.value);
|
|
59144
|
+
}
|
|
59145
|
+
};
|
|
59146
|
+
});
|
|
59147
|
+
|
|
58846
59148
|
// src/models/v2promptrunplatform.ts
|
|
58847
59149
|
var V2PromptRunPlatform$zodSchema;
|
|
58848
59150
|
var init_v2promptrunplatform = __esm(() => {
|
|
@@ -58943,9 +59245,9 @@ var init_v2promptrunslistop = __esm(() => {
|
|
|
58943
59245
|
|
|
58944
59246
|
// src/funcs/promptsV2PromptRunsList.ts
|
|
58945
59247
|
function promptsV2PromptRunsList(client$, request, options) {
|
|
58946
|
-
return new APIPromise($
|
|
59248
|
+
return new APIPromise($do33(client$, request, options));
|
|
58947
59249
|
}
|
|
58948
|
-
async function $
|
|
59250
|
+
async function $do33(client$, request, options) {
|
|
58949
59251
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
58950
59252
|
if (!parsed$.ok) {
|
|
58951
59253
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59023,12 +59325,12 @@ var init_promptsV2PromptRunsList = __esm(() => {
|
|
|
59023
59325
|
});
|
|
59024
59326
|
|
|
59025
59327
|
// src/mcp-server/tools/promptsV2PromptRunsList.ts
|
|
59026
|
-
var
|
|
59328
|
+
var args27, tool$promptsV2PromptRunsList;
|
|
59027
59329
|
var init_promptsV2PromptRunsList2 = __esm(() => {
|
|
59028
59330
|
init_promptsV2PromptRunsList();
|
|
59029
59331
|
init_v2promptrunslistop();
|
|
59030
59332
|
init_tools();
|
|
59031
|
-
|
|
59333
|
+
args27 = {
|
|
59032
59334
|
request: V2PromptRunsListRequest$zodSchema.optional()
|
|
59033
59335
|
};
|
|
59034
59336
|
tool$promptsV2PromptRunsList = {
|
|
@@ -59043,7 +59345,7 @@ Returns stored prompt runs with limit-and-offset pagination, without exposing ra
|
|
|
59043
59345
|
openWorldHint: false,
|
|
59044
59346
|
readOnlyHint: true
|
|
59045
59347
|
},
|
|
59046
|
-
args:
|
|
59348
|
+
args: args27,
|
|
59047
59349
|
tool: async (client, args, ctx) => {
|
|
59048
59350
|
const [result] = await promptsV2PromptRunsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59049
59351
|
if (!result.ok) {
|
|
@@ -59156,9 +59458,9 @@ var init_v2promptrunsretrieveop = __esm(() => {
|
|
|
59156
59458
|
|
|
59157
59459
|
// src/funcs/promptsV2PromptRunsRetrieve.ts
|
|
59158
59460
|
function promptsV2PromptRunsRetrieve(client$, request, options) {
|
|
59159
|
-
return new APIPromise($
|
|
59461
|
+
return new APIPromise($do34(client$, request, options));
|
|
59160
59462
|
}
|
|
59161
|
-
async function $
|
|
59463
|
+
async function $do34(client$, request, options) {
|
|
59162
59464
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59163
59465
|
if (!parsed$.ok) {
|
|
59164
59466
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59233,12 +59535,12 @@ var init_promptsV2PromptRunsRetrieve = __esm(() => {
|
|
|
59233
59535
|
});
|
|
59234
59536
|
|
|
59235
59537
|
// src/mcp-server/tools/promptsV2PromptRunsRetrieve.ts
|
|
59236
|
-
var
|
|
59538
|
+
var args28, tool$promptsV2PromptRunsRetrieve;
|
|
59237
59539
|
var init_promptsV2PromptRunsRetrieve2 = __esm(() => {
|
|
59238
59540
|
init_promptsV2PromptRunsRetrieve();
|
|
59239
59541
|
init_v2promptrunsretrieveop();
|
|
59240
59542
|
init_tools();
|
|
59241
|
-
|
|
59543
|
+
args28 = {
|
|
59242
59544
|
request: V2PromptRunsRetrieveRequest$zodSchema
|
|
59243
59545
|
};
|
|
59244
59546
|
tool$promptsV2PromptRunsRetrieve = {
|
|
@@ -59253,7 +59555,7 @@ Returns one stored prompt run, including mentions, citations, and any sanitized
|
|
|
59253
59555
|
openWorldHint: false,
|
|
59254
59556
|
readOnlyHint: true
|
|
59255
59557
|
},
|
|
59256
|
-
args:
|
|
59558
|
+
args: args28,
|
|
59257
59559
|
tool: async (client, args, ctx) => {
|
|
59258
59560
|
const [result] = await promptsV2PromptRunsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59259
59561
|
if (!result.ok) {
|
|
@@ -59308,9 +59610,9 @@ var init_createv2promptsrequest = __esm(() => {
|
|
|
59308
59610
|
|
|
59309
59611
|
// src/funcs/promptsV2PromptsCreate.ts
|
|
59310
59612
|
function promptsV2PromptsCreate(client$, request, options) {
|
|
59311
|
-
return new APIPromise($
|
|
59613
|
+
return new APIPromise($do35(client$, request, options));
|
|
59312
59614
|
}
|
|
59313
|
-
async function $
|
|
59615
|
+
async function $do35(client$, request, options) {
|
|
59314
59616
|
const parsed$ = safeParse4(request, (value$) => CreateV2PromptsRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59315
59617
|
if (!parsed$.ok) {
|
|
59316
59618
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59380,12 +59682,12 @@ var init_promptsV2PromptsCreate = __esm(() => {
|
|
|
59380
59682
|
});
|
|
59381
59683
|
|
|
59382
59684
|
// src/mcp-server/tools/promptsV2PromptsCreate.ts
|
|
59383
|
-
var
|
|
59685
|
+
var args29, tool$promptsV2PromptsCreate;
|
|
59384
59686
|
var init_promptsV2PromptsCreate2 = __esm(() => {
|
|
59385
59687
|
init_promptsV2PromptsCreate();
|
|
59386
59688
|
init_createv2promptsrequest();
|
|
59387
59689
|
init_tools();
|
|
59388
|
-
|
|
59690
|
+
args29 = {
|
|
59389
59691
|
request: CreateV2PromptsRequest$zodSchema
|
|
59390
59692
|
};
|
|
59391
59693
|
tool$promptsV2PromptsCreate = {
|
|
@@ -59400,7 +59702,7 @@ Creates prompts in a batch. Each item is validated independently, so the respons
|
|
|
59400
59702
|
openWorldHint: false,
|
|
59401
59703
|
readOnlyHint: false
|
|
59402
59704
|
},
|
|
59403
|
-
args:
|
|
59705
|
+
args: args29,
|
|
59404
59706
|
tool: async (client, args, ctx) => {
|
|
59405
59707
|
const [result] = await promptsV2PromptsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59406
59708
|
if (!result.ok) {
|
|
@@ -59440,9 +59742,9 @@ var init_v2promptsdeleteop = __esm(() => {
|
|
|
59440
59742
|
|
|
59441
59743
|
// src/funcs/promptsV2PromptsDelete.ts
|
|
59442
59744
|
function promptsV2PromptsDelete(client$, request, options) {
|
|
59443
|
-
return new APIPromise($
|
|
59745
|
+
return new APIPromise($do36(client$, request, options));
|
|
59444
59746
|
}
|
|
59445
|
-
async function $
|
|
59747
|
+
async function $do36(client$, request, options) {
|
|
59446
59748
|
const parsed$ = safeParse4(request, (value$) => V2PromptsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59447
59749
|
if (!parsed$.ok) {
|
|
59448
59750
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59517,12 +59819,12 @@ var init_promptsV2PromptsDelete = __esm(() => {
|
|
|
59517
59819
|
});
|
|
59518
59820
|
|
|
59519
59821
|
// src/mcp-server/tools/promptsV2PromptsDelete.ts
|
|
59520
|
-
var
|
|
59822
|
+
var args30, tool$promptsV2PromptsDelete;
|
|
59521
59823
|
var init_promptsV2PromptsDelete2 = __esm(() => {
|
|
59522
59824
|
init_promptsV2PromptsDelete();
|
|
59523
59825
|
init_v2promptsdeleteop();
|
|
59524
59826
|
init_tools();
|
|
59525
|
-
|
|
59827
|
+
args30 = {
|
|
59526
59828
|
request: V2PromptsDeleteRequest$zodSchema
|
|
59527
59829
|
};
|
|
59528
59830
|
tool$promptsV2PromptsDelete = {
|
|
@@ -59537,7 +59839,7 @@ Archives the prompt and excludes it from normal listings while preserving its hi
|
|
|
59537
59839
|
openWorldHint: false,
|
|
59538
59840
|
readOnlyHint: false
|
|
59539
59841
|
},
|
|
59540
|
-
args:
|
|
59842
|
+
args: args30,
|
|
59541
59843
|
tool: async (client, args, ctx) => {
|
|
59542
59844
|
const [result] = await promptsV2PromptsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59543
59845
|
if (!result.ok) {
|
|
@@ -59665,9 +59967,9 @@ var init_v2promptslistop = __esm(() => {
|
|
|
59665
59967
|
|
|
59666
59968
|
// src/funcs/promptsV2PromptsList.ts
|
|
59667
59969
|
function promptsV2PromptsList(client$, request, options) {
|
|
59668
|
-
return new APIPromise($
|
|
59970
|
+
return new APIPromise($do37(client$, request, options));
|
|
59669
59971
|
}
|
|
59670
|
-
async function $
|
|
59972
|
+
async function $do37(client$, request, options) {
|
|
59671
59973
|
const parsed$ = safeParse4(request, (value$) => V2PromptsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
59672
59974
|
if (!parsed$.ok) {
|
|
59673
59975
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59742,12 +60044,12 @@ var init_promptsV2PromptsList = __esm(() => {
|
|
|
59742
60044
|
});
|
|
59743
60045
|
|
|
59744
60046
|
// src/mcp-server/tools/promptsV2PromptsList.ts
|
|
59745
|
-
var
|
|
60047
|
+
var args31, tool$promptsV2PromptsList;
|
|
59746
60048
|
var init_promptsV2PromptsList2 = __esm(() => {
|
|
59747
60049
|
init_promptsV2PromptsList();
|
|
59748
60050
|
init_v2promptslistop();
|
|
59749
60051
|
init_tools();
|
|
59750
|
-
|
|
60052
|
+
args31 = {
|
|
59751
60053
|
request: V2PromptsListRequest$zodSchema.optional()
|
|
59752
60054
|
};
|
|
59753
60055
|
tool$promptsV2PromptsList = {
|
|
@@ -59762,7 +60064,7 @@ Returns active and inactive prompts by default. Set \`include_archived\` to incl
|
|
|
59762
60064
|
openWorldHint: false,
|
|
59763
60065
|
readOnlyHint: true
|
|
59764
60066
|
},
|
|
59765
|
-
args:
|
|
60067
|
+
args: args31,
|
|
59766
60068
|
tool: async (client, args, ctx) => {
|
|
59767
60069
|
const [result] = await promptsV2PromptsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59768
60070
|
if (!result.ok) {
|
|
@@ -59793,9 +60095,9 @@ var init_v2promptsretrieveop = __esm(() => {
|
|
|
59793
60095
|
|
|
59794
60096
|
// src/funcs/promptsV2PromptsRetrieve.ts
|
|
59795
60097
|
function promptsV2PromptsRetrieve(client$, request, options) {
|
|
59796
|
-
return new APIPromise($
|
|
60098
|
+
return new APIPromise($do38(client$, request, options));
|
|
59797
60099
|
}
|
|
59798
|
-
async function $
|
|
60100
|
+
async function $do38(client$, request, options) {
|
|
59799
60101
|
const parsed$ = safeParse4(request, (value$) => V2PromptsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59800
60102
|
if (!parsed$.ok) {
|
|
59801
60103
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59870,12 +60172,12 @@ var init_promptsV2PromptsRetrieve = __esm(() => {
|
|
|
59870
60172
|
});
|
|
59871
60173
|
|
|
59872
60174
|
// src/mcp-server/tools/promptsV2PromptsRetrieve.ts
|
|
59873
|
-
var
|
|
60175
|
+
var args32, tool$promptsV2PromptsRetrieve;
|
|
59874
60176
|
var init_promptsV2PromptsRetrieve2 = __esm(() => {
|
|
59875
60177
|
init_promptsV2PromptsRetrieve();
|
|
59876
60178
|
init_v2promptsretrieveop();
|
|
59877
60179
|
init_tools();
|
|
59878
|
-
|
|
60180
|
+
args32 = {
|
|
59879
60181
|
request: V2PromptsRetrieveRequest$zodSchema
|
|
59880
60182
|
};
|
|
59881
60183
|
tool$promptsV2PromptsRetrieve = {
|
|
@@ -59890,7 +60192,7 @@ Returns a prompt with its topic, platforms, tags, lifecycle status, and coding-a
|
|
|
59890
60192
|
openWorldHint: false,
|
|
59891
60193
|
readOnlyHint: true
|
|
59892
60194
|
},
|
|
59893
|
-
args:
|
|
60195
|
+
args: args32,
|
|
59894
60196
|
tool: async (client, args, ctx) => {
|
|
59895
60197
|
const [result] = await promptsV2PromptsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59896
60198
|
if (!result.ok) {
|
|
@@ -59941,9 +60243,9 @@ var init_v2promptsupdateop = __esm(() => {
|
|
|
59941
60243
|
|
|
59942
60244
|
// src/funcs/promptsV2PromptsUpdate.ts
|
|
59943
60245
|
function promptsV2PromptsUpdate(client$, request, options) {
|
|
59944
|
-
return new APIPromise($
|
|
60246
|
+
return new APIPromise($do39(client$, request, options));
|
|
59945
60247
|
}
|
|
59946
|
-
async function $
|
|
60248
|
+
async function $do39(client$, request, options) {
|
|
59947
60249
|
const parsed$ = safeParse4(request, (value$) => V2PromptsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59948
60250
|
if (!parsed$.ok) {
|
|
59949
60251
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60019,12 +60321,12 @@ var init_promptsV2PromptsUpdate = __esm(() => {
|
|
|
60019
60321
|
});
|
|
60020
60322
|
|
|
60021
60323
|
// src/mcp-server/tools/promptsV2PromptsUpdate.ts
|
|
60022
|
-
var
|
|
60324
|
+
var args33, tool$promptsV2PromptsUpdate;
|
|
60023
60325
|
var init_promptsV2PromptsUpdate2 = __esm(() => {
|
|
60024
60326
|
init_promptsV2PromptsUpdate();
|
|
60025
60327
|
init_v2promptsupdateop();
|
|
60026
60328
|
init_tools();
|
|
60027
|
-
|
|
60329
|
+
args33 = {
|
|
60028
60330
|
request: V2PromptsUpdateRequest$zodSchema
|
|
60029
60331
|
};
|
|
60030
60332
|
tool$promptsV2PromptsUpdate = {
|
|
@@ -60039,7 +60341,7 @@ Updates a prompt's text, topic, platforms, lifecycle status, or coding-agent run
|
|
|
60039
60341
|
openWorldHint: false,
|
|
60040
60342
|
readOnlyHint: false
|
|
60041
60343
|
},
|
|
60042
|
-
args:
|
|
60344
|
+
args: args33,
|
|
60043
60345
|
tool: async (client, args, ctx) => {
|
|
60044
60346
|
const [result] = await promptsV2PromptsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60045
60347
|
if (!result.ok) {
|
|
@@ -60064,9 +60366,9 @@ var init_createprompttopicrequest = __esm(() => {
|
|
|
60064
60366
|
|
|
60065
60367
|
// src/funcs/promptsV2PromptTopicsCreate.ts
|
|
60066
60368
|
function promptsV2PromptTopicsCreate(client$, request, options) {
|
|
60067
|
-
return new APIPromise($
|
|
60369
|
+
return new APIPromise($do40(client$, request, options));
|
|
60068
60370
|
}
|
|
60069
|
-
async function $
|
|
60371
|
+
async function $do40(client$, request, options) {
|
|
60070
60372
|
const parsed$ = safeParse4(request, (value$) => CreatePromptTopicRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60071
60373
|
if (!parsed$.ok) {
|
|
60072
60374
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60136,12 +60438,12 @@ var init_promptsV2PromptTopicsCreate = __esm(() => {
|
|
|
60136
60438
|
});
|
|
60137
60439
|
|
|
60138
60440
|
// src/mcp-server/tools/promptsV2PromptTopicsCreate.ts
|
|
60139
|
-
var
|
|
60441
|
+
var args34, tool$promptsV2PromptTopicsCreate;
|
|
60140
60442
|
var init_promptsV2PromptTopicsCreate2 = __esm(() => {
|
|
60141
60443
|
init_promptsV2PromptTopicsCreate();
|
|
60142
60444
|
init_createprompttopicrequest();
|
|
60143
60445
|
init_tools();
|
|
60144
|
-
|
|
60446
|
+
args34 = {
|
|
60145
60447
|
request: CreatePromptTopicRequest$zodSchema
|
|
60146
60448
|
};
|
|
60147
60449
|
tool$promptsV2PromptTopicsCreate = {
|
|
@@ -60156,7 +60458,7 @@ Creates a prompt topic and returns the saved topic.`,
|
|
|
60156
60458
|
openWorldHint: false,
|
|
60157
60459
|
readOnlyHint: false
|
|
60158
60460
|
},
|
|
60159
|
-
args:
|
|
60461
|
+
args: args34,
|
|
60160
60462
|
tool: async (client, args, ctx) => {
|
|
60161
60463
|
const [result] = await promptsV2PromptTopicsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60162
60464
|
if (!result.ok) {
|
|
@@ -60188,9 +60490,9 @@ var init_v2prompttopicsdeleteop = __esm(() => {
|
|
|
60188
60490
|
|
|
60189
60491
|
// src/funcs/promptsV2PromptTopicsDelete.ts
|
|
60190
60492
|
function promptsV2PromptTopicsDelete(client$, request, options) {
|
|
60191
|
-
return new APIPromise($
|
|
60493
|
+
return new APIPromise($do41(client$, request, options));
|
|
60192
60494
|
}
|
|
60193
|
-
async function $
|
|
60495
|
+
async function $do41(client$, request, options) {
|
|
60194
60496
|
const parsed$ = safeParse4(request, (value$) => V2PromptTopicsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60195
60497
|
if (!parsed$.ok) {
|
|
60196
60498
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60269,12 +60571,12 @@ var init_promptsV2PromptTopicsDelete = __esm(() => {
|
|
|
60269
60571
|
});
|
|
60270
60572
|
|
|
60271
60573
|
// src/mcp-server/tools/promptsV2PromptTopicsDelete.ts
|
|
60272
|
-
var
|
|
60574
|
+
var args35, tool$promptsV2PromptTopicsDelete;
|
|
60273
60575
|
var init_promptsV2PromptTopicsDelete2 = __esm(() => {
|
|
60274
60576
|
init_promptsV2PromptTopicsDelete();
|
|
60275
60577
|
init_v2prompttopicsdeleteop();
|
|
60276
60578
|
init_tools();
|
|
60277
|
-
|
|
60579
|
+
args35 = {
|
|
60278
60580
|
request: V2PromptTopicsDeleteRequest$zodSchema
|
|
60279
60581
|
};
|
|
60280
60582
|
tool$promptsV2PromptTopicsDelete = {
|
|
@@ -60289,7 +60591,7 @@ Archives a prompt topic. Set \`archive_prompts\` to archive remaining prompts; o
|
|
|
60289
60591
|
openWorldHint: false,
|
|
60290
60592
|
readOnlyHint: false
|
|
60291
60593
|
},
|
|
60292
|
-
args:
|
|
60594
|
+
args: args35,
|
|
60293
60595
|
tool: async (client, args, ctx) => {
|
|
60294
60596
|
const [result] = await promptsV2PromptTopicsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60295
60597
|
if (!result.ok) {
|
|
@@ -60305,9 +60607,9 @@ Archives a prompt topic. Set \`archive_prompts\` to archive remaining prompts; o
|
|
|
60305
60607
|
|
|
60306
60608
|
// src/funcs/promptsV2PromptTopicsList.ts
|
|
60307
60609
|
function promptsV2PromptTopicsList(client$, options) {
|
|
60308
|
-
return new APIPromise($
|
|
60610
|
+
return new APIPromise($do42(client$, options));
|
|
60309
60611
|
}
|
|
60310
|
-
async function $
|
|
60612
|
+
async function $do42(client$, options) {
|
|
60311
60613
|
const path$ = pathToFunc("/v2/prompts/topics")();
|
|
60312
60614
|
const headers$ = new Headers(compactMap({
|
|
60313
60615
|
Accept: "application/json"
|
|
@@ -60423,9 +60725,9 @@ var init_v2prompttopicsupdateop = __esm(() => {
|
|
|
60423
60725
|
|
|
60424
60726
|
// src/funcs/promptsV2PromptTopicsUpdate.ts
|
|
60425
60727
|
function promptsV2PromptTopicsUpdate(client$, request, options) {
|
|
60426
|
-
return new APIPromise($
|
|
60728
|
+
return new APIPromise($do43(client$, request, options));
|
|
60427
60729
|
}
|
|
60428
|
-
async function $
|
|
60730
|
+
async function $do43(client$, request, options) {
|
|
60429
60731
|
const parsed$ = safeParse4(request, (value$) => V2PromptTopicsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60430
60732
|
if (!parsed$.ok) {
|
|
60431
60733
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60501,12 +60803,12 @@ var init_promptsV2PromptTopicsUpdate = __esm(() => {
|
|
|
60501
60803
|
});
|
|
60502
60804
|
|
|
60503
60805
|
// src/mcp-server/tools/promptsV2PromptTopicsUpdate.ts
|
|
60504
|
-
var
|
|
60806
|
+
var args36, tool$promptsV2PromptTopicsUpdate;
|
|
60505
60807
|
var init_promptsV2PromptTopicsUpdate2 = __esm(() => {
|
|
60506
60808
|
init_promptsV2PromptTopicsUpdate();
|
|
60507
60809
|
init_v2prompttopicsupdateop();
|
|
60508
60810
|
init_tools();
|
|
60509
|
-
|
|
60811
|
+
args36 = {
|
|
60510
60812
|
request: V2PromptTopicsUpdateRequest$zodSchema
|
|
60511
60813
|
};
|
|
60512
60814
|
tool$promptsV2PromptTopicsUpdate = {
|
|
@@ -60521,7 +60823,7 @@ Renames a prompt topic and returns the updated topic.`,
|
|
|
60521
60823
|
openWorldHint: false,
|
|
60522
60824
|
readOnlyHint: false
|
|
60523
60825
|
},
|
|
60524
|
-
args:
|
|
60826
|
+
args: args36,
|
|
60525
60827
|
tool: async (client, args, ctx) => {
|
|
60526
60828
|
const [result] = await promptsV2PromptTopicsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60527
60829
|
if (!result.ok) {
|
|
@@ -60564,9 +60866,9 @@ var init_createv2repositoryrequest = __esm(() => {
|
|
|
60564
60866
|
|
|
60565
60867
|
// src/funcs/repositoriesV2RepositoriesCreate.ts
|
|
60566
60868
|
function repositoriesV2RepositoriesCreate(client$, request, options) {
|
|
60567
|
-
return new APIPromise($
|
|
60869
|
+
return new APIPromise($do44(client$, request, options));
|
|
60568
60870
|
}
|
|
60569
|
-
async function $
|
|
60871
|
+
async function $do44(client$, request, options) {
|
|
60570
60872
|
const parsed$ = safeParse4(request, (value$) => CreateV2RepositoryRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60571
60873
|
if (!parsed$.ok) {
|
|
60572
60874
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60636,12 +60938,12 @@ var init_repositoriesV2RepositoriesCreate = __esm(() => {
|
|
|
60636
60938
|
});
|
|
60637
60939
|
|
|
60638
60940
|
// src/mcp-server/tools/repositoriesV2RepositoriesCreate.ts
|
|
60639
|
-
var
|
|
60941
|
+
var args37, tool$repositoriesV2RepositoriesCreate;
|
|
60640
60942
|
var init_repositoriesV2RepositoriesCreate2 = __esm(() => {
|
|
60641
60943
|
init_repositoriesV2RepositoriesCreate();
|
|
60642
60944
|
init_createv2repositoryrequest();
|
|
60643
60945
|
init_tools();
|
|
60644
|
-
|
|
60946
|
+
args37 = {
|
|
60645
60947
|
request: CreateV2RepositoryRequest$zodSchema
|
|
60646
60948
|
};
|
|
60647
60949
|
tool$repositoriesV2RepositoriesCreate = {
|
|
@@ -60656,7 +60958,7 @@ Adds a reusable Git repository workspace for eval configurations.`,
|
|
|
60656
60958
|
openWorldHint: false,
|
|
60657
60959
|
readOnlyHint: false
|
|
60658
60960
|
},
|
|
60659
|
-
args:
|
|
60961
|
+
args: args37,
|
|
60660
60962
|
tool: async (client, args, ctx) => {
|
|
60661
60963
|
const [result] = await repositoriesV2RepositoriesCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60662
60964
|
if (!result.ok) {
|
|
@@ -60722,9 +61024,9 @@ var init_v2repositoriesdeleteop = __esm(() => {
|
|
|
60722
61024
|
|
|
60723
61025
|
// src/funcs/repositoriesV2RepositoriesDelete.ts
|
|
60724
61026
|
function repositoriesV2RepositoriesDelete(client$, request, options) {
|
|
60725
|
-
return new APIPromise($
|
|
61027
|
+
return new APIPromise($do45(client$, request, options));
|
|
60726
61028
|
}
|
|
60727
|
-
async function $
|
|
61029
|
+
async function $do45(client$, request, options) {
|
|
60728
61030
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60729
61031
|
if (!parsed$.ok) {
|
|
60730
61032
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60799,12 +61101,12 @@ var init_repositoriesV2RepositoriesDelete = __esm(() => {
|
|
|
60799
61101
|
});
|
|
60800
61102
|
|
|
60801
61103
|
// src/mcp-server/tools/repositoriesV2RepositoriesDelete.ts
|
|
60802
|
-
var
|
|
61104
|
+
var args38, tool$repositoriesV2RepositoriesDelete;
|
|
60803
61105
|
var init_repositoriesV2RepositoriesDelete2 = __esm(() => {
|
|
60804
61106
|
init_repositoriesV2RepositoriesDelete();
|
|
60805
61107
|
init_v2repositoriesdeleteop();
|
|
60806
61108
|
init_tools();
|
|
60807
|
-
|
|
61109
|
+
args38 = {
|
|
60808
61110
|
request: V2RepositoriesDeleteRequest$zodSchema
|
|
60809
61111
|
};
|
|
60810
61112
|
tool$repositoriesV2RepositoriesDelete = {
|
|
@@ -60819,7 +61121,7 @@ Permanently deletes a repository workspace and returns its last saved state.`,
|
|
|
60819
61121
|
openWorldHint: false,
|
|
60820
61122
|
readOnlyHint: false
|
|
60821
61123
|
},
|
|
60822
|
-
args:
|
|
61124
|
+
args: args38,
|
|
60823
61125
|
tool: async (client, args, ctx) => {
|
|
60824
61126
|
const [result] = await repositoriesV2RepositoriesDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60825
61127
|
if (!result.ok) {
|
|
@@ -60835,9 +61137,9 @@ Permanently deletes a repository workspace and returns its last saved state.`,
|
|
|
60835
61137
|
|
|
60836
61138
|
// src/funcs/repositoriesV2RepositoriesList.ts
|
|
60837
61139
|
function repositoriesV2RepositoriesList(client$, options) {
|
|
60838
|
-
return new APIPromise($
|
|
61140
|
+
return new APIPromise($do46(client$, options));
|
|
60839
61141
|
}
|
|
60840
|
-
async function $
|
|
61142
|
+
async function $do46(client$, options) {
|
|
60841
61143
|
const path$ = pathToFunc("/v2/repositories")();
|
|
60842
61144
|
const headers$ = new Headers(compactMap({
|
|
60843
61145
|
Accept: "application/json"
|
|
@@ -60942,9 +61244,9 @@ var init_v2repositoriesretrieveop = __esm(() => {
|
|
|
60942
61244
|
|
|
60943
61245
|
// src/funcs/repositoriesV2RepositoriesRetrieve.ts
|
|
60944
61246
|
function repositoriesV2RepositoriesRetrieve(client$, request, options) {
|
|
60945
|
-
return new APIPromise($
|
|
61247
|
+
return new APIPromise($do47(client$, request, options));
|
|
60946
61248
|
}
|
|
60947
|
-
async function $
|
|
61249
|
+
async function $do47(client$, request, options) {
|
|
60948
61250
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60949
61251
|
if (!parsed$.ok) {
|
|
60950
61252
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61019,12 +61321,12 @@ var init_repositoriesV2RepositoriesRetrieve = __esm(() => {
|
|
|
61019
61321
|
});
|
|
61020
61322
|
|
|
61021
61323
|
// src/mcp-server/tools/repositoriesV2RepositoriesRetrieve.ts
|
|
61022
|
-
var
|
|
61324
|
+
var args39, tool$repositoriesV2RepositoriesRetrieve;
|
|
61023
61325
|
var init_repositoriesV2RepositoriesRetrieve2 = __esm(() => {
|
|
61024
61326
|
init_repositoriesV2RepositoriesRetrieve();
|
|
61025
61327
|
init_v2repositoriesretrieveop();
|
|
61026
61328
|
init_tools();
|
|
61027
|
-
|
|
61329
|
+
args39 = {
|
|
61028
61330
|
request: V2RepositoriesRetrieveRequest$zodSchema
|
|
61029
61331
|
};
|
|
61030
61332
|
tool$repositoriesV2RepositoriesRetrieve = {
|
|
@@ -61039,7 +61341,7 @@ Returns one reusable repository workspace.`,
|
|
|
61039
61341
|
openWorldHint: false,
|
|
61040
61342
|
readOnlyHint: true
|
|
61041
61343
|
},
|
|
61042
|
-
args:
|
|
61344
|
+
args: args39,
|
|
61043
61345
|
tool: async (client, args, ctx) => {
|
|
61044
61346
|
const [result] = await repositoriesV2RepositoriesRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61045
61347
|
if (!result.ok) {
|
|
@@ -61099,9 +61401,9 @@ var init_v2repositoriesupdateop = __esm(() => {
|
|
|
61099
61401
|
|
|
61100
61402
|
// src/funcs/repositoriesV2RepositoriesUpdate.ts
|
|
61101
61403
|
function repositoriesV2RepositoriesUpdate(client$, request, options) {
|
|
61102
|
-
return new APIPromise($
|
|
61404
|
+
return new APIPromise($do48(client$, request, options));
|
|
61103
61405
|
}
|
|
61104
|
-
async function $
|
|
61406
|
+
async function $do48(client$, request, options) {
|
|
61105
61407
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61106
61408
|
if (!parsed$.ok) {
|
|
61107
61409
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61177,12 +61479,12 @@ var init_repositoriesV2RepositoriesUpdate = __esm(() => {
|
|
|
61177
61479
|
});
|
|
61178
61480
|
|
|
61179
61481
|
// src/mcp-server/tools/repositoriesV2RepositoriesUpdate.ts
|
|
61180
|
-
var
|
|
61482
|
+
var args40, tool$repositoriesV2RepositoriesUpdate;
|
|
61181
61483
|
var init_repositoriesV2RepositoriesUpdate2 = __esm(() => {
|
|
61182
61484
|
init_repositoriesV2RepositoriesUpdate();
|
|
61183
61485
|
init_v2repositoriesupdateop();
|
|
61184
61486
|
init_tools();
|
|
61185
|
-
|
|
61487
|
+
args40 = {
|
|
61186
61488
|
request: V2RepositoriesUpdateRequest$zodSchema
|
|
61187
61489
|
};
|
|
61188
61490
|
tool$repositoriesV2RepositoriesUpdate = {
|
|
@@ -61197,7 +61499,7 @@ Updates a repository workspace; omitted fields remain unchanged.`,
|
|
|
61197
61499
|
openWorldHint: false,
|
|
61198
61500
|
readOnlyHint: false
|
|
61199
61501
|
},
|
|
61200
|
-
args:
|
|
61502
|
+
args: args40,
|
|
61201
61503
|
tool: async (client, args, ctx) => {
|
|
61202
61504
|
const [result] = await repositoriesV2RepositoriesUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61203
61505
|
if (!result.ok) {
|
|
@@ -61213,9 +61515,9 @@ Updates a repository workspace; omitted fields remain unchanged.`,
|
|
|
61213
61515
|
|
|
61214
61516
|
// src/funcs/siteAuditsV2SiteAuditsList.ts
|
|
61215
61517
|
function siteAuditsV2SiteAuditsList(client$, options) {
|
|
61216
|
-
return new APIPromise($
|
|
61518
|
+
return new APIPromise($do49(client$, options));
|
|
61217
61519
|
}
|
|
61218
|
-
async function $
|
|
61520
|
+
async function $do49(client$, options) {
|
|
61219
61521
|
const path$ = pathToFunc("/v2/site-audits")();
|
|
61220
61522
|
const headers$ = new Headers(compactMap({
|
|
61221
61523
|
Accept: "application/json"
|
|
@@ -61356,9 +61658,9 @@ var init_v2siteauditsretrieveop = __esm(() => {
|
|
|
61356
61658
|
|
|
61357
61659
|
// src/funcs/siteAuditsV2SiteAuditsRetrieve.ts
|
|
61358
61660
|
function siteAuditsV2SiteAuditsRetrieve(client$, request, options) {
|
|
61359
|
-
return new APIPromise($
|
|
61661
|
+
return new APIPromise($do50(client$, request, options));
|
|
61360
61662
|
}
|
|
61361
|
-
async function $
|
|
61663
|
+
async function $do50(client$, request, options) {
|
|
61362
61664
|
const parsed$ = safeParse4(request, (value$) => V2SiteAuditsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61363
61665
|
if (!parsed$.ok) {
|
|
61364
61666
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61433,12 +61735,12 @@ var init_siteAuditsV2SiteAuditsRetrieve = __esm(() => {
|
|
|
61433
61735
|
});
|
|
61434
61736
|
|
|
61435
61737
|
// src/mcp-server/tools/siteAuditsV2SiteAuditsRetrieve.ts
|
|
61436
|
-
var
|
|
61738
|
+
var args41, tool$siteAuditsV2SiteAuditsRetrieve;
|
|
61437
61739
|
var init_siteAuditsV2SiteAuditsRetrieve2 = __esm(() => {
|
|
61438
61740
|
init_siteAuditsV2SiteAuditsRetrieve();
|
|
61439
61741
|
init_v2siteauditsretrieveop();
|
|
61440
61742
|
init_tools();
|
|
61441
|
-
|
|
61743
|
+
args41 = {
|
|
61442
61744
|
request: V2SiteAuditsRetrieveRequest$zodSchema
|
|
61443
61745
|
};
|
|
61444
61746
|
tool$siteAuditsV2SiteAuditsRetrieve = {
|
|
@@ -61453,7 +61755,7 @@ Returns one audited page with its score, priority, supporting evidence, and reco
|
|
|
61453
61755
|
openWorldHint: false,
|
|
61454
61756
|
readOnlyHint: true
|
|
61455
61757
|
},
|
|
61456
|
-
args:
|
|
61758
|
+
args: args41,
|
|
61457
61759
|
tool: async (client, args, ctx) => {
|
|
61458
61760
|
const [result] = await siteAuditsV2SiteAuditsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61459
61761
|
if (!result.ok) {
|
|
@@ -61469,9 +61771,9 @@ Returns one audited page with its score, priority, supporting evidence, and reco
|
|
|
61469
61771
|
|
|
61470
61772
|
// src/funcs/skillsV2SkillsList.ts
|
|
61471
61773
|
function skillsV2SkillsList(client$, options) {
|
|
61472
|
-
return new APIPromise($
|
|
61774
|
+
return new APIPromise($do51(client$, options));
|
|
61473
61775
|
}
|
|
61474
|
-
async function $
|
|
61776
|
+
async function $do51(client$, options) {
|
|
61475
61777
|
const path$ = pathToFunc("/v2/skills")();
|
|
61476
61778
|
const headers$ = new Headers(compactMap({
|
|
61477
61779
|
Accept: "application/json"
|
|
@@ -61561,9 +61863,9 @@ Returns reusable skills available to workflows and eval configurations.`,
|
|
|
61561
61863
|
|
|
61562
61864
|
// src/funcs/statusV2AuthStatusGet.ts
|
|
61563
61865
|
function statusV2AuthStatusGet(client$, options) {
|
|
61564
|
-
return new APIPromise($
|
|
61866
|
+
return new APIPromise($do52(client$, options));
|
|
61565
61867
|
}
|
|
61566
|
-
async function $
|
|
61868
|
+
async function $do52(client$, options) {
|
|
61567
61869
|
const path$ = pathToFunc("/v2/auth/status")();
|
|
61568
61870
|
const headers$ = new Headers(compactMap({
|
|
61569
61871
|
Accept: "application/json"
|
|
@@ -61653,9 +61955,9 @@ Validates the API key and returns its organization ID, API key ID, scopes, and a
|
|
|
61653
61955
|
|
|
61654
61956
|
// src/funcs/statusV2StatusGet.ts
|
|
61655
61957
|
function statusV2StatusGet(client$, options) {
|
|
61656
|
-
return new APIPromise($
|
|
61958
|
+
return new APIPromise($do53(client$, options));
|
|
61657
61959
|
}
|
|
61658
|
-
async function $
|
|
61960
|
+
async function $do53(client$, options) {
|
|
61659
61961
|
const path$ = pathToFunc("/v2/status")();
|
|
61660
61962
|
const headers$ = new Headers(compactMap({
|
|
61661
61963
|
Accept: "application/json"
|
|
@@ -61875,9 +62177,9 @@ var init_v2taskslistop = __esm(() => {
|
|
|
61875
62177
|
|
|
61876
62178
|
// src/funcs/tasksV2TasksList.ts
|
|
61877
62179
|
function tasksV2TasksList(client$, request, options) {
|
|
61878
|
-
return new APIPromise($
|
|
62180
|
+
return new APIPromise($do54(client$, request, options));
|
|
61879
62181
|
}
|
|
61880
|
-
async function $
|
|
62182
|
+
async function $do54(client$, request, options) {
|
|
61881
62183
|
const parsed$ = safeParse4(request, (value$) => V2TasksListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61882
62184
|
if (!parsed$.ok) {
|
|
61883
62185
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61951,12 +62253,12 @@ var init_tasksV2TasksList = __esm(() => {
|
|
|
61951
62253
|
});
|
|
61952
62254
|
|
|
61953
62255
|
// src/mcp-server/tools/tasksV2TasksList.ts
|
|
61954
|
-
var
|
|
62256
|
+
var args42, tool$tasksV2TasksList;
|
|
61955
62257
|
var init_tasksV2TasksList2 = __esm(() => {
|
|
61956
62258
|
init_tasksV2TasksList();
|
|
61957
62259
|
init_v2taskslistop();
|
|
61958
62260
|
init_tools();
|
|
61959
|
-
|
|
62261
|
+
args42 = {
|
|
61960
62262
|
request: V2TasksListRequest$zodSchema.optional()
|
|
61961
62263
|
};
|
|
61962
62264
|
tool$tasksV2TasksList = {
|
|
@@ -61971,7 +62273,7 @@ Returns persisted daily tasks with execution instructions. Includes per-status c
|
|
|
61971
62273
|
openWorldHint: false,
|
|
61972
62274
|
readOnlyHint: true
|
|
61973
62275
|
},
|
|
61974
|
-
args:
|
|
62276
|
+
args: args42,
|
|
61975
62277
|
tool: async (client, args, ctx) => {
|
|
61976
62278
|
const [result] = await tasksV2TasksList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61977
62279
|
if (!result.ok) {
|
|
@@ -62002,9 +62304,9 @@ var init_v2tasksretrieveop = __esm(() => {
|
|
|
62002
62304
|
|
|
62003
62305
|
// src/funcs/tasksV2TasksRetrieve.ts
|
|
62004
62306
|
function tasksV2TasksRetrieve(client$, request, options) {
|
|
62005
|
-
return new APIPromise($
|
|
62307
|
+
return new APIPromise($do55(client$, request, options));
|
|
62006
62308
|
}
|
|
62007
|
-
async function $
|
|
62309
|
+
async function $do55(client$, request, options) {
|
|
62008
62310
|
const parsed$ = safeParse4(request, (value$) => V2TasksRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
62009
62311
|
if (!parsed$.ok) {
|
|
62010
62312
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62079,12 +62381,12 @@ var init_tasksV2TasksRetrieve = __esm(() => {
|
|
|
62079
62381
|
});
|
|
62080
62382
|
|
|
62081
62383
|
// src/mcp-server/tools/tasksV2TasksRetrieve.ts
|
|
62082
|
-
var
|
|
62384
|
+
var args43, tool$tasksV2TasksRetrieve;
|
|
62083
62385
|
var init_tasksV2TasksRetrieve2 = __esm(() => {
|
|
62084
62386
|
init_tasksV2TasksRetrieve();
|
|
62085
62387
|
init_v2tasksretrieveop();
|
|
62086
62388
|
init_tools();
|
|
62087
|
-
|
|
62389
|
+
args43 = {
|
|
62088
62390
|
request: V2TasksRetrieveRequest$zodSchema
|
|
62089
62391
|
};
|
|
62090
62392
|
tool$tasksV2TasksRetrieve = {
|
|
@@ -62099,7 +62401,7 @@ Returns one persisted task and its execution prompt.`,
|
|
|
62099
62401
|
openWorldHint: false,
|
|
62100
62402
|
readOnlyHint: true
|
|
62101
62403
|
},
|
|
62102
|
-
args:
|
|
62404
|
+
args: args43,
|
|
62103
62405
|
tool: async (client, args, ctx) => {
|
|
62104
62406
|
const [result] = await tasksV2TasksRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62105
62407
|
if (!result.ok) {
|
|
@@ -62162,9 +62464,9 @@ var init_v2tasksupdateop = __esm(() => {
|
|
|
62162
62464
|
|
|
62163
62465
|
// src/funcs/tasksV2TasksUpdate.ts
|
|
62164
62466
|
function tasksV2TasksUpdate(client$, request, options) {
|
|
62165
|
-
return new APIPromise($
|
|
62467
|
+
return new APIPromise($do56(client$, request, options));
|
|
62166
62468
|
}
|
|
62167
|
-
async function $
|
|
62469
|
+
async function $do56(client$, request, options) {
|
|
62168
62470
|
const parsed$ = safeParse4(request, (value$) => V2TasksUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
62169
62471
|
if (!parsed$.ok) {
|
|
62170
62472
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62240,12 +62542,12 @@ var init_tasksV2TasksUpdate = __esm(() => {
|
|
|
62240
62542
|
});
|
|
62241
62543
|
|
|
62242
62544
|
// src/mcp-server/tools/tasksV2TasksUpdate.ts
|
|
62243
|
-
var
|
|
62545
|
+
var args44, tool$tasksV2TasksUpdate;
|
|
62244
62546
|
var init_tasksV2TasksUpdate2 = __esm(() => {
|
|
62245
62547
|
init_tasksV2TasksUpdate();
|
|
62246
62548
|
init_v2tasksupdateop();
|
|
62247
62549
|
init_tools();
|
|
62248
|
-
|
|
62550
|
+
args44 = {
|
|
62249
62551
|
request: V2TasksUpdateRequest$zodSchema
|
|
62250
62552
|
};
|
|
62251
62553
|
tool$tasksV2TasksUpdate = {
|
|
@@ -62260,7 +62562,7 @@ Updates a task's status, priority, assignee, or action type. Only sent fields ar
|
|
|
62260
62562
|
openWorldHint: false,
|
|
62261
62563
|
readOnlyHint: false
|
|
62262
62564
|
},
|
|
62263
|
-
args:
|
|
62565
|
+
args: args44,
|
|
62264
62566
|
tool: async (client, args, ctx) => {
|
|
62265
62567
|
const [result] = await tasksV2TasksUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62266
62568
|
if (!result.ok) {
|
|
@@ -62348,9 +62650,9 @@ var init_v2visibilitycitationslistop = __esm(() => {
|
|
|
62348
62650
|
|
|
62349
62651
|
// src/funcs/visibilityV2VisibilityCitationsList.ts
|
|
62350
62652
|
function visibilityV2VisibilityCitationsList(client$, request, options) {
|
|
62351
|
-
return new APIPromise($
|
|
62653
|
+
return new APIPromise($do57(client$, request, options));
|
|
62352
62654
|
}
|
|
62353
|
-
async function $
|
|
62655
|
+
async function $do57(client$, request, options) {
|
|
62354
62656
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityCitationsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
62355
62657
|
if (!parsed$.ok) {
|
|
62356
62658
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62427,12 +62729,12 @@ var init_visibilityV2VisibilityCitationsList = __esm(() => {
|
|
|
62427
62729
|
});
|
|
62428
62730
|
|
|
62429
62731
|
// src/mcp-server/tools/visibilityV2VisibilityCitationsList.ts
|
|
62430
|
-
var
|
|
62732
|
+
var args45, tool$visibilityV2VisibilityCitationsList;
|
|
62431
62733
|
var init_visibilityV2VisibilityCitationsList2 = __esm(() => {
|
|
62432
62734
|
init_visibilityV2VisibilityCitationsList();
|
|
62433
62735
|
init_v2visibilitycitationslistop();
|
|
62434
62736
|
init_tools();
|
|
62435
|
-
|
|
62737
|
+
args45 = {
|
|
62436
62738
|
request: V2VisibilityCitationsListRequest$zodSchema.optional()
|
|
62437
62739
|
};
|
|
62438
62740
|
tool$visibilityV2VisibilityCitationsList = {
|
|
@@ -62447,7 +62749,7 @@ Returns URL-level citation counts ranked from most to least cited. Results can b
|
|
|
62447
62749
|
openWorldHint: false,
|
|
62448
62750
|
readOnlyHint: true
|
|
62449
62751
|
},
|
|
62450
|
-
args:
|
|
62752
|
+
args: args45,
|
|
62451
62753
|
tool: async (client, args, ctx) => {
|
|
62452
62754
|
const [result] = await visibilityV2VisibilityCitationsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62453
62755
|
if (!result.ok) {
|
|
@@ -62512,9 +62814,9 @@ var init_v2visibilitycurrentretrieveop = __esm(() => {
|
|
|
62512
62814
|
|
|
62513
62815
|
// src/funcs/visibilityV2VisibilityCurrentRetrieve.ts
|
|
62514
62816
|
function visibilityV2VisibilityCurrentRetrieve(client$, request, options) {
|
|
62515
|
-
return new APIPromise($
|
|
62817
|
+
return new APIPromise($do58(client$, request, options));
|
|
62516
62818
|
}
|
|
62517
|
-
async function $
|
|
62819
|
+
async function $do58(client$, request, options) {
|
|
62518
62820
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityCurrentRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
62519
62821
|
if (!parsed$.ok) {
|
|
62520
62822
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62588,12 +62890,12 @@ var init_visibilityV2VisibilityCurrentRetrieve = __esm(() => {
|
|
|
62588
62890
|
});
|
|
62589
62891
|
|
|
62590
62892
|
// src/mcp-server/tools/visibilityV2VisibilityCurrentRetrieve.ts
|
|
62591
|
-
var
|
|
62893
|
+
var args46, tool$visibilityV2VisibilityCurrentRetrieve;
|
|
62592
62894
|
var init_visibilityV2VisibilityCurrentRetrieve2 = __esm(() => {
|
|
62593
62895
|
init_visibilityV2VisibilityCurrentRetrieve();
|
|
62594
62896
|
init_v2visibilitycurrentretrieveop();
|
|
62595
62897
|
init_tools();
|
|
62596
|
-
|
|
62898
|
+
args46 = {
|
|
62597
62899
|
request: V2VisibilityCurrentRetrieveRequest$zodSchema.optional()
|
|
62598
62900
|
};
|
|
62599
62901
|
tool$visibilityV2VisibilityCurrentRetrieve = {
|
|
@@ -62608,7 +62910,7 @@ Returns visibility score, share of voice, ranks, and date-range metadata for the
|
|
|
62608
62910
|
openWorldHint: false,
|
|
62609
62911
|
readOnlyHint: true
|
|
62610
62912
|
},
|
|
62611
|
-
args:
|
|
62913
|
+
args: args46,
|
|
62612
62914
|
tool: async (client, args, ctx) => {
|
|
62613
62915
|
const [result] = await visibilityV2VisibilityCurrentRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62614
62916
|
if (!result.ok) {
|
|
@@ -62751,9 +63053,9 @@ var init_v2visibilityoverviewretrieveop = __esm(() => {
|
|
|
62751
63053
|
|
|
62752
63054
|
// src/funcs/visibilityV2VisibilityOverviewRetrieve.ts
|
|
62753
63055
|
function visibilityV2VisibilityOverviewRetrieve(client$, request, options) {
|
|
62754
|
-
return new APIPromise($
|
|
63056
|
+
return new APIPromise($do59(client$, request, options));
|
|
62755
63057
|
}
|
|
62756
|
-
async function $
|
|
63058
|
+
async function $do59(client$, request, options) {
|
|
62757
63059
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityOverviewRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
62758
63060
|
if (!parsed$.ok) {
|
|
62759
63061
|
return [parsed$, { status: "invalid" }];
|
|
@@ -62827,12 +63129,12 @@ var init_visibilityV2VisibilityOverviewRetrieve = __esm(() => {
|
|
|
62827
63129
|
});
|
|
62828
63130
|
|
|
62829
63131
|
// src/mcp-server/tools/visibilityV2VisibilityOverviewRetrieve.ts
|
|
62830
|
-
var
|
|
63132
|
+
var args47, tool$visibilityV2VisibilityOverviewRetrieve;
|
|
62831
63133
|
var init_visibilityV2VisibilityOverviewRetrieve2 = __esm(() => {
|
|
62832
63134
|
init_visibilityV2VisibilityOverviewRetrieve();
|
|
62833
63135
|
init_v2visibilityoverviewretrieveop();
|
|
62834
63136
|
init_tools();
|
|
62835
|
-
|
|
63137
|
+
args47 = {
|
|
62836
63138
|
request: V2VisibilityOverviewRetrieveRequest$zodSchema.optional()
|
|
62837
63139
|
};
|
|
62838
63140
|
tool$visibilityV2VisibilityOverviewRetrieve = {
|
|
@@ -62847,7 +63149,7 @@ Returns aggregate snapshot, daily trends, per-platform breakdowns, and competito
|
|
|
62847
63149
|
openWorldHint: false,
|
|
62848
63150
|
readOnlyHint: true
|
|
62849
63151
|
},
|
|
62850
|
-
args:
|
|
63152
|
+
args: args47,
|
|
62851
63153
|
tool: async (client, args, ctx) => {
|
|
62852
63154
|
const [result] = await visibilityV2VisibilityOverviewRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62853
63155
|
if (!result.ok) {
|
|
@@ -62961,9 +63263,9 @@ var init_v2visibilitypromptsretrieveop = __esm(() => {
|
|
|
62961
63263
|
|
|
62962
63264
|
// src/funcs/visibilityV2VisibilityPromptsRetrieve.ts
|
|
62963
63265
|
function visibilityV2VisibilityPromptsRetrieve(client$, request, options) {
|
|
62964
|
-
return new APIPromise($
|
|
63266
|
+
return new APIPromise($do60(client$, request, options));
|
|
62965
63267
|
}
|
|
62966
|
-
async function $
|
|
63268
|
+
async function $do60(client$, request, options) {
|
|
62967
63269
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityPromptsRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
62968
63270
|
if (!parsed$.ok) {
|
|
62969
63271
|
return [parsed$, { status: "invalid" }];
|
|
@@ -63037,12 +63339,12 @@ var init_visibilityV2VisibilityPromptsRetrieve = __esm(() => {
|
|
|
63037
63339
|
});
|
|
63038
63340
|
|
|
63039
63341
|
// src/mcp-server/tools/visibilityV2VisibilityPromptsRetrieve.ts
|
|
63040
|
-
var
|
|
63342
|
+
var args48, tool$visibilityV2VisibilityPromptsRetrieve;
|
|
63041
63343
|
var init_visibilityV2VisibilityPromptsRetrieve2 = __esm(() => {
|
|
63042
63344
|
init_visibilityV2VisibilityPromptsRetrieve();
|
|
63043
63345
|
init_v2visibilitypromptsretrieveop();
|
|
63044
63346
|
init_tools();
|
|
63045
|
-
|
|
63347
|
+
args48 = {
|
|
63046
63348
|
request: V2VisibilityPromptsRetrieveRequest$zodSchema.optional()
|
|
63047
63349
|
};
|
|
63048
63350
|
tool$visibilityV2VisibilityPromptsRetrieve = {
|
|
@@ -63057,7 +63359,7 @@ Returns per-topic and per-prompt visibility metrics including score, rank, share
|
|
|
63057
63359
|
openWorldHint: false,
|
|
63058
63360
|
readOnlyHint: true
|
|
63059
63361
|
},
|
|
63060
|
-
args:
|
|
63362
|
+
args: args48,
|
|
63061
63363
|
tool: async (client, args, ctx) => {
|
|
63062
63364
|
const [result] = await visibilityV2VisibilityPromptsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
63063
63365
|
if (!result.ok) {
|
|
@@ -63081,7 +63383,7 @@ function createMCPServer(deps) {
|
|
|
63081
63383
|
sizes: ["any"]
|
|
63082
63384
|
}],
|
|
63083
63385
|
name: "LightsageMcp",
|
|
63084
|
-
version: "0.4.
|
|
63386
|
+
version: "0.4.3"
|
|
63085
63387
|
});
|
|
63086
63388
|
const getClient = deps.getSDK || (() => new LightsageMcpCore({
|
|
63087
63389
|
security: deps.security,
|
|
@@ -63117,6 +63419,8 @@ function createMCPServer(deps) {
|
|
|
63117
63419
|
tool(tool$promptsV2PromptsRetrieve);
|
|
63118
63420
|
tool(tool$promptsV2PromptsUpdate);
|
|
63119
63421
|
tool(tool$promptsV2PromptsDelete);
|
|
63422
|
+
tool(tool$promptsRun);
|
|
63423
|
+
tool(tool$promptsRunStatus);
|
|
63120
63424
|
tool(tool$opportunitiesV2OpportunitiesList);
|
|
63121
63425
|
tool(tool$opportunitiesV2OpportunitiesRetrieve);
|
|
63122
63426
|
tool(tool$tasksV2TasksList);
|
|
@@ -63198,6 +63502,8 @@ var init_server2 = __esm(() => {
|
|
|
63198
63502
|
init_mcpServersV2MCPServersList2();
|
|
63199
63503
|
init_opportunitiesV2OpportunitiesList2();
|
|
63200
63504
|
init_opportunitiesV2OpportunitiesRetrieve2();
|
|
63505
|
+
init_promptsRun2();
|
|
63506
|
+
init_promptsRunStatus2();
|
|
63201
63507
|
init_promptsV2PromptRunsList2();
|
|
63202
63508
|
init_promptsV2PromptRunsRetrieve2();
|
|
63203
63509
|
init_promptsV2PromptsCreate2();
|
|
@@ -63326,6 +63632,21 @@ Updates a prompt's text, topic, platforms, lifecycle status, or coding-agent run
|
|
|
63326
63632
|
|
|
63327
63633
|
Archives the prompt and excludes it from normal listings while preserving its historical run data.`
|
|
63328
63634
|
},
|
|
63635
|
+
{
|
|
63636
|
+
name: "prompts-run",
|
|
63637
|
+
description: `Run Prompts
|
|
63638
|
+
|
|
63639
|
+
Queue saved prompts using the organization's configured targets.
|
|
63640
|
+
|
|
63641
|
+
Provide \`prompt_ids\` to run selected prompts, or omit them to run all active
|
|
63642
|
+
prompts. Saved prompt run settings apply to coding-agent targets. The
|
|
63643
|
+
response returns a run ID to poll with
|
|
63644
|
+
\`GET /v2/prompts/runs/{run_id}/status\`.`
|
|
63645
|
+
},
|
|
63646
|
+
{
|
|
63647
|
+
name: "prompts-run-status",
|
|
63648
|
+
description: "Get Prompt Run Status\n\nReturn status and progress for a queued prompt run.\n\nPoll this endpoint until `status` is `completed`, `failed`, or `cancelled`.\nIndividual stored results are available from `GET /v2/prompts/runs`."
|
|
63649
|
+
},
|
|
63329
63650
|
{
|
|
63330
63651
|
name: "opportunities-v2-opportunities-list",
|
|
63331
63652
|
description: "List Opportunities\n\nReturns ranked opportunities computed from stored prompt visibility results. Each includes an `execution_prompt` with context for an AI agent. Default window is 30 days."
|
|
@@ -64456,7 +64777,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
|
|
|
64456
64777
|
<h1>Instructions</h1>
|
|
64457
64778
|
<p>One-click installation for Claude Desktop users</p>
|
|
64458
64779
|
<div class="instruction-item">
|
|
64459
|
-
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.
|
|
64780
|
+
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.3/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
64460
64781
|
\uD83D\uDCE5 Download MCP Bundle
|
|
64461
64782
|
</a>
|
|
64462
64783
|
</div>
|
|
@@ -67334,7 +67655,7 @@ var routes = buildRouteMap({
|
|
|
67334
67655
|
var app = buildApplication(routes, {
|
|
67335
67656
|
name: "mcp",
|
|
67336
67657
|
versionInfo: {
|
|
67337
|
-
currentVersion: "0.4.
|
|
67658
|
+
currentVersion: "0.4.3"
|
|
67338
67659
|
}
|
|
67339
67660
|
});
|
|
67340
67661
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -67342,5 +67663,5 @@ export {
|
|
|
67342
67663
|
app
|
|
67343
67664
|
};
|
|
67344
67665
|
|
|
67345
|
-
//# debugId=
|
|
67666
|
+
//# debugId=64F7A4E74599E0B064756E2164756E21
|
|
67346
67667
|
//# sourceMappingURL=mcp-server.js.map
|