@integrity-labs/agt-cli 0.27.50 → 0.27.51

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 CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  success,
28
28
  table,
29
29
  warn
30
- } from "../chunk-RMYQBP26.js";
30
+ } from "../chunk-Y4KVZGPE.js";
31
31
  import {
32
32
  CHANNEL_REGISTRY,
33
33
  DEPLOYMENT_TEMPLATES,
@@ -4710,7 +4710,7 @@ import { execFileSync, execSync } from "child_process";
4710
4710
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4711
4711
  import chalk18 from "chalk";
4712
4712
  import ora16 from "ora";
4713
- var cliVersion = true ? "0.27.50" : "dev";
4713
+ var cliVersion = true ? "0.27.51" : "dev";
4714
4714
  async function fetchLatestVersion() {
4715
4715
  const host2 = getHost();
4716
4716
  if (!host2) return null;
@@ -5488,7 +5488,7 @@ function handleError(err) {
5488
5488
  }
5489
5489
 
5490
5490
  // src/bin/agt.ts
5491
- var cliVersion2 = true ? "0.27.50" : "dev";
5491
+ var cliVersion2 = true ? "0.27.51" : "dev";
5492
5492
  var program = new Command();
5493
5493
  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");
5494
5494
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -3096,6 +3096,31 @@ If the work turns out to be unexpectedly slow after you started inline,
3096
3096
  finish the current sub-step, then dispatch the rest. Don't apologise for
3097
3097
  mid-task switching \u2014 operators care about responsiveness, not consistency.
3098
3098
 
3099
+ ## Background dispatch for non-channel work
3100
+
3101
+ For background tool work that **isn't** a channel reply \u2014 multi-step data
3102
+ pulls, CRM enrichments, research workflows, cross-MCP orchestration \u2014 use
3103
+ \`subagent_type: general-purpose\` (Anthropic's built-in). It inherits the
3104
+ full MCP tool surface from this session and reliably binds every
3105
+ \`mcp__*\` server you have available.
3106
+
3107
+ **Why not \`augmented-worker\` for now:** there is an upstream Claude Code
3108
+ bug ([anthropics/claude-code#64909](https://github.com/anthropics/claude-code/issues/64909))
3109
+ where sub-agents with an explicit \`tools:\` allowlist get an empty MCP
3110
+ tool registry \u2014 every \`mcp__*\` call returns "No such tool available."
3111
+ \`general-purpose\` uses \`tools: *\` (inherit-all) and escapes the bug.
3112
+ Once Anthropic ships the fix, \`augmented-worker\` becomes preferred again
3113
+ (restricted tool surface for safety + working MCP binding); the dispatch
3114
+ recommendation here will flip back automatically.
3115
+
3116
+ The channel-message triage above is **not** changed by this note \u2014 slow
3117
+ channel replies still dispatch via \`channel-message-handler\` per
3118
+ \xA7 FIRST ACTION. Be aware that \`channel-message-handler\` shares the
3119
+ explicit-allowlist shape and so is subject to the same upstream bug; if
3120
+ you observe a dispatched channel reply silently failing to land,
3121
+ acknowledge the original message inline yourself and surface the gap
3122
+ rather than attempting another sub-agent dispatch.
3123
+
3099
3124
  ${activeTasksSection}${personalitySection}## Identity
3100
3125
 
3101
3126
  - Code Name: ${frontmatter.code_name}
@@ -4552,7 +4577,7 @@ If a capability seems missing, **check first** \u2014 run the CLI, list tools (\
4552
4577
  `;
4553
4578
  return `---
4554
4579
  name: augmented-worker
4555
- description: General-purpose background worker for multi-step tool tasks the parent doesn't want to inline (data pulls, multi-API workflows, CRM enrichments, research that needs MCP tools). Has explicit access to every \`mcp__*\` server the parent has wired. Use this \u2014 not \`general-purpose\` and not the read-only researcher/reviewer subagents from other plugins \u2014 whenever the work requires calling MCP tools (e.g. \`mcp__granola__*\`, \`mcp__composio_attio__*\`, \`mcp__slack-channel__*\`, \`mcp__augmented__*\`). Many community subagents declare restrictive \`tools:\` allowlists that exclude MCP tools, so dispatching to them will silently produce "No such tool available." failures and force unsafe fallback paths (reading raw secrets from \`.mcp.json\`, bypassing the Credential Access Control guardrail).
4580
+ description: Background worker for multi-step tool tasks the parent doesn't want to inline (data pulls, multi-API workflows, CRM enrichments, research that needs MCP tools). Carries an explicit \`mcp__*\` wildcard allowlist for every server the parent has wired. **Until [anthropics/claude-code#64909](https://github.com/anthropics/claude-code/issues/64909) ships an upstream fix, prefer \`subagent_type: general-purpose\` for MCP-tool dispatch** \u2014 the bug is in Claude Code's sub-agent dispatch path: sub-agents with an explicit \`tools:\` allowlist get an empty MCP tool registry (every \`mcp__*\` call returns "No such tool available."), while \`general-purpose\` (\`tools: *\` inherit-all) correctly binds the full MCP surface. This subagent's allowlist is correct and will work the moment Anthropic lands the fix; until then it is retained for the eventual structural fix and the rare case where you specifically need a restricted tool surface AND can accept the MCP gap. See [[ENG-5938]] for the workaround tracker.
4556
4581
  background: true
4557
4582
  tools: ${tools}
4558
4583
  ---
@@ -7122,4 +7147,4 @@ export {
7122
7147
  managerInstallSystemUnitCommand,
7123
7148
  managerUninstallSystemUnitCommand
7124
7149
  };
7125
- //# sourceMappingURL=chunk-RMYQBP26.js.map
7150
+ //# sourceMappingURL=chunk-Y4KVZGPE.js.map