@integrity-labs/agt-cli 0.28.611 → 0.28.612
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-DD6NRRYC.js → chunk-DJP4JZGE.js} +2 -2
- package/dist/{chunk-6L5WLLVR.js → chunk-F2WTBHMD.js} +4 -4
- package/dist/{chunk-2ASO4HVN.js → chunk-RQAAW5LL.js} +24 -1
- package/dist/chunk-RQAAW5LL.js.map +1 -0
- package/dist/{claude-pair-runtime-SZM65MVE.js → claude-pair-runtime-4MKFMNYN.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +30 -3
- package/dist/mcp/origami.js +23 -0
- package/dist/mcp/slack-channel.js +30 -3
- package/dist/mcp/telegram-channel.js +30 -3
- package/dist/{persistent-session-JWBUD6RZ.js → persistent-session-KO24RZN7.js} +3 -3
- package/dist/{responsiveness-probe-GJEX44DE.js → responsiveness-probe-V4O7DXYV.js} +3 -3
- package/dist/{session-auth-dead-LBRWZQPW.js → session-auth-dead-S7WK33WO.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2ASO4HVN.js.map +0 -1
- /package/dist/{chunk-DD6NRRYC.js.map → chunk-DJP4JZGE.js.map} +0 -0
- /package/dist/{chunk-6L5WLLVR.js.map → chunk-F2WTBHMD.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SZM65MVE.js.map → claude-pair-runtime-4MKFMNYN.js.map} +0 -0
- /package/dist/{persistent-session-JWBUD6RZ.js.map → persistent-session-KO24RZN7.js.map} +0 -0
- /package/dist/{responsiveness-probe-GJEX44DE.js.map → responsiveness-probe-V4O7DXYV.js.map} +0 -0
- /package/dist/{session-auth-dead-LBRWZQPW.js.map → session-auth-dead-S7WK33WO.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-F2WTBHMD.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-DJP4JZGE.js";
|
|
47
47
|
import {
|
|
48
48
|
AnchorSessionClient,
|
|
49
49
|
CHANNEL_REGISTRY,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
requiredMcpWildcard,
|
|
74
74
|
resolveChannels,
|
|
75
75
|
serializeManifestForSlackCli
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-RQAAW5LL.js";
|
|
77
77
|
import "../chunk-XWVM4KPK.js";
|
|
78
78
|
|
|
79
79
|
// src/bin/agt.ts
|
|
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4909
4909
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4910
4910
|
import chalk18 from "chalk";
|
|
4911
4911
|
import ora16 from "ora";
|
|
4912
|
-
var cliVersion = true ? "0.28.
|
|
4912
|
+
var cliVersion = true ? "0.28.612" : "dev";
|
|
4913
4913
|
async function fetchLatestVersion() {
|
|
4914
4914
|
const host2 = getHost();
|
|
4915
4915
|
if (!host2) return null;
|
|
@@ -6089,7 +6089,7 @@ function handleError(err) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
|
|
6091
6091
|
// src/bin/agt.ts
|
|
6092
|
-
var cliVersion2 = true ? "0.28.
|
|
6092
|
+
var cliVersion2 = true ? "0.28.612" : "dev";
|
|
6093
6093
|
var program = new Command();
|
|
6094
6094
|
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");
|
|
6095
6095
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
rotateDailySession,
|
|
17
17
|
sessionFileExists,
|
|
18
18
|
todayLocalIso
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RQAAW5LL.js";
|
|
20
20
|
import {
|
|
21
21
|
reapOrphanChannelMcps
|
|
22
22
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -4349,4 +4349,4 @@ export {
|
|
|
4349
4349
|
stopAllSessionsAndWait,
|
|
4350
4350
|
getProjectDir
|
|
4351
4351
|
};
|
|
4352
|
-
//# sourceMappingURL=chunk-
|
|
4352
|
+
//# sourceMappingURL=chunk-DJP4JZGE.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
expandTemplateVars,
|
|
8
8
|
isolationMode,
|
|
9
9
|
parseEnvIntegrations
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DJP4JZGE.js";
|
|
11
11
|
import {
|
|
12
12
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
13
13
|
INTEGRATIONS_SECTION_END,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
resolveConnectivityProbe,
|
|
49
49
|
worseConnectivityOutcome,
|
|
50
50
|
wrapScheduledTaskPrompt
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-RQAAW5LL.js";
|
|
52
52
|
import {
|
|
53
53
|
parsePsRows
|
|
54
54
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6030,7 +6030,7 @@ function exchangeFailureKind(err) {
|
|
|
6030
6030
|
}
|
|
6031
6031
|
|
|
6032
6032
|
// src/lib/api-client.ts
|
|
6033
|
-
var agtCliVersion = true ? "0.28.
|
|
6033
|
+
var agtCliVersion = true ? "0.28.612" : "dev";
|
|
6034
6034
|
var lastConfigHash = null;
|
|
6035
6035
|
function setConfigHash(hash) {
|
|
6036
6036
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9505,4 +9505,4 @@ export {
|
|
|
9505
9505
|
managerInstallSystemUnitCommand,
|
|
9506
9506
|
managerUninstallSystemUnitCommand
|
|
9507
9507
|
};
|
|
9508
|
-
//# sourceMappingURL=chunk-
|
|
9508
|
+
//# sourceMappingURL=chunk-F2WTBHMD.js.map
|
|
@@ -4119,6 +4119,29 @@ var KANBAN_NUDGE_ACTIONABLE_STATUSES = ["todo", "in_progress"];
|
|
|
4119
4119
|
|
|
4120
4120
|
// ../../packages/core/dist/feature-flags/registry.js
|
|
4121
4121
|
var FLAG_REGISTRY = [
|
|
4122
|
+
{
|
|
4123
|
+
key: "impersonation-enabled",
|
|
4124
|
+
description: "Kill switch for admin impersonation (ENG-9080), filed during the 18 Aug cross-tenant identity incident. ON (default) = impersonation works as today. OFF = both halves of the flow refuse: the mint route stops issuing redeem URLs, and \u2014 the half that actually matters \u2014 the REDEEM route refuses before it inserts the nonce or calls generateLink, so a URL that was already issued cannot still mint a session. Redeem tokens live REDEEM_TTL_SECONDS = 300, so gating only the mint route would leave five minutes in which new sessions keep appearing after an operator believes they have stopped it. Evaluated as a GLOBAL stage value, read UNCACHED on the redeem path (see readImpersonationEnabled): a kill switch that takes a cache TTL to bite is not a kill switch. Containment only \u2014 it does not fix the underlying defect that redeem writes the target's cookies into whatever browser context opens the URL (ENG-8923 / ENG-9020).",
|
|
4125
|
+
flagType: "boolean",
|
|
4126
|
+
// Declared safe value is `true` = impersonation available, i.e. today's
|
|
4127
|
+
// behaviour, so merging this changes nothing until an operator flips it.
|
|
4128
|
+
//
|
|
4129
|
+
// NOTE the asymmetry with the other gates in this file, and it is
|
|
4130
|
+
// deliberate: their safe direction is "off / don't do the new thing"
|
|
4131
|
+
// because they gate NEW behaviour. This one gates EXISTING behaviour, so
|
|
4132
|
+
// the no-op default is `true`. The READ direction is where the safety lives
|
|
4133
|
+
// instead — an unreachable flag store resolves to DISABLED, not to this
|
|
4134
|
+
// default. See readImpersonationEnabled for that argument.
|
|
4135
|
+
defaultValue: true,
|
|
4136
|
+
// Enforcement gate (ADR-0022 section 4): re-enabling impersonation is
|
|
4137
|
+
// "relaxing a security control", exactly the mutation that must not happen
|
|
4138
|
+
// on a single unguarded write. The emergency direction (turning it OFF)
|
|
4139
|
+
// costs one confirmation, which is the right price.
|
|
4140
|
+
sensitive: true
|
|
4141
|
+
// Deliberately NOT public. A browser has no business evaluating whether
|
|
4142
|
+
// impersonation is available; both consumers are server-side route
|
|
4143
|
+
// handlers.
|
|
4144
|
+
},
|
|
4122
4145
|
{
|
|
4123
4146
|
key: "at-rest-v2-writes",
|
|
4124
4147
|
description: "ADR-0061 A2\u2192arm cutover (ENG-8944, parent ENG-8764). Gates whether the at-rest writer (encryptSecret/encryptAtRest) emits the v2 AAD-bound envelope when a DecryptContext is supplied; OFF (default) = the legacy v1 envelope (pre-ADR-0061 behaviour). Resolved FLEET-WIDE and process-global via setV2WritesArmed at the API + webapp + cron bootstrap seams, so ONLY the stage value applies \u2014 per-org overrides do not (the crypto writer carries no request/org context). Ships dark. Flip on only once every reader parses v2 (fleet-wide since release A1) AND the re-seal engine can re-seal v2 blobs before any AUTH_ENCRYPTION_KEY rotation (slice 5b). Reversible without redeploy: clearing it returns the writer to v1 within the flag cache TTL; already-written v2 blobs stay readable.",
|
|
@@ -11934,4 +11957,4 @@ export {
|
|
|
11934
11957
|
minutesSinceLocalMidnight,
|
|
11935
11958
|
peekCurrentSession
|
|
11936
11959
|
};
|
|
11937
|
-
//# sourceMappingURL=chunk-
|
|
11960
|
+
//# sourceMappingURL=chunk-RQAAW5LL.js.map
|