@integrity-labs/agt-cli 0.28.447 → 0.28.449
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-ZZX5YKRV.js → chunk-ESZRW7A3.js} +36 -28
- package/dist/chunk-ESZRW7A3.js.map +1 -0
- package/dist/{chunk-FUFWZKTD.js → chunk-MDD7H7EP.js} +4 -4
- package/dist/chunk-MDD7H7EP.js.map +1 -0
- package/dist/{claude-pair-runtime-QRPID3CT.js → claude-pair-runtime-RCH4LKDE.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/slack-channel.js +153 -120
- package/dist/{persistent-session-ZFYA3PVC.js → persistent-session-7HZXY56P.js} +2 -2
- package/dist/{responsiveness-probe-AKOCOY53.js → responsiveness-probe-AIA7ZEBW.js} +59 -2
- package/dist/responsiveness-probe-AIA7ZEBW.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-FUFWZKTD.js.map +0 -1
- package/dist/chunk-ZZX5YKRV.js.map +0 -1
- package/dist/responsiveness-probe-AKOCOY53.js.map +0 -1
- /package/dist/{claude-pair-runtime-QRPID3CT.js.map → claude-pair-runtime-RCH4LKDE.js.map} +0 -0
- /package/dist/{persistent-session-ZFYA3PVC.js.map → persistent-session-7HZXY56P.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-MDD7H7EP.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
requiredMcpWildcard,
|
|
72
72
|
resolveChannels,
|
|
73
73
|
serializeManifestForSlackCli
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-ESZRW7A3.js";
|
|
75
75
|
import "../chunk-XWVM4KPK.js";
|
|
76
76
|
|
|
77
77
|
// src/bin/agt.ts
|
|
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4830
4830
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4831
4831
|
import chalk18 from "chalk";
|
|
4832
4832
|
import ora16 from "ora";
|
|
4833
|
-
var cliVersion = true ? "0.28.
|
|
4833
|
+
var cliVersion = true ? "0.28.449" : "dev";
|
|
4834
4834
|
async function fetchLatestVersion() {
|
|
4835
4835
|
const host2 = getHost();
|
|
4836
4836
|
if (!host2) return null;
|
|
@@ -6002,7 +6002,7 @@ function handleError(err) {
|
|
|
6002
6002
|
}
|
|
6003
6003
|
|
|
6004
6004
|
// src/bin/agt.ts
|
|
6005
|
-
var cliVersion2 = true ? "0.28.
|
|
6005
|
+
var cliVersion2 = true ? "0.28.449" : "dev";
|
|
6006
6006
|
var program = new Command();
|
|
6007
6007
|
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");
|
|
6008
6008
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -3714,19 +3714,22 @@ acknowledge before you start.
|
|
|
3714
3714
|
|
|
3715
3715
|
- **FAST (< 60s):** handle inline. Reply via the channel tool and end your turn.
|
|
3716
3716
|
|
|
3717
|
-
- **SLOW (\u2265 60s):** acknowledge first, then handle inline.
|
|
3717
|
+
- **SLOW (\u2265 60s):** acknowledge first, then either dispatch or handle inline.
|
|
3718
3718
|
1. Send a one-line acknowledgement via the channel tool \u2014 short, warm, and tell
|
|
3719
3719
|
the user you'll come back. Shape (don't copy verbatim, match your voice):
|
|
3720
3720
|
"On it, this'll take a minute or two, I'll ping when it's done."
|
|
3721
|
-
2.
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
>
|
|
3721
|
+
2. Dispatch the work to the \`channel-message-handler\` sub-agent, passing the
|
|
3722
|
+
inbound's identifiers so it replies into the same thread / chat / conversation
|
|
3723
|
+
you acknowledged in step 1. It binds the full MCP surface and posts the reply
|
|
3724
|
+
itself, which keeps this listener turn free for new inbound.
|
|
3725
|
+
3. Handling it inline instead is fine, and often better when you are already deep
|
|
3726
|
+
in the relevant context or dispatch would cost more than the work. Either way,
|
|
3727
|
+
reply with the result via the channel tool in the same conversation.
|
|
3728
|
+
|
|
3729
|
+
> **Whoever does the work, the delivery rule still binds:** the reply exists only if
|
|
3730
|
+
> a channel reply tool was called. If you dispatch, the sub-agent owns that call \u2014 so
|
|
3731
|
+
> confirm it reported success, and if it came back without having replied, reply
|
|
3732
|
+
> yourself rather than assuming the user was answered.
|
|
3730
3733
|
|
|
3731
3734
|
Diving into slow work silently leaves operators wondering whether you got the
|
|
3732
3735
|
message. If a request you started as FAST turns out slow, post a quick "this is
|
|
@@ -3753,19 +3756,25 @@ check-in is itself evidence your earlier silence read as non-responsiveness.
|
|
|
3753
3756
|
|
|
3754
3757
|
For background tool work that **isn't** a channel reply \u2014 multi-step data pulls,
|
|
3755
3758
|
CRM enrichments, research workflows, cross-MCP orchestration \u2014 use
|
|
3756
|
-
\`subagent_type:
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3759
|
+
\`subagent_type: augmented-worker\`. It carries an explicit allowlist covering every
|
|
3760
|
+
MCP server this session has wired, so it gets the tool surface the task needs and
|
|
3761
|
+
no more. Reach for \`general-purpose\` (\`tools: *\`, inherit-all) only when you
|
|
3762
|
+
genuinely need something outside that allowlist.
|
|
3763
|
+
|
|
3764
|
+
**Historical note \u2014 do not reintroduce the old workaround.** An upstream Claude Code
|
|
3765
|
+
bug ([anthropics/claude-code#64909](https://github.com/anthropics/claude-code/issues/64909))
|
|
3766
|
+
used to hand sub-agents with an explicit \`tools:\` allowlist an empty MCP registry:
|
|
3767
|
+
every \`mcp__*\` call returned "No such tool available". That is why this section
|
|
3768
|
+
once steered all dispatch to \`general-purpose\` and why slow channel replies were
|
|
3769
|
+
handled inline. Anthropic fixed it in **v2.1.163** \u2014 \`mcp__<server>__*\` wildcards in
|
|
3770
|
+
sub-agent \`tools:\` frontmatter now expand to the matching MCP tools instead of
|
|
3771
|
+
failing an exact-name lookup. Re-verified 2026-07-29 on 2.1.220: a
|
|
3772
|
+
\`channel-message-handler\` dispatch reached 469 \`mcp__*\` tools across four servers
|
|
3773
|
+
with zero "No such tool available".
|
|
3774
|
+
|
|
3775
|
+
For slow **channel** replies see \xA7 FIRST ACTION \u2014 dispatch to
|
|
3776
|
+
\`channel-message-handler\`, which binds the same full MCP surface and posts the
|
|
3777
|
+
reply itself.
|
|
3769
3778
|
|
|
3770
3779
|
${activeTasksSection}${personalitySection}${writingStyleSection}## Identity
|
|
3771
3780
|
|
|
@@ -3789,10 +3798,9 @@ ${resolvedChannels?.includes("slack") ? `
|
|
|
3789
3798
|
## Slack
|
|
3790
3799
|
|
|
3791
3800
|
You have a Slack MCP server connected. **First, see
|
|
3792
|
-
\xA7 FIRST ACTION on every channel message: triage** \u2014 decide fast vs slow,
|
|
3793
|
-
acknowledge
|
|
3794
|
-
|
|
3795
|
-
Code bug; see FIRST ACTION for the rationale).
|
|
3801
|
+
\xA7 FIRST ACTION on every channel message: triage** \u2014 decide fast vs slow, and
|
|
3802
|
+
acknowledge before slow work (which you can then dispatch to
|
|
3803
|
+
\`channel-message-handler\` or handle inline; see FIRST ACTION).
|
|
3796
3804
|
|
|
3797
3805
|
For fast requests, reply with \`slack.reply\` (per the delivery rule in FIRST ACTION,
|
|
3798
3806
|
a plain-text turn does NOT reach Slack \u2014 only a \`slack.reply\` call does). Tools:
|
|
@@ -14395,4 +14403,4 @@ export {
|
|
|
14395
14403
|
stopAllSessionsAndWait,
|
|
14396
14404
|
getProjectDir
|
|
14397
14405
|
};
|
|
14398
|
-
//# sourceMappingURL=chunk-
|
|
14406
|
+
//# sourceMappingURL=chunk-ESZRW7A3.js.map
|