@integrity-labs/agt-cli 0.28.303 → 0.28.305
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 +4 -4
- package/dist/{chunk-5WQATS6J.js → chunk-A546IARM.js} +15 -3
- package/dist/chunk-A546IARM.js.map +1 -0
- package/dist/{chunk-7LFB5DAW.js → chunk-XVLVNR33.js} +3 -3
- package/dist/{claude-pair-runtime-FOFN74JS.js → claude-pair-runtime-6MRJ6ZJV.js} +2 -2
- package/dist/lib/manager-worker.js +46 -13
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/origami.js +2 -2
- package/dist/mcp/slack-channel.js +139 -3
- package/dist/mcp/telegram-channel.js +29 -0
- package/dist/{persistent-session-52DPSJGK.js → persistent-session-WYNJBCVB.js} +2 -2
- package/dist/{responsiveness-probe-KXWV4FXD.js → responsiveness-probe-2FQLPFAR.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-5WQATS6J.js.map +0 -1
- /package/dist/{chunk-7LFB5DAW.js.map → chunk-XVLVNR33.js.map} +0 -0
- /package/dist/{claude-pair-runtime-FOFN74JS.js.map → claude-pair-runtime-6MRJ6ZJV.js.map} +0 -0
- /package/dist/{persistent-session-52DPSJGK.js.map → persistent-session-WYNJBCVB.js.map} +0 -0
- /package/dist/{responsiveness-probe-KXWV4FXD.js.map → responsiveness-probe-2FQLPFAR.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-XVLVNR33.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
renderTemplate,
|
|
68
68
|
resolveChannels,
|
|
69
69
|
serializeManifestForSlackCli
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-A546IARM.js";
|
|
71
71
|
import "../chunk-XWVM4KPK.js";
|
|
72
72
|
|
|
73
73
|
// src/bin/agt.ts
|
|
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4826
4826
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4827
4827
|
import chalk18 from "chalk";
|
|
4828
4828
|
import ora16 from "ora";
|
|
4829
|
-
var cliVersion = true ? "0.28.
|
|
4829
|
+
var cliVersion = true ? "0.28.305" : "dev";
|
|
4830
4830
|
async function fetchLatestVersion() {
|
|
4831
4831
|
const host2 = getHost();
|
|
4832
4832
|
if (!host2) return null;
|
|
@@ -5843,7 +5843,7 @@ function handleError(err) {
|
|
|
5843
5843
|
}
|
|
5844
5844
|
|
|
5845
5845
|
// src/bin/agt.ts
|
|
5846
|
-
var cliVersion2 = true ? "0.28.
|
|
5846
|
+
var cliVersion2 = true ? "0.28.305" : "dev";
|
|
5847
5847
|
var program = new Command();
|
|
5848
5848
|
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");
|
|
5849
5849
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -1522,6 +1522,18 @@ function generateSlackAppManifest(input) {
|
|
|
1522
1522
|
description: "This agent's model, session origin, uptime + connectivity.",
|
|
1523
1523
|
should_escape: false
|
|
1524
1524
|
},
|
|
1525
|
+
// ENG-7682 Slice 2: /notify — per-channel opt-out mute for the
|
|
1526
|
+
// `filter` notify-dispatch mode. Registered BARE (not per-agent
|
|
1527
|
+
// suffixed like the others) deliberately, to stay under Slack's
|
|
1528
|
+
// per-app slash-command cap. The slash_commands envelope handler
|
|
1529
|
+
// (matchesAgentCommand) routes the bare form to handleNotifyCommand.
|
|
1530
|
+
// An @-mention always still reaches the agent.
|
|
1531
|
+
{
|
|
1532
|
+
command: "/notify",
|
|
1533
|
+
url: slash_command_url,
|
|
1534
|
+
description: "Mute or un-mute this channel for this agent (off | on | status).",
|
|
1535
|
+
should_escape: false
|
|
1536
|
+
},
|
|
1525
1537
|
// ENG-6931: /ping-<code> - a connectivity check. The agent posts a
|
|
1526
1538
|
// visible pong via the normal chat.postMessage reply path, proving
|
|
1527
1539
|
// the channel can actually deliver. Routed by the slash_commands
|
|
@@ -7825,9 +7837,9 @@ var FLAG_REGISTRY = [
|
|
|
7825
7837
|
},
|
|
7826
7838
|
{
|
|
7827
7839
|
key: "notify-dispatch",
|
|
7828
|
-
description: "Membership-based channel-notify dispatch (ENG-7682 / notify Slice 1). off = today's behaviour: a non-@mention top-level channel message is dropped by the mention_only engagement gate (SLACK_CHANNEL_RESPONSE_MODE). membership = the agent's Slack MCP ADMITS non-@mention channel messages in channels its bot is a member of (the Socket Mode websocket already receives them), waking the agent in-thread via the SAME existing wake path used for @mentions/DMs. Only the mention_only engagement gate is relaxed - the echo/dedup, bot_id/self, and peer-classifier safety leaves still apply, so this never opens a bot-to-bot wake loop. The channel server can't evaluate flags, so the manager materializes the resolved value into the AGT_NOTIFY_DISPATCH spawn env (operator/canary override, ADR-0022).
|
|
7840
|
+
description: "Membership-based channel-notify dispatch (ENG-7682 / notify Slice 1). off = today's behaviour: a non-@mention top-level channel message is dropped by the mention_only engagement gate (SLACK_CHANNEL_RESPONSE_MODE). membership = the agent's Slack MCP ADMITS non-@mention channel messages in channels its bot is a member of (the Socket Mode websocket already receives them), waking the agent in-thread via the SAME existing wake path used for @mentions/DMs. Only the mention_only engagement gate is relaxed - the echo/dedup, bot_id/self, and peer-classifier safety leaves still apply, so this never opens a bot-to-bot wake loop. The channel server can't evaluate flags, so the manager materializes the resolved value into the AGT_NOTIFY_DISPATCH spawn env (operator/canary override, ADR-0022). filter = like membership (opt-out) but honours a per-channel mute list: a member-channel message wakes the agent UNLESS the user muted that channel via the /notify slash command. The manager materializes the muted set into AGT_NOTIFY_MUTED_CHANNELS from agent_notify_channel_prefs (ENG-7682 Slice 2). Ships dark (default off).",
|
|
7829
7841
|
flagType: "enum",
|
|
7830
|
-
allowedValues: ["off", "membership"],
|
|
7842
|
+
allowedValues: ["off", "membership", "filter"],
|
|
7831
7843
|
// Declared safe value is `off`: the mention_only gate stays in force, byte-
|
|
7832
7844
|
// identical to today. membership is the deliberate, per-agent flip that
|
|
7833
7845
|
// widens what wakes the agent.
|
|
@@ -9768,4 +9780,4 @@ export {
|
|
|
9768
9780
|
stopAllSessionsAndWait,
|
|
9769
9781
|
getProjectDir
|
|
9770
9782
|
};
|
|
9771
|
-
//# sourceMappingURL=chunk-
|
|
9783
|
+
//# sourceMappingURL=chunk-A546IARM.js.map
|