@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.
- package/README.md +3 -4
- package/cdx.mjs +2 -2
- 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.
|
|
9
|
+
### 1.8.4
|
|
10
10
|
|
|
11
|
-
####
|
|
11
|
+
#### Fixes
|
|
12
12
|
|
|
13
|
-
- `cdx
|
|
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.
|
|
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", ["-
|
|
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,
|