Commit Graph

1333 Commits (4329d94de3a71803db177ee50af68eb75d7ea06b)

Author SHA1 Message Date
Tak Hoffman 27decb9649
fix(regression): route contract paths through test wrapper 8 months ago
Peter Steinberger dd640e3c41 refactor: add focused global singleton sdk seam 8 months ago
Peter Steinberger 0b26e4d72a refactor: split shared provider catalog sdk helpers 8 months ago
Peter Steinberger b39a7e8073 fix: break plugin-sdk provider barrel recursion 8 months ago
Peter Steinberger 36b9ec9418 fix(ci): narrow browser logger and schema seams 8 months ago
Peter Steinberger 4ca07559ab refactor: move provider seams behind plugin sdk surfaces 8 months ago
Tak Hoffman 0826fb4a00
fix(regression): export plugin-sdk huggingface facade 8 months ago
Tak Hoffman a0cc684d02
fix(regression): restore modelstudio sdk facade exports 8 months ago
Peter Steinberger d506eea076 fix(ci): restore contract plugin-sdk source loading 8 months ago
Tak Hoffman f41cd12b54
fix(regression): restore modelstudio facade exports 8 months ago
Peter Steinberger b50b9b16ab fix(ci): isolate discord session-key facade 8 months ago
Peter Steinberger 2bdbb189bd refactor: route plugin sdk facades through extension barrels 8 months ago
Peter Steinberger 5d3d54ee36 refactor: generate plugin sdk facades 8 months ago
Tak Hoffman c3d45fbb19
Fallback to Jiti when bun is unavailable 8 months ago
Jacob Tomlinson 16ed9bf147
config: fall back to jiti for channel config surfaces 8 months ago
Peter Steinberger c9d68fb9c2 fix: repair ci test and loader regressions 8 months ago
Peter Steinberger 1086acf3c2 fix: repair latest-main ci gate 8 months ago
Radek Sienkiewicz 47ae562cc9
Docs: unify link audit entrypoint (#55912)
Merged via squash.

Prepared head SHA: 6b1ccb9f1fb1add05df90d7db233667a49edf0b5
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
Peter Steinberger ef1784d264 refactor: move bundled plugin policy into manifests 8 months ago
Peter Steinberger ed055f44ae refactor: route plugin runtime through bundled seams 8 months ago
Sally O'Malley df5b9ef0c6
update podman setup and docs (#55388)
* update podman setup and docs

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

* podman: persist runtime env defaults

Co-authored-by: albertxos <kickban3000@gmail.com>
Signed-off-by: sallyom <somalley@redhat.com>

* podman: harden env and path handling, other setup updates

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

* podman: allow symlinked home path components

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

* update podman docs

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

---------

Signed-off-by: sallyom <somalley@redhat.com>
Co-authored-by: albertxos <kickban3000@gmail.com>
8 months ago
Ayaan Zaidi 454f094c36
fix: avoid source imports in cli startup metadata build 8 months ago
Tak Hoffman c2ca99aa0b
fix(test-planner): keep exit fallback timer referenced 8 months ago
Peter Steinberger a10763e118 refactor: generate bundled channel seams 8 months ago
Tak Hoffman 45535ff433
dev: speed up local check loop 8 months ago
Peter Steinberger ac2c2ac954 fix: stop test-parallel from waiting forever on child close 8 months ago
Peter Steinberger a30dae3c71 fix: honor test planner cache paths by target platform 8 months ago
Peter Steinberger 9322481075 fix: route ollama helpers through plugin sdk 8 months ago
Tak Hoffman 23fae00fad
Reduce script logging suppressions and Feishu any casts 8 months ago
Tak Hoffman 6f92148da9
fix(test-planner): shrink local extension batches on constrained hosts 8 months ago
Peter Steinberger a3e73daa6b refactor: remove ollama legacy shims 8 months ago
Tak Hoffman 04d01984ef
fix(build): make bundled runtime-deps staging incremental 8 months ago
Tak Hoffman ed2798417e
check: restore bundled channel config metadata gate 8 months ago
Ayaan Zaidi 8b13710c09
refactor(plugin-sdk): expose zod subpath 8 months ago
huntharo 4262abe05d
test: lower prepare unit-fast batch target 8 months ago
Peter Steinberger eebce9e9c7
refactor: move memory host into sdk package 8 months ago
Peter Steinberger bd6c7969ea
refactor: extract memory host sdk package 8 months ago
Peter Steinberger 417b3dd5e0
refactor: move channel prefer-over metadata into manifests 8 months ago
Peter Steinberger dd098596cf
refactor: collapse bundled channel metadata into plugin manifests 8 months ago
Peter Steinberger 10527ff8a3 build: refresh deps and vitest cache lanes 8 months ago
Peter Steinberger 1ff1679984
test: harden parallels windows smoke polling 8 months ago
Peter Steinberger 77d15841d7
refactor: move manifest legacy migration into doctor 8 months ago
Peter Steinberger 7a35bca2ec
refactor: make memory embedding adapters generic 8 months ago
Peter Steinberger 42be3fb059
refactor: collapse manifest contract mirrors 8 months ago
Peter Steinberger 40bd36e35d
refactor: move channel config metadata into plugin-owned manifests 8 months ago
Peter Steinberger ab6ddf7245
refactor: slim plugin sdk provider entrypoints 8 months ago
Peter Steinberger ba7804df50
refactor: derive bundled contracts from extension manifests 8 months ago
Peter Steinberger dbf78de7c6
refactor: move memory engine behind plugin adapters 8 months ago
Peter Steinberger abf95c5f99 refactor: share build copy script helpers 8 months ago
Peter Steinberger b96fccadb9
refactor: clean memory plugin host boundary 8 months ago
Peter Steinberger 2c6d099b01
refactor: plugin-own speech provider config 8 months ago
Peter Steinberger 197510f693 refactor: add browser plugin runtime package 8 months ago
Peter Steinberger 48a65f7749
refactor: simplify bundled plugin contracts 8 months ago
Peter Steinberger 8b42ad08e5 perf: speed up shared extension test batches 8 months ago
Peter Steinberger ce9dff1458
refactor: clean plugin capability boundaries 8 months ago
Peter Steinberger 663ba5a3cd perf: speed up test parallelism 8 months ago
Tak Hoffman c48a3e4fc9
ci: optimize windows test shard fanout (#55261)
* ci: reduce windows test shard fanout

* ci: tighten windows shard target

* ci: back off windows shard target

* ci: restore windows shard cap
8 months ago
Peter Steinberger f0991aab57
test: add docker cli-backend smoke 8 months ago
Peter Steinberger 99d052a203 perf: overlap isolated channel runs with shared lane 8 months ago
Peter Steinberger 880b2fb7fd perf: enable local channel planner parallelism on node 25 8 months ago
Tak Hoffman 06b4a0a1f2
test: improve test runner help text (#55227)
* test: improve test runner help text

* test: print extension help to stdout

* test: leave extension help passthrough alone

* test: parse timing update flags in one pass
8 months ago
Peter Steinberger a4a00aa1da
feat: pluginize cli inference backends 8 months ago
Tak Hoffman 9f0305420a
docs: add beta blocker contributor guidance (#55199)
* docs: add beta blocker contributor guidance

* fix: tighten beta blocker labeling and flaky config test
8 months ago
Tak Hoffman e403899cc1
test: fix portable stderr capture and env leakage (#55184) 8 months ago
Jacob Tomlinson 5e8cb22176
Feishu: validate webhook signatures before parsing (#55083)
* Feishu: validate webhook signatures before parsing

* Scripts: allow Feishu raw body guard callsite
8 months ago
pomelo dad68d319b
Remove Qwen OAuth integration (qwen-portal-auth) (#52709)
* Remove Qwen OAuth integration (qwen-portal-auth)

Qwen OAuth via portal.qwen.ai is being deprecated by the Qwen team due
to traffic impact on their primary Qwen Code user base. Users should
migrate to the officially supported Model Studio (Alibaba Cloud Coding
Plan) provider instead.

Ref: https://github.com/openclaw/openclaw/issues/49557

- Delete extensions/qwen-portal-auth/ plugin entirely
- Remove qwen-portal from onboarding auth choices, provider aliases,
  auto-enable list, bundled plugin defaults, and pricing cache
- Remove Qwen CLI credential sync (external-cli-sync, cli-credentials)
- Remove QWEN_OAUTH_MARKER from model auth markers
- Update docs/providers/qwen.md to redirect to Model Studio
- Update model-providers docs (EN + zh-CN) to remove Qwen OAuth section
- Regenerate config and plugin-sdk baselines
- Update all affected tests

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* Clean up residual qwen-portal references after OAuth removal

* Add migration hint for deprecated qwen-portal OAuth provider

* fix: finish qwen oauth removal follow-up

---------

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Frank Yang <frank.ekn@gmail.com>
8 months ago
George Zhang 6cbd2d36f8
Revert "feat: add video generation core infrastructure and extend image generation parameters (#53681)" (#54943)
This reverts commit 4cb8dde894.
8 months ago
Tak Hoffman 5b68e52894
ci: collapse preflight manifest routing (#54773)
* ci: collapse preflight manifest routing

* ci: fix preflight workflow outputs

* ci: restore compat workflow tasks

* ci: match macos shards to windows

* ci: collapse macos swift jobs

* ci: skip empty submodule setup

* ci: drop submodule setup from node env
8 months ago
xieyongliang 4cb8dde894
feat: add video generation core infrastructure and extend image generation parameters (#53681)
* feat: add video generation core infrastructure and extend image generation parameters

Add full video generation capability to OpenClaw core:

- New `video_generate` agent tool with support for prompt, duration, aspect ratio,
  resolution, seed, watermark, I2V (first/last frame), camerafixed, and draft mode
- New `VideoGenerationProvider` plugin SDK type and `registerVideoGenerationProvider` API
- New `src/video-generation/` module (types, runtime with fallback, provider registry)
- New `openclaw/plugin-sdk/video-generation` export for external plugins
- 200MB max file size for generated videos (vs default 5MB for images)

Extend image generation with additional parameters:
- `seed`, `watermark`, `guidanceScale`, `optimizePrompt`, `providerOptions`
- New `readBooleanParam()` helper in tool common utilities

Update plugin registry, contracts, and all test mocks to include
`videoGenerationProviders` and `videoGenerationProviderIds`.

Made-with: Cursor

* fix: validate aspect ratio against target provider when model override is set

* cleanup: remove redundant ?? undefined from video/image generate tools

* chore: regenerate plugin SDK API baseline after video generation additions

---------

Co-authored-by: yongliang.xie <yongliang.xie@bytedance.com>
8 months ago
Tak Hoffman ab37d8810d
test: introduce planner-backed test runner, stabilize local builds (#54650)
* test: stabilize ci and local vitest workers

* test: introduce planner-backed test runner

* test: address planner review follow-ups

* test: derive planner budgets from host capabilities

* test: restore planner filter helper import

* test: align planner explain output with execution

* test: keep low profile as serial alias

* test: restrict explicit planner file targets

* test: clean planner exits and pnpm launch

* test: tighten wrapper flag validation

* ci: gate heavy fanout on check

* test: key shard assignments by unit identity

* ci(bun): shard vitest lanes further

* test: restore ci overlap and stabilize planner tests

* test: relax planner output worker assertions

* test: reset plugin runtime state in optional tools suite

* ci: split macos node and swift jobs

* test: honor no-isolate top-level concurrency budgets

* ci: fix macos swift format lint

* test: cap max-profile top-level concurrency

* ci: shard macos node checks

* ci: use four macos node shards

* test: normalize explain targets before classification
8 months ago
Tak Hoffman f63c4b0856
test: keep vitest on forks only 8 months ago
Peter Steinberger ea08f2eb8c
fix(runtime): support Node 22.14 installs 8 months ago
Peter Steinberger 284084672a
fix(ci): restore e2e docker cache boundary 8 months ago
Peter Steinberger 39ad51426c
test: add Open WebUI docker smoke 8 months ago
Peter Steinberger cdba1e6771
fix: copy openclaw bin before docker install 8 months ago
Peter Steinberger d874f3970a
build: prepare 2026.3.24-beta.1 8 months ago
Peter Steinberger 94041f06b4 test: harden parallels npm update runner 8 months ago
Kwanghee Park (hugh.k) ac7ca52090 Gateway: harden Compose-style gateway port parsing 8 months ago
Peter Steinberger 33e9e485b8
refactor: clarify docker setup cli phases 8 months ago
김채완 81be4b45a6 Docker: seed localhost control UI origin 8 months ago
김채완 dbb806d257 Docker: avoid setup CLI namespace loop 8 months ago
Peter Steinberger 6f6468027a refactor: dedupe test and runtime seams 8 months ago
Peter Steinberger cf96fa67af ci: batch shared extensions test lane 8 months ago
Vincent Koc 1beda4aff1 fix(ci): use target-platform npm path semantics 8 months ago
Vincent Koc 805bff6e7e fix(cli): precompute bare root help startup path 8 months ago
Vincent Koc 783cbd1e9d fix(ci): refresh plugin sdk baseline and formatting 8 months ago
Peter Steinberger f6b3377af2 test: stabilize low-profile parallel gate 8 months ago
Vincent Koc e4ce1d9a0e
fix(runtime): stabilize dist runtime artifacts (#53855)
* fix(build): stabilize lazy runtime entry paths

* fix(runtime): harden bundled plugin npm staging

* docs(changelog): note runtime artifact fixes

* fix(runtime): stop trusting npm_execpath

* fix(runtime): harden Windows npm staging

* fix(runtime): add safe Windows npm fallback
8 months ago
Vincent Koc 7daaefdb08 test(memory): recycle shared channels batches 8 months ago
Vincent Koc 14f1b65c70 test(memory): enable lower-interval heap snapshots 8 months ago
Peter Steinberger 781295c14b refactor: dedupe test and script helpers 8 months ago
David Guttman aa91000a5d
feat(discord): add autoThreadName 'generated' strategy (#43366)
* feat(discord): add autoThreadName 'generated' strategy

Adds async thread title generation for auto-created threads:
- autoThread: boolean - enables/disables auto-threading
- autoThreadName: 'message' | 'generated' - naming strategy
- 'generated' uses LLM to create concise 3-6 word titles
- Includes channel name/description context for better titles
- 10s timeout with graceful fallback

* Discord: support non-key auth for generated thread titles

* Discord: skip fallback auto-thread rename

* Discord: normalize generated thread title first content line

* Discord: split thread title generation helpers

* Discord: tidy thread title generation constants and order

* Discord: use runtime fallback model resolution for thread titles

* Discord: resolve thread-title model aliases

* Discord: fallback thread-title model selection to runtime defaults

* Agents: centralize simple completion runtime

* fix(discord): pass apiKey to complete() for thread title generation

The setRuntimeApiKey approach only works for full agent runs that use
authStorage.getApiKey(). The pi-ai complete() function expects apiKey
directly in options or falls back to env vars — it doesn't read from
authStorage.runtimeOverrides.

Fixes thread title generation for Claude/Anthropic users.

* fix(agents): return exchanged Copilot token from prepareSimpleCompletionModel

The recent thread-title fix (3346ba6) passes prepared.auth.apiKey to
complete(). For github-copilot, this was still the raw GitHub token
rather than the exchanged runtime token, causing auth failures.

Now setRuntimeApiKeyForCompletion returns the resolved token and
prepareSimpleCompletionModel includes it in auth.apiKey, so both the
authStorage path and direct apiKey pass-through work correctly.

* fix(agents): catch auth lookup exceptions in completion model prep

getApiKeyForModel can throw for credential issues (missing profile, etc).
Wrap in try/catch to return { error } for fail-soft handling rather than
propagating rejected promises to callers like thread title generation.

* Discord: strip markdown wrappers from generated thread titles

* Discord/agents: align thread-title model and local no-auth completion headers

* Tests: import fresh modules for mocked thread-title/simple-completion suites

* Agents: apply exchanged Copilot baseUrl in simple completions

* Discord: route thread runtime imports through plugin SDK

* Lockfile: add Discord pi-ai runtime dependency

* Lockfile: regenerate Discord pi-ai runtime dependency entries

* Agents: use published Copilot token runtime module

* Discord: refresh config baseline and lockfile

* Tests: split extension runs by isolation

* Discord: add changelog for generated thread titles (#43366) (thanks @davidguttman)

---------

Co-authored-by: Onur Solmaz <onur@textcortex.com>
Co-authored-by: Onur Solmaz <2453968+osolmaz@users.noreply.github.com>
8 months ago
Peter Steinberger 687ce31f88 test: harden parallels smoke harness 8 months ago
Tak Hoffman 7464330a08
test: audit subagent seam coverage inventory 8 months ago
Sid Uppal cd90130877
msteams: implement Teams AI agent UX best practices (#51808)
Migrates the Teams extension from @microsoft/agents-hosting to the official Teams SDK (@microsoft/teams.apps + @microsoft/teams.api) and implements Microsoft's AI UX best practices for Teams agents.

- AI-generated label on all bot messages (Teams native badge + thumbs up/down)
- Streaming responses in 1:1 chats via Teams streaminfo protocol
- Welcome card with configurable prompt starters on bot install
- Feedback with reflective learning (negative feedback triggers background reflection)
- Typing indicators for personal + group chats (disabled for channels)
- Informative status updates (progress bar while LLM processes)
- JWT validation via Teams SDK createServiceTokenValidator
- User-Agent: teams.ts[apps]/<sdk-version> OpenClaw/<version> on outbound requests
- Fix copy-pasted image downloads (smba.trafficmanager.net auth allowlist)
- Pre-parse auth gate (reject unauthenticated requests before body parsing)
- Reflection dispatcher lifecycle fix (prevent leaked dispatchers)
- Colon-safe session filenames (Windows compatibility)
- Cooldown cache eviction (prevent unbounded memory growth)

Closes #51806
8 months ago
Peter Steinberger 1bfef17825 ci: balance shards and reuse pr artifacts 8 months ago
Peter Steinberger ce49d8bca9
fix: verify global npm correction installs 8 months ago
Tak Hoffman 50d996a6ec
tests: cron coverage and NO_REPLY delivery fixes (#53366)
* tools: extend seam audit inventory

* tools: audit cron seam coverage gaps

* test: add cron seam coverage tests

* fix: avoid marking NO_REPLY cron deliveries as delivered

* fix: clean up delete-after-run NO_REPLY cron sessions
8 months ago
Vincent Koc 6142fc1d94 fix(runtime): anchor bundled plugin npm staging to active node 8 months ago
Peter Steinberger 3ae5d33799
refactor: extract cron schedule and test runner helpers 8 months ago
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