@bjesuiter/codex-switcher 1.8.3 → 1.8.4

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 (3) hide show
  1. package/README.md +3 -4
  2. package/cdx.mjs +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -6,12 +6,11 @@ Switch the coding-agents [pi](https://pi.dev/), [codex](https://developers.opena
6
6
 
7
7
  ## Latest Changes
8
8
 
9
- ### 1.8.3
9
+ ### 1.8.4
10
10
 
11
- #### Improvements
11
+ #### Fixes
12
12
 
13
- - `cdx update-self` now prints the detected installed version directly after a successful update, so you don't need to run `cdx version` manually.
14
- - Linux `cdx doctor` guided checks now offer interactive recovery when `gnome-keyring-daemon` is not running: start now, or (when detectable as disabled) enable autostart and start now.
13
+ - Linux `cdx doctor` guided checks now detect `gnome-keyring-daemon` with a full-command `pgrep -f` match, fixing false negatives/errors on systems where `pgrep -x` cannot match process names longer than 15 characters.
15
14
 
16
15
  see full changelog here: https://github.com/bjesuiter/codex-switcher/blob/main/CHANGELOG.md
17
16
 
package/cdx.mjs CHANGED
@@ -15,7 +15,7 @@ import { generatePKCE } from "@openauthjs/openauth/pkce";
15
15
  import http from "node:http";
16
16
 
17
17
  //#region package.json
18
- var version = "1.8.3";
18
+ var version = "1.8.4";
19
19
 
20
20
  //#endregion
21
21
  //#region lib/platform/path-resolver.ts
@@ -2825,7 +2825,7 @@ const isCommandAvailable = async (commandName) => {
2825
2825
  };
2826
2826
  const checkGnomeKeyringRunning = async () => {
2827
2827
  if (await isCommandAvailable("pgrep")) {
2828
- const pgrepResult = await runCommandCapture("pgrep", ["-x", "gnome-keyring-daemon"]);
2828
+ const pgrepResult = await runCommandCapture("pgrep", ["-f", "(^|/)gnome-keyring-daemon( |$)"]);
2829
2829
  if (pgrepResult.ok) return { ok: true };
2830
2830
  return {
2831
2831
  ok: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bjesuiter/codex-switcher",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "type": "module",
5
5
  "description": "CLI tool to switch between multiple OpenAI accounts for OpenCode",
6
6
  "bin": {