@integrity-labs/agt-cli 0.28.1137 → 0.28.1139

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 +5 -5
  2. package/dist/{chunk-LQCWKNFX.js → chunk-7U4VSBOE.js} +2 -2
  3. package/dist/{chunk-WIU4HUHD.js → chunk-DYFE224A.js} +33 -1
  4. package/dist/{chunk-WIU4HUHD.js.map → chunk-DYFE224A.js.map} +1 -1
  5. package/dist/{chunk-HZFUOGUV.js → chunk-PI2WUKWD.js} +4 -4
  6. package/dist/{claude-pair-runtime-OZLZFJZR.js → claude-pair-runtime-BOTE3DRW.js} +2 -2
  7. package/dist/lib/manager-worker.js +261 -16
  8. package/dist/lib/manager-worker.js.map +1 -1
  9. package/dist/mcp/augmented-admin.js +164 -54
  10. package/dist/mcp/augmented-help-kb.js +164 -54
  11. package/dist/mcp/augmented-support.js +164 -54
  12. package/dist/mcp/direct-chat-channel.js +121 -41
  13. package/dist/mcp/index.js +243 -59
  14. package/dist/mcp/origami.js +121 -41
  15. package/dist/mcp/slack-channel.js +121 -41
  16. package/dist/mcp/teams-channel.js +89 -41
  17. package/dist/mcp/telegram-channel.js +121 -41
  18. package/dist/mcp/whatsapp-channel.js +5447 -4340
  19. package/dist/mcp/whatsapp-link.js +5442 -4383
  20. package/dist/mcp/xero.js +6048 -2067
  21. package/dist/{persistent-session-2X3BCGV5.js → persistent-session-6O66QEI4.js} +3 -3
  22. package/dist/{responsiveness-probe-QFLFS5QX.js → responsiveness-probe-WGD3NDWG.js} +3 -3
  23. package/dist/{session-auth-dead-QE7GT5Y5.js → session-auth-dead-6N2AEFKX.js} +2 -2
  24. package/package.json +2 -2
  25. /package/dist/{chunk-LQCWKNFX.js.map → chunk-7U4VSBOE.js.map} +0 -0
  26. /package/dist/{chunk-HZFUOGUV.js.map → chunk-PI2WUKWD.js.map} +0 -0
  27. /package/dist/{claude-pair-runtime-OZLZFJZR.js.map → claude-pair-runtime-BOTE3DRW.js.map} +0 -0
  28. /package/dist/{persistent-session-2X3BCGV5.js.map → persistent-session-6O66QEI4.js.map} +0 -0
  29. /package/dist/{responsiveness-probe-QFLFS5QX.js.map → responsiveness-probe-WGD3NDWG.js.map} +0 -0
  30. /package/dist/{session-auth-dead-QE7GT5Y5.js.map → session-auth-dead-6N2AEFKX.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,12 +40,12 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-HZFUOGUV.js";
43
+ } from "../chunk-PI2WUKWD.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-LQCWKNFX.js";
48
+ } from "../chunk-7U4VSBOE.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-WIU4HUHD.js";
82
+ } from "../chunk-DYFE224A.js";
83
83
  import "../chunk-B6UYVEMD.js";
84
84
  import "../chunk-XWVM4KPK.js";
85
85
  import "../chunk-EL5MWGGH.js";
@@ -5474,7 +5474,7 @@ import { execFileSync, execSync } from "child_process";
5474
5474
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5475
5475
  import chalk18 from "chalk";
5476
5476
  import ora16 from "ora";
