@integrity-labs/agt-cli 0.27.89 → 0.27.90
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 +9 -5
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-TXIJLXOY.js → chunk-4MZWINDQ.js} +2 -2
- package/dist/{chunk-DDRAMRK3.js → chunk-BGXIKCLR.js} +2 -2
- package/dist/{chunk-XA3C3ZSH.js → chunk-T2UTQH6W.js} +23 -5
- package/dist/chunk-T2UTQH6W.js.map +1 -0
- package/dist/{claude-pair-runtime-OURIEGW6.js → claude-pair-runtime-XCZUY66M.js} +2 -2
- package/dist/lib/manager-worker.js +7 -7
- package/dist/mcp/slack-channel.js +29 -14
- package/dist/{persistent-session-HYJOPURH.js → persistent-session-BMP74QGP.js} +3 -3
- package/dist/{responsiveness-probe-522ZBE5Q.js → responsiveness-probe-AFOPQEFX.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-XA3C3ZSH.js.map +0 -1
- /package/dist/{chunk-TXIJLXOY.js.map → chunk-4MZWINDQ.js.map} +0 -0
- /package/dist/{chunk-DDRAMRK3.js.map → chunk-BGXIKCLR.js.map} +0 -0
- /package/dist/{claude-pair-runtime-OURIEGW6.js.map → claude-pair-runtime-XCZUY66M.js.map} +0 -0
- /package/dist/{persistent-session-HYJOPURH.js.map → persistent-session-BMP74QGP.js.map} +0 -0
- /package/dist/{responsiveness-probe-522ZBE5Q.js.map → responsiveness-probe-AFOPQEFX.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeModelAlias,
|
|
3
3
|
isClaudeFastMode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-T2UTQH6W.js";
|
|
5
5
|
import {
|
|
6
6
|
reapOrphanChannelMcps
|
|
7
7
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1528,4 +1528,4 @@ export {
|
|
|
1528
1528
|
stopAllSessionsAndWait,
|
|
1529
1529
|
getProjectDir
|
|
1530
1530
|
};
|
|
1531
|
-
//# sourceMappingURL=chunk-
|
|
1531
|
+
//# sourceMappingURL=chunk-4MZWINDQ.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseDeliveryTarget,
|
|
10
10
|
registerFramework,
|
|
11
11
|
wrapScheduledTaskPrompt
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-T2UTQH6W.js";
|
|
13
13
|
|
|
14
14
|
// ../../packages/core/dist/integrations/registry.js
|
|
15
15
|
var INTEGRATION_REGISTRY = [
|
|
@@ -7564,4 +7564,4 @@ export {
|
|
|
7564
7564
|
managerInstallSystemUnitCommand,
|
|
7565
7565
|
managerUninstallSystemUnitCommand
|
|
7566
7566
|
};
|
|
7567
|
-
//# sourceMappingURL=chunk-
|
|
7567
|
+
//# sourceMappingURL=chunk-BGXIKCLR.js.map
|
|
@@ -783,6 +783,16 @@ var SLACK_SCOPE_PRESETS = {
|
|
|
783
783
|
};
|
|
784
784
|
|
|
785
785
|
// ../../packages/core/dist/channels/slack-manifest.js
|
|
786
|
+
var SLACK_COMMAND_MAX_LENGTH = 32;
|
|
787
|
+
function agentSlashCommand(base, codeName) {
|
|
788
|
+
if (!codeName)
|
|
789
|
+
return base;
|
|
790
|
+
const slug = codeName.trim().toLowerCase();
|
|
791
|
+
if (!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(slug))
|
|
792
|
+
return base;
|
|
793
|
+
const suffixed = `${base}-${slug}`;
|
|
794
|
+
return suffixed.length > SLACK_COMMAND_MAX_LENGTH ? base : suffixed;
|
|
795
|
+
}
|
|
786
796
|
var SCOPE_TO_EVENTS = {
|
|
787
797
|
"app_mentions:read": ["app_mention"],
|
|
788
798
|
"assistant:write": ["assistant_thread_started"],
|
|
@@ -800,7 +810,7 @@ var SCOPE_TO_EVENTS = {
|
|
|
800
810
|
"metadata.message:read": ["message_metadata_posted"]
|
|
801
811
|
};
|
|
802
812
|
function generateSlackAppManifest(input) {
|
|
803
|
-
const { agent_name, description, long_description, scopes, socket_mode = true, redirect_urls, interactivity_request_url, slash_command_url } = input;
|
|
813
|
+
const { agent_name, description, long_description, scopes, socket_mode = true, redirect_urls, interactivity_request_url, slash_command_url, agent_code_name } = input;
|
|
804
814
|
const botDisplayName = agent_name.length > 35 ? agent_name.slice(0, 35) : agent_name;
|
|
805
815
|
const botEvents = /* @__PURE__ */ new Set();
|
|
806
816
|
for (const scope of scopes) {
|
|
@@ -839,6 +849,13 @@ function generateSlackAppManifest(input) {
|
|
|
839
849
|
// intentionally NOT registered here — Slack reserves `/help` as a
|
|
840
850
|
// built-in global command, so app-level registration is unreliable.
|
|
841
851
|
// The message-intercept fallback in slack-channel.ts handles /help.
|
|
852
|
+
//
|
|
853
|
+
// ENG-6044: the per-agent commands carry the agent code-name suffix
|
|
854
|
+
// (/agent-status-don) so multiple agents in one workspace don't
|
|
855
|
+
// register colliding names; /kill + /unkill stay generic
|
|
856
|
+
// (thread-wide semantics). /debug is renamed /investigate-<code-name>
|
|
857
|
+
// in the same move; the envelope handler still routes legacy names
|
|
858
|
+
// during migration.
|
|
842
859
|
...slash_command_url && scopes.includes("commands") ? {
|
|
843
860
|
slash_commands: [
|
|
844
861
|
{
|
|
@@ -856,13 +873,13 @@ function generateSlackAppManifest(input) {
|
|
|
856
873
|
should_escape: false
|
|
857
874
|
},
|
|
858
875
|
{
|
|
859
|
-
command: "/agent-status",
|
|
876
|
+
command: agentSlashCommand("/agent-status", agent_code_name),
|
|
860
877
|
url: slash_command_url,
|
|
861
878
|
description: "Check whether this agent is online + last activity.",
|
|
862
879
|
should_escape: false
|
|
863
880
|
},
|
|
864
881
|
{
|
|
865
|
-
command: "/restart",
|
|
882
|
+
command: agentSlashCommand("/restart", agent_code_name),
|
|
866
883
|
url: slash_command_url,
|
|
867
884
|
description: "Restart this agent (allowlisted users only).",
|
|
868
885
|
should_escape: false
|
|
@@ -870,8 +887,9 @@ function generateSlackAppManifest(input) {
|
|
|
870
887
|
// ENG-6030: live pane tail. Routed by the slash_commands
|
|
871
888
|
// envelope handler in packages/mcp/src/slack-channel.ts;
|
|
872
889
|
// fail-closed (DM + non-empty SLACK_ALLOWED_USERS required).
|
|
890
|
+
// ENG-6044: renamed from /debug.
|
|
873
891
|
{
|
|
874
|
-
command: "/
|
|
892
|
+
command: agentSlashCommand("/investigate", agent_code_name),
|
|
875
893
|
url: slash_command_url,
|
|
876
894
|
description: "Live tail of this agent's terminal pane (DM only, allowlisted users).",
|
|
877
895
|
usage_hint: "invoke in a DM with the agent",
|
|
@@ -4241,4 +4259,4 @@ export {
|
|
|
4241
4259
|
attributeTranscriptUsageByRun,
|
|
4242
4260
|
KANBAN_CHECK_COMMAND
|
|
4243
4261
|
};
|
|
4244
|
-
//# sourceMappingURL=chunk-
|
|
4262
|
+
//# sourceMappingURL=chunk-T2UTQH6W.js.map
|