You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* fix: compile bundled hook handlers in tsdown build The migration from tsc to tsdown in 2026.2.2 dropped bundled hook handlers from the build output. The copy-hook-metadata.ts script only copies HOOK.md metadata files, not the handler.ts source files. Without corresponding tsdown entry points, the handlers were never compiled to JS, causing `openclaw hooks list` to show 0 hooks on npm installs. This adds each bundled hook handler and the llm-slug-generator (dynamically imported by session-memory) as tsdown entry points: - src/hooks/bundled/session-memory/handler.ts - src/hooks/bundled/command-logger/handler.ts - src/hooks/bundled/boot-md/handler.ts - src/hooks/bundled/soul-evil/handler.ts - src/hooks/llm-slug-generator.ts Regression introduced in 2026.2.2; versions 2026.1.29–2026.2.1 worked correctly under the previous tsc build. * refactor: use glob for bundled hook entries, fix dist output paths - Replace hardcoded entry list with glob pattern in tsdown.config.ts so new hooks are auto-discovered (matching scripts/copy-hook-metadata.ts) - Remove inconsistent comment block from tsdown.config.ts - Fix copy-hook-metadata.ts to copy HOOK.md to dist/bundled/ (matching the runtime resolution in bundled-dir.ts which resolves path.join(moduleDir, 'bundled') relative to the chunk in dist/) - Update stale path comment in session-memory handler |
10 months ago | |
|---|---|---|
| .. | ||
| dev | 10 months ago | |
| docker | 10 months ago | |
| docs-i18n | 10 months ago | |
| e2e | 10 months ago | |
| pre-commit | 10 months ago | |
| repro | 10 months ago | |
| systemd | 10 months ago | |
| analyze_code_files.py | 10 months ago | |
| auth-monitor.sh | 10 months ago | |
| bench-model.ts | 10 months ago | |
| build-and-run-mac.sh | 10 months ago | |
| build-docs-list.mjs | 10 months ago | |
| build_icon.sh | 10 months ago | |
| bundle-a2ui.sh | 10 months ago | |
| canvas-a2ui-copy.ts | 10 months ago | |
| changelog-to-html.sh | 10 months ago | |
| check-ts-max-loc.ts | 10 months ago | |
| claude-auth-status.sh | 10 months ago | |
| clawlog.sh | 10 months ago | |
| clawtributors-map.json | 10 months ago | |
| codesign-mac-app.sh | 10 months ago | |
| committer | 10 months ago | |
| copy-hook-metadata.ts | 10 months ago | |
| create-dmg.sh | 10 months ago | |
| debug-claude-usage.ts | 10 months ago | |
| docs-link-audit.mjs | 10 months ago | |
| docs-list.js | 10 months ago | |
| firecrawl-compare.ts | 10 months ago | |
| ios-team-id.sh | 11 months ago | |
| make_appcast.sh | 10 months ago | |
| mobile-reauth.sh | 10 months ago | |
| notarize-mac-artifact.sh | 10 months ago | |
| package-mac-app.sh | 10 months ago | |
| package-mac-dist.sh | 10 months ago | |
| protocol-gen-swift.ts | 10 months ago | |
| protocol-gen.ts | 10 months ago | |
| readability-basic-compare.ts | 10 months ago | |
| release-check.ts | 10 months ago | |
| restart-mac.sh | 10 months ago | |
| run-node.mjs | 10 months ago | |
| sandbox-browser-entrypoint.sh | 10 months ago | |
| sandbox-browser-setup.sh | 10 months ago | |
| sandbox-common-setup.sh | 10 months ago | |
| sandbox-setup.sh | 10 months ago | |
| setup-auth-system.sh | 10 months ago | |
| sqlite-vec-smoke.mjs | 10 months ago | |
| sync-labels.ts | 10 months ago | |
| sync-moonshot-docs.ts | 10 months ago | |
| sync-plugin-versions.ts | 10 months ago | |
| termux-auth-widget.sh | 10 months ago | |
| termux-quick-auth.sh | 10 months ago | |
| termux-sync-widget.sh | 10 months ago | |
| test-cleanup-docker.sh | 10 months ago | |
| test-force.ts | 10 months ago | |
| test-install-sh-docker.sh | 10 months ago | |
| test-install-sh-e2e-docker.sh | 10 months ago | |
| test-live-gateway-models-docker.sh | 10 months ago | |
| test-live-models-docker.sh | 10 months ago | |
| test-parallel.mjs | 10 months ago | |
| test-shell-completion.ts | 10 months ago | |
| ui.js | 10 months ago | |
| update-clawtributors.ts | 10 months ago | |
| update-clawtributors.types.ts | 10 months ago | |
| watch-node.mjs | 10 months ago | |
| write-build-info.ts | 10 months ago | |
| write-cli-compat.ts | 10 months ago | |
| write-plugin-sdk-entry-dts.ts | 10 months ago | |
| zai-fallback-repro.ts | 10 months ago | |