Commit Graph

400 Commits (c0cd3c3c088eb5b335e8b0a052d9911da9d549e7)

Author SHA1 Message Date
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
Tanwa Arpornthip c76288bdf1
fix(slack): download all files in multi-image messages (#15447)
* fix(slack): download all files in multi-image messages

resolveSlackMedia() previously returned after downloading the first
file, causing multi-image Slack messages to lose all but the first
attachment. This changes the function to collect all successfully
downloaded files into an array, matching the pattern already used by
Telegram, Line, Discord, and iMessage adapters.

The prepare handler now populates MediaPaths, MediaUrls, and
MediaTypes arrays so downstream media processing (vision, sandbox
staging, media notes) works correctly with multiple attachments.

Fixes #11892, #7536

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(slack): preserve MediaTypes index alignment with MediaPaths/MediaUrls

The filter(Boolean) on MediaTypes removed entries with undefined contentType,
shrinking the array and breaking index correlation with MediaPaths and MediaUrls.
Downstream code (media-note.ts, attachments.ts) requires these arrays to have
equal lengths for correct per-attachment MIME type lookup. Replace filter(Boolean)
with a nullish coalescing fallback to "application/octet-stream".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(slack): align MediaType fallback and tests (#15447) (thanks @CommanderCrowCode)

* fix: unblock plugin-sdk account-id typing (#15447)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
9 months ago
Peter Steinberger ec399aaddf perf(test): parallelize unit-isolated 9 months ago
Peter Steinberger 6543ce717c perf(test): avoid plugin-sdk barrel imports 9 months ago
Peter Steinberger d1f01de59a perf(test): default to vmForks on Node 25; unstub envs 9 months ago
Peter Steinberger 38a157ff23 perf(test): reduce setup overhead; isolate sharp-heavy suites 9 months ago
Peter Steinberger 748d6821d2 fix(config): add forensic config write audit and watch attribution 9 months ago
Peter Steinberger f86840f4df perf(cli): reduce read-only startup overhead 9 months ago
Peter Steinberger fecb3f326e perf(test): trim models/browser suite overhead 9 months ago
Joseph Krug 4e9f933e88
fix: reset stale execution state after SIGUSR1 in-process restart (#15195)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 676f9ec45135be0d3471bb0444bc2ac7ce7d5224
Co-authored-by: joeykrug <5925937+joeykrug@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
9 months ago
Gustavo Madeira Santana 42eaee8b7e chore: fix root_dir resolution/stale scripts during PR review 9 months ago
Nathaniel Kelner 66f6d71ffa Update clawdock-helpers.sh compatibility with Zsh
Unlike Bash, Zsh has several "special" readonly variables (status, pipestatus, etc.) that the shell manages automatically. Shadowing them with local declarations triggers an error.
9 months ago
Peter Steinberger 8899f9e94a perf(test): optimize heavy suites and stabilize lock timing 9 months ago
Sebastian 5d37b204c0 Tests: disable vmForks on Node 24 and document override 9 months ago
Peter Steinberger 78ec0a1edf fix: stabilize test runner and daemon-cli compat 9 months ago
Peter Steinberger ba7dccc49d test: speed up test suite and trim redundant onboarding tests 9 months ago
Peter Steinberger 711597c02b fix(update): repair daemon-cli compat exports after self-update 9 months ago
Peter Steinberger f9e444dd56 fix: include plugin sdk dts tsconfig in onboard docker image 9 months ago
Gustavo Madeira Santana 04a1ed5e53 chore: make changelog mandatory in PR skills 9 months ago
Shadow 3b6bd202da
Scripts: add issue labeler state + PR support 9 months ago
Gustavo Madeira Santana 49188caf94 chore(pr-skills): suppress output for successful commands (pnpm install/build/test/etc) to lower context usage 9 months ago
Gustavo Madeira Santana 1123357c62
chore: refining review PR additional prompts 9 months ago
Peter Steinberger 069670388e perf(test): speed up test runs and harden temp cleanup 9 months ago
Peter Steinberger 8fce7dc9b6 perf(test): add vitest slowest report artifact 9 months ago
Peter Steinberger 9f507112b5 perf(test): speed up vitest by skipping plugins + LLM slug 9 months ago
Karim Naguib 7a0591ef87
fix(whatsapp): allow media-only sends and normalize leading blank payloads (#14408)
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
9 months ago
Tak Hoffman c28cbac512
CI: add PR size autolabel workflow (#14410) 9 months ago
cpojer c2178e2522
chore: Cleanup useless CI job. 9 months ago
Gustavo Madeira Santana 940ce424c8 chore: make review mode switching idempotent 9 months ago
Gustavo Madeira Santana 72fbfaa755 chore: making PR review chores deterministic + less token hungry 9 months ago
Daniel Olshansky 31f616d45b
feat: `ClawDock` - shell docker helpers for OpenClaw development (#12817)
Discussion: https://github.com/openclaw/openclaw/discussions/13528

## Checklist

- [x] **Mark as AI-assisted in the PR title or description** - Implemented by 🤖, reviewed by 👨‍💻 
- [x] **Note the degree of testing** - fully tested and I use it myself
- [x] **Include prompts or session logs if possible (super helpful!)** - I can try doing a "resume" on a few sessions, but don't think it'll provide value. Lmk if this is a blocker.
- [x] **Confirm you understand what the code does** - It's simple :)

## Summary of changes

- **ClawDock** - Shell helpers replace verbose `docker-compose` commands with simple `clawdock-*` shortcuts
- **Zero-config setup** - First run auto-detects the OpenClaw project directory from common paths and saves the config for future use
- **No extra dependencies** - Just bash
- **Built-in auth & device pairing helpers** - `clawdock-fix-token`, `clawdock-dashboard`, etc to handle gateay setup, streamline web UI, etc...
- **Updated Docker docs** - Installation docs now include the optional ClawDock helper setup for users who want simplified container management

## Example Usage

```bash
$ clawdock-help

🦞 ClawDock - Docker Helpers for OpenClaw

⚡ Basic Operations
  clawdock-start       Start the gateway
  clawdock-stop        Stop the gateway
  clawdock-restart     Restart the gateway
  clawdock-status      Check container status
  clawdock-logs        View live logs (follows)

🐚 Container Access
  clawdock-shell       Shell into container (openclaw alias ready)
  clawdock-cli         Run CLI commands (e.g., clawdock-cli status)
  clawdock-exec <cmd>  Execute command in gateway container

🌐 Web UI & Devices
  clawdock-dashboard   Open web UI in browser (auto-guides you)
  clawdock-devices     List device pairings (auto-guides you)
  clawdock-approve <id> Approve device pairing (with examples)

⚙️  Setup & Configuration
  clawdock-fix-token   Configure gateway token (run once)

🔧 Maintenance
  clawdock-rebuild     Rebuild Docker image
  clawdock-clean       ⚠️  Remove containers & volumes (nuclear)

🛠️  Utilities
  clawdock-health      Run health check
  clawdock-token       Show gateway auth token
  clawdock-cd          Jump to openclaw project directory
  clawdock-config      Open config directory (~/.openclaw)
  clawdock-workspace   Open workspace directory

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 First Time Setup
  1. clawdock-start          # Start the gateway
  2. clawdock-fix-token      # Configure token
  3. clawdock-dashboard      # Open web UI
  4. clawdock-devices        # If pairing needed
  5. clawdock-approve <id>   # Approve pairing

💬 WhatsApp Setup
  clawdock-shell
    > openclaw channels login --channel whatsapp
    > openclaw status

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💡 All commands guide you through next steps!
📚 Docs: https://docs.openclaw.ai
```\n\nCo-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com>
10 months ago
Shadow 71fd054711
Revert "fix(credits): deduplicate contributors by GitHub username and display name"
This reverts commit d2f5d45f08.
10 months ago
Shadow 614befd15d
Revert "credits: categorize direct changes, exclude bots, fix MDX (#13322)"
This reverts commit 8666d9f837.
10 months ago
max 8666d9f837
credits: categorize direct changes, exclude bots, fix MDX (#13322) 10 months ago
max d2f5d45f08
fix(credits): deduplicate contributors by GitHub username and display name
* Scripts: add sync-credits.py to populate maintainers/contributors from git/GitHub

* fix(credits): deduplicate contributors by GitHub username and display name
10 months ago
Tak Hoffman 72f89b1f53
Docker: include A2UI sources for bundle (#13114)
* Docker: include A2UI sources for bundle

* Build: fail bundling when sources missing and no prebuilt A2UI bundle
10 months ago
quotentiroler 5c62e4d51b Improve code analyzer for independent packages, CI: only run release-check on push to main 10 months ago
max c4d9b6eadb
fix: docs broken links and improve link checker (#13056)
* docs: fix broken links checker and add CI docs

- Replace buggy mint broken-links with existing docs:check-links script
- Fix zh-CN/vps.md broken links (/railway  /install/railway)
- Add docs/ci.md explaining CI pipeline
- Add Experiments group to docs.json navigation

* improve docs checker
10 months ago
quotentiroler b40a7771e5 ci: imprpove warning for size check 10 months ago
quotentiroler 1074d13e4e Improve flagging in code analyzer 10 months ago
quotentiroler 1fad19008e fix: improve code-size gate output and duplicate detection, fix Windows path in source-display 10 months ago
quotentiroler de8eb2b29c feat(ci): also flag already-large files that grew larger 10 months ago