@walkhi/code-relax 0.1.0-beta.65 → 0.1.0-beta.66

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.
@@ -1 +1 @@
1
- {"layout":"npm-platform-packages","version":"0.1.0-beta.65"}
1
+ {"layout":"npm-platform-packages","version":"0.1.0-beta.66"}
@@ -100,10 +100,6 @@ export async function resolveCodexRuntime(stateRoot, { refresh = false, environm
100
100
  const candidates = [], rejected = [];
101
101
  for (const candidate of discoverCodex({ ...environment, CODEX_HOME: codexHome, CODE_RELAX_CODEX_PATH: explicit })) {
102
102
  try {
103
- if (candidate.source === 'desktop') {
104
- const bundle = path.resolve(packageRoot(candidate.executable), '../../..');
105
- await exec('/usr/bin/codesign', ['--verify', '--deep', '--strict', '-R=identifier \"com.openai.codex\" and anchor apple generic and certificate leaf[subject.OU] = \"2DC432GLL2\"', bundle], { timeout: 30000 });
106
- }
107
103
  if (!runtimeFilesAvailable(candidate.executable)) throw new Error('缺少配套原生 codex-code-mode-host');
108
104
  const { stdout } = await exec(candidate.executable, ['--version'], { timeout: 10000, env: { ...environment, CODEX_HOME: codexHome } });
109
105
  const version = /^codex-cli (\d+\.\d+\.\d+(?:-[\w.]+)?)/m.exec(stdout)?.[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walkhi/code-relax",
3
- "version": "0.1.0-beta.65",
3
+ "version": "0.1.0-beta.66",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -41,8 +41,8 @@
41
41
  "tag": "beta"
42
42
  },
43
43
  "optionalDependencies": {
44
- "@walkhi/code-relax-native-win32-x64": "0.1.0-beta.65",
45
- "@walkhi/code-relax-native-darwin-arm64": "0.1.0-beta.65",
46
- "@walkhi/code-relax-native-darwin-x64": "0.1.0-beta.65"
44
+ "@walkhi/code-relax-native-win32-x64": "0.1.0-beta.66",
45
+ "@walkhi/code-relax-native-darwin-arm64": "0.1.0-beta.66",
46
+ "@walkhi/code-relax-native-darwin-x64": "0.1.0-beta.66"
47
47
  }
48
48
  }