@integrity-labs/agt-cli 0.28.1254 → 0.28.1256
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-EW7NBMWI.js → api-client-U52DMNUZ.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-AZOT5URF.js → chunk-3DOSUOHP.js} +2 -2
- package/dist/{chunk-EWD3K6YD.js → chunk-47XHFW55.js} +14 -2
- package/dist/chunk-47XHFW55.js.map +1 -0
- package/dist/{chunk-ZDON4IXL.js → chunk-4RTRYTAS.js} +2 -2
- package/dist/{chunk-FD3GWWVL.js → chunk-5MAK4D4P.js} +3 -3
- package/dist/{chunk-SEXB6LTM.js → chunk-KYA2WIES.js} +15 -13
- package/dist/chunk-KYA2WIES.js.map +1 -0
- package/dist/{chunk-ZKLOPCWS.js → chunk-SR36GVLZ.js} +56 -9
- package/dist/{chunk-ZKLOPCWS.js.map → chunk-SR36GVLZ.js.map} +1 -1
- package/dist/{claude-code-updater-CHEL6LOF.js → claude-code-updater-VKTFAUV3.js} +3 -3
- package/dist/{claude-pair-runtime-AGJH54AR.js → claude-pair-runtime-WMP5O3JG.js} +3 -3
- package/dist/lib/manager-worker.js +29 -22
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +13 -1
- package/dist/mcp/index.js +13 -1
- package/dist/mcp/origami.js +13 -1
- package/dist/mcp/slack-channel.js +13 -1
- package/dist/mcp/telegram-channel.js +13 -1
- package/dist/{persistent-session-HQPQPNPK.js → persistent-session-UXXRNZ74.js} +4 -4
- package/dist/{responsiveness-probe-6GNSPLD2.js → responsiveness-probe-X4QJKKRR.js} +4 -4
- package/dist/{session-auth-dead-4Z24MU6C.js → session-auth-dead-T4FSSZWG.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-EWD3K6YD.js.map +0 -1
- package/dist/chunk-SEXB6LTM.js.map +0 -1
- /package/dist/{api-client-EW7NBMWI.js.map → api-client-U52DMNUZ.js.map} +0 -0
- /package/dist/{chunk-AZOT5URF.js.map → chunk-3DOSUOHP.js.map} +0 -0
- /package/dist/{chunk-ZDON4IXL.js.map → chunk-4RTRYTAS.js.map} +0 -0
- /package/dist/{chunk-FD3GWWVL.js.map → chunk-5MAK4D4P.js.map} +0 -0
- /package/dist/{claude-code-updater-CHEL6LOF.js.map → claude-code-updater-VKTFAUV3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-AGJH54AR.js.map → claude-pair-runtime-WMP5O3JG.js.map} +0 -0
- /package/dist/{persistent-session-HQPQPNPK.js.map → persistent-session-UXXRNZ74.js.map} +0 -0
- /package/dist/{responsiveness-probe-6GNSPLD2.js.map → responsiveness-probe-X4QJKKRR.js.map} +0 -0
- /package/dist/{session-auth-dead-4Z24MU6C.js.map → session-auth-dead-T4FSSZWG.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-5MAK4D4P.js";
|
|
19
|
+
import "./chunk-47XHFW55.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-U52DMNUZ.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-KYA2WIES.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-5MAK4D4P.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir,
|
|
48
48
|
isSessionResumeDisabled,
|
|
49
49
|
readDirectChatSessionState
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-SR36GVLZ.js";
|
|
51
51
|
import {
|
|
52
52
|
markDailySessionSpawn,
|
|
53
53
|
sessionFileExists,
|
|
54
54
|
sessionTranscriptDir
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-4RTRYTAS.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-47XHFW55.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.1256" : "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.1256" : "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-47XHFW55.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-3DOSUOHP.js.map
|
|
@@ -7220,6 +7220,12 @@ var FLAG_REGISTRY = [
|
|
|
7220
7220
|
flagType: "boolean",
|
|
7221
7221
|
defaultValue: false
|
|
7222
7222
|
},
|
|
7223
|
+
{
|
|
7224
|
+
key: "owner-dark-notice",
|
|
7225
|
+
description: "CS-2326: tell the ORG OWNER (Slack/Telegram DM as the agent bot, else email) when the org's agents go dark - an open usage_limit_reached alert, or a host_down open for 30+ minutes - and again when the alert closes recovered. One notice per (alert, org), ledgered in owner_dark_notices. Org-scoped boolean; ships dark.",
|
|
7226
|
+
flagType: "boolean",
|
|
7227
|
+
defaultValue: false
|
|
7228
|
+
},
|
|
7223
7229
|
{
|
|
7224
7230
|
key: "human-task-assignment-notify",
|
|
7225
7231
|
description: "Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent assigns them a kanban task (ENG-6665, /host/kanban/assign-human). Off = the card is created silently (it still appears on the recipient's My Tasks page). Boolean gate; ships dark.",
|
|
@@ -9141,7 +9147,7 @@ var FLAG_REGISTRY = [
|
|
|
9141
9147
|
},
|
|
9142
9148
|
{
|
|
9143
9149
|
key: "premium-gateway-inference",
|
|
9144
|
-
description:
|
|
9150
|
+
description: 'ENG-10865 / ADR-0117 - ON NOW MINTS, AND STILL DELIVERS NOTHING. Do not turn it on expecting a working gateway. As of the API-side wiring, ON means every PROVISIONING write (agent create, host assign, host migrate, support onboarding) mints a budgeted per-agent Vercel key for an agent whose model policy carries a transport=gateway binding with credential_owner=platform and credential_mode=per_agent_minted - real platform spend, per agent. The cap is the AGENT budget if one is set, else the policy budget, else $25/month - and the agent value is a per-row column any team member can PATCH, so the effective ceiling is the $500/month clamp, not the $25 default (Obi Wan e37c56ea5955). Nothing CONSUMES it yet: no published agt-cli reads the delivered field, so GATEWAY_KEY_MIN_AGT_VERSION is null, the key is omitted from every /host/refresh body, resolveBindingCredential is unchanged, and a gateway binding still resolves `blocked-gateway`. So ON today buys keys nobody spends and nobody can use. It becomes a working switch when the CLI consumer ships and that threshold names a published version; OFF will remain exactly the fleet behaviour before this flag existed. Minting runs from provisioning writes ONLY, never from the polled /host/refresh: a mint is a 15-second vendor call and a claim two concurrent polls would race. One consequence is operational - an agent whose policy is assigned or edited AFTER it was provisioned, and every agent that already exists when this is first switched on, holds no key until an operator reconciles it. 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 credential can be set in prod at any time, independently of this flag, of metering (ENG-10867) and of the premium opt-in (ENG-10868), so presence of the credential must never BE the gate. That is the durable reason and it holds whatever prod currently holds. What prod currently holds, as a DATED observation: the secret is NOT set - the prod deploy for 54988ed44b93 (2026-11-11) reported `skip AI_GATEWAY_MINT_TOKEN (unset, nothing to clear)` in its SSM step, so /augmented/prod/gateway-mint/AI_GATEWAY_MINT_TOKEN does not exist and two independent mechanisms keep this dark: no flag and no credential. Read SSM rather than this line before relying on that - an earlier revision of this description asserted the opposite in the present tense ("the secret is set in prod"), which contradicted the measurement recorded in TASKS-ENG-10865.md and was caught in review (Obi Wan aabe5de1ca0d). A deployment fact stated inside a code registry goes stale by construction. Boolean.',
|
|
9145
9151
|
flagType: "boolean",
|
|
9146
9152
|
defaultValue: false,
|
|
9147
9153
|
sensitive: true,
|
|
@@ -11120,6 +11126,7 @@ var ROLE_PERMISSIONS = {
|
|
|
11120
11126
|
"project.create",
|
|
11121
11127
|
"project.edit",
|
|
11122
11128
|
"project.move",
|
|
11129
|
+
"project.share",
|
|
11123
11130
|
"workflow.author",
|
|
11124
11131
|
"workflow.promote",
|
|
11125
11132
|
"guardrail.author"
|
|
@@ -11149,6 +11156,7 @@ var ROLE_PERMISSIONS = {
|
|
|
11149
11156
|
"project.create",
|
|
11150
11157
|
"project.edit",
|
|
11151
11158
|
"project.move",
|
|
11159
|
+
"project.share",
|
|
11152
11160
|
"workflow.author",
|
|
11153
11161
|
"workflow.promote",
|
|
11154
11162
|
"guardrail.author"
|
|
@@ -17682,6 +17690,10 @@ var HOUR_MS = 60 * MINUTE_MS;
|
|
|
17682
17690
|
var DAY_MS = 24 * HOUR_MS;
|
|
17683
17691
|
var ALERT_AGE_SEVERITY_FLOORS = [{ afterMs: 24 * HOUR_MS, floor: "critical" }];
|
|
17684
17692
|
|
|
17693
|
+
// ../../packages/core/dist/alerts/owner-notice.js
|
|
17694
|
+
var HOST_DOWN_NOTICE_GRACE_MS = 30 * 60 * 1e3;
|
|
17695
|
+
var NOTICE_RETRY_AFTER_MS = 10 * 60 * 1e3;
|
|
17696
|
+
|
|
17685
17697
|
// ../../packages/core/dist/conversations/classify.js
|
|
17686
17698
|
var SYSTEM_CONTENT_MARKERS = [
|
|
17687
17699
|
/\(synthetic-health-check\b/i
|
|
@@ -18730,4 +18742,4 @@ export {
|
|
|
18730
18742
|
HOST_ROTATE_KEY_CONFLICT,
|
|
18731
18743
|
shouldMintReplacementKey
|
|
18732
18744
|
};
|
|
18733
|
-
//# sourceMappingURL=chunk-
|
|
18745
|
+
//# sourceMappingURL=chunk-47XHFW55.js.map
|