100 Commits
Author SHA1 Message Date
cpojer 5649e403df chore: Fix hanging test. 2026-02-17 15:56:51 +09:00
cpojer 73668bb963 chore: Fix broken test. 2026-02-17 15:54:17 +09:00
cpojer bcf862f69f chore: Typecheck tests. 2026-02-17 15:50:07 +09:00
cpojer 048e29ea35 chore: Fix types in tests 45/N. 2026-02-17 15:50:07 +09:00
cpojer 52ad28e097 chore: Fix types in tests 44/N. 2026-02-17 15:50:07 +09:00
cpojer 688f86bf28 chore: Fix types in tests 43/N. 2026-02-17 15:50:07 +09:00
cpojer 7d2ef131c1 chore: Fix types in tests 42/N. 2026-02-17 15:50:07 +09:00
cpojer 6264c5e842 chore: Fix types in tests 41/N. 2026-02-17 15:50:07 +09:00
cpojer 3dc8d5656d chore: Fix types in tests 40/N. 2026-02-17 15:50:07 +09:00
cpojer c4bd82d81d chore: Fix types in tests 39/N. 2026-02-17 15:50:07 +09:00
cpojer 084e39b519 chore: Fix types in tests 38/N. 2026-02-17 15:50:07 +09:00
cpojer 238718c1d8 chore: Fix types in tests 37/N. 2026-02-17 15:50:07 +09:00
cpojer 7b31e8fc59 chore: Fix types in tests 36/N. 2026-02-17 15:50:07 +09:00
cpojer 2a4ca7671e chore: Fix types in tests 35/N. 2026-02-17 15:50:07 +09:00
cpojer ed75d30ad3 chore: Fix types in tests 34/N. 2026-02-17 15:50:07 +09:00
cpojer 49bd9f75f4 chore: Fix types in tests 33/N. 2026-02-17 15:50:07 +09:00
cpojer 2e375a5498 chore: Fix types in tests 32/N. 2026-02-17 14:33:38 +09:00
cpojer 116f5afea3 chore: Fix types in tests 31/N. 2026-02-17 14:33:26 +09:00
cpojer f2f17bafbc chore: Fix types in tests 30/N. 2026-02-17 14:32:57 +09:00
cpojer ecf1c955a1 chore: Fix types in tests 29/N. 2026-02-17 14:32:43 +09:00
cpojer 03e6acd051 chore: Fix types in tests 28/N. 2026-02-17 14:32:18 +09:00
cpojer 97c8f4999e chore: Fix types in tests 27/N. 2026-02-17 14:31:55 +09:00
cpojer 4235435309 chore: Fix types in tests 26/N. 2026-02-17 14:31:40 +09:00
cpojer 6e5df1dc0f chore: Fix types in tests 25/N. 2026-02-17 14:31:02 +09:00
cpojer 600022cdcc chore: Fix types in tests 24/N. 2026-02-17 14:30:36 +09:00
cpojer be5b28cd6b chore: Fix types. 2026-02-17 13:40:17 +09:00
cpojer d0cb8c19b2 chore: wtf. 2026-02-17 13:36:48 +09:00
cpojer cf6cdc74d0 chore: Fix types in tests 23/N. 2026-02-17 12:24:03 +09:00
cpojer 8d6e345338 chore: Fix types in tests 22/N. 2026-02-17 12:23:12 +09:00
cpojer 245018fd6b chore: Fix types in tests 21/N. 2026-02-17 12:23:12 +09:00
cpojer 18cc48dfd9 chore: Fix types in tests 20/N. 2026-02-17 12:23:12 +09:00
cpojer e09643e82c chore: chore: Fix types in tests 19/N. 2026-02-17 12:23:12 +09:00
cpojer 6b8c0bc697 chore: Format files. 2026-02-17 12:00:38 +09:00
cpojer 8ece8215aa chore: Fix types in tests 18/N. 2026-02-17 12:00:29 +09:00
cpojer 43c97d18aa chore: Fix types in tests 17/N. 2026-02-17 12:00:29 +09:00
cpojer 7bc783cb03 chore: Fix types in tests 16/N. 2026-02-17 12:00:29 +09:00
cpojer a76a9c375f chore: Fix types in tests 15/N. 2026-02-17 12:00:29 +09:00
cpojer db3529e924 chore: Fix types in tests 14/N. 2026-02-17 12:00:29 +09:00
cpojer 50fd2a99ba chore: Fix types in tests 13/N. 2026-02-17 12:00:29 +09:00
cpojer 9c5f08244e chore: Format files. 2026-02-17 11:37:11 +09:00
cpojer 4b8f53979e chore: Fix type errors from reverts. 2026-02-17 11:22:49 +09:00
cpojer 262b7a157a chore: chore: Fix types in tests 12/N. 2026-02-17 11:22:49 +09:00
cpojer e02feaff83 chore: Fix types in tests 11/N. 2026-02-17 11:22:49 +09:00
cpojer 058eb85762 chore: Fix types in tests 10/N. 2026-02-17 11:22:49 +09:00
cpojer 95f344e433 chore: Fix types in tests 9/N. 2026-02-17 11:22:49 +09:00
cpojer 5dc8983954 chore: Fix types in tests 8/N. 2026-02-17 11:22:49 +09:00
cpojer ac38d51290 chore: Fix types in tests 7/N. 2026-02-17 11:22:49 +09:00
cpojer a78839e60c chore: Fix Slack test. 2026-02-17 11:15:15 +09:00
cpojer 616c0bd4c7 chore: Cleanup unused vars that were leftover from the reverts. 2026-02-17 10:57:31 +09:00
cpojer b3d9ecf4e4 chore: Fix types that were broken due to reverts. 2026-02-17 10:57:31 +09:00
cpojer 01ea808876 chore: Format files. 2026-02-17 10:57:31 +09:00
cpojer 003d6c45d6 chore: Fix types in tests 6/N. 2026-02-17 10:57:31 +09:00
cpojer b6d4f7c00e chore: Fix types in tests 5/N. 2026-02-17 10:57:31 +09:00
cpojer c49234cbfb chore: chore: Fix types in tests 4/N. 2026-02-17 10:57:31 +09:00
cpojer 1406b28469 chore: Fix types in tests 3/N. 2026-02-17 10:57:31 +09:00
cpojer 950d5a46b2 chore: Fix types in tests 2/N. 2026-02-17 10:26:49 +09:00
cpojer 0cf443afe8 chore: Fix types in tests 1/N. 2026-02-17 10:26:49 +09:00
cpojer 6229814af2 chore: Remove invalid tsconfig paths reference. 2026-02-17 10:15:10 +09:00
cpojer ff8316e04e chore: Fix formatting. 2026-02-17 10:14:13 +09:00
cpojer d3a36cc3b0 chore: Fix remaining extension test types, enable type checking for extension tests. 2026-02-17 10:14:01 +09:00
cpojer a741985574 chore: Fix more extension test types, 2/N. 2026-02-17 10:14:01 +09:00
cpojer 72f00df95a chore: Fix more extension test type 1/N. 2026-02-17 10:14:01 +09:00
cpojer 0f8d1f175a chore: Fix type errors in extensions/twitch tests. 2026-02-17 10:14:00 +09:00
cpojer 889f221ed1 chore: Fix type errors in extensions/bluebubbles tests. 2026-02-17 10:14:00 +09:00
cpojer c70597daeb chore: Fix formatting. 2026-02-17 09:40:00 +09:00
cpojer 194608d0dd chore: Remove leftover file. 2026-02-17 09:33:26 +09:00
cpojer 1dc9bb8d62 chore: Fix more type issues. 2026-02-17 09:29:47 +09:00
cpojer 843acd52b7 chore: Fix up Oxlint/Oxfmt ignore patterns. 2026-02-17 09:20:04 +09:00
cpojer 90ef2d6bdf chore: Update formatting. 2026-02-17 09:18:40 +09:00
cpojer 1e13a3933c chore: Update deps. 2026-02-17 09:14:42 +09:00
cpojer 4bdb857eca chore: Use proper pnpm caching in one CI step. 2026-02-16 09:07:09 +09:00
cpojer c07036e813 chore: Update deps. 2026-02-16 09:03:29 +09:00
cpojer 7b34b46363 chore: Update deps. 2026-02-13 09:43:41 +09:00
cpojer c2f9f2e1cd chore: Remove accidentally committed .md file. 2026-02-12 09:45:58 +09:00
cpojer 018ebb35ba chore: Clean up pre-commit hook. 2026-02-12 09:44:30 +09:00
cpojer c2178e2522 chore: Cleanup useless CI job. 2026-02-12 09:37:45 +09:00
cpojer 9df89ceda2 chore: Update deps. 2026-02-12 09:15:12 +09:00
cpojer 49fb8f74e4 chore: Fix types after ChatType changes. 2026-02-10 09:20:39 +09:00
cpojer fa21050af0 chore: Update deps. 2026-02-10 08:52:07 +09:00
cpojer 0244d521a1 chore: Fix lockfile + pnpm dedupe. 2026-02-09 10:00:53 +09:00
cpojer 6614c3f932 chore: Fix lint. 2026-02-09 09:58:58 +09:00
cpojer 0497bb0544 chore: Fix failing test. 2026-02-09 09:58:58 +09:00
cpojer 3573f26d40 chore: Update deps. 2026-02-09 09:58:58 +09:00
cpojer 328b69be17 chore: Fix audit test on Windows. 2026-02-06 10:22:48 +09:00
cpojer f16e32b73d fix: Do not process.exit(0) in the middle of a test. 2026-02-06 09:57:51 +09:00
cpojer 8abce8a84d fix: onToolResult fallback is not expected. 2026-02-06 09:55:56 +09:00
cpojer 6c42d34610 chore: Add VS Code defaults and extensions so that Oxlint/Oxfmt work automatically. 2026-02-06 09:49:47 +09:00
cpojer ee1ec3faba Add proper onToolResult fallback. 2026-02-06 09:42:10 +09:00
cpojer 6f4665dda3 chore: Update deps. 2026-02-06 09:11:46 +09:00
cpojer 8b8451231c chore: Typecheck test helper files. 2026-02-05 19:51:00 +09:00
cpojer 460808e0c8 Update deps. 2026-02-05 19:44:08 +09:00
cpojer 1f2f79a7a7 chore: Merge tsconfigs, typecheck ui as part of pnpm tsgo locally and on CI. 2026-02-03 22:50:00 +09:00
cpojer 6e09c1142e chore: Switch to NodeNext for module/moduleResolution in ui. 2026-02-03 22:48:28 +09:00
cpojer 27677dd8bd chore: Fix all TypeScript errors in ui. 2026-02-03 22:45:29 +09:00
cpojer be4f7ef361 fix: Fix Mac app build step. 2026-02-03 22:14:11 +09:00
cpojer 6b83d82e82 chore: clean up git hooks and actually install them again. 2026-02-03 22:08:24 +09:00
cpojer 6fb2d3d7d7 feat: remove slop. 2026-02-03 22:04:17 +09:00
cpojer 425003417d fix: Remove tsconfig.oxlint.json AGAIN. 2026-02-03 21:53:48 +09:00
cpojer a8893094ea fix: CI: We no longer need to test the tsc build with Bun, we are always using tsdown to build now. 2026-02-03 21:34:49 +09:00
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