@karlorz/codexhost-cli-win32-x64 0.14.0-2 → 0.14.0-3

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.
package/README.md CHANGED
@@ -7,7 +7,7 @@ Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.
7
7
  ## Install
8
8
 
9
9
  ```bash
10
- npm install -g @karlorz/codexhost-cli@0.14.0-2
10
+ npm install -g @karlorz/codexhost-cli@0.14.0-3
11
11
  ```
12
12
 
13
13
  Do not install this package directly. npm selects it through the optional dependencies of `@karlorz/codexhost-cli`.
@@ -1 +1 @@
1
- {"schemaVersion":1,"version":"0.14.0-2","distribution":"npm","target":"windows-x64"}
1
+ {"schemaVersion":1,"version":"0.14.0-3","distribution":"npm","target":"windows-x64"}
@@ -16137,6 +16137,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16137
16137
  enabled: true,
16138
16138
  auditedDesktopVersion: value.auditedDesktopVersion,
16139
16139
  auditedAppInitialAsset: value.auditedAppInitialAsset,
16140
+ ...typeof value.desktopPlatform === "string" ? { desktopPlatform: value.desktopPlatform } : {},
16140
16141
  ...typeof value.desktopVersion === "string" ? { desktopVersion: value.desktopVersion } : {}
16141
16142
  };
16142
16143
  }
@@ -16263,21 +16264,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16263
16264
  function supportsVoiceVersion(profiles, version2) {
16264
16265
  return version2 === void 0 || profiles.some((profile) => profile.version === version2);
16265
16266
  }
