@integrity-labs/agt-cli 0.28.1056 → 0.28.1058

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 (23) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-M5P24M2Z.js → chunk-F3J3YAY3.js} +4 -4
  3. package/dist/{chunk-A7HDJW23.js → chunk-GSCJBZLQ.js} +2 -2
  4. package/dist/{chunk-P544KDE3.js → chunk-RWO2YG5B.js} +13 -1
  5. package/dist/{chunk-P544KDE3.js.map → chunk-RWO2YG5B.js.map} +1 -1
  6. package/dist/{claude-pair-runtime-TSRRFBNJ.js → claude-pair-runtime-SHXYOS5I.js} +2 -2
  7. package/dist/lib/manager-worker.js +78 -50
  8. package/dist/lib/manager-worker.js.map +1 -1
  9. package/dist/mcp/direct-chat-channel.js +12 -0
  10. package/dist/mcp/index.js +12 -0
  11. package/dist/mcp/origami.js +12 -0
  12. package/dist/mcp/slack-channel.js +12 -0
  13. package/dist/mcp/telegram-channel.js +12 -0
  14. package/dist/{persistent-session-WSJVCGEO.js → persistent-session-JKAO4GT7.js} +3 -3
  15. package/dist/{responsiveness-probe-7MQI6SUF.js → responsiveness-probe-5BYHCZJS.js} +3 -3
  16. package/dist/{session-auth-dead-NFVTUFPI.js → session-auth-dead-E6V22R4W.js} +2 -2
  17. package/package.json +1 -1
  18. /package/dist/{chunk-M5P24M2Z.js.map → chunk-F3J3YAY3.js.map} +0 -0
  19. /package/dist/{chunk-A7HDJW23.js.map → chunk-GSCJBZLQ.js.map} +0 -0
  20. /package/dist/{claude-pair-runtime-TSRRFBNJ.js.map → claude-pair-runtime-SHXYOS5I.js.map} +0 -0
  21. /package/dist/{persistent-session-WSJVCGEO.js.map → persistent-session-JKAO4GT7.js.map} +0 -0
  22. /package/dist/{responsiveness-probe-7MQI6SUF.js.map → responsiveness-probe-5BYHCZJS.js.map} +0 -0
  23. /package/dist/{session-auth-dead-NFVTUFPI.js.map → session-auth-dead-E6V22R4W.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-M5P24M2Z.js";
43
+ } from "../chunk-F3J3YAY3.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-A7HDJW23.js";
48
+ } from "../chunk-GSCJBZLQ.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-P544KDE3.js";
82
+ } from "../chunk-RWO2YG5B.js";
83
83
  import "../chunk-OCMJ5E6J.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.1056" : "dev";
