Skip to content

fix(build): bundle zod inline to fix pnpm global install resolution#78515

Merged
altaywtf merged 2 commits into
openclaw:mainfrom
ggzeng:fix/plugin-sdk-zod-inline
May 17, 2026
Merged

fix(build): bundle zod inline to fix pnpm global install resolution#78515
altaywtf merged 2 commits into
openclaw:mainfrom
ggzeng:fix/plugin-sdk-zod-inline

Conversation

@ggzeng

@ggzeng ggzeng commented May 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Add deps.alwaysBundle: ["zod"] to tsdown config so that plugin-sdk/zod.ts is bundled inline instead of leaving import * from "zod" as a bare external import in the dist output.

Problem

In pnpm global installs (pnpm install -g openclaw), zod is not symlinked into openclaw/node_modules/ due to pnpm's strict dependency isolation. This causes dist/plugin-sdk/zod.js to fail at runtime:

Error: Cannot find module 'zod'
Require stack:
- .../openclaw/dist/plugin-sdk/zod.js

All channel plugins that import from "openclaw/plugin-sdk/zod" (feishu, bluebubbles, mattermost, zalo, etc.) silently fail during registration.

Current dist output (plugin-sdk/zod.js):

import "../zod-D2c0iocA.js";
export * from "zod";   // bare import fails under pnpm global

Fix

Bundle both zod and zod/* through the shared tsdown dependency policy, and extend the npm postpublish verifier so dist/plugin-sdk/zod.js plus its reachable local chunks cannot contain bare zod imports.

Testing

Before fix

$ pnpm install -g openclaw@2026.5.4
$ node -e "require.resolve('zod', {paths:[\"$(pnpm root -g)/openclaw\"]})"
# MODULE_NOT_FOUND

After fix

Focused regression coverage now verifies the tsdown bundling policy and the packed package verifier rejects bare zod or zod/* imports reachable from dist/plugin-sdk/zod.js.

Real behavior proof

  • Behavior or issue addressed: openclaw/plugin-sdk/zod must be self-contained in the published package so pnpm global installs can register plugins without a package-local node_modules/zod symlink.
  • Real environment tested: Cloudflare Crabbox standard-4 container running the packed OpenClaw package from this patched branch.
  • Exact steps or command run after this patch: Installed dependencies, ran pnpm build:strict-smoke, ran the postpublish zod artifact verifier, packed the package with npm pack --ignore-scripts, installed the tarball globally with pnpm into an isolated prefix, confirmed no package-local node_modules/zod existed, then imported the installed dist/plugin-sdk/zod.js with Node.
  • Evidence after fix: Terminal output from the Cloudflare run:
{"pluginSdkZodArtifactErrors":[]}
global:
+ openclaw 2026.5.17
zod symlink absent under package root
installed plugin-sdk/zod import ok: function
cloudflare run summary sync=12.709s command=2m13.807s total=2m28.628s exit=0
  • Observed result after fix: The packed global install imported dist/plugin-sdk/zod.js successfully even though node_modules/zod was absent under the installed openclaw package root.
  • What was not tested: No known gaps.

Related

Workaround for existing installs (before this fix lands)
OPENCLAW_DIR=$(pnpm root -g)/openclaw
ZOD_STORE=$(find "$(dirname $(pnpm store path))" -path "*/zod@4.4.3/node_modules/zod" -type d | head -1)
mkdir -p "$OPENCLAW_DIR/node_modules"
ln -s "$ZOD_STORE" "$OPENCLAW_DIR/node_modules/zod"
openclaw gateway restart

@openclaw-barnacle openclaw-barnacle Bot added size: XS triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 6, 2026
@clawsweeper

clawsweeper Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

Workflow note: Future ClawSweeper reviews update this same comment in place.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by maintainer comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors can comment @clawsweeper re-review or @clawsweeper re-run on their own open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

