@integrity-labs/agt-cli 0.28.1248 → 0.28.1250
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 +6 -6
- package/dist/{chunk-VGL726BP.js → chunk-5ALBA7KT.js} +73 -18
- package/dist/chunk-5ALBA7KT.js.map +1 -0
- package/dist/{chunk-73NMB6QK.js → chunk-DFJ5E5EW.js} +19 -1
- package/dist/{chunk-73NMB6QK.js.map → chunk-DFJ5E5EW.js.map} +1 -1
- package/dist/{chunk-RSFDRIIC.js → chunk-IUMFAYZO.js} +26 -3
- package/dist/{chunk-RSFDRIIC.js.map → chunk-IUMFAYZO.js.map} +1 -1
- package/dist/{chunk-EKFRF2GR.js → chunk-JOBL3ZF4.js} +2 -2
- package/dist/{chunk-OYLLSEI5.js → chunk-SMD577FW.js} +2 -2
- package/dist/{claude-code-updater-G4Y3CMTI.js → claude-code-updater-5MPOBIWN.js} +3 -3
- package/dist/{claude-pair-runtime-ZGYYBH3G.js → claude-pair-runtime-SNU3CU3K.js} +3 -3
- package/dist/lib/manager-worker.js +331 -104
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +18 -0
- package/dist/mcp/index.js +18 -0
- package/dist/mcp/origami.js +18 -0
- package/dist/mcp/slack-channel.js +18 -0
- package/dist/mcp/telegram-channel.js +205 -1
- package/dist/{persistent-session-R2RY5NJ3.js → persistent-session-SYCA6MW2.js} +4 -4
- package/dist/{responsiveness-probe-MU5WMZSZ.js → responsiveness-probe-BUXWVOSA.js} +4 -4
- package/dist/{session-auth-dead-B6JRV3QH.js → session-auth-dead-G5NHWSRP.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-VGL726BP.js.map +0 -1
- /package/dist/{chunk-EKFRF2GR.js.map → chunk-JOBL3ZF4.js.map} +0 -0
- /package/dist/{chunk-OYLLSEI5.js.map → chunk-SMD577FW.js.map} +0 -0
- /package/dist/{claude-code-updater-G4Y3CMTI.js.map → claude-code-updater-5MPOBIWN.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ZGYYBH3G.js.map → claude-pair-runtime-SNU3CU3K.js.map} +0 -0
- /package/dist/{persistent-session-R2RY5NJ3.js.map → persistent-session-SYCA6MW2.js.map} +0 -0
- /package/dist/{responsiveness-probe-MU5WMZSZ.js.map → responsiveness-probe-BUXWVOSA.js.map} +0 -0
- /package/dist/{session-auth-dead-B6JRV3QH.js.map → session-auth-dead-G5NHWSRP.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
rotateDailySession,
|
|
5
5
|
sessionFileExists,
|
|
6
6
|
todayLocalIso
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SMD577FW.js";
|
|
8
8
|
import {
|
|
9
9
|
classifyUnanswerablePane,
|
|
10
10
|
customApiKeyDialogKeys,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
remoteMcpConnectionEnvInfix,
|
|
52
52
|
remoteMcpConnectionLabel,
|
|
53
53
|
remoteMcpConnectionScopedEnvVar
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-DFJ5E5EW.js";
|
|
55
55
|
import {
|
|
56
56
|
CLAUDE_CONFIG_DIR_ENV,
|
|
57
57
|
approveApiKeyInClaudeConfig,
|
|
@@ -1939,6 +1939,28 @@ var opencodeAdapter = {
|
|
|
1939
1939
|
* `readConfig` already fails soft on a missing/unparseable file, so a
|
|
1940
1940
|
* not-yet-provisioned agent reports no servers rather than throwing.
|
|
1941
1941
|
*/
|
|
1942
|
+
readMcpServersOrNull(codeName) {
|
|
1943
|
+
let raw;
|
|
1944
|
+
try {
|
|
1945
|
+
raw = readFileSync3(configPath(codeName), "utf8");
|
|
1946
|
+
} catch (err) {
|
|
1947
|
+
return err.code === "ENOENT" ? {} : null;
|
|
1948
|
+
}
|
|
1949
|
+
let parsed;
|
|
1950
|
+
try {
|
|
1951
|
+
parsed = JSON.parse(raw);
|
|
1952
|
+
} catch {
|
|
1953
|
+
return null;
|
|
1954
|
+
}
|
|
1955
|
+
if (!parsed || typeof parsed !== "object" || Array.isArray(parsed))
|
|
1956
|
+
return null;
|
|
1957
|
+
const mcp = parsed["mcp"];
|
|
1958
|
+
if (mcp === void 0)
|
|
1959
|
+
return {};
|
|
1960
|
+
if (!mcp || typeof mcp !== "object" || Array.isArray(mcp))
|
|
1961
|
+
return null;
|
|
1962
|
+
return mcp;
|
|
1963
|
+
},
|
|
1942
1964
|
readMcpServers(codeName) {
|
|
1943
1965
|
const mcp = readConfig(codeName)["mcp"];
|
|
1944
1966
|
if (!mcp || typeof mcp !== "object" || Array.isArray(mcp))
|
|
@@ -6096,6 +6118,7 @@ export {
|
|
|
6096
6118
|
ChildProcessError,
|
|
6097
6119
|
execFilePromiseLong,
|
|
6098
6120
|
sharedBusyBuckets,
|
|
6121
|
+
opencodeTmuxSession,
|
|
6099
6122
|
readProvisionedOpencodeModel,
|
|
6100
6123
|
startOpencodeSession,
|
|
6101
6124
|
readOpencodePaneLogTail,
|
|
@@ -6196,4 +6219,4 @@ export {
|
|
|
6196
6219
|
stopAllSessionsAndWait,
|
|
6197
6220
|
getProjectDir
|
|
6198
6221
|
};
|
|
6199
|
-
//# sourceMappingURL=chunk-
|
|
6222
|
+
//# sourceMappingURL=chunk-IUMFAYZO.js.map
|