@illalabs/interfaces 0.2.0-canary.eb4a29bf → 0.2.1

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.
@@ -86,7 +86,7 @@ export declare const ChatContextSchema: z.ZodObject<z.objectUtil.extendShape<Pic
86
86
  }, {
87
87
  address: string;
88
88
  }>;
89
- prompt: z.ZodObject<{
89
+ prompt: z.ZodOptional<z.ZodObject<{
90
90
  role: z.ZodEnum<["user", "assistant", "tool", "system"]>;
91
91
  content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
92
92
  type: z.ZodLiteral<"text">;
@@ -667,8 +667,31 @@ export declare const ChatContextSchema: z.ZodObject<z.objectUtil.extendShape<Pic
667
667
  toolCallId: string;
668
668
  error: import("../types/actions/errors.js").ActionError<unknown>;
669
669
  })[];
670
- }>;
670
+ }>>;
671
+ toolResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
672
+ toolCallId: z.ZodString;
673
+ toolName: z.ZodString;
674
+ result: z.ZodUnknown;
675
+ error: z.ZodOptional<z.ZodUnknown>;
676
+ }, "strict", z.ZodTypeAny, {
677
+ toolName: string;
678
+ toolCallId: string;
679
+ result?: unknown;
680
+ error?: unknown;
681
+ }, {
682
+ toolName: string;
683
+ toolCallId: string;
684
+ result?: unknown;
685
+ error?: unknown;
686
+ }>, "many">>;
671
687
  languageModel: z.ZodOptional<z.ZodString>;
688
+ personalityContext: z.ZodDefault<z.ZodOptional<z.ZodObject<{
689
+ channel: z.ZodEnum<["voice", "text"]>;
690
+ }, "strip", z.ZodTypeAny, {
691
+ channel: "text" | "voice";
692
+ }, {
693
+ channel: "text" | "voice";
694
+ }>>>;
672
695
  }, "messages">, {
673
696
  toolsConfig: z.ZodObject<{
674
697
  autoRouter: z.ZodOptional<z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"chatContext.d.ts","sourceRoot":"","sources":["../../src/schemas/chatContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI7B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
- import { CoreApiChatBodyRequestSchema } from "./chatRequestBody.js";
2
+ import { CoreApiChatBodyRequestBaseSchema } from "./chatRequestBody.js";
3
3
  import { ToolAutorouterSchema } from "./toolAutorouter.js";
4
- export const ChatContextSchema = CoreApiChatBodyRequestSchema.pick({ messages: true }).merge(z.object({
4
+ export const ChatContextSchema = CoreApiChatBodyRequestBaseSchema.pick({ messages: true }).merge(z.object({
5
5
  toolsConfig: ToolAutorouterSchema,
6
6
  }));
7
7
  //# sourceMappingURL=chatContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chatContext.js","sourceRoot":"","sources":["../../src/schemas/chatContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,MAAM,CAAC,MAAM,iBAAiB,GAAG,4BAA4B,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CACxF,CAAC,CAAC,MAAM,CAAC;IACL,WAAW,EAAE,oBAAoB;CACpC,CAAC,CACL,CAAC"}
1
+ {"version":3,"file":"chatContext.js","sourceRoot":"","sources":["../../src/schemas/chatContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,MAAM,CAAC,MAAM,iBAAiB,GAAG,gCAAgC,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAC5F,CAAC,CAAC,MAAM,CAAC;IACL,WAAW,EAAE,oBAAoB;CACpC,CAAC,CACL,CAAC"}