Summary
The PR updates tsdown bundling to inline zod and zod/*, adds a postpublish verifier and tests for the plugin SDK zod artifact, and records a changelog entry.

Reproducibility: yes. source-reproducible with high confidence. Current main maps openclaw/plugin-sdk/zod to a built artifact sourced from a bare zod re-export while the current always-bundle predicate excludes zod; the PR body also includes pnpm-global MODULE_NOT_FOUND evidence.

Real behavior proof
Sufficient (terminal): The PR body includes terminal proof from a Cloudflare Crabbox packed global install showing the verifier passed and the installed zod SDK artifact imported successfully without a package-local zod symlink.

Next step before merge
No ClawSweeper repair lane is needed; this open PR already contains the narrow fix and proof, so the remaining action is normal maintainer review, CI, and merge handling.

Security
Cleared: The diff changes bundling policy and package verification for an existing declared dependency, with no new dependency source, permissions, secret handling, lifecycle hook, or network execution path.

Review details

Best possible solution:

Land this focused zod artifact fix or an equivalent canonical branch, then close #78398 and supersede overlapping draft work such as #78464.

Do we have a high-confidence way to reproduce the issue?

Yes, source-reproducible with high confidence. Current main maps openclaw/plugin-sdk/zod to a built artifact sourced from a bare zod re-export while the current always-bundle predicate excludes zod; the PR body also includes pnpm-global MODULE_NOT_FOUND evidence.

Is this the best way to solve the issue?

Yes. Folding zod and zod/* into the existing deps.alwaysBundle predicate is the narrow maintainable fix, and the installed-artifact verifier locks the published package contract without startup shims or package-manager-specific repair logic.

What I checked:

Likely related people:

  • @obviyus: The zod SDK subpath and export map appear to have been introduced by 8b13710c09213ea281695e6369d1f311cdf923a2. (role: introduced SDK surface; confidence: high; commits: 8b13710c0921; files: src/plugin-sdk/zod.ts, package.json, scripts/lib/plugin-sdk-entrypoints.json)
  • @vincentkoc: Commit c727388f937ffc9128ba4e4d2ae37d4c72487bc1 changed bundled runtime dependency localization and touched tsdown.config.ts, package metadata, and release-check behavior adjacent to this packaging fix. (role: adjacent packaging contributor; confidence: medium; commits: c727388f937f; files: tsdown.config.ts, package.json, scripts/release-check.ts)
  • @steipete: Current-main blame for the zod subpath and always-bundle lines points at broad commit 868315aef0be11d847f6a056a1ac66eae212c383; this is useful as a recent routing signal but low confidence because the commit touched many files. (role: recent current-main contributor; confidence: low; commits: 868315aef0be; files: src/plugin-sdk/zod.ts, tsdown.config.ts)

Remaining risk / open question:

  • I did not rerun the package build or tests in this read-only review; the verdict relies on source inspection, dependency documentation, and the supplied packed global-install proof.

Codex review notes: model gpt-5.5, reasoning high; reviewed against 59efd95669c7.

@ggzeng ggzeng force-pushed the fix/plugin-sdk-zod-inline branch from 799bca2 to fff0a29 Compare May 7, 2026 09:58
@ggzeng

ggzeng commented May 7, 2026

Copy link
Copy Markdown
Contributor Author

Addressing ClawSweeper review feedback

P2: Preserve existing shouldAlwaysBundleDependency predicate

The previous approach added a second alwaysBundle: ["zod"] key which would override the existing shouldAlwaysBundleDependency function (causing @openclaw/fs-safe bundling to stop working per the duplicate-key concern).

Now zod is folded into the existing predicate:

function shouldAlwaysBundleDependency(id: string): boolean {
  return (
    id === "@openclaw/fs-safe" ||
    id.startsWith("@openclaw/fs-safe/") ||
    id === "zod"  // fixes #78398
  );
}

P3: Added changelog entry

Added under ## Unreleased > ### Changes.

Rebased onto latest main

Clean cherry-pick + fix commit onto latest main.

@ggzeng ggzeng force-pushed the fix/plugin-sdk-zod-inline branch from fff0a29 to 4e0f5de Compare May 8, 2026 04:36
@ggzeng

ggzeng commented May 8, 2026

Copy link
Copy Markdown
Contributor Author

Updated the PR to address the duplicate-key concern:

  • Rebased onto latest main
  • Merged zod into the existing shouldAlwaysBundleDependency predicate instead of adding a second alwaysBundle key that would override it:
function shouldAlwaysBundleDependency(id: string): boolean {
  return (
    id === "@openclaw/fs-safe" ||
    id.startsWith("@openclaw/fs-safe/") ||
    id === "zod"  // fixes #78398
  );
}

Regarding real behavior proof:
I don't have a local environment that can fully build openclaw (pnpm install + build cycle is extremely large). Could a maintainer run the Package Acceptance workflow or a Testbox build with this branch to verify that openclaw/plugin-sdk/zod loads correctly after a global pnpm install? Alternatively, if someone can trigger @clawsweeper re-review after the rebase, that would help move this forward.

@ggzeng ggzeng force-pushed the fix/plugin-sdk-zod-inline branch from 4e0f5de to 9339afe Compare May 9, 2026 04:24
@ggzeng

ggzeng commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto latest main

Clean cherry-pick onto latest main (commit 9339afe). The only change is tsdown.config.ts (1 line: folding id === "zod" into the existing shouldAlwaysBundleDependency predicate).

CHANGELOG entry was already present under ## Unreleased > ### Changes.

CI failures on the previous push were all upstream (lint: unnecessary assertions in unrelated files, test-types: TS errors in src/index.test.ts, ui/src/styles/, etc.). This rebase should pick up any upstream fixes.

@ggzeng

ggzeng commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto latest main (commit 9339afe).

Current status:

  • tsdown.config.ts change is clean: shouldAlwaysBundleDependency now includes id === "zod"
  • No duplicate-key concern (zod folded into existing function, not a second alwaysBundle array)
  • CHANGELOG entry present under ## Unreleased > ### Changes

Real behavior proof limitation:
I cannot provide a live pnpm install -g verification because:

  1. Local openclaw build requires full monorepo build (pnpm install + pnpm build cycle is extremely large)
  2. The fix specifically needs a packaged/global install to verify dist/plugin-sdk/zod.js has no bare zod import

Request to maintainers:
Could someone trigger the Package Acceptance workflow or a Testbox build with this branch? The verification needed is:

  1. Build produces dist/plugin-sdk/zod.js with zod inlined (no bare export * from "zod")
  2. pnpm install -g of the built package loads openclaw/plugin-sdk/zod without MODULE_NOT_FOUND

Alternatively, if the CI build-artifacts job output can be inspected for the plugin-sdk/zod.js content, that would satisfy the proof gate.

Code review status: Cleared by ClawSweeper (no correctness findings, only missing proof).

@ggzeng

ggzeng commented May 11, 2026

Copy link
Copy Markdown
Contributor Author

Real Behavior Proof — Zod Inline Bundling

Problem Statement

When installing openclaw globally via pnpm install -g openclaw, the plugin-sdk bundle fails to resolve zod because pnpm's global install structure doesn't make zod available as a resolvable peer dependency. This causes runtime errors when plugins try to import schemas from @openclaw/plugin-sdk/zod.

Fix

File: tsdown.config.ts:178

function shouldAlwaysBundleDependency(id: string): boolean {
  return id === "@openclaw/fs-safe" || id.startsWith("@openclaw/fs-safe/") || id === "zod";
}

The fix adds id === "zod" to the shouldAlwaysBundleDependency predicate, ensuring zod is inlined into the plugin-sdk bundle rather than treated as an external dependency.

Why This Fixes the Global Install Issue

  1. Before: zod was external → plugin-sdk bundle did import * as z from "zod" → bare import fails in pnpm global install because zod is not in the resolvable node_modules tree
  2. After: zod is bundled inline → plugin-sdk bundle contains all zod code internally → no runtime dependency on external zod package → works in any install context (global, local, bundled)

CI Evidence

CI Run: https://github.com/openclaw/openclaw/actions/runs/25591623494

  • Result: All CI jobs PASS (0 failures)
  • build-artifacts ✅ — builds successfully with the fix
  • check-test-types ✅ — no type regressions
  • check-lint ✅ — no lint issues
  • checks-node-* ✅ — all node test suites pass
  • checks-fast-* ✅ — all fast checks pass

The only failing check is Real behavior proof (this bot gate itself).

Build Artifact Verification

The build-artifacts CI job produces the plugin-sdk bundle. With this fix:

  • dist/plugin-sdk/zod.js (or equivalent output) will contain inlined zod code
  • No bare import "zod" or require("zod") in the bundle output
  • The bundle is self-contained for global installs

Limitation & Request

I cannot perform a live pnpm install -g openclaw verification because:

  1. This requires the full monorepo build + package publishing pipeline
  2. The fix is in the build configuration (tsdown.config.ts), not runtime code
  3. The verification requires the Package Acceptance workflow to build and install the actual npm package

Request: Please trigger the Package Acceptance workflow or a Testbox build to verify the global install behavior. The CI build already confirms the bundling works correctly (all build jobs pass).


cc @clawsweeper — the CI build passes completely. The fix is a one-line bundling configuration change that inlines zod into the plugin-sdk bundle. Please trigger Package Acceptance workflow for final global-install verification, or clear this gate based on the build evidence above.

@ggzeng

ggzeng commented May 12, 2026

Copy link
Copy Markdown
Contributor Author

Real Behavior Proof — pnpm install -g Reproduction

Environment

$ openclaw --version
OpenClaw 2026.5.7 (eeef486)

$ Installation method: pnpm install -g openclaw
$ OS: Ubuntu 24.04 (Docker container)
$ Node: v22.x

Evidence: zod is unresolvable from openclaw context

1. openclaw/node_modules/ is empty (pnpm strict isolation):

$ ls openclaw/node_modules/
  (empty — only .bin directory)

2. openclaw/node_modules/zod does NOT exist:

$ ls openclaw/node_modules/zod
  DOES NOT EXIST

3. require.resolve("zod") fails from openclaw context:

$ node -e "require.resolve('zod',{paths:['$(pnpm root -g)/openclaw']})"
Error: Cannot find module 'zod'

4. dist/zod-ZgVdNYVh.js has bare import * as import_zod from "zod" (not inlined):

$ cat dist/zod-ZgVdNYVh.js | grep zod
import * as import_zod from "zod";

5. dist/plugin-sdk/zod.js has bare export * from "zod" (not inlined):

$ cat dist/plugin-sdk/zod.js
import "../zod-ZgVdNYVh.js";
export * from "zod";
export {};

6. zod exists in .pnpm store but is NOT symlinked to openclaw:

$ find $(dirname $(pnpm store path)) -path "*/zod@4.4.3/node_modules/zod" -type d
/home/gavinz/.local/share/pnpm/global/5/.pnpm/zod@4.4.3/node_modules/zod

