@integrity-labs/agt-cli 0.28.106 → 0.28.108

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/mcp/index.js CHANGED
@@ -21724,6 +21724,51 @@ server.tool(
21724
21724
  };
21725
21725
  }
21726
21726
  );
21727
+ server.tool(
21728
+ "kanban_assign",
21729
+ "Delegate a task to ANOTHER agent on your team by placing a new card on THEIR board. Use this to hand off or route work to a teammate agent (e.g. you triage a request and route the fix to a specialist agent). This is different from kanban_add, which adds a card to YOUR OWN board. The target must be an agent on your team \u2014 you cannot assign across teams. When the target finishes, you get a completion notice back on your board.",
21730
+ {
21731
+ target_agent: external_exports.string().describe(
21732
+ "The teammate to assign to: their agent code_name (kebab-case) or agent UUID. Must be on your team."
21733
+ ),
21734
+ title: external_exports.string().describe("Task title (max 200 chars)"),
21735
+ description: external_exports.string().optional().describe("Detailed description of what needs doing"),
21736
+ priority: external_exports.number().int().min(1).max(3).optional().describe("Priority: 1=high, 2=medium (default), 3=low"),
21737
+ deliverable: external_exports.string().optional().describe("Expected output/deliverable from the target")
21738
+ },
21739
+ async (params) => {
21740
+ try {
21741
+ const data = await apiPost("/host/kanban/assign", {
21742
+ agent_id: AGT_AGENT_ID,
21743
+ target_agent: params.target_agent,
21744
+ title: params.title,
21745
+ description: params.description,
21746
+ priority: params.priority ?? 2,
21747
+ deliverable: params.deliverable
21748
+ });
21749
+ return {
21750
+ content: [
21751
+ {
21752
+ type: "text",
21753
+ text: data.ok ? `Assigned "${data.title}" to ${data.target_agent} (id: ${data.id}). It will appear on their board on their next refresh.` : `Failed to assign task to ${params.target_agent}.`
21754
+ }
21755
+ ]
21756
+ };
21757
+ } catch (err) {
21758
+ const msg = err instanceof Error ? err.message : String(err);
21759
+ const notFound = /returned 404/.test(msg);
21760
+ return {
21761
+ content: [
21762
+ {
21763
+ type: "text",
21764
+ text: notFound ? `Could not assign: no agent "${params.target_agent}" found on your team. Check the code_name and make sure they're a teammate on the same team.` : `Could not assign task to ${params.target_agent}: ${msg}`
21765
+ }
21766
+ ],
21767
+ isError: true
21768
+ };
21769
+ }
21770
+ }
21771
+ );
21727
21772
  server.tool(
21728
21773
  "status_standup",
21729
21774
  "Submit a daily standup update with yesterday, today, and blockers.",
@@ -22681,6 +22726,7 @@ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
22681
22726
  "kanban_log",
22682
22727
  "kanban_progress",
22683
22728
  "kanban_done",
22729
+ "kanban_assign",
22684
22730
  "status_standup",
22685
22731
  "status_update",
22686
22732
  "drift_report",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.106",
3
+ "version": "0.28.108",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {