@integrity-labs/agt-cli 0.28.1075 → 0.28.1077

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.
package/dist/bin/agt.js CHANGED
@@ -40,12 +40,12 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-X6L3BRJI.js";
43
+ } from "../chunk-RAIBOJ2A.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-XNIN4UH6.js";
48
+ } from "../chunk-QNS7N4QX.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-HE3ZAMGG.js";
82
+ } from "../chunk-4WAUXFY7.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.1075" : "dev";
5477
+ var cliVersion = true ? "0.28.1077" : "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.1075" : "dev";
6737
+ var cliVersion2 = true ? "0.28.1077" : "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) => {
@@ -1197,12 +1197,14 @@ var REQUIRE_APPROVAL_HOW = {
1197
1197
  ` with the request_id and act only once it is approved; if it is denied or expires, do`,
1198
1198
  ` not act, and tell the user. Never just say you are waiting for, or cannot reach, your`,
1199
1199
  ` manager without filing the request. If \`request_approval\` fails, say so and leave the`,
1200
- ` action undone.`
1200
+ ` action undone. For an email, pass \`detail.email\` = { to, from, subject } so your`,
1201
+ ` manager sees who it goes to.`
1201
1202
  ],
1202
1203
  warn: [
1203
1204
  ` When one of these actions is not clearly justified, ask rather than decline: call`,
1204
1205
  ` \`request_approval\` (it goes to your manager), end your turn, and act only once`,
1205
- ` \`check_approval\` says it is approved.`
1206
+ ` \`check_approval\` says it is approved. For an email, pass \`detail.email\` =`,
1207
+ ` { to, from, subject }.`
1206
1208
  ]
1207
1209
  };
1208
1210
  var REQUIRE_APPROVAL_EMAIL_ACTION = "send_email";
@@ -5043,7 +5045,14 @@ var NOTICE_KIND_AUDIENCE = {
5043
5045
  // text is explicitly second-person to the machine ("you are the only party who
5044
5046
  // can check the fix"). Deliberately out of scope: messaging that end user
5045
5047
  // automatically.
5046
- feature_request_resolved: "agent"
5048
+ feature_request_resolved: "agent",
5049
+ // ENG-11195: a customer replied by email to a support request. 'agent': the
5050
+ // text is second-person to the machine ("decide whether a reply is needed"),
5051
+ // names a raw request id, and carries the customer's email as quoted
5052
+ // UNTRUSTED data. Shown to a human reader in direct chat, it would be
5053
+ // platform-authored instructions addressed to someone else, wrapped around
5054
+ // a stranger's text.
5055
+ support_email_reply: "agent"
5047
5056
  };
5048
5057
  var USER_FACING_KIND_SET = new Set(Object.entries(NOTICE_KIND_AUDIENCE).filter(([, audience]) => audience === "user").map(([kind]) => kind));
5049
5058
  var USER_FACING_NOTICE_KINDS = Object.freeze([
@@ -5722,7 +5731,7 @@ var FLAG_REGISTRY = [
5722
5731
  },
5723
5732
  {
5724
5733
  key: "live-team-only-default",
5725
- description: "Make a NEW Ninja Canvas (Augmented Live) page team-only by default (ENG-11089, ADR-0122): when on, a publish that names no visibility is readable only by signed-in members of the publishing agent's team, and sharing it wider is an explicit choice. Evaluated per-org. Chooses the DEFAULT only: it never changes an existing page, and turning it off never un-protects a page that is already team-only. INERT until ENG-11150 lands - until then every publish is public and a non-public request is refused. Boolean gate; ships dark.",
5734
+ description: "Make a NEW Ninja Canvas (Augmented Live) page team-only by default (ENG-11089, ADR-0122): when on, a publish that names no visibility is readable only by signed-in members of the publishing agent's team, and sharing it wider is an explicit choice. Evaluated per-org. Chooses the DEFAULT only: it never changes an existing page, and turning it off never un-protects a page that is already team-only, and an explicit visibility always wins. The edge can enforce it since ENG-11150; ENG-11094 wires it into the publish default. It is the PLATFORM default: an org's own canvas_default_visibility setting (ENG-11159) wins over it. Boolean gate; ships dark.",
5726
5735
  flagType: "boolean",
5727
5736
  defaultValue: false,
5728
5737
  // An org owner/admin must not arm a confidentiality default before the edge
@@ -16118,4 +16127,4 @@ export {
16118
16127
  peekCurrentSession,
16119
16128
  readDailySessionPin
16120
16129
  };
16121
- //# sourceMappingURL=chunk-HE3ZAMGG.js.map
16130
+ //# sourceMappingURL=chunk-4WAUXFY7.js.map