@integrity-labs/agt-cli 0.28.74 → 0.28.76
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-AB57D3NN.js → chunk-4NTTCTDC.js} +2 -2
- package/dist/{chunk-WNUAEC22.js → chunk-5TJ25V24.js} +3 -3
- package/dist/{chunk-PXMYLQWB.js → chunk-GHH23BAM.js} +34 -12
- package/dist/chunk-GHH23BAM.js.map +1 -0
- package/dist/{claude-pair-runtime-6KND4QS7.js → claude-pair-runtime-75J2Q6BN.js} +2 -2
- package/dist/lib/manager-worker.js +46 -23
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-VKRJVW7A.js → persistent-session-ZUGPA5HU.js} +3 -3
- package/dist/{responsiveness-probe-2VTHIPLG.js → responsiveness-probe-KDMBLW5W.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-PXMYLQWB.js.map +0 -1
- /package/dist/{chunk-AB57D3NN.js.map → chunk-4NTTCTDC.js.map} +0 -0
- /package/dist/{chunk-WNUAEC22.js.map → chunk-5TJ25V24.js.map} +0 -0
- /package/dist/{claude-pair-runtime-6KND4QS7.js.map → claude-pair-runtime-75J2Q6BN.js.map} +0 -0
- /package/dist/{persistent-session-VKRJVW7A.js.map → persistent-session-ZUGPA5HU.js.map} +0 -0
- /package/dist/{responsiveness-probe-2VTHIPLG.js.map → responsiveness-probe-KDMBLW5W.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-5TJ25V24.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-GHH23BAM.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.76" : "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.76" : "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-GHH23BAM.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-4NTTCTDC.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveConnectivityProbe,
|
|
23
23
|
worseConnectivityOutcome,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GHH23BAM.js";
|
|
26
26
|
|
|
27
27
|
// ../../packages/core/dist/integrations/registry.js
|
|
28
28
|
var INTEGRATION_REGISTRY = [
|
|
@@ -7397,7 +7397,7 @@ function requireHost() {
|
|
|
7397
7397
|
}
|
|
7398
7398
|
|
|
7399
7399
|
// src/lib/api-client.ts
|
|
7400
|
-
var agtCliVersion = true ? "0.28.
|
|
7400
|
+
var agtCliVersion = true ? "0.28.76" : "dev";
|
|
7401
7401
|
var lastConfigHash = null;
|
|
7402
7402
|
function setConfigHash(hash) {
|
|
7403
7403
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8693,4 +8693,4 @@ export {
|
|
|
8693
8693
|
managerInstallSystemUnitCommand,
|
|
8694
8694
|
managerUninstallSystemUnitCommand
|
|
8695
8695
|
};
|
|
8696
|
-
//# sourceMappingURL=chunk-
|
|
8696
|
+
//# sourceMappingURL=chunk-5TJ25V24.js.map
|
|
@@ -957,21 +957,36 @@ var HOURLY_BY_REGION = {
|
|
|
957
957
|
var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
|
|
958
958
|
|
|
959
959
|
// ../../packages/core/dist/onboarding/state-machine.js
|
|
960
|
-
var
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
960
|
+
var AREA_ORDER = [
|
|
961
|
+
"framing",
|
|
962
|
+
"tasks",
|
|
963
|
+
"integrations",
|
|
964
|
+
"reporting"
|
|
965
|
+
];
|
|
966
|
+
var AREA_SET = new Set(AREA_ORDER);
|
|
967
|
+
function isOnboardingArea(step) {
|
|
968
|
+
return AREA_SET.has(step);
|
|
969
|
+
}
|
|
968
970
|
var INITIAL_ONBOARDING_STATE = { step: "pending", completed: [] };
|
|
969
|
-
var VALID_STEPS = new Set(
|
|
971
|
+
var VALID_STEPS = /* @__PURE__ */ new Set(["pending", ...AREA_ORDER, "ready"]);
|
|
972
|
+
var LEGACY_STEP_REMAP = {
|
|
973
|
+
interviewing: "framing",
|
|
974
|
+
configuring: "tasks"
|
|
975
|
+
};
|
|
976
|
+
function remapStep(raw) {
|
|
977
|
+
if (VALID_STEPS.has(raw))
|
|
978
|
+
return raw;
|
|
979
|
+
return LEGACY_STEP_REMAP[raw] ?? null;
|
|
980
|
+
}
|
|
970
981
|
function coerceOnboardingState(raw) {
|
|
971
982
|
if (raw && typeof raw === "object") {
|
|
972
983
|
const s = raw;
|
|
973
|
-
if (typeof s.step === "string" &&
|
|
974
|
-
|
|
984
|
+
if (typeof s.step === "string" && Array.isArray(s.completed)) {
|
|
985
|
+
const step = remapStep(s.step);
|
|
986
|
+
if (step === null)
|
|
987
|
+
return INITIAL_ONBOARDING_STATE;
|
|
988
|
+
const completed = s.completed.filter((c) => typeof c === "string").map(remapStep).filter((c) => c !== null);
|
|
989
|
+
return { step, completed };
|
|
975
990
|
}
|
|
976
991
|
}
|
|
977
992
|
return INITIAL_ONBOARDING_STATE;
|
|
@@ -4516,6 +4531,11 @@ ${baseInput}`;
|
|
|
4516
4531
|
}
|
|
4517
4532
|
return nowBlock + body;
|
|
4518
4533
|
}
|
|
4534
|
+
function buildScheduledTaskContextBlocks(options = {}) {
|
|
4535
|
+
const nowBlock = buildNowBlock(resolveEffectiveTimezone(options.timezone, options.teamTimezone));
|
|
4536
|
+
const priorBlock = buildPriorRunsBlock(options.priorRuns);
|
|
4537
|
+
return nowBlock + priorBlock;
|
|
4538
|
+
}
|
|
4519
4539
|
function stripNowBlock(wrappedPrompt) {
|
|
4520
4540
|
if (!wrappedPrompt.startsWith(NOW_BLOCK_HEADER))
|
|
4521
4541
|
return wrappedPrompt;
|
|
@@ -5507,6 +5527,7 @@ function probeMcpEnvSubstitution(args) {
|
|
|
5507
5527
|
|
|
5508
5528
|
export {
|
|
5509
5529
|
wrapScheduledTaskPrompt,
|
|
5530
|
+
buildScheduledTaskContextBlocks,
|
|
5510
5531
|
parseDeliveryTarget,
|
|
5511
5532
|
isParseError,
|
|
5512
5533
|
appendDmFooter,
|
|
@@ -5553,6 +5574,7 @@ export {
|
|
|
5553
5574
|
probeComposioAccount,
|
|
5554
5575
|
probeComposioMcpToolCall,
|
|
5555
5576
|
probeHttpProvider,
|
|
5577
|
+
isOnboardingArea,
|
|
5556
5578
|
coerceOnboardingState,
|
|
5557
5579
|
detectDrift,
|
|
5558
5580
|
SUPPRESS_SENTINEL,
|
|
@@ -5575,4 +5597,4 @@ export {
|
|
|
5575
5597
|
parseEnvIntegrations,
|
|
5576
5598
|
probeMcpEnvSubstitution
|
|
5577
5599
|
};
|
|
5578
|
-
//# sourceMappingURL=chunk-
|
|
5600
|
+
//# sourceMappingURL=chunk-GHH23BAM.js.map
|