@integrity-labs/agt-cli 0.28.49 → 0.28.51
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 +12 -8
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-UVKKX46F.js → chunk-CCDBWDBW.js} +3 -3
- package/dist/{chunk-NCP6GVXS.js → chunk-QK4EU3TC.js} +2 -2
- package/dist/{chunk-MJKGJXKV.js → chunk-WBZFCFU6.js} +4 -1
- package/dist/chunk-WBZFCFU6.js.map +1 -0
- package/dist/{claude-pair-runtime-SAJMKK2M.js → claude-pair-runtime-XU7GFFQH.js} +2 -2
- package/dist/lib/manager-worker.js +8 -8
- package/dist/mcp/augmented-admin.js +55 -0
- package/dist/{persistent-session-HL2ANGTL.js → persistent-session-YSE6OUM6.js} +3 -3
- package/dist/{responsiveness-probe-KSY4M6NR.js → responsiveness-probe-4BU75QQV.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-MJKGJXKV.js.map +0 -1
- /package/dist/{chunk-UVKKX46F.js.map → chunk-CCDBWDBW.js.map} +0 -0
- /package/dist/{chunk-NCP6GVXS.js.map → chunk-QK4EU3TC.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SAJMKK2M.js.map → claude-pair-runtime-XU7GFFQH.js.map} +0 -0
- /package/dist/{persistent-session-HL2ANGTL.js.map → persistent-session-YSE6OUM6.js.map} +0 -0
- /package/dist/{responsiveness-probe-KSY4M6NR.js.map → responsiveness-probe-4BU75QQV.js.map} +0 -0
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-CCDBWDBW.js";
|
|
41
41
|
import {
|
|
42
42
|
CHANNEL_REGISTRY,
|
|
43
43
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
renderTemplate,
|
|
65
65
|
resolveChannels,
|
|
66
66
|
serializeManifestForSlackCli
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-WBZFCFU6.js";
|
|
68
68
|
|
|
69
69
|
// src/bin/agt.ts
|
|
70
70
|
import { join as join22 } from "path";
|
|
@@ -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.51" : "dev";
|
|
4781
4781
|
async function fetchLatestVersion() {
|
|
4782
4782
|
const host2 = getHost();
|
|
4783
4783
|
if (!host2) return null;
|
|
@@ -5404,6 +5404,10 @@ import { homedir as homedir10 } from "os";
|
|
|
5404
5404
|
import { join as join21 } from "path";
|
|
5405
5405
|
import chalk19 from "chalk";
|
|
5406
5406
|
import ora17 from "ora";
|
|
5407
|
+
async function fetchAgents() {
|
|
5408
|
+
const body = await api.get("/agents");
|
|
5409
|
+
return Array.isArray(body?.agents) ? body.agents : [];
|
|
5410
|
+
}
|
|
5407
5411
|
async function integrationListCommand() {
|
|
5408
5412
|
const json = isJsonMode();
|
|
5409
5413
|
const spinner = ora17({ text: "Fetching integrations\u2026", isSilent: json }).start();
|
|
@@ -5477,7 +5481,7 @@ async function integrationProbeCommand(agentCodeName, slug) {
|
|
|
5477
5481
|
const json = isJsonMode();
|
|
5478
5482
|
const spinner = ora17({ text: `Probing ${slug} on ${agentCodeName}\u2026`, isSilent: json }).start();
|
|
5479
5483
|
try {
|
|
5480
|
-
const agents = await
|
|
5484
|
+
const agents = await fetchAgents();
|
|
5481
5485
|
const agent2 = agents.find((a) => a.code_name === agentCodeName);
|
|
5482
5486
|
if (!agent2) {
|
|
5483
5487
|
spinner.stop();
|
|
@@ -5570,7 +5574,7 @@ async function integrationInstallCommand(slug, options) {
|
|
|
5570
5574
|
process.exitCode = 1;
|
|
5571
5575
|
return;
|
|
5572
5576
|
}
|
|
5573
|
-
const agents = await
|
|
5577
|
+
const agents = await fetchAgents();
|
|
5574
5578
|
const agent2 = agents.find((a) => a.code_name === options.agent);
|
|
5575
5579
|
if (!agent2) {
|
|
5576
5580
|
spinner.stop();
|
|
@@ -5620,7 +5624,7 @@ async function integrationUninstallCommand(slug, options) {
|
|
|
5620
5624
|
process.exitCode = 1;
|
|
5621
5625
|
return;
|
|
5622
5626
|
}
|
|
5623
|
-
const agents = await
|
|
5627
|
+
const agents = await fetchAgents();
|
|
5624
5628
|
const agent2 = agents.find((a) => a.code_name === options.agent);
|
|
5625
5629
|
if (!agent2) {
|
|
5626
5630
|
spinner.stop();
|
|
@@ -5738,7 +5742,7 @@ async function integrationEnrolCommand(options) {
|
|
|
5738
5742
|
process.exitCode = 1;
|
|
5739
5743
|
return;
|
|
5740
5744
|
}
|
|
5741
|
-
const agents = await
|
|
5745
|
+
const agents = await fetchAgents();
|
|
5742
5746
|
const found = agents.find((a) => a.code_name === options.agent);
|
|
5743
5747
|
if (!found) {
|
|
5744
5748
|
spinner.stop();
|
|
@@ -5787,7 +5791,7 @@ function handleError(err) {
|
|
|
5787
5791
|
}
|
|
5788
5792
|
|
|
5789
5793
|
// src/bin/agt.ts
|
|
5790
|
-
var cliVersion2 = true ? "0.28.
|
|
5794
|
+
var cliVersion2 = true ? "0.28.51" : "dev";
|
|
5791
5795
|
var program = new Command();
|
|
5792
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");
|
|
5793
5797
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|