16266
- function selectVoiceAssets(profiles, names, version2) {
16267
+ function selectVoiceAssets(profiles, names, version2, platform) {
16267
16268
  const present = profiles.filter(
16268
- (profile2) => [profile2.initial, profile2.shared].some((asset) => auditedAppInitialAssetPresent(names, asset))
16269
+ (profile) => [profile.initial, profile.shared].some((asset) => auditedAppInitialAssetPresent(names, asset))
16269
16270
  );
16270
- if (version2 !== void 0) {
16271
- const profile2 = profiles.find((entry) => entry.version === version2);
16272
- if (!profile2) return void 0;
16273
- if (present.some((entry) => entry.version !== version2)) return void 0;
16274
- const complete = [profile2.initial, profile2.shared].every(
16271
+ const matchesMetadata = (profile) => (version2 === void 0 || profile.version === version2) && (platform === void 0 || profile.platform === platform);
16272
+ if (present.length > 0) {
16273
+ const profile = present.length === 1 ? present[0] : void 0;
16274
+ return profile && matchesMetadata(profile) && [profile.initial, profile.shared].every(
16275
16275
  (asset) => auditedAppInitialAssetPresent(names, asset)
16276
- );
16277
- return complete || present.length === 0 ? profile2 : void 0;
16276
+ ) ? profile : void 0;
16278
16277
  }
16279
- const profile = present.length === 1 ? present[0] : void 0;
16280
- return profile && [profile.initial, profile.shared].every((asset) => auditedAppInitialAssetPresent(names, asset)) ? profile : void 0;
16278
+ if (version2 === void 0) return void 0;
16279
+ const candidates = profiles.filter(matchesMetadata);
16280
+ return candidates.length === 1 ? candidates[0] : void 0;
16281
16281
  }
16282
16282
 
16283
16283
  // src/renderer-chat-voice-debug.ts
@@ -16307,6 +16307,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16307
16307
  var CLIENT_OWNED_VOICE_OVERLAY_ASSET = "avatar-overlay-native-page-d549db3706f1.js";
16308
16308
  var CLIENT_OWNED_VOICE_ASSETS = [
16309
16309
  {
16310
+ platform: "darwin",
16310
16311
  version: CLIENT_OWNED_VOICE_VERSION,
16311
16312
  initial: CLIENT_OWNED_VOICE_INITIAL_ASSET,
16312
16313
  shared: CLIENT_OWNED_VOICE_SHARED_ASSET,
@@ -16320,6 +16321,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16320
16321
  inferenceGateFamily: "Cnr"
16321
16322
  },
16322
16323
  {
16324
+ platform: "win32",
16325
+ version: CLIENT_OWNED_VOICE_VERSION,
16326
+ initial: "app-initial-438d1df57f70.js",
16327
+ shared: "app-shared-955d52676f9c.js",
16328
+ overlay: "avatar-overlay-native-page-1549fe5955e1.js",
16329
+ fetch: "Htr",
16330
+ fetchFrom: "initial",
16331
+ bridge: "bIt",
16332
+ services: "Qot",
16333
+ capabilityInit: "l0n",
16334
+ capabilityFamily: "c0n",
16335
+ inferenceGateFamily: "Cnr"
16336
+ },
16337
+ {
16338
+ platform: "darwin",
16323
16339
  version: "26.1016.62342",
16324
16340
  initial: "app-initial-dddef47d6ef6.js",
16325
16341
  shared: "app-shared-fc3316d48427.js",
@@ -16334,6 +16350,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16334
16350
  inferenceGateFamily: "uBr"
16335
16351
  },
16336
16352
  {
16353
+ platform: "darwin",
16337
16354
  version: "26.1016.61520",
16338
16355
  initial: "app-initial-c95ddb62696e.js",
16339
16356
  shared: "app-shared-2eda13eb7044.js",
@@ -16574,7 +16591,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16574
16591
  const attempt = async () => {
16575
16592
  if (disposed) return;
16576
16593
  const names = loadedAssetNames(target.document, target.performance);
16577
- const assets = selectVoiceAssets(CLIENT_OWNED_VOICE_ASSETS, names, config2.desktopVersion);
16594
+ const assets = selectVoiceAssets(
16595
+ CLIENT_OWNED_VOICE_ASSETS,
16596
+ names,
16597
+ config2.desktopVersion,
16598
+ config2.desktopPlatform
16599
+ );
16578
16600
  if (assets) {
16579
16601
  try {
16580
16602
  const sharedModule = await importModule(`app://-/assets/${assets.shared}`);
@@ -17402,26 +17424,35 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17402
17424
  for (const restore of restores.reverse()) restore();
17403
17425
  throw error51;
17404
17426
  }
17427
+ const alignedSnapshot = ({ subscriber, instance }) => {
17428
+ try {
17429
+ const snapshot = subscriber.getSnapshot();
17430
+ const instanceSnapshot = instance.getSnapshot();
17431
+ if (!capable(snapshot) || !capable(instanceSnapshot) || !equal(snapshot, instanceSnapshot))
17432
+ return void 0;
17433
+ return snapshot;
17434
+ } catch {
17435
+ return void 0;
17436
+ }
17437
+ };
17405
17438
  return {
17406
17439
  dispose() {
17407
17440
  for (const restore of restores.splice(0).reverse()) restore();
17408
17441
  },
17409
17442
  current() {
17410
17443
  const current = [...currentFibers()].flatMap(hooks);
17411
- return bindings.every(({ subscriber, signal, instance }) => {
17412
- try {
17413
- const snapshot = subscriber.getSnapshot();
17414
- const instanceSnapshot = instance.getSnapshot();
17415
- if (!capable(snapshot) || !capable(instanceSnapshot) || !equal(snapshot, instanceSnapshot))
17416
- return false;
17417
- return current.some((hook) => {
17418
- const committed = hook.next?.memoizedState;
17419
- return Array.isArray(hook.memoizedState) && hook.memoizedState[0] === subscriber && hook.memoizedState[1]?.[0] === signal && hook.next?.queue === instance && capable(committed) && equal(committed, snapshot) && (!realtimeOnly || snapshot.isCapable);
17420
- });
17421
- } catch {
17422
- return false;
17423
- }
17444
+ return bindings.every((binding) => {
17445
+ const snapshot = alignedSnapshot(binding);
17446
+ if (!snapshot) return false;
17447
+ const { subscriber, signal, instance } = binding;
17448
+ return current.some((hook) => {
17449
+ const committed = hook.next?.memoizedState;
17450
+ return Array.isArray(hook.memoizedState) && hook.memoizedState[0] === subscriber && hook.memoizedState[1]?.[0] === signal && hook.next?.queue === instance && capable(committed) && equal(committed, snapshot) && (!realtimeOnly || snapshot.isCapable);
17451
+ });
17424
17452
  });
17453
+ },
17454
+ projectedCapable() {
17455
+ return bindings.length > 0 && bindings.every((binding) => alignedSnapshot(binding)?.isCapable === true);
17425
17456
  }
17426
17457
  };
17427
17458
  }
@@ -17515,7 +17546,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17515
17546
  if (disposed) return;
17516
17547
  try {
17517
17548
  const names = loadedAssetNames(target.document, target.performance);
17518
- const assets = selectVoiceAssets(CLIENT_OWNED_VOICE_ASSETS, names, config2.desktopVersion);
17549
+ const assets = selectVoiceAssets(
17550
+ CLIENT_OWNED_VOICE_ASSETS,
17551
+ names,
17552
+ config2.desktopVersion,
17553
+ config2.desktopPlatform
17554
+ );
17519
17555
  if (assets) {
17520
17556
  const shared = await importModule(`app://-/assets/${assets.shared}`);
17521
17557
  const init = "init" in assets ? assets.init : void 0;
@@ -17555,7 +17591,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17555
17591
  if (selectVoiceAssets(
17556
17592
  CLIENT_OWNED_VOICE_ASSETS,
17557
17593
  names2,
17558
- config2.desktopVersion
17594
+ config2.desktopVersion,
17595
+ config2.desktopPlatform
17559
17596
  ) !== assets)
17560
17597
  throw new Error("Unaudited voice starter");
17561
17598
  const [initial, overlay] = await Promise.all([
@@ -16708,6 +16708,7 @@ function cpaLiveVoiceHookBootstrap(environment = process.env, desktopVersion) {
16708
16708
  const version2 = environment[DESKTOP_VERSION_ENV]?.trim() || desktopVersion || detectInstalledDesktopVersion(environment);
16709
16709
  return `globalThis.${CPA_LIVE_VOICE_HOOK_GLOBAL} = Object.freeze(${JSON.stringify({
16710
16710
  enabled: true,
16711
+ desktopPlatform: process.platform,
16711
16712
  auditedDesktopVersion: AUDITED_CPA_LIVE_VOICE_DESKTOP_VERSION,
16712
16713
  auditedAppInitialAsset: AUDITED_CPA_LIVE_VOICE_APP_INITIAL_ASSET,
16713
16714
  ...version2 ? { desktopVersion: version2 } : {}
@@ -16288,6 +16288,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16288
16288
  enabled: true,
16289
16289
  auditedDesktopVersion: value.auditedDesktopVersion,
16290
16290
  auditedAppInitialAsset: value.auditedAppInitialAsset,
16291
+ ...typeof value.desktopPlatform === "string" ? { desktopPlatform: value.desktopPlatform } : {},
16291
16292
  ...typeof value.desktopVersion === "string" ? { desktopVersion: value.desktopVersion } : {}
16292
16293
  };
16293
16294
  }
@@ -16414,21 +16415,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16414
16415
  function supportsVoiceVersion(profiles, version2) {
16415
16416
  return version2 === void 0 || profiles.some((profile) => profile.version === version2);
16416
16417
  }
16417
- function selectVoiceAssets(profiles, names, version2) {
16418
+ function selectVoiceAssets(profiles, names, version2, platform) {
16418
16419
  const present = profiles.filter(
16419
- (profile2) => [profile2.initial, profile2.shared].some((asset) => auditedAppInitialAssetPresent(names, asset))
16420
+ (profile) => [profile.initial, profile.shared].some((asset) => auditedAppInitialAssetPresent(names, asset))
16420
16421
  );
16421
- if (version2 !== void 0) {
16422
- const profile2 = profiles.find((entry) => entry.version === version2);
16423
- if (!profile2) return void 0;
16424
- if (present.some((entry) => entry.version !== version2)) return void 0;
16425
- const complete = [profile2.initial, profile2.shared].every(
16422
+ const matchesMetadata = (profile) => (version2 === void 0 || profile.version === version2) && (platform === void 0 || profile.platform === platform);
16423
+ if (present.length > 0) {
16424
+ const profile = present.length === 1 ? present[0] : void 0;
16425
+ return profile && matchesMetadata(profile) && [profile.initial, profile.shared].every(
16426
16426
  (asset) => auditedAppInitialAssetPresent(names, asset)
16427
- );
16428
- return complete || present.length === 0 ? profile2 : void 0;
16427
+ ) ? profile : void 0;
16429
16428
  }
16430
- const profile = present.length === 1 ? present[0] : void 0;
16431
- return profile && [profile.initial, profile.shared].every((asset) => auditedAppInitialAssetPresent(names, asset)) ? profile : void 0;
16429
+ if (version2 === void 0) return void 0;
16430
+ const candidates = profiles.filter(matchesMetadata);
16431
+ return candidates.length === 1 ? candidates[0] : void 0;
16432
16432
  }
16433
16433
 
16434
16434
  // src/renderer-native-chat-voice-assets.ts
@@ -16437,6 +16437,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16437
16437
  var START_ASSET = "entity-business-profile-reference-b68063dfc05d.js";
16438
16438
  var NATIVE_CHAT_VOICE_ASSETS = [
16439
16439
  {
16440
+ platform: "darwin",
16440
16441
  version: NATIVE_CHAT_VOICE_VERSION,
16441
16442
  initial: NATIVE_CHAT_INITIAL_ASSET,
16442
16443
  shared: "app-shared-2cae01273bae.js",
@@ -16446,6 +16447,17 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16446
16447
  settings: "voice-settings-14000f5c9fc2.js"
16447
16448
  },
16448
16449
  {
16450
+ platform: "win32",
16451
+ version: NATIVE_CHAT_VOICE_VERSION,
16452
+ initial: "app-initial-438d1df57f70.js",
16453
+ shared: "app-shared-955d52676f9c.js",
16454
+ primary: "app-primary-844e405f2b90.js",
16455
+ start: "entity-business-profile-reference-241c52d811f4.js",
16456
+ prewarm: "voice-prewarm-8b47c50a17ae.js",
16457
+ settings: "voice-settings-b1c1633136a5.js"
16458
+ },
16459
+ {
16460
+ platform: "darwin",
16449
16461
  version: "26.1016.62342",
16450
16462
  initial: "app-initial-dddef47d6ef6.js",
16451
16463
  shared: "app-shared-fc3316d48427.js",
@@ -16453,6 +16465,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16453
16465
  prewarm: "voice-prewarm-5d107129ac1c.js"
16454
16466
  },
16455
16467
  {
16468
+ platform: "darwin",
16456
16469
  version: "26.1016.61520",
16457
16470
  initial: "app-initial-c95ddb62696e.js",
16458
16471
  shared: "app-shared-2eda13eb7044.js",
@@ -16933,7 +16946,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
16933
16946
  if (renderFailed) throw new Error();
16934
16947
  if (!modules) {
16935
16948
  const names = loadedAssetNames(doc, target.performance);
16936
- const assets = selectVoiceAssets(NATIVE_CHAT_VOICE_ASSETS, names, config2.desktopVersion);
16949
+ const assets = selectVoiceAssets(
16950
+ NATIVE_CHAT_VOICE_ASSETS,
16951
+ names,
16952
+ config2.desktopVersion,
16953
+ config2.desktopPlatform
16954
+ );
16937
16955
  if (!assets) {
16938
16956
  if (Date.now() - started >= 6e4) {
16939
16957
  handle.status = "unsupported";
@@ -17419,6 +17437,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17419
17437
  var CLIENT_OWNED_VOICE_OVERLAY_ASSET = "avatar-overlay-native-page-d549db3706f1.js";
17420
17438
  var CLIENT_OWNED_VOICE_ASSETS = [
17421
17439
  {
17440
+ platform: "darwin",
17422
17441
  version: CLIENT_OWNED_VOICE_VERSION,
17423
17442
  initial: CLIENT_OWNED_VOICE_INITIAL_ASSET,
17424
17443
  shared: CLIENT_OWNED_VOICE_SHARED_ASSET,
@@ -17432,6 +17451,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17432
17451
  inferenceGateFamily: "Cnr"
17433
17452
  },
17434
17453
  {
17454
+ platform: "win32",
17455
+ version: CLIENT_OWNED_VOICE_VERSION,
17456
+ initial: "app-initial-438d1df57f70.js",
17457
+ shared: "app-shared-955d52676f9c.js",
17458
+ overlay: "avatar-overlay-native-page-1549fe5955e1.js",
17459
+ fetch: "Htr",
17460
+ fetchFrom: "initial",
17461
+ bridge: "bIt",
17462
+ services: "Qot",
17463
+ capabilityInit: "l0n",
17464
+ capabilityFamily: "c0n",
17465
+ inferenceGateFamily: "Cnr"
17466
+ },
17467
+ {
17468
+ platform: "darwin",
17435
17469
  version: "26.1016.62342",
17436
17470
  initial: "app-initial-dddef47d6ef6.js",
17437
17471
  shared: "app-shared-fc3316d48427.js",
@@ -17446,6 +17480,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17446
17480
  inferenceGateFamily: "uBr"
17447
17481
  },
17448
17482
  {
17483
+ platform: "darwin",
17449
17484
  version: "26.1016.61520",
17450
17485
  initial: "app-initial-c95ddb62696e.js",
17451
17486
  shared: "app-shared-2eda13eb7044.js",
@@ -17686,7 +17721,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
17686
17721
  const attempt = async () => {
17687
17722
  if (disposed) return;
17688
17723
  const names = loadedAssetNames(target.document, target.performance);
17689
- const assets = selectVoiceAssets(CLIENT_OWNED_VOICE_ASSETS, names, config2.desktopVersion);
17724
+ const assets = selectVoiceAssets(
17725
+ CLIENT_OWNED_VOICE_ASSETS,
17726
+ names,
17727
+ config2.desktopVersion,
17728
+ config2.desktopPlatform
17729
+ );
17690
17730
  if (assets) {
17691
17731
  try {
17692
17732
  const sharedModule = await importModule(`app://-/assets/${assets.shared}`);
@@ -44669,6 +44709,7 @@ ${usage_default}`;
44669
44709
  var LAUNCH_ASSETS = [
44670
44710
  ...CLIENT_OWNED_VOICE_ASSETS,
44671
44711
  {
44712
+ platform: "darwin",
44672
44713
  version: AUDITED_CPA_LIVE_VOICE_DESKTOP_VERSION,
44673
44714
  initial: AUDITED_CPA_LIVE_VOICE_APP_INITIAL_ASSET,
44674
44715
  shared: SHARED_ASSET,
@@ -44736,7 +44777,12 @@ ${usage_default}`;
44736
44777
  if (disposed) return;
44737
44778
  try {
44738
44779
  const names = loadedAssetNames(target.document, target.performance);
44739
- const assets = selectVoiceAssets(LAUNCH_ASSETS, names, config2.desktopVersion);
44780
+ const assets = selectVoiceAssets(
44781
+ LAUNCH_ASSETS,
44782
+ names,
44783
+ config2.desktopVersion,
44784
+ config2.desktopPlatform
44785
+ );
44740
44786
  if (assets) {
44741
44787
  module ??= await importModule(`app://-/assets/${assets.shared}`);
44742
44788
  if (disposed) return;
@@ -44975,26 +45021,35 @@ ${usage_default}`;
44975
45021
  for (const restore of restores.reverse()) restore();
44976
45022
  throw error51;
44977
45023
  }
45024
+ const alignedSnapshot = ({ subscriber, instance }) => {
45025
+ try {
45026
+ const snapshot = subscriber.getSnapshot();
45027
+ const instanceSnapshot = instance.getSnapshot();
45028
+ if (!capable(snapshot) || !capable(instanceSnapshot) || !equal(snapshot, instanceSnapshot))
45029
+ return void 0;
45030
+ return snapshot;
45031
+ } catch {
45032
+ return void 0;
45033
+ }
45034
+ };
44978
45035
  return {
44979
45036
  dispose() {
44980
45037
  for (const restore of restores.splice(0).reverse()) restore();
44981
45038
  },
44982
45039
  current() {
44983
45040
  const current = [...currentFibers()].flatMap(hooks);
44984
- return bindings.every(({ subscriber, signal, instance }) => {
44985
- try {
44986
- const snapshot = subscriber.getSnapshot();
44987
- const instanceSnapshot = instance.getSnapshot();
44988
- if (!capable(snapshot) || !capable(instanceSnapshot) || !equal(snapshot, instanceSnapshot))
44989
- return false;
44990
- return current.some((hook) => {
44991
- const committed = hook.next?.memoizedState;
44992
- return Array.isArray(hook.memoizedState) && hook.memoizedState[0] === subscriber && hook.memoizedState[1]?.[0] === signal && hook.next?.queue === instance && capable(committed) && equal(committed, snapshot) && (!realtimeOnly || snapshot.isCapable);
44993
- });
44994
- } catch {
44995
- return false;
44996
- }
45041
+ return bindings.every((binding) => {
45042
+ const snapshot = alignedSnapshot(binding);
45043
+ if (!snapshot) return false;
45044
+ const { subscriber, signal, instance } = binding;
45045
+ return current.some((hook) => {
45046
+ const committed = hook.next?.memoizedState;
45047
+ return Array.isArray(hook.memoizedState) && hook.memoizedState[0] === subscriber && hook.memoizedState[1]?.[0] === signal && hook.next?.queue === instance && capable(committed) && equal(committed, snapshot) && (!realtimeOnly || snapshot.isCapable);
45048
+ });
44997
45049
  });
45050
+ },
45051
+ projectedCapable() {
45052
+ return bindings.length > 0 && bindings.every((binding) => alignedSnapshot(binding)?.isCapable === true);
44998
45053
  }
44999
45054
  };
45000
45055
  }
@@ -45047,7 +45102,12 @@ ${usage_default}`;
45047
45102
  if (disposed) return;
45048
45103
  try {
45049
45104
  const names = loadedAssetNames(target.document, target.performance);
45050
- const assets = selectVoiceAssets(CLIENT_OWNED_VOICE_ASSETS, names, config2.desktopVersion);
45105
+ const assets = selectVoiceAssets(
45106
+ CLIENT_OWNED_VOICE_ASSETS,
45107
+ names,
45108
+ config2.desktopVersion,
45109
+ config2.desktopPlatform
45110
+ );
45051
45111
  if (!assets) {
45052
45112
  handle.status = "unsupported";
45053
45113
  } else if (!allowed()) handle.status = "pending";
@@ -45064,7 +45124,7 @@ ${usage_default}`;
45064
45124
  (element) => element.getBoundingClientRect().width > 0 && !element.closest("[hidden], [inert]")
45065
45125
  );
45066
45126
  if (composers.length !== 1) throw new Error("Voice composer unavailable");
45067
- if (composers[0] !== composer || !binding?.current()) {
45127
+ if (composers[0] !== composer || !binding || !binding.current() && binding.projectedCapable()) {
45068
45128
  binding?.dispose();
45069
45129
  binding = void 0;
45070
45130
  composer = composers[0];
@@ -45077,12 +45137,12 @@ ${usage_default}`;
45077
45137
  chatGateway()
45078
45138
  );
45079
45139
  }
45080
- handle.status = "active";
45140
+ handle.status = binding.projectedCapable() ? "active" : "native-ineligible";
45081
45141
  }
45082
45142
  } catch {
45083
45143
  handle.status = "unsupported";
45084
45144
  }
45085
- if (handle.status !== "active") {
45145
+ if (handle.status !== "active" && handle.status !== "native-ineligible") {
45086
45146
  binding?.dispose();
45087
45147
  binding = void 0;
45088
45148
  composer = void 0;
@@ -45558,7 +45618,8 @@ ${usage_default}`;
45558
45618
  const assets = selectVoiceAssets(
45559
45619
  NATIVE_CHAT_VOICE_ASSETS,
45560
45620
  loadedAssetNames(target.document, target.performance),
45561
- config2.desktopVersion
45621
+ config2.desktopVersion,
45622
+ config2.desktopPlatform
45562
45623
  );
45563
45624
  if (!assets?.settings) return;
45564
45625
  const load = options.importModule ?? ((url2) => import(url2));
package/bin/codexhost.exe CHANGED
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karlorz/codexhost-cli-win32-x64",
3
- "version": "0.14.0-2",
3
+ "version": "0.14.0-3",
4
4
  "description": "Run Pi and Claude Code as first-class external harnesses inside Codex Desktop.",
5
5
  "type": "module",
6
6
  "files": [