@integrity-labs/agt-cli 0.28.947 → 0.28.949

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 (31) hide show
  1. package/dist/bin/agt.js +6 -5
  2. package/dist/bin/agt.js.map +1 -1
  3. package/dist/{chunk-XN5MOKSV.js → chunk-A3T3WOC2.js} +28 -304
  4. package/dist/chunk-A3T3WOC2.js.map +1 -0
  5. package/dist/chunk-DHWNVVX4.js +319 -0
  6. package/dist/chunk-DHWNVVX4.js.map +1 -0
  7. package/dist/{chunk-YZ5HGHPG.js → chunk-JANAAFED.js} +36 -1
  8. package/dist/{chunk-YZ5HGHPG.js.map → chunk-JANAAFED.js.map} +1 -1
  9. package/dist/{chunk-372DZ2RQ.js → chunk-MTRJTGJL.js} +9 -7
  10. package/dist/{chunk-372DZ2RQ.js.map → chunk-MTRJTGJL.js.map} +1 -1
  11. package/dist/{claude-code-updater-4E5T2X3Z.js → claude-code-updater-NAHJ6O6C.js} +37 -3
  12. package/dist/claude-code-updater-NAHJ6O6C.js.map +1 -0
  13. package/dist/{claude-pair-runtime-7WHDU2KR.js → claude-pair-runtime-7JTAECL4.js} +64 -9
  14. package/dist/claude-pair-runtime-7JTAECL4.js.map +1 -0
  15. package/dist/lib/manager-worker.js +33 -19
  16. package/dist/lib/manager-worker.js.map +1 -1
  17. package/dist/mcp/direct-chat-channel.js +35 -0
  18. package/dist/mcp/index.js +35 -0
  19. package/dist/mcp/origami.js +35 -0
  20. package/dist/mcp/slack-channel.js +35 -0
  21. package/dist/mcp/telegram-channel.js +35 -0
  22. package/dist/{persistent-session-523F5U4H.js → persistent-session-VX26HP7Z.js} +4 -3
  23. package/dist/{responsiveness-probe-CHGET573.js → responsiveness-probe-5LUHQCKN.js} +4 -3
  24. package/dist/{responsiveness-probe-CHGET573.js.map → responsiveness-probe-5LUHQCKN.js.map} +1 -1
  25. package/dist/{session-auth-dead-T5SUK2HT.js → session-auth-dead-2WOMHFPP.js} +2 -2
  26. package/package.json +1 -1
  27. package/dist/chunk-XN5MOKSV.js.map +0 -1
  28. package/dist/claude-code-updater-4E5T2X3Z.js.map +0 -1
  29. package/dist/claude-pair-runtime-7WHDU2KR.js.map +0 -1
  30. /package/dist/{persistent-session-523F5U4H.js.map → persistent-session-VX26HP7Z.js.map} +0 -0
  31. /package/dist/{session-auth-dead-T5SUK2HT.js.map → session-auth-dead-2WOMHFPP.js.map} +0 -0
@@ -38072,7 +38072,42 @@ var FLAG_REGISTRY = [
38072
38072
  // Deliberately NOT public. The browser has no decision to make here; the
38073
38073
  // consumers are the host payload that builds `input.integrations` and the
38074
38074
  // grant route that refuses to install the row while the flag is off.
38075
+ },
38076
+ {
38077
+ key: "ip-allowlist-enforce-admin-debug",
38078
+ description: "ENG-10594 - whether the IP allowlist on the admin-debug surface (/admin/debug/*, including the deliberately unauthenticated POST /admin/debug/token that exchanges a tlk_ key) REFUSES, or merely observes. OFF (default) = shadow: every request is still evaluated and logged with verdict=admit or verdict=would-refuse, and nothing is ever rejected. ON = a caller whose platform-attested source address is outside AGT_IP_ALLOWLIST_ADMIN_DEBUG gets a bare 403. THE SSM PARAMETER IS A SECOND LEVER AND BOTH ARE NEEDED: with the list unset this flag does nothing, because an unconfigured allowlist admits everyone by design. Arm in that order - populate the list, read the shadow logs until the would-refuse set is understood, then flip this. Deliberately global (evaluated with an empty context): the middleware runs BEFORE authentication, so there is no verified org to scope by, and taking one from an unverified request would let a caller choose its own enforcement posture. Separate from the mcp flag on purpose - see that entry.",
38079
+ flagType: "boolean",
38080
+ // Shadow. The measurement comes first: nobody yet knows the real set of
38081
+ // staff addresses, and arming against a guess locks you out of the very
38082
+ // tool you would use to diagnose the lockout.
38083
+ defaultValue: false,
38084
+ // Arming it changes who can reach production diagnostics. Worth one
38085
+ // confirmation.
38086
+ sensitive: true
38087
+ // Not public: the browser makes no decision from this. The only consumer is
38088
+ // packages/api/src/middleware/ip-allowlist.ts.
38075
38089
  }
