skedyul 0.2.54 → 0.2.55

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
- 1769486330731
1
+ 1769488068154
package/dist/types.d.ts CHANGED
@@ -95,9 +95,19 @@ export interface ToolExecutionContext {
95
95
  export interface BillingInfo {
96
96
  credits: number;
97
97
  }
98
+ /**
99
+ * Client-side effects that the tool wants the UI to execute.
100
+ * These are separate from the data output and represent navigation/UI actions.
101
+ */
102
+ export interface ToolEffect {
103
+ /** URL to navigate to after the tool completes */
104
+ redirect?: string;
105
+ }
98
106
  export interface ToolExecutionResult<Output = unknown> {
99
107
  output: Output;
100
108
  billing: BillingInfo;
109
+ /** Optional client-side effects to execute */
110
+ effect?: ToolEffect;
101
111
  }
102
112
  export interface ToolSchemaWithJson<Schema extends z.ZodTypeAny = z.ZodTypeAny> {
103
113
  zod: Schema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skedyul",
3
- "version": "0.2.54",
3
+ "version": "0.2.55",
4
4
  "description": "The Skedyul SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",