Commit Graph

85 Commits (8564480f3e6fd4a551ada347010d5fb75b5ed60e)

Author SHA1 Message Date
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