@integrity-labs/agt-cli 0.28.1254 → 0.28.1255

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.
Files changed (30) hide show
  1. package/dist/{api-client-EW7NBMWI.js → api-client-QWPG4CTP.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-AZOT5URF.js → chunk-FHBQ567A.js} +2 -2
  4. package/dist/{chunk-EWD3K6YD.js → chunk-JNG5SRQC.js} +1 -1
  5. package/dist/chunk-JNG5SRQC.js.map +1 -0
  6. package/dist/{chunk-SEXB6LTM.js → chunk-JZFSKDEJ.js} +15 -13
  7. package/dist/chunk-JZFSKDEJ.js.map +1 -0
  8. package/dist/{chunk-FD3GWWVL.js → chunk-M4IKX2W2.js} +3 -3
  9. package/dist/{chunk-ZKLOPCWS.js → chunk-YRKZIOZ4.js} +56 -9
  10. package/dist/{chunk-ZKLOPCWS.js.map → chunk-YRKZIOZ4.js.map} +1 -1
  11. package/dist/{chunk-ZDON4IXL.js → chunk-ZGG6D257.js} +2 -2
  12. package/dist/{claude-code-updater-CHEL6LOF.js → claude-code-updater-DE7N7KAQ.js} +3 -3
  13. package/dist/{claude-pair-runtime-AGJH54AR.js → claude-pair-runtime-NNQOJHPB.js} +3 -3
  14. package/dist/lib/manager-worker.js +29 -22
  15. package/dist/lib/manager-worker.js.map +1 -1
  16. package/dist/{persistent-session-HQPQPNPK.js → persistent-session-JR6TQJXM.js} +4 -4
  17. package/dist/{responsiveness-probe-6GNSPLD2.js → responsiveness-probe-MOGAXCXI.js} +4 -4
  18. package/dist/{session-auth-dead-4Z24MU6C.js → session-auth-dead-KZ7BTXYR.js} +3 -3
  19. package/package.json +1 -1
  20. package/dist/chunk-EWD3K6YD.js.map +0 -1
  21. package/dist/chunk-SEXB6LTM.js.map +0 -1
  22. /package/dist/{api-client-EW7NBMWI.js.map → api-client-QWPG4CTP.js.map} +0 -0
  23. /package/dist/{chunk-AZOT5URF.js.map → chunk-FHBQ567A.js.map} +0 -0
  24. /package/dist/{chunk-FD3GWWVL.js.map → chunk-M4IKX2W2.js.map} +0 -0
  25. /package/dist/{chunk-ZDON4IXL.js.map → chunk-ZGG6D257.js.map} +0 -0
  26. /package/dist/{claude-code-updater-CHEL6LOF.js.map → claude-code-updater-DE7N7KAQ.js.map} +0 -0
  27. /package/dist/{claude-pair-runtime-AGJH54AR.js.map → claude-pair-runtime-NNQOJHPB.js.map} +0 -0
  28. /package/dist/{persistent-session-HQPQPNPK.js.map → persistent-session-JR6TQJXM.js.map} +0 -0
  29. /package/dist/{responsiveness-probe-6GNSPLD2.js.map → responsiveness-probe-MOGAXCXI.js.map} +0 -0
  30. /package/dist/{session-auth-dead-4Z24MU6C.js.map → session-auth-dead-KZ7BTXYR.js.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  exchangeApiKey,
3
3
  getApiKey,
4
4
  getHost
5
- } from "./chunk-FD3GWWVL.js";
5
+ } from "./chunk-M4IKX2W2.js";
6
6
  import {
7
7
  LATE_BOUND_VARS,
8
8
  PLATFORM_DENY_PERMISSIONS,
@@ -15,19 +15,21 @@ import {
15
15
  expandTemplateVars,
16
16
  getProjectDir,
17
17
  hardBoundedExecFile,
18
+ hasToolAllowlistField,
18
19
  isolationMode,
19
20
  log,
20
21
  mergeEnvIntegrationsContent,
22
+ mustNotRenderDirectRemoteMcp,
21
23
  parseEnvFileEntries,
22
24
  parseEnvIntegrations,
23
- requiresRemoteMcpToolGate,
24
25
  shellQuote,
25
- withheldRemoteMcpMessage
26
- } from "./chunk-ZKLOPCWS.js";
26
+ withheldRemoteMcpMessage,
27
+ withheldRemoteMcpReasonFor
28
+ } from "./chunk-YRKZIOZ4.js";
27
29
  import {
28
30
  readDailySessionPin,
29
31
  sessionTranscriptDir
30
- } from "./chunk-ZDON4IXL.js";
32
+ } from "./chunk-ZGG6D257.js";
31
33
  import {
32
34
  classifyUnanswerablePane,
33
35
  isConsumerTermsDialogVisible,
@@ -99,7 +101,7 @@ import {
99
101
  scanConfigForLiteralSecrets,
100
102
  worseConnectivityOutcome,
101
103
  wrapScheduledTaskPrompt
102
- } from "./chunk-EWD3K6YD.js";
104
+ } from "./chunk-JNG5SRQC.js";
103
105
  import {
104
106
  claudeJsonPathFor,
105
107
  effectiveClaudeJsonPath,
@@ -6107,7 +6109,7 @@ function buildMcpJson(input) {
6107
6109
  mcpServers[serverKey] = liveEntry;
6108
6110
  continue;
6109
6111
  }
6110
- const proxyEntry = buildOAuthRemoteMcpProxyEntry(
6112
+ const proxyEntry = hasToolAllowlistField(integration.remoteMcp) ? null : buildOAuthRemoteMcpProxyEntry(
6111
6113
  integration.definition_id,
6112
6114
  remoteOAuthProxyPaths,
6113
6115
  connectionKey,
@@ -6128,8 +6130,8 @@ function buildMcpJson(input) {
6128
6130
  mcpServers[serverKey] = tierGatedEntry;
6129
6131
  continue;
6130
6132
  }
6131
- if (requiresRemoteMcpToolGate(integration.definition_id, integration.remoteMcp)) {
6132
- console.error(withheldRemoteMcpMessage(integration.definition_id, integration.toolTiers == null ? "no_tier_table" : "no_gated_tool"));
6133
+ if (mustNotRenderDirectRemoteMcp(integration.definition_id, integration.remoteMcp)) {
6134
+ console.error(withheldRemoteMcpMessage(integration.definition_id, withheldRemoteMcpReasonFor(integration)));
6133
6135
  continue;
6134
6136
  }
6135
6137
  const entry = buildRemoteMcpEntry(integration.definition_id, integration.remoteMcp, connectionKey);
@@ -7432,7 +7434,7 @@ ${sections}`
7432
7434
  this.writeMcpServer(codeName, serverKey, liveEntry);
7433
7435
  continue;
7434
7436
  }
7435
- const proxyEntry = buildOAuthRemoteMcpProxyEntry(
7437
+ const proxyEntry = hasToolAllowlistField(integration.remoteMcp) ? null : buildOAuthRemoteMcpProxyEntry(
7436
7438
  integration.definition_id,
7437
7439
  remoteOAuthProxyPaths,
7438
7440
  connectionKey,
@@ -7450,8 +7452,8 @@ ${sections}`
7450
7452
  this.writeMcpServer(codeName, serverKey, tierGatedEntry);
7451
7453
  continue;
7452
7454
  }
7453
- if (requiresRemoteMcpToolGate(integration.definition_id, integration.remoteMcp)) {
7454
- console.error(withheldRemoteMcpMessage(integration.definition_id, integration.toolTiers == null ? "no_tier_table" : "no_gated_tool"));
7455
+ if (mustNotRenderDirectRemoteMcp(integration.definition_id, integration.remoteMcp)) {
7456
+ console.error(withheldRemoteMcpMessage(integration.definition_id, withheldRemoteMcpReasonFor(integration)));
7455
7457
  this.removeMcpServer?.(codeName, serverKey);
7456
7458
  continue;
7457
7459
  }
@@ -13532,4 +13534,4 @@ export {
13532
13534
  managerInstallSystemUnitCommand,
13533
13535
  managerUninstallSystemUnitCommand
13534
13536
  };
13535
- //# sourceMappingURL=chunk-SEXB6LTM.js.map
13537
+ //# sourceMappingURL=chunk-JZFSKDEJ.js.map