diff --git a/integrations/openclaw/package.json b/integrations/openclaw/package.json index bbeb639..6c84fac 100644 --- a/integrations/openclaw/package.json +++ b/integrations/openclaw/package.json @@ -3,6 +3,11 @@ "version": "0.2.0", "description": "NeMo Flow-authored observability plugin for OpenClaw.", "type": "module", + "repository": { + "type": "git", + "url": "https://github.com/NVIDIA/NeMo-Flow", + "directory": "integrations/openclaw" + }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { diff --git a/integrations/openclaw/scripts/check-pack-payload.mjs b/integrations/openclaw/scripts/check-pack-payload.mjs index 57a8771..0132266 100644 --- a/integrations/openclaw/scripts/check-pack-payload.mjs +++ b/integrations/openclaw/scripts/check-pack-payload.mjs @@ -88,6 +88,15 @@ const packedFiles = new Set(packInfo.files.map((file) => normalizePackagePath(fi const packageJson = JSON.parse(readFileSync(path.join(packageRoot, "package.json"), "utf8")); const declaredFiles = new Set(packageJson.files ?? []); +assert( + packageJson.repository?.url === "https://github.com/NVIDIA/NeMo-Flow", + 'package repository.url must match the GitHub Actions provenance source repository', +); +assert( + packageJson.repository?.directory === "integrations/openclaw", + "package repository.directory must identify the OpenClaw workspace", +); + for (const entry of declaredFiles) { assert( !(entry.startsWith("src/") && entry.includes("*")),