@integrity-labs/agt-cli 0.28.1230 → 0.28.1232
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 +11 -6
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-IHVSRQIE.js → chunk-3CUCO6BU.js} +17 -3
- package/dist/{chunk-IHVSRQIE.js.map → chunk-3CUCO6BU.js.map} +1 -1
- package/dist/{chunk-AG4RMBPC.js → chunk-BDXOVKWJ.js} +2 -2
- package/dist/{chunk-K3H5MSQS.js → chunk-LS27F6QF.js} +32 -6
- package/dist/chunk-LS27F6QF.js.map +1 -0
- package/dist/{chunk-DDWK6QGY.js → chunk-QCBL7EBD.js} +2 -2
- package/dist/{chunk-4B5LCENE.js → chunk-XBADGTJP.js} +11 -1
- package/dist/chunk-XBADGTJP.js.map +1 -0
- package/dist/{claude-code-updater-W5FRCR44.js → claude-code-updater-R7QSZDGD.js} +3 -3
- package/dist/{claude-pair-runtime-QAITVF75.js → claude-pair-runtime-BH7XN36C.js} +3 -3
- package/dist/lib/manager-worker.js +32 -21
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +19 -2
- package/dist/mcp/index.js +14 -2
- package/dist/mcp/origami.js +10 -0
- package/dist/mcp/slack-channel.js +15 -1
- package/dist/mcp/teams-channel.js +5 -1
- package/dist/mcp/telegram-channel.js +15 -1
- package/dist/mcp/whatsapp-channel.js +5 -1
- package/dist/{persistent-session-TVE4RBPD.js → persistent-session-LQ4GJ264.js} +4 -4
- package/dist/{responsiveness-probe-G5YKDDTH.js → responsiveness-probe-NN7XEPJM.js} +4 -4
- package/dist/{session-auth-dead-ZUSPTKZ3.js → session-auth-dead-ESB735FG.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4B5LCENE.js.map +0 -1
- package/dist/chunk-K3H5MSQS.js.map +0 -1
- /package/dist/{chunk-AG4RMBPC.js.map → chunk-BDXOVKWJ.js.map} +0 -0
- /package/dist/{chunk-DDWK6QGY.js.map → chunk-QCBL7EBD.js.map} +0 -0
- /package/dist/{claude-code-updater-W5FRCR44.js.map → claude-code-updater-R7QSZDGD.js.map} +0 -0
- /package/dist/{claude-pair-runtime-QAITVF75.js.map → claude-pair-runtime-BH7XN36C.js.map} +0 -0
- /package/dist/{persistent-session-TVE4RBPD.js.map → persistent-session-LQ4GJ264.js.map} +0 -0
- /package/dist/{responsiveness-probe-G5YKDDTH.js.map → responsiveness-probe-NN7XEPJM.js.map} +0 -0
- /package/dist/{session-auth-dead-ZUSPTKZ3.js.map → session-auth-dead-ESB735FG.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeClaudeProjectPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XBADGTJP.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/daily-session.ts
|
|
6
6
|
import { randomUUID } from "crypto";
|
|
@@ -244,4 +244,4 @@ export {
|
|
|
244
244
|
peekPreviousSession,
|
|
245
245
|
readDailySessionPin
|
|
246
246
|
};
|
|
247
|
-
//# sourceMappingURL=chunk-
|
|
247
|
+
//# sourceMappingURL=chunk-BDXOVKWJ.js.map
|
|
@@ -15,12 +15,14 @@ import {
|
|
|
15
15
|
mergeEnvIntegrationsContent,
|
|
16
16
|
parseEnvFileEntries,
|
|
17
17
|
parseEnvIntegrations,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
requiresRemoteMcpToolGate,
|
|
19
|
+
shellQuote,
|
|
20
|
+
withheldRemoteMcpMessage
|
|
21
|
+
} from "./chunk-3CUCO6BU.js";
|
|
20
22
|
import {
|
|
21
23
|
readDailySessionPin,
|
|
22
24
|
sessionTranscriptDir
|
|
23
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BDXOVKWJ.js";
|
|
24
26
|
import {
|
|
25
27
|
classifyUnanswerablePane,
|
|
26
28
|
isConsumerTermsDialogVisible,
|
|
@@ -93,7 +95,7 @@ import {
|
|
|
93
95
|
scanConfigForLiteralSecrets,
|
|
94
96
|
worseConnectivityOutcome,
|
|
95
97
|
wrapScheduledTaskPrompt
|
|
96
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-XBADGTJP.js";
|
|
97
99
|
import {
|
|
98
100
|
claudeJsonPathFor,
|
|
99
101
|
effectiveClaudeJsonPath,
|
|
@@ -6093,6 +6095,10 @@ function buildMcpJson(input) {
|
|
|
6093
6095
|
mcpServers[serverKey] = tierGatedEntry;
|
|
6094
6096
|
continue;
|
|
6095
6097
|
}
|
|
6098
|
+
if (requiresRemoteMcpToolGate(integration.definition_id, integration.remoteMcp)) {
|
|
6099
|
+
console.error(withheldRemoteMcpMessage(integration.definition_id, integration.toolTiers == null ? "no_tier_table" : "no_gated_tool"));
|
|
6100
|
+
continue;
|
|
6101
|
+
}
|
|
6096
6102
|
const entry = buildRemoteMcpEntry(integration.definition_id, integration.remoteMcp, connectionKey);
|
|
6097
6103
|
if (entry) {
|
|
6098
6104
|
mcpServers[serverKey] = entry;
|
|
@@ -7403,6 +7409,11 @@ ${sections}`
|
|
|
7403
7409
|
this.writeMcpServer(codeName, serverKey, tierGatedEntry);
|
|
7404
7410
|
continue;
|
|
7405
7411
|
}
|
|
7412
|
+
if (requiresRemoteMcpToolGate(integration.definition_id, integration.remoteMcp)) {
|
|
7413
|
+
console.error(withheldRemoteMcpMessage(integration.definition_id, integration.toolTiers == null ? "no_tier_table" : "no_gated_tool"));
|
|
7414
|
+
this.removeMcpServer?.(codeName, serverKey);
|
|
7415
|
+
continue;
|
|
7416
|
+
}
|
|
7406
7417
|
const entry = buildRemoteMcpEntry(integration.definition_id, integration.remoteMcp, connectionKey);
|
|
7407
7418
|
if (entry) {
|
|
7408
7419
|
this.writeMcpServer(codeName, serverKey, entry);
|
|
@@ -8084,7 +8095,7 @@ function exchangeFailureKind(err) {
|
|
|
8084
8095
|
}
|
|
8085
8096
|
|
|
8086
8097
|
// src/lib/api-client.ts
|
|
8087
|
-
var agtCliVersion = true ? "0.28.
|
|
8098
|
+
var agtCliVersion = true ? "0.28.1232" : "dev";
|
|
8088
8099
|
var lastConfigHash = null;
|
|
8089
8100
|
function setConfigHash(hash) {
|
|
8090
8101
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11346,6 +11357,15 @@ async function runSessionToolBindProbes(integrations, options) {
|
|
|
11346
11357
|
});
|
|
11347
11358
|
continue;
|
|
11348
11359
|
}
|
|
11360
|
+
if (integ.requires_tool_gate === true && options.forced !== true) {
|
|
11361
|
+
reports.push({
|
|
11362
|
+
integration_id: integ.id,
|
|
11363
|
+
scope: integ.scope,
|
|
11364
|
+
status: "missing",
|
|
11365
|
+
remediable: false
|
|
11366
|
+
});
|
|
11367
|
+
continue;
|
|
11368
|
+
}
|
|
11349
11369
|
skipped += 1;
|
|
11350
11370
|
skippedDetail.push({ definition_id: integ.definition_id, reason: "no-declared-server" });
|
|
11351
11371
|
continue;
|
|
@@ -11979,6 +11999,9 @@ function deliveryFields(i) {
|
|
|
11979
11999
|
}
|
|
11980
12000
|
return out;
|
|
11981
12001
|
}
|
|
12002
|
+
function toolGateField(i) {
|
|
12003
|
+
return i.remote_mcp?.requireToolTiers === true ? { requires_tool_gate: true } : {};
|
|
12004
|
+
}
|
|
11982
12005
|
async function gatherSessionToolBindProbe(agent, integrations, projectDir, opts) {
|
|
11983
12006
|
if (integrations.length === 0) return null;
|
|
11984
12007
|
let mcpRaw = null;
|
|
@@ -12045,6 +12068,8 @@ async function gatherSessionToolBindProbe(agent, integrations, projectDir, opts)
|
|
|
12045
12068
|
id: i.id,
|
|
12046
12069
|
definition_id: i.definition_id,
|
|
12047
12070
|
scope: i.scope,
|
|
12071
|
+
// CS-1561: a withheld gate-requiring remote MCP is reported, not skipped.
|
|
12072
|
+
...toolGateField(i),
|
|
12048
12073
|
last_session_tool_bind_at: i.last_session_tool_bind_at ?? null,
|
|
12049
12074
|
// ENG-9114: forwarded by PRESENCE, not by value. `hasDeliverySignal` in
|
|
12050
12075
|
// the runner asks "did the API speak about delivery at all?", and spreading
|
|
@@ -12075,6 +12100,7 @@ async function gatherSessionToolBindProbe(agent, integrations, projectDir, opts)
|
|
|
12075
12100
|
sessionLoadedServerKeys: opts.sessionLoadedServerKeys,
|
|
12076
12101
|
sessionStartedMs: opts.sessionStartedMs,
|
|
12077
12102
|
intervalMs: opts.intervalMs,
|
|
12103
|
+
...opts.forced ? { forced: true } : {},
|
|
12078
12104
|
...opts.maxPerRun !== void 0 ? { maxPerRun: opts.maxPerRun } : {}
|
|
12079
12105
|
}
|
|
12080
12106
|
);
|
|
@@ -13724,4 +13750,4 @@ export {
|
|
|
13724
13750
|
managerInstallSystemUnitCommand,
|
|
13725
13751
|
managerUninstallSystemUnitCommand
|
|
13726
13752
|
};
|
|
13727
|
-
//# sourceMappingURL=chunk-
|
|
13753
|
+
//# sourceMappingURL=chunk-LS27F6QF.js.map
|