@integrity-labs/agt-cli 0.28.1251 → 0.28.1253
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/{api-client-ECOBF6BM.js → api-client-5ZXNFF4W.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-OAAKFU3J.js → chunk-233HXJ2D.js} +2 -2
- package/dist/{chunk-2VGFSHFP.js → chunk-2HF77X4C.js} +3 -3
- package/dist/{chunk-VOMOPWFI.js → chunk-CMLBFY5C.js} +2 -2
- package/dist/{chunk-O6WRX5FE.js → chunk-GRTMENH5.js} +3 -3
- package/dist/{chunk-4AUE34MF.js → chunk-UBGHZ2O2.js} +5 -5
- package/dist/{chunk-6KY5FKXC.js → chunk-UHT6L77A.js} +38 -1
- package/dist/{chunk-6KY5FKXC.js.map → chunk-UHT6L77A.js.map} +1 -1
- package/dist/{claude-code-updater-2TZ4TSOB.js → claude-code-updater-EKABTDXO.js} +3 -3
- package/dist/{claude-pair-runtime-CTJCJNK4.js → claude-pair-runtime-ZA24UQ7V.js} +3 -3
- package/dist/lib/manager-worker.js +21 -21
- package/dist/mcp/direct-chat-channel.js +102 -4
- package/dist/mcp/index.js +38 -1
- package/dist/mcp/origami.js +37 -0
- package/dist/mcp/slack-channel.js +37 -0
- package/dist/mcp/telegram-channel.js +37 -0
- package/dist/{persistent-session-TBE4KP4K.js → persistent-session-HXK2Z6GH.js} +4 -4
- package/dist/{responsiveness-probe-J7DA3AB4.js → responsiveness-probe-TPKISRGQ.js} +4 -4
- package/dist/{session-auth-dead-OL5ODQRN.js → session-auth-dead-KMB35KRB.js} +3 -3
- package/package.json +1 -1
- /package/dist/{api-client-ECOBF6BM.js.map → api-client-5ZXNFF4W.js.map} +0 -0
- /package/dist/{chunk-OAAKFU3J.js.map → chunk-233HXJ2D.js.map} +0 -0
- /package/dist/{chunk-2VGFSHFP.js.map → chunk-2HF77X4C.js.map} +0 -0
- /package/dist/{chunk-VOMOPWFI.js.map → chunk-CMLBFY5C.js.map} +0 -0
- /package/dist/{chunk-O6WRX5FE.js.map → chunk-GRTMENH5.js.map} +0 -0
- /package/dist/{chunk-4AUE34MF.js.map → chunk-UBGHZ2O2.js.map} +0 -0
- /package/dist/{claude-code-updater-2TZ4TSOB.js.map → claude-code-updater-EKABTDXO.js.map} +0 -0
- /package/dist/{claude-pair-runtime-CTJCJNK4.js.map → claude-pair-runtime-ZA24UQ7V.js.map} +0 -0
- /package/dist/{persistent-session-TBE4KP4K.js.map → persistent-session-HXK2Z6GH.js.map} +0 -0
- /package/dist/{responsiveness-probe-J7DA3AB4.js.map → responsiveness-probe-TPKISRGQ.js.map} +0 -0
- /package/dist/{session-auth-dead-OL5ODQRN.js.map → session-auth-dead-KMB35KRB.js.map} +0 -0
|
@@ -41279,6 +41279,31 @@ var FLAG_REGISTRY = [
|
|
|
41279
41279
|
// edec921a519f); THREATS_FOUND rows stay hidden either way.
|
|
41280
41280
|
defaultValue: false
|
|
41281
41281
|
},
|
|
41282
|
+
{
|
|
41283
|
+
key: "direct-chat-extracted-text",
|
|
41284
|
+
// ENG-11967 part 2b. Read stage-wide only (empty scope), like
|
|
41285
|
+
// direct-chat-malware-scan: a scoped override would do nothing.
|
|
41286
|
+
stageWideOnly: true,
|
|
41287
|
+
sensitive: true,
|
|
41288
|
+
description: `Serve a Direct Chat PDF or DOCX to the agent as its EXTRACTED TEXT instead of the raw file (ENG-11967 part 2b, Sherlock ruling (a)). off = today: the agent gets the raw file (scan-gated). hold-30s / hold-60s / hold-120s = armed, and the value is the HOLD CAP: the agent poll does not claim a message whose text is not ready yet for up to that long, and holds the rest of its session with it so order is kept. Holds chain: a message also waits for every document sent after it in the same session, so its delay is bounded by the cap measured from the LAST document in a run of sends, not from its own send. Ready text is delivered as <name>.txt. If extraction finished without text, or died, the message is released at once with "text extraction unavailable for <name> (couldn't read the file)" or "(timed out)"; at the cap it is released with "(timed out)" and the release is logged. Takes effect only while direct-chat-malware-scan is on, because extraction runs on GuardDuty's clean-scan event. ARM ONLY AFTER DIRECT_CHAT_TEXT_EXTRACTION=true has deployed the DirectChatTextExtract Lambda: armed without it, every PDF/DOCX waits out the cap and arrives as a timed-out notice. A flag-store read error counts as off on this read path. GLOBAL ONLY: evaluated with an empty context, so scoped overrides have no effect.`,
|
|
41289
|
+
flagType: "enum",
|
|
41290
|
+
allowedValues: ["off", "hold-30s", "hold-60s", "hold-120s"],
|
|
41291
|
+
// Off is the pre-2b behaviour: no hold, no .txt read, the raw file.
|
|
41292
|
+
defaultValue: "off",
|
|
41293
|
+
// The flag is evaluated server-side, but its notice entries need the host's
|
|
41294
|
+
// direct-chat MCP to render them: an older agt-cli shows a notice as
|
|
41295
|
+
// "download failed; ask the user to re-send", which sends users in circles
|
|
41296
|
+
// (Sherlock, 13 Nov). So the flip-reach modal must count hosts by the CLI
|
|
41297
|
+
// that renders notices. 0.28.1252 is the first published agt-cli carrying
|
|
41298
|
+
// #7579's MCP change (tag agt-cli-0.28.1252, published from caf64c0b5; the
|
|
41299
|
+
// publish run on #7579's own merge commit 38465ce5f failed). Arm only when
|
|
41300
|
+
// the modal shows 0 stale and 0 unknown hosts. The reach count covers only
|
|
41301
|
+
// active hosts seen in the last 24h (routes/flags.ts), so also confirm no
|
|
41302
|
+
// active host older than 0.28.1252 is offline before arming the stage-wide
|
|
41303
|
+
// flip: one that reconnects later receives the armed flag on its first
|
|
41304
|
+
// heartbeat (CodeRabbit on #7588).
|
|
41305
|
+
since: "0.28.1252"
|
|
41306
|
+
},
|
|
41282
41307
|
{
|
|
41283
41308
|
key: "platform-held-key-central-probe",
|
|
41284
41309
|
description: "Arm the scheduled CENTRAL connectivity probe lane for platform-held-key integrations (ENG-10086). These store no customer credential (auth_type none), so the host cannot probe them and reports unverified forever. When on, the hourly PlatformHeldKeyProbe cron runs each central probe that exists (today only ninjafy-notes: org entitlement + broker routing, never note contents) and writes the result through the monitor observation path, so consecutive_connectivity_failures / _ok_cycles move and integration_down alerts can open and close on it. Definitions with no central probe are skipped, never written as a failure. When off the cron reads nothing and writes nothing. Boolean gate; ships dark because a new writer of the escalation counters is a paging change. GLOBAL ONLY: the cron and the host connectivity route both evaluate this flag with an empty context, so an org-, team- or agent-scoped override is stored but has NO effect. Arm it by its global value, not as a staged per-org rollout (Obi Wan 63053d02035e).",
|
|
@@ -42137,6 +42162,18 @@ var FLAG_REGISTRY = [
|
|
|
42137
42162
|
// honours the filter is unproven, so an org must not switch it on for itself.
|
|
42138
42163
|
platformAdminOnly: true
|
|
42139
42164
|
},
|
|
42165
|
+
{
|
|
42166
|
+
key: "agent-email-inbox",
|
|
42167
|
+
description: "ENG-12021 - lets an owner/admin give one agent its own email address on the platform's agent mail domain, provisioned as a Resend Inbox, which the agent can list, search and read. OFF (default) = the provisioning route refuses and no inbox can be created. This flag is ROLLOUT CONTROL, NOT the revocation: it decides whether an org may provision, and turning it off does NOT take the tools away from an agent that already has an address - `agent_email_inboxes.status` does that, and is what to reach for in an incident. Nor is it the only gate, and the two secrets do NOT gate the same things: AGENT_INBOX_RESEND_API_KEY gates EVERYTHING (unset = provisioning refuses AND every tool call on an existing inbox answers not_configured), while AGENT_INBOX_DOMAIN is read only when MINTING an address - so clearing the domain stops new inboxes and leaves an agent that already has one still reading its mail (NOT replying - this slice ships no send or reply tool at all; that is PR B). Do not reach for either as a kill switch; the status column is the one. A per-org cap refuses provisioning past its limit regardless of this flag. BEFORE ARMING THIS FOR AN ORG, verify cross-inbox thread isolation against a real key: the inbox segment of every Resend path is server-derived from the agent's own row, but thread_id is an AGENT-SUPPLIED argument, and Resend documents no error for a thread that belongs to a different inbox. Their thread response carries no inbox field either, so this cannot be re-checked on our side after the fact - it is a vendor behaviour that has to be measured once (request one inbox's thread id under another inbox and confirm a 404), not an invariant this code can enforce. Platform-admin-only AND sensitive because each inbox is a RECURRING monthly cost with no per-unit billing primitive behind it (ENG-8720) - an org must not be able to switch on a subscription for itself, and the cap is the only thing metering it.",
|
|
42168
|
+
flagType: "boolean",
|
|
42169
|
+
defaultValue: false,
|
|
42170
|
+
sensitive: true,
|
|
42171
|
+
platformAdminOnly: true
|
|
42172
|
+
// Deliberately NO envVar. The reader is the API, server-side, which can call the
|
|
42173
|
+
// flag evaluator directly - so there is no host-side bash hook needing a
|
|
42174
|
+
// materialised value, and declaring one would only create a literal for the
|
|
42175
|
+
// ENG-8303 sst-pin guard to catch.
|
|
42176
|
+
},
|
|
42140
42177
|
{
|
|
42141
42178
|
key: "premium-gateway-inference",
|
|
42142
42179
|
description: "ENG-10865 / ADR-0117 - RESERVED, and INERT until the runtime wiring lands. Turning it ON today mints nothing and delivers nothing: no caller invokes the mint client yet, resolveBindingCredential is unchanged, and a gateway binding still resolves `blocked-gateway` either way. The flag is registered ahead of that wiring on purpose - see below - so an operator must not read it as a working switch. ONCE WIRED, ON will mean the API mints a budgeted key per agent and the host spawns against the gateway, so that a policy whose ACTIVE binding is transport=gateway with credential_owner=platform resolves `applied`; OFF will remain exactly the fleet behaviour before this flag existed. Registered early and kept deliberately SEPARATE from holding AI_GATEWAY_MINT_TOKEN, because possessing the minting credential is not clearance to spend platform money on a customer agent - the ENG-8247 shape. The secret is set in prod BEFORE ADR-0117 is accepted, before metering exists (ENG-10867) and before the premium opt-in is registered (ENG-10868), so presence of the credential must not be the gate. Boolean.",
|
|
@@ -68,12 +68,12 @@ import {
|
|
|
68
68
|
writeDirectChatSessionState,
|
|
69
69
|
writeEgressAllowlist,
|
|
70
70
|
writePersistentClaudeWrapper
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-GRTMENH5.js";
|
|
72
|
+
import "./chunk-CMLBFY5C.js";
|
|
73
73
|
import "./chunk-HYQ7VOC3.js";
|
|
74
74
|
import "./chunk-6HBXEJHO.js";
|
|
75
75
|
import "./chunk-XWVM4KPK.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-UHT6L77A.js";
|
|
77
77
|
import "./chunk-AIUIMEUS.js";
|
|
78
78
|
import "./chunk-DGUM43GV.js";
|
|
79
79
|
export {
|
|
@@ -147,4 +147,4 @@ export {
|
|
|
147
147
|
writeEgressAllowlist,
|
|
148
148
|
writePersistentClaudeWrapper
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=persistent-session-
|
|
150
|
+
//# sourceMappingURL=persistent-session-HXK2Z6GH.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-GRTMENH5.js";
|
|
4
|
+
import "./chunk-CMLBFY5C.js";
|
|
5
5
|
import "./chunk-HYQ7VOC3.js";
|
|
6
6
|
import "./chunk-6HBXEJHO.js";
|
|
7
7
|
import "./chunk-XWVM4KPK.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-UHT6L77A.js";
|
|
9
9
|
import "./chunk-AIUIMEUS.js";
|
|
10
10
|
import "./chunk-DGUM43GV.js";
|
|
11
11
|
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
readAndResetSlackReplyBindingClassifications,
|
|
805
805
|
readAndResetSlackReplyTargetClassifications
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
807
|
+
//# sourceMappingURL=responsiveness-probe-TPKISRGQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CMLBFY5C.js";
|
|
4
|
+
import "./chunk-UHT6L77A.js";
|
|
5
5
|
import "./chunk-DGUM43GV.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/session-auth-dead.ts
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
decideSessionAuthState,
|
|
206
206
|
probeSessionAuth
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=session-auth-dead-
|
|
208
|
+
//# sourceMappingURL=session-auth-dead-KMB35KRB.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|