@integrity-labs/agt-cli 0.28.534 → 0.28.535
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
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-O5IFG5RP.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4834
4834
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4835
4835
|
import chalk18 from "chalk";
|
|
4836
4836
|
import ora16 from "ora";
|
|
4837
|
-
var cliVersion = true ? "0.28.
|
|
4837
|
+
var cliVersion = true ? "0.28.535" : "dev";
|
|
4838
4838
|
async function fetchLatestVersion() {
|
|
4839
4839
|
const host2 = getHost();
|
|
4840
4840
|
if (!host2) return null;
|
|
@@ -6006,7 +6006,7 @@ function handleError(err) {
|
|
|
6006
6006
|
}
|
|
6007
6007
|
|
|
6008
6008
|
// src/bin/agt.ts
|
|
6009
|
-
var cliVersion2 = true ? "0.28.
|
|
6009
|
+
var cliVersion2 = true ? "0.28.535" : "dev";
|
|
6010
6010
|
var program = new Command();
|
|
6011
6011
|
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");
|
|
6012
6012
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5486,7 +5486,7 @@ function exchangeFailureKind(err) {
|
|
|
5486
5486
|
}
|
|
5487
5487
|
|
|
5488
5488
|
// src/lib/api-client.ts
|
|
5489
|
-
var agtCliVersion = true ? "0.28.
|
|
5489
|
+
var agtCliVersion = true ? "0.28.535" : "dev";
|
|
5490
5490
|
var lastConfigHash = null;
|
|
5491
5491
|
function setConfigHash(hash) {
|
|
5492
5492
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8798,4 +8798,4 @@ export {
|
|
|
8798
8798
|
managerInstallSystemUnitCommand,
|
|
8799
8799
|
managerUninstallSystemUnitCommand
|
|
8800
8800
|
};
|
|
8801
|
-
//# sourceMappingURL=chunk-
|
|
8801
|
+
//# sourceMappingURL=chunk-O5IFG5RP.js.map
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
safeWriteJsonAtomic,
|
|
54
54
|
setConfigHash,
|
|
55
55
|
tripClass
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-O5IFG5RP.js";
|
|
57
57
|
import {
|
|
58
58
|
getProjectDir as getProjectDir2,
|
|
59
59
|
getReadyTasks,
|
|
@@ -10369,7 +10369,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
10369
10369
|
var lastVersionCheckAt = 0;
|
|
10370
10370
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
10371
10371
|
var lastResponsivenessProbeAt = 0;
|
|
10372
|
-
var agtCliVersion = true ? "0.28.
|
|
10372
|
+
var agtCliVersion = true ? "0.28.535" : "dev";
|
|
10373
10373
|
function resolveBrewPath(execFileSync2) {
|
|
10374
10374
|
try {
|
|
10375
10375
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/index.js
CHANGED
|
@@ -6802,6 +6802,19 @@ var require_dist = __commonJS({
|
|
|
6802
6802
|
|
|
6803
6803
|
// src/index.ts
|
|
6804
6804
|
import { mkdtemp, writeFile } from "fs/promises";
|
|
6805
|
+
|
|
6806
|
+
// src/kanban-add-result.ts
|
|
6807
|
+
function kanbanAddResultText(data, submittedTitle, status) {
|
|
6808
|
+
if (!data.ok) return "Failed to add item.";
|
|
6809
|
+
const first = data.added_items?.[0];
|
|
6810
|
+
if (!first) return `Added "${submittedTitle}" to board (status: ${status}).`;
|
|
6811
|
+
if (first.preexisting) {
|
|
6812
|
+
return first.addressable ? `Already on your board: "${first.title}" (id: ${first.id}). Nothing was created \u2014 this upstream item was already carded. Use kanban_move/kanban_update on that id.` : `NOT ADDED. "${first.title}" (id: ${first.id}) already exists on ANOTHER agent's board in your team, so this upstream item is already being tracked \u2014 but that id is not yours to move, update or complete, and it will not appear in your kanban_list. Either coordinate with that agent, or re-add without source_integration/source_external_id if you need your own card.`;
|
|
6813
|
+
}
|
|
6814
|
+
return `Added "${first.title}" to board (status: ${status}, id: ${first.id}).`;
|
|
6815
|
+
}
|
|
6816
|
+
|
|
6817
|
+
// src/index.ts
|
|
6805
6818
|
import { tmpdir } from "os";
|
|
6806
6819
|
import { basename, join as join3 } from "path";
|
|
6807
6820
|
|
|
@@ -22108,8 +22121,7 @@ server.tool(
|
|
|
22108
22121
|
}
|
|
22109
22122
|
]
|
|
22110
22123
|
});
|
|
22111
|
-
const
|
|
22112
|
-
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"}).`;
|
|
22124
|
+
const text = kanbanAddResultText(data, params.title, params.status ?? "todo");
|
|
22113
22125
|
return {
|
|
22114
22126
|
content: [{ type: "text", text }]
|
|
22115
22127
|
};
|
package/package.json
CHANGED
|
File without changes
|