@integrity-labs/agt-cli 0.28.1239 → 0.28.1240
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 +6 -6
- package/dist/{chunk-6UWT4OVX.js → chunk-4ZDAVIMX.js} +3 -3
- package/dist/{chunk-UBEPEAMN.js → chunk-VKJ2GXC6.js} +40 -1
- package/dist/{chunk-UBEPEAMN.js.map → chunk-VKJ2GXC6.js.map} +1 -1
- package/dist/{chunk-REIG7RY4.js → chunk-WKNCW2AL.js} +5 -5
- package/dist/{chunk-CWO5BDXI.js → chunk-YZJO2JC7.js} +2 -2
- package/dist/{chunk-IMNBAJ76.js → chunk-ZRAP5UUT.js} +2 -2
- package/dist/{claude-code-updater-DD6TTIGM.js → claude-code-updater-F7UFE2WX.js} +3 -3
- package/dist/{claude-pair-runtime-YLHZQYW6.js → claude-pair-runtime-2KESDT3W.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/mcp/direct-chat-channel.js +39 -0
- package/dist/mcp/index.js +39 -0
- package/dist/mcp/origami.js +39 -0
- package/dist/mcp/slack-channel.js +39 -0
- package/dist/mcp/telegram-channel.js +39 -0
- package/dist/{persistent-session-2XBZ3AV3.js → persistent-session-X34IE2LC.js} +4 -4
- package/dist/{responsiveness-probe-XEQL4LXY.js → responsiveness-probe-DRA6WD2Y.js} +4 -4
- package/dist/{session-auth-dead-UKCQ3SSK.js → session-auth-dead-MIQZUWLO.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-6UWT4OVX.js.map → chunk-4ZDAVIMX.js.map} +0 -0
- /package/dist/{chunk-REIG7RY4.js.map → chunk-WKNCW2AL.js.map} +0 -0
- /package/dist/{chunk-CWO5BDXI.js.map → chunk-YZJO2JC7.js.map} +0 -0
- /package/dist/{chunk-IMNBAJ76.js.map → chunk-ZRAP5UUT.js.map} +0 -0
- /package/dist/{claude-code-updater-DD6TTIGM.js.map → claude-code-updater-F7UFE2WX.js.map} +0 -0
- /package/dist/{claude-pair-runtime-YLHZQYW6.js.map → claude-pair-runtime-2KESDT3W.js.map} +0 -0
- /package/dist/{persistent-session-2XBZ3AV3.js.map → persistent-session-X34IE2LC.js.map} +0 -0
- /package/dist/{responsiveness-probe-XEQL4LXY.js.map → responsiveness-probe-DRA6WD2Y.js.map} +0 -0
- /package/dist/{session-auth-dead-UKCQ3SSK.js.map → session-auth-dead-MIQZUWLO.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,17 +40,17 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-WKNCW2AL.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-4ZDAVIMX.js";
|
|
49
49
|
import {
|
|
50
50
|
markDailySessionSpawn,
|
|
51
51
|
sessionFileExists,
|
|
52
52
|
sessionTranscriptDir
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-ZRAP5UUT.js";
|
|
54
54
|
import "../chunk-HYQ7VOC3.js";
|
|
55
55
|
import "../chunk-6HBXEJHO.js";
|
|
56
56
|
import "../chunk-XWVM4KPK.js";
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
requiredMcpWildcard,
|
|
84
84
|
resolveChannels,
|
|
85
85
|
serializeManifestForSlackCli
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-VKJ2GXC6.js";
|
|
87
87
|
import "../chunk-AIUIMEUS.js";
|
|
88
88
|
import "../chunk-DGUM43GV.js";
|
|
89
89
|
|
|
@@ -5205,7 +5205,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5205
5205
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
5206
5206
|
import chalk17 from "chalk";
|
|
5207
5207
|
import ora15 from "ora";
|
|
5208
|
-
var cliVersion = true ? "0.28.
|
|
5208
|
+
var cliVersion = true ? "0.28.1240" : "dev";
|
|
5209
5209
|
async function fetchLatestVersion() {
|
|
5210
5210
|
const host2 = getHost();
|
|
5211
5211
|
if (!host2) return null;
|
|
@@ -6465,7 +6465,7 @@ function handleError(err) {
|
|
|
6465
6465
|
}
|
|
6466
6466
|
|
|
6467
6467
|
// src/bin/agt.ts
|
|
6468
|
-
var cliVersion2 = true ? "0.28.
|
|
6468
|
+
var cliVersion2 = true ? "0.28.1240" : "dev";
|
|
6469
6469
|
var program = new Command();
|
|
6470
6470
|
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");
|
|
6471
6471
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
rotateDailySession,
|
|
5
5
|
sessionFileExists,
|
|
6
6
|
todayLocalIso
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZRAP5UUT.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-VKJ2GXC6.js";
|
|
55
55
|
import {
|
|
56
56
|
CLAUDE_CONFIG_DIR_ENV,
|
|
57
57
|
approveApiKeyInClaudeConfig,
|
|
@@ -6196,4 +6196,4 @@ export {
|
|
|
6196
6196
|
stopAllSessionsAndWait,
|
|
6197
6197
|
getProjectDir
|
|
6198
6198
|
};
|
|
6199
|
-
//# sourceMappingURL=chunk-
|
|
6199
|
+
//# sourceMappingURL=chunk-4ZDAVIMX.js.map
|
|
@@ -8002,6 +8002,24 @@ var FLAG_REGISTRY = [
|
|
|
8002
8002
|
// everywhere it matters.
|
|
8003
8003
|
envVar: "AUGMENTED_CONNECTIVITY_RECONCILE_STATUS"
|
|
8004
8004
|
},
|
|
8005
|
+
{
|
|
8006
|
+
key: "platform-held-key-central-probe",
|
|
8007
|
+
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).",
|
|
8008
|
+
flagType: "boolean",
|
|
8009
|
+
// Declared safe value is `false` (the cron returns before any read). A
|
|
8010
|
+
// flag-DB read error also degrades to off, so a flag outage can never start
|
|
8011
|
+
// moving escalation counters on its own.
|
|
8012
|
+
defaultValue: false,
|
|
8013
|
+
// GLOBAL ONLY (the cron and the host route evaluate it with an empty
|
|
8014
|
+
// context), so an org override would be stored and inert while reading as
|
|
8015
|
+
// if it armed the lane for that org. Same constraint and same setting as
|
|
8016
|
+
// block-self-serve-org-creation (CodeRabbit on #7450).
|
|
8017
|
+
platformAdminOnly: true,
|
|
8018
|
+
// One global flip can start opening integration_down pages fleet-wide, so
|
|
8019
|
+
// it takes the same confirmation step as the other alerting gates
|
|
8020
|
+
// (CodeRabbit on #7450).
|
|
8021
|
+
sensitive: true
|
|
8022
|
+
},
|
|
8005
8023
|
{
|
|
8006
8024
|
key: "slack-manifest-remediate",
|
|
8007
8025
|
description: "Let the Slack manifest drift monitor PUSH, not just alert (ENG-9963). updateSlackManifest had exactly one caller \u2014 a console button \u2014 so nothing but a human click ever pushed a manifest; ENG-7762 changed the generator with no rollout mechanism and 26 agents went 53 days with no working per-agent slash commands. When on, the daily drift cron pushes the generated manifest for a drifted agent. When off it alerts exactly as before. NOTE what arming this authorises: a push REPLACES a customer-owned Slack app's entire manifest, so the cron only ever pushes drift whose diffs are purely additive (isSafelyRemediable) \u2014 an app with live-only entries a push would destroy is declined and left for a human. Boolean gate; ships dark.",
|
|
@@ -8832,6 +8850,27 @@ var FLAG_REGISTRY = [
|
|
|
8832
8850
|
// row for it and the flag can never be on. Platform-admin-only: whether Pronto
|
|
8833
8851
|
// honours the filter is unproven, so an org must not switch it on for itself.
|
|
8834
8852
|
platformAdminOnly: true
|
|
8853
|
+
},
|
|
8854
|
+
{
|
|
8855
|
+
key: "premium-gateway-inference",
|
|
8856
|
+
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.",
|
|
8857
|
+
flagType: "boolean",
|
|
8858
|
+
defaultValue: false,
|
|
8859
|
+
sensitive: true,
|
|
8860
|
+
// Arming this spends OUR money, not the org's. `defaultValue: false` alone
|
|
8861
|
+
// would still let any org owner/admin turn it on for their own org through
|
|
8862
|
+
// PUT /flags/:key/overrides, so the rollout has to be platform-admin-only
|
|
8863
|
+
// (ADR-0120) - the same reasoning as `composio-arm-key-at-mint` above, which
|
|
8864
|
+
// is also a posture the org is subject to rather than one it chooses.
|
|
8865
|
+
platformAdminOnly: true
|
|
8866
|
+
// No `envVar`, and that is not an omission. Per ADR-0022 an envVar is the
|
|
8867
|
+
// HIGHEST-precedence override on the surface that reads the flag, and the
|
|
8868
|
+
// reader here is the API, not the host - so a host-side env var could not
|
|
8869
|
+
// reach it, while an API-side one would pin the value on every deployed
|
|
8870
|
+
// stage and make both the default and every admin-UI override unreachable
|
|
8871
|
+
// (check-flag-envvar-sst-pin, ENG-8303). There is no `since` for the same
|
|
8872
|
+
// reason: nothing host-side reads this, so a flip lands centrally without
|
|
8873
|
+
// waiting on fleet convergence.
|
|
8835
8874
|
}
|
|
8836
8875
|
];
|
|
8837
8876
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -18350,4 +18389,4 @@ export {
|
|
|
18350
18389
|
HOST_ROTATE_KEY_CONFLICT,
|
|
18351
18390
|
shouldMintReplacementKey
|
|
18352
18391
|
};
|
|
18353
|
-
//# sourceMappingURL=chunk-
|
|
18392
|
+
//# sourceMappingURL=chunk-VKJ2GXC6.js.map
|