38090
+ // THERE IS DELIBERATELY NO `ip-allowlist-enforce-mcp` FLAG.
38091
+ //
38092
+ // The per-agent MCP surface (POST /agents/:codeName/mcp) is allowlist
38093
+ // SHADOW-ONLY, enforced structurally rather than by a default: its entry in
38094
+ // ENFORCE_FLAG (packages/api/src/middleware/ip-allowlist.ts) is null, so no
38095
+ // flag is consulted and no flag flip can arm it.
38096
+ //
38097
+ // Why it is not simply a second flag defaulting false: most of that surface's
38098
+ // callers have no allowlistable address at all. Per ADR-0032 only hosts in the
38099
+ // agt-hosts account egress through stable NAT EIPs; a host with
38100
+ // provision_source `self` or `customer-ec2`, or any BYO account, egresses from
38101
+ // an address the control plane cannot know. Arming against that population
38102
+ // black-holes a customer's whole fleet, and per
38103
+ // docs/runbooks/composio-allowlist-rollout.md this class of change has no
38104
+ // fleet-level undo. A flag would leave that one toggle away during an
38105
+ // incident, from someone who had just armed the admin-debug surface and
38106
+ // reasonably assumed the pair moved together. Requiring a code change puts
38107
+ // review in front of an irreversible action, which is the right price.
38108
+ //
38109
+ // If the shadow data ever shows the population IS allowlistable, adding the
38110
+ // flag here and a key in ENFORCE_FLAG is a small, deliberate diff.
38076
38111
  ];
38077
38112
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
38078
38113
 
package/dist/mcp/index.js CHANGED
@@ -30388,7 +30388,42 @@ var FLAG_REGISTRY = [
30388
30388
  // Deliberately NOT public. The browser has no decision to make here; the
30389
30389
  // consumers are the host payload that builds `input.integrations` and the
30390
30390
  // grant route that refuses to install the row while the flag is off.
30391
+ },
30392
+ {
30393
+ key: "ip-allowlist-enforce-admin-debug",
30394
+ description: "ENG-10594 - whether the IP allowlist on the admin-debug surface (/admin/debug/*, including the deliberately unauthenticated POST /admin/debug/token that exchanges a tlk_ key) REFUSES, or merely observes. OFF (default) = shadow: every request is still evaluated and logged with verdict=admit or verdict=would-refuse, and nothing is ever rejected. ON = a caller whose platform-attested source address is outside AGT_IP_ALLOWLIST_ADMIN_DEBUG gets a bare 403. THE SSM PARAMETER IS A SECOND LEVER AND BOTH ARE NEEDED: with the list unset this flag does nothing, because an unconfigured allowlist admits everyone by design. Arm in that order - populate the list, read the shadow logs until the would-refuse set is understood, then flip this. Deliberately global (evaluated with an empty context): the middleware runs BEFORE authentication, so there is no verified org to scope by, and taking one from an unverified request would let a caller choose its own enforcement posture. Separate from the mcp flag on purpose - see that entry.",
30395
+ flagType: "boolean",
30396
+ // Shadow. The measurement comes first: nobody yet knows the real set of
30397
+ // staff addresses, and arming against a guess locks you out of the very
30398
+ // tool you would use to diagnose the lockout.
30399
+ defaultValue: false,
30400
+ // Arming it changes who can reach production diagnostics. Worth one
30401
+ // confirmation.
30402
+ sensitive: true
30403
+ // Not public: the browser makes no decision from this. The only consumer is
30404
+ // packages/api/src/middleware/ip-allowlist.ts.
30391
30405
  }
