@integrity-labs/agt-cli 0.28.557 → 0.28.559
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-KEZEMDUB.js → chunk-FIOLFAYB.js} +61 -6
- package/dist/{chunk-KEZEMDUB.js.map → chunk-FIOLFAYB.js.map} +1 -1
- package/dist/{chunk-AD26EE7A.js → chunk-TBP245GG.js} +5 -1
- package/dist/{chunk-AD26EE7A.js.map → chunk-TBP245GG.js.map} +1 -1
- package/dist/{claude-pair-runtime-ZEYM62XD.js → claude-pair-runtime-OASMES54.js} +2 -2
- package/dist/lib/manager-worker.js +51 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +38 -5
- package/dist/{persistent-session-JZBJIXLJ.js → persistent-session-WX4ILTCF.js} +2 -2
- package/dist/{responsiveness-probe-GPH2SEAL.js → responsiveness-probe-FKJBQ6PQ.js} +2 -2
- package/package.json +1 -1
- /package/dist/{claude-pair-runtime-ZEYM62XD.js.map → claude-pair-runtime-OASMES54.js.map} +0 -0
- /package/dist/{persistent-session-JZBJIXLJ.js.map → persistent-session-WX4ILTCF.js.map} +0 -0
- /package/dist/{responsiveness-probe-GPH2SEAL.js.map → responsiveness-probe-FKJBQ6PQ.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -21083,14 +21083,47 @@ function groupKanbanByStatus(items) {
|
|
|
21083
21083
|
}
|
|
21084
21084
|
return groups;
|
|
21085
21085
|
}
|
|
21086
|
-
function
|
|
21086
|
+
function formatWaitingAge(since, nowMs) {
|
|
21087
|
+
if (!since) return null;
|
|
21088
|
+
const ms = nowMs - Date.parse(since);
|
|
21089
|
+
if (!Number.isFinite(ms)) return null;
|
|
21090
|
+
const mins = Math.max(0, Math.floor(ms / 6e4));
|
|
21091
|
+
if (mins < 1) return "<1m";
|
|
21092
|
+
if (mins < 60) return `${mins}m`;
|
|
21093
|
+
const hours = Math.floor(mins / 60);
|
|
21094
|
+
if (hours < 24) return `${hours}h`;
|
|
21095
|
+
return `${Math.floor(hours / 24)}d`;
|
|
21096
|
+
}
|
|
21097
|
+
function renderPrWaitTarget(item) {
|
|
21098
|
+
if (item.waiting_kind !== "pr-review" && item.waiting_kind !== "pr-merged") return null;
|
|
21099
|
+
const pr = item.waiting_context?.pr_number;
|
|
21100
|
+
if (!Number.isSafeInteger(pr) || pr <= 0) return null;
|
|
21101
|
+
const verb = item.waiting_kind === "pr-review" ? "Review" : "Merge";
|
|
21102
|
+
const repo = item.waiting_context?.repo;
|
|
21103
|
+
const where = repo && repo !== "Integrity-Labs/augmented" ? ` in ${repo}` : "";
|
|
21104
|
+
return `${verb} PR #${pr}${where}`;
|
|
21105
|
+
}
|
|
21106
|
+
function renderWaitingClause(item, nowMs) {
|
|
21107
|
+
if (item.status !== "waiting") return "";
|
|
21108
|
+
const parts = [];
|
|
21109
|
+
if (item.waiting_kind) parts.push(item.waiting_kind);
|
|
21110
|
+
const age = formatWaitingAge(item.waiting_since, nowMs);
|
|
21111
|
+
if (age) parts.push(`${age}`);
|
|
21112
|
+
const head = parts.length ? ` \u23F8 ${parts.join(", ")}` : "";
|
|
21113
|
+
const prTarget = renderPrWaitTarget(item);
|
|
21114
|
+
if (prTarget) return head ? `${head}: ${prTarget}` : ` \u23F8 ${prTarget}`;
|
|
21115
|
+
const ask = item.waiting_on ? `: ${item.waiting_on.length > 80 ? `${item.waiting_on.slice(0, 77)}...` : item.waiting_on}` : "";
|
|
21116
|
+
return head ? `${head}${ask}` : "";
|
|
21117
|
+
}
|
|
21118
|
+
function renderKanbanItemLine(item, nowMs) {
|
|
21087
21119
|
const pri = kanbanPriorityLabel(item.priority);
|
|
21088
21120
|
const est = item.estimated_minutes ? ` ~${item.estimated_minutes}min` : "";
|
|
21089
21121
|
const del = item.deliverable ? ` \u2192 ${item.deliverable}` : "";
|
|
21090
21122
|
const res = item.result ? ` \u2713 ${item.result}` : "";
|
|
21091
|
-
|
|
21123
|
+
const wait = renderWaitingClause(item, nowMs);
|
|
21124
|
+
return `- [${pri}] ${item.title}${wait}${est}${del}${res} (id: ${item.id})`;
|
|
21092
21125
|
}
|
|
21093
|
-
function renderKanbanList(items) {
|
|
21126
|
+
function renderKanbanList(items, nowMs = Date.now()) {
|
|
21094
21127
|
if (!items.length) return "Board is empty.";
|
|
21095
21128
|
const humanAssigned = items.filter(isHumanAssigned);
|
|
21096
21129
|
const mine = items.filter((i) => !isHumanAssigned(i));
|
|
@@ -21104,7 +21137,7 @@ function renderKanbanList(items) {
|
|
|
21104
21137
|
if (!group?.length) continue;
|
|
21105
21138
|
lines.push(`
|
|
21106
21139
|
## ${kanbanStatusLabel(status)} (${group.length})`);
|
|
21107
|
-
for (const item of group) lines.push(renderKanbanItemLine(item));
|
|
21140
|
+
for (const item of group) lines.push(renderKanbanItemLine(item, nowMs));
|
|
21108
21141
|
}
|
|
21109
21142
|
if (humanAssigned.length) {
|
|
21110
21143
|
lines.push(`
|
|
@@ -21112,7 +21145,7 @@ function renderKanbanList(items) {
|
|
|
21112
21145
|
lines.push(HUMAN_ASSIGNED_SECTION_NOTE);
|
|
21113
21146
|
for (const item of humanAssigned) {
|
|
21114
21147
|
const who = item.assignee_name ? ` [with ${item.assignee_name}]` : "";
|
|
21115
|
-
lines.push(`${renderKanbanItemLine(item)}${who}`);
|
|
21148
|
+
lines.push(`${renderKanbanItemLine(item, nowMs)}${who}`);
|
|
21116
21149
|
}
|
|
21117
21150
|
}
|
|
21118
21151
|
return lines.join("\n");
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
writeDirectChatSessionState,
|
|
42
42
|
writeEgressAllowlist,
|
|
43
43
|
writePersistentClaudeWrapper
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TBP245GG.js";
|
|
45
45
|
import "./chunk-XWVM4KPK.js";
|
|
46
46
|
export {
|
|
47
47
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
writeEgressAllowlist,
|
|
88
88
|
writePersistentClaudeWrapper
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=persistent-session-
|
|
90
|
+
//# sourceMappingURL=persistent-session-WX4ILTCF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TBP245GG.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -689,4 +689,4 @@ export {
|
|
|
689
689
|
readAndResetSlackReplyBindingClassifications,
|
|
690
690
|
readAndResetSlackReplyTargetClassifications
|
|
691
691
|
};
|
|
692
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
692
|
+
//# sourceMappingURL=responsiveness-probe-FKJBQ6PQ.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|