feat(FN-4232): complete Step 1 — add staleAgainstGlobs to plugin entries

Fusion-Task-Id: FN-4232
Fusion-Task-Lineage: 8a1c59d6-2144-4146-99e4-201e9657af92
This commit is contained in:
Fusion
2026-05-13 22:38:57 -07:00
committed by gsxdsm
parent 93923ad598
commit f81a366cdb

View File

@@ -14,6 +14,7 @@ export const REQUIRED_BUILD_PACKAGES = [
"plugins/fusion-plugin-hermes-runtime/dist/index.js",
"plugins/fusion-plugin-hermes-runtime/dist/cli-spawn.js",
],
staleAgainstGlobs: [{ sourcePath: "plugins/fusion-plugin-hermes-runtime/src" }],
},
{
name: "@fusion-plugin-examples/openclaw-runtime",
@@ -23,8 +24,13 @@ export const REQUIRED_BUILD_PACKAGES = [
"plugins/fusion-plugin-openclaw-runtime/dist/pi-module.js",
"plugins/fusion-plugin-openclaw-runtime/dist/probe.js",
],
staleAgainstGlobs: [{ sourcePath: "plugins/fusion-plugin-openclaw-runtime/src" }],
},
{
name: "@fusion-plugin-examples/paperclip-runtime",
requiredArtifacts: ["plugins/fusion-plugin-paperclip-runtime/dist/index.js"],
staleAgainstGlobs: [{ sourcePath: "plugins/fusion-plugin-paperclip-runtime/src" }],
},
{ name: "@fusion-plugin-examples/paperclip-runtime", requiredArtifacts: ["plugins/fusion-plugin-paperclip-runtime/dist/index.js"] },
];
export function detectMissingArtifacts(rootDir = process.cwd(), existsFn = existsSync) {