@integrity-labs/agt-cli 0.28.1188 → 0.28.1190
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 +6 -6
- package/dist/{chunk-B7EHZTCU.js → chunk-55M26Q4M.js} +2 -2
- package/dist/{chunk-TKFPMB6F.js → chunk-7GZKHF45.js} +15 -4
- package/dist/chunk-7GZKHF45.js.map +1 -0
- package/dist/{chunk-KKK3S2RS.js → chunk-EFTLDAKN.js} +3 -3
- package/dist/{chunk-2HMIFOZU.js → chunk-KV6ZNGTG.js} +2 -2
- package/dist/{chunk-3JRHSAXP.js → chunk-NVLV6XHL.js} +54 -21
- package/dist/chunk-NVLV6XHL.js.map +1 -0
- package/dist/{claude-code-updater-F2Q5CM6R.js → claude-code-updater-IU23JJZI.js} +3 -3
- package/dist/{claude-pair-runtime-AAK4N5Z6.js → claude-pair-runtime-GMXVV5AJ.js} +3 -3
- package/dist/lib/manager-worker.js +28 -21
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +6 -0
- package/dist/mcp/index.js +6 -0
- package/dist/mcp/origami.js +6 -0
- package/dist/mcp/slack-channel.js +6 -0
- package/dist/mcp/telegram-channel.js +6 -0
- package/dist/{persistent-session-KW4SEBXV.js → persistent-session-7PBVDLFI.js} +4 -4
- package/dist/{responsiveness-probe-34V4HLOQ.js → responsiveness-probe-RSH4EMQP.js} +4 -4
- package/dist/{session-auth-dead-AGNAALKZ.js → session-auth-dead-M2YABEQU.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-3JRHSAXP.js.map +0 -1
- package/dist/chunk-TKFPMB6F.js.map +0 -1
- /package/dist/{chunk-B7EHZTCU.js.map → chunk-55M26Q4M.js.map} +0 -0
- /package/dist/{chunk-KKK3S2RS.js.map → chunk-EFTLDAKN.js.map} +0 -0
- /package/dist/{chunk-2HMIFOZU.js.map → chunk-KV6ZNGTG.js.map} +0 -0
- /package/dist/{claude-code-updater-F2Q5CM6R.js.map → claude-code-updater-IU23JJZI.js.map} +0 -0
- /package/dist/{claude-pair-runtime-AAK4N5Z6.js.map → claude-pair-runtime-GMXVV5AJ.js.map} +0 -0
- /package/dist/{persistent-session-KW4SEBXV.js.map → persistent-session-7PBVDLFI.js.map} +0 -0
- /package/dist/{responsiveness-probe-34V4HLOQ.js.map → responsiveness-probe-RSH4EMQP.js.map} +0 -0
- /package/dist/{session-auth-dead-AGNAALKZ.js.map → session-auth-dead-M2YABEQU.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,17 +40,17 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-NVLV6XHL.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-EFTLDAKN.js";
|
|
49
49
|
import {
|
|
50
50
|
markDailySessionSpawn,
|
|
51
51
|
sessionFileExists,
|
|
52
52
|
sessionTranscriptDir
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-KV6ZNGTG.js";
|
|
54
54
|
import "../chunk-OO36JBFI.js";
|
|
55
55
|
import "../chunk-6HBXEJHO.js";
|
|
56
56
|
import "../chunk-XWVM4KPK.js";
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
requiredMcpWildcard,
|
|
84
84
|
resolveChannels,
|
|
85
85
|
serializeManifestForSlackCli
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-7GZKHF45.js";
|
|
87
87
|
import "../chunk-AIUIMEUS.js";
|
|
88
88
|
import "../chunk-DGUM43GV.js";
|
|
89
89
|
|
|
@@ -5200,7 +5200,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5200
5200
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
5201
5201
|
import chalk17 from "chalk";
|
|
5202
5202
|
import ora15 from "ora";
|
|
5203
|
-
var cliVersion = true ? "0.28.
|
|
5203
|
+
var cliVersion = true ? "0.28.1190" : "dev";
|
|
5204
5204
|
async function fetchLatestVersion() {
|
|
5205
5205
|
const host2 = getHost();
|
|
5206
5206
|
if (!host2) return null;
|
|
@@ -6460,7 +6460,7 @@ function handleError(err) {
|
|
|
6460
6460
|
}
|
|
6461
6461
|
|
|
6462
6462
|
// src/bin/agt.ts
|
|
6463
|
-
var cliVersion2 = true ? "0.28.
|
|
6463
|
+
var cliVersion2 = true ? "0.28.1190" : "dev";
|
|
6464
6464
|
var program = new Command();
|
|
6465
6465
|
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");
|
|
6466
6466
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-XWVM4KPK.js";
|
|
5
5
|
import {
|
|
6
6
|
FORCED_UPDATE_HARD_DEADLINE_MS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7GZKHF45.js";
|
|
8
8
|
import {
|
|
9
9
|
effectiveClaudeJsonPath
|
|
10
10
|
} from "./chunk-AIUIMEUS.js";
|
|
@@ -722,4 +722,4 @@ export {
|
|
|
722
722
|
probeClaudeInstalls,
|
|
723
723
|
maybeUpdateClaudeCode
|
|
724
724
|
};
|
|
725
|
-
//# sourceMappingURL=chunk-
|
|
725
|
+
//# sourceMappingURL=chunk-55M26Q4M.js.map
|
|
@@ -5297,6 +5297,12 @@ function formatCursorAdvanceShortfall(verdict, ctx) {
|
|
|
5297
5297
|
return `[direct-chat] cursor advance shortfall route=/${ctx.route} site=${ctx.site} session=${ctx.sessionId} expected=${verdict.expected} consumed=${verdict.consumed} reason=${verdict.reason} partial=${verdict.partial} cleared_anyway=${cleared}`;
|
|
5298
5298
|
}
|
|
5299
5299
|
|
|
5300
|
+
// ../../packages/core/dist/integrations/augmented-live/live-hosts.js
|
|
5301
|
+
function linkOpenerScript(frameId) {
|
|
5302
|
+
return 'function alOpenBar(u){var o=document.getElementById("al-open");if(o)o.parentNode.removeChild(o);var b=document.createElement("div");b.id="al-open";b.setAttribute("role","status");b.appendChild(document.createTextNode("Open link to "));var a=document.createElement("a");a.href=u.href;a.target="_blank";a.rel="noopener noreferrer";a.textContent=u.host;a.addEventListener("click",function(){setTimeout(function(){if(b.parentNode)b.parentNode.removeChild(b);},0);});b.appendChild(a);var x=document.createElement("button");x.type="button";x.setAttribute("aria-label","Dismiss");x.textContent="\xD7";x.addEventListener("click",function(){if(b.parentNode)b.parentNode.removeChild(b);});b.appendChild(x);document.body.appendChild(b);}window.addEventListener("message",function(e){var f=document.getElementById(' + JSON.stringify(frameId) + ');if(!f||e.source!==f.contentWindow||e.origin!=="null")return;var d=e.data;if(!d||d.type!=="al-open"||typeof d.url!=="string")return;var u;try{u=new URL(d.url);}catch(x){return;}if(u.protocol!=="https:"||u.username||u.password)return;var w=window.open(u.href,"_blank");if(w){try{w.opener=null;}catch(x){}}else{alOpenBar(u);}});';
|
|
5303
|
+
}
|
|
5304
|
+
var WRAPPER_LINK_OPENER = linkOpenerScript("al-doc");
|
|
5305
|
+
|
|
5300
5306
|
// ../../packages/core/dist/integrations/augmented-live/asset.js
|
|
5301
5307
|
var MB = 1024 * 1024;
|
|
5302
5308
|
var ASSET_TYPES = {
|
|
@@ -14360,6 +14366,9 @@ async function parseRpc2(res, expectedId) {
|
|
|
14360
14366
|
return msg;
|
|
14361
14367
|
return null;
|
|
14362
14368
|
}
|
|
14369
|
+
function redactSentHeaders(text, headers) {
|
|
14370
|
+
return Object.values(headers ?? {}).filter((value) => value.length >= 8).reduce((out, value) => out.split(value).join("[redacted]"), text);
|
|
14371
|
+
}
|
|
14363
14372
|
async function probeComposioMcpToolCall(config, fetchImpl = fetch) {
|
|
14364
14373
|
const timeoutMs = config.timeoutMs ?? DEFAULT_TIMEOUT_MS2;
|
|
14365
14374
|
const baseHeaders = {
|
|
@@ -14434,8 +14443,9 @@ async function probeComposioMcpToolCall(config, fetchImpl = fetch) {
|
|
|
14434
14443
|
const errText = callRpc?.["error"]?.message;
|
|
14435
14444
|
const resContent = callRpc?.["result"]?.content;
|
|
14436
14445
|
const raw = errText ?? (resContent ?? []).map((c) => c.text ?? "").join(" ").trim();
|
|
14437
|
-
|
|
14438
|
-
|
|
14446
|
+
const response = redactSentHeaders(raw, config.headers);
|
|
14447
|
+
if (response)
|
|
14448
|
+
baseDetails.response = response.length > 2e3 ? `${response.slice(0, 2e3)}\u2026` : response;
|
|
14439
14449
|
}
|
|
14440
14450
|
const rpcErrMsg = callRpc && "error" in callRpc ? callRpc["error"]?.message ?? "" : "";
|
|
14441
14451
|
const result = callRpc?.["result"];
|
|
@@ -14443,7 +14453,8 @@ async function probeComposioMcpToolCall(config, fetchImpl = fetch) {
|
|
|
14443
14453
|
const failed = Boolean(rpcErrMsg) || Boolean(result?.isError) || isComposioFailureEnvelope(contentText2);
|
|
14444
14454
|
if (failed) {
|
|
14445
14455
|
const failureText = [rpcErrMsg, contentText2].filter(Boolean).join(" ");
|
|
14446
|
-
const
|
|
14456
|
+
const redactedFailure = redactSentHeaders(failureText, config.headers);
|
|
14457
|
+
const snippet = redactedFailure.length > 200 ? `${redactedFailure.slice(0, 200)}\u2026` : redactedFailure;
|
|
14447
14458
|
const kind = classifyToolCallFailure(failureText);
|
|
14448
14459
|
if (kind === "account") {
|
|
14449
14460
|
return {
|
|
@@ -17579,4 +17590,4 @@ export {
|
|
|
17579
17590
|
isForcedUpdatePastDeadline,
|
|
17580
17591
|
shouldMintReplacementKey
|
|
17581
17592
|
};
|
|
17582
|
-
//# sourceMappingURL=chunk-
|
|
17593
|
+
//# sourceMappingURL=chunk-7GZKHF45.js.map
|