@integrity-labs/agt-cli 0.28.495 → 0.28.496
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 +4 -4
- package/dist/{chunk-CAHE6QSE.js → chunk-DZSS6TA3.js} +15 -7
- package/dist/{chunk-CAHE6QSE.js.map → chunk-DZSS6TA3.js.map} +1 -1
- package/dist/{chunk-4SQZDAWG.js → chunk-JWR5FP7S.js} +57 -1
- package/dist/chunk-JWR5FP7S.js.map +1 -0
- package/dist/{claude-pair-runtime-LCQYCW67.js → claude-pair-runtime-C2O3QBAT.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/direct-chat-channel.js +17 -0
- package/dist/mcp/origami.js +17 -0
- package/dist/mcp/remote-oauth-proxy.js +62 -35
- package/dist/mcp/slack-channel.js +17 -0
- package/dist/mcp/telegram-channel.js +17 -0
- package/dist/{persistent-session-TSPVNVQL.js → persistent-session-O7YXPCRX.js} +2 -2
- package/dist/{responsiveness-probe-3LWQKHV2.js → responsiveness-probe-Z4L2CZNA.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4SQZDAWG.js.map +0 -1
- /package/dist/{claude-pair-runtime-LCQYCW67.js.map → claude-pair-runtime-C2O3QBAT.js.map} +0 -0
- /package/dist/{persistent-session-TSPVNVQL.js.map → persistent-session-O7YXPCRX.js.map} +0 -0
- /package/dist/{responsiveness-probe-3LWQKHV2.js.map → responsiveness-probe-Z4L2CZNA.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-DZSS6TA3.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
requiredMcpWildcard,
|
|
72
72
|
resolveChannels,
|
|
73
73
|
serializeManifestForSlackCli
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-JWR5FP7S.js";
|
|
75
75
|
import "../chunk-XWVM4KPK.js";
|
|
76
76
|
|
|
77
77
|
// src/bin/agt.ts
|
|
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4830
4830
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4831
4831
|
import chalk18 from "chalk";
|
|
4832
4832
|
import ora16 from "ora";
|
|
4833
|
-
var cliVersion = true ? "0.28.
|
|
4833
|
+
var cliVersion = true ? "0.28.496" : "dev";
|
|
4834
4834
|
async function fetchLatestVersion() {
|
|
4835
4835
|
const host2 = getHost();
|
|
4836
4836
|
if (!host2) return null;
|
|
@@ -6002,7 +6002,7 @@ function handleError(err) {
|
|
|
6002
6002
|
}
|
|
6003
6003
|
|
|
6004
6004
|
// src/bin/agt.ts
|
|
6005
|
-
var cliVersion2 = true ? "0.28.
|
|
6005
|
+
var cliVersion2 = true ? "0.28.496" : "dev";
|
|
6006
6006
|
var program = new Command();
|
|
6007
6007
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
6008
6008
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4,7 +4,9 @@ import {
|
|
|
4
4
|
INTEGRATION_REGISTRY,
|
|
5
5
|
LATE_BOUND_VARS,
|
|
6
6
|
OAUTH_PROVIDERS,
|
|
7
|
+
REMOTE_MCP_PROXY_ENV,
|
|
7
8
|
bestConnectivityEvidence,
|
|
9
|
+
buildForwardHeaders,
|
|
8
10
|
buildHostBrokeredRemoteMcpEntry,
|
|
9
11
|
buildIntegrationsSection,
|
|
10
12
|
buildLiveHeaderRemoteMcpProxyEntry,
|
|
@@ -26,12 +28,13 @@ import {
|
|
|
26
28
|
probeComposioMcpToolCall,
|
|
27
29
|
probeHttpProvider,
|
|
28
30
|
probeMcpHttp,
|
|
31
|
+
readRemoteMcpAuthConfig,
|
|
29
32
|
registerFramework,
|
|
30
33
|
resolveAvatarEnvUrl,
|
|
31
34
|
resolveConnectivityProbe,
|
|
32
35
|
worseConnectivityOutcome,
|
|
33
36
|
wrapScheduledTaskPrompt
|
|
34
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-JWR5FP7S.js";
|
|
35
38
|
import {
|
|
36
39
|
parsePsRows
|
|
37
40
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5023,7 +5026,7 @@ function exchangeFailureKind(err) {
|
|
|
5023
5026
|
}
|
|
5024
5027
|
|
|
5025
5028
|
// src/lib/api-client.ts
|
|
5026
|
-
var agtCliVersion = true ? "0.28.
|
|
5029
|
+
var agtCliVersion = true ? "0.28.496" : "dev";
|
|
5027
5030
|
var lastConfigHash = null;
|
|
5028
5031
|
function setConfigHash(hash) {
|
|
5029
5032
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -6704,12 +6707,17 @@ function resolveHttpServerEntry(entry, env) {
|
|
|
6704
6707
|
}
|
|
6705
6708
|
return { url, ...headers ? { headers } : {}, unresolved: [...unresolved] };
|
|
6706
6709
|
}
|
|
6707
|
-
const proxyUrl = entry.env?.[
|
|
6708
|
-
const tokenVar = entry.env?.[
|
|
6710
|
+
const proxyUrl = entry.env?.[REMOTE_MCP_PROXY_ENV.url];
|
|
6711
|
+
const tokenVar = entry.env?.[REMOTE_MCP_PROXY_ENV.tokenVar];
|
|
6709
6712
|
if (entry.command && typeof proxyUrl === "string" && typeof tokenVar === "string") {
|
|
6710
6713
|
const url = sub(proxyUrl);
|
|
6711
|
-
const
|
|
6712
|
-
|
|
6714
|
+
const token = sub(`\${${tokenVar}}`);
|
|
6715
|
+
const { authHeader, extras } = readRemoteMcpAuthConfig(entry.env);
|
|
6716
|
+
const headers = buildForwardHeaders(token, authHeader, extras, (varName) => {
|
|
6717
|
+
const value = env?.[varName];
|
|
6718
|
+
return typeof value === "string" ? value : null;
|
|
6719
|
+
});
|
|
6720
|
+
return { url, headers, unresolved: [...unresolved] };
|
|
6713
6721
|
}
|
|
6714
6722
|
return null;
|
|
6715
6723
|
}
|
|
@@ -7832,4 +7840,4 @@ export {
|
|
|
7832
7840
|
managerInstallSystemUnitCommand,
|
|
7833
7841
|
managerUninstallSystemUnitCommand
|
|
7834
7842
|
};
|
|
7835
|
-
//# sourceMappingURL=chunk-
|
|
7843
|
+
//# sourceMappingURL=chunk-DZSS6TA3.js.map
|