30406
+ // THERE IS DELIBERATELY NO `ip-allowlist-enforce-mcp` FLAG.
30407
+ //
30408
+ // The per-agent MCP surface (POST /agents/:codeName/mcp) is allowlist
30409
+ // SHADOW-ONLY, enforced structurally rather than by a default: its entry in
30410
+ // ENFORCE_FLAG (packages/api/src/middleware/ip-allowlist.ts) is null, so no
30411
+ // flag is consulted and no flag flip can arm it.
30412
+ //
30413
+ // Why it is not simply a second flag defaulting false: most of that surface's
30414
+ // callers have no allowlistable address at all. Per ADR-0032 only hosts in the
30415
+ // agt-hosts account egress through stable NAT EIPs; a host with
30416
+ // provision_source `self` or `customer-ec2`, or any BYO account, egresses from
30417
+ // an address the control plane cannot know. Arming against that population
30418
+ // black-holes a customer's whole fleet, and per
30419
+ // docs/runbooks/composio-allowlist-rollout.md this class of change has no
30420
+ // fleet-level undo. A flag would leave that one toggle away during an
30421
+ // incident, from someone who had just armed the admin-debug surface and
30422
+ // reasonably assumed the pair moved together. Requiring a code change puts
30423
+ // review in front of an irreversible action, which is the right price.
30424
+ //
30425
+ // If the shadow data ever shows the population IS allowlistable, adding the
30426
+ // flag here and a key in ENFORCE_FLAG is a small, deliberate diff.
30392
30427
  ];
30393
30428
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
30394
30429
 
@@ -44315,7 +44315,42 @@ var FLAG_REGISTRY = [
44315
44315
  // Deliberately NOT public. The browser has no decision to make here; the
44316
44316
  // consumers are the host payload that builds `input.integrations` and the
44317
44317
  // grant route that refuses to install the row while the flag is off.
44318
+ },
44319
+ {
44320
+ key: "ip-allowlist-enforce-admin-debug",
44321
+ description: "ENG-10594 - whether the IP allowlist on the admin-debug surface (/admin/debug/*, including the deliberately unauthenticated POST /admin/debug/token that exchanges a tlk_ key) REFUSES, or merely observes. OFF (default) = shadow: every request is still evaluated and logged with verdict=admit or verdict=would-refuse, and nothing is ever rejected. ON = a caller whose platform-attested source address is outside AGT_IP_ALLOWLIST_ADMIN_DEBUG gets a bare 403. THE SSM PARAMETER IS A SECOND LEVER AND BOTH ARE NEEDED: with the list unset this flag does nothing, because an unconfigured allowlist admits everyone by design. Arm in that order - populate the list, read the shadow logs until the would-refuse set is understood, then flip this. Deliberately global (evaluated with an empty context): the middleware runs BEFORE authentication, so there is no verified org to scope by, and taking one from an unverified request would let a caller choose its own enforcement posture. Separate from the mcp flag on purpose - see that entry.",
44322
+ flagType: "boolean",
44323
+ // Shadow. The measurement comes first: nobody yet knows the real set of
44324
+ // staff addresses, and arming against a guess locks you out of the very
44325
+ // tool you would use to diagnose the lockout.
44326
+ defaultValue: false,
44327
+ // Arming it changes who can reach production diagnostics. Worth one
44328
+ // confirmation.
44329
+ sensitive: true
44330
+ // Not public: the browser makes no decision from this. The only consumer is
44331
+ // packages/api/src/middleware/ip-allowlist.ts.
44318
44332
  }
44333
+ // THERE IS DELIBERATELY NO `ip-allowlist-enforce-mcp` FLAG.
44334
+ //
44335
+ // The per-agent MCP surface (POST /agents/:codeName/mcp) is allowlist
44336
+ // SHADOW-ONLY, enforced structurally rather than by a default: its entry in
44337
+ // ENFORCE_FLAG (packages/api/src/middleware/ip-allowlist.ts) is null, so no
44338
+ // flag is consulted and no flag flip can arm it.
44339
+ //
44340
+ // Why it is not simply a second flag defaulting false: most of that surface's
44341
+ // callers have no allowlistable address at all. Per ADR-0032 only hosts in the
44342
+ // agt-hosts account egress through stable NAT EIPs; a host with
44343
+ // provision_source `self` or `customer-ec2`, or any BYO account, egresses from
44344
+ // an address the control plane cannot know. Arming against that population
44345
+ // black-holes a customer's whole fleet, and per
44346
+ // docs/runbooks/composio-allowlist-rollout.md this class of change has no
44347
+ // fleet-level undo. A flag would leave that one toggle away during an
44348
+ // incident, from someone who had just armed the admin-debug surface and
44349
+ // reasonably assumed the pair moved together. Requiring a code change puts
44350
+ // review in front of an irreversible action, which is the right price.
44351
+ //
44352
+ // If the shadow data ever shows the population IS allowlistable, adding the
44353
+ // flag here and a key in ENFORCE_FLAG is a small, deliberate diff.
44319
44354
  ];
