@slashfi/agents-sdk 0.77.3 → 0.79.0
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/call-agent-schema.d.ts +12 -12
- package/dist/cjs/config-store.js +340 -68
- package/dist/cjs/config-store.js.map +1 -1
- package/dist/cjs/define-config.js.map +1 -1
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/config-store.d.ts +90 -4
- package/dist/config-store.d.ts.map +1 -1
- package/dist/config-store.js +339 -68
- package/dist/config-store.js.map +1 -1
- package/dist/define-config.d.ts +28 -4
- package/dist/define-config.d.ts.map +1 -1
- package/dist/define-config.js.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/config-store.test.ts +499 -28
- package/src/config-store.ts +846 -250
- package/src/define-config.ts +47 -21
- package/src/index.ts +18 -13
|
@@ -138,18 +138,18 @@ export declare const describeToolsActionSchema: z.ZodObject<{
|
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
path: string;
|
|
140
140
|
action: "describe_tools";
|
|
141
|
+
tools?: string[] | undefined;
|
|
141
142
|
callerId?: string | undefined;
|
|
142
143
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
143
144
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
144
|
-
tools?: string[] | undefined;
|
|
145
145
|
full?: boolean | undefined;
|
|
146
146
|
}, {
|
|
147
147
|
path: string;
|
|
148
148
|
action: "describe_tools";
|
|
149
|
+
tools?: string[] | undefined;
|
|
149
150
|
callerId?: string | undefined;
|
|
150
151
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
151
152
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
152
|
-
tools?: string[] | undefined;
|
|
153
153
|
full?: boolean | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
/** Load: get agent definition */
|
|
@@ -311,18 +311,18 @@ export declare const callAgentRequestSchema: z.ZodDiscriminatedUnion<"action", [
|
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
path: string;
|
|
313
313
|
action: "describe_tools";
|
|
314
|
+
tools?: string[] | undefined;
|
|
314
315
|
callerId?: string | undefined;
|
|
315
316
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
316
317
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
317
|
-
tools?: string[] | undefined;
|
|
318
318
|
full?: boolean | undefined;
|
|
319
319
|
}, {
|
|
320
320
|
path: string;
|
|
321
321
|
action: "describe_tools";
|
|
322
|
+
tools?: string[] | undefined;
|
|
322
323
|
callerId?: string | undefined;
|
|
323
324
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
324
325
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
325
|
-
tools?: string[] | undefined;
|
|
326
326
|
full?: boolean | undefined;
|
|
327
327
|
}>, z.ZodObject<{
|
|
328
328
|
path: z.ZodString;
|
|
@@ -497,18 +497,18 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
498
|
path: string;
|
|
499
499
|
action: "describe_tools";
|
|
500
|
+
tools?: string[] | undefined;
|
|
500
501
|
callerId?: string | undefined;
|
|
501
502
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
502
503
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
503
|
-
tools?: string[] | undefined;
|
|
504
504
|
full?: boolean | undefined;
|
|
505
505
|
}, {
|
|
506
506
|
path: string;
|
|
507
507
|
action: "describe_tools";
|
|
508
|
+
tools?: string[] | undefined;
|
|
508
509
|
callerId?: string | undefined;
|
|
509
510
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
510
511
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
511
|
-
tools?: string[] | undefined;
|
|
512
512
|
full?: boolean | undefined;
|
|
513
513
|
}>, z.ZodObject<{
|
|
514
514
|
path: z.ZodString;
|
|
@@ -601,10 +601,10 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
601
601
|
} | {
|
|
602
602
|
path: string;
|
|
603
603
|
action: "describe_tools";
|
|
604
|
+
tools?: string[] | undefined;
|
|
604
605
|
callerId?: string | undefined;
|
|
605
606
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
606
607
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
607
|
-
tools?: string[] | undefined;
|
|
608
608
|
full?: boolean | undefined;
|
|
609
609
|
} | {
|
|
610
610
|
path: string;
|
|
@@ -656,10 +656,10 @@ export declare const callAgentToolInputSchema: z.ZodObject<{
|
|
|
656
656
|
} | {
|
|
657
657
|
path: string;
|
|
658
658
|
action: "describe_tools";
|
|
659
|
+
tools?: string[] | undefined;
|
|
659
660
|
callerId?: string | undefined;
|
|
660
661
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
661
662
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
662
|
-
tools?: string[] | undefined;
|
|
663
663
|
full?: boolean | undefined;
|
|
664
664
|
} | {
|
|
665
665
|
path: string;
|
|
@@ -788,18 +788,18 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
788
788
|
}, "strip", z.ZodTypeAny, {
|
|
789
789
|
path: string;
|
|
790
790
|
action: "describe_tools";
|
|
791
|
+
tools?: string[] | undefined;
|
|
791
792
|
callerId?: string | undefined;
|
|
792
793
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
793
794
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
794
|
-
tools?: string[] | undefined;
|
|
795
795
|
full?: boolean | undefined;
|
|
796
796
|
}, {
|
|
797
797
|
path: string;
|
|
798
798
|
action: "describe_tools";
|
|
799
|
+
tools?: string[] | undefined;
|
|
799
800
|
callerId?: string | undefined;
|
|
800
801
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
801
802
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
802
|
-
tools?: string[] | undefined;
|
|
803
803
|
full?: boolean | undefined;
|
|
804
804
|
}>, z.ZodObject<{
|
|
805
805
|
path: z.ZodString;
|
|
@@ -892,10 +892,10 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
892
892
|
} | {
|
|
893
893
|
path: string;
|
|
894
894
|
action: "describe_tools";
|
|
895
|
+
tools?: string[] | undefined;
|
|
895
896
|
callerId?: string | undefined;
|
|
896
897
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
897
898
|
metadata?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
898
|
-
tools?: string[] | undefined;
|
|
899
899
|
full?: boolean | undefined;
|
|
900
900
|
} | {
|
|
901
901
|
path: string;
|
|
@@ -947,10 +947,10 @@ export declare const callAgentValidationSchema: z.ZodObject<{
|
|
|
947
947
|
} | {
|
|
948
948
|
path: string;
|
|
949
949
|
action: "describe_tools";
|
|
950
|
+
tools?: string[] | undefined;
|
|
950
951
|
callerId?: string | undefined;
|
|
951
952
|
callerType?: "agent" | "user" | "system" | undefined;
|
|
952
953
|
metadata?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
953
|
-
tools?: string[] | undefined;
|
|
954
954
|
full?: boolean | undefined;
|
|
955
955
|
} | {
|
|
956
956
|
path: string;
|