@agentmuxer/setup 0.1.2 → 0.1.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/dist/bin.js +2 -2
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -459,7 +459,7 @@ const authenticationState = async (client) => {
|
|
|
459
459
|
const line = stripVTControlCharacters(stdout).split(/\r?\n/).find((value) => client === "claude-code" ? /^agentmuxer:\s/.test(value.trim()) : /^[\s│●✓✗✘✔✖○⚠]*agentmuxer\s/.test(value));
|
|
460
460
|
if (line === void 0) return "unavailable";
|
|
461
461
|
if (/\b(?:needs authentication|not authenticated)\b/i.test(line)) return "signed-out";
|
|
462
|
-
if (client === "claude-code" &&
|
|
462
|
+
if (client === "claude-code" && /[✓✔] Connected\s*$/i.test(line)) return "connected";
|
|
463
463
|
return client === "opencode" && /\b(?:authenticated|expired)\s*$/i.test(line) ? "credentials-present" : "unavailable";
|
|
464
464
|
} catch {
|
|
465
465
|
return "unavailable";
|
|
@@ -503,7 +503,7 @@ const signIn = async (client) => {
|
|
|
503
503
|
};
|
|
504
504
|
//#endregion
|
|
505
505
|
//#region src/cli.ts
|
|
506
|
-
const version = "0.1.
|
|
506
|
+
const version = "0.1.3";
|
|
507
507
|
const help = `AgentMuxer setup ${version}
|
|
508
508
|
|
|
509
509
|
Usage:
|