5477
- var cliVersion = true ? "0.28.1137" : "dev";
5477
+ var cliVersion = true ? "0.28.1139" : "dev";
5478
5478
  async function fetchLatestVersion() {
5479
5479
  const host2 = getHost();
5480
5480
  if (!host2) return null;
@@ -6734,7 +6734,7 @@ function handleError(err) {
6734
6734
  }
6735
6735
 
6736
6736
  // src/bin/agt.ts
6737
- var cliVersion2 = true ? "0.28.1137" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1139" : "dev";
6738
6738
  var program = new Command();
6739
6739
  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");
6740
6740
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -24,7 +24,7 @@ import {
24
24
  rotateDailySession,
25
25
  sessionFileExists,
26
26
  todayLocalIso
27
- } from "./chunk-WIU4HUHD.js";
27
+ } from "./chunk-DYFE224A.js";
28
28
  import {
29
29
  classifyUnanswerablePane,
30
30
  findUsageLimitResetHint,
@@ -6114,4 +6114,4 @@ export {
6114
6114
  stopAllSessionsAndWait,
6115
6115
  getProjectDir
6116
6116
  };
6117
- //# sourceMappingURL=chunk-LQCWKNFX.js.map
6117
+ //# sourceMappingURL=chunk-7U4VSBOE.js.map
@@ -7844,6 +7844,38 @@ var FLAG_REGISTRY = [
7844
7844
  // it back on for their own org.
7845
7845
  platformAdminOnly: true
7846
7846
  },
7847
+ {
7848
+ key: "two-factor-settings",
7849
+ description: "Show Settings > Two-factor authentication, where a console user sets up or removes an authenticator app (ENG-11619). Gates SETTING UP only: anyone who already has an authenticator is asked for a code before a console page loads whatever this flag says, so switching it off never turns an existing user's two-factor off. Phase 1: console pages only, not the API.",
7850
+ flagType: "boolean",
7851
+ // PUBLIC (ADR-0022 §2): the nav reads it via usePublicBooleanFlag and the
7852
+ // page via getPublicBooleanFlagServer, so it is in the GET /flags map. No
7853
+ // env override (UI rollout, not an operator gate). Ships dark (default
7854
+ // false). The staff factor reset on the admin organization page is in
7855
+ // place, so a lost phone is recoverable.
7856
+ public: true,
7857
+ defaultValue: false,
7858
+ // Platform admin only until ENG-11619 phase 2. Phase 1 gates console PAGE
7859
+ // LOADS: an enrolled user's password-only (aal1) session is still accepted
7860
+ // by the Hono API and the webapp's /api/* handlers. An org admin switching
7861
+ // this on would reasonably believe a stolen password is now useless, and
7862
+ // it is not yet (Obi Wan be8af20e689c on #7092). Drop this once phase 2
7863
+ // refuses aal1 there too.
7864
+ platformAdminOnly: true
7865
+ },
7866
+ {
7867
+ key: "two-factor-reminder-banner",
7868
+ description: "Show a banner across the console asking every user without an authenticator app to set one up before two-factor becomes required (ENG-11619). Also makes Settings > Two-factor authentication reachable, as `two-factor-settings` does, because the banner links there. Closing it hides it for a day in that browser.",
7869
+ flagType: "boolean",
7870
+ // PUBLIC: the nav reads it client-side; the layout and the settings page read
7871
+ // it server-side. Ships dark (default false): turn it on for one org first.
7872
+ public: true,
7873
+ defaultValue: false,
7874
+ // Staff only, for the same reason as `two-factor-settings` above: it opens
7875
+ // the settings page, and phase 1 still accepts an aal1 session outside page
7876
+ // loads, so an org admin must not be the one deciding they are covered.
7877
+ platformAdminOnly: true
7878
+ },
7847
7879
  {
7848
7880
  key: "platform-maintenance-mode",
7849
7881
  description: 'Platform-wide maintenance mode (ENG-6506; widened to modes by ENG-11436). off = normal operation (ships dark; channels behave exactly as today). tools-offline = every agent KEEPS conversing but every Augmented tool that WRITES to the control plane refuses with a reason, so nothing is created during a window whose database restore would discard it; reads are untouched. fleet-offline = the previous boolean-true behaviour AND the write gate: admitted human inbound gets a "we are offline for maintenance" notice instead of being dispatched, for whole-platform downtime such as DB upgrades. The modes are CUMULATIVE \u2014 fleet-offline gates writes too, because silencing channel inbound does not stop a /loop or a scheduled task filing work. Read host-side per inbound and per tool call from the flags cache (no MCP restart). (Proactive "back online" follow-up is the ENG-6508 fast-follow, not this flag.)',
@@ -17125,4 +17157,4 @@ export {
17125
17157
  peekCurrentSession,
17126
17158
  readDailySessionPin
17127
17159
  };
17128
- //# sourceMappingURL=chunk-WIU4HUHD.js.map
17160
+ //# sourceMappingURL=chunk-DYFE224A.js.map