@integrity-labs/agt-cli 0.28.611 → 0.28.613
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-6L5WLLVR.js → chunk-D7EV77TB.js} +4 -4
- package/dist/{chunk-DD6NRRYC.js → chunk-JRL7754L.js} +2 -2
- package/dist/{chunk-2ASO4HVN.js → chunk-ZQXXK7JC.js} +32 -2
- package/dist/chunk-ZQXXK7JC.js.map +1 -0
- package/dist/{claude-pair-runtime-SZM65MVE.js → claude-pair-runtime-3UQ63455.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +38 -4
- package/dist/mcp/origami.js +31 -1
- package/dist/mcp/slack-channel.js +228 -16
- package/dist/mcp/telegram-channel.js +38 -4
- package/dist/{persistent-session-JWBUD6RZ.js → persistent-session-U7PE7ZDB.js} +3 -3
- package/dist/{responsiveness-probe-GJEX44DE.js → responsiveness-probe-K6DGNTXA.js} +3 -3
- package/dist/{session-auth-dead-LBRWZQPW.js → session-auth-dead-RPMWBVBH.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2ASO4HVN.js.map +0 -1
- /package/dist/{chunk-6L5WLLVR.js.map → chunk-D7EV77TB.js.map} +0 -0
- /package/dist/{chunk-DD6NRRYC.js.map → chunk-JRL7754L.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SZM65MVE.js.map → claude-pair-runtime-3UQ63455.js.map} +0 -0
- /package/dist/{persistent-session-JWBUD6RZ.js.map → persistent-session-U7PE7ZDB.js.map} +0 -0
- /package/dist/{responsiveness-probe-GJEX44DE.js.map → responsiveness-probe-K6DGNTXA.js.map} +0 -0
- /package/dist/{session-auth-dead-LBRWZQPW.js.map → session-auth-dead-RPMWBVBH.js.map} +0 -0
|
@@ -34476,7 +34476,14 @@ var AGENT_DIRECTED_NOTICE_KINDS = [
|
|
|
34476
34476
|
// written for the machine. The user learns the same fact from the connect card
|
|
34477
34477
|
// in that conversation flipping to its connected state, so showing this row as
|
|
34478
34478
|
// well would say it twice, the second time in prose aimed at an agent.
|
|
34479
|
-
"integration_connected"
|
|
34479
|
+
"integration_connected",
|
|
34480
|
+
// ENG-8745. The offer RESULT receipt (not the offer card — that one is
|
|
34481
|
+
// written for the human and is how they decided). Its content opens "Your
|
|
34482
|
+
// offer was ACCEPTED", carries an `[offer_result]` machine tag, and closes by
|
|
34483
|
+
// instructing the agent what not to do ("do not re-raise it yourself"). The
|
|
34484
|
+
// human needs none of it: they are the person who tapped the button, and the
|
|
34485
|
+
// card swapped under their finger to say so.
|
|
34486
|
+
"offer_result"
|
|
34480
34487
|
];
|
|
34481
34488
|
var AGENT_DIRECTED_KIND_SET = new Set(AGENT_DIRECTED_NOTICE_KINDS);
|
|
34482
34489
|
|
|
@@ -35367,6 +35374,29 @@ registerTriggerSource(videoRenderTriggerAdapter);
|
|
|
35367
35374
|
|
|
35368
35375
|
// ../core/dist/feature-flags/registry.js
|
|
35369
35376
|
var FLAG_REGISTRY = [
|
|
35377
|
+
{
|
|
35378
|
+
key: "impersonation-enabled",
|
|
35379
|
+
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).",
|
|
35380
|
+
flagType: "boolean",
|
|
35381
|
+
// Declared safe value is `true` = impersonation available, i.e. today's
|
|
35382
|
+
// behaviour, so merging this changes nothing until an operator flips it.
|
|
35383
|
+
//
|
|
35384
|
+
// NOTE the asymmetry with the other gates in this file, and it is
|
|
35385
|
+
// deliberate: their safe direction is "off / don't do the new thing"
|
|
35386
|
+
// because they gate NEW behaviour. This one gates EXISTING behaviour, so
|
|
35387
|
+
// the no-op default is `true`. The READ direction is where the safety lives
|
|
35388
|
+
// instead — an unreachable flag store resolves to DISABLED, not to this
|
|
35389
|
+
// default. See readImpersonationEnabled for that argument.
|
|
35390
|
+
defaultValue: true,
|
|
35391
|
+
// Enforcement gate (ADR-0022 section 4): re-enabling impersonation is
|
|
35392
|
+
// "relaxing a security control", exactly the mutation that must not happen
|
|
35393
|
+
// on a single unguarded write. The emergency direction (turning it OFF)
|
|
35394
|
+
// costs one confirmation, which is the right price.
|
|
35395
|
+
sensitive: true
|
|
35396
|
+
// Deliberately NOT public. A browser has no business evaluating whether
|
|
35397
|
+
// impersonation is available; both consumers are server-side route
|
|
35398
|
+
// handlers.
|
|
35399
|
+
},
|
|
35370
35400
|
{
|
|
35371
35401
|
key: "at-rest-v2-writes",
|
|
35372
35402
|
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.",
|
|
@@ -39578,8 +39608,12 @@ function giveUpNoticeText(reason = null) {
|
|
|
39578
39608
|
}
|
|
39579
39609
|
return "\u26A0\uFE0F I couldn't read your last message \u2014 please resend it.";
|
|
39580
39610
|
}
|
|
39581
|
-
function turnFailedNoticeText() {
|
|
39582
|
-
|
|
39611
|
+
function turnFailedNoticeText(failureClass) {
|
|
39612
|
+
const cause = failureClass === "overloaded" ? "the service I run on is overloaded right now \u2014 nothing to do with you or what you asked for" : failureClass === "server_error" ? "something upstream of me is failing right now \u2014 nothing to do with you or what you asked for" : null;
|
|
39613
|
+
if (cause === null) {
|
|
39614
|
+
return "\u26A0\uFE0F Something went wrong on my side and I couldn\u2019t finish that. Sorry \u2014 send it again when you get a chance and I\u2019ll pick it straight up.";
|
|
39615
|
+
}
|
|
39616
|
+
return `\u26A0\uFE0F I couldn\u2019t finish that \u2014 ${cause}. Sorry \u2014 send it again when you get a chance and I\u2019ll pick it straight up.`;
|
|
39583
39617
|
}
|
|
39584
39618
|
function turnRetryingNoticeText() {
|
|
39585
39619
|
return "\u23F3 Still working on this \u2014 things are running slower than usual on my side. I\u2019ll reply as soon as I have it.";
|
|
@@ -41993,7 +42027,7 @@ function armTelegramTurnFailureWatch(args) {
|
|
|
41993
42027
|
const posted = await postTelegramTurnNotice({
|
|
41994
42028
|
chatId: args.chatId,
|
|
41995
42029
|
...args.messageThreadId != null ? { messageThreadId: args.messageThreadId } : {},
|
|
41996
|
-
text: turnFailedNoticeText()
|
|
42030
|
+
text: turnFailedNoticeText(failure.failureClass)
|
|
41997
42031
|
});
|
|
41998
42032
|
if (!posted) {
|
|
41999
42033
|
lastTurnFailedNoticeAt.delete(conversationKey);
|
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
writeDirectChatSessionState,
|
|
44
44
|
writeEgressAllowlist,
|
|
45
45
|
writePersistentClaudeWrapper
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-JRL7754L.js";
|
|
47
|
+
import "./chunk-ZQXXK7JC.js";
|
|
48
48
|
import "./chunk-XWVM4KPK.js";
|
|
49
49
|
export {
|
|
50
50
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -92,4 +92,4 @@ export {
|
|
|
92
92
|
writeEgressAllowlist,
|
|
93
93
|
writePersistentClaudeWrapper
|
|
94
94
|
};
|
|
95
|
-
//# sourceMappingURL=persistent-session-
|
|
95
|
+
//# sourceMappingURL=persistent-session-U7PE7ZDB.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-JRL7754L.js";
|
|
4
|
+
import "./chunk-ZQXXK7JC.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -710,4 +710,4 @@ export {
|
|
|
710
710
|
readAndResetSlackReplyBindingClassifications,
|
|
711
711
|
readAndResetSlackReplyTargetClassifications
|
|
712
712
|
};
|
|
713
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
713
|
+
//# sourceMappingURL=responsiveness-probe-K6DGNTXA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZQXXK7JC.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-RPMWBVBH.js.map
|