Commit Graph

1333 Commits (4329d94de3a71803db177ee50af68eb75d7ea06b)

Author SHA1 Message Date
Tak Hoffman 5cd8d43af9
tests: improve boundary audit coverage and safety (#53080)
* tools: extend seam audit inventory

* tools: tighten seam audit heuristics

* tools: refine seam test matching

* tools: refine seam audit review heuristics

* style: format seam audit script

* tools: widen seam audit matcher coverage

* tools: harden seam audit coverage

* tools: tighten boundary audit matchers

* tools: ignore mocked import matches in boundary audit

* test: include native command reply seams in audit
8 months ago
Peter Steinberger 8f9799307b
test: print failed test lane output tails 8 months ago
Peter Steinberger ecc8fe5dc2 ci: rebalance sharded test lanes 8 months ago
Peter Steinberger 5cb8e33a31
build: tag correction npm publishes as latest 8 months ago
Peter Steinberger 9334015262
fix: ship bundled plugin runtime sidecars 8 months ago
Peter Steinberger ffd722bc2c
build: harden local release verification 8 months ago
Peter Steinberger 36de481541
docs: capture windows parallels install learnings 8 months ago
Peter Steinberger ea99984e23
test: fix windows parallels agent quoting 8 months ago
Peter Steinberger ccfeecb688
test: harden parallels macos dashboard smoke 8 months ago
Onur Solmaz bc95436a43
release: upload macos preflight artifacts (#53105)
* release: upload macos preflight artifacts

* release: speed up macos preflight

* release: use xlarge macos runner

* release: skip dmg path in macos preflight
8 months ago
Peter Steinberger 6c58277577
build: prepare 2026.3.23 8 months ago
Val Alexander 7a459045de
fix packaged control ui asset lookup (#53081) 8 months ago
Peter Steinberger 80bd5ba728
fix(release): fail empty control ui tarballs 8 months ago
TheRipper 36d6ba55e3
Release: fix npm release preflight under pnpm (#52985)
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
8 months ago
Vincent Koc c55d4f63eb fix(release): raise npm pack size budget 8 months ago
Nimrod Gutman b84a130788
fix(release): preserve shipped channel surfaces in npm tar (#52913)
* fix(channels): ship official channel catalog (#52838)

* fix(release): keep shipped bundles in npm tar (#52838)

* build(release): fix rebased release-check helpers (#52838)
8 months ago
Vincent Koc 70b235f312 fix(release): ship bundled plugins in pack artifacts 8 months ago
Onur Solmaz 8ed33c2aff
release: automate macOS publishing (#52853)
* release: automate macOS publishing

* release: keep mac appcast in openclaw repo

* release: add preflight-only release workflow runs

* release: keep appcast updates manual

* release: generate signed appcast as workflow artifact

* release: require preflight before publish

* release: require mac app for every release

* docs: clarify every release ships mac app

* release: document Sparkle feed and SHA rules

* release: keep publish flow tag-based

* release: stabilize mac appcast flow

* release: document local mac fallback
8 months ago
evann c278e8d7a8
release-check: include stderr/stdout when npm pack fails 8 months ago
evann fcafd8d4de
release: verify control-ui assets are included in npm tarball 8 months ago
Peter Steinberger 3725b38335 fix: restore ci gates 8 months ago
Onur Solmaz cd7d49b48e
CI: remove npm release preview workflow (#52825)
* CI: remove npm release preview workflow

* Docs: align release maintainer skill with manual publish

* Docs: expand release maintainer skill flow
8 months ago
Peter Steinberger 8fd2fa13c6 test: avoid repo-root perf profile artifacts 8 months ago
Peter Steinberger f98811a67c
fix: harden parallels smoke agent invocation 8 months ago
Peter Steinberger 9d3d7f9e65 fix: restart windows gateway after npm update 8 months ago
Peter Steinberger 399fae33ca test: add parallels npm update smoke 8 months ago
Peter Steinberger ff54c02b7d test: narrow live transcript scaffolding strip 8 months ago
Peter Steinberger 5f05c92922
test: harden no-isolate reply teardown 8 months ago
Peter Steinberger abbd1b6b8a
feat: add slash plugin installs 8 months ago
Peter Steinberger ddf823036b fix: harden Windows Parallels smoke installs 8 months ago
Peter Steinberger 47186c50a2 fix(ci): restore stale guardrails and baselines 8 months ago
Peter Steinberger 202b588db5
fix: harden plugin docker e2e 8 months ago
Peter Steinberger 3fac0d11fa
test: fix base vitest thread regressions 8 months ago
Peter Steinberger f3de580ca1 test: trim docker live auth mounts 8 months ago
Peter Steinberger 957fff443f fix: include .npmrc in onboard docker build 8 months ago
Vincent Koc e1d4c38cee fix(runtime): skip peer resolution for bundled plugin deps 8 months ago
Vincent Koc fd5555d5be fix(runtime): make dist-runtime staging idempotent 8 months ago
Peter Steinberger af9de86286 perf: trim vitest hot imports and refresh manifests 8 months ago
Peter Steinberger 7fcbf383d8
fix(ci): write dist build stamp after builds 8 months ago
Peter Steinberger 6b9915a106
refactor!: drop legacy CLAWDBOT env compatibility 8 months ago
Peter Steinberger 827c441902 fix(test): isolate flaky extension lanes 8 months ago
Peter Steinberger 7818344f82 fix(ci): harden changed extension diff fallback 8 months ago
Vincent Koc f69062c16e fix(plugin-sdk): export line runtime subpath 8 months ago
Vincent Koc 3ad652fa9e fix(build): restore plugin-sdk and line compat after refactor 8 months ago
Peter Steinberger 96d61aa50c
refactor: harden generated-file guards and provider ids 8 months ago
Peter Steinberger 562e4a1791 refactor(outbound): split delivery queue storage and recovery 8 months ago
Peter Steinberger f56edd62f0 fix: export provider-entry plugin sdk subpath 8 months ago
Vincent Koc 3f002feffb fix(plugins): remove metadata generator conflict markers 8 months ago
Vincent Koc a59db4c9f4 fix(plugins): make metadata generator formatter portable 8 months ago
Peter Steinberger 2dd3425584 fix(ci): restore delivery queue branch checks 8 months ago
Vincent Koc 0f54ca20aa refactor(image-generation): move provider builders into plugins 8 months ago
Vincent Koc de6bf58e79 refactor(tts): move speech providers into plugins 8 months ago
Vincent Koc ac6542584b fix(ci): unblock windows generator and gateway test typing 8 months ago
Peter Steinberger bca7787f92 style: fix rebased format drift 8 months ago
Peter Steinberger 60273758f8 fix(ci): use Windows-safe formatter spawn 8 months ago
Peter Steinberger d0f5e7cb2d
test: simplify vitest runner pools 8 months ago
Vincent Koc 091b811a61 fix(ci): lazy-load TypeScript in ts guard utils 8 months ago
Peter Steinberger e0af23106c ci: fix workflow sanity gate 8 months ago
Peter Steinberger 1ad47b8fa1 test: harden path resolution test helpers 8 months ago
Peter Steinberger d91913c207 test: fix windows bundled metadata generation 8 months ago
Peter Steinberger d907ebffc5
perf: trim vitest thread overrides 8 months ago
Peter Steinberger 29c0e783b1
refactor: rename vitest behavior lanes 8 months ago
Peter Steinberger f0dc42a9c5 test: improve parallels smoke defaults 8 months ago
Peter Steinberger 2773f33084
test: stabilize vitest no-isolate suites 8 months ago
Peter Steinberger ca99163b98 perf: precompute base config schema 8 months ago
Peter Steinberger 171b24c5c5 perf: generate bundled plugin metadata for cold startup 8 months ago
Peter Steinberger cf8891a824 fix: stabilize docker live test lanes 8 months ago
Vincent Koc 4bd90f24d1
perf(ci): gate install smoke on changed-smoke (#52458) 8 months ago
Vincent Koc 66beff726b
perf(ci): trim install smoke overhead (#52447)
* perf(ci): trim install smoke overhead

* perf(ci): skip discord opus native build noise

* fix(ci): use npm latest dist-tag in install smoke
8 months ago
Vincent Koc dbd26e49f1
fix(test): reduce startup-heavy hotspot retention (#52381) 8 months ago
Peter Steinberger e39d5b9ef8
perf: default unit vitest lanes to threads 8 months ago
Peter Steinberger 8e09568bc7
perf: expand base vitest thread lanes 8 months ago
Peter Steinberger 95ae8aabb7
perf: expand vitest thread lanes 8 months ago
Peter Steinberger b44152fcc8
perf: automate vitest thread candidate scans 8 months ago
Peter Steinberger 1ceaad18a6
test: harden vitest no-isolate coverage 8 months ago
Peter Steinberger 3fa2300ba1 perf: reduce plugin runtime startup overhead 8 months ago
Bob 4f1e12a2b1
Docs: prototype generated plugin SDK reference (#51877)
* Chore: unblock synced main checks

* Docs: add plugin SDK docs implementation plan

* Docs: scaffold plugin SDK reference phase 1

* Docs: mark plugin SDK reference surfaces unstable

* Docs: prototype generated plugin SDK reference

* docs(plugin-sdk): replace generated reference with api baseline

* docs(plugin-sdk): drop generated reference plan

* docs(plugin-sdk): align api baseline flow with config docs

---------

Co-authored-by: Onur <2453968+osolmaz@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
8 months ago
Vincent Koc 3ce5a8366a
fix(plugins): enforce minimum host versions for installable plugins (#52094)
* fix(plugins): enforce min host versions

* fix(plugins): tighten min host version validation

* chore(plugins): trim dead min host version code

* fix(plugins): handle malformed min host metadata

* fix(plugins): key manifest cache by host version
8 months ago
Peter Steinberger 3382ef2724 perf: reduce plugin runtime startup overhead 8 months ago
Peter Steinberger d81772dbc7 test: trim import-heavy startup paths 8 months ago
Tak Hoffman d6c05c1941
ci: surface hidden failures in smoke helpers (#51954)
* ci: surface hidden failures in smoke helpers

* changelog: add ci smoke failure-signal note
8 months ago
Vincent Koc 2b4c3c2057
fix(plugin-sdk): remove relative extension boundary escapes (#51939)
* fix(plugin-sdk): remove relative extension boundary escapes

* Gate new plugin-sdk subpaths on host version

* Add changelog entry for #51939

* Fix local staging for plugin-sdk host version gate

* Raise host floor for line and googlechat plugins

---------

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
8 months ago
Peter Steinberger d0d82ea67b test: trim import-heavy startup paths 8 months ago
Vincent Koc 45f84cf639 fix(test): normalize path separators [skip ci] 8 months ago
Peter Steinberger 37d5cbe43a test: trim test startup overhead 8 months ago
Peter Steinberger a622eecd3b refactor(test): dedupe shared test helpers 8 months ago
Vincent Koc 5069c771e7
fix(test): recycle unit-fast CI batches (#51884)
* fix(test): recycle unit-fast ci batches

* refactor(config): narrow discord timeout import

* test(outbound): lighten target plugin stubs

* refactor(auth): narrow env api key resolution

* docs(auth): restore anthropic vertex sentinel comment
8 months ago
Peter Steinberger c29ba9d21a fix(docs): handle anchors in docs link audit 8 months ago
Jari Mustonen fd2b3ed6af
feat(memory): pluggable system prompt section for memory plugins (#40126)
Merged via squash.

Prepared head SHA: 5228d1937f037172762fa64b0f8749403f9ae85f
Co-authored-by: jarimustonen <1272053+jarimustonen@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Harold Hunt e24bf22f98
Fix Discord `/codex_resume` picker expiration (#51260)
Merged via squash.

Prepared head SHA: 76eb184dbe60cb1c05db02aab426a67b95095cc3
Co-authored-by: huntharo <5617868+huntharo@users.noreply.github.com>
Co-authored-by: huntharo <5617868+huntharo@users.noreply.github.com>
Reviewed-by: @huntharo
8 months ago
Peter Steinberger 0a842de354 test: widen low-profile singleton batching 8 months ago
Josh Lehman 2364e45fe4
test: align extension runtime mocks with plugin-sdk (#51289)
* test: align extension runtime mocks with plugin-sdk

Update stale extension tests to mock the plugin-sdk runtime barrels that production code now imports, and harden the Signal tool-result harness around system-event assertions so the channels lane matches current extension boundaries.

Regeneration-Prompt: |
  Verify the failing channels-lane tests against current origin/main in an isolated worktree before changing anything. If the failures reproduce on main, keep the fix test-only unless production behavior is clearly wrong. Recent extension refactors moved Telegram, WhatsApp, and Signal code onto plugin-sdk runtime barrels, so update stale tests that still mock old core module paths to intercept the seams production code now uses. For Signal reaction notifications, avoid brittle assertions that depend on shared queued system-event state when a direct harness spy on enqueue behavior is sufficient. Preserve scope: only touch the failing tests and their local harness, then rerun the reproduced targeted tests plus the full channels lane and repo check gate.

* test: fix extension test drift on main

* fix: lazy-load bundled web search plugin registry

* test: make matrix sweeper failure injection portable

* fix: split heavy matrix runtime-api seams

* fix: simplify bundled web search id lookup

* test: tolerate windows env key casing
8 months ago
Peter Steinberger fac64c2392 test: widen unit timing snapshot coverage 8 months ago
Peter Steinberger 39a4fe576d test: normalize perf manifest paths 8 months ago
Peter Steinberger cadbaa34c1 test: widen low-profile scheduler peeling 8 months ago
Peter Steinberger aed1f6d807 test: parallelize low-profile deferred lanes 8 months ago
Peter Steinberger 09cf6d80ec test: batch thread-only unit lanes 8 months ago
Peter Steinberger fa71ad7c5d test: repair latest-main web search regressions 8 months ago
Peter Steinberger 1b18742e8e test: peel more slow unit files out of unit-fast 8 months ago
Peter Steinberger 62ddc9d9e0 refactor: consolidate plugin sdk surface 8 months ago
Vincent Koc 42801f6178 fix(plugin-sdk): dedupe rebased zalo export entries 8 months ago
Vincent Koc a2e1991ed3 refactor(plugin-sdk): route bundled runtime barrels through public subpaths 8 months ago
Harold Hunt 4838e3934b
Tests: default CI unit lanes to forks (#51145) 8 months ago
Peter Steinberger 85a5d64d8f test: speed up isolated test lanes 8 months ago
Peter Steinberger 18fa2992f9 fix: restore plugin sdk runtime barrels 8 months ago
Vincent Koc aa78a0c00e refactor(plugin-sdk): formalize runtime contract barrels 8 months ago
Vincent Koc dbc9d3dd70 fix(plugin-sdk): restore root diagnostic compat 8 months ago
Peter Steinberger 50ce9ac1c6 refactor: privatize bundled sdk facades 8 months ago
Peter Steinberger f6948ce405 refactor: shrink sdk helper surfaces 8 months ago
Vincent Koc faa8e27291 fix(ci): share compat matrix and restore skill python gating 8 months ago
Vincent Koc ce878a9eb1 fix(test): batch unit-fast worker lifetimes 8 months ago
Shakker 94ab044387 fix(ci): split unit-fast into bounded shared-worker lanes 8 months ago
Shakker b90eef50ec fix(ci): widen Linux memory-hotspot isolation cap 8 months ago
Shakker 829beced04 fix(ci): avoid Windows shell arg overflow in unit-fast 8 months ago
Shakker d689b3fc89 fix(ci): prioritize memory-heavy unit scheduling 8 months ago
Shakker 254ea0c65e fix(ci): parse GitHub Actions memory hotspot logs 8 months ago
Shakker 9c7da58770 fix(ci): auto-isolate memory-heavy unit tests 8 months ago
Shakker ac18a734ac
fix(ci): cap top-level test lane concurrency 8 months ago
Vincent Koc c38295c7a2 test(ci): tighten startup memory thresholds 8 months ago
Vincent Koc 9486f6e379 fix(build): suppress singleton smoke deprecation noise 8 months ago
Vincent Koc bbfeb0b6f9 fix(ci): cache node in install smoke image 8 months ago
Vincent Koc a245916dcb fix(ci): repair test-parallel heap snapshot parsing 8 months ago
Josh Lehman 35bc00c55b
test: reduce low-memory Vitest pressure (#50652)
* test: reduce low-memory Vitest pressure

Reuse the bundled config baseline inside doc-baseline tests, keep that hotspot out of the shared unit-fast lane, and make OPENCLAW_TEST_PROFILE=low default to process forks instead of vmForks.

* test: keep low-profile vmForks in CI

Scope the low-profile forks fallback to local runs so the existing CI contracts lane keeps its current pool behavior.
8 months ago
Harold Hunt bbd62469fa
Tests: Add tooling / skill for detecting and fixing memory leaks in tests (#50654)
* Tests: add periodic heap snapshot tooling

* Skills: add test heap leak workflow

* Apply suggestion from @greptile-apps[bot]

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update scripts/test-parallel.mjs

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
8 months ago
Vincent Koc 98298f7931 fix(ci): trace test runner memory retention 8 months ago
Vincent Koc a94e21e0a7 docs(install): update container setup paths 8 months ago
Vincent Koc 46ccbacbd9 refactor(scripts): move container setup entrypoints 8 months ago
Vincent Koc 3b79494cbf fix(runtime): lazy-load setup shims and align contracts 8 months ago
Vincent Koc feb9a3b5b2 fix(ci): harden test gating under load 8 months ago
Vincent Koc 51519b4086 fix(ci): fail on fatal test runner output 8 months ago
Tak Hoffman fb18034011
test: add macmini test profile 8 months ago
Peter Steinberger 22943f24a9 refactor: prune bundled sdk facades 8 months ago
Tak Hoffman 5b7b5529f1
Plugins: remove shared extension boundary debt 8 months ago
Peter Steinberger b7ca56f662 refactor: install heavy plugins on demand 8 months ago
Peter Steinberger 30a94dfd3b refactor: untangle whatsapp runtime boundary 8 months ago
Vincent Koc de86e25fd4 fix(ci): skip extension lanes with no tests 8 months ago
Vincent Koc 8884643f40 fix(plugin-sdk): restore imessage-core export 8 months ago
Vincent Koc f19cb738af fix(plugin-sdk): restore public runtime subpaths 8 months ago
Vincent Koc b736a92e19 fix(ci): gate extension relative package escapes 8 months ago
Vincent Koc 9a9db87952 fix(release): isolate config doc surfaces and sdk exports 8 months ago
Peter Steinberger 60a55c9cbe fix(committer): accept argv and shell path blobs 8 months ago
Peter Steinberger d7018aaf19 refactor: move bundled extension deps to plugin packages 8 months ago
Peter Steinberger 07d9f725b6 refactor: unify plugin sdk primitives 8 months ago
Peter Steinberger 46f49eb6eb refactor: shrink plugin sdk public surface 8 months ago
Peter Steinberger 6e044ace28 fix: keep bundled runtime deps out of release pack 8 months ago
Vincent Koc 757c2cc2de fix(release): isolate bundled config docs loading 8 months ago
Vincent Koc 6ebcd853be fix(plugin-sdk): isolate provider entry surfaces 8 months ago
Vincent Koc 63e09f8267 chore(changelog): remove fragment workflow drift 8 months ago
Vincent Koc e9903c9133 Tests: align unit sharding with unit config 8 months ago
Tak Hoffman 600f57c979
test: add architecture smell detector 8 months ago
Peter Steinberger a0d3dc94d0 perf: reduce unit test hot path overhead 8 months ago
Vincent Koc 152d179302 Plugin SDK: add public WhatsApp runtime subpaths 8 months ago
Josh Lehman 505d140aeb
fix: stabilize build dependency resolution (#49928)
* build: mirror uuid for msteams

Add uuid to both the msteams bundled extension and the root package so the workspace build can resolve @microsoft/agents-hosting during tsdown while standalone extension installs also have the runtime dependency available.

Regeneration-Prompt: |
  pnpm build failed because @microsoft/agents-hosting 1.3.1 requires uuid in its published JS but does not declare it in its package manifest. The msteams extension dynamically imports that package, and the workspace build resolves it from the root dependency graph. Mirror uuid into the root package for workspace builds and keep it in extensions/msteams/package.json so standalone plugin installs also resolve it. Update the lockfile to match the manifest changes.

* build: prune stale plugin dist symlinks

Remove stale dist and dist-runtime plugin node_modules symlinks before tsdown runs. These links point back into extension installs, and tsdown's clean step can traverse them on rebuilds and hollow out the active pnpm dependency tree before plugin-sdk declaration generation runs.

Regeneration-Prompt: |
  pnpm build was intermittently failing in the plugin-sdk:dts phase after earlier build steps had already run. The symptom looked like missing root packages such as zod, ajv, commander, and undici even though a fresh install briefly fixed the problem. Investigate the build pipeline step by step rather than patching TypeScript errors. Confirm whether rebuilds mutate node_modules, identify the first step that does it, and preserve existing runtime-postbuild behavior.
  The key constraint is that dist and dist-runtime plugin node_modules links are intentional for runtime packaging, so do not remove that feature globally. Instead, make rebuilds safe by deleting only stale symlinks left in generated output before invoking tsdown, so tsdown cleanup cannot recurse back into the live pnpm install tree. Verify with repeated pnpm build runs.
8 months ago
Vincent Koc 7d08070dd7 Plugins: generate bundled auth env metadata 8 months ago
Peter Steinberger 8d73bc77fa refactor: deduplicate reply payload helpers 8 months ago
Vincent Koc 467ec4d5f3 Types: fix optional cluster check follow-ups 8 months ago
Peter Steinberger 05b1cdec3c test: make runner scheduling timing-driven 8 months ago
Vincent Koc 891e2a3da8 Build: isolate optional bundled plugin-sdk clusters 8 months ago
Vincent Koc b4f16bad32 Plugin SDK: export windows spawn and temp path 8 months ago
Vincent Koc d8008a9a67 Tools: classify optional bundled clusters 8 months ago
Vincent Koc 73539ac787 Core: move web media seam out of plugin sdk 8 months ago
Vincent Koc 947dac48f2 Tests: cap shards for explicit file lanes 8 months ago
Peter Steinberger f6928617b7 test: stabilize gate regressions 8 months ago
Peter Steinberger c0c3c4824d fix: checkpoint gate fixes before rebase 8 months ago
Peter Steinberger e9b19ca1d1 fix: restore full gate after web-search rebase 8 months ago
Peter Steinberger 0cddb5fb7c fix: restore full gate 8 months ago
Tak Hoffman ea476de1e4
Add plugin-sdk seam audit script 8 months ago
Tak Hoffman c2402e48c9
Build: narrow tsdown unresolved import guard 8 months ago
Tak Hoffman 86e9dcfc1b
Build: fail on unresolved tsdown imports 8 months ago
Onur Solmaz d41c9ad4cb
Release: add plugin npm publish workflow (#47678)
* Release: add plugin npm publish workflow

* Release: make plugin publish scope explicit
8 months ago
Tak Hoffman f58e0f5592
test simplify zero-state boundary guards 8 months ago
Ayaan Zaidi 0e9b899aee
test: enable vmForks for targeted channel test runs
Channel tests were always using process forks, missing the shared
transform cache that vmForks provides. This caused ~138s import
overhead per file. Now uses vmForks when available, matching the
pattern already used by unit-fast and extensions suites.
8 months ago
Vincent Koc f96ee99bbc Plugin SDK: harden provider auth seams 8 months ago
Vincent Koc afad0697aa Plugin SDK: register provider auth login entrypoint 8 months ago
Vincent Koc 0ae3e70a5c Plugin SDK: fix contract seam regressions 8 months ago
Vincent Koc 466510b6d8 refactor: replace "seam" terminology across codebase
Replace "seam" with clearer terms throughout:
- "surface" for public API/extension boundaries
- "boundary" for plugin/module interfaces
- "interface" for runtime connection points
- "hook" for test injection points
- "palette" for the lobster palette reference

Also delete experiments/acp-pluginification-architecture-plan.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Vincent Koc e17d10f7cd Plugin SDK: restore lobster and voice-call exports 8 months ago
Vincent Koc 0385553918 Plugin SDK: trim lobster and qwen helper exports 8 months ago
Vincent Koc d341d68180 Plugin SDK: trim legacy helper exports 8 months ago
Vincent Koc fe84354a33
fix(plugins): add missing secret-input-schema build entry and Matrix runtime export
buildSecretInputSchema was not included in plugin-sdk-entrypoints.json,
so it was never emitted to dist/plugin-sdk/secret-input-schema.js. This
caused a ReferenceError during onboard when configuring channels that use
secret input schemas (matrix, feishu, mattermost, bluebubbles, nextcloud-talk, zalo).

Additionally, the Matrix extension's hand-written runtime-api barrel was
missing the re-export, unlike other extensions that use `export *` from
their plugin-sdk subpath.

Co-authored-by: hxy91819 <masonxhuang@icloud.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Ayaan Zaidi c245c8b39d
refactor(plugin-sdk): split interactive runtime helpers 8 months ago
Muhammed Mukhthar CM dc20a7cd89 Build: fix bundled plugin runtime symlinks 8 months ago
Val Alexander 5f89897df1
plugins: dist node_modules symlink + config raw-toggle UI fix (#49490)
* plugins: symlink node_modules into dist plugin dir for bare-specifier resolution

* UI: fix config raw-toggle button sizing and semantic markup

* Update scripts/stage-bundled-plugin-runtime.mjs

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update ui/src/styles/config.css

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* fix: hoist dist node_modules cleanup before existsSync guard; drop !important from config toggle

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
8 months ago
Tak Hoffman 2c5fd8e0c1
chore finalize web search provider boundaries 8 months ago
Tak Hoffman 77fb2589b1
test add extension plugin sdk boundary guards 8 months ago
Peter Steinberger a8907d80dd
feat: finish xai provider integration 8 months ago
Gustavo Madeira Santana 826c592deb
Plugin SDK: add outbound session route helpers 8 months ago
Tak Hoffman 92a40d324a
test refresh boundary inventories for web search migration 8 months ago
Tak Hoffman 3de973ffff
refactor web search provider execution out of core 8 months ago
Peter Steinberger 5b2c5ee2bc
refactor: remove remaining extension src imports 8 months ago
Peter Steinberger 1313767825
refactor: enforce plugin boundary seams 8 months ago
Vincent Koc bd21442f7e Perf: add extension memory profiling command 8 months ago
Tak Hoffman 5a2a4abc12
CI: add built plugin singleton smoke (#48710) 8 months ago
Vincent Koc 0d80897476 Plugins: add inspect matrix and trim export 8 months ago
Peter Steinberger 4b125762f6
refactor: clean extension api boundaries 8 months ago
Peter Steinberger 795f1f438b
refactor: expose lazy runtime helper to plugins 8 months ago
Harold Hunt f036ed27f4
CI: guard gateway watch against duplicate runtime regressions (#49048) 8 months ago
Peter Steinberger f9588da3e0
refactor: split plugin testing seam from bundled extension helpers 8 months ago
Peter Steinberger 449127b474 fix: restore full gate 8 months ago
Peter Steinberger 5fb7a1363f fix: stabilize full gate 8 months ago
Peter Steinberger f6868b7e42
refactor: dedupe channel entrypoints and test bridges 8 months ago
Peter Steinberger 38a6415a70
build: tighten lazy runtime boundaries 8 months ago
Peter Steinberger c1ef5748eb
refactor: enforce scoped plugin sdk imports 8 months ago
Peter Steinberger aa2d5aaa0c
feat(plugins): add image generation capability 8 months ago
Peter Steinberger f2bd76cd1a
refactor: finalize plugin sdk legacy boundary cleanup 8 months ago
Peter Steinberger 0cfc80b81c
refactor: finish public plugin sdk boundary seams 8 months ago
Peter Steinberger 9ebe38b6e3
refactor: untangle remaining plugin sdk boundaries 8 months ago
Peter Steinberger 095a9f6e1d fix: handle Parallels poweroff snapshot restores 8 months ago
Peter Steinberger 622f13253b
feat(tts): add microsoft voice listing 8 months ago
Peter Steinberger 2497b8147e
refactor: add shared setup sdk subpath 8 months ago
Peter Steinberger 1ffe8fde84 fix: stabilize docker test suite 8 months ago
Vincent Koc 02df22a495 Tests: improve extension runner discovery 8 months ago
Harold Hunt 94c27f34a1
fix(plugins): keep built plugin loading on one module graph (#48595) 8 months ago
Tak Hoffman 313e5bb58b
Fix launcher startup regressions (#48501)
* Fix launcher startup regressions

* Fix CI follow-up regressions

* Fix review follow-ups

* Fix workflow audit shell inputs

* Handle require resolve gaxios misses
8 months ago
Tak Hoffman 2de28379dd
Plugins: remove public extension-api surface (#48462)
* Plugins: remove public extension-api surface

* Plugins: fix loader setup routing follow-ups

* CI: ignore non-extension helper dirs in extension-fast

* Docs: note extension-api removal as breaking
8 months ago
Gustavo Madeira Santana 09df232f39
Plugins: stage local bundled runtime tree 8 months ago
Gustavo Madeira Santana 7d4ccee717
Plugin SDK: update entrypoint metadata 8 months ago
Gustavo Madeira Santana e5282e6bda
Plugin SDK: update entrypoint metadata 8 months ago
Gustavo Madeira Santana 8cd1bdd345
Status: stabilize startup memory probes 8 months ago
Vincent Koc d68645d47f Tests: detect changed extensions 8 months ago
Vincent Koc d572188f61 Tests: add extension test runner 8 months ago
Vincent Koc ff2e864c98
Plugins: add Claude marketplace registry installs (#48058)
* Changelog: note Claude marketplace plugin support

* Plugins: add Claude marketplace installs

* E2E: cover marketplace plugin installs in Docker
8 months ago
Peter Steinberger 77b1f240fd fix: retry runtime postbuild skill copy races 8 months ago
Peter Steinberger 0ed64f124d fix: mount CLI auth dirs in docker live tests 8 months ago
Peter Steinberger 8fe08df2eb
refactor(plugins): derive compat provider ids from manifests 8 months ago
Peter Steinberger 49251def61
docs: codify macOS parallels discord smoke 8 months ago
Peter Steinberger b3025e6d8e
refactor(plugin-sdk): clean shared core imports 8 months ago
Peter Steinberger 7964563299
refactor: finish plugin-owned channel runtime seams 8 months ago
Peter Steinberger e90c1d9add fix: unblock docs and registry checks 8 months ago
Peter Steinberger cec10703dc fix: unblock ci gates 8 months ago
Peter Steinberger edab939f4d fix: make docs i18n use gpt-5.4 overrides 8 months ago
Vincent Koc 476d948732
!refactor(browser): remove Chrome extension path and add MCP doctor migration (#47893)
* Browser: replace extension path with Chrome MCP

* Browser: clarify relay stub and doctor checks

* Docs: mark browser MCP migration as breaking

* Browser: reject unsupported profile drivers

* Browser: accept clawd alias on profile create

* Doctor: narrow legacy browser driver migration
8 months ago
Peter Steinberger 0b58a1cc13
fix: stabilize windows parallels smoke harness 8 months ago
Peter Steinberger 46482a283a
feat: add nostr setup and unify channel setup discovery 8 months ago
Peter Steinberger 47a9c1a893 refactor: merge minimax bundled plugins 8 months ago
Peter Steinberger 38abdea8ce fix: restore ci type checks 8 months ago
Peter Steinberger 2b57d3bb34 build(plugin-sdk): enforce export sync in check 8 months ago
Peter Steinberger 39aba198f1 fix(docs): run i18n through a local rpc client 8 months ago
Peter Steinberger 0a136f1b90 fix(docs): harden i18n prompt failures 8 months ago
Peter Steinberger 59940cb3ee refactor(plugin-sdk): centralize entrypoint manifest 8 months ago
Peter Steinberger 70a6d40d37 fix: remove stale dist plugin dirs 8 months ago
Peter Steinberger fb991e6f31
perf(plugins): lazy-load setup surfaces 8 months ago
Peter Steinberger 9c89a74f84
perf(cli): trim help startup imports 8 months ago
Peter Steinberger bc5054ce68 refactor(google): merge gemini auth into google plugin 8 months ago
Vincent Koc c0e0115b31 CI: add CLI startup memory regression check 8 months ago
Peter Steinberger c156f7c7e3 fix: reduce plugin and discord warning noise 8 months ago
Peter Steinberger a058bf918d
feat(plugins): test bundle MCP end to end 8 months ago
Gustavo Madeira Santana 14137bef22
Plugins: clean stale bundled skill outputs 8 months ago
Gustavo Madeira Santana 50a6902a9a
Plugins: skip nested node_modules in bundled skills 8 months ago
Gustavo Madeira Santana 1839bc0b1a
Plugins: relocate bundled skill assets 8 months ago
Nimrod Gutman 50c8934231
fix(dev): align gateway watch with tsdown wrapper (#47636) 8 months ago
Vincent Koc 5a7aba94a2
CLI: support package-manager installs from GitHub main (#47630)
* CLI: resolve package-manager main install specs

* CLI: skip registry resolution for raw package specs

* CLI: support main package target updates

* CLI: document package update specs in help

* Tests: cover package install spec resolution

* Tests: cover npm main-package updates

* Tests: cover update --tag main

* Installer: support main package targets

* Installer: support main package targets on Windows

* Docs: document package-manager main updates

* Docs: document installer main targets

* Docs: document npm and pnpm main installs

* Docs: document update --tag main

* Changelog: note package-manager main installs

* Update src/infra/update-global.test.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
8 months ago
Nimrod Gutman 47fd8558cd
fix(plugins): fix bundled plugin roots and skill assets (#47601)
* fix(acpx): resolve bundled plugin root correctly

* fix(plugins): copy bundled plugin skill assets

* fix(plugins): tolerate missing bundled skill paths
8 months ago
Gustavo Madeira Santana 4fb0160309
Gateway: sync runtime post-build artifacts 8 months ago
Ted Li 07f890fa45
fix(release): block oversized npm packs that regress low-memory startup (#46850)
* fix(release): guard npm pack size regressions

* fix(release): fail closed when npm omits pack size
8 months ago
Gustavo Madeira Santana 594920f8cc
Scripts: rebuild on extension and tsdown config changes (#47571)
Merged via squash.

Prepared head SHA: edd8ed825469128bbe85f86e2e1341f6c57687d7
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Onur Solmaz a2080421a1
Docs: move release runbook to maintainer repo (#47532)
* Docs: redact private release setup

* Docs: tighten release order

* Docs: move release runbook to maintainer repo

* Docs: delete public mac release page

* Docs: remove zh-CN mac release page

* Docs: turn release checklist into release policy

* Docs: point release policy to private docs

* Docs: regenerate zh-CN release policy pages

* Docs: preserve Doctor in zh-CN hubs

* Docs: fix zh-CN polls label

* Docs: tighten docs i18n term guardrails

* Docs: enforce zh-CN glossary coverage
8 months ago
Nimrod Gutman e2dac5d5cb
fix(plugins): load bundled extensions from dist (#47560) 8 months ago
Harold Hunt 53462b990d
chore(gateway): ignore `.test.ts` changes in `gateway:watch` (#36211) 8 months ago
Radek Sienkiewicz e3b7ff2f1f
Docs: fix MDX markers blocking page refreshes (#46695)
Merged via squash.

Prepared head SHA: 56b25a9fb3acc1a3befbf33c28a6d27df8aca8ef
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Reviewed-by: @velvet-shark
8 months ago
Radek Sienkiewicz 4c6a7f84a4
docs: remove dead security README nav entry (#46675)
Merged via squash.

Prepared head SHA: 63331a54b8a6d50950a6ca85774fa1d915cd4e8d
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Co-authored-by: velvet-shark <126378+velvet-shark@users.noreply.github.com>
Reviewed-by: @velvet-shark
8 months ago
Brian Qu 8a607d7553
fix(feishu): fetch thread context so AI can see bot replies in topic threads (#45254)
* fix(feishu): fetch thread context so AI can see bot replies in topic threads

When a user replies in a Feishu topic thread, the AI previously could only
see the quoted parent message but not the bot's own prior replies in the
thread. This made multi-turn conversations in threads feel broken.

- Add `threadId` (omt_xxx) to `FeishuMessageInfo` and `getMessageFeishu`
- Add `listFeishuThreadMessages()` using `container_id_type=thread` API
  to fetch all messages in a thread including bot replies
- In `handleFeishuMessage`, fetch ThreadStarterBody and ThreadHistoryBody
  for topic session modes and pass them to the AI context
- Reuse quoted message result when rootId === parentId to avoid redundant
  API calls; exclude root message from thread history to prevent duplication
- Fall back to inbound ctx.threadId when rootId is absent or API fails
- Fetch newest messages first (ByCreateTimeDesc + reverse) so long threads
  keep the most recent turns instead of the oldest

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

* fix(feishu): skip redundant thread context injection on subsequent turns

Only inject ThreadHistoryBody on the first turn of a thread session.
On subsequent turns the session already contains prior context, so
re-injecting thread history (and starter) would waste tokens.

The heuristic checks whether the current user has already sent a
non-root message in the thread — if so, the session has prior turns
and thread context injection is skipped entirely.

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

* fix(feishu): handle thread_id-only events in prior-turn detection

When ctx.rootId is undefined (thread_id-only events), the starter
message exclusion check `msg.messageId !== ctx.rootId` was always
true, causing the first follow-up to be misclassified as a prior
turn. Fall back to the first message in the chronologically-sorted
thread history as the starter.

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

* fix(feishu): bootstrap topic thread context via session state

* test(memory): pin remote embedding hostnames in offline suites

* fix(feishu): use plugin-safe session runtime for thread bootstrap

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
8 months ago
Vincent Koc cbec476b6b
Docs: add config drift baseline statefile (#45891)
* Docs: add config drift statefile generator

* Docs: generate config drift baseline

* CI: move config docs drift runner into workflow sanity

* Docs: emit config drift baseline json

* Docs: commit config drift baseline json

* Docs: wire config baseline into release checks

* Config: fix baseline drift walker coverage

* Docs: regenerate config drift baselines
8 months ago
Tak Hoffman e81442ac80 Fix full local gate on main 8 months ago
Onur d33f3f843a
ci: allow fallback npm correction tags (#46486) 8 months ago
scoootscooob ac29edf6c3
fix(ci): update vitest configs after channel move to extensions/ (openclaw#46066)
Verified:
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: scoootscooob <167050519+scoootscooob@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
8 months ago
Onur Solmaz c08317203d ci: enforce calver freshness on npm publish 8 months ago
Onur Solmaz 00891dee90 ci: switch npm release workflow to trusted publishing 8 months ago
Onur Solmaz 02a86da23a ci: preserve manual npm release approval delays 8 months ago
Onur Solmaz 2eea93982f ci: make npm release preview more verbose 8 months ago
Onur Solmaz 78d2bfc4d8 ci: add dry-run gate to npm release workflow 8 months ago
scoootscooob 439c21e078
refactor: remove channel shim directories, point all imports to extensions (#45967)
* refactor: remove channel shim directories, point all imports to extensions

Delete the 6 backward-compat shim directories (src/telegram, src/discord,
src/slack, src/signal, src/imessage, src/web) that were re-exporting from
extensions. Update all 112+ source files to import directly from
extensions/{channel}/src/ instead of through the shims.

Also:
- Move src/channels/telegram/ (allow-from, api) to extensions/telegram/src/
- Fix outbound adapters to use resolveOutboundSendDep (fixes 5 pre-existing TS errors)
- Update cross-extension imports (src/web/media.js → extensions/whatsapp/src/media.js)
- Update vitest, tsdown, knip, labeler, and script configs for new paths
- Update guard test allowlists for extension paths

After this, src/ has zero channel-specific implementation code — only the
generic plugin framework remains.

* fix: update raw-fetch guard allowlist line numbers after shim removal

* refactor: document direct extension channel imports

* test: mock transcript module in delivery helpers
8 months ago
scoootscooob 16505718e8
refactor: move WhatsApp channel implementation to extensions/ (#45725)
* refactor: move WhatsApp channel from src/web/ to extensions/whatsapp/

Move all WhatsApp implementation code (77 source/test files + 9 channel
plugin files) from src/web/ and src/channels/plugins/*/whatsapp* to
extensions/whatsapp/src/.

- Leave thin re-export shims at all original locations so cross-cutting
  imports continue to resolve
- Update plugin-sdk/whatsapp.ts to only re-export generic framework
  utilities; channel-specific functions imported locally by the extension
- Update vi.mock paths in 15 cross-cutting test files
- Rename outbound.ts -> send.ts to match extension naming conventions
  and avoid false positive in cfg-threading guard test
- Widen tsconfig.plugin-sdk.dts.json rootDir to support shim->extension
  cross-directory references

Part of the core-channels-to-extensions migration (PR 6/10).

* style: format WhatsApp extension files

* fix: correct stale import paths in WhatsApp extension tests

Fix vi.importActual, test mock, and hardcoded source paths that weren't
updated during the file move:
- media.test.ts: vi.importActual path
- onboarding.test.ts: vi.importActual path
- test-helpers.ts: test/mocks/baileys.js path
- monitor-inbox.test-harness.ts: incomplete media/store mock
- login.test.ts: hardcoded source file path
- message-action-runner.media.test.ts: vi.mock/importActual path
8 months ago
Peter Steinberger 6e251dcf68
test: harden parallels beta smoke flows 8 months ago
Peter Steinberger 7e41ba4cbb
test: harden parallels all-os smoke harness 8 months ago
Peter Steinberger d925b0113f
test: add parallels linux smoke harness 8 months ago
Peter Steinberger 4dbab064f0
test: add parallels windows smoke harness 8 months ago
Tak Hoffman bff340c1ca
test: preserve wrapper behavior for targeted runs FIX OOM issues(#45518)
* test: preserve wrapper behavior for targeted runs

* test: tighten targeted wrapper routing
8 months ago
Jacob Tomlinson 63802c1112
docker: add apt-get upgrade to all Dockerfiles (#45384)
* docker: add apt-get upgrade to patch base-image vulnerabilities

Closes #45159

* docker: add DEBIAN_FRONTEND and --no-install-recommends to apt-get upgrade

Prevents debconf hangs during Docker builds and avoids pulling in
recommended packages that silently grow the image.

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

* Revert "docker: add DEBIAN_FRONTEND and --no-install-recommends to apt-get upgrade"

This reverts commit 6fc3839cb56d4eb08cb43764fcbe7bd72e9bc50a.

* docker: add DEBIAN_FRONTEND and --no-install-recommends to apt-get upgrade

Prevents debconf hangs during Docker builds and avoids pulling in
recommended packages that silently grow the image.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
8 months ago
Peter Steinberger e7863d7fdd
test: add parallels macos smoke harness 8 months ago
Peter Steinberger c659f6c959
fix: improve onboarding install diagnostics 8 months ago
Peter Steinberger 75c7c169e1 test: re-enable Node 24 vmForks fast lane 8 months ago
Peter Steinberger d17490ff54 ci: speed up scoped workflow lanes 8 months ago
Peter Steinberger 16ececf0a6
chore: bump version to 2026.3.13 8 months ago
Peter Steinberger 08da1b47ba fix: use build-stage image for docker live tests 8 months ago
Peter Steinberger c25e46a433
chore: prepare 2026.3.12 release 8 months ago
Josh Lehman 52e2a7747a
Revert "feat: add --no-test flag to prepare-gates"
This reverts commit ee6bdb3bab.
8 months ago
Josh Lehman ee6bdb3bab
feat: add --no-test flag to prepare-gates
Allows skipping the full test suite during prepare phase.
Testing is deferred to the dedicated Test phase in the pipeline.
8 months ago
Peter Steinberger 86a3149b2e
fix: harden windows npm runtime path 8 months ago
Peter Steinberger 115f24819e
fix: make node-llama-cpp optional for npm installs 8 months ago
Nimrod Gutman b77b7485e0 feat(push): add iOS APNs relay gateway (#43369)
* feat(push): add ios apns relay gateway

* fix(shared): avoid oslog string concatenation

# Conflicts:
#	apps/shared/OpenClawKit/Sources/OpenClawKit/GatewayChannel.swift

* fix(push): harden relay validation and invalidation

* fix(push): persist app attest state before relay registration

* fix(push): harden relay invalidation and url handling

* feat(push): use scoped relay send grants

* feat(push): configure ios relay through gateway config

* feat(push): bind relay registration to gateway identity

* fix(push): tighten ios relay trust flow

* fix(push): bound APNs registration fields (#43369) (thanks @ngutman)
8 months ago
Jacob Riff 3fa91cd69d
feat: add sessions_yield tool for cooperative turn-ending (#36537)
Merged via squash.

Prepared head SHA: 75d9204c863792226389a4d33eeb40c4e842528d
Co-authored-by: jriff <50276+jriff@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Altay b0f717aa02 build: align Node 22 guidance with 22.16 minimum 8 months ago
Altay 0a8d2b6200 build: raise Node 22 compatibility floor to 22.16 8 months ago
Altay deada7edd3 build: default to Node 24 and keep Node 22 compat 8 months ago
Sally O'Malley 8e0e4f736a
docs: add Kubernetes install guide, setup script, and manifests (#34492)
* add docs and manifests for k8s install

Signed-off-by: sallyom <somalley@redhat.com>

* changelog

Signed-off-by: sallyom <somalley@redhat.com>

---------

Signed-off-by: sallyom <somalley@redhat.com>
8 months ago
Peter Steinberger ce5dd742f8
build: sync versions to 2026.3.11 8 months ago
Peter Steinberger 0e397e62b7 chore: bump version to 2026.3.10 8 months ago
Nimrod Gutman 2d91284fdb
feat(ios): add local beta release flow (#42991)
Merged via squash.

Prepared head SHA: 82b38fe93b71e7a06252fb33b8559cebc6c81548
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Co-authored-by: ngutman <1540134+ngutman@users.noreply.github.com>
Reviewed-by: @ngutman
8 months ago
Peter Steinberger 0aa79fc4d3 fix(build): restore full gate 8 months ago
Onur 8ba1b6eff1
ci: add npm release workflow and CalVer checks (#42414) (thanks @onutc) 8 months ago
Peter Steinberger 8d2d6db9ad test: fix Node 24+ test runner and subagent registry mocks 8 months ago
Vincent Koc 6d5e142b93
Docker: improve build cache reuse (#40351)
* Docker: improve build cache reuse

* Tests: cover Docker build cache layout

* Docker: fix sandbox cache mount continuations

* Docker: document qr-import manifest scope

* Docker: narrow e2e install inputs

* CI: cache Docker builds in workflows

* CI: route sandbox smoke through setup script

* CI: keep sandbox smoke on script path
8 months ago
Vincent Koc 3f3f66a5f7
Docker: trim runtime image payload (#40307)
* Docker: shrink runtime image payload

* Docker: add runtime pnpm opt-in

* Docker: collapse helper entrypoint chmod layers

* Docker: restore bundled pnpm runtime

* Update CHANGELOG.md
8 months ago
langdon bd1fe4d8b4
fix(run-openclaw-podman): add SELinux :Z mount option on enforcing/permissive hosts (#39449)
* fix(run-openclaw-podman): add SELinux :Z mount option on Linux with enforcing/permissive SELinux

* fix(quadlet): add SELinux :Z label to openclaw.container.in volume mount

* fix(podman): add SELinux :Z mount option for Fedora/RHEL hosts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: sallyom <somalley@redhat.com>

---------

Signed-off-by: sallyom <somalley@redhat.com>
Co-authored-by: sallyom <somalley@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Peter Steinberger 3ada30e670 fix: restore gate after rebase 8 months ago
Peter Steinberger d307a7ca1a refactor: extract bundled extension manifest parser 8 months ago
Peter Steinberger f493b03202 refactor: validate bundled extension release metadata 8 months ago
Peter Steinberger 64d4d9aabb refactor: move bundled extension gap allowlists into manifests 8 months ago
yuweuii 6c9b49a10b
fix(sessions): clear stale contextTokens on model switch (#38044)
Merged via squash.

Prepared head SHA: bac2df4b7f920ce271f0a15f1db9ed99b35300f3
Co-authored-by: yuweuii <82372187+yuweuii@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
GitBuck caf1b84822
feat: allow compaction model override via config (#38753)
Merged via squash.

Prepared head SHA: a3d6d6c845c9ef492370c4cc12ea790ca92123f0
Co-authored-by: starbuck100 <25417736+starbuck100@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
8 months ago
Peter Steinberger 1ec1f0f1f2 refactor: scope prep push results to env artifacts 8 months ago
Peter Steinberger fa00b1d0ca refactor: dedupe prep branch push flow 8 months ago
Peter Steinberger 032778fb2e refactor: avoid checkout during prep head verification 8 months ago
Altay ca5e352c53
CLI: include commit hash in --version output (#39712)
* CLI: include commit hash in --version output

* fix(version): harden commit SHA resolution and keep output consistent

* CLI: keep install checks compatible with commit-tagged version output

* fix(cli): include commit hash in root version fast path

* test(cli): allow null commit-hash mocks

* Installer: share version parser across install scripts

* Installer: avoid sourcing helpers from stdin cwd

* CLI: note commit-tagged version output

* CLI: anchor commit hash resolution to module root

* CLI: harden commit hash resolution

* CLI: fix commit hash lookup edge cases

* CLI: prefer live git metadata in dev builds

* CLI: keep git lookup inside package root

* Infra: tolerate invalid moduleUrl hints

* CLI: cache baked commit metadata fallbacks

* CLI: align changelog attribution with prep gate

* CLI: restore changelog contributor credit

---------

Co-authored-by: echoVic <echovic@163.com>
Co-authored-by: echoVic <echoVic@users.noreply.github.com>
8 months ago
Peter Steinberger eba9dcc67a
Refactor release hardening follow-ups (#39959)
* build: fail fast on stale host-env swift policy

* build: sync generated host env swift policy

* build: guard bundled extension root dependency gaps

* refactor: centralize provider capability quirks

* test: table-drive provider regression coverage

* fix: block merge when prep branch has unpushed commits

* refactor: simplify models config merge preservation
8 months ago
Charles Dusek 64760614aa macOS: default release app builds to universal binaries 8 months ago
Peter Steinberger dd8fd98ad4 build: reduce build log noise 9 months ago
Peter Steinberger 21df014d56 fix: stage docker live tests from mounted source 9 months ago
Peter Steinberger 79e3d1f956 fix: retry git lock in committer 9 months ago
Peter Steinberger 9856d8432d chore(scripts): remove changelog fragment workflow helpers 9 months ago
Peter Steinberger efdff9c738 fix(scripts): enforce changelog.md and post clickable SHA links 9 months ago
Peter Steinberger 168e4159ad fix(podman): honor OPENCLAW_GATEWAY_BIND env-file override (#38785, thanks @majinyu666)
Co-authored-by: majinyu666 <majy14miles@gmail.com>
9 months ago
Peter Steinberger e27bbe4982 fix(exec): block dangerous override-only env pivots 9 months ago
Nimrod Gutman 43ab4f33ad feat(ios): prepare app store connect release assets 9 months ago
Vincent Koc a190220967 Tests: serialize low-memory test runner lanes 9 months ago
Vincent Koc 60d20f9daf Install Smoke: allow reusing prebuilt test images 9 months ago
Vincent Koc 6a9deb21b8 CI: cover skill and extension tests 9 months ago
Shakker 60849f3335
chore(pr): enforce changelog placement and reduce merge sync churn 9 months ago
Shakker 5d5fa0dac8
fix(pr): make review claim step required 9 months ago
Shakker 4cc293d084
fix(review): enforce behavioral sweep validation 9 months ago
Gustavo Madeira Santana 7a2f5a0098 Plugin SDK: add full bundled subpath wiring 9 months ago
Gustavo Madeira Santana 802b9f6b19 Plugins: add root-alias shim and cache/docs updates 9 months ago
Gustavo Madeira Santana 1278ee9248 plugin-sdk: add channel subpaths and migrate bundled plugins 9 months ago
Igal Tabachnik a4850b1b8f
fix(plugins): lazily initialize runtime and split plugin-sdk startup imports (#28620)
Merged via squash.

Prepared head SHA: 8bd7d6c13b070f86bd4d5c45286c1ceb1a3f9f80
Co-authored-by: hmemcpy <601206+hmemcpy@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
9 months ago
Shakker b02a07655d
fix: harden pr review artifact validation 9 months ago
Shadow 3b3738e41e
fix(discord): use fetch for voice upload slots 9 months ago
Peter Steinberger b52c9f2575 fix(ci): handle disabled systemd units in docker doctor flow 9 months ago
Peter Steinberger f175a5d6d3 fix(ci): avoid shell interpolation in changed-scope git diff 9 months ago
Vincent Koc 2c6616b830
CI: gate Windows checks by windows-relevant scope (#32456)
* CI: add windows scope output for changed-scope

* Test: cover windows scope gating in changed-scope

* CI: gate checks-windows by windows scope

* Docs: update CI windows scope and runner label

* CI: move checks-windows to 32 vCPU runner

* Docs: align CI windows runner with workflow
9 months ago
Peter Steinberger da6e6fb900 test: fix strict runtime mock types in channel tests 9 months ago
Peter Steinberger 7fd4328854 fix(e2e): include shared tool display resource in onboard docker build 9 months ago
Josh Avant 806803b7ef
feat(secrets): expand SecretRef coverage across user-supplied credentials (#29580)
* feat(secrets): expand secret target coverage and gateway tooling

* docs(secrets): align gateway and CLI secret docs

* chore(protocol): regenerate swift gateway models for secrets methods

* fix(config): restore talk apiKey fallback and stabilize runner test

* ci(windows): reduce test worker count for shard stability

* ci(windows): raise node heap for test shard stability

* test(feishu): make proxy env precedence assertion windows-safe

* fix(gateway): resolve auth password SecretInput refs for clients

* fix(gateway): resolve remote SecretInput credentials for clients

* fix(secrets): skip inactive refs in command snapshot assignments

* fix(secrets): scope gateway.remote refs to effective auth surfaces

* fix(secrets): ignore memory defaults when enabled agents disable search

* fix(secrets): honor Google Chat serviceAccountRef inheritance

* fix(secrets): address tsgo errors in command and gateway collectors

* fix(secrets): avoid auth-store load in providers-only configure

* fix(gateway): defer local password ref resolution by precedence

* fix(secrets): gate telegram webhook secret refs by webhook mode

* fix(secrets): gate slack signing secret refs to http mode

* fix(secrets): skip telegram botToken refs when tokenFile is set

* fix(secrets): gate discord pluralkit refs by enabled flag

* fix(secrets): gate discord voice tts refs by voice enabled

* test(secrets): make runtime fixture modes explicit

* fix(cli): resolve local qr password secret refs

* fix(cli): fail when gateway leaves command refs unresolved

* fix(gateway): fail when local password SecretRef is unresolved

* fix(gateway): fail when required remote SecretRefs are unresolved

* fix(gateway): resolve local password refs only when password can win

* fix(cli): skip local password SecretRef resolution on qr token override

* test(gateway): cast SecretRef fixtures to OpenClawConfig

* test(secrets): activate mode-gated targets in runtime coverage fixture

* fix(cron): support SecretInput webhook tokens safely

* fix(bluebubbles): support SecretInput passwords across config paths

* fix(msteams): make appPassword SecretInput-safe in onboarding/token paths

* fix(bluebubbles): align SecretInput schema helper typing

* fix(cli): clarify secrets.resolve version-skew errors

* refactor(secrets): return structured inactive paths from secrets.resolve

* refactor(gateway): type onboarding secret writes as SecretInput

* chore(protocol): regenerate swift models for secrets.resolve

* feat(secrets): expand extension credential secretref support

* fix(secrets): gate web-search refs by active provider

* fix(onboarding): detect SecretRef credentials in extension status

* fix(onboarding): allow keeping existing ref in secret prompt

* fix(onboarding): resolve gateway password SecretRefs for probe and tui

* fix(onboarding): honor secret-input-mode for local gateway auth

* fix(acp): resolve gateway SecretInput credentials

* fix(secrets): gate gateway.remote refs to remote surfaces

* test(secrets): cover pattern matching and inactive array refs

* docs(secrets): clarify secrets.resolve and remote active surfaces

* fix(bluebubbles): keep existing SecretRef during onboarding

* fix(tests): resolve CI type errors in new SecretRef coverage

* fix(extensions): replace raw fetch with SSRF-guarded fetch

* test(secrets): mark gateway remote targets active in runtime coverage

* test(infra): normalize home-prefix expectation across platforms

* fix(cli): only resolve local qr password refs in password mode

* test(cli): cover local qr token mode with unresolved password ref

* docs(cli): clarify local qr password ref resolution behavior

* refactor(extensions): reuse sdk SecretInput helpers

* fix(wizard): resolve onboarding env-template secrets before plaintext

* fix(cli): surface secrets.resolve diagnostics in memory and qr

* test(secrets): repair post-rebase runtime and fixtures

* fix(gateway): skip remote password ref resolution when token wins

* fix(secrets): treat tailscale remote gateway refs as active

* fix(gateway): allow remote password fallback when token ref is unresolved

* fix(gateway): ignore stale local password refs for none and trusted-proxy

* fix(gateway): skip remote secret ref resolution on local call paths

* test(cli): cover qr remote tailscale secret ref resolution

* fix(secrets): align gateway password active-surface with auth inference

* fix(cli): resolve inferred local gateway password refs in qr

* fix(gateway): prefer resolvable remote password over token ref pre-resolution

* test(gateway): cover none and trusted-proxy stale password refs

* docs(secrets): sync qr and gateway active-surface behavior

* fix: restore stability blockers from pre-release audit

* Secrets: fix collector/runtime precedence contradictions

* docs: align secrets and web credential docs

* fix(rebase): resolve integration regressions after main rebase

* fix(node-host): resolve gateway secret refs for auth

* fix(secrets): harden secretinput runtime readers

* gateway: skip inactive auth secretref resolution

* cli: avoid gateway preflight for inactive secret refs

* extensions: allow unresolved refs in onboarding status

* tests: fix qr-cli module mock hoist ordering

* Security: align audit checks with SecretInput resolution

* Gateway: resolve local-mode remote fallback secret refs

* Node host: avoid resolving inactive password secret refs

* Secrets runtime: mark Slack appToken inactive for HTTP mode

* secrets: keep inactive gateway remote refs non-blocking

* cli: include agent memory secret targets in runtime resolution

* docs(secrets): sync docs with active-surface and web search behavior

* fix(secrets): keep telegram top-level token refs active for blank account tokens

* fix(daemon): resolve gateway password secret refs for probe auth

* fix(secrets): skip IRC NickServ ref resolution when NickServ is disabled

* fix(secrets): align token inheritance and exec timeout defaults

* docs(secrets): clarify active-surface notes in cli docs

* cli: require secrets.resolve gateway capability

* gateway: log auth secret surface diagnostics

* secrets: remove dead provider resolver module

* fix(secrets): restore gateway auth precedence and fallback resolution

* fix(tests): align plugin runtime mock typings

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
9 months ago
Josh Lehman 3a8133d587
fix(scripts/pr): SSH-first prhead remote with GraphQL fallback for fork PRs (#32126)
Co-authored-by: Shakker <shakkerdroid@gmail.com>
9 months ago
Peter Steinberger 59567a8c5d ci: move changed-scope logic into tested script 9 months ago
Peter Steinberger 493b560dfd refactor(runtime): unify node version guard parsing 9 months ago
Jason Hargrove f8ed48293c fix(cli): align Node 22.12 preflight checks and clean runtime guard output
Tighten installer/runtime consistency so users on Node 22.0-22.11 are blocked before install/runtime drift, with cleaner CLI guidance.

- Enforce Node >=22.12 in scripts/install.sh preflight checks
- Align installer messages to the same 22.12+ runtime floor
- Replace openclaw.mjs thrown version error with stderr+exit to avoid noisy stack traces
9 months ago
Jason Hargrove 96a38d5aa4 fix(cli): fail fast on unsupported Node versions in install and runtime paths
Surface a clear Node 22.12+ requirement before npm/install bootstrap work so users avoid misleading downstream errors.

- Add installer shell preflight to block active Node <22 and suggest NVM recovery commands
- Add openclaw.mjs runtime preflight for npm/npx usage with explicit Node version guidance
- Keep messaging actionable for both NVM and non-NVM environments
9 months ago
Peter Steinberger 596621919c chore(test): add vitest hotspot reporter script 9 months ago
Peter Steinberger d37ad9d866 test(perf): slim ios team-id harness and add perf budget guard 9 months ago
Peter Steinberger b8b8a5f314 fix(security): enforce explicit ingress owner context 9 months ago
Peter Steinberger 11adaa15a8 test: isolate high-variance suites in parallel scheduler 9 months ago
Peter Steinberger 453a1c179d fix: restore release-check control flow after export guard merge 9 months ago
Glucksberg 58e9ca2fb6 fix(release-check): add 4 missing plugin-sdk exports to align with check script 9 months ago
Glucksberg 61d14e8a8a fix(plugin-sdk): add export verification tests and release guard (#27569) 9 months ago
Peter Steinberger eb816e0551 refactor: dedupe extension and ui helpers 9 months ago
Vincent Koc a19a7f5e6e
feat(security): Harden Docker browser container chromium flags (#23889) (#31504)
* Gateway: honor OPENCLAW_GATEWAY_URL override for remote/local calls

* Agents: fix sandbox sessionKey usage for PI embedded subagent calls

* Sandbox: tighten browser container Chromium runtime flags

* fix: add sandbox browser defaults for container hardening

* docs: expand sandbox browser default flags list

* fix: make sandbox browser flags optional and preserve gateway env auth overrides

* docs: scope PR 31504 changelog entry

* style: format gateway call override handling

* fix: dedupe sandbox browser chrome args

* fix: preserve remote tls fingerprint for env gateway override

* fix: enforce auth for env gateway URL override

* chore: document gateway override auth security expectations
9 months ago
Peter Steinberger 1c9deeda97 refactor: split webhook ingress and policy guards 9 months ago
Peter Steinberger d3e8b17aa6 fix: harden webhook auth-before-body handling 9 months ago
Hiren Thakore 193ad2f4f0
fix: handle PowerShell execution policy on Windows install (#24794)
* fix: add Arch Linux support to install.sh (GH#8051)

* fix: handle PowerShell execution policy on Windows install (GH#24784)
9 months ago
Peter Steinberger a229ae6c3e chore(lint): add registerHttpHandler usage guard script 9 months ago
Peter Steinberger dbc78243f4 refactor(scripts): share guard runners and paged select UI 9 months ago
Peter Steinberger 4dcb16d696 ci: fix install smoke docker helper path 9 months ago
Peter Steinberger 756f9c9fef refactor(scripts): dedupe installer CLI verification 9 months ago
Peter Steinberger 00a2456b72 refactor(scripts): dedupe guard checks and smoke helpers 9 months ago
Tyler Yust f918b336d1
fix: agent-only announce path, BB message IDs, sender identity, SSRF allowlist (#23970)
* fix(agents): defer announces until descendant cleanup settles

* fix(bluebubbles): harden message metadata extraction

* feat(contributors): rank by composite score (commits, PRs, LOC, tenure)

* refactor(control-ui): move method guard after path checks to improve request handling

* fix subagent completion announce when only current run is pending

* fix(subagents): keep orchestrator runs active until descendants finish

* fix: prepare PR feedback follow-ups (#23970) (thanks @tyler6204)
9 months ago
Peter Steinberger 842deefe5d test: split fast lane from channel and gateway suites 9 months ago
Peter Steinberger d17f4432b3 chore: fix gate formatting and raw-fetch allowlist lines 9 months ago
Peter Steinberger 706cfcd54f fix: isolate docker onboard e2e config env 9 months ago
Peter Steinberger 6c5633598e fix(security): harden clawlog command execution 9 months ago
Vincent Koc 38da2d076c
CLI: add root --help fast path and lazy channel option resolution (#30975)
* CLI argv: add strict root help invocation guard

* Entry: add root help fast-path bootstrap bypass

* CLI context: lazily resolve channel options

* CLI context tests: cover lazy channel option resolution

* CLI argv tests: cover root help invocation detection

* Changelog: note additional startup path optimizations

* Changelog: split startup follow-up into #30975 entry

* CLI channel options: load precomputed startup metadata

* CLI channel options tests: cover precomputed metadata path

* Build: generate CLI startup metadata during build

* Build script: invoke CLI startup metadata generator

* CLI routes: preload plugins for routed health

* CLI routes tests: assert health plugin preload

* CLI: add experimental bundled entry and snapshot helper

* Tools: compare CLI startup entries in benchmark script

* Docs: add startup tuning notes for Pi and VM hosts

* CLI: drop bundled entry runtime toggle

* Build: remove bundled and snapshot scripts

* Tools: remove bundled-entry benchmark shortcut

* Docs: remove bundled startup bench examples

* Docs: remove Pi bundled entry mention

* Docs: remove VM bundled entry mention

* Changelog: remove bundled startup follow-up claims

* Build: remove snapshot helper script

* Build: remove CLI bundle tsdown config

* Doctor: add low-power startup optimization hints

* Doctor: run startup optimization hint checks

* Doctor tests: cover startup optimization host targeting

* Doctor tests: mock startup optimization note export

* CLI argv: require strict root-only help fast path

* CLI argv tests: cover mixed root-help invocations

* CLI channel options: merge metadata with runtime catalog

* CLI channel options tests: assert dynamic catalog merge

* Changelog: align #30975 startup follow-up scope

* Docs tests: remove secondary-entry startup bench note

* Docs Pi: add systemd recovery reference link

* Docs VPS: add systemd recovery reference link
9 months ago
Vincent Koc 94a5d28d26
CI: remove Vitest JSON report artifacts (#30976)
* CI: remove vitest JSON report upload steps

* Tests: stop injecting vitest JSON reporter

* Tests: remove vitest slowest report script
9 months ago
Vincent Koc bdd59e0149 Scripts: add CLI startup benchmark harness 9 months ago
Onur 79fcc8404e Scripts: add openclaw driver mode to discord ACP smoke 9 months ago
Charlie Niño 26db298d3e
fix: sed escaping and UID mismatch in Podman Quadlet setup (#26414)
* fix: sed escaping and UID mismatch in Podman Quadlet setup

Fix two bugs in the Podman/Quadlet installation path:

1. setup-podman.sh line 227: Remove `/` from sed escape character class.
   The sed substitution uses `|` as delimiter, so `/` doesn't need
   escaping. Including it causes paths like `/home/openclaw` to become
   `\/home\/openclaw`, which Podman rejects as invalid volume names.

2. openclaw.container.in: Add `User=%U:%G` after `UserNS=keep-id`.
   The Dockerfile sets `USER node` (UID 1000), but the `openclaw` system
   user created by setup-podman.sh may get a different UID (e.g., 1001).
   Without `User=%U:%G`, the container process runs as UID 1000 and
   cannot read config files owned by the openclaw user.

Closes #26400

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

* scripts: extract quadlet sed replacement escaping helper

* podman: document quadlet user mapping rationale

* scripts: correct sed replacement escaping for pipe delimiter

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
9 months ago
Ayaan Zaidi f29c642c13 fix(release): enforce lane floor for calver appcast entries 9 months ago
Ayaan Zaidi 83698bf13e fix(macos): derive canonical APP_BUILD after deps install 9 months ago
Ayaan Zaidi af9edc98e4 fix(release): unify sparkle build policy and defaults 9 months ago
Logan Pritchett 84adedd1cb macos: treat empty APP_BUILD as fallback 9 months ago
Logan Pritchett 0332dce203 macos: parse calver month/day as decimal for Sparkle build 9 months ago
Logan Pritchett e4ee585b73 release-check: align appcast floor with Sparkle build lanes 9 months ago
Logan Pritchett 08fd579412 macos: make derived Sparkle build unique for same-day releases 9 months ago
Logan Pritchett 3be12b9fc4 release-check: validate appcast sparkle version floor 9 months ago
Logan Pritchett 7237b4666b macos: make default Sparkle build version monotonic 9 months ago
Sid 4221b5f809
fix: pass rootId to streaming card in Feishu topic groups (openclaw#28346) thanks @Sid-Qin
Verified:
- pnpm check
- pnpm test extensions/feishu/src/reply-dispatcher.test.ts

Co-authored-by: Sid-Qin <201593046+Sid-Qin@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
9 months ago
Shakker 46d9605ef8
merge-pr: use short squash merge banner 9 months ago
Peter Steinberger cb917b7f05 chore: silence onboard warning noise 9 months ago
Peter Steinberger bce643a0bd refactor(security): enforce account-scoped pairing APIs 9 months ago
Peter Steinberger 10481097f8 refactor(security): enforce v1 node exec approval binding 9 months ago
Peter Steinberger cd80c7e7ff refactor: unify dm policy store reads and reason codes 9 months ago
Peter Steinberger 273973d374 refactor: unify typing dispatch lifecycle and policy boundaries 9 months ago
Peter Steinberger 4894d907fa refactor(exec-approvals): unify system.run binding and generate host env policy 9 months ago
Peter Steinberger 57334cd7d8 refactor: unify channel/plugin ssrf fetch policy and auth fallback 9 months ago
Peter Steinberger 051fdcc428 fix(security): centralize dm/group allowlist auth composition 9 months ago
Peter Steinberger ecb2053fdd chore(pr): guard against dropped changelog refs 9 months ago
Peter Steinberger 5df9aacf68 fix(podman): default run-openclaw-podman bind to loopback (land #27491, thanks @robbyczgw-cla)
Co-authored-by: robbyczgw-cla <robbyczgw@gmail.com>
9 months ago
Onur Solmaz a7d56e3554
feat: ACP thread-bound agents (#23580)
* docs: add ACP thread-bound agents plan doc

* docs: expand ACP implementation specification

* feat(acp): route ACP sessions through core dispatch and lifecycle cleanup

* feat(acp): add /acp commands and Discord spawn gate

* ACP: add acpx runtime plugin backend

* fix(subagents): defer transient lifecycle errors before announce

* Agents: harden ACP sessions_spawn and tighten spawn guidance

* Agents: require explicit ACP target for runtime spawns

* docs: expand ACP control-plane implementation plan

* ACP: harden metadata seeding and spawn guidance

* ACP: centralize runtime control-plane manager and fail-closed dispatch

* ACP: harden runtime manager and unify spawn helpers

* Commands: route ACP sessions through ACP runtime in agent command

* ACP: require persisted metadata for runtime spawns

* Sessions: preserve ACP metadata when updating entries

* Plugins: harden ACP backend registry across loaders

* ACPX: make availability probe compatible with adapters

* E2E: add manual Discord ACP plain-language smoke script

* ACPX: preserve streamed spacing across Discord delivery

* Docs: add ACP Discord streaming strategy

* ACP: harden Discord stream buffering for thread replies

* ACP: reuse shared block reply pipeline for projector

* ACP: unify streaming config and adopt coalesceIdleMs

* Docs: add temporary ACP production hardening plan

* Docs: trim temporary ACP hardening plan goals

* Docs: gate ACP thread controls by backend capabilities

* ACP: add capability-gated runtime controls and /acp operator commands

* Docs: remove temporary ACP hardening plan

* ACP: fix spawn target validation and close cache cleanup

* ACP: harden runtime dispatch and recovery paths

* ACP: split ACP command/runtime internals and centralize policy

* ACP: harden runtime lifecycle, validation, and observability

* ACP: surface runtime and backend session IDs in thread bindings

* docs: add temp plan for binding-service migration

* ACP: migrate thread binding flows to SessionBindingService

* ACP: address review feedback and preserve prompt wording

* ACPX plugin: pin runtime dependency and prefer bundled CLI

* Discord: complete binding-service migration cleanup and restore ACP plan

* Docs: add standalone ACP agents guide

* ACP: route harness intents to thread-bound ACP sessions

* ACP: fix spawn thread routing and queue-owner stall

* ACP: harden startup reconciliation and command bypass handling

* ACP: fix dispatch bypass type narrowing

* ACP: align runtime metadata to agentSessionId

* ACP: normalize session identifier handling and labels

* ACP: mark thread banner session ids provisional until first reply

* ACP: stabilize session identity mapping and startup reconciliation

* ACP: add resolved session-id notices and cwd in thread intros

* Discord: prefix thread meta notices consistently

* Discord: unify ACP/thread meta notices with gear prefix

* Discord: split thread persona naming from meta formatting

* Extensions: bump acpx plugin dependency to 0.1.9

* Agents: gate ACP prompt guidance behind acp.enabled

* Docs: remove temp experiment plan docs

* Docs: scope streaming plan to holy grail refactor

* Docs: refactor ACP agents guide for human-first flow

* Docs/Skill: add ACP feature-flag guidance and direct acpx telephone-game flow

* Docs/Skill: add OpenCode and Pi to ACP harness lists

* Docs/Skill: align ACP harness list with current acpx registry

* Dev/Test: move ACP plain-language smoke script and mark as keep

* Docs/Skill: reorder ACP harness lists with Pi first

* ACP: split control-plane manager into core/types/utils modules

* Docs: refresh ACP thread-bound agents plan

* ACP: extract dispatch lane and split manager domains

* ACP: centralize binding context and remove reverse deps

* Infra: unify system message formatting

* ACP: centralize error boundaries and session id rendering

* ACP: enforce init concurrency cap and strict meta clear

* Tests: fix ACP dispatch binding mock typing

* Tests: fix Discord thread-binding mock drift and ACP request id

* ACP: gate slash bypass and persist cleared overrides

* ACPX: await pre-abort cancel before runTurn return

* Extension: pin acpx runtime dependency to 0.1.11

* Docs: add pinned acpx install strategy for ACP extension

* Extensions/acpx: enforce strict local pinned startup

* Extensions/acpx: tighten acp-router install guidance

* ACPX: retry runtime test temp-dir cleanup

* Extensions/acpx: require proactive ACPX repair for thread spawns

* Extensions/acpx: require restart offer after acpx reinstall

* extensions/acpx: remove workspace protocol devDependency

* extensions/acpx: bump pinned acpx to 0.1.13

* extensions/acpx: sync lockfile after dependency bump

* ACPX: make runtime spawn Windows-safe

* fix: align doctor-config-flow repair tests with default-account migration (#23580) (thanks @osolmaz)
9 months ago
Josh Avant 72adf2458b
CI: shard Windows test lane for faster CI critical path (#27234)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: f7c41089e0d5c36f59addd643d2038502bafe933
Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
Co-authored-by: joshavant <830519+joshavant@users.noreply.github.com>
Reviewed-by: @joshavant
9 months ago
Peter Steinberger e915b4c64a refactor: unify monitor abort lifecycle handling 9 months ago
Nimrod Gutman b3f46f0e28
fix(test): stabilize low-mem parallel runner and cron session mock (#26324)
* fix(test): stabilize low-mem parallel lane and cron session mock

* feat(android): make QR scanning first-class onboarding

* docs(android): update README for native Android workflow

* fix(android): stabilize chat composer ime and tab layout

* fix(android): stabilize chat ime insets and tab bar

* fix(android): remove tab bar gap above system nav

* fix(android): harden scanned setup code parsing

* test(android): cover non-string setupCode QR payload

* fix(test): add changelog note for low-mem test runner (#26324) (thanks @ngutman)

---------

Co-authored-by: Ayaan Zaidi <zaidi@uplause.io>
9 months ago
Peter Steinberger 52d933b3a9 refactor: replace bot.molt identifiers with ai.openclaw 9 months ago
Peter Steinberger 146c92069b fix: stabilize live docker test handling 9 months ago
Peter Steinberger 7c59b78aee test: cap docker live model sweeps and harden timeouts 9 months ago
Peter Steinberger def993dbd8 refactor(tmp): harden temp boundary guardrails 9 months ago
Peter Steinberger d3da67c7a9 fix(security): lock sandbox tmp media paths to openclaw roots 9 months ago
Peter Steinberger e806b34779 chore: remove changelog add helper script 9 months ago
Peter Steinberger d18ae2256f refactor: unify channel plugin resolution, family ordering, and changelog entry tooling 9 months ago
Peter Steinberger 6c5ab543c0 refactor: tighten external-link policy and window.open guard 9 months ago
Peter Steinberger 069c56cd75 fix(ios): normalize team IDs before preferred match
Co-authored-by: Brian Leach <bleach@gmail.com>
9 months ago
Peter Steinberger 1ae8c0a589 fix(ios): make team-id python lookup cross-platform
Co-authored-by: Brian Leach <bleach@gmail.com>
9 months ago
Peter Steinberger fd07861bc3 fix(ios): harden team-id profile fallback and tests 9 months ago
Brian Leach 73f526f025 fix(ios): support Xcode 16+ team detection and fix ntohl build error
Xcode 16+/26 no longer writes IDEProvisioningTeams to the preferences
plist, breaking ios-team-id.sh for newly signed-in accounts. Add
provisioning profile fallback and actionable error when an account
exists but no team ID can be resolved. Also replace ntohl() with
UInt32(bigEndian:) for Swift 6 compatibility and gitignore Xcode
build output directories.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
Shakker e5836283ab ui: centralize safe external URL opening 9 months ago
Peter Steinberger 31f2bf9519 test: fix gate regressions 9 months ago
Shakker ef1ffacfb2
scripts: exclude unresolved clawtributors from README 9 months ago
Peter Steinberger 6c441ea797 fix: support legacy and beta prerelease version formats 9 months ago
Nimrod Gutman 420c18364e fix(test): tier local vitest worker defaults by host memory 9 months ago
Peter Steinberger 89a4695020 test: consolidate shard tests for faster trigger/directive suites 9 months ago
Peter Steinberger 384a161bbc test: consolidate media auto-detect coverage 9 months ago
Peter Steinberger 70cac824b1 perf(test): optimize parallel vitest worker budget 9 months ago
Peter Steinberger 95e85e627e fix(feishu): restore group command fallback and plugin deps 9 months ago
Peter Steinberger 3a19b0201c test(installer): drop legacy gum env from docker smoke 9 months ago
Peter Steinberger 48ddb1cc81 fix(ci): stabilize install smoke in docker 9 months ago
Peter Steinberger 549549f6a0 fix(ci): sync plugin versions and harden install smoke 9 months ago
Peter Steinberger 74e6c210c0 fix: ignore prerelease suffixes in release-check plugin version checks 9 months ago
Peter Steinberger fa89ae8e9e fix: stabilize swift protocol generation and flaky tests 9 months ago
Peter Steinberger b520e7ac38 fix: stabilize docker live model and doctor-switch tests 9 months ago
Peter Steinberger 352b5262da fix(ci): make docs spellcheck fallback deterministic 9 months ago
Peter Steinberger f48698a50b fix(security): harden sandbox browser network defaults 9 months ago
Peter Steinberger 621d8e1312 fix(sandbox): require noVNC observer password auth 9 months ago
Vincent Koc f4a59eb5d8
Chore: harden A2UI bundle dependency resolution (#22507)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: d84c5bde518a4b2f3d192b0446672afeecf3fa3d
Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com>
Reviewed-by: @obviyus
9 months ago
Vincent Koc 55eab106ac
chore: remove root long and rolldown deps (#22481)
* chore(deadcode): add deadcode scanning and remove unused lockfile deps

* chore(changelog): mention deadcode CI scan pass

* ci: disable deadcode job temporarily

* docs(changelog): add PR ref and thanks for deadcode scan entry

* ci: comment out deadcode job condition while keeping it disabled

* Deps: remove dead root dependency from package manifest

* Changelog: reference PR for deadcode dependency cleanup

* Deps: remove unused root signal-utils

* Chore: remove unused lit context deps

* Chore: remove unused root lit dependency

* Chore: remove root long and rolldown deps

* Chore: add changelog for root long/rolldown removal

* Chore: fix a2ui bundling after root lit dependency removal

* Chore: simplify a2ui bundle script dependencies
9 months ago
Vincent Koc 3002be76e4
docs: add custom spellcheck dictionary and fix docs typos (#22457)
* docs: fix typos and add docs spellcheck workflow

* docs: add changelog entry for docs spellcheck updates

* docs: fix FAQ TOC fragment links for markdownlint

* docs: fix TOC nesting and spellcheck dictionary flags
9 months ago
Vincent Koc e7eba01efc
Security: disable sandbox container --no-sandbox by default (#22451) 9 months ago
Shadow 84281abd4b
Docker: drop root in test images 9 months ago
Logan Pritchett 8f80e2a467
fix(macos): set release bundle ID so Sparkle auto-update works (#19750)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: d16e61e35a508dfcf0f29f0ee3e7495431df4c56
Co-authored-by: loganprit <72722788+loganprit@users.noreply.github.com>
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com>
Reviewed-by: @obviyus
9 months ago
Coy Geek 8ae2d5110f
fix(docker): pin base images to SHA256 digests (#7734)
* fix(docker): pin base images to SHA256 digests for supply chain security

Pin all 9 Dockerfiles to immutable SHA256 digests to prevent supply chain
attacks where a compromised upstream image could be silently pulled into
production builds.

Also add Docker ecosystem to Dependabot configuration for automated
digest updates.

Images pinned:
- node:22-bookworm@sha256:cd7bcd2e7a1e6f72052feb023c7f6b722205d3fcab7bbcbd2d1bfdab10b1e935
- node:22-bookworm-slim@sha256:3cfe526ec8dd62013b8843e8e5d4877e297b886e5aace4a59fec25dc20736e45
- debian:bookworm-slim@sha256:98f4b71de414932439ac6ac690d7060df1f27161073c5036a7553723881bffbe
- ubuntu:24.04@sha256:cd1dba651b3080c3686ecf4e3c4220f026b521fb76978881737d24f200828b2b

Fixes #7731

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

* test(docker): add digest pinning regression coverage

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
9 months ago
Peter Steinberger 9130fd2b06 ci: harden workflow action input handling 9 months ago
zerone0x 466a1e1cdb
fix(clawdock): include docker-compose.extra.yml in helper commands (#17094)
_clawdock_compose() only passed -f docker-compose.yml, ignoring the
extra compose file that docker-setup.sh generates for persistent home
volumes and custom mounts. This broke all clawdock-* commands for
setups using OPENCLAW_HOME_VOLUME.

Fixes #17083

Co-authored-by: Claude <noreply@anthropic.com>
9 months ago
Nimrod Gutman 9bd2261c0f
fix(ios): auto-generate local signing overrides (#20716) 9 months ago
Gustavo Madeira Santana b228c06bbd chore: polish PR review skills 9 months ago
Nimrod Gutman cb34e80f98
fix(ios): restore auto-selected team for local signing (#19993)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 6f375238f03c0cfe6e0b926c87af9d4016948e7d
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
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
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