@integrity-labs/agt-cli 0.28.173 → 0.28.175
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-M4G5DGVD.js → chunk-JOSQUNJP.js} +3 -3
- package/dist/{chunk-N25WAF7G.js → chunk-NZLZICAD.js} +2 -2
- package/dist/{chunk-OMC7BHRP.js → chunk-ULPUDU4J.js} +13 -1
- package/dist/chunk-ULPUDU4J.js.map +1 -0
- package/dist/{claude-pair-runtime-XIVBNVSR.js → claude-pair-runtime-LN4ZVG3A.js} +2 -2
- package/dist/lib/manager-worker.js +15 -9
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +49 -0
- package/dist/{persistent-session-4HC7YFSU.js → persistent-session-DHBEAJ6T.js} +3 -3
- package/dist/{responsiveness-probe-W4PCY6HC.js → responsiveness-probe-6XQIUFB7.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-OMC7BHRP.js.map +0 -1
- /package/dist/{chunk-M4G5DGVD.js.map → chunk-JOSQUNJP.js.map} +0 -0
- /package/dist/{chunk-N25WAF7G.js.map → chunk-NZLZICAD.js.map} +0 -0
- /package/dist/{claude-pair-runtime-XIVBNVSR.js.map → claude-pair-runtime-LN4ZVG3A.js.map} +0 -0
- /package/dist/{persistent-session-4HC7YFSU.js.map → persistent-session-DHBEAJ6T.js.map} +0 -0
- /package/dist/{responsiveness-probe-W4PCY6HC.js.map → responsiveness-probe-6XQIUFB7.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -21967,6 +21967,54 @@ server.tool(
|
|
|
21967
21967
|
}
|
|
21968
21968
|
}
|
|
21969
21969
|
);
|
|
21970
|
+
server.tool(
|
|
21971
|
+
"kanban_reassign",
|
|
21972
|
+
"Move an EXISTING kanban card to ANOTHER agent\u2019s board, preserving its id, history, comments, priority and status. Use this to re-home a task you already have (e.g. you picked up a card but it\u2019s really another specialist\u2019s job) - it removes the card from the current board and places the same card on the target agent\u2019s board. This is different from kanban_assign, which CREATES a new card. The card must currently live on your team. To move across teams in your organization, also pass `target_team` (same cross-team rules as kanban_assign). Don\u2019t know the agent code_name or team slug? Call directory_lookup first.",
|
|
21973
|
+
{
|
|
21974
|
+
task_id: external_exports.string().describe("The id of the existing kanban card to move."),
|
|
21975
|
+
target_agent: external_exports.string().describe(
|
|
21976
|
+
"The new owner: their agent code_name (kebab-case) or agent UUID. On your own team unless target_team is also set."
|
|
21977
|
+
),
|
|
21978
|
+
target_team: external_exports.string().trim().min(1).optional().describe(
|
|
21979
|
+
"Optional: the slug (or UUID) of ANOTHER team in your organization to move the card across teams. Omit for a same-team move. Requires the org to have cross-team assignment enabled and a peer grant; otherwise the target reads as not-found."
|
|
21980
|
+
)
|
|
21981
|
+
},
|
|
21982
|
+
async (params) => {
|
|
21983
|
+
try {
|
|
21984
|
+
const data = await apiPost("/host/kanban/reassign", {
|
|
21985
|
+
agent_id: AGT_AGENT_ID,
|
|
21986
|
+
task_id: params.task_id,
|
|
21987
|
+
target_agent: params.target_agent,
|
|
21988
|
+
...params.target_team !== void 0 ? { target_team: params.target_team } : {}
|
|
21989
|
+
});
|
|
21990
|
+
const where = data.cross_team ? ` on team ${data.target_team ?? params.target_team}` : "";
|
|
21991
|
+
let text;
|
|
21992
|
+
if (!data.ok) {
|
|
21993
|
+
text = `Failed to reassign card ${params.task_id} to ${params.target_agent}.`;
|
|
21994
|
+
} else if (data.reassigned === false) {
|
|
21995
|
+
text = data.message ?? `Card is already on ${data.target_agent}\u2019s board.`;
|
|
21996
|
+
} else {
|
|
21997
|
+
text = `Moved "${data.title ?? params.task_id}" to ${data.target_agent}${where}. It will appear on their board on their next refresh; it\u2019s no longer on the previous board.`;
|
|
21998
|
+
}
|
|
21999
|
+
return { content: [{ type: "text", text }] };
|
|
22000
|
+
} catch (err) {
|
|
22001
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
22002
|
+
const notFound = /returned 404/.test(msg);
|
|
22003
|
+
let notFoundText;
|
|
22004
|
+
if (notFound && /Task not found/.test(msg)) {
|
|
22005
|
+
notFoundText = `Could not reassign: no card "${params.task_id}" found on your team (it may not exist, belong to another team, or be assigned to a human).`;
|
|
22006
|
+
} else if (notFound) {
|
|
22007
|
+
notFoundText = params.target_team ? `Could not reassign: no agent "${params.target_agent}" reachable on team "${params.target_team}". Check the team slug and agent code_name, and note cross-team moves only work when your org has enabled it and a peer grant links the teams.` : `Could not reassign: no agent "${params.target_agent}" found on your team. Check the code_name and make sure they\u2019re a teammate on the same team.`;
|
|
22008
|
+
} else {
|
|
22009
|
+
notFoundText = `Could not reassign card ${params.task_id} to ${params.target_agent}: ${msg}`;
|
|
22010
|
+
}
|
|
22011
|
+
return {
|
|
22012
|
+
content: [{ type: "text", text: notFoundText }],
|
|
22013
|
+
isError: true
|
|
22014
|
+
};
|
|
22015
|
+
}
|
|
22016
|
+
}
|
|
22017
|
+
);
|
|
21970
22018
|
server.tool(
|
|
21971
22019
|
"assign_kanban_to_human",
|
|
21972
22020
|
`Assign a task to a HUMAN teammate (a person on your team), not an agent. Use this to hand work to a person - e.g. "ask Brad to approve the contract" or routing something only a human can do. Identify them by their email. The task appears on their personal "My Tasks" page, and if your org has it enabled they also get a notification. This is different from kanban_assign (which targets another AGENT) and kanban_add (your own board). If your team hasn't enabled this, you'll get a clear message - tell your operator rather than retrying. Don't know the person's email? Call directory_lookup first to find people you can assign to.`,
|
|
@@ -23114,6 +23162,7 @@ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
|
23114
23162
|
"kanban_progress",
|
|
23115
23163
|
"kanban_done",
|
|
23116
23164
|
"kanban_assign",
|
|
23165
|
+
"kanban_reassign",
|
|
23117
23166
|
"assign_kanban_to_human",
|
|
23118
23167
|
// ENG-6953: agent + people directory lookup (always registered locally).
|
|
23119
23168
|
"directory_lookup",
|
|
@@ -34,8 +34,8 @@ import {
|
|
|
34
34
|
writeDirectChatSessionState,
|
|
35
35
|
writeEgressAllowlist,
|
|
36
36
|
writePersistentClaudeWrapper
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-NZLZICAD.js";
|
|
38
|
+
import "./chunk-ULPUDU4J.js";
|
|
39
39
|
import "./chunk-XWVM4KPK.js";
|
|
40
40
|
export {
|
|
41
41
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
writeEgressAllowlist,
|
|
75
75
|
writePersistentClaudeWrapper
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=persistent-session-
|
|
77
|
+
//# sourceMappingURL=persistent-session-DHBEAJ6T.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-NZLZICAD.js";
|
|
4
|
+
import "./chunk-ULPUDU4J.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -304,4 +304,4 @@ export {
|
|
|
304
304
|
readAndResetChannelDeflections,
|
|
305
305
|
readAndResetChannelLaneClassifications
|
|
306
306
|
};
|
|
307
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
307
|
+
//# sourceMappingURL=responsiveness-probe-6XQIUFB7.js.map
|