@integrity-labs/agt-cli 0.19.5 → 0.19.6
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
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
success,
|
|
51
51
|
table,
|
|
52
52
|
warn
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-QKLXUYAR.js";
|
|
54
54
|
|
|
55
55
|
// src/bin/agt.ts
|
|
56
56
|
import { join as join10 } from "path";
|
|
@@ -3734,7 +3734,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
3734
3734
|
import { existsSync as existsSync5, realpathSync } from "fs";
|
|
3735
3735
|
import chalk17 from "chalk";
|
|
3736
3736
|
import ora15 from "ora";
|
|
3737
|
-
var cliVersion = true ? "0.19.
|
|
3737
|
+
var cliVersion = true ? "0.19.6" : "dev";
|
|
3738
3738
|
async function fetchLatestVersion() {
|
|
3739
3739
|
const host2 = getHost();
|
|
3740
3740
|
if (!host2) return null;
|
|
@@ -4192,7 +4192,7 @@ function handleError(err) {
|
|
|
4192
4192
|
}
|
|
4193
4193
|
|
|
4194
4194
|
// src/bin/agt.ts
|
|
4195
|
-
var cliVersion2 = true ? "0.19.
|
|
4195
|
+
var cliVersion2 = true ? "0.19.6" : "dev";
|
|
4196
4196
|
var program = new Command();
|
|
4197
4197
|
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");
|
|
4198
4198
|
program.hook("preAction", (thisCommand) => {
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveChannels,
|
|
23
23
|
resolveDmTarget,
|
|
24
24
|
wrapScheduledTaskPrompt
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-QKLXUYAR.js";
|
|
26
26
|
import {
|
|
27
27
|
findTaskByTemplate,
|
|
28
28
|
getProjectDir,
|
|
@@ -1630,7 +1630,7 @@ function clearAgentCaches(agentId, codeName) {
|
|
|
1630
1630
|
var cachedFrameworkVersion = null;
|
|
1631
1631
|
var lastVersionCheckAt = 0;
|
|
1632
1632
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
1633
|
-
var agtCliVersion = true ? "0.19.
|
|
1633
|
+
var agtCliVersion = true ? "0.19.6" : "dev";
|
|
1634
1634
|
function resolveBrewPath(execFileSync2) {
|
|
1635
1635
|
try {
|
|
1636
1636
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/mcp/index.js
CHANGED
|
@@ -22207,7 +22207,7 @@ function priorityLabel(priority) {
|
|
|
22207
22207
|
}
|
|
22208
22208
|
async function discoverApiTools() {
|
|
22209
22209
|
if (!AGT_AGENT_CODE_NAME) return [];
|
|
22210
|
-
const path =
|
|
22210
|
+
const path = `/agents/${encodeURIComponent(AGT_AGENT_CODE_NAME)}/mcp`;
|
|
22211
22211
|
const body = { jsonrpc: "2.0", id: 1, method: "tools/list" };
|
|
22212
22212
|
try {
|
|
22213
22213
|
const res = await apiPost(path, body);
|
|
@@ -22225,7 +22225,7 @@ async function forwardToolCall(toolName, args) {
|
|
|
22225
22225
|
if (!AGT_AGENT_CODE_NAME) {
|
|
22226
22226
|
throw new Error("Cannot forward tool call: AGT_AGENT_CODE_NAME is not set");
|
|
22227
22227
|
}
|
|
22228
|
-
const path =
|
|
22228
|
+
const path = `/agents/${encodeURIComponent(AGT_AGENT_CODE_NAME)}/mcp`;
|
|
22229
22229
|
const body = {
|
|
22230
22230
|
jsonrpc: "2.0",
|
|
22231
22231
|
id: Date.now(),
|
package/package.json
CHANGED
|
File without changes
|