@integrity-labs/agt-cli 0.28.1271 → 0.28.1273

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.
Files changed (34) hide show
  1. package/dist/{api-client-QQQVVBVV.js → api-client-PENFPEFF.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-KOIQP6O7.js → chunk-3P3COJTT.js} +3 -3
  4. package/dist/{chunk-YLKRTJLF.js → chunk-3WRBN6EY.js} +5 -5
  5. package/dist/{chunk-GYXG7TDM.js → chunk-5J56SF6P.js} +2 -2
  6. package/dist/{chunk-53EZZXH7.js → chunk-H2CESPPE.js} +2 -2
  7. package/dist/{chunk-L52PEFTL.js → chunk-QLNKB2E3.js} +3 -3
  8. package/dist/chunk-QLNKB2E3.js.map +1 -0
  9. package/dist/{chunk-BRAGHYEI.js → chunk-QOH2AE5I.js} +19 -14
  10. package/dist/chunk-QOH2AE5I.js.map +1 -0
  11. package/dist/{claude-code-updater-RGOXKW5P.js → claude-code-updater-NWNHKBJE.js} +3 -3
  12. package/dist/{claude-pair-runtime-AMSKEBCU.js → claude-pair-runtime-EMBJDR4W.js} +3 -3
  13. package/dist/lib/manager-worker.js +21 -21
  14. package/dist/mcp/direct-chat-channel.js +4 -1
  15. package/dist/mcp/index.js +17 -8
  16. package/dist/mcp/origami.js +4 -1
  17. package/dist/mcp/slack-channel.js +4 -1
  18. package/dist/mcp/telegram-channel.js +4 -1
  19. package/dist/{persistent-session-UONCY6TG.js → persistent-session-7VJJ4AD7.js} +4 -4
  20. package/dist/{responsiveness-probe-NWKSHBG6.js → responsiveness-probe-XGTPNCKO.js} +4 -4
  21. package/dist/{session-auth-dead-ELTKKKEH.js → session-auth-dead-4CCOVCU3.js} +3 -3
  22. package/package.json +1 -1
  23. package/dist/chunk-BRAGHYEI.js.map +0 -1
  24. package/dist/chunk-L52PEFTL.js.map +0 -1
  25. /package/dist/{api-client-QQQVVBVV.js.map → api-client-PENFPEFF.js.map} +0 -0
  26. /package/dist/{chunk-KOIQP6O7.js.map → chunk-3P3COJTT.js.map} +0 -0
  27. /package/dist/{chunk-YLKRTJLF.js.map → chunk-3WRBN6EY.js.map} +0 -0
  28. /package/dist/{chunk-GYXG7TDM.js.map → chunk-5J56SF6P.js.map} +0 -0
  29. /package/dist/{chunk-53EZZXH7.js.map → chunk-H2CESPPE.js.map} +0 -0
  30. /package/dist/{claude-code-updater-RGOXKW5P.js.map → claude-code-updater-NWNHKBJE.js.map} +0 -0
  31. /package/dist/{claude-pair-runtime-AMSKEBCU.js.map → claude-pair-runtime-EMBJDR4W.js.map} +0 -0
  32. /package/dist/{persistent-session-UONCY6TG.js.map → persistent-session-7VJJ4AD7.js.map} +0 -0
  33. /package/dist/{responsiveness-probe-NWKSHBG6.js.map → responsiveness-probe-XGTPNCKO.js.map} +0 -0
  34. /package/dist/{session-auth-dead-ELTKKKEH.js.map → session-auth-dead-4CCOVCU3.js.map} +0 -0
@@ -1312,12 +1312,14 @@ var REQUIRE_APPROVAL_HOW = {
1312
1312
  ` with the request_id and act only once it is approved; if it is denied or expires, do`,
1313
1313
  ` not act, and tell the user. Never just say you are waiting for, or cannot reach, your`,
1314
1314
  ` manager without filing the request. If \`request_approval\` fails, say so and leave the`,
1315
- ` action undone.`
1315
+ ` action undone. If the action belongs to one of your kanban cards, pass its id as`,
1316
+ ` \`kanban_item_id\`: without it no card is parked.`
1316
1317
  ],
1317
1318
  warn: [
1318
1319
  ` When one of these actions is not clearly justified, ask rather than decline: call`,
1319
1320
  ` \`request_approval\` (it goes to your manager), end your turn, and act only once`,
1320
- ` \`check_approval\` says it is approved.`
1321
+ ` \`check_approval\` says it is approved. If it belongs to one of your kanban cards, pass`,
1322
+ ` its id as \`kanban_item_id\`: without it no card is parked.`
1321
1323
  ]
1322
1324
  };
