executor 1.3.0-beta.2 → 1.3.0-beta.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/bin/executor.mjs +13 -3
- package/package.json +1 -1
- package/resources/web/assets/{highlighted-body-TPN3WLV5-D5HE2RY_.js → highlighted-body-TPN3WLV5-CDRNFkjL.js} +1 -1
- package/resources/web/assets/{index-D9LheAJJ.js → index-Dd_qDhpI.js} +2 -2
- package/resources/web/assets/{mermaid-O7DHMXV3-BRg34qvu.js → mermaid-O7DHMXV3-CSkwp1or.js} +115 -115
- package/resources/web/assets/mermaid-O7DHMXV3-TBgTjb2d.css +1 -0
- package/resources/web/index.html +1 -1
- package/resources/web/assets/mermaid-O7DHMXV3-BJkcto5N.css +0 -1
package/bin/executor.mjs
CHANGED
|
@@ -354738,6 +354738,7 @@ var McpStartOAuthInputSchema = Struct({
|
|
|
354738
354738
|
});
|
|
354739
354739
|
var McpDiscoverInputSchema = Struct({
|
|
354740
354740
|
endpoint: String$,
|
|
354741
|
+
queryParams: optional(NullOr(StringMapSchema)),
|
|
354741
354742
|
probeAuth: optional(NullOr(SourceProbeAuthSchema))
|
|
354742
354743
|
});
|
|
354743
354744
|
var McpDiscoverResultSchema = NullOr(SourceDiscoveryResultSchema);
|
|
@@ -354909,6 +354910,9 @@ var createMcpCapability = (input) => {
|
|
|
354909
354910
|
auth: { kind: "none" },
|
|
354910
354911
|
interaction: {
|
|
354911
354912
|
...interaction,
|
|
354913
|
+
approval: {
|
|
354914
|
+
mayRequire: false
|
|
354915
|
+
},
|
|
354912
354916
|
resume: {
|
|
354913
354917
|
supported: mcpResumeSupport(input.operation.providerData.execution)
|
|
354914
354918
|
}
|
|
@@ -357477,7 +357481,7 @@ var mcpCatalogOperationFromManifestEntry = (input) => ({
|
|
|
357477
357481
|
toolId: input.entry.toolId,
|
|
357478
357482
|
title: input.entry.displayTitle ?? input.entry.title ?? input.entry.toolName,
|
|
357479
357483
|
description: input.entry.description ?? null,
|
|
357480
|
-
effect:
|
|
357484
|
+
effect: "read",
|
|
357481
357485
|
inputSchema: input.entry.inputSchema,
|
|
357482
357486
|
outputSchema: input.entry.outputSchema,
|
|
357483
357487
|
providerData: {
|
|
@@ -357839,7 +357843,10 @@ var mcpSdkPlugin = (options7) => defineExecutorSourcePlugin({
|
|
|
357839
357843
|
inputSchema: McpDiscoverInputSchema,
|
|
357840
357844
|
outputSchema: McpDiscoverResultSchema,
|
|
357841
357845
|
execute: ({ args: args2 }) => gen2(function* () {
|
|
357842
|
-
const normalizedUrl = normalizeSourceDiscoveryUrl(
|
|
357846
|
+
const normalizedUrl = normalizeSourceDiscoveryUrl(resolveMcpEndpoint({
|
|
357847
|
+
endpoint: args2.endpoint.trim(),
|
|
357848
|
+
queryParams: args2.queryParams
|
|
357849
|
+
}));
|
|
357843
357850
|
const discovered = yield* detectMcpSource({
|
|
357844
357851
|
normalizedUrl,
|
|
357845
357852
|
headers: probeHeadersFromAuth(args2.probeAuth ?? null)
|
|
@@ -357977,7 +357984,10 @@ var mcpSdkPlugin = (options7) => defineExecutorSourcePlugin({
|
|
|
357977
357984
|
const provideRuntime = (effect3) => provideExecutorRuntime(effect3, executor.runtime);
|
|
357978
357985
|
return {
|
|
357979
357986
|
discoverSource: (input) => provideRuntime(gen2(function* () {
|
|
357980
|
-
const normalizedUrl = normalizeSourceDiscoveryUrl(
|
|
357987
|
+
const normalizedUrl = normalizeSourceDiscoveryUrl(resolveMcpEndpoint({
|
|
357988
|
+
endpoint: input.endpoint.trim(),
|
|
357989
|
+
queryParams: input.queryParams
|
|
357990
|
+
}));
|
|
357981
357991
|
const discovered = yield* detectMcpSource({
|
|
357982
357992
|
normalizedUrl,
|
|
357983
357993
|
headers: probeHeadersFromAuth(input.probeAuth ?? null)
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,R as c,M as p,B as x}from"./mermaid-O7DHMXV3-
|
|
1
|
+
import{r,R as c,M as p,B as x}from"./mermaid-O7DHMXV3-CSkwp1or.js";import{j as d}from"./index-CRuElBS1.js";var R=({code:i,language:e,raw:t,className:g,startLine:u,...m})=>{let{shikiTheme:o}=r.useContext(c),a=p(),[n,s]=r.useState(t);return r.useEffect(()=>{if(!a){s(t);return}let l=a.highlight({code:i,language:e,themes:o},h=>{s(h)});l&&s(l)},[i,e,o,a,t]),d.jsx(x,{className:g,language:e,result:n,startLine:u,...m})};export{R as HighlightedCodeBlockBody};
|