44320
44355
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
44321
44356
 
@@ -38972,7 +38972,42 @@ var FLAG_REGISTRY = [
38972
38972
  // Deliberately NOT public. The browser has no decision to make here; the
38973
38973
  // consumers are the host payload that builds `input.integrations` and the
38974
38974
  // grant route that refuses to install the row while the flag is off.
38975
+ },
38976
+ {
38977
+ key: "ip-allowlist-enforce-admin-debug",
38978
+ description: "ENG-10594 - whether the IP allowlist on the admin-debug surface (/admin/debug/*, including the deliberately unauthenticated POST /admin/debug/token that exchanges a tlk_ key) REFUSES, or merely observes. OFF (default) = shadow: every request is still evaluated and logged with verdict=admit or verdict=would-refuse, and nothing is ever rejected. ON = a caller whose platform-attested source address is outside AGT_IP_ALLOWLIST_ADMIN_DEBUG gets a bare 403. THE SSM PARAMETER IS A SECOND LEVER AND BOTH ARE NEEDED: with the list unset this flag does nothing, because an unconfigured allowlist admits everyone by design. Arm in that order - populate the list, read the shadow logs until the would-refuse set is understood, then flip this. Deliberately global (evaluated with an empty context): the middleware runs BEFORE authentication, so there is no verified org to scope by, and taking one from an unverified request would let a caller choose its own enforcement posture. Separate from the mcp flag on purpose - see that entry.",
38979
+ flagType: "boolean",
38980
+ // Shadow. The measurement comes first: nobody yet knows the real set of
38981
+ // staff addresses, and arming against a guess locks you out of the very
38982
+ // tool you would use to diagnose the lockout.
38983
+ defaultValue: false,
38984
+ // Arming it changes who can reach production diagnostics. Worth one
38985
+ // confirmation.
38986
+ sensitive: true
38987
+ // Not public: the browser makes no decision from this. The only consumer is
38988
+ // packages/api/src/middleware/ip-allowlist.ts.
38975
38989
  }
38990
+ // THERE IS DELIBERATELY NO `ip-allowlist-enforce-mcp` FLAG.
38991
+ //
38992
+ // The per-agent MCP surface (POST /agents/:codeName/mcp) is allowlist
38993
+ // SHADOW-ONLY, enforced structurally rather than by a default: its entry in
38994
+ // ENFORCE_FLAG (packages/api/src/middleware/ip-allowlist.ts) is null, so no
38995
+ // flag is consulted and no flag flip can arm it.
38996
+ //
38997
+ // Why it is not simply a second flag defaulting false: most of that surface's
38998
+ // callers have no allowlistable address at all. Per ADR-0032 only hosts in the
38999
+ // agt-hosts account egress through stable NAT EIPs; a host with
39000
+ // provision_source `self` or `customer-ec2`, or any BYO account, egresses from
39001
+ // an address the control plane cannot know. Arming against that population
39002
+ // black-holes a customer's whole fleet, and per
39003
+ // docs/runbooks/composio-allowlist-rollout.md this class of change has no
39004
+ // fleet-level undo. A flag would leave that one toggle away during an
39005
+ // incident, from someone who had just armed the admin-debug surface and
39006
+ // reasonably assumed the pair moved together. Requiring a code change puts
39007
+ // review in front of an irreversible action, which is the right price.
39008
+ //
39009
+ // If the shadow data ever shows the population IS allowlistable, adding the
39010
+ // flag here and a key in ENFORCE_FLAG is a small, deliberate diff.
38976
39011
  ];
38977
39012
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
38978
39013
 
