@integrity-labs/agt-cli 0.28.1309 → 0.28.1311
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/{api-client-OU7NANHC.js → api-client-LJIV4E3U.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-VSJUMNQ5.js → chunk-AATR5MO7.js} +30 -9
- package/dist/{chunk-VSJUMNQ5.js.map → chunk-AATR5MO7.js.map} +1 -1
- package/dist/{chunk-JZOA4A3J.js → chunk-C35ONIOM.js} +2 -2
- package/dist/{chunk-WW2CTOEO.js → chunk-DTGNYXYM.js} +1 -1
- package/dist/chunk-DTGNYXYM.js.map +1 -0
- package/dist/{chunk-GODP7VNT.js → chunk-LNLKOJC5.js} +15 -9
- package/dist/chunk-LNLKOJC5.js.map +1 -0
- package/dist/{chunk-LZZNWEAC.js → chunk-NYBVFW7X.js} +3 -3
- package/dist/{chunk-NXTNYNNV.js → chunk-PRSMP7YW.js} +2 -2
- package/dist/{claude-code-updater-OU4AEM5Y.js → claude-code-updater-QRAOQLXJ.js} +3 -3
- package/dist/{claude-pair-runtime-H7A7ZOEW.js → claude-pair-runtime-ZI2LPY5E.js} +3 -3
- package/dist/lib/manager-worker.js +46 -24
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-OUCTECWP.js → persistent-session-ADLDX7QL.js} +4 -4
- package/dist/{responsiveness-probe-SC72APRB.js → responsiveness-probe-ETVF2D2O.js} +4 -4
- package/dist/{session-auth-dead-MQR2SLW5.js → session-auth-dead-36OZTRBJ.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-GODP7VNT.js.map +0 -1
- package/dist/chunk-WW2CTOEO.js.map +0 -1
- /package/dist/{api-client-OU7NANHC.js.map → api-client-LJIV4E3U.js.map} +0 -0
- /package/dist/{chunk-JZOA4A3J.js.map → chunk-C35ONIOM.js.map} +0 -0
- /package/dist/{chunk-LZZNWEAC.js.map → chunk-NYBVFW7X.js.map} +0 -0
- /package/dist/{chunk-NXTNYNNV.js.map → chunk-PRSMP7YW.js.map} +0 -0
- /package/dist/{claude-code-updater-OU4AEM5Y.js.map → claude-code-updater-QRAOQLXJ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-H7A7ZOEW.js.map → claude-pair-runtime-ZI2LPY5E.js.map} +0 -0
- /package/dist/{persistent-session-OUCTECWP.js.map → persistent-session-ADLDX7QL.js.map} +0 -0
- /package/dist/{responsiveness-probe-SC72APRB.js.map → responsiveness-probe-ETVF2D2O.js.map} +0 -0
- /package/dist/{session-auth-dead-MQR2SLW5.js.map → session-auth-dead-36OZTRBJ.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
exchangeApiKey,
|
|
3
3
|
getApiKey,
|
|
4
4
|
getHost
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NYBVFW7X.js";
|
|
6
6
|
import {
|
|
7
7
|
LATE_BOUND_VARS,
|
|
8
8
|
PLATFORM_DENY_PERMISSIONS,
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
warnIgnoredIsolationAllowlist,
|
|
27
27
|
withheldRemoteMcpMessage,
|
|
28
28
|
withheldRemoteMcpReasonFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AATR5MO7.js";
|
|
30
30
|
import {
|
|
31
31
|
readDailySessionPin,
|
|
32
32
|
sessionTranscriptDir
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-PRSMP7YW.js";
|
|
34
34
|
import {
|
|
35
35
|
classifyUnanswerablePane,
|
|
36
36
|
isConsumerTermsDialogVisible,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
scanConfigForLiteralSecrets,
|
|
103
103
|
worseConnectivityOutcome,
|
|
104
104
|
wrapScheduledTaskPrompt
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-DTGNYXYM.js";
|
|
106
106
|
import {
|
|
107
107
|
claudeJsonPathFor,
|
|
108
108
|
effectiveClaudeJsonPath,
|
|
@@ -6397,7 +6397,11 @@ function buildMcpJson(input) {
|
|
|
6397
6397
|
integration.credentialDelivery === "broker" ? integration.id : null,
|
|
6398
6398
|
// CodeRabbit on 5ddf5d6d: the CURRENT agent id first; the on-disk
|
|
6399
6399
|
// lookup only when it is missing or a placeholder.
|
|
6400
|
-
currentOrResolvedBrokerAgentId(input.agent.code_name, input.agent.agent_id)
|
|
6400
|
+
currentOrResolvedBrokerAgentId(input.agent.code_name, input.agent.agent_id),
|
|
6401
|
+
// ENG-12314: this install's granted tools, so a denied scope's tools
|
|
6402
|
+
// are not advertised or callable. Null when none survives: withheld
|
|
6403
|
+
// below, never a fall-through to the unfiltered direct entry.
|
|
6404
|
+
{ grantedTools: integration.grantedTools }
|
|
6401
6405
|
);
|
|
6402
6406
|
if (proxyEntry) {
|
|
6403
6407
|
mcpServers[serverKey] = proxyEntry;
|
|
@@ -6408,7 +6412,7 @@ function buildMcpJson(input) {
|
|
|
6408
6412
|
mcpServers[serverKey] = tierGatedEntry;
|
|
6409
6413
|
continue;
|
|
6410
6414
|
}
|
|
6411
|
-
if (mustNotRenderDirectRemoteMcp(integration.definition_id, integration.remoteMcp)) {
|
|
6415
|
+
if (mustNotRenderDirectRemoteMcp(integration.definition_id, integration.remoteMcp, integration.grantedTools)) {
|
|
6412
6416
|
console.error(withheldRemoteMcpMessage(integration.definition_id, withheldRemoteMcpReasonFor(integration)));
|
|
6413
6417
|
continue;
|
|
6414
6418
|
}
|
|
@@ -7719,7 +7723,9 @@ ${sections}`
|
|
|
7719
7723
|
integration.toolTiers,
|
|
7720
7724
|
// ENG-12046: see the spawn-path call above.
|
|
7721
7725
|
integration.credentialDelivery === "broker" ? integration.id : null,
|
|
7722
|
-
currentOrResolvedBrokerAgentId(codeName, agentId)
|
|
7726
|
+
currentOrResolvedBrokerAgentId(codeName, agentId),
|
|
7727
|
+
// ENG-12314: see the spawn-path call above.
|
|
7728
|
+
{ grantedTools: integration.grantedTools }
|
|
7723
7729
|
);
|
|
7724
7730
|
if (proxyEntry) {
|
|
7725
7731
|
this.writeMcpServer(codeName, serverKey, proxyEntry);
|
|
@@ -7730,7 +7736,7 @@ ${sections}`
|
|
|
7730
7736
|
this.writeMcpServer(codeName, serverKey, tierGatedEntry);
|
|
7731
7737
|
continue;
|
|
7732
7738
|
}
|
|
7733
|
-
if (mustNotRenderDirectRemoteMcp(integration.definition_id, integration.remoteMcp)) {
|
|
7739
|
+
if (mustNotRenderDirectRemoteMcp(integration.definition_id, integration.remoteMcp, integration.grantedTools)) {
|
|
7734
7740
|
console.error(withheldRemoteMcpMessage(integration.definition_id, withheldRemoteMcpReasonFor(integration)));
|
|
7735
7741
|
this.removeMcpServer?.(codeName, serverKey);
|
|
7736
7742
|
continue;
|
|
@@ -13876,4 +13882,4 @@ export {
|
|
|
13876
13882
|
managerInstallSystemUnitCommand,
|
|
13877
13883
|
managerUninstallSystemUnitCommand
|
|
13878
13884
|
};
|
|
13879
|
-
//# sourceMappingURL=chunk-
|
|
13885
|
+
//# sourceMappingURL=chunk-LNLKOJC5.js.map
|