@integrity-labs/agt-cli 0.27.137 → 0.27.138
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-TDMOEMDM.js → chunk-PDDU4Z5V.js} +26 -9
- package/dist/chunk-PDDU4Z5V.js.map +1 -0
- package/dist/{chunk-YJOFVGD2.js → chunk-RT37WJXI.js} +2 -2
- package/dist/{chunk-UIRCFCED.js → chunk-SCZVYC5P.js} +2 -2
- package/dist/{claude-pair-runtime-ZOHU673W.js → claude-pair-runtime-CNTCM57R.js} +2 -2
- package/dist/lib/manager-worker.js +9 -9
- package/dist/mcp/slack-channel.js +146 -69
- package/dist/mcp/telegram-channel.js +178 -49
- package/dist/{persistent-session-NSN62HZN.js → persistent-session-WWEAEEL4.js} +3 -3
- package/dist/{responsiveness-probe-RF5ZCTE7.js → responsiveness-probe-MCKI22FY.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-TDMOEMDM.js.map +0 -1
- /package/dist/{chunk-YJOFVGD2.js.map → chunk-RT37WJXI.js.map} +0 -0
- /package/dist/{chunk-UIRCFCED.js.map → chunk-SCZVYC5P.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ZOHU673W.js.map → claude-pair-runtime-CNTCM57R.js.map} +0 -0
- /package/dist/{persistent-session-NSN62HZN.js.map → persistent-session-WWEAEEL4.js.map} +0 -0
- /package/dist/{responsiveness-probe-RF5ZCTE7.js.map → responsiveness-probe-MCKI22FY.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
success,
|
|
29
29
|
table,
|
|
30
30
|
warn
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-SCZVYC5P.js";
|
|
32
32
|
import {
|
|
33
33
|
CHANNEL_REGISTRY,
|
|
34
34
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
renderTemplate,
|
|
55
55
|
resolveChannels,
|
|
56
56
|
serializeManifestForSlackCli
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-PDDU4Z5V.js";
|
|
58
58
|
|
|
59
59
|
// src/bin/agt.ts
|
|
60
60
|
import { join as join20 } from "path";
|
|
@@ -4934,7 +4934,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4934
4934
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4935
4935
|
import chalk18 from "chalk";
|
|
4936
4936
|
import ora16 from "ora";
|
|
4937
|
-
var cliVersion = true ? "0.27.
|
|
4937
|
+
var cliVersion = true ? "0.27.138" : "dev";
|
|
4938
4938
|
async function fetchLatestVersion() {
|
|
4939
4939
|
const host2 = getHost();
|
|
4940
4940
|
if (!host2) return null;
|
|
@@ -5857,7 +5857,7 @@ function handleError(err) {
|
|
|
5857
5857
|
}
|
|
5858
5858
|
|
|
5859
5859
|
// src/bin/agt.ts
|
|
5860
|
-
var cliVersion2 = true ? "0.27.
|
|
5860
|
+
var cliVersion2 = true ? "0.27.138" : "dev";
|
|
5861
5861
|
var program = new Command();
|
|
5862
5862
|
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");
|
|
5863
5863
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -847,17 +847,20 @@ function generateSlackAppManifest(input) {
|
|
|
847
847
|
// ENG-5150: also register /restart. The slash_commands envelope handler
|
|
848
848
|
// in packages/mcp/src/slack-channel.ts already routes it; without the
|
|
849
849
|
// manifest entry Slack treats typed `/restart` as a plain message and
|
|
850
|
-
// posts it to the channel before the bot can intercept it.
|
|
851
|
-
//
|
|
852
|
-
//
|
|
853
|
-
//
|
|
850
|
+
// posts it to the channel before the bot can intercept it.
|
|
851
|
+
//
|
|
852
|
+
// ENG-6233: bare `/help` can't be registered — Slack reserves it as a
|
|
853
|
+
// built-in global command — so we register the per-agent `/help-<code>`
|
|
854
|
+
// instead (a non-reserved name) to get `/`-autocomplete discovery. The
|
|
855
|
+
// message-intercept fallback in slack-channel.ts still handles a typed
|
|
856
|
+
// bare `/help` for muscle memory.
|
|
854
857
|
//
|
|
855
858
|
// ENG-6044: the per-agent commands carry the agent code-name suffix
|
|
856
|
-
// (/
|
|
859
|
+
// (/status-don, /help-don) so multiple agents in one workspace don't
|
|
857
860
|
// register colliding names; /kill + /unkill stay generic
|
|
858
861
|
// (thread-wide semantics). /debug is renamed /investigate-<code-name>
|
|
859
862
|
// in the same move; the envelope handler still routes legacy names
|
|
860
|
-
// during migration.
|
|
863
|
+
// (including the pre-ENG-6233 /agent-status-<code>) during migration.
|
|
861
864
|
...slash_command_url && scopes.includes("commands") ? {
|
|
862
865
|
slash_commands: [
|
|
863
866
|
{
|
|
@@ -875,11 +878,25 @@ function generateSlackAppManifest(input) {
|
|
|
875
878
|
should_escape: false
|
|
876
879
|
},
|
|
877
880
|
{
|
|
878
|
-
command: agentSlashCommand("/
|
|
881
|
+
command: agentSlashCommand("/status", agent_code_name),
|
|
879
882
|
url: slash_command_url,
|
|
880
|
-
description: "
|
|
883
|
+
description: "This agent's model, session origin, uptime + connectivity.",
|
|
881
884
|
should_escape: false
|
|
882
885
|
},
|
|
886
|
+
// ENG-6233: per-agent /help-<code>. Bare `/help` is Slack-reserved,
|
|
887
|
+
// so register ONLY when a valid code name actually suffixes it
|
|
888
|
+
// (agentSlashCommand returns the bare base when it can't suffix —
|
|
889
|
+
// no code name, non-kebab, or over the 32-char limit). The typed
|
|
890
|
+
// bare-`/help` message-intercept in slack-channel.ts covers the
|
|
891
|
+
// unsuffixed case.
|
|
892
|
+
...agentSlashCommand("/help", agent_code_name) !== "/help" ? [
|
|
893
|
+
{
|
|
894
|
+
command: agentSlashCommand("/help", agent_code_name),
|
|
895
|
+
url: slash_command_url,
|
|
896
|
+
description: "List this agent\u2019s available commands.",
|
|
897
|
+
should_escape: false
|
|
898
|
+
}
|
|
899
|
+
] : [],
|
|
883
900
|
{
|
|
884
901
|
command: agentSlashCommand("/restart", agent_code_name),
|
|
885
902
|
url: slash_command_url,
|
|
@@ -4727,4 +4744,4 @@ export {
|
|
|
4727
4744
|
attributeTranscriptUsageByRun,
|
|
4728
4745
|
KANBAN_CHECK_COMMAND
|
|
4729
4746
|
};
|
|
4730
|
-
//# sourceMappingURL=chunk-
|
|
4747
|
+
//# sourceMappingURL=chunk-PDDU4Z5V.js.map
|