@integrity-labs/agt-cli 0.28.1270 → 0.28.1272

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 (35) hide show
  1. package/dist/{api-client-TPJBEIKR.js → api-client-NKQCPDDZ.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-HHDHYVLS.js → chunk-5J56SF6P.js} +2 -2
  4. package/dist/{chunk-YP7VUMM4.js → chunk-AIDGMBY5.js} +3 -3
  5. package/dist/{chunk-A22SKOQ4.js → chunk-H2CESPPE.js} +2 -2
  6. package/dist/{chunk-PVVFL73J.js → chunk-N6NICNIH.js} +5 -5
  7. package/dist/{chunk-SXQ6YCFR.js → chunk-QLNKB2E3.js} +3 -3
  8. package/dist/chunk-QLNKB2E3.js.map +1 -0
  9. package/dist/{chunk-CJFHB3HA.js → chunk-QOH2AE5I.js} +75 -15
  10. package/dist/chunk-QOH2AE5I.js.map +1 -0
  11. package/dist/{claude-code-updater-K6PENJ7A.js → claude-code-updater-NWNHKBJE.js} +3 -3
  12. package/dist/{claude-pair-runtime-NOVMDM62.js → claude-pair-runtime-EMBJDR4W.js} +3 -3
  13. package/dist/lib/manager-worker.js +30 -22
  14. package/dist/lib/manager-worker.js.map +1 -1
  15. package/dist/mcp/direct-chat-channel.js +60 -2
  16. package/dist/mcp/index.js +67 -5
  17. package/dist/mcp/origami.js +60 -2
  18. package/dist/mcp/slack-channel.js +60 -2
  19. package/dist/mcp/telegram-channel.js +60 -2
  20. package/dist/{persistent-session-SMMVQBRS.js → persistent-session-7VJJ4AD7.js} +4 -4
  21. package/dist/{responsiveness-probe-PX4FMO4H.js → responsiveness-probe-XGTPNCKO.js} +4 -4
  22. package/dist/{session-auth-dead-47D57WMA.js → session-auth-dead-4CCOVCU3.js} +3 -3
  23. package/package.json +1 -1
  24. package/dist/chunk-CJFHB3HA.js.map +0 -1
  25. package/dist/chunk-SXQ6YCFR.js.map +0 -1
  26. /package/dist/{api-client-TPJBEIKR.js.map → api-client-NKQCPDDZ.js.map} +0 -0
  27. /package/dist/{chunk-HHDHYVLS.js.map → chunk-5J56SF6P.js.map} +0 -0
  28. /package/dist/{chunk-YP7VUMM4.js.map → chunk-AIDGMBY5.js.map} +0 -0
  29. /package/dist/{chunk-A22SKOQ4.js.map → chunk-H2CESPPE.js.map} +0 -0
  30. /package/dist/{chunk-PVVFL73J.js.map → chunk-N6NICNIH.js.map} +0 -0
  31. /package/dist/{claude-code-updater-K6PENJ7A.js.map → claude-code-updater-NWNHKBJE.js.map} +0 -0
  32. /package/dist/{claude-pair-runtime-NOVMDM62.js.map → claude-pair-runtime-EMBJDR4W.js.map} +0 -0
  33. /package/dist/{persistent-session-SMMVQBRS.js.map → persistent-session-7VJJ4AD7.js.map} +0 -0
  34. /package/dist/{responsiveness-probe-PX4FMO4H.js.map → responsiveness-probe-XGTPNCKO.js.map} +0 -0
  35. /package/dist/{session-auth-dead-47D57WMA.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
  }
@@ -15795,6 +15800,48 @@ var SITE_LOGIN_COOKIES = Object.freeze([
15795
15800
  Object.freeze({ host: "twitter.com", cookies: Object.freeze(["auth_token"]) })
15796
15801
  ]);
15797
15802
 
