@integrity-labs/agt-cli 0.27.35 → 0.27.36
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-VAZATEYS.js → chunk-GVM2KJOA.js} +1 -1
- package/dist/chunk-GVM2KJOA.js.map +1 -0
- package/dist/{chunk-JPLA6ZSD.js → chunk-LASXZZS6.js} +2 -2
- package/dist/{chunk-KR2MENCK.js → chunk-SG5AM6BO.js} +2 -2
- package/dist/{claude-pair-runtime-FP6LQJ52.js → claude-pair-runtime-65NGNJ37.js} +2 -2
- package/dist/lib/manager-worker.js +7 -7
- package/dist/mcp/index.js +36 -22
- package/dist/{persistent-session-M3YSRKIF.js → persistent-session-3NLFD7X7.js} +3 -3
- package/dist/{responsiveness-probe-C3G5RPUZ.js → responsiveness-probe-ZJACUTGA.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-VAZATEYS.js.map +0 -1
- /package/dist/{chunk-JPLA6ZSD.js.map → chunk-LASXZZS6.js.map} +0 -0
- /package/dist/{chunk-KR2MENCK.js.map → chunk-SG5AM6BO.js.map} +0 -0
- /package/dist/{claude-pair-runtime-FP6LQJ52.js.map → claude-pair-runtime-65NGNJ37.js.map} +0 -0
- /package/dist/{persistent-session-M3YSRKIF.js.map → persistent-session-3NLFD7X7.js.map} +0 -0
- /package/dist/{responsiveness-probe-C3G5RPUZ.js.map → responsiveness-probe-ZJACUTGA.js.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseDeliveryTarget,
|
|
10
10
|
registerFramework,
|
|
11
11
|
wrapScheduledTaskPrompt
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GVM2KJOA.js";
|
|
13
13
|
|
|
14
14
|
// ../../packages/core/dist/integrations/registry.js
|
|
15
15
|
var INTEGRATION_REGISTRY = [
|
|
@@ -7031,4 +7031,4 @@ export {
|
|
|
7031
7031
|
managerInstallSystemUnitCommand,
|
|
7032
7032
|
managerUninstallSystemUnitCommand
|
|
7033
7033
|
};
|
|
7034
|
-
//# sourceMappingURL=chunk-
|
|
7034
|
+
//# sourceMappingURL=chunk-LASXZZS6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeModelAlias,
|
|
3
3
|
isClaudeFastMode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GVM2KJOA.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-SG5AM6BO.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-3NLFD7X7.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-65NGNJ37.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
provisionOrientHook,
|
|
16
16
|
provisionStopHook,
|
|
17
17
|
requireHost
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-LASXZZS6.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-SG5AM6BO.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-GVM2KJOA.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.36" : "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-3NLFD7X7.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-ZJACUTGA.js");
|
|
4467
4467
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
4468
4468
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
4469
4469
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8508,7 +8508,7 @@ async function processClaudePairSessions(agents) {
|
|
|
8508
8508
|
killPairSession,
|
|
8509
8509
|
pairTmuxSession,
|
|
8510
8510
|
finalizeClaudePairOnboarding
|
|
8511
|
-
} = await import("../claude-pair-runtime-
|
|
8511
|
+
} = await import("../claude-pair-runtime-65NGNJ37.js");
|
|
8512
8512
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
8513
8513
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
8514
8514
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
package/dist/mcp/index.js
CHANGED
|
@@ -22320,10 +22320,10 @@ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
|
22320
22320
|
"artefacts_list",
|
|
22321
22321
|
"artefacts_get",
|
|
22322
22322
|
"artefacts_get_source_chunk",
|
|
22323
|
-
// ADR-
|
|
22323
|
+
// ADR-0017 Projects container (the reclaimed projects_* namespace — read-only
|
|
22324
|
+
// in v1; no projects_get_source_chunk, a project is a container not a document).
|
|
22324
22325
|
"projects_list",
|
|
22325
|
-
"projects_get"
|
|
22326
|
-
"projects_get_source_chunk"
|
|
22326
|
+
"projects_get"
|
|
22327
22327
|
]);
|
|
22328
22328
|
async function registerForwardedApiTools() {
|
|
22329
22329
|
const apiTools = await discoverApiTools();
|
|
@@ -22441,36 +22441,50 @@ server.tool(
|
|
|
22441
22441
|
]
|
|
22442
22442
|
})
|
|
22443
22443
|
);
|
|
22444
|
+
async function listProjectsText(params) {
|
|
22445
|
+
const data = await apiPost("/host/my-projects", {
|
|
22446
|
+
agent_id: AGT_AGENT_ID,
|
|
22447
|
+
status: params.status,
|
|
22448
|
+
limit: params.limit
|
|
22449
|
+
});
|
|
22450
|
+
if (!data.projects.length) {
|
|
22451
|
+
return "No projects yet. Projects are created by a human in the console; ask one to create a project to group your work under.";
|
|
22452
|
+
}
|
|
22453
|
+
return data.projects.map((p) => `- ${p.name} [${p.status}] (id: ${p.id}, created ${p.created_at})`).join("\n");
|
|
22454
|
+
}
|
|
22455
|
+
async function getProjectText(projectId) {
|
|
22456
|
+
const data = await apiPost(
|
|
22457
|
+
`/host/project/${encodeURIComponent(projectId)}`,
|
|
22458
|
+
{ agent_id: AGT_AGENT_ID }
|
|
22459
|
+
);
|
|
22460
|
+
const p = data.project;
|
|
22461
|
+
return [
|
|
22462
|
+
`Project: ${p.name} [${p.status}]`,
|
|
22463
|
+
`Id: ${p.id}`,
|
|
22464
|
+
p.linear_project_id ? `Linear project: ${p.linear_project_id}` : null,
|
|
22465
|
+
`Created: ${p.created_at}`,
|
|
22466
|
+
`Last updated: ${p.updated_at}`
|
|
22467
|
+
].filter((s) => s !== null).join("\n");
|
|
22468
|
+
}
|
|
22444
22469
|
server.tool(
|
|
22445
22470
|
"projects_list",
|
|
22446
|
-
"
|
|
22447
|
-
artefactListSchema,
|
|
22448
|
-
async (params) => ({
|
|
22449
|
-
content: [{ type: "text", text: await listPublishedArtefactsText(params) }]
|
|
22450
|
-
})
|
|
22451
|
-
);
|
|
22452
|
-
server.tool(
|
|
22453
|
-
"projects_get",
|
|
22454
|
-
"DEPRECATED \u2014 renamed to artefacts_get (ADR-0016). Use artefacts_get instead. Fetches metadata for a single published artefact without the source HTML.",
|
|
22471
|
+
"List the projects belonging to this agent's team. A project is a container that groups related tasks and published artefacts across agents under one unit of work. Read-only: projects are created by humans in the console.",
|
|
22455
22472
|
{
|
|
22456
|
-
|
|
22473
|
+
status: external_exports.enum(["active", "archived"]).optional().describe("Filter by project status"),
|
|
22474
|
+
limit: external_exports.number().int().min(1).max(100).optional().describe("Maximum projects to return (default 50, max 100)")
|
|
22457
22475
|
},
|
|
22458
22476
|
async (params) => ({
|
|
22459
|
-
content: [{ type: "text", text: await
|
|
22477
|
+
content: [{ type: "text", text: await listProjectsText(params) }]
|
|
22460
22478
|
})
|
|
22461
22479
|
);
|
|
22462
22480
|
server.tool(
|
|
22463
|
-
"
|
|
22464
|
-
"
|
|
22481
|
+
"projects_get",
|
|
22482
|
+
"Fetch a single project (a team-scoped container) by id, including its name, status, and optional Linear link.",
|
|
22465
22483
|
{
|
|
22466
|
-
project_id: external_exports.string().uuid().describe("The
|
|
22467
|
-
offset: external_exports.number().int().min(0).describe("Byte offset into the source HTML to start from"),
|
|
22468
|
-
limit: external_exports.number().int().min(1).max(65536).optional().describe("Max bytes to return (default 32KB, max 64KB)")
|
|
22484
|
+
project_id: external_exports.string().uuid().describe("The project id returned by projects_list")
|
|
22469
22485
|
},
|
|
22470
22486
|
async (params) => ({
|
|
22471
|
-
content: [
|
|
22472
|
-
{ type: "text", text: await getPublishedArtefactSourceChunkText(params.project_id, params.offset, params.limit) }
|
|
22473
|
-
]
|
|
22487
|
+
content: [{ type: "text", text: await getProjectText(params.project_id) }]
|
|
22474
22488
|
})
|
|
22475
22489
|
);
|
|
22476
22490
|
async function main() {
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
stopPersistentSession,
|
|
22
22
|
takeZombieDetection,
|
|
23
23
|
writePersistentClaudeWrapper
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-SG5AM6BO.js";
|
|
25
|
+
import "./chunk-GVM2KJOA.js";
|
|
26
26
|
import "./chunk-XWVM4KPK.js";
|
|
27
27
|
export {
|
|
28
28
|
SEND_KEYS_ENTER_DELAY_MS,
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
takeZombieDetection,
|
|
49
49
|
writePersistentClaudeWrapper
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=persistent-session-
|
|
51
|
+
//# sourceMappingURL=persistent-session-3NLFD7X7.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SG5AM6BO.js";
|
|
4
|
+
import "./chunk-GVM2KJOA.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -30,4 +30,4 @@ export {
|
|
|
30
30
|
collectResponsivenessProbes,
|
|
31
31
|
getResponsivenessIntervalMs
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
33
|
+
//# sourceMappingURL=responsiveness-probe-ZJACUTGA.js.map
|