@integrity-labs/agt-cli 0.28.550 → 0.28.552
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 +7 -4
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-VSFKVITC.js → chunk-3R4LUCPB.js} +2 -2
- package/dist/lib/manager-worker.js +12 -2
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +101 -1
- package/package.json +1 -1
- /package/dist/{chunk-VSFKVITC.js.map → chunk-3R4LUCPB.js.map} +0 -0
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-3R4LUCPB.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.552" : "dev";
|
|
4838
4838
|
async function fetchLatestVersion() {
|
|
4839
4839
|
const host2 = getHost();
|
|
4840
4840
|
if (!host2) return null;
|
|
@@ -5617,7 +5617,10 @@ import { join as join22 } from "path";
|
|
|
5617
5617
|
import chalk19 from "chalk";
|
|
5618
5618
|
import ora17 from "ora";
|
|
5619
5619
|
async function fetchAgents() {
|
|
5620
|
-
const
|
|
5620
|
+
const hostId = await getHostId().catch(() => null);
|
|
5621
|
+
const body = hostId ? await api.post("/host/agents", {
|
|
5622
|
+
host_id: hostId
|
|
5623
|
+
}) : await api.get("/agents");
|
|
5621
5624
|
return Array.isArray(body?.agents) ? body.agents : [];
|
|
5622
5625
|
}
|
|
5623
5626
|
async function integrationListCommand() {
|
|
@@ -6006,7 +6009,7 @@ function handleError(err) {
|
|
|
6006
6009
|
}
|
|
6007
6010
|
|
|
6008
6011
|
// src/bin/agt.ts
|
|
6009
|
-
var cliVersion2 = true ? "0.28.
|
|
6012
|
+
var cliVersion2 = true ? "0.28.552" : "dev";
|
|
6010
6013
|
var program = new Command();
|
|
6011
6014
|
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
6015
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|