mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:00:44 +00:00
Add Codex happy path prompt snapshots (#75807)
* Add Codex prompt snapshots * Fix prompt snapshot scenario catalogs * Harden prompt snapshot drift check * Fix CLI compat build export * fix: keep codex snapshots out of core plugin surface * fix: harden prompt snapshot ci checks * fix: accept readonly web search onboarding scopes * fix: repair plugin sdk package boundary types * fix: clear prompt snapshot ci regressions * fix: clear latest main ci checks * fix: resolve latest main discord helper overlap * fix: refresh codex dynamic tool snapshots * fix: align prompt snapshot branch with latest ci * fix: isolate plugin auto enable tests * test: refresh prompt dynamic tool snapshots * fix: stabilize bundled channel auto enable * fix: clean stale prompt snapshots
This commit is contained in:
@@ -15,6 +15,7 @@ import type { PluginBundleFormat, PluginDiagnostic, PluginFormat } from "./manif
|
||||
import {
|
||||
DEFAULT_PLUGIN_ENTRY_CANDIDATES,
|
||||
getPackageManifestMetadata,
|
||||
isPackageIncludedInCoreBundle,
|
||||
loadPluginManifest,
|
||||
type PluginManifest,
|
||||
resolvePackageExtensionEntries,
|
||||
@@ -626,6 +627,10 @@ function discoverInDirectory(params: {
|
||||
const rejectHardlinks = params.origin !== "bundled";
|
||||
const fullPathRealPath = safeRealpathSync(fullPath, params.realpathCache) ?? undefined;
|
||||
const manifest = readPackageManifest(fullPath, rejectHardlinks, fullPathRealPath);
|
||||
const packageManifest = getPackageManifestMetadata(manifest ?? undefined);
|
||||
if (params.origin === "bundled" && !isPackageIncludedInCoreBundle(packageManifest)) {
|
||||
continue;
|
||||
}
|
||||
const extensionResolution = resolvePackageExtensionEntries(manifest ?? undefined);
|
||||
const extensions = extensionResolution.status === "ok" ? extensionResolution.entries : [];
|
||||
const manifestId = resolveIdHintManifestId(fullPath, rejectHardlinks, fullPathRealPath);
|
||||
|
||||
Reference in New Issue
Block a user