This is the exact bug described in #78398. The fix in this PR (alwaysBundle: ["zod"]) would inline zod into the bundle, eliminating the bare runtime import that fails under pnpm install -g.

What this PR fixes

Before (current openclaw@2026.5.7) After (with this PR)
dist/zod-ZgVdNYVh.js: import * as import_zod from "zod" (bare import) dist/zod-ZgVdNYVh.js: zod inlined, no bare import
dist/plugin-sdk/zod.js: export * from "zod" (fails at runtime) Self-contained, no external zod dependency
require.resolve("zod") from openclaw: MODULE_NOT_FOUND Works without external zod

@steipete @obviyus @vincentkoc — could someone review this? The fix is a single-line change to tsdown.config.ts that folds zod into the existing shouldAlwaysBundleDependency predicate. All CI passes, and the above reproduction confirms the exact bug this PR addresses.

@openclaw-barnacle

Copy link
Copy Markdown

Please don’t spam-ping multiple maintainers at once. Be patient, or join our community Discord for help: https://discord.gg/clawd

@ggzeng

ggzeng commented May 13, 2026

Copy link
Copy Markdown
Contributor Author

Apologies for the multi-ping — I understand that's not the right approach. Will be patient and wait for review.

For any maintainers reading: the reproduction evidence in this comment shows the exact MODULE_NOT_FOUND failure on pnpm install -g openclaw@2026.5.7. Happy to provide any additional information if needed.

