openclaw/extensions/byteplus
Peter Steinberger 14233c0e6d
chore(release): close out 2026.9.7 on main (#161587)
* test(gateway): await yielded orchestrator cleanup

Wait for the existing registry cleanup publication instead of racing real SQLite worker completion against a two-second polling window. Reuse the plugin-subagent observer and bind the new waits to the test abort signal so timeouts release their subscriptions.

Keep yielded follow-up dispatch on real timers so the acknowledgement helper cannot prematurely run the registry sweeper against mocked run liveness. Preserve all requester lineage, announcement, delivery, cleanup, and predecessor lifecycle assertions.

(cherry picked from commit 0591abe71e703b7cf7c69a42cd8b93287d9fe8d9)

* fix(test): stop resume registry sweeper before gateway teardown

The resume Gateway fixture left its subagent registry sweeper scheduled
across files. A later tick used the retired module generation to open a
shared-state worker against the next fixture's state directory. The worker
registered with the old database lifecycle, escaped current teardown, and
rejected the recreated SQLite pathname.

Reset the fixture-owned registry without persistence before closing the
Gateway so its timers stop before database retirement.

Validation: the six-file same-worker driver reproduced the pathname error
before the fix (270.19s instrumented), then passed all 49 tests (215.72s).
The delete-state-lifecycle file passed all 10 tests alone (102.65s wall).
Targeted oxfmt, oxlint, git diff --check, and independent review passed.
All diagnostic instrumentation was removed.

(cherry picked from commit 613b3f8818d21d0c0d65333b29aabce11dd5afe9)

* test: settle reply recovery before deleting fixtures

The aborted-restart fixture could delete its store while asynchronous
main-session recovery-owner release was still preparing a write. Tracing
reproduced that release recreating/registering the prior store during the
following onAdopted test, invalidating the shared registry generation.

Join reply successor-admission barriers and close each fixture database root
before deleting its directory or resetting the reply registry. Extract the
fixture owner to keep the existing large test file from growing. Re-enable
the adopted-claim cancellation test. Production registry guards and retry
contracts are unchanged.

Validation with OPENCLAW_E2E_SKIP_BUILD=1 pnpm test:e2e:gateway against
src/auto-reply/reply/agent-runner.runreplyagent.e2e.test.ts:
- Original file: 220 passed, 1 registry failure, 1 skipped; 358.38s Vitest.
- Original isolated adoption case repeated 20 times: passed; 170.95s Vitest.
- Repaired aborted-restart/cancellation/adoption sequence: 3 clean runs,
  3 tests each; CLI wall 225.68s, 190.48s, 99.70s.
- Repaired full file: 221 passed, 1 different steering timeout; 528.47s Vitest.
  Remaining failure: keeps the replacement source when retired admission
  completes, first source admission did not persist (existing 5s guard).
  Focused replay passed in 151.18s Vitest; this does not establish a fix for
  that timeout. No timeout was changed.
- Source test types, scoped oxlint, formatting, and independent review passed.
  Broad check:changed guards passed through the core graph boundary; stopped
  before its duplicate messaging type pass. pnpm tsgo:test:src passed that
  graph plus the remaining source test graphs.

The full original CI shard and Telegram case were not replayed within the
requested 35-minute investigation limit.

(cherry picked from commit 0b679e62f6)

* fix(release): retire the 2026.9.7 live-shard waiver before main moves to 2026.9.7

RELEASE_WAIVED_LIVE_FILES (28597852) keyed on package version 2026.9.7 dropped three live files whose only case was skipped on the release branch. Main keeps those cases enabled, so once the closeout sets main to 2026.9.7 the adapter would silently stop running them. Refs #161083 #161084.

* chore(release): record the shipped 2026.9.7 changelog on main

CHANGELOG/2026.9.7.md, its contribution record, the index entry, the finalized Unreleased section, and the Matrix plugin changelog, byte-identical to the 2026.9.7 release SHA c074824a.

* chore(release): set main to the shipped 2026.9.7 version and record its update compatibility

Root version 2026.9.7 with pnpm release:prep version alignment, the macOS Info.plist version, and the verified npm tarball (sha512-/8N2Ln…RQwRWA==) recorded in the update compatibility inventory.

* test(gateway): move yielded orchestrator follow-up cases into their own module

The 0591abe7 forward-port grew agent.sessions-and-models.test-utils.ts past its line-cap ratchet. The yielded-orchestrator follow-up matrix is a self-contained case set, so it moves unchanged into agent.yielded-orchestrator.test-utils.ts, still loaded by agent.test.ts in the same module graph.
2026-09-29 22:39:14 -07:00
..
assets
api.ts
index.test.ts
index.ts
live.test.ts
models.ts
openclaw.plugin.json
package.json chore(release): close out 2026.9.7 on main (#161587) 2026-09-29 22:39:14 -07:00
provider-discovery.ts
README.md
tsconfig.json
video-generation-provider.test.ts
video-generation-provider.ts

OpenClaw BytePlus Provider

Official OpenClaw provider plugin for BytePlus model inference and Seedance video generation.

Install from OpenClaw:

openclaw plugins install @openclaw/byteplus-provider
openclaw gateway restart

Set BYTEPLUS_API_KEY, then select a byteplus/* or byteplus-plan/* model.

See https://docs.openclaw.ai/concepts/model-providers#byteplus-international for model setup and https://docs.openclaw.ai/tools/video-generation for Seedance video generation.