@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
package/dist/bin/agt.js
CHANGED
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-RQ3I7GMD.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-DN3KNGP4.js";
|
|
49
49
|
import {
|
|
50
50
|
AnchorSessionClient,
|
|
51
51
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-C72SNMP6.js";
|
|
83
83
|
import "../chunk-DHWNVVX4.js";
|
|
84
84
|
import "../chunk-XWVM4KPK.js";
|
|
85
85
|
|
|
@@ -5472,7 +5472,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5472
5472
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5473
5473
|
import chalk18 from "chalk";
|
|
5474
5474
|
import ora16 from "ora";
|
|
5475
|
-
var cliVersion = true ? "0.28.
|
|
5475
|
+
var cliVersion = true ? "0.28.991" : "dev";
|
|
5476
5476
|
async function fetchLatestVersion() {
|
|
5477
5477
|
const host2 = getHost();
|
|
5478
5478
|
if (!host2) return null;
|
|
@@ -6732,7 +6732,7 @@ function handleError(err) {
|
|
|
6732
6732
|
}
|
|
6733
6733
|
|
|
6734
6734
|
// src/bin/agt.ts
|
|
6735
|
-
var cliVersion2 = true ? "0.28.
|
|
6735
|
+
var cliVersion2 = true ? "0.28.991" : "dev";
|
|
6736
6736
|
var program = new Command();
|
|
6737
6737
|
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");
|
|
6738
6738
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -9560,6 +9560,11 @@ var ajv2 = new Ajv20202({ allErrors: true, strict: false });
|
|
|
9560
9560
|
addFormats2(ajv2);
|
|
9561
9561
|
var compiledMetaSchema = ajv2.compile(context_meta_schema_default);
|
|
9562
9562
|
|
|
9563
|
+
// ../../packages/core/dist/integrations/hitl-resolver.js
|
|
9564
|
+
function isAutoTier(tier) {
|
|
9565
|
+
return tier === "read" || tier === "write";
|
|
9566
|
+
}
|
|
9567
|
+
|
|
9563
9568
|
// ../../packages/core/dist/integrations/tool-tier-heuristic.js
|
|
9564
9569
|
var READ_VERBS = "GET|LIST|FIND|FETCH|RETRIEVE|SEARCH|QUERY|DESCRIBE|INSPECT|SCAN|SHOW|VIEW|READ|EXPORT|DOWNLOAD";
|
|
9565
9570
|
var NO_READ_VERB_ACTION = `(?!(?:^|.*[_-])(${READ_VERBS})[_-])`;
|
|
@@ -12614,7 +12619,21 @@ var REMOTE_MCP_PROXY_ENV = {
|
|
|
12614
12619
|
// success. Deliberately NOT in REMOTE_MCP_AUTH_ENV_KEYS: it shapes which calls
|
|
12615
12620
|
// we forward, not what an outbound request looks like, so the probe (which
|
|
12616
12621
|
// never issues a tools/call) has nothing to reconstruct from it.
|
|
12617
|
-
argRejects: "AGT_REMOTE_MCP_ARG_REJECTS"
|
|
12622
|
+
argRejects: "AGT_REMOTE_MCP_ARG_REJECTS",
|
|
12623
|
+
// ENG-10614: the per-tool HITL floor table, as JSON `{ "<tool>": "<tier>" }`.
|
|
12624
|
+
//
|
|
12625
|
+
// WHY THIS EXISTS AT ALL. A hosted API-key remote MCP is called by Claude Code
|
|
12626
|
+
// straight at the vendor, so none of the three brokered HITL gates
|
|
12627
|
+
// (`enforceComposioHitlGate`, `hitlGateForBrokerCall`, the CLI lane) is in the
|
|
12628
|
+
// path, and `tool_definitions.min_hitl_tier` was read by nothing on this lane
|
|
12629
|
+
// — measured: zero hits for that column under `packages/core/src/provisioning`,
|
|
12630
|
+
// `packages/mcp/src` or `apps/cli/src`. The catalog said `delete_item` needed
|
|
12631
|
+
// approval and the call went straight out.
|
|
12632
|
+
//
|
|
12633
|
+
// Deliberately NOT in REMOTE_MCP_AUTH_ENV_KEYS, for the same reason as
|
|
12634
|
+
// `argRejects`: it shapes WHICH calls we forward, not what an outbound request
|
|
12635
|
+
// looks like, so the connectivity probe has nothing to reconstruct from it.
|
|
12636
|
+
toolTiers: "AGT_REMOTE_MCP_TOOL_TIERS"
|
|
12618
12637
|
};
|
|
12619
12638
|
var REMOTE_MCP_AUTH_ENV_KEYS = [
|
|
12620
12639
|
REMOTE_MCP_PROXY_ENV.tokenVar,
|
|
@@ -15120,6 +15139,11 @@ export {
|
|
|
15120
15139
|
remoteMcpEnvPrefix,
|
|
15121
15140
|
remoteMcpConnectionScopedEnvVar,
|
|
15122
15141
|
remoteMcpConnectionLabel,
|
|
15142
|
+
HITL_TIER_ORDER,
|
|
15143
|
+
isAutoTier,
|
|
15144
|
+
REMOTE_MCP_PROXY_ENV,
|
|
15145
|
+
readRemoteMcpAuthConfig,
|
|
15146
|
+
buildForwardHeaders,
|
|
15123
15147
|
isControlPlaneOnlyConfigKey,
|
|
15124
15148
|
isControlPlaneOnlyEnvVar,
|
|
15125
15149
|
senderPolicyIsEnforcedOn,
|
|
@@ -15163,9 +15187,6 @@ export {
|
|
|
15163
15187
|
PROBE_TOOLKIT_PATH_DIRS,
|
|
15164
15188
|
PROBE_HOME_RELATIVE_PATH_SEGMENTS,
|
|
15165
15189
|
PROBE_SYSTEM_PATH_FLOOR,
|
|
15166
|
-
REMOTE_MCP_PROXY_ENV,
|
|
15167
|
-
readRemoteMcpAuthConfig,
|
|
15168
|
-
buildForwardHeaders,
|
|
15169
15190
|
SLACK_SOCKET_STATE_FILENAME,
|
|
15170
15191
|
parseSlackSocketState,
|
|
15171
15192
|
isSlackInboundTransportDown,
|
|
@@ -15258,4 +15279,4 @@ export {
|
|
|
15258
15279
|
peekCurrentSession,
|
|
15259
15280
|
readDailySessionPin
|
|
15260
15281
|
};
|
|
15261
|
-
//# sourceMappingURL=chunk-
|
|
15282
|
+
//# sourceMappingURL=chunk-C72SNMP6.js.map
|