chore(deps)(deps): bump zod from 3.25.76 to 4.3.6 #1364
Annotations
11 errors
|
Build
Process completed with exit code 1.
|
|
src/ai/model-registry.test.ts > PromptTemplateSchema > should accept full prompt template:
packages/spec/src/ai/model-registry.test.ts#L278
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading '_zod')"
❯ src/ai/model-registry.test.ts:278:60
|
|
src/ai/cost.test.ts > Real-World Cost Tracking Examples > should accept enterprise cost tracking scenario:
packages/spec/src/ai/cost.test.ts#L678
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading '_zod')"
❯ src/ai/cost.test.ts:678:56
|
|
src/ai/cost.test.ts > CostEntrySchema > should accept full cost entry:
packages/spec/src/ai/cost.test.ts#L203
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading '_zod')"
❯ src/ai/cost.test.ts:203:52
|
|
src/ai/cost.test.ts > AIOperationCostSchema > should accept AI operation cost with agent name and metadata:
packages/spec/src/ai/cost.test.ts#L109
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading '_zod')"
❯ src/ai/cost.test.ts:109:57
|
|
src/ai/conversation.test.ts > Real-World Conversation Examples > should accept long customer support conversation:
packages/spec/src/ai/conversation.test.ts#L540
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading '_zod')"
❯ src/ai/conversation.test.ts:540:64
|
|
src/ai/conversation.test.ts > ConversationSessionSchema > should accept full session with messages:
packages/spec/src/ai/conversation.test.ts#L354
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading '_zod')"
❯ src/ai/conversation.test.ts:354:64
|
|
src/ai/conversation.test.ts > ConversationContextSchema > should accept full context:
packages/spec/src/ai/conversation.test.ts#L279
AssertionError: expected [Function] to not throw an error but 'TypeError: Cannot read properties of …' was thrown
- Expected:
undefined
+ Received:
"TypeError: Cannot read properties of undefined (reading '_zod')"
❯ src/ai/conversation.test.ts:279:64
|
|
src/ai/agent-action.test.ts > AI Agent Action Protocol > IntentActionMappingSchema > should validate intent to action mapping:
packages/spec/src/ai/agent-action.test.ts#L343
ZodError: [
{
"code": "invalid_key",
"origin": "record",
"issues": [
{
"expected": "object",
"code": "invalid_type",
"path": [],
"message": "Invalid input: expected object, received string"
}
],
"path": [
"paramExtraction",
"account_name"
],
"message": "Invalid key in record"
},
{
"code": "invalid_key",
"origin": "record",
"issues": [
{
"expected": "object",
"code": "invalid_type",
"path": [],
"message": "Invalid input: expected object, received string"
}
],
"path": [
"paramExtraction",
"industry"
],
"message": "Invalid key in record"
}
]
❯ src/ai/agent-action.test.ts:343:48
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { _zod: { def: [ { code: 'invalid_key', origin: 'record', issues: [ { expected: 'object', code: 'invalid_type', path: [], message: 'Invalid input: expected object, received string' } ], path: [ 'paramExtraction', 'account_name' ], message: 'Invalid key in record' }, { code: 'invalid_key', origin: 'record', issues: [ { expected: 'object', code: 'invalid_type', path: [], message: 'Invalid input: expected object, received string' } ], path: [ 'paramExtraction', 'industry' ], message: 'Invalid key in record' } ], constr: 'Function<ZodError>', traits: { constructor: 'Function<Set>', has: 'Function<has>', add: 'Function<add>', delete: 'Function<delete>', clear: 'Function<clear>', entries: 'Function<entries>', forEach: 'Function<forEach>', size: 2, values: 'Function<values>', keys: 'Function<values>' }, deferred: [] }, issues: [ { code: 'invalid_key', origin: 'record', issues: [ { expected: 'object', code: 'invalid_type', path: [], message: 'Invalid input: expected object, received string' } ], path: [ 'paramExtraction', 'account_name' ], message: 'Invalid key in record' }, { code: 'invalid_key', origin: 'record', issues: [ { expected: 'object', code: 'invalid_type', path: [], message: 'Invalid input: expected object, received string' } ], path: [ 'paramExtraction', 'industry' ], message: 'Invalid key in record' } ], format: 'Function<value>', flatten: 'Function<value>', addIssue: 'Function<value>', addIssues: 'Function<value>', isEmpty: false }
|
|
src/ai/agent-action.test.ts > AI Agent Action Protocol > Action Parameter Schemas > should validate form action parameters:
packages/spec/src/ai/agent-action.test.ts#L106
TypeError: Cannot read properties of undefined (reading '_zod')
❯ Object.inst._zod.parse ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js:1398:46
❯ Object.inst._zod.parse ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js:1630:35
❯ eval ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.js:33:16
❯ ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js:897:34
❯ Object.inst._zod.parse ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js:922:23
❯ Module.<anonymous> ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js:6:32
❯ _.inst.parse ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js:39:42
❯ src/ai/agent-action.test.ts:106:45
|
|
src/ai/agent-action.test.ts > AI Agent Action Protocol > Action Parameter Schemas > should validate view action parameters with filters:
packages/spec/src/ai/agent-action.test.ts#L89
TypeError: Cannot read properties of undefined (reading '_zod')
❯ Object.inst._zod.parse ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js:1398:46
❯ Object.inst._zod.parse ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js:1630:35
❯ eval ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.js:33:16
❯ ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js:897:34
❯ Object.inst._zod.parse ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js:922:23
❯ Module.<anonymous> ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js:6:32
❯ _.inst.parse ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js:39:42
❯ src/ai/agent-action.test.ts:89:45
|