@integrity-labs/agt-cli 0.28.209 → 0.28.210
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-Z62QHIR3.js → chunk-G42GLXB6.js} +2 -2
- package/dist/lib/manager-worker.js +8 -2
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +11 -3
- package/package.json +1 -1
- /package/dist/{chunk-Z62QHIR3.js.map → chunk-G42GLXB6.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
table,
|
|
40
40
|
warn
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-G42GLXB6.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4830
4830
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4831
4831
|
import chalk18 from "chalk";
|
|
4832
4832
|
import ora16 from "ora";
|
|
4833
|
-
var cliVersion = true ? "0.28.
|
|
4833
|
+
var cliVersion = true ? "0.28.210" : "dev";
|
|
4834
4834
|
async function fetchLatestVersion() {
|
|
4835
4835
|
const host2 = getHost();
|
|
4836
4836
|
if (!host2) return null;
|
|
@@ -5844,7 +5844,7 @@ function handleError(err) {
|
|
|
5844
5844
|
}
|
|
5845
5845
|
|
|
5846
5846
|
// src/bin/agt.ts
|
|
5847
|
-
var cliVersion2 = true ? "0.28.
|
|
5847
|
+
var cliVersion2 = true ? "0.28.210" : "dev";
|
|
5848
5848
|
var program = new Command();
|
|
5849
5849
|
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");
|
|
5850
5850
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5529,7 +5529,7 @@ function requireHost() {
|
|
|
5529
5529
|
}
|
|
5530
5530
|
|
|
5531
5531
|
// src/lib/api-client.ts
|
|
5532
|
-
var agtCliVersion = true ? "0.28.
|
|
5532
|
+
var agtCliVersion = true ? "0.28.210" : "dev";
|
|
5533
5533
|
var lastConfigHash = null;
|
|
5534
5534
|
function setConfigHash(hash) {
|
|
5535
5535
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7587,4 +7587,4 @@ export {
|
|
|
7587
7587
|
managerInstallSystemUnitCommand,
|
|
7588
7588
|
managerUninstallSystemUnitCommand
|
|
7589
7589
|
};
|
|
7590
|
-
//# sourceMappingURL=chunk-
|
|
7590
|
+
//# sourceMappingURL=chunk-G42GLXB6.js.map
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
requireHost,
|
|
37
37
|
safeWriteJsonAtomic,
|
|
38
38
|
setConfigHash
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-G42GLXB6.js";
|
|
40
40
|
import {
|
|
41
41
|
getProjectDir as getProjectDir2,
|
|
42
42
|
getReadyTasks,
|
|
@@ -6159,7 +6159,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6159
6159
|
var lastVersionCheckAt = 0;
|
|
6160
6160
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6161
6161
|
var lastResponsivenessProbeAt = 0;
|
|
6162
|
-
var agtCliVersion = true ? "0.28.
|
|
6162
|
+
var agtCliVersion = true ? "0.28.210" : "dev";
|
|
6163
6163
|
function resolveBrewPath(execFileSync2) {
|
|
6164
6164
|
try {
|
|
6165
6165
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -8516,6 +8516,12 @@ async function processAgent(agent, agentStates) {
|
|
|
8516
8516
|
// substitutes at MCP-launch. No literal in .mcp.json.
|
|
8517
8517
|
AGT_API_KEY: "${AGT_API_KEY}",
|
|
8518
8518
|
AGT_AGENT_ID: agent.agent_id,
|
|
8519
|
+
// ENG-7262: the direct-chat MCP downloads inbound attachments into the
|
|
8520
|
+
// agent's code-name dir (~/.augmented/<code_name>/direct-chat-inbound/)
|
|
8521
|
+
// so the agent's isolation-hook-sandboxed file tools can read them.
|
|
8522
|
+
// Pass the code name explicitly (matches slack/telegram); the MCP also
|
|
8523
|
+
// falls back to dirname(AGT_TURN_INITIATOR_FILE) if this is ever unset.
|
|
8524
|
+
AGT_AGENT_CODE_NAME: agent.code_name,
|
|
8519
8525
|
// ENG-6587 (D16): per-turn initiator marker path. The direct-chat MCP
|
|
8520
8526
|
// (writer) and the broker MCPs (readers) share no other state-dir env,
|
|
8521
8527
|
// so we inject the SAME absolute path buildMcpJson gives the brokers:
|