skedyul 1.2.10 → 1.2.11
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/dist/cli/index.js +9 -0
- package/dist/dedicated/server.js +9 -0
- package/dist/esm/index.mjs +9 -0
- package/dist/index.js +9 -0
- package/dist/server.js +9 -0
- package/dist/serverless/server.mjs +9 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -4304,11 +4304,20 @@ function createSkedyulServer(config, registry, webhookRegistry) {
|
|
|
4304
4304
|
// outputSchema: outputZodSchema,
|
|
4305
4305
|
},
|
|
4306
4306
|
async (args2) => {
|
|
4307
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} received raw args:`, JSON.stringify(args2, null, 2));
|
|
4307
4308
|
const rawArgs = args2;
|
|
4308
4309
|
const toolInputs = rawArgs.inputs ?? {};
|
|
4309
4310
|
const toolContext = rawArgs.context;
|
|
4310
4311
|
const toolEnv = rawArgs.env;
|
|
4311
4312
|
const toolInvocation = rawArgs.invocation;
|
|
4313
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} extracted:`, {
|
|
4314
|
+
hasInputs: !!rawArgs.inputs,
|
|
4315
|
+
hasContext: !!rawArgs.context,
|
|
4316
|
+
hasEnv: !!rawArgs.env,
|
|
4317
|
+
hasInvocation: !!rawArgs.invocation,
|
|
4318
|
+
envKeys: toolEnv ? Object.keys(toolEnv) : [],
|
|
4319
|
+
hasApiToken: toolEnv?.SKEDYUL_API_TOKEN ? `yes (${toolEnv.SKEDYUL_API_TOKEN.length} chars)` : "no"
|
|
4320
|
+
});
|
|
4312
4321
|
let validatedInputs = toolInputs;
|
|
4313
4322
|
if (inputZodSchema) {
|
|
4314
4323
|
try {
|
package/dist/dedicated/server.js
CHANGED
|
@@ -2136,11 +2136,20 @@ function createSkedyulServer(config, registry, webhookRegistry) {
|
|
|
2136
2136
|
// outputSchema: outputZodSchema,
|
|
2137
2137
|
},
|
|
2138
2138
|
async (args) => {
|
|
2139
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} received raw args:`, JSON.stringify(args, null, 2));
|
|
2139
2140
|
const rawArgs = args;
|
|
2140
2141
|
const toolInputs = rawArgs.inputs ?? {};
|
|
2141
2142
|
const toolContext = rawArgs.context;
|
|
2142
2143
|
const toolEnv = rawArgs.env;
|
|
2143
2144
|
const toolInvocation = rawArgs.invocation;
|
|
2145
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} extracted:`, {
|
|
2146
|
+
hasInputs: !!rawArgs.inputs,
|
|
2147
|
+
hasContext: !!rawArgs.context,
|
|
2148
|
+
hasEnv: !!rawArgs.env,
|
|
2149
|
+
hasInvocation: !!rawArgs.invocation,
|
|
2150
|
+
envKeys: toolEnv ? Object.keys(toolEnv) : [],
|
|
2151
|
+
hasApiToken: toolEnv?.SKEDYUL_API_TOKEN ? `yes (${toolEnv.SKEDYUL_API_TOKEN.length} chars)` : "no"
|
|
2152
|
+
});
|
|
2144
2153
|
let validatedInputs = toolInputs;
|
|
2145
2154
|
if (inputZodSchema) {
|
|
2146
2155
|
try {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -3804,11 +3804,20 @@ function createSkedyulServer(config, registry, webhookRegistry) {
|
|
|
3804
3804
|
// outputSchema: outputZodSchema,
|
|
3805
3805
|
},
|
|
3806
3806
|
async (args) => {
|
|
3807
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} received raw args:`, JSON.stringify(args, null, 2));
|
|
3807
3808
|
const rawArgs = args;
|
|
3808
3809
|
const toolInputs = rawArgs.inputs ?? {};
|
|
3809
3810
|
const toolContext = rawArgs.context;
|
|
3810
3811
|
const toolEnv = rawArgs.env;
|
|
3811
3812
|
const toolInvocation = rawArgs.invocation;
|
|
3813
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} extracted:`, {
|
|
3814
|
+
hasInputs: !!rawArgs.inputs,
|
|
3815
|
+
hasContext: !!rawArgs.context,
|
|
3816
|
+
hasEnv: !!rawArgs.env,
|
|
3817
|
+
hasInvocation: !!rawArgs.invocation,
|
|
3818
|
+
envKeys: toolEnv ? Object.keys(toolEnv) : [],
|
|
3819
|
+
hasApiToken: toolEnv?.SKEDYUL_API_TOKEN ? `yes (${toolEnv.SKEDYUL_API_TOKEN.length} chars)` : "no"
|
|
3820
|
+
});
|
|
3812
3821
|
let validatedInputs = toolInputs;
|
|
3813
3822
|
if (inputZodSchema) {
|
|
3814
3823
|
try {
|
package/dist/index.js
CHANGED
|
@@ -3969,11 +3969,20 @@ function createSkedyulServer(config, registry, webhookRegistry) {
|
|
|
3969
3969
|
// outputSchema: outputZodSchema,
|
|
3970
3970
|
},
|
|
3971
3971
|
async (args) => {
|
|
3972
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} received raw args:`, JSON.stringify(args, null, 2));
|
|
3972
3973
|
const rawArgs = args;
|
|
3973
3974
|
const toolInputs = rawArgs.inputs ?? {};
|
|
3974
3975
|
const toolContext = rawArgs.context;
|
|
3975
3976
|
const toolEnv = rawArgs.env;
|
|
3976
3977
|
const toolInvocation = rawArgs.invocation;
|
|
3978
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} extracted:`, {
|
|
3979
|
+
hasInputs: !!rawArgs.inputs,
|
|
3980
|
+
hasContext: !!rawArgs.context,
|
|
3981
|
+
hasEnv: !!rawArgs.env,
|
|
3982
|
+
hasInvocation: !!rawArgs.invocation,
|
|
3983
|
+
envKeys: toolEnv ? Object.keys(toolEnv) : [],
|
|
3984
|
+
hasApiToken: toolEnv?.SKEDYUL_API_TOKEN ? `yes (${toolEnv.SKEDYUL_API_TOKEN.length} chars)` : "no"
|
|
3985
|
+
});
|
|
3977
3986
|
let validatedInputs = toolInputs;
|
|
3978
3987
|
if (inputZodSchema) {
|
|
3979
3988
|
try {
|
package/dist/server.js
CHANGED
|
@@ -2136,11 +2136,20 @@ function createSkedyulServer(config, registry, webhookRegistry) {
|
|
|
2136
2136
|
// outputSchema: outputZodSchema,
|
|
2137
2137
|
},
|
|
2138
2138
|
async (args) => {
|
|
2139
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} received raw args:`, JSON.stringify(args, null, 2));
|
|
2139
2140
|
const rawArgs = args;
|
|
2140
2141
|
const toolInputs = rawArgs.inputs ?? {};
|
|
2141
2142
|
const toolContext = rawArgs.context;
|
|
2142
2143
|
const toolEnv = rawArgs.env;
|
|
2143
2144
|
const toolInvocation = rawArgs.invocation;
|
|
2145
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} extracted:`, {
|
|
2146
|
+
hasInputs: !!rawArgs.inputs,
|
|
2147
|
+
hasContext: !!rawArgs.context,
|
|
2148
|
+
hasEnv: !!rawArgs.env,
|
|
2149
|
+
hasInvocation: !!rawArgs.invocation,
|
|
2150
|
+
envKeys: toolEnv ? Object.keys(toolEnv) : [],
|
|
2151
|
+
hasApiToken: toolEnv?.SKEDYUL_API_TOKEN ? `yes (${toolEnv.SKEDYUL_API_TOKEN.length} chars)` : "no"
|
|
2152
|
+
});
|
|
2144
2153
|
let validatedInputs = toolInputs;
|
|
2145
2154
|
if (inputZodSchema) {
|
|
2146
2155
|
try {
|
|
@@ -2075,11 +2075,20 @@ function createSkedyulServer(config, registry, webhookRegistry) {
|
|
|
2075
2075
|
// outputSchema: outputZodSchema,
|
|
2076
2076
|
},
|
|
2077
2077
|
async (args) => {
|
|
2078
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} received raw args:`, JSON.stringify(args, null, 2));
|
|
2078
2079
|
const rawArgs = args;
|
|
2079
2080
|
const toolInputs = rawArgs.inputs ?? {};
|
|
2080
2081
|
const toolContext = rawArgs.context;
|
|
2081
2082
|
const toolEnv = rawArgs.env;
|
|
2082
2083
|
const toolInvocation = rawArgs.invocation;
|
|
2084
|
+
console.log(`[mcpServer.registerTool] Tool ${toolName} extracted:`, {
|
|
2085
|
+
hasInputs: !!rawArgs.inputs,
|
|
2086
|
+
hasContext: !!rawArgs.context,
|
|
2087
|
+
hasEnv: !!rawArgs.env,
|
|
2088
|
+
hasInvocation: !!rawArgs.invocation,
|
|
2089
|
+
envKeys: toolEnv ? Object.keys(toolEnv) : [],
|
|
2090
|
+
hasApiToken: toolEnv?.SKEDYUL_API_TOKEN ? `yes (${toolEnv.SKEDYUL_API_TOKEN.length} chars)` : "no"
|
|
2091
|
+
});
|
|
2083
2092
|
let validatedInputs = toolInputs;
|
|
2084
2093
|
if (inputZodSchema) {
|
|
2085
2094
|
try {
|