@integrity-labs/agt-cli 0.28.785 → 0.28.787

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
@@ -40,12 +40,12 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-7DP5AYK4.js";
43
+ } from "../chunk-IEBDDVAG.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-P4HONWYQ.js";
48
+ } from "../chunk-EXCWZPDJ.js";
49
49
  import {
50
50
  AnchorSessionClient,
51
51
  CHANNEL_REGISTRY,
@@ -79,7 +79,7 @@ import {
79
79
  serializeManifestForSlackCli,
80
80
  sessionFileExists,
81
81
  sessionTranscriptDir
82
- } from "../chunk-WAE44B3T.js";
82
+ } from "../chunk-LLDK74IY.js";
83
83
  import "../chunk-XWVM4KPK.js";
84
84
 
85
85
  // src/bin/agt.ts
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
5467
5467
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5468
5468
  import chalk18 from "chalk";
5469
5469
  import ora16 from "ora";
5470
- var cliVersion = true ? "0.28.785" : "dev";
5470
+ var cliVersion = true ? "0.28.787" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6658,7 +6658,7 @@ function handleError(err) {
6658
6658
  }
6659
6659
 
6660
6660
  // src/bin/agt.ts
6661
- var cliVersion2 = true ? "0.28.785" : "dev";
6661
+ var cliVersion2 = true ? "0.28.787" : "dev";
6662
6662
  var program = new Command();
6663
6663
  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");
6664
6664
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -18,7 +18,7 @@ import {
18
18
  rotateDailySession,
19
19
  sessionFileExists,
20
20
  todayLocalIso
21
- } from "./chunk-WAE44B3T.js";
21
+ } from "./chunk-LLDK74IY.js";
22
22
  import {
23
23
  reapOrphanChannelMcps
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5141,4 +5141,4 @@ export {
5141
5141
  stopAllSessionsAndWait,
5142
5142
  getProjectDir
5143
5143
  };
5144
- //# sourceMappingURL=chunk-P4HONWYQ.js.map
5144
+ //# sourceMappingURL=chunk-EXCWZPDJ.js.map
@@ -14,7 +14,7 @@ import {
14
14
  parseEnvFileEntries,
15
15
  parseEnvIntegrations,
16
16
  shellQuote
17
- } from "./chunk-P4HONWYQ.js";
17
+ } from "./chunk-EXCWZPDJ.js";
18
18
  import {
19
19
  BIND_FAILURE_QUARANTINE_THRESHOLD,
20
20
  INTEGRATIONS_SECTION_END,
@@ -66,7 +66,7 @@ import {
66
66
  sessionTranscriptDir,
67
67
  worseConnectivityOutcome,
68
68
  wrapScheduledTaskPrompt
69
- } from "./chunk-WAE44B3T.js";
69
+ } from "./chunk-LLDK74IY.js";
70
70
  import {
71
71
  parsePsRows
72
72
  } from "./chunk-XWVM4KPK.js";
@@ -6518,7 +6518,7 @@ function exchangeFailureKind(err) {
6518
6518
  }
6519
6519
 
6520
6520
  // src/lib/api-client.ts
6521
- var agtCliVersion = true ? "0.28.785" : "dev";
6521
+ var agtCliVersion = true ? "0.28.787" : "dev";
6522
6522
  var lastConfigHash = null;
6523
6523
  function setConfigHash(hash) {
6524
6524
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10755,4 +10755,4 @@ export {
10755
10755
  managerInstallSystemUnitCommand,
10756
10756
  managerUninstallSystemUnitCommand
10757
10757
  };
10758
- //# sourceMappingURL=chunk-7DP5AYK4.js.map
10758
+ //# sourceMappingURL=chunk-IEBDDVAG.js.map
@@ -1140,16 +1140,9 @@ MCP server this session has wired, so it gets the tool surface the task needs an
1140
1140
  no more. Reach for \`general-purpose\` (\`tools: *\`, inherit-all) only when you
1141
1141
  genuinely need something outside that allowlist.
1142
1142
 
1143
- **Historical note \u2014 do not reintroduce the old workaround.** An upstream Claude Code
1144
- bug ([anthropics/claude-code#64909](https://github.com/anthropics/claude-code/issues/64909))
1145
- used to hand sub-agents with an explicit \`tools:\` allowlist an empty MCP registry:
1146
- every \`mcp__*\` call returned "No such tool available". That is why this section
1147
- once steered all dispatch to \`general-purpose\` and why slow channel replies were
1148
- handled inline. Anthropic fixed it in **v2.1.163** \u2014 \`mcp__<server>__*\` wildcards in
1149
- sub-agent \`tools:\` frontmatter now expand to the matching MCP tools instead of
1150
- failing an exact-name lookup. Re-verified 2026-07-29 on 2.1.220: a
1151
- \`channel-message-handler\` dispatch reached 469 \`mcp__*\` tools across four servers
1152
- with zero "No such tool available".
1143
+ **Do not reintroduce the old \`general-purpose\` workaround.** It existed for an
1144
+ upstream bug ([anthropics/claude-code#64909]) that Anthropic **fixed in v2.1.163**;
1145
+ sub-agent \`tools:\` wildcards bind MCP tools correctly now.
1153
1146
 
1154
1147
  For slow **channel** replies see \xA7 FIRST ACTION \u2014 dispatch to
1155
1148
  \`channel-message-handler\`, which binds the same full MCP surface and posts the
@@ -1415,6 +1408,19 @@ The marginal cost of completeness is near zero \u2014 do the whole thing.
1415
1408
  - **Search before building. Test before shipping.**
1416
1409
  - **No excuses.** Time, fatigue, and complexity aren't reasons to deliver less.
1417
1410
 
1411
+ ## A question is not an instruction
1412
+
1413
+ Before any **irreversible, externally-visible** action \u2014 email outside the team,
1414
+ a public post, moving money \u2014 check the shape of the request.
1415
+
1416
+ **If the request was a question, answer it. Do not perform the action.** "Have
1417
+ we sent it?" asks about the past: answer it, then offer to draft. If the request
1418
+ is ambiguous, draft and ask.
1419
+
1420
+ **This is about the sentence, not your confidence:** you will always feel sure.
1421
+
1422
+ Reversible and internal actions stay liberal \u2014 draft, edit, open a PR.
1423
+
1418
1424
  ## Rules
1419
1425
 
1420
1426
  - Never expose secrets or API keys in output.
@@ -13521,4 +13527,4 @@ export {
13521
13527
  peekCurrentSession,
13522
13528
  readDailySessionPin
13523
13529
  };
13524
- //# sourceMappingURL=chunk-WAE44B3T.js.map
13530
+ //# sourceMappingURL=chunk-LLDK74IY.js.map