@integrity-labs/agt-cli 0.28.107 → 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/bin/agt.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
success,
|
|
38
38
|
table,
|
|
39
39
|
warn
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-TW5YGTIT.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -4777,7 +4777,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4777
4777
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4778
4778
|
import chalk18 from "chalk";
|
|
4779
4779
|
import ora16 from "ora";
|
|
4780
|
-
var cliVersion = true ? "0.28.
|
|
4780
|
+
var cliVersion = true ? "0.28.108" : "dev";
|
|
4781
4781
|
async function fetchLatestVersion() {
|
|
4782
4782
|
const host2 = getHost();
|
|
4783
4783
|
if (!host2) return null;
|
|
@@ -5791,7 +5791,7 @@ function handleError(err) {
|
|
|
5791
5791
|
}
|
|
5792
5792
|
|
|
5793
5793
|
// src/bin/agt.ts
|
|
5794
|
-
var cliVersion2 = true ? "0.28.
|
|
5794
|
+
var cliVersion2 = true ? "0.28.108" : "dev";
|
|
5795
5795
|
var program = new Command();
|
|
5796
5796
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
5797
5797
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -7600,7 +7600,7 @@ function requireHost() {
|
|
|
7600
7600
|
}
|
|
7601
7601
|
|
|
7602
7602
|
// src/lib/api-client.ts
|
|
7603
|
-
var agtCliVersion = true ? "0.28.
|
|
7603
|
+
var agtCliVersion = true ? "0.28.108" : "dev";
|
|
7604
7604
|
var lastConfigHash = null;
|
|
7605
7605
|
function setConfigHash(hash) {
|
|
7606
7606
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8897,4 +8897,4 @@ export {
|
|
|
8897
8897
|
managerInstallSystemUnitCommand,
|
|
8898
8898
|
managerUninstallSystemUnitCommand
|
|
8899
8899
|
};
|
|
8900
|
-
//# sourceMappingURL=chunk-
|
|
8900
|
+
//# sourceMappingURL=chunk-TW5YGTIT.js.map
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requireHost,
|
|
29
29
|
safeWriteJsonAtomic,
|
|
30
30
|
setConfigHash
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-TW5YGTIT.js";
|
|
32
32
|
import {
|
|
33
33
|
getProjectDir as getProjectDir2,
|
|
34
34
|
getReadyTasks,
|
|
@@ -7000,7 +7000,7 @@ var cachedMaintenanceWindow = null;
|
|
|
7000
7000
|
var lastVersionCheckAt = 0;
|
|
7001
7001
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
7002
7002
|
var lastResponsivenessProbeAt = 0;
|
|
7003
|
-
var agtCliVersion = true ? "0.28.
|
|
7003
|
+
var agtCliVersion = true ? "0.28.108" : "dev";
|
|
7004
7004
|
function resolveBrewPath(execFileSync4) {
|
|
7005
7005
|
try {
|
|
7006
7006
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
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
|
File without changes
|