Skip to content

fix(sdk): drop the stale self-hosted-provider-setup export - #17

Merged
tomorrowflow merged 1 commit into
mainfrom
fix/drop-stale-sdk-export
Oct 8, 2026
Merged

tomorrowflow merged 1 commit into
mainfrom
fix/drop-stale-sdk-export

Conversation

@tomorrowflow

Copy link
Copy Markdown
Owner

Problem

The fork's package fails check-openclaw-package-tarball, so mac-factory has to build OpenClaw from source. Fork commit cfddeae0464 re-added the ./plugin-sdk/self-hosted-provider-setup export. Upstream retired it in c7e7ac27289, nothing builds dist/plugin-sdk/self-hosted-provider-setup.js, and nothing imports it. On main, pnpm plugin-sdk:check-exports reports package.json out of sync.

Solution

Ran pnpm plugin-sdk:sync-exports. It drops the dead export and moves question-gateway-runtime (restored in the same fork commit) to its generated position. That export is unchanged.

Evidence

  • scripts/sync-plugin-sdk-exports.mts --check: fails on main, passes on this branch.
  • scripts/check-plugin-sdk-subpath-exports.mts: OK, every referenced subpath is exported.
  • git diff --check: clean.
  • Not run: the full package tarball check (needs a build plus a pack).

🤖 Generated with Claude Code

Fork commit cfddeae re-added ./plugin-sdk/self-hosted-provider-setup
alongside question-gateway-runtime. Upstream retired that subpath in
c7e7ac2 and no module builds it, so the package tarball check fails on
the dangling export and `plugin-sdk:check-exports` reports package.json out
of sync. Regenerated with `plugin-sdk:sync-exports`, which also moves
question-gateway-runtime to its canonical position.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@tomorrowflow
tomorrowflow merged commit 36f4f24 into main Oct 8, 2026
@tomorrowflow
tomorrowflow deleted the fix/drop-stale-sdk-export branch October 8, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant