@integrity-labs/agt-cli 0.28.799 → 0.28.801
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-M3IVSY6S.js → chunk-H37X4QPC.js} +40 -12
- package/dist/{chunk-M3IVSY6S.js.map → chunk-H37X4QPC.js.map} +1 -1
- package/dist/{chunk-XEPLW5LY.js → chunk-MJ3YHZSR.js} +18 -4
- package/dist/{chunk-XEPLW5LY.js.map → chunk-MJ3YHZSR.js.map} +1 -1
- package/dist/{chunk-BPAGPPAN.js → chunk-ZI2MCNK2.js} +4 -4
- package/dist/{claude-pair-runtime-2ADID7UG.js → claude-pair-runtime-FP32JLYF.js} +2 -2
- package/dist/lib/manager-worker.js +32 -13
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-Z5QFD6JR.js → persistent-session-7YEKAGRY.js} +3 -3
- package/dist/{responsiveness-probe-3M2QIBJ5.js → responsiveness-probe-VL6EANMM.js} +3 -3
- package/dist/{session-auth-dead-RWNURZER.js → session-auth-dead-JJEZ4XWO.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-BPAGPPAN.js.map → chunk-ZI2MCNK2.js.map} +0 -0
- /package/dist/{claude-pair-runtime-2ADID7UG.js.map → claude-pair-runtime-FP32JLYF.js.map} +0 -0
- /package/dist/{persistent-session-Z5QFD6JR.js.map → persistent-session-7YEKAGRY.js.map} +0 -0
- /package/dist/{responsiveness-probe-3M2QIBJ5.js.map → responsiveness-probe-VL6EANMM.js.map} +0 -0
- /package/dist/{session-auth-dead-RWNURZER.js.map → session-auth-dead-JJEZ4XWO.js.map} +0 -0
|
@@ -10292,6 +10292,19 @@ async function probeMcpHttp(config, fetchImpl = fetch) {
|
|
|
10292
10292
|
|
|
10293
10293
|
// ../../packages/core/dist/integrations/composio-fetch.js
|
|
10294
10294
|
var COMPOSIO_API_BASE = "https://backend.composio.dev";
|
|
10295
|
+
var transportResolver = null;
|
|
10296
|
+
async function getComposioTransport() {
|
|
10297
|
+
if (!transportResolver)
|
|
10298
|
+
return null;
|
|
10299
|
+
try {
|
|
10300
|
+
return await transportResolver();
|
|
10301
|
+
} catch (err) {
|
|
10302
|
+
console.error("[composio] transport resolver failed; using direct egress", {
|
|
10303
|
+
error: err instanceof Error ? err.message : String(err)
|
|
10304
|
+
});
|
|
10305
|
+
return null;
|
|
10306
|
+
}
|
|
10307
|
+
}
|
|
10295
10308
|
|
|
10296
10309
|
// ../../packages/core/dist/integrations/composio-linkage.js
|
|
10297
10310
|
function assessAuthConfigLinkage(input) {
|
|
@@ -10394,7 +10407,8 @@ async function readBoundedBody(res, controller) {
|
|
|
10394
10407
|
}
|
|
10395
10408
|
return new TextDecoder().decode(merged);
|
|
10396
10409
|
}
|
|
10397
|
-
async function probeComposioAccount(params, fetchImpl
|
|
10410
|
+
async function probeComposioAccount(params, fetchImpl) {
|
|
10411
|
+
const impl = fetchImpl ?? await getComposioTransport() ?? fetch;
|
|
10398
10412
|
const { connectedAccountId, apiKey, expectedUserId } = params;
|
|
10399
10413
|
const base = params.apiBase ?? COMPOSIO_API_BASE;
|
|
10400
10414
|
if (!connectedAccountId) {
|
|
@@ -10411,7 +10425,7 @@ async function probeComposioAccount(params, fetchImpl = fetch) {
|
|
|
10411
10425
|
}
|
|
10412
10426
|
let res;
|
|
10413
10427
|
try {
|
|
10414
|
-
res = await timedFetch(
|
|
10428
|
+
res = await timedFetch(impl, `${base}/api/v3/connected_accounts/${encodeURIComponent(connectedAccountId)}`, { headers: { "x-api-key": apiKey } });
|
|
10415
10429
|
} catch (err) {
|
|
10416
10430
|
const isAbort = err?.name === "AbortError";
|
|
10417
10431
|
return {
|
|
@@ -10480,7 +10494,7 @@ async function probeComposioAccount(params, fetchImpl = fetch) {
|
|
|
10480
10494
|
}
|
|
10481
10495
|
const accountAuthConfigId = data.auth_config_id ?? data.auth_config?.id;
|
|
10482
10496
|
if (params.serverId) {
|
|
10483
|
-
const serverAuthConfigIds = await fetchServerAuthConfigIds(
|
|
10497
|
+
const serverAuthConfigIds = await fetchServerAuthConfigIds(impl, base, params.serverId, apiKey);
|
|
10484
10498
|
const linkage = assessAuthConfigLinkage({
|
|
10485
10499
|
accountAuthConfigId,
|
|
10486
10500
|
serverAuthConfigIds,
|
|
@@ -13630,4 +13644,4 @@ export {
|
|
|
13630
13644
|
peekCurrentSession,
|
|
13631
13645
|
readDailySessionPin
|
|
13632
13646
|
};
|
|
13633
|
-
//# sourceMappingURL=chunk-
|
|
13647
|
+
//# sourceMappingURL=chunk-MJ3YHZSR.js.map
|