@integrity-labs/agt-cli 0.28.984 → 0.28.986
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-72J5FCKI.js → chunk-6KYXH6ZZ.js} +2 -2
- package/dist/{chunk-DI4Q2OVR.js → chunk-TGCA3LTI.js} +63 -5
- package/dist/chunk-TGCA3LTI.js.map +1 -0
- package/dist/{chunk-PVMVQ5IL.js → chunk-XEI5QMZ7.js} +30 -34
- package/dist/chunk-XEI5QMZ7.js.map +1 -0
- package/dist/{claude-pair-runtime-YKJQT3SJ.js → claude-pair-runtime-GQM26I3M.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/mcp/direct-chat-channel.js +91 -5
- package/dist/mcp/index.js +63 -5
- package/dist/mcp/origami.js +62 -4
- package/dist/mcp/slack-channel.js +91 -5
- package/dist/mcp/telegram-channel.js +91 -5
- package/dist/{persistent-session-R6WKQT2N.js → persistent-session-PYYD53GZ.js} +3 -3
- package/dist/{responsiveness-probe-M3QTWJGG.js → responsiveness-probe-JENZOOKG.js} +3 -3
- package/dist/{session-auth-dead-FQ3N3BJ5.js → session-auth-dead-BGXRQB27.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-DI4Q2OVR.js.map +0 -1
- package/dist/chunk-PVMVQ5IL.js.map +0 -1
- /package/dist/{chunk-72J5FCKI.js.map → chunk-6KYXH6ZZ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-YKJQT3SJ.js.map → claude-pair-runtime-GQM26I3M.js.map} +0 -0
- /package/dist/{persistent-session-R6WKQT2N.js.map → persistent-session-PYYD53GZ.js.map} +0 -0
- /package/dist/{responsiveness-probe-M3QTWJGG.js.map → responsiveness-probe-JENZOOKG.js.map} +0 -0
- /package/dist/{session-auth-dead-FQ3N3BJ5.js.map → session-auth-dead-BGXRQB27.js.map} +0 -0
|
@@ -34102,9 +34102,51 @@ var composio_approved_egress_default = {
|
|
|
34102
34102
|
"Trimming it would make the allowlist incomplete, which is a fleet-wide 401 rather than",
|
|
34103
34103
|
"a tidy file.",
|
|
34104
34104
|
"",
|
|
34105
|
-
"PASTE
|
|
34106
|
-
"no CIDR, so a key armed with the hosts pair alone locks out every
|
|
34107
|
-
"control plane makes, and one armed with the bridge pair alone locks
|
|
34105
|
+
"PASTE THE WHOLE SHARED SET, ALWAYS. Composio's field takes explicit comma-delimited",
|
|
34106
|
+
"addresses and no CIDR, so a key armed with the hosts pair alone locks out every",
|
|
34107
|
+
"server-side call the control plane makes, and one armed with the bridge pair alone locks",
|
|
34108
|
+
"out the fleet. This used to read 'PASTE ALL FOUR, ALWAYS', which `orgAddresses` below",
|
|
34109
|
+
"makes false: for an org with a BYO host the shared set is NOT the whole value, and an",
|
|
34110
|
+
"operator following the old sentence would arm a key that refuses that org's own agents.",
|
|
34111
|
+
"",
|
|
34112
|
+
"`orgAddresses` - THE SHARED SET IS NOT EVERY ORG'S SET (ENG-10718).",
|
|
34113
|
+
"An org whose agents run on a host we do not operate the network for - a BYO host in the",
|
|
34114
|
+
"customer's AWS account, or a `self` host on hardware we never see - egresses from an",
|
|
34115
|
+
"address no shared entry above carries. These are recorded per org rather than",
|
|
34116
|
+
"merged into `addresses`, because they are not fleet-wide: pasting one org's BYO address",
|
|
34117
|
+
"into another org's key widens that key for no reason. The drift detector and",
|
|
34118
|
+
"fleet-egress-enum.sh both read `addresses` and only `addresses`, so nothing here is ever",
|
|
34119
|
+
"compared against a hosts-account scan - which is correct, since these addresses live in",
|
|
34120
|
+
"accounts neither ever enumerates.",
|
|
34121
|
+
"",
|
|
34122
|
+
"AN OBSERVED ADDRESS IS NOT AN APPROVED ONE, AND THAT IS THE WHOLE POINT OF THIS FILE.",
|
|
34123
|
+
"`host_attested_egress` (ENG-10666) records the address a BYO host was SEEN calling from,",
|
|
34124
|
+
"and it is the only way to learn one - the `augmented-byo-provisioner` role grants neither",
|
|
34125
|
+
"`DescribeRouteTables` nor `DescribeNatGateways`, so enumeration cannot answer it. But",
|
|
34126
|
+
"seeing an address is not deciding it may hold a key. A row appears here when a human",
|
|
34127
|
+
"decides it, in a PR, which is the same ceremony every other entry gets. So an org can",
|
|
34128
|
+
"legitimately have a known egress address and no entry here - see Zanda below - and the",
|
|
34129
|
+
"posture page must withhold its paste value rather than offer the shared set.",
|
|
34130
|
+
"",
|
|
34131
|
+
"ZANDA IS THE LIVE EXAMPLE, AND ITS ABSENCE BELOW IS DELIBERATE.",
|
|
34132
|
+
"Zanda has an active BYO host - d0a78e4f-7a21-4d8d-85db-66a167fdd8cb in account",
|
|
34133
|
+
"585819234046, created 2026-09-16 - and as of 2026-09-20 its egress address IS known:",
|
|
34134
|
+
"3.107.131.133, resolved from `host_attested_egress` after an account enumeration failed",
|
|
34135
|
+
"to find it (it is a THIRD account, which no census had thought to scan). It is not",
|
|
34136
|
+
"recorded because nobody has approved it. That host carries ZERO assigned agents, so it",
|
|
34137
|
+
"makes no Composio calls and the omission costs nothing today; the approval queue for",
|
|
34138
|
+
"exactly this decision is ENG-10668, unbuilt. The consequence is intended and measured:",
|
|
34139
|
+
"Zanda's org IS `fully_managed` (read from prod 2026-09-20), so it holds a",
|
|
34140
|
+
"platform-managed Composio key and DOES appear on /admin/composio-key-posture - with no",
|
|
34141
|
+
"paste value and a reason. That row is the feature working. Do not 'fix' it by adding",
|
|
34142
|
+
"3.107.131.133 below - add the approval.",
|
|
34143
|
+
"",
|
|
34144
|
+
"THE SAME READ FOUND ZERO `self` HOSTS FLEET-WIDE (2026-09-20), which is why widening the",
|
|
34145
|
+
"rule beyond the BYO pointer costs nothing today: exactly two orgs have a host outside our",
|
|
34146
|
+
"NATs, both BYO, and only Zanda's lacks a recorded address. Every other org's row is the",
|
|
34147
|
+
"shared set, byte-identical to what ENG-10713 already served it. If that ratio ever",
|
|
34148
|
+
"inverts - many orgs withholding - the answer is to record addresses or build ENG-10668,",
|
|
34149
|
+
"NOT to narrow the rule back."
|
|
34108
34150
|
],
|
|
34109
34151
|
account: "711726113003",
|
|
34110
34152
|
homeRegion: "ap-southeast-2",
|
|
@@ -34141,13 +34183,29 @@ var composio_approved_egress_default = {
|
|
|
34141
34183
|
seenAsGateway: "nat-02a4721d4ce678cf7",
|
|
34142
34184
|
note: "The us-east-2b half of the same managed multi-AZ NAT. Two addresses is what `az: 2` costs on the allowlist, accepted deliberately in ENG-9684: adding an address AFTER arming is a blind hand edit of every key with production 401s as the only completion signal."
|
|
34143
34185
|
}
|
|
34144
|
-
]
|
|
34186
|
+
],
|
|
34187
|
+
orgAddresses: {
|
|
34188
|
+
"a4bba5c8-f664-46fe-a894-c95679c615ac": {
|
|
34189
|
+
orgSlug: "integritylabs",
|
|
34190
|
+
addresses: [
|
|
34191
|
+
{
|
|
34192
|
+
ip: "54.153.194.237",
|
|
34193
|
+
stage: "prod-byo",
|
|
34194
|
+
account: "436812233703",
|
|
34195
|
+
region: null,
|
|
34196
|
+
seenAsGateway: "nat-0c3cc231a8701a0e9",
|
|
34197
|
+
note: 'The BYO "Agents" account\'s NAT, serving `asha` on prod-integritylabs-integritylabs-4. Measured 2026-09-19 (ENG-10718) and again in the 24h /host/* census on 2026-09-20: 55,109 requests from 32 distinct paths. `region` is null because it is NOT RECORDED and cannot be enumerated from here - see the $comment; the comparison is on `ip` alone, so a null costs nothing, whereas a guessed region would be a fact this file states without evidence. THIS ORG WAS ARMED DURING THE GATE 5 REHEARSAL (ENG-10712) WITHOUT THIS ADDRESS. It passed only because nothing on that host called Composio inside the ~15-minute window; had it, the call would have been refused.'
|
|
34198
|
+
}
|
|
34199
|
+
]
|
|
34200
|
+
}
|
|
34201
|
+
}
|
|
34145
34202
|
};
|
|
34146
34203
|
|
|
34147
34204
|
// ../core/dist/integrations/composio-approved-egress.js
|
|
34148
34205
|
var APPROVED_EGRESS_ACCOUNT = composio_approved_egress_default.account;
|
|
34149
34206
|
var APPROVED_EGRESS_HOME_REGION = composio_approved_egress_default.homeRegion;
|
|
34150
34207
|
var APPROVED_EGRESS_ADDRESSES = composio_approved_egress_default.addresses;
|
|
34208
|
+
var ORG_EGRESS_ADDRESSES = composio_approved_egress_default.orgAddresses ?? {};
|
|
34151
34209
|
|
|
34152
34210
|
// ../core/dist/integrations/remote-mcp-proxy-env.js
|
|
34153
34211
|
var REMOTE_MCP_PROXY_ENV = {
|
|
@@ -41765,6 +41823,34 @@ function telegramInboundId(chatId, messageId) {
|
|
|
41765
41823
|
return hashInboundId(`${chatId}|${messageId}`);
|
|
41766
41824
|
}
|
|
41767
41825
|
|
|
41826
|
+
// ../core/dist/channels/progress-step.js
|
|
41827
|
+
var AUTO_PROGRESS_FALLBACK_STEP = "Working\u2026";
|
|
41828
|
+
var VERBS = [
|
|
41829
|
+
["Running", "Running a command"],
|
|
41830
|
+
["Editing", "Editing a file"],
|
|
41831
|
+
["Writing", "Writing a file"],
|
|
41832
|
+
["Reading", "Reading a file"],
|
|
41833
|
+
["Searching the web", "Searching the web"],
|
|
41834
|
+
["Searching", "Searching"],
|
|
41835
|
+
["Finding files", "Searching"],
|
|
41836
|
+
["Fetching", "Fetching a page"],
|
|
41837
|
+
["Working on", "Working on a subtask"],
|
|
41838
|
+
["Using", "Using a tool"]
|
|
41839
|
+
];
|
|
41840
|
+
function sanitizeAutoProgressStep(raw) {
|
|
41841
|
+
const text = raw.trim();
|
|
41842
|
+
if (!text)
|
|
41843
|
+
return "";
|
|
41844
|
+
for (const [prefix, label] of VERBS) {
|
|
41845
|
+
if (!text.startsWith(prefix))
|
|
41846
|
+
continue;
|
|
41847
|
+
const next = text.charAt(prefix.length);
|
|
41848
|
+
if (next === "" || next === " " || next === ":")
|
|
41849
|
+
return label;
|
|
41850
|
+
}
|
|
41851
|
+
return AUTO_PROGRESS_FALLBACK_STEP;
|
|
41852
|
+
}
|
|
41853
|
+
|
|
41768
41854
|
// src/channel-progress.ts
|
|
41769
41855
|
function channelLiveProgressEnabled() {
|
|
41770
41856
|
return resolveHostBooleanFlag({
|
|
@@ -41821,7 +41907,7 @@ function parseProgressHeartbeat(raw) {
|
|
|
41821
41907
|
if (!raw) return null;
|
|
41822
41908
|
try {
|
|
41823
41909
|
const obj = JSON.parse(raw);
|
|
41824
|
-
const step = typeof obj.step === "string" ? obj.step
|
|
41910
|
+
const step = typeof obj.step === "string" ? sanitizeAutoProgressStep(obj.step) : "";
|
|
41825
41911
|
const updatedAtMs = typeof obj.updated_at_ms === "number" ? obj.updated_at_ms : NaN;
|
|
41826
41912
|
if (!step || !Number.isFinite(updatedAtMs)) return null;
|
|
41827
41913
|
return { step, updatedAtMs };
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
writeDirectChatSessionState,
|
|
63
63
|
writeEgressAllowlist,
|
|
64
64
|
writePersistentClaudeWrapper
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-6KYXH6ZZ.js";
|
|
66
|
+
import "./chunk-TGCA3LTI.js";
|
|
67
67
|
import "./chunk-DHWNVVX4.js";
|
|
68
68
|
import "./chunk-XWVM4KPK.js";
|
|
69
69
|
export {
|
|
@@ -131,4 +131,4 @@ export {
|
|
|
131
131
|
writeEgressAllowlist,
|
|
132
132
|
writePersistentClaudeWrapper
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=persistent-session-
|
|
134
|
+
//# sourceMappingURL=persistent-session-PYYD53GZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6KYXH6ZZ.js";
|
|
4
|
+
import "./chunk-TGCA3LTI.js";
|
|
5
5
|
import "./chunk-DHWNVVX4.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
7
7
|
|
|
@@ -800,4 +800,4 @@ export {
|
|
|
800
800
|
readAndResetSlackReplyBindingClassifications,
|
|
801
801
|
readAndResetSlackReplyTargetClassifications
|
|
802
802
|
};
|
|
803
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
803
|
+
//# sourceMappingURL=responsiveness-probe-JENZOOKG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TGCA3LTI.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-BGXRQB27.js.map
|