1323
1325
  var REQUIRE_APPROVAL_DELETE_SCOPE = [
@@ -5775,6 +5777,9 @@ var NOTICE_KIND_AUDIENCE = {
5775
5777
  // "Your `<verb>` approval request (`<uuid>`) EXPIRED at …" — in the report,
5776
5778
  // uuid and all.
5777
5779
  approval_expired: "agent",
5780
+ // ENG-11774: the verdict on a request with no linked card to return. Second-person
5781
+ // instructions to the agent, carrying the request uuid.
5782
+ approval_decided: "agent",
5778
5783
  // ENG-11334: canvas.publish_public approved / denied / approved-but-not-applied.
5779
5784
  // Second-person instructions to the agent ("Tell the user...", "do not
5780
5785
  // republish"); the user learns the outcome from the agent, not this row.
@@ -6834,7 +6839,7 @@ var FLAG_REGISTRY = [
6834
6839
  },
6835
6840
  {
6836
6841
  key: "pending-inbound-tiered-page",
6837
- description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (warning) or 2 hours (critical), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
6842
+ description: "Unanswered-inbound tiered PAGE (ENG-9755): when ON, the responsiveness-probe route opens an `agent_pending_inbound` alert for an agent whose oldest reply-expecting inbound has gone unanswered 15 minutes (info: board only, never paged, ENG-12104) or 2 hours (critical, paged), re-raised on every probe and closed when the marker clears. Tiers decided by Sherlock 2026-11-08. Before this the only producer was the CloudWatch bridge at `info`, which alert-pager drops, so a 20-hour silent drop paged nobody. Defaults ON for the same reason as frozen-customer-waiting-page: the input (pending_inbound_oldest_age_seconds) has been measured since ENG-6017, and shipping it dark would leave the bug in place. Flip OFF from the admin Feature Flags page to disarm stage-wide: new pages stop at once, and pages ALREADY open are closed (as superseded) by the agent-paused reconciler sweep on its next tick, so disarming never strands an open page. No envVar (ENG-8303 / check-new-env-gates.sh).",
6838
6843
  flagType: "boolean",
6839
6844
  defaultValue: true
6840
6845
  },
@@ -10407,7 +10412,16 @@ import { stringify as stringifyYaml2 } from "yaml";
10407
10412
  function generateToolsMd(input) {
10408
10413
  const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
10409
10414
  const globalControls = {
10410
- default_network_policy: input.global_controls?.default_network_policy ?? "deny",
10415
+ // ENG-12085 (Brad, 16 Nov): `allow` by default, reversing ENG-11168's `deny`.
10416
+ // On Claude Code and opencode this field gates only the WebFetch tool
10417
+ // (claude-tools.ts webFetchDisallowedByNetworkPolicy, opencode config.ts),
10418
+ // never egress: Bash reaches the network either way, and the isolated-host
10419
+ // squid allowlist ignores this field (persistent-session.ts
10420
+ // buildEgressAllowlist). So `deny` withheld the governed route and left the
10421
+ // ungoverned one: agents fell back to `curl`, which puts raw, unextracted HTML
10422
+ // straight into context (CS-2542). An explicit value passed in still wins,
10423
+ // and a system_support concierge stays `deny` (support-agent.ts).
10424
+ default_network_policy: input.global_controls?.default_network_policy ?? (input.agent_kind === "system_support" ? "deny" : "allow"),
10411
10425
  default_timeout_ms: input.global_controls?.default_timeout_ms ?? 8e3,
10412
10426
  default_rate_limit_rpm: input.global_controls?.default_rate_limit_rpm ?? 60,
10413
10427
  default_retries: input.global_controls?.default_retries ?? 2,
@@ -11107,15 +11121,6 @@ function lintTools(content) {
11107
11121
  }
11108
11122
  }
11109
11123
  }
11110
- if (schemaResult.data.environment === "prod" && schemaResult.data.global_controls.default_network_policy === "allow") {
11111
- diagnostics.push({
11112
- file: "TOOLS.md",
11113
- code: "TOOLS.PROD.NETWORK_ALLOW",
11114
- path: "global_controls.default_network_policy",
11115
- severity: "warning",
11116
- message: "Production agents should use deny-by-default network policy"
11117
- });
11118
- }
11119
11124
  }
11120
11125
  return buildResult(diagnostics);
11121
11126
  }
@@ -18923,4 +18928,4 @@ export {
18923
18928
  HOST_ROTATE_KEY_CONFLICT,
18924
18929
  shouldMintReplacementKey
18925
18930
  };
18926
- //# sourceMappingURL=chunk-BRAGHYEI.js.map
18931
+ //# sourceMappingURL=chunk-QOH2AE5I.js.map