mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
refactor(context-engine): retire legacy host param default (#122434)
This commit is contained in:
committed by
GitHub
parent
141f943a41
commit
7ecad45a7d
@@ -198,14 +198,14 @@ artifact reader count is zero.
|
||||
|
||||
Audit the current migration queue with `pnpm plugins:boundary-report`:
|
||||
|
||||
| Flag | Effect |
|
||||
| ------------------------------------------------------- | ------------------------------------------------------------------------------ |
|
||||
| `--summary` (or `pnpm plugins:boundary-report:summary`) | Compact counts instead of full detail. |
|
||||
| `--json` | Machine-readable report. |
|
||||
| `--owner <id>` | Filter to one plugin or compatibility owner. |
|
||||
| `--fail-on-cross-owner` | Exit non-zero on cross-owner reserved SDK imports. |
|
||||
| `--fail-on-eligible-compat` | Exit non-zero when a deprecated compat record's `removeAfter` date has passed. |
|
||||
| `--fail-on-unclassified-unused-reserved` | Exit non-zero on unused reserved SDK shims. |
|
||||
| Flag | Effect |
|
||||
| ------------------------------------------------------- | -------------------------------------------------------------------------- |
|
||||
| `--summary` (or `pnpm plugins:boundary-report:summary`) | Compact counts instead of full detail. |
|
||||
| `--json` | Machine-readable report. |
|
||||
| `--owner <id>` | Filter to one plugin or compatibility owner. |
|
||||
| `--fail-on-cross-owner` | Exit non-zero on cross-owner reserved SDK imports. |
|
||||
| `--fail-on-eligible-compat` | Exit non-zero on or after a deprecated compat record's `removeAfter` date. |
|
||||
| `--fail-on-unclassified-unused-reserved` | Exit non-zero on unused reserved SDK shims. |
|
||||
|
||||
`pnpm plugins:boundary-report:ci` runs with all three fail flags. Deprecated
|
||||
records normally have an explicit `removeAfter` date. A contract tied to a
|
||||
@@ -1069,7 +1069,7 @@ apps own device capture/playback UX.
|
||||
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **Now** | Warning-capable deprecated surfaces emit runtime warnings; repository guards reject deprecated SDK imports from core and bundled plugins. |
|
||||
| **Pending owner decision** | Records without `removeAfter` or `removalGate` remain deprecated and ineligible until their owner publishes a gate. |
|
||||
| **Each compat record's `removeAfter` date** | That dated surface becomes eligible for removal; `pnpm plugins:boundary-report --fail-on-eligible-compat` fails CI once the date passes. |
|
||||
| **Each compat record's `removeAfter` date** | That dated surface becomes eligible for removal; `pnpm plugins:boundary-report --fail-on-eligible-compat` fails CI on or after that date. |
|
||||
| **Next Plugin SDK major** | `inbound-reply-dispatch` reaches its explicit `next-plugin-sdk-major` gate; it is not date-eligible before that version boundary. |
|
||||
|
||||
The remaining public SDK subpaths below have registry-backed removal windows.
|
||||
|
||||
@@ -619,10 +619,10 @@ For an end-to-end authoring guide, see
|
||||
|
||||
### Exclusive slots
|
||||
|
||||
| Method | What it registers |
|
||||
| ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `api.registerContextEngine(id, factory)` | Context engine (one active at a time). Declare accepted host-added lifecycle fields with `info.acceptedHostParams`; undeclared engines receive the legacy field set through 2026-08-12, then receive all current host fields. |
|
||||
| `api.registerMemoryCapability(capability)` | Unified memory capability |
|
||||
| Method | What it registers |
|
||||
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `api.registerContextEngine(id, factory)` | Context engine (one active at a time). Use `info.acceptedHostParams` to restrict accepted host-added lifecycle fields; undeclared engines receive all current host fields. |
|
||||
| `api.registerMemoryCapability(capability)` | Unified memory capability |
|
||||
|
||||
To participate in durable admitted turns, context engines must declare
|
||||
`currentTurnFence: "before-current-turn-entry-v1"` and
|
||||
|
||||
Reference in New Issue
Block a user