@integrity-labs/agt-cli 0.28.60 → 0.28.62
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 +4 -4
- package/dist/{chunk-BCWB6A4G.js → chunk-7F2K3RRD.js} +36 -8
- package/dist/chunk-7F2K3RRD.js.map +1 -0
- package/dist/{chunk-IGP67S2Z.js → chunk-AKOF4VV5.js} +2 -2
- package/dist/{chunk-DC2QI6OD.js → chunk-QQGXIZVB.js} +3 -3
- package/dist/{claude-pair-runtime-EVJVZCRI.js → claude-pair-runtime-QSRMTD7I.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/mcp/direct-chat-channel.js +65 -1
- package/dist/mcp/slack-channel.js +176 -81
- package/dist/mcp/telegram-channel.js +223 -55
- package/dist/{persistent-session-3W3TQK73.js → persistent-session-5PEPYSMG.js} +3 -3
- package/dist/{responsiveness-probe-5MXY5KYZ.js → responsiveness-probe-HG23JDG2.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-BCWB6A4G.js.map +0 -1
- /package/dist/{chunk-IGP67S2Z.js.map → chunk-AKOF4VV5.js.map} +0 -0
- /package/dist/{chunk-DC2QI6OD.js.map → chunk-QQGXIZVB.js.map} +0 -0
- /package/dist/{claude-pair-runtime-EVJVZCRI.js.map → claude-pair-runtime-QSRMTD7I.js.map} +0 -0
- /package/dist/{persistent-session-3W3TQK73.js.map → persistent-session-5PEPYSMG.js.map} +0 -0
- /package/dist/{responsiveness-probe-5MXY5KYZ.js.map → responsiveness-probe-HG23JDG2.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
success,
|
|
38
38
|
table,
|
|
39
39
|
warn
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-QQGXIZVB.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
renderTemplate,
|
|
65
65
|
resolveChannels,
|
|
66
66
|
serializeManifestForSlackCli
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-7F2K3RRD.js";
|
|
68
68
|
|
|
69
69
|
// src/bin/agt.ts
|
|
70
70
|
import { join as join22 } from "path";
|
|
@@ -4777,7 +4777,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4777
4777
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4778
4778
|
import chalk18 from "chalk";
|
|
4779
4779
|
import ora16 from "ora";
|
|
4780
|
-
var cliVersion = true ? "0.28.
|
|
4780
|
+
var cliVersion = true ? "0.28.62" : "dev";
|
|
4781
4781
|
async function fetchLatestVersion() {
|
|
4782
4782
|
const host2 = getHost();
|
|
4783
4783
|
if (!host2) return null;
|
|
@@ -5791,7 +5791,7 @@ function handleError(err) {
|
|
|
5791
5791
|
}
|
|
5792
5792
|
|
|
5793
5793
|
// src/bin/agt.ts
|
|
5794
|
-
var cliVersion2 = true ? "0.28.
|
|
5794
|
+
var cliVersion2 = true ? "0.28.62" : "dev";
|
|
5795
5795
|
var program = new Command();
|
|
5796
5796
|
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");
|
|
5797
5797
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -552,13 +552,24 @@ function generateSlackAppManifest(input) {
|
|
|
552
552
|
description: "Restart this agent (allowlisted users only).",
|
|
553
553
|
should_escape: false
|
|
554
554
|
},
|
|
555
|
-
// ENG-
|
|
556
|
-
// envelope handler in
|
|
557
|
-
//
|
|
555
|
+
// ENG-6511: restart self-onboarding from scratch. Routed by the
|
|
556
|
+
// slash_commands envelope handler in
|
|
557
|
+
// packages/mcp/src/slack-channel.ts, which forwards to
|
|
558
|
+
// POST /host/onboarding/reset (RESET — clears progress).
|
|
559
|
+
{
|
|
560
|
+
command: agentSlashCommand("/onboard", agent_code_name),
|
|
561
|
+
url: slash_command_url,
|
|
562
|
+
description: "Restart this agent\u2019s onboarding from scratch (allowlisted users only).",
|
|
563
|
+
should_escape: false
|
|
564
|
+
},
|
|
565
|
+
// ENG-6490 / ENG-6511: resume self-onboarding from where it left
|
|
566
|
+
// off. Routed by the slash_commands envelope handler in
|
|
567
|
+
// packages/mcp/src/slack-channel.ts, which forwards to
|
|
568
|
+
// POST /host/onboarding/resume (RESUME — preserves progress).
|
|
558
569
|
{
|
|
559
570
|
command: agentSlashCommand("/resume-onboarding", agent_code_name),
|
|
560
571
|
url: slash_command_url,
|
|
561
|
-
description: "
|
|
572
|
+
description: "Resume this agent\u2019s onboarding where it left off (allowlisted users only).",
|
|
562
573
|
should_escape: false
|
|
563
574
|
},
|
|
564
575
|
// ENG-6030: live pane tail. Routed by the slash_commands
|
|
@@ -1128,6 +1139,21 @@ var FLAG_REGISTRY = [
|
|
|
1128
1139
|
// flag, not an operator gate). Ships dark (default false).
|
|
1129
1140
|
public: true,
|
|
1130
1141
|
defaultValue: false
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
key: "platform-maintenance-mode",
|
|
1145
|
+
description: 'Platform-wide maintenance mode (ENG-6506): when on, every agent across every team/org auto-replies to admitted human inbound with a "we are offline for maintenance" notice instead of dispatching to the agent \u2014 for whole-platform downtime such as DB upgrades. Read host-side per inbound from the flags cache (no MCP restart). Boolean gate; ships dark \u2014 when off, channels behave exactly as today. (Proactive "back online" follow-up is the ENG-6508 fast-follow, not this flag.)',
|
|
1146
|
+
flagType: "boolean",
|
|
1147
|
+
// Declared safe value is `false` (normal operation). Fail-safe direction: a
|
|
1148
|
+
// flag-DB read error or absent flag map must never silence the fleet on its
|
|
1149
|
+
// own — agents stay responsive unless an operator deliberately flips this on
|
|
1150
|
+
// from the admin Feature Flags page. No envVar: net-new control, no
|
|
1151
|
+
// pre-flags env gate to migrate.
|
|
1152
|
+
defaultValue: false,
|
|
1153
|
+
// Flipping this takes the ENTIRE fleet offline to end users; a mis-flip is a
|
|
1154
|
+
// platform-wide availability incident, so mutations require explicit
|
|
1155
|
+
// confirmation (the admin flip-reach modal).
|
|
1156
|
+
sensitive: true
|
|
1131
1157
|
}
|
|
1132
1158
|
];
|
|
1133
1159
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -4181,10 +4207,12 @@ async function probeHttpProvider(definitionId, credentials, fetchImpl = fetch) {
|
|
|
4181
4207
|
|
|
4182
4208
|
// ../../packages/core/dist/onboarding/state-machine.js
|
|
4183
4209
|
var TRANSITIONS = {
|
|
4210
|
+
// RESUME is omitted from `pending` on purpose: there is nothing to resume
|
|
4211
|
+
// before onboarding has begun. The host endpoint maps that case to START.
|
|
4184
4212
|
pending: { START: "interviewing" },
|
|
4185
|
-
interviewing: { INTERVIEW_DONE: "configuring", RESET: "interviewing" },
|
|
4186
|
-
configuring: { CONFIGURE_DONE: "ready", RESET: "interviewing" },
|
|
4187
|
-
ready: { RESET: "interviewing" }
|
|
4213
|
+
interviewing: { INTERVIEW_DONE: "configuring", RESET: "interviewing", RESUME: "interviewing" },
|
|
4214
|
+
configuring: { CONFIGURE_DONE: "ready", RESET: "interviewing", RESUME: "configuring" },
|
|
4215
|
+
ready: { RESET: "interviewing", RESUME: "ready" }
|
|
4188
4216
|
};
|
|
4189
4217
|
var VALID_STEPS = new Set(Object.keys(TRANSITIONS));
|
|
4190
4218
|
|
|
@@ -5516,4 +5544,4 @@ export {
|
|
|
5516
5544
|
parseEnvIntegrations,
|
|
5517
5545
|
probeMcpEnvSubstitution
|
|
5518
5546
|
};
|
|
5519
|
-
//# sourceMappingURL=chunk-
|
|
5547
|
+
//# sourceMappingURL=chunk-7F2K3RRD.js.map
|