@copilotkitnext/angular 1.53.1-next.2 → 1.54.0-next.4

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.
@@ -1,6 +1,6 @@
1
1
  import { Signal, Type } from "@angular/core";
2
2
  import { FrontendTool, FrontendToolHandlerContext } from "@copilotkitnext/core";
3
- import { z } from "zod";
3
+ import type { StandardSchemaV1 } from "@copilotkitnext/shared";
4
4
  export type AngularToolCall<Args extends Record<string, unknown> = Record<string, unknown>> = {
5
5
  args: Partial<Args>;
6
6
  status: "in-progress";
@@ -41,14 +41,14 @@ export type ClientTool<Args extends Record<string, unknown> = Record<string, unk
41
41
  };
42
42
  export interface RenderToolCallConfig<Args extends Record<string, unknown> = Record<string, unknown>> {
43
43
  name: string;
44
- args: z.ZodType<Args>;
44
+ args: StandardSchemaV1<any, Args>;
45
45
  component: Type<ToolRenderer<Args>>;
46
46
  agentId?: string;
47
47
  }
48
48
  export interface FrontendToolConfig<Args extends Record<string, unknown> = Record<string, unknown>> {
49
49
  name: string;
50
50
  description: string;
51
- parameters: z.ZodType<Args>;
51
+ parameters: StandardSchemaV1<any, Args>;
52
52
  component?: Type<ToolRenderer<Args>>;
53
53
  handler: (args: Args, context: FrontendToolHandlerContext) => Promise<unknown>;
54
54
  agentId?: string;
@@ -56,7 +56,7 @@ export interface FrontendToolConfig<Args extends Record<string, unknown> = Recor
56
56
  export interface HumanInTheLoopConfig<Args extends Record<string, unknown> = Record<string, unknown>> {
57
57
  name: string;
58
58
  description: string;
59
- parameters: z.ZodType<Args>;
59
+ parameters: StandardSchemaV1<any, Args>;
60
60
  component: Type<HumanInTheLoopToolRenderer<Args>>;
61
61
  agentId?: string;
62
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkitnext/angular",
3
- "version": "1.53.1-next.2",
3
+ "version": "1.54.0-next.4",
4
4
  "description": "Angular library for CopilotKit",
5
5
  "main": "dist/fesm2022/copilotkitnext-angular.mjs",
6
6
  "module": "dist/fesm2022/copilotkitnext-angular.mjs",
@@ -22,10 +22,9 @@
22
22
  "marked": "^16.2.0",
23
23
  "rxjs": "^7.8.1",
24
24
  "tailwind-merge": "^2.6.0",
25
- "zod": "^3.22.4",
26
25
  "tslib": "^2.6.0",
27
- "@copilotkitnext/core": "1.53.1-next.2",
28
- "@copilotkitnext/shared": "1.53.1-next.2"
26
+ "@copilotkitnext/core": "1.54.0-next.4",
27
+ "@copilotkitnext/shared": "1.54.0-next.4"
29
28
  },
30
29
  "peerDependencies": {
31
30
  "@angular/cdk": "^19.0.0",
@@ -67,9 +66,10 @@
67
66
  "typescript-eslint": "^8.35.0",
68
67
  "vite": "^7.1.4",
69
68
  "vitest": "^3.2.4",
69
+ "zod": "^3.22.4",
70
70
  "zone.js": "^0.14.0",
71
- "@copilotkitnext/eslint-config": "1.53.1-next.2",
72
- "@copilotkitnext/typescript-config": "1.53.1-next.2"
71
+ "@copilotkitnext/eslint-config": "1.54.0-next.4",
72
+ "@copilotkitnext/typescript-config": "1.54.0-next.4"
73
73
  },
74
74
  "publishConfig": {
75
75
  "access": "public"