@integrity-labs/agt-cli 0.28.1022 → 0.28.1023
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/agt.js +5 -5
- package/dist/{chunk-X7SX25N6.js → chunk-BHKFVSIX.js} +10 -8
- package/dist/{chunk-X7SX25N6.js.map → chunk-BHKFVSIX.js.map} +1 -1
- package/dist/{chunk-5MUSHNVX.js → chunk-NQB4AF4Q.js} +4 -4
- package/dist/{chunk-QXJWRE64.js → chunk-RDQILPRF.js} +21 -2
- package/dist/{chunk-QXJWRE64.js.map → chunk-RDQILPRF.js.map} +1 -1
- package/dist/{claude-pair-runtime-KKFNGRSA.js → claude-pair-runtime-C4DDKQ6N.js} +2 -2
- package/dist/lib/manager-worker.js +256 -15
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +11 -8
- package/dist/mcp/index.js +9 -7
- package/dist/mcp/origami.js +9 -7
- package/dist/mcp/slack-channel.js +11 -8
- package/dist/mcp/telegram-channel.js +11 -8
- package/dist/{persistent-session-ZQDNCKQH.js → persistent-session-3NQHNU6H.js} +3 -3
- package/dist/{responsiveness-probe-Q27WU2MW.js → responsiveness-probe-ZOXVXDPT.js} +3 -3
- package/dist/{session-auth-dead-JJUKS75B.js → session-auth-dead-ZKC2HH6T.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-5MUSHNVX.js.map → chunk-NQB4AF4Q.js.map} +0 -0
- /package/dist/{claude-pair-runtime-KKFNGRSA.js.map → claude-pair-runtime-C4DDKQ6N.js.map} +0 -0
- /package/dist/{persistent-session-ZQDNCKQH.js.map → persistent-session-3NQHNU6H.js.map} +0 -0
- /package/dist/{responsiveness-probe-Q27WU2MW.js.map → responsiveness-probe-ZOXVXDPT.js.map} +0 -0
- /package/dist/{session-auth-dead-JJUKS75B.js.map → session-auth-dead-ZKC2HH6T.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseEnvFileEntries,
|
|
16
16
|
parseEnvIntegrations,
|
|
17
17
|
shellQuote
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RDQILPRF.js";
|
|
19
19
|
import {
|
|
20
20
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
21
21
|
INTEGRATIONS_SECTION_END,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
sessionTranscriptDir,
|
|
78
78
|
worseConnectivityOutcome,
|
|
79
79
|
wrapScheduledTaskPrompt
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-BHKFVSIX.js";
|
|
81
81
|
import {
|
|
82
82
|
classifyUnanswerablePane,
|
|
83
83
|
summarizeUnanswerablePane
|
|
@@ -7140,7 +7140,7 @@ function exchangeFailureKind(err) {
|
|
|
7140
7140
|
}
|
|
7141
7141
|
|
|
7142
7142
|
// src/lib/api-client.ts
|
|
7143
|
-
var agtCliVersion = true ? "0.28.
|
|
7143
|
+
var agtCliVersion = true ? "0.28.1023" : "dev";
|
|
7144
7144
|
var lastConfigHash = null;
|
|
7145
7145
|
function setConfigHash(hash) {
|
|
7146
7146
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -12094,4 +12094,4 @@ export {
|
|
|
12094
12094
|
managerInstallSystemUnitCommand,
|
|
12095
12095
|
managerUninstallSystemUnitCommand
|
|
12096
12096
|
};
|
|
12097
|
-
//# sourceMappingURL=chunk-
|
|
12097
|
+
//# sourceMappingURL=chunk-NQB4AF4Q.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
rotateDailySession,
|
|
24
24
|
sessionFileExists,
|
|
25
25
|
todayLocalIso
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BHKFVSIX.js";
|
|
27
27
|
import {
|
|
28
28
|
classifyUnanswerablePane,
|
|
29
29
|
findUsageLimitResetHint,
|
|
@@ -2839,6 +2839,8 @@ import { randomUUID } from "crypto";
|
|
|
2839
2839
|
|
|
2840
2840
|
// ../../packages/core/dist/runtime/session-probe.js
|
|
2841
2841
|
import { execFileSync as execFileSync2 } from "child_process";
|
|
2842
|
+
var PROBE_STATE_MAP = { alive: true, dead: true, unknown: true };
|
|
2843
|
+
var PROBE_STATES = Object.keys(PROBE_STATE_MAP);
|
|
2842
2844
|
function escapePgrepRegex(value) {
|
|
2843
2845
|
return value.replace(/[.[\]{}()*+?^$|\\]/g, "\\$&");
|
|
2844
2846
|
}
|
|
@@ -2858,6 +2860,21 @@ function probeClaudeProcessInTmux(tmuxSession) {
|
|
|
2858
2860
|
return e?.status === 1 ? "dead" : "unknown";
|
|
2859
2861
|
}
|
|
2860
2862
|
}
|
|
2863
|
+
function probeTmuxSession(tmuxSession) {
|
|
2864
|
+
try {
|
|
2865
|
+
execFileSync2("tmux", ["has-session", "-t", tmuxSession], {
|
|
2866
|
+
stdio: "ignore",
|
|
2867
|
+
timeout: 3e3
|
|
2868
|
+
});
|
|
2869
|
+
return "alive";
|
|
2870
|
+
} catch (err) {
|
|
2871
|
+
const e = err;
|
|
2872
|
+
const timedOut = e?.code === "ETIMEDOUT" || e?.error?.code === "ETIMEDOUT";
|
|
2873
|
+
if (e?.code === "ENOENT" || e?.error?.code === "ENOENT" || timedOut)
|
|
2874
|
+
return "unknown";
|
|
2875
|
+
return "dead";
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2861
2878
|
|
|
2862
2879
|
// ../../packages/core/dist/provisioning/frameworks/claudecode/agent-tmpdir.js
|
|
2863
2880
|
import { closeSync, lstatSync as lstatSync2, mkdirSync as mkdirSync4, openSync, renameSync } from "fs";
|
|
@@ -5809,6 +5826,8 @@ export {
|
|
|
5809
5826
|
getOpencodeSessionState,
|
|
5810
5827
|
getOpencodeTurnHealth,
|
|
5811
5828
|
getOpencodeActivityAgeSeconds,
|
|
5829
|
+
probeClaudeProcessInTmux,
|
|
5830
|
+
probeTmuxSession,
|
|
5812
5831
|
BLOCKED_ON_PROMPT_DECISION,
|
|
5813
5832
|
noteSessionBlockedOnPrompt,
|
|
5814
5833
|
sessionBlockedOnPrompt,
|
|
@@ -5893,4 +5912,4 @@ export {
|
|
|
5893
5912
|
stopAllSessionsAndWait,
|
|
5894
5913
|
getProjectDir
|
|
5895
5914
|
};
|
|
5896
|
-
//# sourceMappingURL=chunk-
|
|
5915
|
+
//# sourceMappingURL=chunk-RDQILPRF.js.map
|