@altaywtf altaywtf self-assigned this May 16, 2026
@altaywtf altaywtf force-pushed the fix/plugin-sdk-zod-inline branch from 9339afe to 3658e5f Compare May 16, 2026 14:47
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M and removed size: XS labels May 16, 2026
@altaywtf altaywtf force-pushed the fix/plugin-sdk-zod-inline branch from 3658e5f to a40eda6 Compare May 16, 2026 15:02
@openclaw-barnacle openclaw-barnacle Bot added proof: supplied External PR includes structured after-fix real behavior proof. and removed triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 16, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 16, 2026
@altaywtf altaywtf force-pushed the fix/plugin-sdk-zod-inline branch from a40eda6 to b7fc5a4 Compare May 16, 2026 15:50
@clawsweeper clawsweeper Bot added the P1 High-priority user-facing bug, regression, or broken workflow. label May 16, 2026
RomneyDa added a commit that referenced this pull request May 20, 2026
…d zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.
galiniliev pushed a commit to galiniliev/openclaw that referenced this pull request May 20, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
RomneyDa added a commit that referenced this pull request May 20, 2026
…d zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.
RomneyDa added a commit that referenced this pull request May 20, 2026
…d zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.
RomneyDa added a commit that referenced this pull request May 20, 2026
…d zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.
RomneyDa added a commit that referenced this pull request May 21, 2026
…d zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.
RomneyDa added a commit that referenced this pull request May 21, 2026
…d zod locales (#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (f9a5384), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
galiniliev pushed a commit to galiniliev/openclaw that referenced this pull request May 25, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
galiniliev pushed a commit to galiniliev/openclaw that referenced this pull request May 25, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (642491d), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
SYU8384 pushed a commit to SYU8384/openclaw that referenced this pull request Jun 3, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
SYU8384 pushed a commit to SYU8384/openclaw that referenced this pull request Jun 3, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (94ac563), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
…penclaw#78515)

Merged via squash.

Prepared head SHA: c925d1a
Co-authored-by: ggzeng <20488795+ggzeng@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
…d zod locales (openclaw#84592)

* build: suppress rolldown-plugin-dts CommonJS dts warnings from bundled zod locales

After bumping rolldown-plugin-dts to 0.25.1 (34835dc), every
`pnpm build` emits a 'CommonJS dts' warning per zod `v4/locales/*.d.cts`
file because zod is intentionally inlined for global pnpm install
resolution (openclaw#78515) and tsdown's external option cannot be scoped to the
dts pass only. Filter the warning in the existing onLog suppression list
(same pattern as PLUGIN_TIMINGS / UNRESOLVED_IMPORT / EVAL) so other
rolldown-plugin-dts warnings remain visible.

* docs(changelog): move rolldown-dts entry into 2026.5.20 fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:message-loss Channel message delivery can be lost, duplicated, or misrouted. P1 High-priority user-facing bug, regression, or broken workflow. proof: supplied External PR includes structured after-fix real behavior proof. scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants