@integrity-labs/agt-cli 0.27.144 → 0.27.146
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 +3 -3
- package/dist/{chunk-HPUIWWKD.js → chunk-3LRQ45BZ.js} +9 -11
- package/dist/{chunk-HPUIWWKD.js.map → chunk-3LRQ45BZ.js.map} +1 -1
- package/dist/{chunk-7GKJZBTB.js → chunk-J2HPXKP5.js} +208 -51
- package/dist/chunk-J2HPXKP5.js.map +1 -0
- package/dist/{claude-pair-runtime-GIUCD7IG.js → claude-pair-runtime-EZ4HC6D7.js} +2 -2
- package/dist/lib/manager-worker.js +67 -35
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/augmented-admin.js +21335 -0
- package/dist/mcp/slack-channel.js +151 -110
- package/dist/mcp/teams-channel.js +73 -29
- package/dist/mcp/telegram-channel.js +163 -80
- package/dist/{persistent-session-35PWSTLO.js → persistent-session-EUOWPJPS.js} +2 -3
- package/dist/{responsiveness-probe-MA4M2QM4.js → responsiveness-probe-IU3ALQYB.js} +2 -3
- package/dist/{responsiveness-probe-MA4M2QM4.js.map → responsiveness-probe-IU3ALQYB.js.map} +1 -1
- package/package.json +3 -2
- package/dist/chunk-354FAVQR.js +0 -173
- package/dist/chunk-354FAVQR.js.map +0 -1
- package/dist/chunk-7GKJZBTB.js.map +0 -1
- package/dist/daily-session-PNQX5URX.js +0 -27
- package/dist/persistent-session-35PWSTLO.js.map +0 -1
- /package/dist/{claude-pair-runtime-GIUCD7IG.js.map → claude-pair-runtime-EZ4HC6D7.js.map} +0 -0
- /package/dist/{daily-session-PNQX5URX.js.map → persistent-session-EUOWPJPS.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
success,
|
|
29
29
|
table,
|
|
30
30
|
warn
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-3LRQ45BZ.js";
|
|
32
32
|
import {
|
|
33
33
|
CHANNEL_REGISTRY,
|
|
34
34
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -4934,7 +4934,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4934
4934
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4935
4935
|
import chalk18 from "chalk";
|
|
4936
4936
|
import ora16 from "ora";
|
|
4937
|
-
var cliVersion = true ? "0.27.
|
|
4937
|
+
var cliVersion = true ? "0.27.146" : "dev";
|
|
4938
4938
|
async function fetchLatestVersion() {
|
|
4939
4939
|
const host2 = getHost();
|
|
4940
4940
|
if (!host2) return null;
|
|
@@ -5857,7 +5857,7 @@ function handleError(err) {
|
|
|
5857
5857
|
}
|
|
5858
5858
|
|
|
5859
5859
|
// src/bin/agt.ts
|
|
5860
|
-
var cliVersion2 = true ? "0.27.
|
|
5860
|
+
var cliVersion2 = true ? "0.27.146" : "dev";
|
|
5861
5861
|
var program = new Command();
|
|
5862
5862
|
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");
|
|
5863
5863
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5278,16 +5278,15 @@ function buildMcpJson(input) {
|
|
|
5278
5278
|
}
|
|
5279
5279
|
const hasAdminDebug = input.integrations?.some((i) => i.definition_id === "augmented-admin") ?? false;
|
|
5280
5280
|
if (hasAdminDebug) {
|
|
5281
|
+
const localAdminMcpPath = join4(getHomeDir3(), ".augmented", "_mcp", "augmented-admin.js");
|
|
5281
5282
|
mcpServers["augmented-admin"] = {
|
|
5282
|
-
command: "
|
|
5283
|
-
args: [
|
|
5283
|
+
command: "node",
|
|
5284
|
+
args: [localAdminMcpPath],
|
|
5284
5285
|
env: {
|
|
5285
5286
|
AGT_HOST: "${AGT_HOST}",
|
|
5286
5287
|
AGT_AGENT_ID: input.agent.agent_id,
|
|
5287
5288
|
AGT_RUN_ID: "${AGT_RUN_ID}",
|
|
5288
|
-
AGT_API_KEY: "${AGT_API_KEY}"
|
|
5289
|
-
PATH: process.env["PATH"] ?? "",
|
|
5290
|
-
HOME: process.env["HOME"] ?? ""
|
|
5289
|
+
AGT_API_KEY: "${AGT_API_KEY}"
|
|
5291
5290
|
}
|
|
5292
5291
|
};
|
|
5293
5292
|
}
|
|
@@ -6282,16 +6281,15 @@ ${sections}`
|
|
|
6282
6281
|
}
|
|
6283
6282
|
const hasAdminDebug = integrations.some((i) => i.definition_id === "augmented-admin");
|
|
6284
6283
|
if (hasAdminDebug) {
|
|
6284
|
+
const localAdminMcpPath = join4(getHomeDir3(), ".augmented", "_mcp", "augmented-admin.js");
|
|
6285
6285
|
this.writeMcpServer(codeName, "augmented-admin", {
|
|
6286
|
-
command: "
|
|
6287
|
-
args: [
|
|
6286
|
+
command: "node",
|
|
6287
|
+
args: [localAdminMcpPath],
|
|
6288
6288
|
env: {
|
|
6289
6289
|
AGT_HOST: "${AGT_HOST}",
|
|
6290
6290
|
AGT_AGENT_ID: resolveBrokerAgentId(codeName) ?? agentId ?? "",
|
|
6291
6291
|
AGT_RUN_ID: "${AGT_RUN_ID}",
|
|
6292
|
-
AGT_API_KEY: "${AGT_API_KEY}"
|
|
6293
|
-
PATH: process.env["PATH"] ?? "",
|
|
6294
|
-
HOME: process.env["HOME"] ?? ""
|
|
6292
|
+
AGT_API_KEY: "${AGT_API_KEY}"
|
|
6295
6293
|
}
|
|
6296
6294
|
});
|
|
6297
6295
|
}
|
|
@@ -7868,4 +7866,4 @@ export {
|
|
|
7868
7866
|
managerInstallSystemUnitCommand,
|
|
7869
7867
|
managerUninstallSystemUnitCommand
|
|
7870
7868
|
};
|
|
7871
|
-
//# sourceMappingURL=chunk-
|
|
7869
|
+
//# sourceMappingURL=chunk-3LRQ45BZ.js.map
|