Commit Graph

252 Commits (4329d94de3a71803db177ee50af68eb75d7ea06b)

Author SHA1 Message Date
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
Peter Steinberger ed055f44ae refactor: route plugin runtime through bundled seams 8 months ago
Peter Steinberger 9322481075 fix: route ollama helpers through plugin sdk 8 months ago
Peter Steinberger a3e73daa6b refactor: remove ollama legacy shims 8 months ago
Ayaan Zaidi 8b13710c09
refactor(plugin-sdk): expose zod subpath 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 7a35bca2ec
refactor: make memory embedding adapters generic 8 months ago
Peter Steinberger ab6ddf7245
refactor: slim plugin sdk provider entrypoints 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 197510f693 refactor: add browser plugin runtime package 8 months ago
Peter Steinberger ce9dff1458
refactor: clean plugin capability boundaries 8 months ago
Peter Steinberger f0991aab57
test: add docker cli-backend smoke 8 months ago
Peter Steinberger a4a00aa1da
feat: pluginize cli inference backends 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
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
Peter Steinberger 6f6468027a refactor: dedupe test and runtime seams 8 months ago
Peter Steinberger f6b3377af2 test: stabilize low-profile parallel gate 8 months ago
Peter Steinberger 781295c14b refactor: dedupe test and script helpers 8 months ago
Peter Steinberger 9334015262
fix: ship bundled plugin runtime sidecars 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
Peter Steinberger 47186c50a2 fix(ci): restore stale guardrails and baselines 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
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 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 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 091b811a61 fix(ci): lazy-load TypeScript in ts guard utils 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
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
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
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 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
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
Peter Steinberger 50ce9ac1c6 refactor: privatize bundled sdk facades 8 months ago
Peter Steinberger f6948ce405 refactor: shrink sdk helper surfaces 8 months ago
Vincent Koc 3b79494cbf fix(runtime): lazy-load setup shims and align contracts 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 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 9a9db87952 fix(release): isolate config doc surfaces and sdk exports 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
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
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
Peter Steinberger 8d73bc77fa refactor: deduplicate reply payload helpers 8 months ago
Vincent Koc 467ec4d5f3 Types: fix optional cluster check follow-ups 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
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
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 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
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
Peter Steinberger 1313767825
refactor: enforce plugin boundary seams 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
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 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 2497b8147e
refactor: add shared setup sdk subpath 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
Peter Steinberger 7964563299
refactor: finish plugin-owned channel runtime seams 8 months ago
Peter Steinberger 46482a283a
feat: add nostr setup and unify channel setup discovery 8 months ago
Peter Steinberger 38abdea8ce fix: restore ci type checks 8 months ago
Peter Steinberger 59940cb3ee refactor(plugin-sdk): centralize entrypoint manifest 8 months ago
Peter Steinberger d307a7ca1a refactor: extract bundled extension manifest parser 8 months ago
Peter Steinberger dbc78243f4 refactor(scripts): share guard runners and paged select UI 9 months ago
Peter Steinberger 00a2456b72 refactor(scripts): dedupe guard checks and smoke helpers 9 months ago