mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:10:45 +00:00
docs(changelog): note cold provider setup guidance
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user