@integrity-labs/agt-cli 0.28.1248 → 0.28.1250

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 (30) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-VGL726BP.js → chunk-5ALBA7KT.js} +73 -18
  3. package/dist/chunk-5ALBA7KT.js.map +1 -0
  4. package/dist/{chunk-73NMB6QK.js → chunk-DFJ5E5EW.js} +19 -1
  5. package/dist/{chunk-73NMB6QK.js.map → chunk-DFJ5E5EW.js.map} +1 -1
  6. package/dist/{chunk-RSFDRIIC.js → chunk-IUMFAYZO.js} +26 -3
  7. package/dist/{chunk-RSFDRIIC.js.map → chunk-IUMFAYZO.js.map} +1 -1
  8. package/dist/{chunk-EKFRF2GR.js → chunk-JOBL3ZF4.js} +2 -2
  9. package/dist/{chunk-OYLLSEI5.js → chunk-SMD577FW.js} +2 -2
  10. package/dist/{claude-code-updater-G4Y3CMTI.js → claude-code-updater-5MPOBIWN.js} +3 -3
  11. package/dist/{claude-pair-runtime-ZGYYBH3G.js → claude-pair-runtime-SNU3CU3K.js} +3 -3
  12. package/dist/lib/manager-worker.js +331 -104
  13. package/dist/lib/manager-worker.js.map +1 -1
  14. package/dist/mcp/direct-chat-channel.js +18 -0
  15. package/dist/mcp/index.js +18 -0
  16. package/dist/mcp/origami.js +18 -0
  17. package/dist/mcp/slack-channel.js +18 -0
  18. package/dist/mcp/telegram-channel.js +205 -1
  19. package/dist/{persistent-session-R2RY5NJ3.js → persistent-session-SYCA6MW2.js} +4 -4
  20. package/dist/{responsiveness-probe-MU5WMZSZ.js → responsiveness-probe-BUXWVOSA.js} +4 -4
  21. package/dist/{session-auth-dead-B6JRV3QH.js → session-auth-dead-G5NHWSRP.js} +3 -3
  22. package/package.json +1 -1
  23. package/dist/chunk-VGL726BP.js.map +0 -1
  24. /package/dist/{chunk-EKFRF2GR.js.map → chunk-JOBL3ZF4.js.map} +0 -0
  25. /package/dist/{chunk-OYLLSEI5.js.map → chunk-SMD577FW.js.map} +0 -0
  26. /package/dist/{claude-code-updater-G4Y3CMTI.js.map → claude-code-updater-5MPOBIWN.js.map} +0 -0
  27. /package/dist/{claude-pair-runtime-ZGYYBH3G.js.map → claude-pair-runtime-SNU3CU3K.js.map} +0 -0
  28. /package/dist/{persistent-session-R2RY5NJ3.js.map → persistent-session-SYCA6MW2.js.map} +0 -0
  29. /package/dist/{responsiveness-probe-MU5WMZSZ.js.map → responsiveness-probe-BUXWVOSA.js.map} +0 -0
  30. /package/dist/{session-auth-dead-B6JRV3QH.js.map → session-auth-dead-G5NHWSRP.js.map} +0 -0
@@ -8010,6 +8010,24 @@ var FLAG_REGISTRY = [
8010
8010
  // everywhere it matters.
8011
8011
  envVar: "AUGMENTED_CONNECTIVITY_RECONCILE_STATUS"
8012
8012
  },
8013
+ {
8014
+ key: "direct-chat-malware-scan",
8015
+ // CodeRabbit on #7501: read stage-wide only (empty scope), so a scoped
8016
+ // override would look armed and do nothing. Turning it off disarms the
8017
+ // upload and download scan, so a change needs explicit confirmation.
8018
+ stageWideOnly: true,
8019
+ sensitive: true,
8020
+ description: "Gate Direct Chat uploads on the GuardDuty Malware Protection for S3 verdict (ENG-11967). When on, verifyDirectChatUploads waits for the GuardDutyMalwareScanStatus tag on each uploaded object and FAILS CLOSED: only NO_THREATS_FOUND is linked to a message; THREATS_FOUND is deleted (it marks every row sharing the object) and raises an upload_malware_detected alert; UNSUPPORTED, ACCESS_DENIED and FAILED are refused but KEPT, because the content-addressed object may back messages already delivered and two of those are our faults, not the file; no tag within the wait budget is refused and kept, so a re-send can pass once the scan lands. ARMING ALSO GATES EVERY DOWNLOAD: the browser mint and the agent poll serve an object only if its GuardDutyMalwareScanStatus tag is NO_THREATS_FOUND, so an attachment stored before the plan existed is refused until a one-off rescan (triggered on first access) tags it clean. In the browser it becomes downloadable once that lands; the agent poll delivers each attachment once, so one untagged at that poll is NEVER delivered to the agent (only a warn line records it). ARM ONLY AFTER the DirectChatUploadsMalwareProtection plan is deployed (GUARDDUTY_MALWARE_SCAN=true): with the flag on and no plan, no object is ever tagged and every upload is refused. ALSO CONFIRM FIRST, on the test stage, that the legacy rescan works: self-copy one untagged object and check it gains a GuardDutyMalwareScanStatus tag within a minute. If it does not, do NOT arm: every attachment stored before the plan stays refused while armed and the rescan cannot restore it. GLOBAL ONLY: evaluated with an empty context, so scoped overrides have no effect.",
8021
+ flagType: "boolean",
8022
+ // Off is the pre-ENG-11967 behaviour: no scan wait, no tag read.
8023
+ // UNLIKE most flags here, a flag-store READ ERROR counts as ON on the SEND
8024
+ // path (see malwareScanArmed in api lib/direct-chat-uploads.ts): the send
8025
+ // is the gate, and an outage must not silently stop scanning. The read
8026
+ // paths (agent poll, download mint) treat a read error as OFF, so a blip
8027
+ // cannot strip a claimed, single-shot message of its files (Obi Wan
8028
+ // edec921a519f); THREATS_FOUND rows stay hidden either way.
8029
+ defaultValue: false
8030
+ },
8013
8031
  {
8014
8032
  key: "platform-held-key-central-probe",
8015
8033
  description: "Arm the scheduled CENTRAL connectivity probe lane for platform-held-key integrations (ENG-10086). These store no customer credential (auth_type none), so the host cannot probe them and reports unverified forever. When on, the hourly PlatformHeldKeyProbe cron runs each central probe that exists (today only ninjafy-notes: org entitlement + broker routing, never note contents) and writes the result through the monitor observation path, so consecutive_connectivity_failures / _ok_cycles move and integration_down alerts can open and close on it. Definitions with no central probe are skipped, never written as a failure. When off the cron reads nothing and writes nothing. Boolean gate; ships dark because a new writer of the escalation counters is a paging change. GLOBAL ONLY: the cron and the host connectivity route both evaluate this flag with an empty context, so an org-, team- or agent-scoped override is stored but has NO effect. Arm it by its global value, not as a staged per-org rollout (Obi Wan 63053d02035e).",
@@ -18447,4 +18465,4 @@ export {
18447
18465
  HOST_ROTATE_KEY_CONFLICT,
18448
18466
  shouldMintReplacementKey
18449
18467
  };
18450
- //# sourceMappingURL=chunk-73NMB6QK.js.map
18468
+ //# sourceMappingURL=chunk-DFJ5E5EW.js.map