@wix/pathgrade 1.0.41 → 1.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,5 +10,6 @@
10
10
  export interface PathgradeCliOptions {
11
11
  name?: string;
12
12
  version?: string;
13
+ blockedEnvironmentKeys?: readonly string[];
13
14
  }
14
15
  export declare function runPathgradeCli(options?: PathgradeCliOptions): Promise<void>;
package/dist/pathgrade.js CHANGED
@@ -182,6 +182,8 @@ export async function runPathgradeCli(options = {}) {
182
182
  if (command === 'run' || !command || command.startsWith('-')) {
183
183
  // pathgrade run [--changed [--since=…|--changed-files=…]] [--] [runner-args]
184
184
  loadDotenv();
185
+ for (const key of options.blockedEnvironmentKeys ?? [])
186
+ delete process.env[key];
185
187
  validateApiKeys();
186
188
  const parsed = parsePathgradeRunArgs(command === 'run' ? args.slice(1) : args);
187
189
  for (const warning of parsed.warnings ?? []) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/pathgrade",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "packageManager": "yarn@4.12.0",
5
5
  "description": "Evaluate whether AI agents discover and use your skills correctly",
6
6
  "exports": {
@@ -142,5 +142,5 @@
142
142
  "typescript": "^5.9.3",
143
143
  "zod": "4.3.6"
144
144
  },
145
- "falconPackageHash": "822c8c34dcca760d0a38f3aac08901b0b047cf1f45d18b410ec3df37"
145
+ "falconPackageHash": "9b508a508d9397bfc0a4ac6acd286c9019230468e7fad14edcb26c2c"
146
146
  }