@integrity-labs/agt-cli 0.28.990 → 0.28.991
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-TGCA3LTI.js → chunk-C72SNMP6.js} +26 -5
- package/dist/chunk-C72SNMP6.js.map +1 -0
- package/dist/{chunk-6KYXH6ZZ.js → chunk-DN3KNGP4.js} +68 -6
- package/dist/{chunk-6KYXH6ZZ.js.map → chunk-DN3KNGP4.js.map} +1 -1
- package/dist/{chunk-P7B5IRH5.js → chunk-RQ3I7GMD.js} +19 -8
- package/dist/chunk-RQ3I7GMD.js.map +1 -0
- package/dist/{claude-pair-runtime-GQM26I3M.js → claude-pair-runtime-6IA4RPMQ.js} +2 -2
- package/dist/lib/manager-worker.js +31 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +15 -1
- package/dist/mcp/index.js +15 -1
- package/dist/mcp/origami.js +15 -1
- package/dist/mcp/remote-oauth-proxy.js +120 -29
- package/dist/mcp/slack-channel.js +15 -1
- package/dist/mcp/telegram-channel.js +15 -1
- package/dist/{persistent-session-PYYD53GZ.js → persistent-session-5EDOQC2H.js} +3 -3
- package/dist/{responsiveness-probe-JENZOOKG.js → responsiveness-probe-SKX77FST.js} +3 -3
- package/dist/{session-auth-dead-BGXRQB27.js → session-auth-dead-XTMVOHUX.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-P7B5IRH5.js.map +0 -1
- package/dist/chunk-TGCA3LTI.js.map +0 -1
- /package/dist/{claude-pair-runtime-GQM26I3M.js.map → claude-pair-runtime-6IA4RPMQ.js.map} +0 -0
- /package/dist/{persistent-session-PYYD53GZ.js.map → persistent-session-5EDOQC2H.js.map} +0 -0
- /package/dist/{responsiveness-probe-JENZOOKG.js.map → responsiveness-probe-SKX77FST.js.map} +0 -0
- /package/dist/{session-auth-dead-BGXRQB27.js.map → session-auth-dead-XTMVOHUX.js.map} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LATE_BOUND_VARS,
|
|
3
3
|
agentTmpDirFor,
|
|
4
|
+
buildApiKeyRemoteMcpProxyEntry,
|
|
4
5
|
buildLiveHeaderRemoteMcpProxyEntry,
|
|
5
6
|
buildNativeMcpEntry,
|
|
6
7
|
buildOAuthRemoteMcpProxyEntry,
|
|
@@ -14,7 +15,7 @@ import {
|
|
|
14
15
|
parseEnvFileEntries,
|
|
15
16
|
parseEnvIntegrations,
|
|
16
17
|
shellQuote
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DN3KNGP4.js";
|
|
18
19
|
import {
|
|
19
20
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
20
21
|
INTEGRATIONS_SECTION_END,
|
|
@@ -74,7 +75,7 @@ import {
|
|
|
74
75
|
sessionTranscriptDir,
|
|
75
76
|
worseConnectivityOutcome,
|
|
76
77
|
wrapScheduledTaskPrompt
|
|
77
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-C72SNMP6.js";
|
|
78
79
|
import {
|
|
79
80
|
classifyUnanswerablePane,
|
|
80
81
|
summarizeUnanswerablePane
|
|
@@ -4961,16 +4962,21 @@ function buildMcpJson(input) {
|
|
|
4961
4962
|
for (const integration of input.integrations ?? []) {
|
|
4962
4963
|
const connectionKey = integration.connection_key;
|
|
4963
4964
|
const serverKey = remoteMcpServerKey(integration.definition_id, connectionKey);
|
|
4964
|
-
const liveEntry = buildLiveHeaderRemoteMcpProxyEntry(integration.definition_id, integration.remoteMcp, remoteOAuthProxyPaths, connectionKey);
|
|
4965
|
+
const liveEntry = buildLiveHeaderRemoteMcpProxyEntry(integration.definition_id, integration.remoteMcp, remoteOAuthProxyPaths, connectionKey, integration.toolTiers);
|
|
4965
4966
|
if (liveEntry) {
|
|
4966
4967
|
mcpServers[serverKey] = liveEntry;
|
|
4967
4968
|
continue;
|
|
4968
4969
|
}
|
|
4969
|
-
const proxyEntry = buildOAuthRemoteMcpProxyEntry(integration.definition_id, remoteOAuthProxyPaths, connectionKey);
|
|
4970
|
+
const proxyEntry = buildOAuthRemoteMcpProxyEntry(integration.definition_id, remoteOAuthProxyPaths, connectionKey, integration.toolTiers);
|
|
4970
4971
|
if (proxyEntry) {
|
|
4971
4972
|
mcpServers[serverKey] = proxyEntry;
|
|
4972
4973
|
continue;
|
|
4973
4974
|
}
|
|
4975
|
+
const tierGatedEntry = buildApiKeyRemoteMcpProxyEntry(integration.definition_id, integration.remoteMcp, remoteOAuthProxyPaths, connectionKey, integration.toolTiers);
|
|
4976
|
+
if (tierGatedEntry) {
|
|
4977
|
+
mcpServers[serverKey] = tierGatedEntry;
|
|
4978
|
+
continue;
|
|
4979
|
+
}
|
|
4974
4980
|
const entry = buildRemoteMcpEntry(integration.definition_id, integration.remoteMcp, connectionKey);
|
|
4975
4981
|
if (entry) {
|
|
4976
4982
|
mcpServers[serverKey] = entry;
|
|
@@ -6249,16 +6255,21 @@ ${sections}`
|
|
|
6249
6255
|
for (const integration of integrations) {
|
|
6250
6256
|
const connectionKey = integration.connection_key;
|
|
6251
6257
|
const serverKey = remoteMcpServerKey(integration.definition_id, connectionKey);
|
|
6252
|
-
const liveEntry = buildLiveHeaderRemoteMcpProxyEntry(integration.definition_id, integration.remoteMcp, remoteOAuthProxyPaths, connectionKey);
|
|
6258
|
+
const liveEntry = buildLiveHeaderRemoteMcpProxyEntry(integration.definition_id, integration.remoteMcp, remoteOAuthProxyPaths, connectionKey, integration.toolTiers);
|
|
6253
6259
|
if (liveEntry) {
|
|
6254
6260
|
this.writeMcpServer(codeName, serverKey, liveEntry);
|
|
6255
6261
|
continue;
|
|
6256
6262
|
}
|
|
6257
|
-
const proxyEntry = buildOAuthRemoteMcpProxyEntry(integration.definition_id, remoteOAuthProxyPaths, connectionKey);
|
|
6263
|
+
const proxyEntry = buildOAuthRemoteMcpProxyEntry(integration.definition_id, remoteOAuthProxyPaths, connectionKey, integration.toolTiers);
|
|
6258
6264
|
if (proxyEntry) {
|
|
6259
6265
|
this.writeMcpServer(codeName, serverKey, proxyEntry);
|
|
6260
6266
|
continue;
|
|
6261
6267
|
}
|
|
6268
|
+
const tierGatedEntry = buildApiKeyRemoteMcpProxyEntry(integration.definition_id, integration.remoteMcp, remoteOAuthProxyPaths, connectionKey, integration.toolTiers);
|
|
6269
|
+
if (tierGatedEntry) {
|
|
6270
|
+
this.writeMcpServer(codeName, serverKey, tierGatedEntry);
|
|
6271
|
+
continue;
|
|
6272
|
+
}
|
|
6262
6273
|
const entry = buildRemoteMcpEntry(integration.definition_id, integration.remoteMcp, connectionKey);
|
|
6263
6274
|
if (entry) {
|
|
6264
6275
|
this.writeMcpServer(codeName, serverKey, entry);
|
|
@@ -6963,7 +6974,7 @@ function exchangeFailureKind(err) {
|
|
|
6963
6974
|
}
|
|
6964
6975
|
|
|
6965
6976
|
// src/lib/api-client.ts
|
|
6966
|
-
var agtCliVersion = true ? "0.28.
|
|
6977
|
+
var agtCliVersion = true ? "0.28.991" : "dev";
|
|
6967
6978
|
var lastConfigHash = null;
|
|
6968
6979
|
function setConfigHash(hash) {
|
|
6969
6980
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11714,4 +11725,4 @@ export {
|
|
|
11714
11725
|
managerInstallSystemUnitCommand,
|
|
11715
11726
|
managerUninstallSystemUnitCommand
|
|
11716
11727
|
};
|
|
11717
|
-
//# sourceMappingURL=chunk-
|
|
11728
|
+
//# sourceMappingURL=chunk-RQ3I7GMD.js.map
|