@integrity-labs/agt-cli 0.28.722 → 0.28.724
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-E3WGN4GX.js → chunk-ATJU3SDV.js} +2 -2
- package/dist/{chunk-32WU3HBU.js → chunk-IXGIGDJG.js} +22 -1
- package/dist/chunk-IXGIGDJG.js.map +1 -0
- package/dist/{chunk-LWDPZWSO.js → chunk-KOAHMMPZ.js} +4 -4
- package/dist/{claude-pair-runtime-EKP2KR6N.js → claude-pair-runtime-XWPOUQMP.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +21 -0
- package/dist/mcp/index.js +21 -0
- package/dist/mcp/origami.js +21 -0
- package/dist/mcp/slack-channel.js +21 -0
- package/dist/mcp/telegram-channel.js +86 -0
- package/dist/{persistent-session-7NXQBNZB.js → persistent-session-CEC5KESY.js} +3 -3
- package/dist/{responsiveness-probe-UDFTVXOW.js → responsiveness-probe-J3VB4U4W.js} +3 -3
- package/dist/{session-auth-dead-DQW6NXDX.js → session-auth-dead-YQHE3WKV.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-32WU3HBU.js.map +0 -1
- /package/dist/{chunk-E3WGN4GX.js.map → chunk-ATJU3SDV.js.map} +0 -0
- /package/dist/{chunk-LWDPZWSO.js.map → chunk-KOAHMMPZ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-EKP2KR6N.js.map → claude-pair-runtime-XWPOUQMP.js.map} +0 -0
- /package/dist/{persistent-session-7NXQBNZB.js.map → persistent-session-CEC5KESY.js.map} +0 -0
- /package/dist/{responsiveness-probe-UDFTVXOW.js.map → responsiveness-probe-J3VB4U4W.js.map} +0 -0
- /package/dist/{session-auth-dead-DQW6NXDX.js.map → session-auth-dead-YQHE3WKV.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
success,
|
|
42
42
|
table,
|
|
43
43
|
warn
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-KOAHMMPZ.js";
|
|
45
45
|
import {
|
|
46
46
|
getProjectDir,
|
|
47
47
|
isSessionResumeDisabled,
|
|
48
48
|
readDirectChatSessionState
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-ATJU3SDV.js";
|
|
50
50
|
import {
|
|
51
51
|
AnchorSessionClient,
|
|
52
52
|
CHANNEL_REGISTRY,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
serializeManifestForSlackCli,
|
|
80
80
|
sessionFileExists,
|
|
81
81
|
sessionTranscriptDir
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-IXGIGDJG.js";
|
|
83
83
|
import "../chunk-XWVM4KPK.js";
|
|
84
84
|
|
|
85
85
|
// src/bin/agt.ts
|
|
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5467
5467
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5468
5468
|
import chalk18 from "chalk";
|
|
5469
5469
|
import ora16 from "ora";
|
|
5470
|
-
var cliVersion = true ? "0.28.
|
|
5470
|
+
var cliVersion = true ? "0.28.724" : "dev";
|
|
5471
5471
|
async function fetchLatestVersion() {
|
|
5472
5472
|
const host2 = getHost();
|
|
5473
5473
|
if (!host2) return null;
|
|
@@ -6654,7 +6654,7 @@ function handleError(err) {
|
|
|
6654
6654
|
}
|
|
6655
6655
|
|
|
6656
6656
|
// src/bin/agt.ts
|
|
6657
|
-
var cliVersion2 = true ? "0.28.
|
|
6657
|
+
var cliVersion2 = true ? "0.28.724" : "dev";
|
|
6658
6658
|
var program = new Command();
|
|
6659
6659
|
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");
|
|
6660
6660
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
rotateDailySession,
|
|
18
18
|
sessionFileExists,
|
|
19
19
|
todayLocalIso
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IXGIGDJG.js";
|
|
21
21
|
import {
|
|
22
22
|
reapOrphanChannelMcps
|
|
23
23
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -4694,4 +4694,4 @@ export {
|
|
|
4694
4694
|
stopAllSessionsAndWait,
|
|
4695
4695
|
getProjectDir
|
|
4696
4696
|
};
|
|
4697
|
-
//# sourceMappingURL=chunk-
|
|
4697
|
+
//# sourceMappingURL=chunk-ATJU3SDV.js.map
|
|
@@ -5476,6 +5476,27 @@ var FLAG_REGISTRY = [
|
|
|
5476
5476
|
// carrying an inert enforce-level email.require_approval row are NOT armed on deploy.
|
|
5477
5477
|
newOrgOverride: true
|
|
5478
5478
|
},
|
|
5479
|
+
{
|
|
5480
|
+
key: "mail-rule-control-enforcement",
|
|
5481
|
+
description: "Enforcement gate for the `email.mail_rules` guardrail (ENG-9640). A mail RULE is not a send: the agent installs a standing server-side instruction and the PROVIDER acts on it from then on \u2014 on mail that has not arrived yet, after the session ends, after the agent is paused or revoked, and after the integration is disconnected. So no fix to the send registry can reach it (ENG-9607 / ENG-9633 both closed the send surface), and before this guardrail NOTHING read the five rule-mutation tools at all. When ON for an org, a rule mutation whose classified disposition is held (egress / suppression / opaque) routes to Human Approval; a label-only filter passes untouched, which is what keeps the control from becoming a click-through. Deliberately separate from the guardrail row, for the ENG-9611 reason one step earlier: `email.mail_rules` is `default_for_new_orgs`, and org seeding writes those rows at `enforcement: 'enforce'`, so reading the row alone would arm a brand-new blocking control on deploy for every org created after it lands. Evaluated per-org. Ships dark.",
|
|
5482
|
+
flagType: "boolean",
|
|
5483
|
+
// Declared safe value is `false` (no hold). A flag-DB read error degrades here, matching
|
|
5484
|
+
// `email-require-approval-enforcement`: a control that cannot verify itself must not start
|
|
5485
|
+
// holding real customer traffic. Note this is the opposite of the CLASSIFIER's posture
|
|
5486
|
+
// inside mail-rule-tools.ts, which fails CLOSED on an unreadable rule — the two are
|
|
5487
|
+
// consistent, not contradictory. The classifier answers "is this rule dangerous?" and
|
|
5488
|
+
// resolves doubt towards held; the flag answers "is this org opted in at all?" and an
|
|
5489
|
+
// infrastructure blip is not an opt-in.
|
|
5490
|
+
defaultValue: false,
|
|
5491
|
+
// Turning it on holds real customer mail-rule changes pending a human tap, so it is a
|
|
5492
|
+
// deliberate, audited per-org flip (ADR-0022 §4).
|
|
5493
|
+
sensitive: true
|
|
5494
|
+
// NO newOrgOverride, unlike email-require-approval-enforcement. That flag armed new orgs
|
|
5495
|
+
// because its guardrail row had already sat inert for ~4 months, so the behaviour was
|
|
5496
|
+
// known. This control is net-new with no soak: arming it for every new org on deploy would
|
|
5497
|
+
// put a first-of-its-kind classifier in front of real customer traffic with nothing
|
|
5498
|
+
// observed. Arm per-org, then revisit once there is evidence.
|
|
5499
|
+
},
|
|
5479
5500
|
{
|
|
5480
5501
|
key: "email-guard-require-approval-enabled",
|
|
5481
5502
|
description: "Platform enable-gate for the email-domain guardrail REQUIRE_APPROVAL stage (ENG-7939). When ON for an org, a scope at email_guard_stage=require_approval routes a send to a non-allowed domain into Human Approval (an Approve/Deny card) instead of a hard block: the rollout UI unlocks the option and the write routes accept require_approval. When OFF (default) the write routes reject require_approval and the UI shows it as not yet available, so no scope can select it. Structurally also depends on hitl-approval-routing being on (the approval broker fails closed to a hard block when routing is off). Evaluated per-org. Ships dark.",
|
|
@@ -12966,4 +12987,4 @@ export {
|
|
|
12966
12987
|
peekCurrentSession,
|
|
12967
12988
|
readDailySessionPin
|
|
12968
12989
|
};
|
|
12969
|
-
//# sourceMappingURL=chunk-
|
|
12990
|
+
//# sourceMappingURL=chunk-IXGIGDJG.js.map
|