Skip to content

Commit bccb3ce

Browse files
committed
fix the issue
1 parent 5aee815 commit bccb3ce

4 files changed

Lines changed: 4 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"dockerode": "^4.0.7",
1818
"xmcp": "0.6.4",
19-
"zod": "^3.25.76"
19+
"zod": "^4"
2020
},
2121
"devDependencies": {
2222
"@types/dockerode": "^3.3.43",

src/tools/localstack-deployer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const schema = {
3838
"The required path to the project directory containing your infrastructure-as-code files."
3939
),
4040
variables: z
41-
.record(z.string())
41+
.record(z.string(), z.string())
4242
.optional()
4343
.describe(
4444
"Key-value pairs for parameterization. Used for Terraform variables (-var) or CDK context (-c)."

src/tools/localstack-management.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const schema = {
1111
.enum(["start", "stop", "restart", "status"])
1212
.describe("The LocalStack management action to perform"),
1313
envVars: z
14-
.record(z.string())
14+
.record(z.string(), z.string())
1515
.optional()
1616
.describe("Additional environment variables as key-value pairs (only for start action)"),
1717
};

yarn.lock

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3977,12 +3977,7 @@ zod-to-json-schema@^3.25.1:
39773977
resolved "https://registry.yarnpkg.com/zod-to-json-schema/-/zod-to-json-schema-3.25.1.tgz#7f24962101a439ddade2bf1aeab3c3bfec7d84ba"
39783978
integrity sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==
39793979

3980-
"zod@^3.25 || ^4.0":
3980+
"zod@^3.25 || ^4.0", zod@^4:
39813981
version "4.3.6"
39823982
resolved "https://registry.yarnpkg.com/zod/-/zod-4.3.6.tgz#89c56e0aa7d2b05107d894412227087885ab112a"
39833983
integrity sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==
3984-
3985-
zod@^3.25.76:
3986-
version "3.25.76"
3987-
resolved "https://registry.yarnpkg.com/zod/-/zod-3.25.76.tgz#26841c3f6fd22a6a2760e7ccb719179768471e34"
3988-
integrity sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==

0 commit comments

Comments
 (0)