15803
+ // ../../packages/core/dist/browserbase/page-actions.js
15804
+ var CDP_METHOD_ALLOWLIST = /* @__PURE__ */ new Set([
15805
+ "Target.getTargets",
15806
+ "Target.attachToTarget",
15807
+ "Target.getTargetInfo",
15808
+ "Page.enable",
15809
+ "Page.navigate",
15810
+ "Page.captureScreenshot",
15811
+ "Accessibility.getFullAXTree",
15812
+ "DOM.getDocument",
15813
+ "DOM.querySelector",
15814
+ "DOM.describeNode",
15815
+ "DOM.scrollIntoViewIfNeeded",
15816
+ "DOM.getBoxModel",
15817
+ "DOM.focus",
15818
+ "Input.dispatchMouseEvent",
15819
+ "Input.insertText",
15820
+ "Input.dispatchKeyEvent"
15821
+ ]);
15822
+ var ALLOWED_CDP_METHODS = Object.freeze([...CDP_METHOD_ALLOWLIST]);
15823
+ var VALUE_TESTING_PSEUDO_CLASSES = [
15824
+ "lang",
15825
+ "dir",
15826
+ "placeholder-shown",
15827
+ "valid",
15828
+ "invalid",
15829
+ "in-range",
15830
+ "out-of-range",
15831
+ "user-valid",
15832
+ "user-invalid",
15833
+ "blank",
15834
+ "autofill",
15835
+ "defined",
15836
+ "target",
15837
+ "visited",
15838
+ "local-link"
15839
+ ];
15840
+ function escapeRegExp(text) {
15841
+ return text.replace(/[\\^$.*+?()[\]{}|-]/g, "\\$&");
15842
+ }
15843
+ var VALUE_PSEUDO_RE = new RegExp(`:(?:-webkit-)?(?:${VALUE_TESTING_PSEUDO_CLASSES.map(escapeRegExp).join("|")})(?![a-zA-Z0-9-])`, "i");
15844
+
15798
15845
  // ../../packages/core/dist/anchor/types.js
15799
15846
  var ANCHOR_API_BASE_URL = "https://api.anchorbrowser.io/v1";
15800
15847
  var ANCHOR_API_KEY_HEADER = "anchor-api-key";
@@ -18587,6 +18634,18 @@ function buildGithubEvent(req, now = /* @__PURE__ */ new Date()) {
18587
18634
  meaningful: true
18588
18635
  };
18589
18636
  }
18637
+ var IGNORED_NAME = /^[a-z][a-z0-9_]{0,63}$/;
18638
+ function describeIgnoredGithubDelivery(req) {
18639
+ const event = header(req.headers, GITHUB_EVENT_HEADER);
18640
+ if (event === "ping")
18641
+ return null;
18642
+ if (!event || !IGNORED_NAME.test(event))
18643
+ return "(other)";
18644
+ const action = str(asDict(req.body)?.["action"]);
18645
+ if (action === null)
18646
+ return event;
18647
+ return IGNORED_NAME.test(action) ? `${event}/${action}` : `${event}/(other)`;
18648
+ }
18590
18649
  function validateGithubConfig(input) {
18591
18650
  const out = {};
18592
18651
  const textError = validateOperatorText(input, out);
@@ -18614,7 +18673,8 @@ var githubTriggerAdapter = {
18614
18673
  ingest(req) {
18615
18674
  const event = buildGithubEvent(req);
18616
18675
  return event ? [event] : [];
18617
- }
18676
+ },
18677
+ describeIgnored: describeIgnoredGithubDelivery
18618
18678
  };
18619
18679
  registerTriggerSource(githubTriggerAdapter);
18620
18680
 
@@ -18868,4 +18928,4 @@ export {
18868
18928
  HOST_ROTATE_KEY_CONFLICT,
18869
18929
  shouldMintReplacementKey
18870
18930
  };
18871
- //# sourceMappingURL=chunk-CJFHB3HA.js.map
18931
+ //# sourceMappingURL=chunk-QOH2AE5I.js.map