@integrity-labs/agt-cli 0.28.430 → 0.28.431
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
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-SV67CNIX.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.431" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.431" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4903,7 +4903,7 @@ function requireHost() {
|
|
|
4903
4903
|
}
|
|
4904
4904
|
|
|
4905
4905
|
// src/lib/api-client.ts
|
|
4906
|
-
var agtCliVersion = true ? "0.28.
|
|
4906
|
+
var agtCliVersion = true ? "0.28.431" : "dev";
|
|
4907
4907
|
var lastConfigHash = null;
|
|
4908
4908
|
function setConfigHash(hash) {
|
|
4909
4909
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7404,4 +7404,4 @@ export {
|
|
|
7404
7404
|
managerInstallSystemUnitCommand,
|
|
7405
7405
|
managerUninstallSystemUnitCommand
|
|
7406
7406
|
};
|
|
7407
|
-
//# sourceMappingURL=chunk-
|
|
7407
|
+
//# sourceMappingURL=chunk-SV67CNIX.js.map
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
resolveEffectivePinRaw,
|
|
43
43
|
safeWriteJsonAtomic,
|
|
44
44
|
setConfigHash
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-SV67CNIX.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir as getProjectDir2,
|
|
48
48
|
getReadyTasks,
|
|
@@ -9564,7 +9564,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9564
9564
|
var lastVersionCheckAt = 0;
|
|
9565
9565
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9566
9566
|
var lastResponsivenessProbeAt = 0;
|
|
9567
|
-
var agtCliVersion = true ? "0.28.
|
|
9567
|
+
var agtCliVersion = true ? "0.28.431" : "dev";
|
|
9568
9568
|
function resolveBrewPath(execFileSync2) {
|
|
9569
9569
|
try {
|
|
9570
9570
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -30550,6 +30550,7 @@ var DEFAULT_STREAM_SLICE_CONFIG = {
|
|
|
30550
30550
|
maxSteps: 40
|
|
30551
30551
|
};
|
|
30552
30552
|
function computeStreamSlices(content, config2 = DEFAULT_STREAM_SLICE_CONFIG) {
|
|
30553
|
+
if (!content) return [];
|
|
30553
30554
|
const len = content.length;
|
|
30554
30555
|
if (len < config2.minContentLength) return [];
|
|
30555
30556
|
const byTarget = Math.ceil(len / config2.targetSteps);
|
|
@@ -35857,6 +35858,12 @@ mcp.setRequestHandler(CallToolRequestSchema, async (req) => {
|
|
|
35857
35858
|
}
|
|
35858
35859
|
if (name === "direct_chat.reply") {
|
|
35859
35860
|
const { session_id, content: rawContent } = args;
|
|
35861
|
+
if (rawContent == null) {
|
|
35862
|
+
return {
|
|
35863
|
+
content: [{ type: "text", text: "Missing required argument: content" }],
|
|
35864
|
+
isError: true
|
|
35865
|
+
};
|
|
35866
|
+
}
|
|
35860
35867
|
const sanitizedReply = stripRepostPreambleWithMeta(rawContent);
|
|
35861
35868
|
if (sanitizedReply.stripped) emitPreambleStripTelemetry("direct_chat", sanitizedReply.shape);
|
|
35862
35869
|
const sanitizedReplyGuarded = redactToolCallMarkup(sanitizedReply.text);
|
package/package.json
CHANGED
|
File without changes
|