Repository navigation
feat(plugins): externalize Novita provider - #117007
Conversation
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
2e643bf to
89e5f89
Compare
|
Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 3:28 PM ET / 19:28 UTC. ClawSweeper reviewWhat this changesThis PR turns the bundled NovitaAI provider into the official Merge readinessKeep this PR open for maintainer review. Current Priority: P2 Review scores
Verification
How this fits togetherOpenClaw uses the official external-plugin catalog during setup and update repair, then discovers installed provider plugins when the Gateway starts. This change moves Novita from the core distribution to an independently released plugin while relying on the generic persisted bundled-install bridge to preserve enabled existing installations. flowchart LR
A[Existing Novita configuration] --> B[Persisted bundled plugin record]
C[New provider setup] --> D[Official external catalog]
B --> E[Update repair]
D --> F[External Novita package]
E --> F
F --> G[Gateway plugin discovery]
G --> H[Novita authentication and models]
Before merge
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +25, Docs +23, Config +21, Other +50. Total +119 across 14 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase or refresh against current Do we have a high-confidence way to reproduce the issue? Not applicable: this is a distribution and upgrade migration rather than a report of broken current behavior. The relevant high-confidence validation is a clean external install and a persisted bundled-to-external repair run against the merge result. Is this the best way to solve the issue? Yes. The patch uses the current generic persisted-location bridge rather than adding Novita-specific core policy, and its package metadata follows the already-merged external Mistral provider pattern. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f4f990a91bce. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
ClawSweeper disposition for exact head
The requested release-like proof passed on Blacksmith Testbox
The optional rank-up proof is therefore complete. After merge, I will run the selected no-publish Plugin NPM preflight for only |
|
Merged via squash.
|
* origin/main: (22 commits) fix(cron): preserve lazy ownership and bounded notification lifetimes (#117018) fix: live updater no-op restarts healthy gateways (#117038) fix(bedrock): release streaming clients (#117039) fix(google): restore canonical Gemini and Vertex provider invariants (#117042) fix(channels): preserve accepted LINE and Mattermost delivery (#117024) fix(feishu): unify truthful delivery and media ownership (#117023) fix(ui): isolate gateway observer lifecycles (#117017) fix(tui): keep reset transitions isolated from stale input (#116873) fix(gateway): centralize streamed media descriptor ownership (#117000) feat(plugins): externalize OpenCode provider (#117035) fix(onboarding): restore skill dependency consent (#116644) fix(streaming): preserve incomplete bracket tails in final replies (#116983) fix: allow slower gateway readiness after updates (#117032) fix(plugin-state): avoid shared SQLite corruption when CLI starts during gateway runtime (#113204) fix(cli): keep config file output raw under JSON logging (#116968) fix(ai): malformed Anthropic stream frames expose raw event payloads (#116938) fix(qa): authenticate actual scenario execution evidence (#117004) feat(plugins): externalize NovitaAI provider (#117007) fix(text): preserve fenced tool markers in visible-text sanitizer (#116939) (#116971) fix(channels): reset metadata memos with plugin lifecycle (#117005) ...
What Problem This Solves
NovitaAI currently ships inside the core OpenClaw distribution, so operators cannot install or update the provider independently and every core package carries its runtime surface.
Why This Change Was Made
Externalizes NovitaAI as the official
@openclaw/novita-providerplugin. The official catalog now owns its aliases, credentials, endpoint, install metadata, and npm/ClawHub publication contract; the core artifact explicitly excludes the plugin.The upgrade contract preserves existing enabled bundled installs through the generic persisted-location bridge. During update repair,
novitaresolves to the external npm/ClawHub package before restart. This branch is based on the generic doctor/update ordering correction that landed with the Mistral externalization in #116919 (8b93fd963c9c289b0934e1ce47253773caff3499), so it reuses that owner-neutral ordering rather than adding Novita-specific core policy.User Impact
New users install
@openclaw/novita-provider, configureNOVITA_API_KEY, and restart OpenClaw. Existing users with the formerly bundled Novita provider keep its enabled-by-default state and are repaired to the official external package during upgrade.Evidence
89e5f8969139e948c909d1b9fd851c77bfd4273doxfmt, andgit diff --checkpassednovitarecord, run update repair, confirm replacement with@openclaw/novita-provider, then restart and confirm discoveryAI-assisted: yes; the changes and generated surfaces were reviewed and understood.