openclaw/extensions
cpojer a03d852d65
chore: Migrate to tsdown, speed up JS bundling by ~10x (thanks @hyf0).
The previous migration to tsdown was reverted because it caused a ~20x slowdown when running OpenClaw from the repo. @hyf0 investigated and found that simply renaming the `dist` folder also caused the same slowdown. It turns out the Plugin script loader has a bunch of voodoo vibe logic to determine if it should load files from source and compile them, or if it should load them from dist. When building with tsdown, the filesystem layout is different (bundled), and so some files weren't in the right location, and the Plugin script loader decided to compile source files from scratch using Jiti.

The new implementation uses tsdown to embed `NODE_ENV: 'production'`, which we now use to determine if we are running OpenClaw from a "production environmen" (ie. from dist). This removes the slop in favor of a deterministic toggle, and doesn't rely on directory names or similar.

There is some code reaching into `dist` to load specific modules, primarily in the voice-call extension, which I simplified into loading an "officially" exported `extensionAPI.js` file. With tsdown, entry points need to be explicitly configured, so we should be able to avoid sloppy code reaching into internals from now on. This might break some existing users, but if it does, it's because they were using "private" APIs.
2026-02-03 20:18:16 +09:00
..
bluebubbles Fix subagent announce failover race (always emit lifecycle end + treat timeout=0 as no-timeout) (#6621) 2026-02-02 02:06:14 -08:00
copilot-proxy chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
diagnostics-otel chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
discord chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
google-antigravity-auth chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
google-gemini-cli-auth chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
googlechat chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
imessage chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
line chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
llm-task chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
lobster chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
matrix chore: Update deps. 2026-02-03 09:09:03 +09:00
mattermost chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
memory-core chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
memory-lancedb chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
minimax-portal-auth chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
msteams fix: align tool definition adapter 2026-02-02 02:28:22 -08:00
nextcloud-talk chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
nostr chore: Update deps. 2026-02-03 09:09:03 +09:00
open-prose chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
qwen-portal-auth chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
signal chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
slack chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
telegram chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
tlon chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
twitch Fix subagent announce failover race (always emit lifecycle end + treat timeout=0 as no-timeout) (#6621) 2026-02-02 02:06:14 -08:00
voice-call chore: Migrate to tsdown, speed up JS bundling by ~10x (thanks @hyf0). 2026-02-03 20:18:16 +09:00
whatsapp chore: bump to 2026.2.1 2026-02-02 08:51:54 +00:00
zalo Fix subagent announce failover race (always emit lifecycle end + treat timeout=0 as no-timeout) (#6621) 2026-02-02 02:06:14 -08:00
zalouser Fix subagent announce failover race (always emit lifecycle end + treat timeout=0 as no-timeout) (#6621) 2026-02-02 02:06:14 -08:00