@integrity-labs/agt-cli 0.27.51 → 0.27.53
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-UOHGOS3O.js → chunk-2NOH5XB5.js} +13 -1
- package/dist/chunk-2NOH5XB5.js.map +1 -0
- package/dist/{chunk-5S322IC7.js → chunk-4ZKBMJ3Y.js} +2 -2
- package/dist/{chunk-Y4KVZGPE.js → chunk-GPBGRRCV.js} +50 -34
- package/dist/chunk-GPBGRRCV.js.map +1 -0
- package/dist/{claude-pair-runtime-PZBLMYVH.js → claude-pair-runtime-OOVDC4YK.js} +2 -2
- package/dist/lib/manager-worker.js +442 -198
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-JRF3JXTC.js → persistent-session-6TWTADQN.js} +3 -3
- package/dist/{responsiveness-probe-JZLGWZFN.js → responsiveness-probe-KBUKS7PN.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-UOHGOS3O.js.map +0 -1
- package/dist/chunk-Y4KVZGPE.js.map +0 -1
- /package/dist/{chunk-5S322IC7.js.map → chunk-4ZKBMJ3Y.js.map} +0 -0
- /package/dist/{claude-pair-runtime-PZBLMYVH.js.map → claude-pair-runtime-OOVDC4YK.js.map} +0 -0
- /package/dist/{persistent-session-JRF3JXTC.js.map → persistent-session-6TWTADQN.js.map} +0 -0
- /package/dist/{responsiveness-probe-JZLGWZFN.js.map → responsiveness-probe-KBUKS7PN.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeModelAlias,
|
|
3
3
|
isClaudeFastMode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2NOH5XB5.js";
|
|
5
5
|
import {
|
|
6
6
|
reapOrphanChannelMcps
|
|
7
7
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -1125,4 +1125,4 @@ export {
|
|
|
1125
1125
|
stopAllSessionsAndWait,
|
|
1126
1126
|
getProjectDir
|
|
1127
1127
|
};
|
|
1128
|
-
//# sourceMappingURL=chunk-
|
|
1128
|
+
//# sourceMappingURL=chunk-4ZKBMJ3Y.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseDeliveryTarget,
|
|
10
10
|
registerFramework,
|
|
11
11
|
wrapScheduledTaskPrompt
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2NOH5XB5.js";
|
|
13
13
|
|
|
14
14
|
// ../../packages/core/dist/integrations/registry.js
|
|
15
15
|
var INTEGRATION_REGISTRY = [
|
|
@@ -3068,33 +3068,46 @@ acknowledge before you start.
|
|
|
3068
3068
|
- **FAST (< 60s):** handle inline. Reply via the channel tool
|
|
3069
3069
|
(slack.reply / telegram.reply / directchat.reply) and end your turn.
|
|
3070
3070
|
|
|
3071
|
-
- **SLOW (\u2265 60s):**
|
|
3071
|
+
- **SLOW (\u2265 60s):** acknowledge first, then handle inline.
|
|
3072
3072
|
1. Send a one-line acknowledgement via the channel tool \u2014 short, warm,
|
|
3073
3073
|
and tell the user you'll come back. Example shape (don't copy verbatim,
|
|
3074
3074
|
match your voice): "On it \u2014 this'll take a minute or two, I'll ping
|
|
3075
3075
|
when it's done."
|
|
3076
|
-
2.
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3076
|
+
2. Do the work yourself in this same session. Use whatever tools you
|
|
3077
|
+
need (MCP, skills, file reads, etc.) \u2014 your parent session has the
|
|
3078
|
+
full MCP surface bound.
|
|
3079
|
+
3. Reply with the result via the channel tool (\`slack.reply\` /
|
|
3080
|
+
\`telegram.reply\` / \`directchat.reply\`), addressing the same thread
|
|
3081
|
+
/ chat / conversation you acknowledged in step 1.
|
|
3082
|
+
|
|
3083
|
+
> **Why inline and not sub-agent dispatch right now:** there is an
|
|
3084
|
+
> upstream Claude Code bug
|
|
3085
|
+
> ([anthropics/claude-code#64909](https://github.com/anthropics/claude-code/issues/64909))
|
|
3086
|
+
> where sub-agents dispatched via the Task tool with an explicit
|
|
3087
|
+
> \`tools:\` allowlist (which is the shape \`channel-message-handler\`
|
|
3088
|
+
> uses) get an **empty MCP tool registry** \u2014 every \`mcp__*\` call
|
|
3089
|
+
> returns "No such tool available", including the channel reply tools.
|
|
3090
|
+
> Dispatching a slow channel reply to \`channel-message-handler\` will
|
|
3091
|
+
> therefore silently fail to land: you'd post the one-line ack, the
|
|
3092
|
+
> sub-agent would do the analysis fine, but its \`slack.reply\` call
|
|
3093
|
+
> would error and the user would never see the substantive reply.
|
|
3094
|
+
> Empirically confirmed 2026-06-03 with a 6-tool probe: 0/6 MCP tools
|
|
3095
|
+
> bound inside \`channel-message-handler\`. Until Anthropic ships the
|
|
3096
|
+
> fix, handling slow channel replies inline is the only working path.
|
|
3097
|
+
|
|
3098
|
+
**Why this triage decision still matters more than any other instruction
|
|
3099
|
+
below:** if you skip the acknowledgement and just dive into slow work
|
|
3100
|
+
silently, operators send follow-up messages that queue behind you
|
|
3101
|
+
wondering whether you got the original. The ack-first-then-work pattern
|
|
3102
|
+
keeps users oriented. The kanban-tracking-link convention,
|
|
3103
|
+
work-management "create a task" guidance, and Slack reply patterns ALL
|
|
3104
|
+
apply to whatever you post \u2014 the ack and the eventual full reply alike.
|
|
3105
|
+
|
|
3106
|
+
If the work turns out to be unexpectedly slow after you started inline
|
|
3107
|
+
without acknowledging (because you thought it was a FAST request), post
|
|
3108
|
+
a quick "this is taking longer than I expected, still working" line
|
|
3109
|
+
rather than going silent. Operators care about responsiveness, not
|
|
3110
|
+
consistency.
|
|
3098
3111
|
|
|
3099
3112
|
## Background dispatch for non-channel work
|
|
3100
3113
|
|
|
@@ -3113,13 +3126,14 @@ Once Anthropic ships the fix, \`augmented-worker\` becomes preferred again
|
|
|
3113
3126
|
(restricted tool surface for safety + working MCP binding); the dispatch
|
|
3114
3127
|
recommendation here will flip back automatically.
|
|
3115
3128
|
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3129
|
+
For slow **channel** replies, see \xA7 FIRST ACTION above \u2014 those are
|
|
3130
|
+
currently handled inline (not dispatched) because \`channel-message-handler\`
|
|
3131
|
+
shares the explicit-allowlist shape and so suffers the same upstream
|
|
3132
|
+
bug. Empirically confirmed 2026-06-03 on agt-aws-1 with a 6-tool probe:
|
|
3133
|
+
0/6 MCP tools bound inside \`channel-message-handler\` (matching the
|
|
3134
|
+
\`augmented-worker\` result). When Anthropic ships the upstream fix, both
|
|
3135
|
+
named sub-agents will work again and the FIRST ACTION triage will switch
|
|
3136
|
+
back to dispatch.
|
|
3123
3137
|
|
|
3124
3138
|
${activeTasksSection}${personalitySection}## Identity
|
|
3125
3139
|
|
|
@@ -3149,8 +3163,10 @@ ${resolvedChannels?.includes("slack") ? `
|
|
|
3149
3163
|
|
|
3150
3164
|
You have a Slack MCP server connected. **First, see \xA7 FIRST ACTION on
|
|
3151
3165
|
every channel message: triage** at the top of this document \u2014 decide
|
|
3152
|
-
fast vs slow before anything else,
|
|
3153
|
-
|
|
3166
|
+
fast vs slow before anything else, then acknowledge inline before
|
|
3167
|
+
diving into slow work (sub-agent dispatch for channel replies is
|
|
3168
|
+
currently disabled due to an upstream Claude Code bug; see the FIRST
|
|
3169
|
+
ACTION section for the full rationale).
|
|
3154
3170
|
|
|
3155
3171
|
For fast requests, respond directly in the conversation. You can also
|
|
3156
3172
|
proactively use:
|
|
@@ -7147,4 +7163,4 @@ export {
|
|
|
7147
7163
|
managerInstallSystemUnitCommand,
|
|
7148
7164
|
managerUninstallSystemUnitCommand
|
|
7149
7165
|
};
|
|
7150
|
-
//# sourceMappingURL=chunk-
|
|
7166
|
+
//# sourceMappingURL=chunk-GPBGRRCV.js.map
|