ohmyjev 0.9.1 → 0.9.2

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.
Files changed (2) hide show
  1. package/hooks/policy.ts +2 -1
  2. package/package.json +1 -1
package/hooks/policy.ts CHANGED
@@ -758,7 +758,8 @@ export function browseCommand(
758
758
  ? { TEXT_MODEL_API_KEY: env.OPENROUTER_API_KEY, TEXT_MODEL_BASE_URL: 'https://openrouter.ai/api/v1', TEXT_MODEL: 'inception/mercury-2.5', TEXT_MODEL_REASONING: 'none' }
759
759
  : {}
760
760
  return {
761
- argv: ['uv', 'run', '--no-project', '--quiet', '--with', JEV_ULTRAFAST, 'python', '-c', BROWSE_PY, url, goal],
761
+ // uv's own Python: a PATH python can be the wrong architecture or version (an Intel python3.13 on Apple silicon)
762
+ argv: ['uv', 'run', '--no-project', '--quiet', '--python-preference', 'only-managed', '--python', '3.12', '--with', JEV_ULTRAFAST, 'python', '-c', BROWSE_PY, url, goal],
762
763
  env: { TYPESAFE_API_KEY: typesafe, ...text, ...(Array.isArray(input.values) ? { OMJ_BROWSE_VALUES: JSON.stringify(input.values.filter(v => typeof v === 'string').slice(0, 20)) } : {}) },
763
764
  }
764
765
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ohmyjev",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Guardrails for coding agents, decided by TypeSafe's Jev: blocks destructive commands, catches prompt injection, pushes back on an unverified done and routes effort per turn. For Claude Code, pi and omp.",
5
5
  "type": "module",
6
6
  "license": "MIT",