@integrity-labs/agt-cli 0.28.69 → 0.28.71
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-NAKDDR6O.js → chunk-36O7GO5B.js} +2 -2
- package/dist/{chunk-RTQ42HVY.js → chunk-4FLPEG4D.js} +3 -3
- package/dist/{chunk-F7LALIIP.js → chunk-Z2BMTZQK.js} +34 -15
- package/dist/chunk-Z2BMTZQK.js.map +1 -0
- package/dist/{claude-pair-runtime-W6D56XZG.js → claude-pair-runtime-XW57YWRZ.js} +2 -2
- package/dist/lib/manager-worker.js +185 -115
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +1 -1
- package/dist/mcp/telegram-channel.js +1 -1
- package/dist/{persistent-session-37EAR7QR.js → persistent-session-JCVHOC2Q.js} +3 -3
- package/dist/{responsiveness-probe-WI5X7C55.js → responsiveness-probe-OTYU6IER.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-F7LALIIP.js.map +0 -1
- /package/dist/{chunk-NAKDDR6O.js.map → chunk-36O7GO5B.js.map} +0 -0
- /package/dist/{chunk-RTQ42HVY.js.map → chunk-4FLPEG4D.js.map} +0 -0
- /package/dist/{claude-pair-runtime-W6D56XZG.js.map → claude-pair-runtime-XW57YWRZ.js.map} +0 -0
- /package/dist/{persistent-session-37EAR7QR.js.map → persistent-session-JCVHOC2Q.js.map} +0 -0
- /package/dist/{responsiveness-probe-WI5X7C55.js.map → responsiveness-probe-OTYU6IER.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-4FLPEG4D.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-Z2BMTZQK.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.71" : "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.71" : "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) => {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMissingVar,
|
|
4
4
|
isClaudeFastMode,
|
|
5
5
|
probeMcpEnvSubstitution
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z2BMTZQK.js";
|
|
7
7
|
import {
|
|
8
8
|
reapOrphanChannelMcps
|
|
9
9
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1395,4 +1395,4 @@ export {
|
|
|
1395
1395
|
stopAllSessionsAndWait,
|
|
1396
1396
|
getProjectDir
|
|
1397
1397
|
};
|
|
1398
|
-
//# sourceMappingURL=chunk-
|
|
1398
|
+
//# sourceMappingURL=chunk-36O7GO5B.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveConnectivityProbe,
|
|
23
23
|
worseConnectivityOutcome,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-Z2BMTZQK.js";
|
|
26
26
|
|
|
27
27
|
// ../../packages/core/dist/integrations/registry.js
|
|
28
28
|
var INTEGRATION_REGISTRY = [
|
|
@@ -7347,7 +7347,7 @@ function requireHost() {
|
|
|
7347
7347
|
}
|
|
7348
7348
|
|
|
7349
7349
|
// src/lib/api-client.ts
|
|
7350
|
-
var agtCliVersion = true ? "0.28.
|
|
7350
|
+
var agtCliVersion = true ? "0.28.71" : "dev";
|
|
7351
7351
|
var lastConfigHash = null;
|
|
7352
7352
|
function setConfigHash(hash) {
|
|
7353
7353
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8643,4 +8643,4 @@ export {
|
|
|
8643
8643
|
managerInstallSystemUnitCommand,
|
|
8644
8644
|
managerUninstallSystemUnitCommand
|
|
8645
8645
|
};
|
|
8646
|
-
//# sourceMappingURL=chunk-
|
|
8646
|
+
//# sourceMappingURL=chunk-4FLPEG4D.js.map
|
|
@@ -552,14 +552,15 @@ function generateSlackAppManifest(input) {
|
|
|
552
552
|
description: "Restart this agent (allowlisted users only).",
|
|
553
553
|
should_escape: false
|
|
554
554
|
},
|
|
555
|
-
// ENG-6511:
|
|
555
|
+
// ENG-6511: re-run self-onboarding (re-interview; the agent's
|
|
556
|
+
// config is kept, not wiped, ENG-6531). Routed by the
|
|
556
557
|
// slash_commands envelope handler in
|
|
557
558
|
// packages/mcp/src/slack-channel.ts, which forwards to
|
|
558
|
-
// POST /host/onboarding/reset (RESET — clears progress).
|
|
559
|
+
// POST /host/onboarding/reset (RESET — clears the progress trail).
|
|
559
560
|
{
|
|
560
561
|
command: agentSlashCommand("/onboard", agent_code_name),
|
|
561
562
|
url: slash_command_url,
|
|
562
|
-
description: "
|
|
563
|
+
description: "Re-run this agent\u2019s onboarding interview, keeping its existing config (allowlisted users only).",
|
|
563
564
|
should_escape: false
|
|
564
565
|
},
|
|
565
566
|
// ENG-6490 / ENG-6511: resume self-onboarding from where it left
|
|
@@ -955,6 +956,27 @@ var HOURLY_BY_REGION = {
|
|
|
955
956
|
};
|
|
956
957
|
var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
|
|
957
958
|
|
|
959
|
+
// ../../packages/core/dist/onboarding/state-machine.js
|
|
960
|
+
var TRANSITIONS = {
|
|
961
|
+
// RESUME is omitted from `pending` on purpose: there is nothing to resume
|
|
962
|
+
// before onboarding has begun. The host endpoint maps that case to START.
|
|
963
|
+
pending: { START: "interviewing" },
|
|
964
|
+
interviewing: { INTERVIEW_DONE: "configuring", RESET: "interviewing", RESUME: "interviewing" },
|
|
965
|
+
configuring: { CONFIGURE_DONE: "ready", RESET: "interviewing", RESUME: "configuring" },
|
|
966
|
+
ready: { RESET: "interviewing", RESUME: "ready" }
|
|
967
|
+
};
|
|
968
|
+
var INITIAL_ONBOARDING_STATE = { step: "pending", completed: [] };
|
|
969
|
+
var VALID_STEPS = new Set(Object.keys(TRANSITIONS));
|
|
970
|
+
function coerceOnboardingState(raw) {
|
|
971
|
+
if (raw && typeof raw === "object") {
|
|
972
|
+
const s = raw;
|
|
973
|
+
if (typeof s.step === "string" && VALID_STEPS.has(s.step) && Array.isArray(s.completed)) {
|
|
974
|
+
return s;
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
return INITIAL_ONBOARDING_STATE;
|
|
978
|
+
}
|
|
979
|
+
|
|
958
980
|
// ../../packages/core/dist/claude-code-usage/run-marker.js
|
|
959
981
|
function formatRunMarker(runId) {
|
|
960
982
|
return `<!-- agt-run:${runId} -->`;
|
|
@@ -1034,6 +1056,13 @@ var FLAG_REGISTRY = [
|
|
|
1034
1056
|
defaultValue: false,
|
|
1035
1057
|
envVar: "AGT_MANAGER_FAILURE_NOTIFY_ENABLED"
|
|
1036
1058
|
},
|
|
1059
|
+
{
|
|
1060
|
+
key: "manager-review-notify",
|
|
1061
|
+
description: "Deliver the agent's weekly performance-review check-in to its human manager (reports_to, chain-walked \u2192 preferred channel) via the submit_performance_review tool (ENG-6513). Boolean gate; ships dark.",
|
|
1062
|
+
flagType: "boolean",
|
|
1063
|
+
defaultValue: false,
|
|
1064
|
+
envVar: "AGT_MANAGER_REVIEW_NOTIFY_ENABLED"
|
|
1065
|
+
},
|
|
1037
1066
|
{
|
|
1038
1067
|
key: "resume-reconciler",
|
|
1039
1068
|
description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
|
|
@@ -4205,17 +4234,6 @@ async function probeHttpProvider(definitionId, credentials, fetchImpl = fetch) {
|
|
|
4205
4234
|
}
|
|
4206
4235
|
}
|
|
4207
4236
|
|
|
4208
|
-
// ../../packages/core/dist/onboarding/state-machine.js
|
|
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.
|
|
4212
|
-
pending: { START: "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" }
|
|
4216
|
-
};
|
|
4217
|
-
var VALID_STEPS = new Set(Object.keys(TRANSITIONS));
|
|
4218
|
-
|
|
4219
4237
|
// ../../packages/core/dist/scheduled-tasks/timezone.js
|
|
4220
4238
|
function isUnsetTimezone(tz) {
|
|
4221
4239
|
if (!tz)
|
|
@@ -5523,6 +5541,7 @@ export {
|
|
|
5523
5541
|
probeComposioAccount,
|
|
5524
5542
|
probeComposioMcpToolCall,
|
|
5525
5543
|
probeHttpProvider,
|
|
5544
|
+
coerceOnboardingState,
|
|
5526
5545
|
detectDrift,
|
|
5527
5546
|
SUPPRESS_SENTINEL,
|
|
5528
5547
|
classifyOutput,
|
|
@@ -5544,4 +5563,4 @@ export {
|
|
|
5544
5563
|
parseEnvIntegrations,
|
|
5545
5564
|
probeMcpEnvSubstitution
|
|
5546
5565
|
};
|
|
5547
|
-
//# sourceMappingURL=chunk-
|
|
5566
|
+
//# sourceMappingURL=chunk-Z2BMTZQK.js.map
|