@squadai/tools
Advanced tools
+166
-166
@@ -64,9 +64,9 @@ import { z } from 'zod'; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| query: z.ZodString; | ||
| filters: z.ZodDefault<z.ZodArray<z.ZodEnum<["knowledge-base", "insights", "opportunities", "solutions"]>, "many">>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -82,9 +82,9 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| query: z.ZodString; | ||
| filters: z.ZodDefault<z.ZodArray<z.ZodEnum<["knowledge-base", "insights", "opportunities", "solutions"]>, "many">>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -108,3 +108,3 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| title: z.ZodString; | ||
@@ -117,6 +117,6 @@ description: z.ZodString; | ||
| ownerId: z.ZodOptional<z.ZodString>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| title: string; | ||
@@ -142,3 +142,3 @@ description: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| title: z.ZodString; | ||
@@ -151,6 +151,6 @@ description: z.ZodString; | ||
| ownerId: z.ZodOptional<z.ZodString>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| title: string; | ||
@@ -184,6 +184,6 @@ description: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| parameters: z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -195,6 +195,6 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -214,9 +214,9 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| outcomeId: z.ZodString; | ||
| relationships: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["opportunities", "solutions", "feedback"]>, "many">>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -232,9 +232,9 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| outcomeId: z.ZodString; | ||
| relationships: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["opportunities", "solutions", "feedback"]>, "many">>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -258,3 +258,3 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| outcomeId: z.ZodString; | ||
@@ -268,6 +268,6 @@ title: z.ZodOptional<z.ZodString>; | ||
| ownerId: z.ZodOptional<z.ZodString>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -295,3 +295,3 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| outcomeId: z.ZodString; | ||
@@ -305,6 +305,6 @@ title: z.ZodOptional<z.ZodString>; | ||
| ownerId: z.ZodOptional<z.ZodString>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -340,8 +340,8 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| outcomeId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -355,8 +355,8 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| outcomeId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -378,10 +378,10 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| outcomeId: z.ZodString; | ||
| action: z.ZodEnum<["add", "remove"]>; | ||
| opportunityIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -399,10 +399,10 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| outcomeId: z.ZodString; | ||
| action: z.ZodEnum<["add", "remove"]>; | ||
| opportunityIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -428,9 +428,9 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| feedbackSource: z.ZodString; | ||
| body: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -446,9 +446,9 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| feedbackSource: z.ZodString; | ||
| body: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -472,6 +472,6 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| parameters: z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -483,6 +483,6 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -502,9 +502,9 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| feedbackId: z.ZodString; | ||
| relationships: z.ZodOptional<z.ZodEnum<["opportunities", "solutions", "outcomes"]>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -520,9 +520,9 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| feedbackId: z.ZodString; | ||
| relationships: z.ZodOptional<z.ZodEnum<["opportunities", "solutions", "outcomes"]>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -546,8 +546,8 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| feedbackId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -561,8 +561,8 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| feedbackId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -584,9 +584,9 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| title: z.ZodString; | ||
| description: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| title: string; | ||
@@ -602,9 +602,9 @@ description: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| title: z.ZodString; | ||
| description: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| title: string; | ||
@@ -628,6 +628,6 @@ description: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| parameters: z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -639,6 +639,6 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -658,9 +658,9 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
| relationships: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["solutions", "outcomes", "feedback"]>, "many">>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -676,9 +676,9 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
| relationships: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["solutions", "outcomes", "feedback"]>, "many">>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -702,3 +702,3 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
@@ -708,6 +708,6 @@ title: z.ZodOptional<z.ZodString>; | ||
| status: z.ZodOptional<z.ZodEnum<["New", "Solved", "Planned", "InProgress"]>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -727,3 +727,3 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
@@ -733,6 +733,6 @@ title: z.ZodOptional<z.ZodString>; | ||
| status: z.ZodOptional<z.ZodEnum<["New", "Solved", "Planned", "InProgress"]>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -760,8 +760,8 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -775,8 +775,8 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -798,9 +798,9 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
| prompt: z.ZodOptional<z.ZodString>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -816,9 +816,9 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
| prompt: z.ZodOptional<z.ZodString>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -842,3 +842,3 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
@@ -849,6 +849,6 @@ action: z.ZodEnum<["add", "remove"]>; | ||
| feedbackIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -870,3 +870,3 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| opportunityId: z.ZodString; | ||
@@ -877,6 +877,6 @@ action: z.ZodEnum<["add", "remove"]>; | ||
| feedbackIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -906,3 +906,3 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| title: z.ZodString; | ||
@@ -914,6 +914,6 @@ description: z.ZodString; | ||
| status: z.ZodOptional<z.ZodEnum<["New", "InDevelopment", "Planned", "Complete", "Cancelled", "Backlog"]>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| title: string; | ||
@@ -937,3 +937,3 @@ description: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| title: z.ZodString; | ||
@@ -945,6 +945,6 @@ description: z.ZodString; | ||
| status: z.ZodOptional<z.ZodEnum<["New", "InDevelopment", "Planned", "Complete", "Cancelled", "Backlog"]>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| title: string; | ||
@@ -976,6 +976,6 @@ description: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| parameters: z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -987,6 +987,6 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1006,9 +1006,9 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| solutionId: z.ZodString; | ||
| relationships: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["opportunities", "outcomes", "feedback"]>, "many">>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1024,9 +1024,9 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| solutionId: z.ZodString; | ||
| relationships: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["opportunities", "outcomes", "feedback"]>, "many">>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1050,3 +1050,3 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| solutionId: z.ZodString; | ||
@@ -1059,6 +1059,6 @@ title: z.ZodOptional<z.ZodString>; | ||
| status: z.ZodOptional<z.ZodEnum<["New", "InDevelopment", "Planned", "Complete", "Cancelled", "Backlog"]>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1084,3 +1084,3 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| solutionId: z.ZodString; | ||
@@ -1093,6 +1093,6 @@ title: z.ZodOptional<z.ZodString>; | ||
| status: z.ZodOptional<z.ZodEnum<["New", "InDevelopment", "Planned", "Complete", "Cancelled", "Backlog"]>>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1126,8 +1126,8 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| solutionId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1141,8 +1141,8 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| solutionId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1164,10 +1164,10 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| solutionId: z.ZodString; | ||
| action: z.ZodEnum<["add", "remove"]>; | ||
| opportunityIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1185,10 +1185,10 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| solutionId: z.ZodString; | ||
| action: z.ZodEnum<["add", "remove"]>; | ||
| opportunityIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1214,6 +1214,6 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| parameters: z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1225,6 +1225,6 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1244,3 +1244,3 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| workspaceId: z.ZodString; | ||
@@ -1252,6 +1252,6 @@ name: z.ZodOptional<z.ZodString>; | ||
| description: z.ZodOptional<z.ZodString>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1275,3 +1275,3 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| workspaceId: z.ZodString; | ||
@@ -1283,6 +1283,6 @@ name: z.ZodOptional<z.ZodString>; | ||
| description: z.ZodOptional<z.ZodString>; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1314,10 +1314,10 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| title: z.ZodString; | ||
| description: z.ZodString; | ||
| content: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| title: string; | ||
@@ -1335,10 +1335,10 @@ description: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| title: z.ZodString; | ||
| description: z.ZodString; | ||
| content: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| title: string; | ||
@@ -1364,6 +1364,6 @@ description: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{}, { | ||
| parameters: z.ZodObject<{ | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1384,8 +1384,8 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| knowledgeId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1399,8 +1399,8 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| knowledgeId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1422,8 +1422,8 @@ completedText: string; | ||
| description: string; | ||
| parameters: z.ZodObject<z.objectUtil.extendShape<{ | ||
| parameters: z.ZodObject<{ | ||
| knowledgeId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1437,8 +1437,8 @@ completedText: string; | ||
| }>; | ||
| execute: (args: z.infer<z.ZodObject<z.objectUtil.extendShape<{ | ||
| execute: (args: z.infer<z.ZodObject<{ | ||
| knowledgeId: z.ZodString; | ||
| }, { | ||
| } & { | ||
| inProgressText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| completedText: z.ZodDefault<z.ZodOptional<z.ZodString>>; | ||
| }>, "strip", z.ZodTypeAny, { | ||
| }, "strip", z.ZodTypeAny, { | ||
| inProgressText: string; | ||
@@ -1445,0 +1445,0 @@ completedText: string; |
+5
-3
| { | ||
| "name": "@squadai/tools", | ||
| "version": "1.5.0", | ||
| "version": "1.5.1", | ||
| "main": "./dist/index.js", | ||
@@ -16,3 +16,4 @@ "types": "./dist/index.d.ts", | ||
| "bin": { | ||
| "meet-squad": "./dist/index.js" | ||
| "meet-squad": "./dist/index.js", | ||
| "squadai-tools": "./dist/index.js" | ||
| }, | ||
@@ -24,2 +25,3 @@ "scripts": { | ||
| "build:package": "tsup --config tsup.config.ts", | ||
| "inspect": "npx @modelcontextprotocol/inspector node ./dist/index.js", | ||
| "openapi:squad": "openapi-generator-cli generate -g typescript-fetch -c ./openapi-generator-config.json -i ./openapi/squad.json -o src/lib/openapi/squad && npx tsx ./scripts/openapi-client-esm-fix.ts", | ||
@@ -36,3 +38,3 @@ "bun:build:macos:arm64": "bun build ./src/index.ts --compile --target=bun-darwin-arm64 --outfile ./bin/squad-mcp-macos-arm64", | ||
| "dependencies": { | ||
| "@modelcontextprotocol/sdk": "^1.8.0", | ||
| "@modelcontextprotocol/sdk": "1.17.5", | ||
| "zod": "^3.24.2" | ||
@@ -39,0 +41,0 @@ }, |
+35
-1
@@ -67,2 +67,12 @@ # Squad MCP Server | ||
| #### Option C – NPX *(recommended for easy setup)* | ||
| ```bash | ||
| # Run directly with npx (no installation required) | ||
| SQUAD_API_KEY=<your‑key> npx @squadai/tools | ||
| # Or pass API key as command argument | ||
| npx @squadai/tools --api-key <your‑key> | ||
| ``` | ||
| #### Option C – From source | ||
@@ -148,4 +158,28 @@ | ||
| Prefer `"command": "npx"` if you installed via NPX. | ||
| ### Using NPX | ||
| ```jsonc | ||
| { | ||
| "mcpServers": { | ||
| "squad": { | ||
| "command": "npx", | ||
| "args": ["@squadai/tools"], | ||
| "env": { | ||
| "SQUAD_API_KEY": "YOUR_API_KEY_HERE" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| ``` | ||
| ### Claude Code Integration | ||
| For [Claude Code](https://claude.ai/code), you can add the Squad MCP server using: | ||
| ```bash | ||
| claude mcp add squad -e SQUAD_API_KEY=YOUR_API_KEY_HERE -- npx @squadai/tools | ||
| ``` | ||
| This will make Squad tools available in all your Claude Code sessions. | ||
| Once your client restarts you should see the Squad tools (hammer 🔨 icon) listed and ready for use. | ||
@@ -152,0 +186,0 @@ |
203
20.12%1184349
-0.06%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed