fix(ci): update pack-artifact-policy to allow new cli-helper and opencode-provider paths

New files added via package.json files[] field in the cli-tools feature:
  - src/lib/cli-helper/ (config generators, doctor checks, log-streamer, tool-detector)
  - @omniroute/opencode-provider/ (workspace package published alongside)
  - scripts/postinstall.mjs and scripts/build/sync-env.mjs (new install scripts)
This commit is contained in:
diegosouzapw
2026-05-18 19:59:09 -03:00
parent 1c4d850441
commit 3470be891e

View File

@@ -78,15 +78,19 @@ export const PACK_ARTIFACT_ROOT_ALLOWED_EXACT_PATHS: string[] = [
"scripts/build/native-binary-compat.mjs",
"scripts/build/postinstall.mjs",
"scripts/build/postinstallSupport.mjs",
"scripts/build/sync-env.mjs",
"scripts/dev/responses-ws-proxy.mjs",
"scripts/dev/sync-env.mjs",
"scripts/postinstall.mjs",
"src/shared/utils/nodeRuntimeSupport.ts",
];
export const PACK_ARTIFACT_ROOT_ALLOWED_PATH_PREFIXES: string[] = [
"@omniroute/opencode-provider/",
"bin/cli/",
"open-sse/mcp-server/schemas/",
"open-sse/mcp-server/tools/",
"src/lib/cli-helper/",
"src/shared/contracts/",
];