chore(deps): bump zod from 3.25.76 to 4.6.7 (#1837)

* chore(deps): bump zod from 3.25.76 to 4.6.7

Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.6.7.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v3.25.76...v4.6.7)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(plugins): keep the capabilities defaults on zod 4

zod 4 returns the literal default for an absent object, so a manifest without capabilities lost its empty arrays. prefault runs the inner defaults again.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Resham Joshi <65915470+iamtoruk@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2026-11-04 19:08:05 +01:00 • committed by GitHub
parent ac93a881d4
commit 51172deed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ export const pluginManifestSchema = z.object({
}).strict()).max(64).default([]),
payloadSections: z.array(z.string().regex(SUBCOMMAND)).max(16).default([]),
spanKinds: z.array(z.string().regex(DOTTED_KEY).max(128)).max(16).default([]),
}).strict().default({}),
}).strict().prefault({}),
}).strict()
export type PluginManifest = z.infer<typeof pluginManifestSchema>