5477
+ var cliVersion = true ? "0.28.1058" : "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.1056" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1058" : "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) => {
@@ -16,7 +16,7 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-A7HDJW23.js";
19
+ } from "./chunk-GSCJBZLQ.js";
20
20
  import {
21
21
  BIND_FAILURE_QUARANTINE_THRESHOLD,
22
22
  INTEGRATIONS_SECTION_END,
@@ -79,7 +79,7 @@ import {
79
79
  sessionTranscriptDir,
80
80
  worseConnectivityOutcome,
81
81
  wrapScheduledTaskPrompt
82
- } from "./chunk-P544KDE3.js";
82
+ } from "./chunk-RWO2YG5B.js";
83
83
  import {
84
84
  classifyUnanswerablePane,
85
85
  isConsumerTermsDialogVisible,
@@ -7122,7 +7122,7 @@ function exchangeFailureKind(err) {
7122
7122
  }
7123
7123
 
7124
7124
  // src/lib/api-client.ts
7125
- var agtCliVersion = true ? "0.28.1056" : "dev";
7125
+ var agtCliVersion = true ? "0.28.1058" : "dev";
7126
7126
  var lastConfigHash = null;
7127
7127
  function setConfigHash(hash) {
7128
7128
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -12089,4 +12089,4 @@ export {
12089
12089
  managerInstallSystemUnitCommand,
12090
12090
  managerUninstallSystemUnitCommand
12091
12091
  };
12092
- //# sourceMappingURL=chunk-M5P24M2Z.js.map
12092
+ //# sourceMappingURL=chunk-F3J3YAY3.js.map
@@ -24,7 +24,7 @@ import {
24
24
  rotateDailySession,
25
25
  sessionFileExists,
26
26
  todayLocalIso
27
- } from "./chunk-P544KDE3.js";
27
+ } from "./chunk-RWO2YG5B.js";
28
28
  import {
29
29
  classifyUnanswerablePane,
30
30
  findUsageLimitResetHint,
@@ -6011,4 +6011,4 @@ export {
6011
6011
  stopAllSessionsAndWait,
6012
6012
  getProjectDir
6013
6013
  };
6014
- //# sourceMappingURL=chunk-A7HDJW23.js.map
6014
+ //# sourceMappingURL=chunk-GSCJBZLQ.js.map
@@ -6961,6 +6961,18 @@ var FLAG_REGISTRY = [
6961
6961
  // put a first-of-its-kind classifier in front of real customer traffic with nothing
6962
6962
  // observed. Arm per-org, then revisit once there is evidence.
6963
6963
  },
6964
+ {
6965
+ key: "email-draft-recipient-resolution",
6966
+ description: "ENG-11238: resolve the recipients of a draft-send (OUTLOOK_SEND_DRAFT / GMAIL_SEND_DRAFT) by reading the stored draft over the SAME Composio connection the send will use, so the email-domain guard and the internal-only tier bypass (ENG-11190) can judge it. Without this a draft-send carries only an id, so both controls treat it as un-inspectable and EVERY draft-send is held, including one addressed only to colleagues. off = today, byte for byte (no fetch). shadow = fetch and write a guardrail audit row with the decision it WOULD make (counts and an all-internal boolean, never addresses), but keep today's hold. enforce = feed the resolved To/Cc/Bcc into both controls; any external recipient, zero recipients, a fetch error/timeout, a malformed response or an absent Bcc field keeps the hold, and the draft is re-read right before dispatch so an edit in between is held too. Evaluated per-org. Ships dark.",
6967
+ flagType: "enum",
6968
+ allowedValues: ["off", "shadow", "enforce"],
6969
+ // Declared safe value is `off`: today's behaviour, where every draft-send is held. A flag-DB
6970
+ // read error degrades here, so a flags outage can only ever ADD holds back, never lift one.
6971
+ defaultValue: "off",
6972
+ // enforce lifts a human hold on real customer email, so flipping it is a deliberate, audited
6973
+ // per-org change (ADR-0022 §4). No envVar: net-new control with no pre-flags env gate.
6974
+ sensitive: true
6975
+ },
6964
6976
  {
6965
6977
  key: "heartbeat-writes-claude-account-email",
6966
6978
  description: "ENG-10796 (#6382): when ON, the host heartbeat writes the Claude account address it reads from the host (oauthAccount.emailAddress) into hosts.claude_account_email, so the Tokens label self-heals. OFF (default) the heartbeat never writes the column and the label stays whatever an operator set. Ships DARK because the column must first sit behind column-level grants (ENG-11162, #6596): until then any org member, and every co-tenant org on a pool host, can read it raw through Supabase REST, and on an IL-provisioned box the harvested address is a staff login (Obi Wan ecad15b6eff5). Evaluated at PLATFORM scope only: the heartbeat does not know the host org before its UPDATE, so flip the platform value once ENG-11162 is live.",
@@ -15994,4 +16006,4 @@ export {
15994
16006
  peekCurrentSession,
15995
16007
  readDailySessionPin
15996
16008
  };
15997
- //# sourceMappingURL=chunk-P544KDE3.js.map
16009
+ //# sourceMappingURL=chunk-RWO2YG5B.js.map