Commit Graph

441 Commits (d833dcd731875262cdffe3fc60137dfaf53e16b3)

Author SHA1 Message Date
Peter Steinberger ca43efa965 fix(ci): force npm install path in smoke docker tests 9 months ago
Peter Steinberger b8b43175c5 style: align formatting with oxfmt 0.33 9 months ago
Peter Steinberger 31f9be126c style: run oxfmt and fix gate failures 9 months ago
Nimrod Gutman 98962ed81d
feat(ios): auto-select local signing team (#18421)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: bbb9c3aa48a542539dc37136e6542d1f3958f9c2
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Reviewed-by: @ngutman
9 months ago
cpojer 49bd9f75f4
chore: Fix types in tests 33/N. 9 months ago
cpojer d0cb8c19b2
chore: wtf. 9 months ago
Sebastian ed11e93cf2 chore(format) 9 months ago
Josh Avant 81741c37fd
fix(gateway): remove watch-mode build/start race (#18782) 9 months ago
Sebastian bbb5fbc71f fix(scripts): harden Windows UI spawn behavior 9 months ago
Gustavo Madeira Santana 37064e5cc6 Revert "feat(docker): add init script support via /openclaw-init.d/"
This reverts commit 53af9f7437.
9 months ago
Gustavo Madeira Santana 09c82a1fbf Revert "fix: capture init script exit codes instead of swallowing via pipe"
This reverts commit 8b14052ebe.
9 months ago
cpojer 90ef2d6bdf
chore: Update formatting. 9 months ago
Peter Steinberger eaa2f7a7bf fix(ci): restore main lint/typecheck after direct merges 9 months ago
boris f70b3a2e68 refactor: bundle export-html templates instead of reading from node_modules
- Copy templates from pi-coding-agent into src/auto-reply/reply/export-html/
- Add build script to copy templates to dist/
- Remove fragile node_modules path traversal
- Templates are now self-contained (~250KB total)
9 months ago
Rob Dunn ddea5458d0 cron: log model+token usage per run + add usage report script 9 months ago
JayMishra-github 8b14052ebe fix: capture init script exit codes instead of swallowing via pipe
Address review feedback: the pipe to sed swallowed the script's exit
code. Now capture output in a variable and check exit status separately
so failures are logged as warnings in the entrypoint output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
JayMishra-github 53af9f7437 feat(docker): add init script support via /openclaw-init.d/
Adds an ENTRYPOINT script that runs user-provided init scripts from
/openclaw-init.d/ before starting the gateway. This is the standard
Docker pattern (used by nginx, postgres, etc.) for customizing container
startup without overriding the entire entrypoint.

Usage:
  docker run -v ./my-init-scripts:/openclaw-init.d:ro openclaw

Scripts must be executable. Non-executable files are skipped with a
warning. Scripts run in alphabetical order with output prefixed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
OscarMinjarez b9c45d003d chore: format scripts/ui.js with oxfmt 9 months ago
OscarMinjarez b60b44b42e fix(scripts): fix spawn EINVAL error on Windows in ui.js 9 months ago
Peter Steinberger 7aa7b04fb0 test: rebalance isolated unit test lane 9 months ago
Peter Steinberger f1654b4ba2 test: isolate telegram bot behavior suite from unit-fast lane 9 months ago
Peter Steinberger 510889d439 test: isolate slack slash and telegram bootstrap suites 9 months ago
Peter Steinberger 794808b169 test: isolate hook installer suite from unit-fast lane 9 months ago
Peter Steinberger 1b223dbdd8 test: isolate git-hooks integration and stabilize exec timeout 9 months ago
Peter Steinberger e7ccbd1445 test: isolate block-streaming suite from unit-fast lane 9 months ago
Peter Steinberger fbe6d7c701 ci: include a2ui sources in onboarding docker build 9 months ago
Peter Steinberger c1655982d4 refactor: centralize pre-commit file filtering 9 months ago
Peter Steinberger 67bfe8fb80 perf(test): cut gateway unit suite overhead 9 months ago
Peter Steinberger 92f8c0fac3 perf(test): speed up suites and reduce fs churn 9 months ago
Tak Hoffman df7fff8fd7 test: add serial macmini test profile 9 months ago
Peter Steinberger 3faf5ada2e ci(test): raise node heap for CI vitest 9 months ago
Vignesh Natarajan 277b2de491 fix (cli): harden daemon compat shim for minimal bundle exports 9 months ago
Peter Steinberger 960850445b fix(build): restore daemon-cli legacy shim 9 months ago
Peter Steinberger 3b08f3058b perf(test): isolate imessage monitor tests from vmForks 9 months ago
Peter Steinberger d355fecd4d fix(ci): avoid Windows spawn EINVAL in test runner 9 months ago
Peter Steinberger fef86e475b refactor: dedupe shared helpers across ui/gateway/extensions 9 months ago
Peter Steinberger 2690dfa77b test: quiet docker onboard e2e noise 9 months ago
Peter Steinberger 107cc03140 ci: reduce docker e2e log brittleness 9 months ago
Peter Steinberger a7eb0dd9a5 fix(security): harden Windows child process spawning 9 months ago
Peter Steinberger 852c897956 refactor(sandbox): add sandbox-common dockerfile 9 months ago
artale 3189430ad0 fix(sandbox): switch to root user for package installation in sandbox-common-setup
The base image (Dockerfile.sandbox) sets USER sandbox at the end, so
when sandbox-common-setup.sh builds FROM it, apt-get runs as the
unprivileged sandbox user and fails with 'Permission denied'.

Add USER root before apt-get/npm/curl install steps, and restore
USER sandbox at the end to preserve the non-root runtime default.

Fixes #16420
9 months ago
Peter Steinberger a429380e33 fix(scripts): harden clawtributors updater 9 months ago
Peter Steinberger d9d321f94b chore(security): bump qs and golang.org/x/net 9 months ago
Peter Steinberger e03dc987e3 chore(test): keep gateway vitest on forks 9 months ago
Glucksberg f537bd1796
fix(telegram): exclude plugin commands from setMyCommands when native=false (openclaw#15164) thanks @Glucksberg
Verified:
- pnpm install --frozen-lockfile
- pnpm build
- pnpm check
- pnpm test

Co-authored-by: Glucksberg <80581902+Glucksberg@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
9 months ago
Tak Hoffman 3369ef5aef test: add macmini low-cpu test profile 9 months ago
Peter Steinberger 709c225b2b fix(podman): bootstrap config and token 9 months ago
Christoph Spörk 81b5e2766b
feat(podman): add optional Podman setup and documentation (#16273)
* feat(podman): add optional Podman setup and documentation

- Introduced `setup-podman.sh` for one-time host setup of OpenClaw in a rootless Podman environment, including user creation, image building, and launch script installation.
- Added `run-openclaw-podman.sh` for running the OpenClaw gateway as a Podman container.
- Created `openclaw.podman.env` for environment variable configuration.
- Updated documentation to include Podman installation instructions and a new dedicated Podman guide.
- Added a systemd Quadlet unit for managing the OpenClaw service as a user service.

* fix: harden Podman setup and docs (#16273) (thanks @DarwinsBuddy)

* style: format cli credentials

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
9 months ago
Peter Steinberger 9fb48f4dff refactor(scripts): make run-node main testable 9 months ago
Peter Steinberger 9a134c8a10 perf(test): tune parallel vitest worker split 9 months ago