skedyul 0.3.7 → 0.3.8

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/.build-stamp CHANGED
@@ -1 +1 @@
1
- 1771569422848
1
+ 1771570282220
@@ -132,11 +132,12 @@ function createSkedyulServer(config, registry, webhookRegistry) {
132
132
  inputSchema: wrappedInputSchema,
133
133
  outputSchema: outputZodSchema,
134
134
  }, async (args) => {
135
- // Args are in Skedyul format: { inputs: {...}, context: {...}, env: {...} }
135
+ // Args are in Skedyul format: { inputs: {...}, context: {...}, env: {...}, invocation: {...} }
136
136
  const rawArgs = args;
137
137
  const toolInputs = (rawArgs.inputs ?? {});
138
138
  const toolContext = rawArgs.context;
139
139
  const toolEnv = rawArgs.env;
140
+ const toolInvocation = rawArgs.invocation;
140
141
  // Validate inputs if schema exists
141
142
  let validatedInputs = toolInputs;
142
143
  if (inputZodSchema) {
@@ -167,6 +168,7 @@ function createSkedyulServer(config, registry, webhookRegistry) {
167
168
  inputs: validatedInputs,
168
169
  context: toolContext,
169
170
  env: toolEnv,
171
+ invocation: toolInvocation,
170
172
  });
171
173
  // Handle error case
172
174
  if (result.error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skedyul",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "The Skedyul SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",