GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [WRONG BRANCH] release: promote 2.73.0 to main by lidge-jun · Pull Request #6266 · lidge-jun/opencodex

[WRONG BRANCH] release: promote 2.73.0 to main #6266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
lidge-jun merged 30 commits into main from codex/promote-main-2.73.0
Sep 29, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

[WRONG BRANCH] release: promote 2.73.0 to main #6266

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4bcbf53
feat(oauth): support Anthropic account pause and resume
Ingwannu Sep 28, 2026
aea8b56
fix(oauth): preserve Anthropic pause refusals after pacing
Ingwannu Sep 28, 2026
60d1d3c
fix(oauth): retain scoped cooldown refusals after pacing
Ingwannu Sep 28, 2026
33e2cab
fix(oauth): preserve mixed-state Anthropic admission errors
Ingwannu Sep 28, 2026
9320009
test(oauth): drain failed pacing setup
Ingwannu Sep 28, 2026
132770d
fix(oauth): align native Messages account admission
Ingwannu Sep 28, 2026
73289d4
chore(release): open dev at 2.73.0 before releasing 2.72.0 (#6243)
github-actions[bot] Sep 29, 2026
41cc5de
fix(oauth): recheck Anthropic pause before auxiliary sends
lidge-jun Sep 29, 2026
f966c9f
fix(cursor): redirect native tool denials through code-mode exec (#6230)
lilinxiong Sep 29, 2026
d3d076c
fix(catalog): leave routed compaction compatibility unknown (#6236)
colthreepv Sep 29, 2026
f53f0c6
docs(devlog): record the 2.72.0 TokenLab release (#6250)
lidge-jun Sep 29, 2026
cbf5faa
fix(bridge): preserve rate-limit retry advice for Codex (carry #6225)…
lidge-jun Sep 29, 2026
ea7bd16
fix(claude): end a passthrough stream on an upstream reset with an An…
sh940701 Sep 29, 2026
6da09f6
fix(chat): keep Qwen3.8 reminders valid after first turn (#6249)
lidge-jun Sep 29, 2026
e41b5fc
Merge remote-tracking branch 'origin/dev' into codex/rt6-l2e-6204
lidge-jun Sep 29, 2026
8aa3c86
docs(structure): split Anthropic account pool contract
lidge-jun Sep 29, 2026
3092b55
fix(packaging): ship keyring native addon with desktop sidecar (#6161)
Ingwannu Sep 29, 2026
0126cb4
fix(oauth): let quota probes survive an active-account switch
lidge-jun Sep 29, 2026
48470c3
fix(responses): strip internal summary:none marker on the wire (#6247)
lidge-jun Sep 29, 2026
99878c3
fix(combos): a spent pool account must not cool the whole target (car…
lidge-jun Sep 29, 2026
36a12fc
fix(quota): suppress switched Anthropic provider report
lidge-jun Sep 29, 2026
b8d0662
Merge remote-tracking branch 'origin/dev' into HEAD
lidge-jun Sep 29, 2026
be218ba
fix(service): accept standalone Windows wrappers in ownership probe (…
lidge-jun Sep 29, 2026
f2771cf
Merge pull request #6204 from lidge-jun/fix/6013-anthropic-pause
lidge-jun Sep 29, 2026
eafa6bc
feat(oauth): add per-account Anthropic usage thresholds (#6207)
Ingwannu Sep 29, 2026
dad107c
fix(responses): support canonical non-streaming delivery (#6200)
Ingwannu Sep 29, 2026
b78bfb8
fix(oauth): recover Anthropic reset cooldowns (#6203)
Ingwannu Sep 29, 2026
540af24
fix(keyring): target-platform path rules for packaged addon candidate…
lidge-jun Sep 29, 2026
cfa56e3
feat(models): GPT-6.1 Sol across providers as the Sol default, and To…
lidge-jun Sep 29, 2026
6be91b7
Merge main into 2.73.0 promotion
lidge-jun Sep 29, 2026
File filter
Filter by extension


Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
fix(packaging): ship keyring native addon with desktop sidecar (#6161)
* fix(packaging): ship keyring native addon

* fix(packaging): make keyring bundle proof load-only

* fix(packaging): resolve keyring addon from wrapper scope

* fix(keyring): prefer the standalone-owned addon

* fix(packaging): verify compiled keyring roots

* fix(ci): cover packaged keyring prerequisites

* fix(ci): keep keyring probe under file-size ratchet

* style(cli): keep private probes inside size gate

* fix(packaging): resolve symlinked keyring wrapper

Resolve the wrapper entrypoint before locating its optional native addon, so virtual-store package layouts stage the installed addon. Cover nested and symlinked layouts.

---------

Co-authored-by: Ingwannu <[email protected]>
Co-authored-by: JUN <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@Ingwannu @lidge-jun
3 people authored Sep 29, 2026
commit 3092b555788eec19bedb14734b9a5ba54fc9977f

There are no files selected for viewing

14 changes: 13 additions & 1 deletion 14 .github/workflows/ci.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ jobs:
- 'src/service/**'
- 'src/cli/index.ts'
- 'src/lib/bun-runtime.ts'
- 'src/lib/standalone.ts'
- 'src/lib/keyring-native.ts'
- 'scripts/build-standalone.ts'
- 'scripts/standalone-keyring.ts'
- 'package.json'
- 'bun.lock'
- '.github/workflows/ci.yml'
Expand All @@ -276,6 +280,7 @@ jobs:
- 'gui/**'
- 'src/**'
- 'scripts/build-standalone.ts'
- 'scripts/standalone-keyring.ts'
- 'scripts/standalone-targets.ts'
- 'package.json'
- 'bun.lock'
Expand Down Expand Up @@ -1400,10 +1405,11 @@ jobs:
run: |
set -euo pipefail
triple="$(rustc -vV | sed -n 's/^host: //p')"
mkdir -p desktop/src-tauri/binaries desktop/src-tauri/resources/gui/dist
mkdir -p desktop/src-tauri/binaries desktop/src-tauri/resources/gui/dist desktop/src-tauri/resources/keyring
: > "desktop/src-tauri/binaries/ocx-${triple}"
chmod +x "desktop/src-tauri/binaries/ocx-${triple}"
: > desktop/src-tauri/resources/gui/dist/.keep
: > desktop/src-tauri/resources/keyring/.keep

- name: Check Rust formatting
run: cargo fmt --manifest-path desktop/src-tauri/Cargo.toml --check
Expand Down Expand Up @@ -1461,6 +1467,12 @@ jobs:
cp -a "$DEB_BUNDLE/." "$BUNDLE_ROOT/deb/"
chmod -R a-w "$BUNDLE_ROOT"

- name: Verify packaged Linux sidecar keyring
if: needs.changes.outputs.desktop == 'true'
env:
BUNDLE_ROOT: ${{ runner.temp }}/opencodex-linux-bundles
run: bash desktop/scripts/verify-linux-sidecar.sh "$BUNDLE_ROOT/appimage"

- name: Run Linux packaged-shell E2E
if: needs.changes.outputs.desktop == 'true'
env:
Expand Down
33 changes: 29 additions & 4 deletions 33 .github/workflows/release.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,28 @@ jobs:
include:
- os: ubuntu-latest
target: bun-linux-x64
dependency_os: linux
dependency_cpu: x64
smoke: true
- os: macos-latest
target: bun-darwin-arm64
dependency_os: darwin
dependency_cpu: arm64
smoke: true
- os: macos-latest
target: bun-darwin-x64
dependency_os: darwin
dependency_cpu: x64
smoke: false
- os: windows-latest
target: bun-windows-x64
dependency_os: win32
dependency_cpu: x64
smoke: true
- os: ubuntu-latest
target: bun-linux-arm64
dependency_os: linux
dependency_cpu: arm64
smoke: false
runs-on: ${{ matrix.os }}
timeout-minutes: 25
Expand All @@ -153,7 +163,7 @@ jobs:
uses: ./.github/actions/setup-project-bun

- name: Install dependencies
run: bun install --frozen-lockfile
run: bun install --frozen-lockfile --os=${{ matrix.dependency_os }} --cpu=${{ matrix.dependency_cpu }}

- name: Build dashboard
run: bun run build:gui
Expand Down Expand Up @@ -200,9 +210,9 @@ jobs:
set -euo pipefail
cd "dist/standalone/$STANDALONE_TARGET"
if [[ "$RUNNER_OS" == "Windows" ]]; then
powershell -NoProfile -Command 'Compress-Archive -Path ocx.exe,gui -DestinationPath ("../../ocx-{0}-{1}.zip" -f $env:RELEASE_VERSION,$env:STANDALONE_TARGET) -Force'
powershell -NoProfile -Command 'Compress-Archive -Path ocx.exe,gui,keyring -DestinationPath ("../../ocx-{0}-{1}.zip" -f $env:RELEASE_VERSION,$env:STANDALONE_TARGET) -Force'
else
tar -czf "../../ocx-${RELEASE_VERSION}-${STANDALONE_TARGET}.tar.gz" ocx gui
tar -czf "../../ocx-${RELEASE_VERSION}-${STANDALONE_TARGET}.tar.gz" ocx gui keyring
fi
cd ../..
# The pre-publication verifier resolves every recorded checksum from
Expand Down Expand Up @@ -232,16 +242,22 @@ jobs:
include:
- os: macos-latest
target: universal-apple-darwin
dependency_os: darwin
dependency_cpu: "*"
bundles: app,dmg
sidecar-targets: macos
artifact-suffixes: macos.dmg,macos.app.tar.gz
- os: windows-latest
target: x86_64-pc-windows-msvc
dependency_os: win32
dependency_cpu: x64
bundles: msi
sidecar-targets: x86_64-pc-windows-msvc
artifact-suffixes: windows-x64.msi
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
dependency_os: linux
dependency_cpu: x64
bundles: appimage,deb
sidecar-targets: x86_64-unknown-linux-gnu
artifact-suffixes: linux-x86_64.AppImage,linux-amd64.deb
Expand Down Expand Up @@ -275,7 +291,7 @@ jobs:
run: bun scripts/release-version-sources.ts check "$RELEASE_VERSION"

- name: Install project dependencies
run: bun install --frozen-lockfile
run: bun install --frozen-lockfile --os=${{ matrix.dependency_os }} --cpu=${{ matrix.dependency_cpu }}

- name: Build dashboard
run: bun run build:gui
Expand Down Expand Up @@ -430,6 +446,15 @@ jobs:
# diagnostics on the first attempt; Apple signing commands stay non-verbose.
run: bunx tauri ${{ runner.os == 'Linux' && '--verbose' || '' }} build --ci --target ${{ matrix.target }} --bundles ${{ matrix.bundles }} --config "${{ runner.os == 'Windows' && format('{0}/opencodex-msi.json', runner.temp) || '{}' }}"

- name: Verify the packaged universal macOS runtime
if: runner.os == 'macOS'
run: |
set -euo pipefail
app=desktop/src-tauri/target/universal-apple-darwin/release/bundle/macos/OpenCodex.app
test -f "$app/Contents/Resources/keyring/keyring.darwin-arm64.node"
test -f "$app/Contents/Resources/keyring/keyring.darwin-x64.node"
bash desktop/scripts/verify-macos-runtime.sh "$app"

# Tauri patches a bundle-type marker into the application binary for each Linux format.
# Keep each format in its own Cargo target so the deb cannot inherit the AppImage marker
# and linuxdeploy cannot mutate the binary later consumed by the deb build.
Expand Down
5 changes: 4 additions & 1 deletion 5 desktop/README.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ bunx tauri dev
```

The sidecar is generated from the repository's standalone binary build and is
not checked into git.
not checked into git. That build also stages the target-matching native keyring addon
under `keyring/`; Tauri copies it as a resource because Bun cannot load a `.node` addon
from the compiled executable's virtual filesystem. Universal macOS preparation requires
both Darwin optional packages (`bun install --frozen-lockfile --os=darwin --cpu=*`).

The macOS tray panel is a SwiftUI/AppKit static library built from
`app/Sources/NativeTray` by the Rust build script and linked into this process.
Expand Down
23 changes: 12 additions & 11 deletions 23 desktop/scripts/prepare-sidecar.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { copyFileSync, cpSync, existsSync, mkdirSync } from "node:fs";
import { copyFileSync, cpSync, mkdirSync } from "node:fs";
import { join, resolve } from "node:path";
import { adHocSignSidecar, shouldAdHocSignSidecar } from "./sidecar-signing";

Expand Down Expand Up @@ -38,20 +38,20 @@ if (!triple || !targetByTriple[triple]) {
const target = targetByTriple[triple];
const source = join(repoRoot, "dist", "standalone", target);
const executable = join(source, target.startsWith("bun-windows-") ? "ocx.exe" : "ocx");
if (!existsSync(executable)) {
const result = Bun.spawnSync([
process.execPath,
"run",
"build:standalone",
"--target",
target,
], { cwd: repoRoot, stdout: "inherit", stderr: "inherit" });
if (result.exitCode !== 0) process.exit(result.exitCode);
}
// Preparation must consume this checkout, never a stale executable/addon pair left in dist.
const result = Bun.spawnSync([
process.execPath,
"run",
"build:standalone",
"--target",
target,
], { cwd: repoRoot, stdout: "inherit", stderr: "inherit" });
if (result.exitCode !== 0) process.exit(result.exitCode);

const desktopRoot = resolve(import.meta.dir, "..");
const binaries = join(desktopRoot, "src-tauri", "binaries");
const resources = join(desktopRoot, "src-tauri", "resources", "gui", "dist");
const keyringResources = join(desktopRoot, "src-tauri", "resources", "keyring");
mkdirSync(binaries, { recursive: true });
mkdirSync(resources, { recursive: true });
const destination = join(binaries, `ocx-${triple}${target.startsWith("bun-windows-") ? ".exe" : ""}`);
Expand All @@ -60,5 +60,6 @@ if (shouldAdHocSignSidecar(process.platform, target)) {
const signed = adHocSignSidecar(destination);
if (signed !== 0) process.exit(signed);
}
cpSync(join(source, "keyring"), keyringResources, { recursive: true });
cpSync(join(repoRoot, "gui", "dist"), resources, { recursive: true });
console.log(`Prepared ${destination}`);
9 changes: 9 additions & 0 deletions 9 desktop/scripts/verify-linux-sidecar.sh
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,17 @@ trap 'rm -rf "$scratch"' EXIT
cd "$scratch"
"${images[0]}" --appimage-extract > /dev/null
sidecar="$scratch/squashfs-root/usr/bin/ocx"
keyring="$scratch/squashfs-root/usr/lib/OpenCodex/keyring/keyring.linux-x64-gnu.node"
test ! -L "$sidecar"
test -f "$keyring"
cmp "$original" "$sidecar"
sha256sum "$original" "$sidecar"
mkdir "$scratch/home"
timeout 30s env OPENCODEX_HOME="$scratch/home" "$sidecar" --version
timeout 15s env HOME="$scratch/home" OPENCODEX_HOME="$scratch/home/opencodex" \
"$sidecar" __keyring-load-check > "$scratch/keyring.json"
python3 - "$scratch/keyring.json" <<'PY'
import json, pathlib, sys
value = json.loads(pathlib.Path(sys.argv[1]).read_text())
assert value == {"schema": "ocx-keyring-load/1", "available": True}, "Packaged keyring binding is unavailable"
PY
36 changes: 33 additions & 3 deletions 36 desktop/scripts/verify-macos-runtime.sh
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail

app="${1:?usage: verify-macos-runtime.sh /path/to/OpenCodex.app}"
app_input="${1:?usage: verify-macos-runtime.sh /path/to/OpenCodex.app}"
app="$(cd "$(dirname "$app_input")" && pwd)/$(basename "$app_input")"
[[ "$(uname -s)" == Darwin ]] || { echo 'macOS bundle verification requires macOS' >&2; exit 1; }
executable="$(/usr/libexec/PlistBuddy -c 'Print :CFBundleExecutable' "$app/Contents/Info.plist")"
[[ -n "$executable" && "$executable" != */* ]] || { echo 'Invalid app executable name' >&2; exit 1; }
scratch="$(mktemp -d "${TMPDIR:-/tmp}/opencodex-bundle-check.XXXXXX")"
trap 'rm -rf "$scratch"' EXIT
cleanup() {
rm -rf "$scratch"
}
trap cleanup EXIT

codesign --verify --strict --deep "$app"
verify_member() {
Expand Down Expand Up @@ -39,4 +43,30 @@ value = json.loads(pathlib.Path(sys.argv[1]).read_text())
assert value.get("schema") == "ocx-resolve/1", "Unexpected resolve schema"
assert value.get("liveness", {}).get("status") in ("live", "absent-proven"), "Unusable resolve result"
PY
printf '%s\n' 'PASS: macOS signatures, exact entitlements, hardened runtime, Liquid Glass and bundled CLI resolve'

# Reproduce the packaged-keyring boundary from an unrelated cwd. This is deliberately load-only:
# an ad-hoc CI identity can trigger a Keychain consent dialog, while issue #6139 is module resolution.
mkdir -p "$scratch/home" "$scratch/work"
python3 - "$app/Contents/MacOS/ocx" "$scratch/work" "$scratch/home" "$scratch/keyring.json" <<'PY'
import os, pathlib, subprocess, sys
ocx, work, home, output = sys.argv[1:]
env = os.environ.copy()
env.update(HOME=home, OPENCODEX_HOME=str(pathlib.Path(home) / ".opencodex"))
try:
with open(output, "wb") as stdout:
subprocess.run(
[ocx, "__keyring-load-check"], cwd=work, env=env, stdout=stdout,
stderr=subprocess.PIPE, check=True, timeout=15,
)
except subprocess.TimeoutExpired as error:
raise SystemExit("Packaged keyring load probe timed out") from error
except subprocess.CalledProcessError as error:
sys.stderr.buffer.write((error.stderr or b"")[-4096:])
raise SystemExit(f"Packaged keyring load probe exited {error.returncode}") from error
PY
python3 - "$scratch/keyring.json" <<'PY'
import json, pathlib, sys
value = json.loads(pathlib.Path(sys.argv[1]).read_text())
assert value == {"schema": "ocx-keyring-load/1", "available": True}, "Packaged keyring binding is unavailable"
PY
printf '%s\n' 'PASS: macOS signatures, entitlements, hardened runtime, Liquid Glass, bundled CLI resolve and packaged keyring'
3 changes: 2 additions & 1 deletion 3 desktop/src-tauri/tauri.conf.json
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"binaries/ocx"
],
"resources": {
"resources/gui/dist": "gui/dist"
"resources/gui/dist": "gui/dist",
"resources/keyring": "keyring"
},
"icon": [
"icons/icon.icns",
Expand Down
3 changes: 2 additions & 1 deletion 3 docs-site/src/content/docs/getting-started/installation.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ are not required. Download the archive for your platform, extract it, and run:
./ocx start
```

The extracted `gui/dist` directory must stay beside the binary so `GET /` can serve the dashboard.
The extracted `gui/dist` and `keyring` directories must stay beside the binary. The first serves
the dashboard; the second carries the platform-native OS credential-store binding.

### Release channels

Expand Down
5 changes: 5 additions & 0 deletions 5 scripts/build-standalone.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { createHash } from "node:crypto";
import { cpSync, existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
import { join, resolve, basename } from "node:path";
import { isStandaloneTarget, standaloneExecutableName } from "./standalone-targets";
import { stageStandaloneKeyringAddon } from "./standalone-keyring";

function hostTarget(): string {
const platform = process.platform === "darwin" ? "darwin" : process.platform === "win32" ? "windows" : "linux";
Expand Down Expand Up @@ -77,6 +78,10 @@ try {
}
if (compileExitCode !== 0) process.exit(compileExitCode);

// N-API binaries cannot execute from Bun's virtual `$bunfs`. Keep the exact target addon outside
// the compiled executable so source/npm resolution and packaged resolution share one binding API.
stageStandaloneKeyringAddon(repoRoot, output, target);

// bun's ad-hoc linker signature does not always cover the embedded payload;
// macOS kills the executable on launch (SIGKILL) unless it is re-signed.
if (process.platform === "darwin") {
Expand Down
5 changes: 3 additions & 2 deletions 5 scripts/keyring-smoke.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bun
import { randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
import { loadKeyringBinding } from "../src/lib/keyring-native";

export interface KeyringSmokeEntry {
setSecret(secret: Uint8Array, signal?: AbortSignal): Promise<void>;
Expand All @@ -15,8 +16,8 @@ export interface KeyringSmokeOptions {
}

async function createOsEntry(service: string, account: string): Promise<KeyringSmokeEntry> {
const { AsyncEntry } = await import("@napi-rs/keyring");
return new AsyncEntry(service, account);
const { AsyncEntry } = loadKeyringBinding();
return new AsyncEntry(service, account) as unknown as KeyringSmokeEntry;
}

export async function runKeyringSmoke({
Expand Down
30 changes: 30 additions & 0 deletions 30 scripts/standalone-keyring.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { copyFileSync, existsSync, mkdirSync } from "node:fs";
import { createRequire } from "node:module";
import { basename, join } from "node:path";
import { keyringAssetForStandaloneTarget } from "../src/lib/keyring-native";

/** Stage the platform N-API addon outside Bun's virtual filesystem beside a standalone binary. */
export function stageStandaloneKeyringAddon(repoRoot: string, output: string, target: string): string {
const asset = keyringAssetForStandaloneTarget(target);
if (!asset) throw new Error(`No keyring native asset is declared for standalone target ${target}`);
// Resolve optional target packages from their declaring wrapper. This preserves the lockfile
// relationship without depending on Bun/npm/pnpm choosing a particular hoisting layout.
const projectRequire = createRequire(join(repoRoot, "package.json"));
const keyringRequire = createRequire(projectRequire.resolve("@napi-rs/keyring"));
let source: string;
try {
source = keyringRequire.resolve(asset.packageName);
} catch {
throw new Error(
`Missing ${asset.packageName}/${asset.filename}; install target optional dependencies before building ${target}`,
);
}
if (basename(source) !== asset.filename || !existsSync(source)) {
throw new Error(`Resolved ${asset.packageName} to an unexpected native asset: ${source}`);
}
const keyringDir = join(output, "keyring");
mkdirSync(keyringDir, { recursive: true });
const destination = join(keyringDir, asset.filename);
copyFileSync(source, destination);
return destination;
}
2 changes: 1 addition & 1 deletion 2 src/cli/index.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ async function refreshOwnedRaycastCatalog(
}

initializeNodeLauncherContext();

// The compiled executable is also the capture-only MCP server's launcher.
// Handle this private entrypoint before CLI preflight or command dispatch.
if (process.argv[2] === "__keyring-load-check") { console.log(JSON.stringify((await import("../lib/keyring-native")).inspectKeyringBinding())); process.exit(0); }
if (process.argv[2] === "__codebuddy-mcp") {
const { runCodeBuddyMcpServer } = await import("../adapters/codebuddy/mcp-server");
await runCodeBuddyMcpServer(process.argv[3] ?? "");
Expand Down
3 changes: 2 additions & 1 deletion 3 src/codex/native-profile-store.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
} from "node:fs";
import { basename, dirname, join, resolve } from "node:path";
import { getConfigDir } from "../config";
import { loadKeyringBinding } from "../lib/keyring-native";
import { extractAccountId } from "../oauth/chatgpt";
import { getCodexHome, readRootTomlString } from "./paths";
import {
Expand Down Expand Up @@ -120,7 +121,7 @@ export class OsNativeProfileKeyProvider implements NativeProfileKeyProvider {

private async entry(homeId: string): Promise<NativeKeyringEntry> {
try {
const { AsyncEntry } = await import("@napi-rs/keyring");
const { AsyncEntry } = loadKeyringBinding();
return new AsyncEntry(KEYRING_SERVICE, homeId) as unknown as NativeKeyringEntry;
} catch {
throw new NativeProfileError(
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402809 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.