@@ -38984,7 +38984,42 @@ var FLAG_REGISTRY = [
38984
38984
  // Deliberately NOT public. The browser has no decision to make here; the
38985
38985
  // consumers are the host payload that builds `input.integrations` and the
38986
38986
  // grant route that refuses to install the row while the flag is off.
38987
+ },
38988
+ {
38989
+ key: "ip-allowlist-enforce-admin-debug",
38990
+ description: "ENG-10594 - whether the IP allowlist on the admin-debug surface (/admin/debug/*, including the deliberately unauthenticated POST /admin/debug/token that exchanges a tlk_ key) REFUSES, or merely observes. OFF (default) = shadow: every request is still evaluated and logged with verdict=admit or verdict=would-refuse, and nothing is ever rejected. ON = a caller whose platform-attested source address is outside AGT_IP_ALLOWLIST_ADMIN_DEBUG gets a bare 403. THE SSM PARAMETER IS A SECOND LEVER AND BOTH ARE NEEDED: with the list unset this flag does nothing, because an unconfigured allowlist admits everyone by design. Arm in that order - populate the list, read the shadow logs until the would-refuse set is understood, then flip this. Deliberately global (evaluated with an empty context): the middleware runs BEFORE authentication, so there is no verified org to scope by, and taking one from an unverified request would let a caller choose its own enforcement posture. Separate from the mcp flag on purpose - see that entry.",
38991
+ flagType: "boolean",
38992
+ // Shadow. The measurement comes first: nobody yet knows the real set of
38993
+ // staff addresses, and arming against a guess locks you out of the very
38994
+ // tool you would use to diagnose the lockout.
38995
+ defaultValue: false,
38996
+ // Arming it changes who can reach production diagnostics. Worth one
38997
+ // confirmation.
38998
+ sensitive: true
38999
+ // Not public: the browser makes no decision from this. The only consumer is
39000
+ // packages/api/src/middleware/ip-allowlist.ts.
38987
39001
  }
39002
+ // THERE IS DELIBERATELY NO `ip-allowlist-enforce-mcp` FLAG.
39003
+ //
39004
+ // The per-agent MCP surface (POST /agents/:codeName/mcp) is allowlist
39005
+ // SHADOW-ONLY, enforced structurally rather than by a default: its entry in
39006
+ // ENFORCE_FLAG (packages/api/src/middleware/ip-allowlist.ts) is null, so no
39007
+ // flag is consulted and no flag flip can arm it.
39008
+ //
39009
+ // Why it is not simply a second flag defaulting false: most of that surface's
39010
+ // callers have no allowlistable address at all. Per ADR-0032 only hosts in the
39011
+ // agt-hosts account egress through stable NAT EIPs; a host with
39012
+ // provision_source `self` or `customer-ec2`, or any BYO account, egresses from
39013
+ // an address the control plane cannot know. Arming against that population
39014
+ // black-holes a customer's whole fleet, and per
39015
+ // docs/runbooks/composio-allowlist-rollout.md this class of change has no
39016
+ // fleet-level undo. A flag would leave that one toggle away during an
39017
+ // incident, from someone who had just armed the admin-debug surface and
39018
+ // reasonably assumed the pair moved together. Requiring a code change puts
39019
+ // review in front of an irreversible action, which is the right price.
39020
+ //
39021
+ // If the shadow data ever shows the population IS allowlistable, adding the
39022
+ // flag here and a key in ENFORCE_FLAG is a small, deliberate diff.
38988
39023
  ];
38989
39024
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
38990
39025
 
@@ -62,8 +62,9 @@ import {
62
62
  writeDirectChatSessionState,
63
63
  writeEgressAllowlist,
64
64
  writePersistentClaudeWrapper
65
- } from "./chunk-XN5MOKSV.js";
66
- import "./chunk-YZ5HGHPG.js";
65
+ } from "./chunk-A3T3WOC2.js";
66
+ import "./chunk-JANAAFED.js";
67
+ import "./chunk-DHWNVVX4.js";
67
68
  import "./chunk-XWVM4KPK.js";
68
69
  export {
69
70
  CLAUDE_HOST_WIDE,
@@ -130,4 +131,4 @@ export {
130
131
  writeEgressAllowlist,
131
132
  writePersistentClaudeWrapper
132
133
  };
133
- //# sourceMappingURL=persistent-session-523F5U4H.js.map
134
+ //# sourceMappingURL=persistent-session-VX26HP7Z.js.map
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-XN5MOKSV.js";
4
- import "./chunk-YZ5HGHPG.js";
3
+ } from "./chunk-A3T3WOC2.js";
4
+ import "./chunk-JANAAFED.js";
5
+ import "./chunk-DHWNVVX4.js";
5
6
  import "./chunk-XWVM4KPK.js";
6
7
 
7
8
  // src/lib/responsiveness-probe.ts
@@ -799,4 +800,4 @@ export {
799
800
  readAndResetSlackReplyBindingClassifications,
800
801
  readAndResetSlackReplyTargetClassifications
801
802
  };
802
- //# sourceMappingURL=responsiveness-probe-CHGET573.js.map
803
+ //# sourceMappingURL=responsiveness-probe-5LUHQCKN.js.map