@integrity-labs/agt-cli 0.28.1208 → 0.28.1210
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-Y26MLRXC.js → chunk-6TXC2YC3.js} +2 -2
- package/dist/{chunk-OU5XSJJX.js → chunk-EOMFINJP.js} +5 -5
- package/dist/{chunk-R4EJS4TN.js → chunk-JM4J6GYJ.js} +18 -1
- package/dist/chunk-JM4J6GYJ.js.map +1 -0
- package/dist/{chunk-D565LL6O.js → chunk-PTWO2LSN.js} +2 -2
- package/dist/{chunk-POD2ZTMG.js → chunk-REX6HMS6.js} +3 -3
- package/dist/{claude-code-updater-P6ZC52QN.js → claude-code-updater-RC3TT5TZ.js} +3 -3
- package/dist/{claude-pair-runtime-4O5GIY7X.js → claude-pair-runtime-OVWGDMWK.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/mcp/direct-chat-channel.js +52 -35
- package/dist/mcp/index.js +39 -22
- package/dist/mcp/origami.js +39 -22
- package/dist/mcp/slack-channel.js +202 -22
- package/dist/mcp/telegram-channel.js +39 -22
- package/dist/{persistent-session-IXSNL2L3.js → persistent-session-UJBNO5IF.js} +4 -4
- package/dist/{responsiveness-probe-6WBSEIIK.js → responsiveness-probe-6BELVQ42.js} +4 -4
- package/dist/{session-auth-dead-M6XDFGDM.js → session-auth-dead-RLOWHZ3T.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-R4EJS4TN.js.map +0 -1
- /package/dist/{chunk-Y26MLRXC.js.map → chunk-6TXC2YC3.js.map} +0 -0
- /package/dist/{chunk-OU5XSJJX.js.map → chunk-EOMFINJP.js.map} +0 -0
- /package/dist/{chunk-D565LL6O.js.map → chunk-PTWO2LSN.js.map} +0 -0
- /package/dist/{chunk-POD2ZTMG.js.map → chunk-REX6HMS6.js.map} +0 -0
- /package/dist/{claude-code-updater-P6ZC52QN.js.map → claude-code-updater-RC3TT5TZ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-4O5GIY7X.js.map → claude-pair-runtime-OVWGDMWK.js.map} +0 -0
- /package/dist/{persistent-session-IXSNL2L3.js.map → persistent-session-UJBNO5IF.js.map} +0 -0
- /package/dist/{responsiveness-probe-6WBSEIIK.js.map → responsiveness-probe-6BELVQ42.js.map} +0 -0
- /package/dist/{session-auth-dead-M6XDFGDM.js.map → session-auth-dead-RLOWHZ3T.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-EOMFINJP.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
47
47
|
readDirectChatSessionState
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-REX6HMS6.js";
|
|
49
49
|
import {
|
|
50
50
|
markDailySessionSpawn,
|
|
51
51
|
sessionFileExists,
|
|
52
52
|
sessionTranscriptDir
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-6TXC2YC3.js";
|
|
54
54
|
import "../chunk-HYQ7VOC3.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-JM4J6GYJ.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.1210" : "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.1210" : "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) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeClaudeProjectPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JM4J6GYJ.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/daily-session.ts
|
|
6
6
|
import { randomUUID } from "crypto";
|
|
@@ -240,4 +240,4 @@ export {
|
|
|
240
240
|
peekPreviousSession,
|
|
241
241
|
readDailySessionPin
|
|
242
242
|
};
|
|
243
|
-
//# sourceMappingURL=chunk-
|
|
243
|
+
//# sourceMappingURL=chunk-6TXC2YC3.js.map
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
parseEnvFileEntries,
|
|
17
17
|
parseEnvIntegrations,
|
|
18
18
|
shellQuote
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-REX6HMS6.js";
|
|
20
20
|
import {
|
|
21
21
|
readDailySessionPin,
|
|
22
22
|
sessionTranscriptDir
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6TXC2YC3.js";
|
|
24
24
|
import {
|
|
25
25
|
classifyUnanswerablePane,
|
|
26
26
|
isConsumerTermsDialogVisible,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
scanConfigForLiteralSecrets,
|
|
93
93
|
worseConnectivityOutcome,
|
|
94
94
|
wrapScheduledTaskPrompt
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-JM4J6GYJ.js";
|
|
96
96
|
import {
|
|
97
97
|
claudeJsonPathFor,
|
|
98
98
|
effectiveClaudeJsonPath,
|
|
@@ -8082,7 +8082,7 @@ function exchangeFailureKind(err) {
|
|
|
8082
8082
|
}
|
|
8083
8083
|
|
|
8084
8084
|
// src/lib/api-client.ts
|
|
8085
|
-
var agtCliVersion = true ? "0.28.
|
|
8085
|
+
var agtCliVersion = true ? "0.28.1210" : "dev";
|
|
8086
8086
|
var lastConfigHash = null;
|
|
8087
8087
|
function setConfigHash(hash) {
|
|
8088
8088
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -13683,4 +13683,4 @@ export {
|
|
|
13683
13683
|
managerInstallSystemUnitCommand,
|
|
13684
13684
|
managerUninstallSystemUnitCommand
|
|
13685
13685
|
};
|
|
13686
|
-
//# sourceMappingURL=chunk-
|
|
13686
|
+
//# sourceMappingURL=chunk-EOMFINJP.js.map
|
|
@@ -6661,6 +6661,23 @@ var FLAG_REGISTRY = [
|
|
|
6661
6661
|
// change (ADR-0022 sensitive-flag confirm).
|
|
6662
6662
|
sensitive: true
|
|
6663
6663
|
},
|
|
6664
|
+
{
|
|
6665
|
+
key: "ghost-reply-narration-guard",
|
|
6666
|
+
description: "Model-free guard on the SLACK ghost-reply RECOVERY path (CS-1821, CS-1429, ENG-7780); Telegram and Teams recovery do not run it. Recovered end-of-turn text with no second person, question, link or mention, that uses stand-down wording or names the person being answered in the third person, is not published. enforce = keep the marker so the inbound is re-delivered and the agent can answer properly. When re-deliveries run out, stand-down wording closes unposted and a name-only match publishes; with no reply owed, either closes. shadow = log only. off = never runs. A false match usually costs a re-ask; a real reply using stand-down wording every time is lost.",
|
|
6667
|
+
flagType: "enum",
|
|
6668
|
+
allowedValues: ["off", "shadow", "enforce"],
|
|
6669
|
+
// Ships in SHADOW: a free local log line, like every enum flag here, enforce is a
|
|
6670
|
+
// deliberate flip. Read the match log before flipping: a false match usually costs
|
|
6671
|
+
// a re-ask, but one repeated on every re-delivery loses the reply.
|
|
6672
|
+
defaultValue: "shadow",
|
|
6673
|
+
envVar: "AGT_GHOST_REPLY_NARRATION_GUARD_MODE",
|
|
6674
|
+
sensitive: true,
|
|
6675
|
+
// DELIBERATE UNREACHABLE PLACEHOLDER, not a real threshold. The reader is host-side
|
|
6676
|
+
// (the channel MCP), so a host on an older agt-cli ignores this flag. Replace it with
|
|
6677
|
+
// the first published agt-cli carrying the reader before flipping to enforce. Same
|
|
6678
|
+
// convention as `github-broker-credentials`.
|
|
6679
|
+
since: "0.29.0"
|
|
6680
|
+
},
|
|
6664
6681
|
{
|
|
6665
6682
|
key: "slack-scheduled-channel-guard",
|
|
6666
6683
|
description: 'Guard on slack.reply that refuses to let an active scheduled-task destination silently move a reply to a DIFFERENT channel than the agent named (ENG-8137). CS-1505 gave an explicit inbound_id priority over the task destination but left the no-inbound_id case treating "no inbound reference" as "no destination specified" - and `channel` is a REQUIRED argument, so every call names one. The symptom: a question asked in one channel answered in another, and a reply meant as a DM landing in a public channel. Fires only when the marker carries an EXPLICIT target, the named channel differs from it, and neither an inbound_id, an enforce binding, nor an ENG-7542 channel correction is available to arbitrate. off = never runs (today behaviour: silent retarget). shadow = count + log the would-block but STILL route as today, so the false-positive rate is measurable before anyone refuses a send. enforce = block the reply and tell the agent to retry. Read live from the heartbeat flags-cache (or the env override). NOTE: enforce is currently CLAMPED to shadow host-side and setting it here will not take effect - it stays blocked until ENG-8142 teaches the Stop hook to tell a refused reply from a delivered one, because until then a blocked send fails silently (no recovery, no re-prompt, nothing in the channel). Lifting the clamp is a code change, not a flag flip.',
|
|
@@ -17882,4 +17899,4 @@ export {
|
|
|
17882
17899
|
HOST_ROTATE_KEY_CONFLICT,
|
|
17883
17900
|
shouldMintReplacementKey
|
|
17884
17901
|
};
|
|
17885
|
-
//# sourceMappingURL=chunk-
|
|
17902
|
+
//# sourceMappingURL=chunk-JM4J6GYJ.js.map
|