@integrity-labs/agt-cli 0.27.44 → 0.27.46
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-BUJVZFTK.js → chunk-4FUZY6QK.js} +2 -2
- package/dist/{chunk-SG5AM6BO.js → chunk-HBDUXLHC.js} +2 -2
- package/dist/{chunk-GVM2KJOA.js → chunk-UOHGOS3O.js} +1 -1
- package/dist/{claude-pair-runtime-65NGNJ37.js → claude-pair-runtime-76VHV4X5.js} +2 -2
- package/dist/lib/manager-worker.js +11 -9
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-3NLFD7X7.js → persistent-session-A26KX2DA.js} +3 -3
- package/dist/{responsiveness-probe-ZJACUTGA.js → responsiveness-probe-JI2D5Y24.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-BUJVZFTK.js.map → chunk-4FUZY6QK.js.map} +0 -0
- /package/dist/{chunk-SG5AM6BO.js.map → chunk-HBDUXLHC.js.map} +0 -0
- /package/dist/{chunk-GVM2KJOA.js.map → chunk-UOHGOS3O.js.map} +0 -0
- /package/dist/{claude-pair-runtime-65NGNJ37.js.map → claude-pair-runtime-76VHV4X5.js.map} +0 -0
- /package/dist/{persistent-session-3NLFD7X7.js.map → persistent-session-A26KX2DA.js.map} +0 -0
- /package/dist/{responsiveness-probe-ZJACUTGA.js.map → responsiveness-probe-JI2D5Y24.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
success,
|
|
28
28
|
table,
|
|
29
29
|
warn
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-4FUZY6QK.js";
|
|
31
31
|
import {
|
|
32
32
|
CHANNEL_REGISTRY,
|
|
33
33
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
renderTemplate,
|
|
54
54
|
resolveChannels,
|
|
55
55
|
serializeManifestForSlackCli
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-UOHGOS3O.js";
|
|
57
57
|
|
|
58
58
|
// src/bin/agt.ts
|
|
59
59
|
import { join as join18 } from "path";
|
|
@@ -4687,7 +4687,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4687
4687
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4688
4688
|
import chalk18 from "chalk";
|
|
4689
4689
|
import ora16 from "ora";
|
|
4690
|
-
var cliVersion = true ? "0.27.
|
|
4690
|
+
var cliVersion = true ? "0.27.46" : "dev";
|
|
4691
4691
|
async function fetchLatestVersion() {
|
|
4692
4692
|
const host2 = getHost();
|
|
4693
4693
|
if (!host2) return null;
|
|
@@ -5465,7 +5465,7 @@ function handleError(err) {
|
|
|
5465
5465
|
}
|
|
5466
5466
|
|
|
5467
5467
|
// src/bin/agt.ts
|
|
5468
|
-
var cliVersion2 = true ? "0.27.
|
|
5468
|
+
var cliVersion2 = true ? "0.27.46" : "dev";
|
|
5469
5469
|
var program = new Command();
|
|
5470
5470
|
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");
|
|
5471
5471
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseDeliveryTarget,
|
|
10
10
|
registerFramework,
|
|
11
11
|
wrapScheduledTaskPrompt
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UOHGOS3O.js";
|
|
13
13
|
|
|
14
14
|
// ../../packages/core/dist/integrations/registry.js
|
|
15
15
|
var INTEGRATION_REGISTRY = [
|
|
@@ -7120,4 +7120,4 @@ export {
|
|
|
7120
7120
|
managerInstallSystemUnitCommand,
|
|
7121
7121
|
managerUninstallSystemUnitCommand
|
|
7122
7122
|
};
|
|
7123
|
-
//# sourceMappingURL=chunk-
|
|
7123
|
+
//# sourceMappingURL=chunk-4FUZY6QK.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeModelAlias,
|
|
3
3
|
isClaudeFastMode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UOHGOS3O.js";
|
|
5
5
|
import {
|
|
6
6
|
reapOrphanChannelMcps
|
|
7
7
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1125,4 +1125,4 @@ export {
|
|
|
1125
1125
|
stopAllSessionsAndWait,
|
|
1126
1126
|
getProjectDir
|
|
1127
1127
|
};
|
|
1128
|
-
//# sourceMappingURL=chunk-
|
|
1128
|
+
//# sourceMappingURL=chunk-HBDUXLHC.js.map
|
|
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
|
|
|
100
100
|
return { ok: true };
|
|
101
101
|
} catch {
|
|
102
102
|
}
|
|
103
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
103
|
+
const { resolveClaudeBinary } = await import("./persistent-session-A26KX2DA.js");
|
|
104
104
|
const claudeBin = resolveClaudeBinary();
|
|
105
105
|
const pairEnv = {
|
|
106
106
|
...process.env,
|
|
@@ -373,4 +373,4 @@ export {
|
|
|
373
373
|
startClaudePair,
|
|
374
374
|
submitClaudePairCode
|
|
375
375
|
};
|
|
376
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
376
|
+
//# sourceMappingURL=claude-pair-runtime-76VHV4X5.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
provisionOrientHook,
|
|
16
16
|
provisionStopHook,
|
|
17
17
|
requireHost
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-4FUZY6QK.js";
|
|
19
19
|
import {
|
|
20
20
|
getProjectDir as getProjectDir2,
|
|
21
21
|
getReadyTasks,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
stopAllSessionsAndWait,
|
|
47
47
|
stopPersistentSession,
|
|
48
48
|
takeZombieDetection
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-HBDUXLHC.js";
|
|
50
50
|
import {
|
|
51
51
|
KANBAN_CHECK_COMMAND,
|
|
52
52
|
appendDmFooter,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
resolveConnectivityProbe,
|
|
70
70
|
resolveDmTarget,
|
|
71
71
|
wrapScheduledTaskPrompt
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-UOHGOS3O.js";
|
|
73
73
|
import {
|
|
74
74
|
parsePsRows,
|
|
75
75
|
reapOrphanChannelMcps
|
|
@@ -3344,7 +3344,7 @@ var cachedFrameworkVersion = null;
|
|
|
3344
3344
|
var lastVersionCheckAt = 0;
|
|
3345
3345
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
3346
3346
|
var lastResponsivenessProbeAt = 0;
|
|
3347
|
-
var agtCliVersion = true ? "0.27.
|
|
3347
|
+
var agtCliVersion = true ? "0.27.46" : "dev";
|
|
3348
3348
|
function resolveBrewPath(execFileSync4) {
|
|
3349
3349
|
try {
|
|
3350
3350
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -4395,7 +4395,7 @@ async function pollCycle() {
|
|
|
4395
4395
|
}
|
|
4396
4396
|
try {
|
|
4397
4397
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
4398
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
4398
|
+
const { collectDiagnostics } = await import("../persistent-session-A26KX2DA.js");
|
|
4399
4399
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
4400
4400
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
4401
4401
|
let tailscaleHostname;
|
|
@@ -4463,7 +4463,7 @@ async function pollCycle() {
|
|
|
4463
4463
|
const {
|
|
4464
4464
|
collectResponsivenessProbes,
|
|
4465
4465
|
getResponsivenessIntervalMs
|
|
4466
|
-
} = await import("../responsiveness-probe-
|
|
4466
|
+
} = await import("../responsiveness-probe-JI2D5Y24.js");
|
|
4467
4467
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
4468
4468
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
4469
4469
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -5345,7 +5345,7 @@ async function processAgent(agent, agentStates) {
|
|
|
5345
5345
|
const tz = directChatTeamSettings?.["timezone"];
|
|
5346
5346
|
return typeof tz === "string" && tz.trim() !== "" ? tz.trim() : void 0;
|
|
5347
5347
|
})();
|
|
5348
|
-
if (existsSync5(localDirectChatChannel)
|
|
5348
|
+
if (existsSync5(localDirectChatChannel)) {
|
|
5349
5349
|
const directChatEnv = {
|
|
5350
5350
|
AGT_HOST: requireHost(),
|
|
5351
5351
|
AGT_API_KEY: getApiKey() ?? "",
|
|
@@ -5362,7 +5362,9 @@ async function processAgent(agent, agentStates) {
|
|
|
5362
5362
|
args: [localDirectChatChannel],
|
|
5363
5363
|
env: directChatEnv
|
|
5364
5364
|
});
|
|
5365
|
-
|
|
5365
|
+
if (!mcpConfig.mcpServers["direct-chat"]) {
|
|
5366
|
+
log(`Channel credentials written for '${agent.code_name}/direct-chat'`);
|
|
5367
|
+
}
|
|
5366
5368
|
}
|
|
5367
5369
|
const staleChannelsPath = join6(projectDir, ".mcp-channels.json");
|
|
5368
5370
|
if (existsSync5(staleChannelsPath)) {
|
|
@@ -8521,7 +8523,7 @@ async function processClaudePairSessions(agents) {
|
|
|
8521
8523
|
killPairSession,
|
|
8522
8524
|
pairTmuxSession,
|
|
8523
8525
|
finalizeClaudePairOnboarding
|
|
8524
|
-
} = await import("../claude-pair-runtime-
|
|
8526
|
+
} = await import("../claude-pair-runtime-76VHV4X5.js");
|
|
8525
8527
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
8526
8528
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
8527
8529
|
const killed = await killPairSession(pairTmuxSession(pairId));
|