docs(changelog): note cold provider setup guidance

This commit is contained in:
Vincent Koc
2026-04-25 23:08:43 -07:00
parent 585784643e
commit 1f267de142
2 changed files with 3 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ Docs: https://docs.openclaw.ai
- CLI/models: speed up `models list --all --provider <id>` for static manifest-backed providers by loading catalog rows through the installed plugin index instead of broad manifest scans or runtime suppression hooks. Thanks @shakkernerd.
- CLI/models: use OpenClaw Provider Index preview rows as the final cold fallback for installable providers, while keeping user config, installed manifests, and refreshed cache rows above provider-index metadata. Thanks @vincentkoc.
- Providers/plugins: keep onboarding and auth-choice setup lists on cold manifest/install metadata and add Provider Index install metadata for not-yet-installed provider plugins. Thanks @vincentkoc.
- Providers/plugins: keep provider setup guidance and configure auth imports on cold manifest metadata, with a regression guard against static provider-runtime imports on setup/configure list paths. Thanks @vincentkoc.
- Plugins/chat commands: refresh the persisted plugin registry after `/plugins enable` and `/plugins disable`, matching the CLI mutation path. Thanks @vincentkoc.
- Plugins/compat: mark `OPENCLAW_DISABLE_PERSISTED_PLUGIN_REGISTRY` as a deprecated break-glass switch and point operators at registry repair instead. Thanks @vincentkoc.
- Plugins/registry: ignore stale persisted registry reads when plugin policy no longer matches current config, and stamp generated registry files with a do-not-edit warning. Thanks @vincentkoc.

View File

@@ -26,8 +26,9 @@ describe("provider setup cold imports", () => {
for (const file of coldProviderSetupFiles) {
const source = fs.readFileSync(path.join(repoRoot, file), "utf8");
for (const importPath of forbiddenRuntimeImports) {
const escapedImportPath = importPath.replaceAll(".", "\\.");
const staticImportPattern = new RegExp(
`\\bfrom\\s+["'][^"']*${importPath.replaceAll(".", "\\.")}["']`,
`(?:\\bfrom\\s+["'][^"']*${escapedImportPath}["']|\\bimport\\s+["'][^"']*${escapedImportPath}["'])`,
);
expect(source, `${file} must not statically import ${importPath}`).not.toMatch(
staticImportPattern,