Skip to content

Commit 0eebfc2

Browse files
fix(vtex): bump @decocms/runtime to ^1.6.2 to restore state propagation (#430)
The kubernetes-bun rollback in #429 dropped @decocms/runtime from ^1.6.2 back to 1.3.1. With 1.3.1, requests reach the pod with a populated MESH_REQUEST_CONTEXT envelope (token/connectionId/meshUrl all set) but state arrives as an empty object — so state.accountName is null and every tool call fails with "VTEX accountName is missing". Confirmed in the deployed pod logs: hasMeshContext: true, hasToken: true, hasConnectionId: true, hasMeshUrl: true, stateKeys: [], stateAccountNamePresent: false The Workers latency that prompted the revert was startup-CPU-budget specific to Cloudflare Workers, not a Bun problem, so this only bumps the runtime/bindings/sdk versions and keeps the kubernetes-bun deploy and serve()-style entrypoint intact. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 855f2c0 commit 0eebfc2

2 files changed

Lines changed: 10 additions & 16 deletions

File tree

bun.lock

Lines changed: 7 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vtex/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
"test": "bun test"
1919
},
2020
"dependencies": {
21-
"@decocms/bindings": "^1.3.1",
22-
"@decocms/runtime": "1.3.1",
21+
"@decocms/bindings": "^1.4.0",
22+
"@decocms/runtime": "^1.6.2",
23+
"@modelcontextprotocol/sdk": "^1.27.1",
2324
"zod": "^4.0.0"
2425
},
2526
"devDependencies": {
2627
"@cloudflare/workers-types": "^4.20260206.0",
2728
"@decocms/mcps-shared": "1.0.0",
2829
"@hey-api/client-fetch": "^0.8.0",
2930
"@hey-api/openapi-ts": "0.92.4",
30-
"@modelcontextprotocol/sdk": "1.20.2",
3131
"@types/bun": "^1.2.14",
3232
"deco-cli": "^0.28.0",
3333
"typescript": "^5.7.2"

0 commit comments

Comments
 (0)