@integrity-labs/agt-cli 0.27.1 → 0.27.3
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 +11 -6
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-UVPB6TSJ.js → chunk-AFRYJUBD.js} +5 -4
- package/dist/{chunk-UVPB6TSJ.js.map → chunk-AFRYJUBD.js.map} +1 -1
- package/dist/{chunk-WDCSMDQ4.js → chunk-CSDKWI5V.js} +42 -5
- package/dist/chunk-CSDKWI5V.js.map +1 -0
- package/dist/{chunk-CTWY2X4S.js → chunk-JTZZ6YB2.js} +7 -1
- package/dist/chunk-JTZZ6YB2.js.map +1 -0
- package/dist/{claude-pair-runtime-YRPKT45R.js → claude-pair-runtime-O6ZAT7MQ.js} +2 -2
- package/dist/lib/manager-worker.js +7 -7
- package/dist/mcp/index.js +45 -6
- package/dist/{persistent-session-QJT7JE5P.js → persistent-session-3MXZBC5W.js} +3 -3
- package/dist/{responsiveness-probe-ZERSZOZ2.js → responsiveness-probe-37336LTO.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-CTWY2X4S.js.map +0 -1
- package/dist/chunk-WDCSMDQ4.js.map +0 -1
- /package/dist/{claude-pair-runtime-YRPKT45R.js.map → claude-pair-runtime-O6ZAT7MQ.js.map} +0 -0
- /package/dist/{persistent-session-QJT7JE5P.js.map → persistent-session-3MXZBC5W.js.map} +0 -0
- /package/dist/{responsiveness-probe-ZERSZOZ2.js.map → responsiveness-probe-37336LTO.js.map} +0 -0
|
@@ -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-3MXZBC5W.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-O6ZAT7MQ.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
provisionOrientHook,
|
|
14
14
|
provisionStopHook,
|
|
15
15
|
requireHost
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-AFRYJUBD.js";
|
|
17
17
|
import {
|
|
18
18
|
getProjectDir as getProjectDir2,
|
|
19
19
|
getReadyTasks,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
stopAllSessionsAndWait,
|
|
45
45
|
stopPersistentSession,
|
|
46
46
|
takeZombieDetection
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-CSDKWI5V.js";
|
|
48
48
|
import {
|
|
49
49
|
KANBAN_CHECK_COMMAND,
|
|
50
50
|
appendDmFooter,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
resolveConnectivityProbe,
|
|
68
68
|
resolveDmTarget,
|
|
69
69
|
wrapScheduledTaskPrompt
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-JTZZ6YB2.js";
|
|
71
71
|
import {
|
|
72
72
|
parsePsRows,
|
|
73
73
|
reapOrphanChannelMcps
|
|
@@ -3161,7 +3161,7 @@ var cachedFrameworkVersion = null;
|
|
|
3161
3161
|
var lastVersionCheckAt = 0;
|
|
3162
3162
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
3163
3163
|
var lastResponsivenessProbeAt = 0;
|
|
3164
|
-
var agtCliVersion = true ? "0.27.
|
|
3164
|
+
var agtCliVersion = true ? "0.27.3" : "dev";
|
|
3165
3165
|
function resolveBrewPath(execFileSync4) {
|
|
3166
3166
|
try {
|
|
3167
3167
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -4120,7 +4120,7 @@ async function pollCycle() {
|
|
|
4120
4120
|
}
|
|
4121
4121
|
try {
|
|
4122
4122
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
4123
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
4123
|
+
const { collectDiagnostics } = await import("../persistent-session-3MXZBC5W.js");
|
|
4124
4124
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
4125
4125
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
4126
4126
|
let tailscaleHostname;
|
|
@@ -4188,7 +4188,7 @@ async function pollCycle() {
|
|
|
4188
4188
|
const {
|
|
4189
4189
|
collectResponsivenessProbes,
|
|
4190
4190
|
getResponsivenessIntervalMs
|
|
4191
|
-
} = await import("../responsiveness-probe-
|
|
4191
|
+
} = await import("../responsiveness-probe-37336LTO.js");
|
|
4192
4192
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
4193
4193
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
4194
4194
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8129,7 +8129,7 @@ async function processClaudePairSessions(agents) {
|
|
|
8129
8129
|
killPairSession,
|
|
8130
8130
|
pairTmuxSession,
|
|
8131
8131
|
finalizeClaudePairOnboarding
|
|
8132
|
-
} = await import("../claude-pair-runtime-
|
|
8132
|
+
} = await import("../claude-pair-runtime-O6ZAT7MQ.js");
|
|
8133
8133
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
8134
8134
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
8135
8135
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
package/dist/mcp/index.js
CHANGED
|
@@ -21177,7 +21177,7 @@ server.tool(
|
|
|
21177
21177
|
}
|
|
21178
21178
|
const grouped = groupByStatus(data.items);
|
|
21179
21179
|
const lines = [];
|
|
21180
|
-
for (const status of ["in_progress", "
|
|
21180
|
+
for (const status of ["in_progress", "todo", "backlog", "done"]) {
|
|
21181
21181
|
const items = grouped[status];
|
|
21182
21182
|
if (!items?.length) continue;
|
|
21183
21183
|
lines.push(`
|
|
@@ -21200,7 +21200,7 @@ server.tool(
|
|
|
21200
21200
|
title: external_exports.string().describe("Item title (max 200 chars)"),
|
|
21201
21201
|
description: external_exports.string().optional().describe("Detailed description"),
|
|
21202
21202
|
priority: external_exports.number().int().min(1).max(3).optional().describe("Priority: 1=high, 2=medium (default), 3=low"),
|
|
21203
|
-
status: external_exports.enum(["backlog", "
|
|
21203
|
+
status: external_exports.enum(["backlog", "todo", "in_progress"]).optional().describe("Initial status (default: todo)"),
|
|
21204
21204
|
estimated_minutes: external_exports.number().int().optional().describe("Estimated time in minutes"),
|
|
21205
21205
|
deliverable: external_exports.string().optional().describe("Expected output/deliverable"),
|
|
21206
21206
|
source: external_exports.enum(["cron", "chat", "manual", "integration"]).optional().describe("Source of the item (default: manual)"),
|
|
@@ -21217,7 +21217,7 @@ server.tool(
|
|
|
21217
21217
|
title: params.title,
|
|
21218
21218
|
description: params.description,
|
|
21219
21219
|
priority: params.priority ?? 2,
|
|
21220
|
-
status: params.status ?? "
|
|
21220
|
+
status: params.status ?? "todo",
|
|
21221
21221
|
estimated_minutes: params.estimated_minutes,
|
|
21222
21222
|
deliverable: params.deliverable,
|
|
21223
21223
|
source: params.source ?? "manual",
|
|
@@ -21228,7 +21228,7 @@ server.tool(
|
|
|
21228
21228
|
]
|
|
21229
21229
|
});
|
|
21230
21230
|
const first = data.added_items?.[0];
|
|
21231
|
-
const text = !data.ok ? "Failed to add item." : first ? `Added "${first.title}" to board (status: ${params.status ?? "
|
|
21231
|
+
const text = !data.ok ? "Failed to add item." : first ? `Added "${first.title}" to board (status: ${params.status ?? "todo"}, id: ${first.id}).` : `Added "${params.title}" to board (status: ${params.status ?? "todo"}).`;
|
|
21232
21232
|
return {
|
|
21233
21233
|
content: [{ type: "text", text }]
|
|
21234
21234
|
};
|
|
@@ -21240,7 +21240,7 @@ server.tool(
|
|
|
21240
21240
|
{
|
|
21241
21241
|
id: external_exports.string().optional().describe("Item UUID (preferred)"),
|
|
21242
21242
|
title: external_exports.string().optional().describe("Item title for fuzzy match (if no id)"),
|
|
21243
|
-
status: external_exports.enum(["backlog", "
|
|
21243
|
+
status: external_exports.enum(["backlog", "todo", "in_progress", "done"]).describe("Target status"),
|
|
21244
21244
|
notes: external_exports.string().optional().describe("Progress notes")
|
|
21245
21245
|
},
|
|
21246
21246
|
async (params) => {
|
|
@@ -21323,6 +21323,44 @@ server.tool(
|
|
|
21323
21323
|
};
|
|
21324
21324
|
}
|
|
21325
21325
|
);
|
|
21326
|
+
server.tool(
|
|
21327
|
+
"kanban.progress",
|
|
21328
|
+
"Report what you're doing RIGHT NOW on a kanban item. Overwrites a single live status line (the Step row on the Slack progress card the requester is watching) \u2014 not a log. Call it at the start of each phase of a long task (ideally ~every minute) so the requester can watch the work move. Each call also renews the task heartbeat. Pass an empty step to clear it.",
|
|
21329
|
+
{
|
|
21330
|
+
id: external_exports.string().optional().describe("Item UUID (preferred)"),
|
|
21331
|
+
title: external_exports.string().optional().describe("Item title (exact match if no id)"),
|
|
21332
|
+
step: external_exports.string().describe(
|
|
21333
|
+
'One short line describing what you are doing right now (e.g. "Drafting the reply", "Running tests"). Overwrites the previous step. Empty string clears it.'
|
|
21334
|
+
)
|
|
21335
|
+
},
|
|
21336
|
+
async (params) => {
|
|
21337
|
+
if (!params.id && !params.title) {
|
|
21338
|
+
return {
|
|
21339
|
+
content: [{ type: "text", text: "Error: provide either id or title." }],
|
|
21340
|
+
isError: true
|
|
21341
|
+
};
|
|
21342
|
+
}
|
|
21343
|
+
const data = await apiPost("/host/kanban", {
|
|
21344
|
+
agent_id: AGT_AGENT_ID,
|
|
21345
|
+
update: [
|
|
21346
|
+
{
|
|
21347
|
+
id: params.id,
|
|
21348
|
+
title: params.title,
|
|
21349
|
+
step: params.step
|
|
21350
|
+
}
|
|
21351
|
+
]
|
|
21352
|
+
});
|
|
21353
|
+
const label = params.id ?? params.title;
|
|
21354
|
+
return {
|
|
21355
|
+
content: [
|
|
21356
|
+
{
|
|
21357
|
+
type: "text",
|
|
21358
|
+
text: data.updated > 0 ? params.step.trim().length > 0 ? `Progress on "${label}": ${params.step}` : `Cleared progress step on "${label}".` : `Item "${label}" not found.`
|
|
21359
|
+
}
|
|
21360
|
+
]
|
|
21361
|
+
};
|
|
21362
|
+
}
|
|
21363
|
+
);
|
|
21326
21364
|
server.tool(
|
|
21327
21365
|
"kanban.done",
|
|
21328
21366
|
"Mark a kanban item as done with an optional result.",
|
|
@@ -22198,7 +22236,7 @@ function groupByStatus(items) {
|
|
|
22198
22236
|
function statusLabel(status) {
|
|
22199
22237
|
const labels = {
|
|
22200
22238
|
backlog: "Backlog",
|
|
22201
|
-
|
|
22239
|
+
todo: "To Do",
|
|
22202
22240
|
in_progress: "In Progress",
|
|
22203
22241
|
done: "Done"
|
|
22204
22242
|
};
|
|
@@ -22248,6 +22286,7 @@ async function registerForwardedApiTools() {
|
|
|
22248
22286
|
"kanban.add",
|
|
22249
22287
|
"kanban.move",
|
|
22250
22288
|
"kanban.update",
|
|
22289
|
+
"kanban.progress",
|
|
22251
22290
|
"kanban.done",
|
|
22252
22291
|
"status.standup",
|
|
22253
22292
|
"status.update",
|
|
@@ -20,8 +20,8 @@ import {
|
|
|
20
20
|
stopPersistentSession,
|
|
21
21
|
takeZombieDetection,
|
|
22
22
|
writePersistentClaudeWrapper
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-CSDKWI5V.js";
|
|
24
|
+
import "./chunk-JTZZ6YB2.js";
|
|
25
25
|
import "./chunk-XWVM4KPK.js";
|
|
26
26
|
export {
|
|
27
27
|
_internals,
|
|
@@ -46,4 +46,4 @@ export {
|
|
|
46
46
|
takeZombieDetection,
|
|
47
47
|
writePersistentClaudeWrapper
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=persistent-session-
|
|
49
|
+
//# sourceMappingURL=persistent-session-3MXZBC5W.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CSDKWI5V.js";
|
|
4
|
+
import "./chunk-JTZZ6YB2.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-37336LTO.js.map
|