@integrity-labs/agt-cli 0.28.948 → 0.28.949
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-LRVXTEFJ.js → chunk-A3T3WOC2.js} +2 -2
- package/dist/{chunk-YZ5HGHPG.js → chunk-JANAAFED.js} +36 -1
- package/dist/{chunk-YZ5HGHPG.js.map → chunk-JANAAFED.js.map} +1 -1
- package/dist/{chunk-YGYDTSMZ.js → chunk-MTRJTGJL.js} +4 -4
- package/dist/{claude-code-updater-4E5T2X3Z.js → claude-code-updater-NAHJ6O6C.js} +37 -3
- package/dist/claude-code-updater-NAHJ6O6C.js.map +1 -0
- package/dist/{claude-pair-runtime-HCFLP3RT.js → claude-pair-runtime-7JTAECL4.js} +2 -2
- package/dist/lib/manager-worker.js +32 -19
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +35 -0
- package/dist/mcp/index.js +35 -0
- package/dist/mcp/origami.js +35 -0
- package/dist/mcp/slack-channel.js +35 -0
- package/dist/mcp/telegram-channel.js +35 -0
- package/dist/{persistent-session-WN4GLJUN.js → persistent-session-VX26HP7Z.js} +3 -3
- package/dist/{responsiveness-probe-DJMZ4WAU.js → responsiveness-probe-5LUHQCKN.js} +3 -3
- package/dist/{session-auth-dead-T5SUK2HT.js → session-auth-dead-2WOMHFPP.js} +2 -2
- package/package.json +1 -1
- package/dist/claude-code-updater-4E5T2X3Z.js.map +0 -1
- /package/dist/{chunk-LRVXTEFJ.js.map → chunk-A3T3WOC2.js.map} +0 -0
- /package/dist/{chunk-YGYDTSMZ.js.map → chunk-MTRJTGJL.js.map} +0 -0
- /package/dist/{claude-pair-runtime-HCFLP3RT.js.map → claude-pair-runtime-7JTAECL4.js.map} +0 -0
- /package/dist/{persistent-session-WN4GLJUN.js.map → persistent-session-VX26HP7Z.js.map} +0 -0
- /package/dist/{responsiveness-probe-DJMZ4WAU.js.map → responsiveness-probe-5LUHQCKN.js.map} +0 -0
- /package/dist/{session-auth-dead-T5SUK2HT.js.map → session-auth-dead-2WOMHFPP.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-MTRJTGJL.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-A3T3WOC2.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-JANAAFED.js";
|
|
83
83
|
import "../chunk-DHWNVVX4.js";
|
|
84
84
|
import "../chunk-XWVM4KPK.js";
|
|
85
85
|
|
|
@@ -5471,7 +5471,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5471
5471
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5472
5472
|
import chalk18 from "chalk";
|
|
5473
5473
|
import ora16 from "ora";
|
|
5474
|
-
var cliVersion = true ? "0.28.
|
|
5474
|
+
var cliVersion = true ? "0.28.949" : "dev";
|
|
5475
5475
|
async function fetchLatestVersion() {
|
|
5476
5476
|
const host2 = getHost();
|
|
5477
5477
|
if (!host2) return null;
|
|
@@ -6731,7 +6731,7 @@ function handleError(err) {
|
|
|
6731
6731
|
}
|
|
6732
6732
|
|
|
6733
6733
|
// src/bin/agt.ts
|
|
6734
|
-
var cliVersion2 = true ? "0.28.
|
|
6734
|
+
var cliVersion2 = true ? "0.28.949" : "dev";
|
|
6735
6735
|
var program = new Command();
|
|
6736
6736
|
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");
|
|
6737
6737
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
rotateDailySession,
|
|
20
20
|
sessionFileExists,
|
|
21
21
|
todayLocalIso
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JANAAFED.js";
|
|
23
23
|
import {
|
|
24
24
|
classifyUnanswerablePane,
|
|
25
25
|
findUsageLimitResetHint,
|
|
@@ -5454,4 +5454,4 @@ export {
|
|
|
5454
5454
|
stopAllSessionsAndWait,
|
|
5455
5455
|
getProjectDir
|
|
5456
5456
|
};
|
|
5457
|
-
//# sourceMappingURL=chunk-
|
|
5457
|
+
//# sourceMappingURL=chunk-A3T3WOC2.js.map
|
|
@@ -7218,7 +7218,42 @@ var FLAG_REGISTRY = [
|
|
|
7218
7218
|
// Deliberately NOT public. The browser has no decision to make here; the
|
|
7219
7219
|
// consumers are the host payload that builds `input.integrations` and the
|
|
7220
7220
|
// grant route that refuses to install the row while the flag is off.
|
|
7221
|
+
},
|
|
7222
|
+
{
|
|
7223
|
+
key: "ip-allowlist-enforce-admin-debug",
|
|
7224
|
+
description: "ENG-10594 - whether the IP allowlist on the admin-debug surface (/admin/debug/*, including the deliberately unauthenticated POST /admin/debug/token that exchanges a tlk_ key) REFUSES, or merely observes. OFF (default) = shadow: every request is still evaluated and logged with verdict=admit or verdict=would-refuse, and nothing is ever rejected. ON = a caller whose platform-attested source address is outside AGT_IP_ALLOWLIST_ADMIN_DEBUG gets a bare 403. THE SSM PARAMETER IS A SECOND LEVER AND BOTH ARE NEEDED: with the list unset this flag does nothing, because an unconfigured allowlist admits everyone by design. Arm in that order - populate the list, read the shadow logs until the would-refuse set is understood, then flip this. Deliberately global (evaluated with an empty context): the middleware runs BEFORE authentication, so there is no verified org to scope by, and taking one from an unverified request would let a caller choose its own enforcement posture. Separate from the mcp flag on purpose - see that entry.",
|
|
7225
|
+
flagType: "boolean",
|
|
7226
|
+
// Shadow. The measurement comes first: nobody yet knows the real set of
|
|
7227
|
+
// staff addresses, and arming against a guess locks you out of the very
|
|
7228
|
+
// tool you would use to diagnose the lockout.
|
|
7229
|
+
defaultValue: false,
|
|
7230
|
+
// Arming it changes who can reach production diagnostics. Worth one
|
|
7231
|
+
// confirmation.
|
|
7232
|
+
sensitive: true
|
|
7233
|
+
// Not public: the browser makes no decision from this. The only consumer is
|
|
7234
|
+
// packages/api/src/middleware/ip-allowlist.ts.
|
|
7221
7235
|
}
|
|
7236
|
+
// THERE IS DELIBERATELY NO `ip-allowlist-enforce-mcp` FLAG.
|
|
7237
|
+
//
|
|
7238
|
+
// The per-agent MCP surface (POST /agents/:codeName/mcp) is allowlist
|
|
7239
|
+
// SHADOW-ONLY, enforced structurally rather than by a default: its entry in
|
|
7240
|
+
// ENFORCE_FLAG (packages/api/src/middleware/ip-allowlist.ts) is null, so no
|
|
7241
|
+
// flag is consulted and no flag flip can arm it.
|
|
7242
|
+
//
|
|
7243
|
+
// Why it is not simply a second flag defaulting false: most of that surface's
|
|
7244
|
+
// callers have no allowlistable address at all. Per ADR-0032 only hosts in the
|
|
7245
|
+
// agt-hosts account egress through stable NAT EIPs; a host with
|
|
7246
|
+
// provision_source `self` or `customer-ec2`, or any BYO account, egresses from
|
|
7247
|
+
// an address the control plane cannot know. Arming against that population
|
|
7248
|
+
// black-holes a customer's whole fleet, and per
|
|
7249
|
+
// docs/runbooks/composio-allowlist-rollout.md this class of change has no
|
|
7250
|
+
// fleet-level undo. A flag would leave that one toggle away during an
|
|
7251
|
+
// incident, from someone who had just armed the admin-debug surface and
|
|
7252
|
+
// reasonably assumed the pair moved together. Requiring a code change puts
|
|
7253
|
+
// review in front of an irreversible action, which is the right price.
|
|
7254
|
+
//
|
|
7255
|
+
// If the shadow data ever shows the population IS allowlistable, adding the
|
|
7256
|
+
// flag here and a key in ENFORCE_FLAG is a small, deliberate diff.
|
|
7222
7257
|
];
|
|
7223
7258
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
7224
7259
|
function getFlagDefinition(key) {
|
|
@@ -14800,4 +14835,4 @@ export {
|
|
|
14800
14835
|
peekCurrentSession,
|
|
14801
14836
|
readDailySessionPin
|
|
14802
14837
|
};
|
|
14803
|
-
//# sourceMappingURL=chunk-
|
|
14838
|
+
//# sourceMappingURL=chunk-JANAAFED.js.map
|