@integrity-labs/agt-cli 0.15.7 → 0.15.8
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-WIW5FIRY.js → chunk-32D5TUSD.js} +8 -1
- package/dist/chunk-32D5TUSD.js.map +1 -0
- package/dist/lib/manager-worker.js +1 -1
- package/mcp/index.js +9 -0
- package/mcp/slack-channel.js +11 -7
- package/mcp/telegram-channel.js +36 -5
- package/package.json +1 -1
- package/dist/chunk-WIW5FIRY.js.map +0 -1
package/dist/bin/agt.js
CHANGED
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
success,
|
|
47
47
|
table,
|
|
48
48
|
warn
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-32D5TUSD.js";
|
|
50
50
|
|
|
51
51
|
// src/bin/agt.ts
|
|
52
52
|
import { join as join10 } from "path";
|
|
@@ -3730,7 +3730,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
3730
3730
|
import { existsSync as existsSync5, realpathSync } from "fs";
|
|
3731
3731
|
import chalk17 from "chalk";
|
|
3732
3732
|
import ora15 from "ora";
|
|
3733
|
-
var cliVersion = true ? "0.15.
|
|
3733
|
+
var cliVersion = true ? "0.15.8" : "dev";
|
|
3734
3734
|
async function fetchLatestVersion() {
|
|
3735
3735
|
const host2 = getHost();
|
|
3736
3736
|
if (!host2) return null;
|
|
@@ -4179,7 +4179,7 @@ function handleError(err) {
|
|
|
4179
4179
|
}
|
|
4180
4180
|
|
|
4181
4181
|
// src/bin/agt.ts
|
|
4182
|
-
var cliVersion2 = true ? "0.15.
|
|
4182
|
+
var cliVersion2 = true ? "0.15.8" : "dev";
|
|
4183
4183
|
var program = new Command();
|
|
4184
4184
|
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");
|
|
4185
4185
|
program.hook("preAction", (thisCommand) => {
|
|
@@ -3280,6 +3280,13 @@ function buildMcpJson(input) {
|
|
|
3280
3280
|
AGT_API_KEY: process.env["AGT_API_KEY"] ?? "",
|
|
3281
3281
|
AGT_AGENT_ID: input.agent.agent_id,
|
|
3282
3282
|
AGT_AGENT_CODE_NAME: input.agent.code_name,
|
|
3283
|
+
// ENG-4561: Claude Code substitutes `${VAR}` in .mcp.json env values
|
|
3284
|
+
// at MCP-launch time using the spawn environment, not at file-write
|
|
3285
|
+
// time. Manager-worker exports AGT_RUN_ID per Claude spawn so the
|
|
3286
|
+
// bridge can stamp run_id onto inserted rows (kanban, knowledge).
|
|
3287
|
+
// If AGT_RUN_ID isn't set in the environment, Claude leaves the
|
|
3288
|
+
// literal `${AGT_RUN_ID}` — the bridge filters that case out.
|
|
3289
|
+
AGT_RUN_ID: "${AGT_RUN_ID}",
|
|
3283
3290
|
// Console origin so the MCP bridge can build absolute URLs (e.g.
|
|
3284
3291
|
// dashboard links) in tool replies. Falls back to NEXT_PUBLIC_APP_URL
|
|
3285
3292
|
// / AGT_CONSOLE_URL — same chain consoleUrl uses for kanban links.
|
|
@@ -7115,4 +7122,4 @@ export {
|
|
|
7115
7122
|
managerStopCommand,
|
|
7116
7123
|
managerStatusCommand
|
|
7117
7124
|
};
|
|
7118
|
-
//# sourceMappingURL=chunk-
|
|
7125
|
+
//# sourceMappingURL=chunk-32D5TUSD.js.map
|