@integrity-labs/agt-cli 0.28.1252 → 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-6A36YH3M.js → api-client-5ZXNFF4W.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-XTFVVZIR.js → chunk-233HXJ2D.js} +2 -2
- package/dist/{chunk-5ZNYCNMI.js → chunk-2HF77X4C.js} +3 -3
- package/dist/{chunk-4VOQ6D7X.js → chunk-CMLBFY5C.js} +2 -2
- package/dist/{chunk-3HRBU4H6.js → chunk-GRTMENH5.js} +3 -3
- package/dist/{chunk-S3DUSCWR.js → chunk-UBGHZ2O2.js} +5 -5
- package/dist/{chunk-RUKGOBVA.js → chunk-UHT6L77A.js} +22 -7
- package/dist/{chunk-RUKGOBVA.js.map → chunk-UHT6L77A.js.map} +1 -1
- package/dist/{claude-code-updater-WSQTK6TQ.js → claude-code-updater-EKABTDXO.js} +3 -3
- package/dist/{claude-pair-runtime-WWF5BCK3.js → claude-pair-runtime-ZA24UQ7V.js} +3 -3
- package/dist/lib/manager-worker.js +21 -21
- package/dist/mcp/direct-chat-channel.js +21 -6
- package/dist/mcp/index.js +22 -7
- package/dist/mcp/origami.js +21 -6
- package/dist/mcp/slack-channel.js +21 -6
- package/dist/mcp/telegram-channel.js +21 -6
- package/dist/{persistent-session-HS33PGZZ.js → persistent-session-HXK2Z6GH.js} +4 -4
- package/dist/{responsiveness-probe-32AWSVSL.js → responsiveness-probe-TPKISRGQ.js} +4 -4
- package/dist/{session-auth-dead-2L2NLMMB.js → session-auth-dead-KMB35KRB.js} +3 -3
- package/package.json +1 -1
- /package/dist/{api-client-6A36YH3M.js.map → api-client-5ZXNFF4W.js.map} +0 -0
- /package/dist/{chunk-XTFVVZIR.js.map → chunk-233HXJ2D.js.map} +0 -0
- /package/dist/{chunk-5ZNYCNMI.js.map → chunk-2HF77X4C.js.map} +0 -0
- /package/dist/{chunk-4VOQ6D7X.js.map → chunk-CMLBFY5C.js.map} +0 -0
- /package/dist/{chunk-3HRBU4H6.js.map → chunk-GRTMENH5.js.map} +0 -0
- /package/dist/{chunk-S3DUSCWR.js.map → chunk-UBGHZ2O2.js.map} +0 -0
- /package/dist/{claude-code-updater-WSQTK6TQ.js.map → claude-code-updater-EKABTDXO.js.map} +0 -0
- /package/dist/{claude-pair-runtime-WWF5BCK3.js.map → claude-pair-runtime-ZA24UQ7V.js.map} +0 -0
- /package/dist/{persistent-session-HS33PGZZ.js.map → persistent-session-HXK2Z6GH.js.map} +0 -0
- /package/dist/{responsiveness-probe-32AWSVSL.js.map → responsiveness-probe-TPKISRGQ.js.map} +0 -0
- /package/dist/{session-auth-dead-2L2NLMMB.js.map → session-auth-dead-KMB35KRB.js.map} +0 -0
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
mintRotatedHostKey,
|
|
16
16
|
probeHostKey,
|
|
17
17
|
setConfigHash
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-2HF77X4C.js";
|
|
19
|
+
import "./chunk-UHT6L77A.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
22
22
|
ApiError,
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
probeHostKey,
|
|
37
37
|
setConfigHash
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=api-client-
|
|
39
|
+
//# sourceMappingURL=api-client-5ZXNFF4W.js.map
|
package/dist/bin/agt.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
success,
|
|
32
32
|
table,
|
|
33
33
|
warn
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-UBGHZ2O2.js";
|
|
35
35
|
import {
|
|
36
36
|
ApiError,
|
|
37
37
|
PROD_AGT_HOST,
|
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
getHost,
|
|
43
43
|
getHostId,
|
|
44
44
|
setActiveTeam
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-2HF77X4C.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir,
|
|
48
48
|
isSessionResumeDisabled,
|
|
49
49
|
readDirectChatSessionState
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-GRTMENH5.js";
|
|
51
51
|
import {
|
|
52
52
|
markDailySessionSpawn,
|
|
53
53
|
sessionFileExists,
|
|
54
54
|
sessionTranscriptDir
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-CMLBFY5C.js";
|
|
56
56
|
import "../chunk-HYQ7VOC3.js";
|
|
57
57
|
import "../chunk-6HBXEJHO.js";
|
|
58
58
|
import "../chunk-XWVM4KPK.js";
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
requiredMcpWildcard,
|
|
86
86
|
resolveChannels,
|
|
87
87
|
serializeManifestForSlackCli
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-UHT6L77A.js";
|
|
89
89
|
import "../chunk-AIUIMEUS.js";
|
|
90
90
|
import "../chunk-DGUM43GV.js";
|
|
91
91
|
|
|
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5207
5207
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
5208
5208
|
import chalk17 from "chalk";
|
|
5209
5209
|
import ora15 from "ora";
|
|
5210
|
-
var cliVersion = true ? "0.28.
|
|
5210
|
+
var cliVersion = true ? "0.28.1253" : "dev";
|
|
5211
5211
|
async function fetchLatestVersion() {
|
|
5212
5212
|
const host2 = getHost();
|
|
5213
5213
|
if (!host2) return null;
|
|
@@ -6467,7 +6467,7 @@ function handleError(err) {
|
|
|
6467
6467
|
}
|
|
6468
6468
|
|
|
6469
6469
|
// src/bin/agt.ts
|
|
6470
|
-
var cliVersion2 = true ? "0.28.
|
|
6470
|
+
var cliVersion2 = true ? "0.28.1253" : "dev";
|
|
6471
6471
|
var program = new Command();
|
|
6472
6472
|
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");
|
|
6473
6473
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-XWVM4KPK.js";
|
|
5
5
|
import {
|
|
6
6
|
FORCED_UPDATE_HARD_DEADLINE_MS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UHT6L77A.js";
|
|
8
8
|
import {
|
|
9
9
|
effectiveClaudeJsonPath
|
|
10
10
|
} from "./chunk-AIUIMEUS.js";
|
|
@@ -722,4 +722,4 @@ export {
|
|
|
722
722
|
probeClaudeInstalls,
|
|
723
723
|
maybeUpdateClaudeCode
|
|
724
724
|
};
|
|
725
|
-
//# sourceMappingURL=chunk-
|
|
725
|
+
//# sourceMappingURL=chunk-233HXJ2D.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HOST_ROTATE_KEY_CONFLICT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UHT6L77A.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/config.ts
|
|
6
6
|
import { readFileSync, writeFileSync, mkdirSync, existsSync } from "fs";
|
|
@@ -103,7 +103,7 @@ function exchangeFailureKind(err) {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
// src/lib/api-client.ts
|
|
106
|
-
var agtCliVersion = true ? "0.28.
|
|
106
|
+
var agtCliVersion = true ? "0.28.1253" : "dev";
|
|
107
107
|
var lastConfigHash = null;
|
|
108
108
|
function setConfigHash(hash) {
|
|
109
109
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -468,4 +468,4 @@ export {
|
|
|
468
468
|
api,
|
|
469
469
|
getHostId
|
|
470
470
|
};
|
|
471
|
-
//# sourceMappingURL=chunk-
|
|
471
|
+
//# sourceMappingURL=chunk-2HF77X4C.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeClaudeProjectPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UHT6L77A.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/daily-session.ts
|
|
6
6
|
import { randomUUID } from "crypto";
|
|
@@ -244,4 +244,4 @@ export {
|
|
|
244
244
|
peekPreviousSession,
|
|
245
245
|
readDailySessionPin
|
|
246
246
|
};
|
|
247
|
-
//# sourceMappingURL=chunk-
|
|
247
|
+
//# sourceMappingURL=chunk-CMLBFY5C.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
rotateDailySession,
|
|
5
5
|
sessionFileExists,
|
|
6
6
|
todayLocalIso
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CMLBFY5C.js";
|
|
8
8
|
import {
|
|
9
9
|
classifyUnanswerablePane,
|
|
10
10
|
customApiKeyDialogKeys,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
remoteMcpConnectionEnvInfix,
|
|
52
52
|
remoteMcpConnectionLabel,
|
|
53
53
|
remoteMcpConnectionScopedEnvVar
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UHT6L77A.js";
|
|
55
55
|
import {
|
|
56
56
|
CLAUDE_CONFIG_DIR_ENV,
|
|
57
57
|
approveApiKeyInClaudeConfig,
|
|
@@ -6219,4 +6219,4 @@ export {
|
|
|
6219
6219
|
stopAllSessionsAndWait,
|
|
6220
6220
|
getProjectDir
|
|
6221
6221
|
};
|
|
6222
|
-
//# sourceMappingURL=chunk-
|
|
6222
|
+
//# sourceMappingURL=chunk-GRTMENH5.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
exchangeApiKey,
|
|
3
3
|
getApiKey,
|
|
4
4
|
getHost
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2HF77X4C.js";
|
|
6
6
|
import {
|
|
7
7
|
LATE_BOUND_VARS,
|
|
8
8
|
PLATFORM_DENY_PERMISSIONS,
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
requiresRemoteMcpToolGate,
|
|
24
24
|
shellQuote,
|
|
25
25
|
withheldRemoteMcpMessage
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GRTMENH5.js";
|
|
27
27
|
import {
|
|
28
28
|
readDailySessionPin,
|
|
29
29
|
sessionTranscriptDir
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-CMLBFY5C.js";
|
|
31
31
|
import {
|
|
32
32
|
classifyUnanswerablePane,
|
|
33
33
|
isConsumerTermsDialogVisible,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
scanConfigForLiteralSecrets,
|
|
100
100
|
worseConnectivityOutcome,
|
|
101
101
|
wrapScheduledTaskPrompt
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-UHT6L77A.js";
|
|
103
103
|
import {
|
|
104
104
|
claudeJsonPathFor,
|
|
105
105
|
effectiveClaudeJsonPath,
|
|
@@ -13347,4 +13347,4 @@ export {
|
|
|
13347
13347
|
managerInstallSystemUnitCommand,
|
|
13348
13348
|
managerUninstallSystemUnitCommand
|
|
13349
13349
|
};
|
|
13350
|
-
//# sourceMappingURL=chunk-
|
|
13350
|
+
//# sourceMappingURL=chunk-UBGHZ2O2.js.map
|
|
@@ -8228,12 +8228,15 @@ var FLAG_REGISTRY = [
|
|
|
8228
8228
|
// direct-chat MCP to render them: an older agt-cli shows a notice as
|
|
8229
8229
|
// "download failed; ask the user to re-send", which sends users in circles
|
|
8230
8230
|
// (Sherlock, 13 Nov). So the flip-reach modal must count hosts by the CLI
|
|
8231
|
-
// that renders notices.
|
|
8232
|
-
//
|
|
8233
|
-
//
|
|
8234
|
-
//
|
|
8235
|
-
//
|
|
8236
|
-
|
|
8231
|
+
// that renders notices. 0.28.1252 is the first published agt-cli carrying
|
|
8232
|
+
// #7579's MCP change (tag agt-cli-0.28.1252, published from caf64c0b5; the
|
|
8233
|
+
// publish run on #7579's own merge commit 38465ce5f failed). Arm only when
|
|
8234
|
+
// the modal shows 0 stale and 0 unknown hosts. The reach count covers only
|
|
8235
|
+
// active hosts seen in the last 24h (routes/flags.ts), so also confirm no
|
|
8236
|
+
// active host older than 0.28.1252 is offline before arming the stage-wide
|
|
8237
|
+
// flip: one that reconnects later receives the armed flag on its first
|
|
8238
|
+
// heartbeat (CodeRabbit on #7588).
|
|
8239
|
+
since: "0.28.1252"
|
|
8237
8240
|
},
|
|
8238
8241
|
{
|
|
8239
8242
|
key: "platform-held-key-central-probe",
|
|
@@ -9093,6 +9096,18 @@ var FLAG_REGISTRY = [
|
|
|
9093
9096
|
// honours the filter is unproven, so an org must not switch it on for itself.
|
|
9094
9097
|
platformAdminOnly: true
|
|
9095
9098
|
},
|
|
9099
|
+
{
|
|
9100
|
+
key: "agent-email-inbox",
|
|
9101
|
+
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.",
|
|
9102
|
+
flagType: "boolean",
|
|
9103
|
+
defaultValue: false,
|
|
9104
|
+
sensitive: true,
|
|
9105
|
+
platformAdminOnly: true
|
|
9106
|
+
// Deliberately NO envVar. The reader is the API, server-side, which can call the
|
|
9107
|
+
// flag evaluator directly - so there is no host-side bash hook needing a
|
|
9108
|
+
// materialised value, and declaring one would only create a literal for the
|
|
9109
|
+
// ENG-8303 sst-pin guard to catch.
|
|
9110
|
+
},
|
|
9096
9111
|
{
|
|
9097
9112
|
key: "premium-gateway-inference",
|
|
9098
9113
|
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.",
|
|
@@ -18678,4 +18693,4 @@ export {
|
|
|
18678
18693
|
HOST_ROTATE_KEY_CONFLICT,
|
|
18679
18694
|
shouldMintReplacementKey
|
|
18680
18695
|
};
|
|
18681
|
-
//# sourceMappingURL=chunk-
|
|
18696
|
+
//# sourceMappingURL=chunk-UHT6L77A.js.map
|