feat(openclaw): add in-process managed LLM execution - #1005
Conversation
Signed-off-by: Will Killian <wkillian@nvidia.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueComment |
License DiffCompared against Lockfile license changesLockfile License ChangesRustAdded
Removed
Updated/Changed
NodeAdded
Removed
Updated/Changed
|
Overview
Replace the OpenClaw observability replay plugin with an in-process
nemo-relayprovider that wraps OpenClaw's real stream execution and maintains deterministic live Relay lineage.I confirm this contribution is my own work, or I have the right to submit it under this project's license.
I searched existing issues and open pull requests, and this does not duplicate existing work.
Details
nemo-relay/<upstream-provider>/<upstream-model-id>mappings through OpenClaw'sresolveDynamicModelandwrapStreamFnprovider APIs.nemo-relay-node, while leaving authentication and network transport with the original OpenClaw stream function.2026.9.3, use an optional>=2026.9.3 <2027peer dependency, and publish compiled JavaScript only.backendandcorrelationfields for one release as deprecated no-ops. The removed replay and capture configuration are breaking changes.Validation:
just test-openclaw— 14 source tests passed, 2 environment-gated tests skipped, 2 native live smoke tests passed, and the 20-file package payload check passed.just test-node— 414 Node tests and 26 Node plugin-example tests passed.just test-rust— 4,645 workspace tests, 10 native-plugin tests, 13 gRPC worker-plugin tests, and 20 language-binding plugin tests passed.just docsjust docs-linkcheckuv run pre-commit run --all-filesCredentialed external smoke calls for all four upstream provider families were not run because provider credentials were unavailable in the test environment.
Where should the reviewer start?
Start with
integrations/openclaw/src/provider.tsfor managed provider execution andintegrations/openclaw/src/lineage.tsfor the strict live-parenting model. Then reviewintegrations/openclaw/src/runtime-state.tsfor OpenClaw hook and plugin-host lifecycle integration.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)