Peter Steinberger
7dea283756
refactor: expand acp core package ( #88618 )
...
* refactor: expand acp core package
* chore: drop acp core package symlink
* fix: keep acp core dependency graph stable
* fix: add acp core tsconfig subpaths
* fix: sync acp core boundary path artifacts
* fix: use kysely for cron run-log queries
* fix: resolve acp core subpaths in loaders
2026-05-31 14:48:57 +01:00
Peter Steinberger
77f1359612
refactor: extract media and ACP core packages ( #88534 )
...
* refactor: extract media and acp core packages
* refactor: remove relocated media and acp sources
* build: wire new core packages into dependency checks
* test: alias new core packages in vitest
* build: keep media sniffer runtime dependency
* docs: refresh plugin sdk api baseline
* fix: keep normalized proposal queries non-empty
* test: keep channel timer tests isolated
* fix: keep rebased plugin checks green
* fix: preserve sms numeric allowlist entries
* test: harden exec foreground timeout failure
* test: remove duplicate skill workshop assertion
* fix: remove channel config lint suppression
* test: refresh lint suppression allowlist
2026-05-31 11:30:33 +01:00
Peter Steinberger
00d8d7ead0
refactor: extract normalization core package
...
Extract shared normalization/coercion helpers into private @openclaw/normalization-core workspace package while preserving existing plugin SDK helper subpaths.\n\nAlso keeps direct normalization-core imports internal, wires UI/build/loader resolution, and replaces the slow PR network CodeQL lane with a fast added-line boundary scan while retaining full CodeQL for scheduled/manual runs.\n\nVerification: local moved tests, plugin SDK boundary tests, extension loader tests, agents-support shard, UI build/test, build artifacts, lint, workflow guards, autoreview, and GitHub CI passed on PR head 963d893715 .
2026-05-31 01:33:00 +01:00
Peter Steinberger
5891cfec3e
refactor: move model catalog normalization into core package
...
Move model catalog normalization and package-owned catalog schema/types into model-catalog-core while keeping public plugin SDK model catalog declarations on the existing SDK surface. Verified focused tests, package-boundary compile, full build, changed gate, declaration leak grep, CI, and autoreview.
2026-05-30 20:51:11 +01:00
Peter Steinberger
4e8b74568f
refactor: move model catalog refs into core package
...
Move model catalog ref helpers into @openclaw/model-catalog-core/model-catalog-refs and update internal callers/package-boundary aliases. Also fix the timestamp predicate typing that blocked prod type checks on current main.
2026-05-30 20:04:16 +01:00
Peter Steinberger
30e1556cda
refactor: extract model catalog core package
...
* refactor: extract model catalog core package
* refactor: route model catalog imports through package boundary
* build: include model catalog in plugin sdk package dts
* fix: preserve static fallback model metadata
2026-05-30 16:33:45 +01:00
Peter Steinberger
de1dfab03e
refactor: move terminal core into package ( #88279 )
...
* refactor: move terminal core into package
* refactor: move terminal module files
* fix: clean terminal package CI followups
* test: update lint suppression allowlist
* fix: ship terminal core runtime aliases
2026-05-30 11:07:45 +02:00
Peter Steinberger
99ffd714ce
refactor: extract markdown core package ( #88265 )
...
* refactor: extract markdown core package
* refactor: remove old markdown sources
* fix: use source paths for markdown core imports
* fix: clean markdown package dependency ownership
* fix: refresh root shrinkwrap for markdown dependency move
2026-05-30 09:33:24 +02:00
Peter Steinberger
7c1484d637
refactor: extract media generation core package
...
Extract pure media generation catalog/model-ref/normalization helpers into a private workspace package and wire the package through build, watch, SDK alias, and plugin boundary d.ts paths.
Verification:
- node scripts/run-vitest.mjs test/scripts/crabbox-wrapper.test.ts packages/media-generation-core/src src/media-generation/runtime-shared.test.ts src/plugins/sdk-alias.test.ts src/infra/watch-node.test.ts src/plugins/registry.provider-like.test.ts src/agents/model-ref-shared.test.ts extensions/codex-supervisor/src/plugin-tools.test.ts extensions/codex-supervisor/src/supervisor.test.ts src/wizard/setup.official-plugins.test.ts src/infra/net/http-connect-tunnel.test.ts
- node scripts/prepare-extension-package-boundary-artifacts.mjs --mode=all
- node scripts/run-vitest.mjs src/plugins/contracts/extension-package-project-boundaries.test.ts src/plugins/sdk-alias.test.ts
- pnpm protocol:check
- pnpm check:changed
- .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main
- GitHub CI 26676608512
2026-05-30 08:17:43 +02:00
Peter Steinberger
aa0d6e1bca
refactor: extract LLM core packages ( #88117 )
...
* refactor: extract llm core packages
* chore: drop generated llm package artifacts
* fix: align llm package export artifacts
* test: fix moving main CI expectations
* fix: align llm core subpath aliases
* fix: use llm package exports
* fix: stabilize llm package boundary artifacts
* fix: sync llm boundary path contract
* test: isolate crabbox provider env
* test: pin crabbox configured-provider cases
* test: apply crabbox lease provider override
2026-05-30 07:45:04 +02:00
Peter Steinberger
fbf900c746
refactor: move plugin state consumers to sqlite
...
Summary:
- add plugin-state runtime SDK subpaths backed by the existing sidecar DB
- migrate Discord model-picker preferences and Feishu dedup state to plugin-state keyed stores
- wire doctor legacy-state migration imports, including TTL preservation, for existing plugin JSON state
Verification:
- pnpm plugin-sdk:api:check
- focused plugin-state, doctor, Discord, Feishu, and package-boundary Vitest suites
- git diff --check origin/main...HEAD
- env -u OPENCLAW_TESTBOX pnpm check:changed
- autoreview --mode branch --base origin/main
- GitHub Actions PR checks green on 1025c2b570
2026-05-29 11:12:15 +01:00
Dallin Romney
8d21ac3f6e
refactor: share QA runtime helpers ( #87412 )
...
* refactor: share QA runtime helpers
* refactor: keep QA helpers private
* refactor: keep QA helpers on private runtime seam
* chore: prune stale QA duplicate ignores
* fix: align qa runtime boundary alias
* fix: avoid startup memory lint conversion
2026-05-27 21:16:24 -07:00
Peter Steinberger
2229122077
fix: keep private SDK declarations local
2026-05-28 03:28:27 +01:00
Dallin Romney
3005b62242
perf(plugins) refactor plugin SDK declarations for flat package types ( #87165 )
...
* refactor: flatten plugin sdk declarations
* fix: align package inventory with flat sdk declarations
* refactor: move packed sdk smoke to fixture
* test: simplify packed sdk type smoke
* fix(canvas): use focused number runtime helpers
* fix(ci): stabilize sdk boundary checks
* test: guard private sdk declaration leaks
Co-authored-by: Peter Steinberger <steipete@gmail.com >
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-05-27 19:22:32 -07:00
Peter Steinberger
1507a9701b
refactor: centralize inbound supplemental context
...
* refactor: centralize inbound supplemental context
* refactor: trim supplemental finalizer typing
* docs: clarify supplemental context projection
* refactor: move inbound finalization into core
* refactor: simplify channel inbound facts
* refactor: fold supplemental media into inbound finalizer
* refactor: migrate channel inbound callers to builder
* docs: mark inbound finalizer compat types deprecated
* refactor: wire runtime turn context builder
* refactor: replace channel turn runtime API
* fix: respect discord quote visibility
* fix: avoid deprecated line dispatch helper
* refactor: deprecate channel message SDK seams
* docs: trim channel outbound SDK page
* test: migrate irc inbound assertion
* refactor: deprecate outbound SDK facades
* refactor: deprecate channel helper SDK facades
* refactor: deprecate channel streaming SDK facade
* refactor: move direct dm helpers into inbound SDK
* chore: mark legacy test-utils SDK alias deprecated
* refactor: remove unused allow-from read helper
* refactor: route remaining channel dispatch through core
* refactor: enforce modern extension SDK imports
* test: give slow image root tests more time
* ci: support node fallback on windows
* fix: add transcripts tool display metadata
* refactor: trim legacy channel test seams
* fix: preserve channel compat after rebase
* fix: keep deprecated channel inbound aliases
* fix: preserve discord thread context visibility
* fix: clean final rebase conflicts
* fix: preserve channel message dispatch aliases
* fix: sync channel refactor after rebase
* fix: sync channel refactor after latest main
* fix: dedupe memory-core subagent mock
* test: align clickclack inbound dispatch assertions
* fix: sync plugin sdk api hash after rebase
* fix: sync channel refactor after latest main
* fix: sync plugin sdk api hash after rebase
* fix: sync plugin sdk api hash after latest main
* test: remove stale inbound context awaits
2026-05-27 09:26:06 +01:00
Patrick Erichsen
84e8e09725
Add WhatsApp live QA lane ( #77704 )
...
* feat(qa): add whatsapp live lane
* ci: add gated whatsapp and discord qa live lanes
* ci: honor qa live env gates in release selection
* test: update qa live workflow gate assertion
* ci: split live QA release gates
2026-05-05 12:09:28 -07:00
Vincent Koc
31cafbb802
test(qa): add Slack live transport lane
2026-05-03 15:19:55 -07:00
Peter Steinberger
77a50db9ea
feat(qa): add Mantis Discord status reaction scenario ( #76747 )
...
* feat(qa): add Mantis Discord status reaction scenario
* fix(qa): retry Discord rate limits in Mantis runs
* refactor(qa): reuse Discord API retry helper
* fix(qa): import Discord API through package surface
* fix(ci): generate Discord boundary declarations
* fix(ci): keep xai boundary overrides stable
2026-05-03 17:00:06 +01:00
Peter Steinberger
af7f651db3
refactor(plugin-sdk): retire reserved helper exports
2026-04-28 05:21:57 +01:00
Altay
10797cbd81
fix(ci): sync package boundary paths config
2026-04-09 23:59:00 +01:00
Josh Lehman
bd639bbde8
fix: resolve qa-lab type-aware linting ( #63928 )
...
Regeneration-Prompt: |
Fix the unrelated qa-lab failures that started surfacing once bundled extension linting covered the QA channel types. Keep the change minimal and additive. Preserve the existing plugin-sdk import surface for qa-lab, but make sure the generated qa-channel plugin-sdk declarations can be resolved from bundled extension package-boundary tsconfig paths. Also replace the over-broad QaBusEventSeed union in qa-lab bus state with an explicit discriminated union so oxlint no longer treats the event variants as duplicate constituents. Verify with the qa-lab package typecheck, a targeted type-aware oxlint run for the affected files, full pnpm check, and the focused qa-lab bus-state test.
2026-04-09 14:33:33 -07:00
Vincent Koc
dfb6c9c920
perf(plugin-sdk): split channel secret runtime helpers
2026-04-07 13:09:12 +01:00
Peter Steinberger
5390eadc4e
Tests: fix boundary and late-run drift
2026-04-07 19:59:51 +08:00
Vincent Koc
f7957d3bb7
fix(plugins): restore shared boundary sdk paths
2026-04-07 10:48:56 +01:00
Peter Steinberger
dbc7710938
Tests: fix gateway reconnect and boundary drift
2026-04-07 17:30:37 +08:00
Peter Steinberger
e3cb19d162
test(boundary): unify package sdk type paths
2026-04-07 10:26:35 +01:00
Vincent Koc
fb64ba7bf7
refactor(plugins): harden package boundary sdk prep
2026-04-07 09:44:43 +01:00
Vincent Koc
d5ed6d26e9
chore(plugins): bulk add package boundary tsconfig rollout
2026-04-07 08:48:23 +01:00
Vincent Koc
55eb9841d9
fix(plugins): use canonical sdk dts for boundaries
2026-04-07 08:09:59 +01:00
Peter Steinberger
9a66b9cd54
Tests: fix package boundary and runtime drift
2026-04-07 14:16:25 +08:00
Peter Steinberger
67c4733267
build: align plugin sdk package boundaries
2026-04-07 05:46:13 +01:00
Peter Steinberger
80c8567f9d
fix: resolve merge conflicts and preserve runtime test fixes
2026-04-06 22:46:33 +01:00
Peter Steinberger
ed64ce3983
build: type plugin sdk exports for xai
2026-04-06 20:55:51 +01:00
Peter Steinberger
a89f171865
fix: repair latest main gates
2026-04-06 20:31:34 +01:00
Peter Steinberger
ff7fe37d17
refactor(cli): normalize route boundaries
2026-04-06 15:38:04 +01:00