@integrity-labs/agt-cli 0.28.568 → 0.28.569

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,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-VGMO43EI.js";
43
+ } from "../chunk-JBOJC6PG.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -71,7 +71,7 @@ import {
71
71
  requiredMcpWildcard,
72
72
  resolveChannels,
73
73
  serializeManifestForSlackCli
74
- } from "../chunk-FSWAPB5J.js";
74
+ } from "../chunk-7O2TXBWR.js";
75
75
  import "../chunk-XWVM4KPK.js";
76
76
 
77
77
  // src/bin/agt.ts
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
4834
4834
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4835
4835
  import chalk18 from "chalk";
4836
4836
  import ora16 from "ora";
4837
- var cliVersion = true ? "0.28.568" : "dev";
4837
+ var cliVersion = true ? "0.28.569" : "dev";
4838
4838
  async function fetchLatestVersion() {
4839
4839
  const host2 = getHost();
4840
4840
  if (!host2) return null;
@@ -6009,7 +6009,7 @@ function handleError(err) {
6009
6009
  }
6010
6010
 
6011
6011
  // src/bin/agt.ts
6012
- var cliVersion2 = true ? "0.28.568" : "dev";
6012
+ var cliVersion2 = true ? "0.28.569" : "dev";
6013
6013
  var program = new Command();
6014
6014
  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");
6015
6015
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -10437,6 +10437,21 @@ var FLAG_REGISTRY = [
10437
10437
  defaultValue: false,
10438
10438
  public: true
10439
10439
  },
10440
+ {
10441
+ key: "direct-chat-per-user",
10442
+ description: "Scope a STANDARD agent's Direct Chat to the user who had the conversation (ENG-8712). Today two teammates who open the same agent land in the same thread and read each other's messages: the /recent and per-session reads carry no user predicate unless the agent is the per-org system_support concierge. When on, both reads return only sessions the requester authored in PLUS sessions no user has authored in \u2014 the second arm is load-bearing, since every server-originated row (kanban and scheduled-task nudges, integration failures, HITL approvals, degradation alerts) is written as role=user with no user_id and would otherwise vanish from every console (ENG-8431). Does NOT make the thread private in the live direction: assistant replies still fan out on the per-TEAM realtime topic direct-chat-agent:{agentId}, so a teammate holding the drawer open still receives them. Narrowing that topic is follow-up work.",
10443
+ flagType: "boolean",
10444
+ // Declared safe value is `false` — today's team-wide thread. Server-side only
10445
+ // (the two reads in routes/agents.ts); the browser needs no knowledge of it,
10446
+ // so NOT public. No envVar either: this is an org/team-scoped rollout gate
10447
+ // with no host-side consumer, and a declared envVar pinned in sst.config.ts
10448
+ // would make every admin-UI override unreachable (ENG-8303).
10449
+ //
10450
+ // A rollout device, not an undo. Flipping it back off restores the wider read,
10451
+ // but any message written while it was on was still written — and the legacy
10452
+ // backfill in migration 20260812000006 is not reversed by the flag.
10453
+ defaultValue: false
10454
+ },
10440
10455
  {
10441
10456
  key: "onboarding-auto-deploy",
10442
10457
  description: `Auto-deploy the first agent during onboarding (ENG-7378): the agent edit page's Deploy & Test tab fires the existing deploy (draft -> active) automatically once the agent's host is fully deployed (active + manager heartbeating, not provisioning) AND Claude-authenticated (claude_auth_status=valid), replacing the manual "Deploy Agent" click in the recruit funnel. Only draft, non-system_support agents; a failed or timed-out attempt falls back to the manual button (no auto-retry loop).`,
@@ -10597,21 +10612,20 @@ var FLAG_REGISTRY = [
10597
10612
  // by a hand-written process.env gate — so check-new-env-gates.sh stays quiet
10598
10613
  // and the escape hatch still exists for a per-host canary.
10599
10614
  envVar: "AGT_TOOL_CALL_AUDIT_ENABLED",
10600
- // PLACEHOLDER, deliberately unreachable see the identical treatment on
10601
- // `github-broker-credentials` below for the full reasoning. `since` is
10602
- // advisory: it is read only by computeFlagReach behind GET /admin/reach, so
10603
- // it changes what an operator is TOLD and does not itself stop a flip.
10604
- //
10605
- // The host-side reader ships in whichever agt-cli patch the auto-publish
10606
- // cuts after this merges, and that number cannot be known while writing
10607
- // this line. Omitting `since` is NOT the safe default here: it resolves to
10608
- // `honors`, reporting every host as honouring the flip — including hosts
10609
- // whose agt-cli has no reader at all. An unreachable value reports `stale`
10610
- // instead: conservative, and visibly wrong rather than invisibly wrong.
10615
+ // The real published version, replacing the deliberately-unreachable
10616
+ // placeholder this flag shipped with. `since` is advisory: it is read only
10617
+ // by computeFlagReach behind GET /flags/admin/reach?key=…, so it changes what an
10618
+ // operator is TOLD and does not itself stop a flip. Omitting it is NOT the
10619
+ // safe default — it resolves to `honors`, reporting every host as honouring
10620
+ // the flip, including hosts whose agt-cli has no reader at all.
10611
10621
  //
10612
- // BEFORE THIS FLAG IS FLIPPED ANYWHERE: replace this with the first
10613
- // published agt-cli version containing `maybeScanToolCalls`.
10614
- since: "0.29.0"
10622
+ // 0.28.566 is the auto-publish cut from the ENG-8575 merge (583cef8d9,
10623
+ // published 2026-08-12T08:32Z). Verified against the published tarball
10624
+ // rather than inferred from the merge: `maybeScanToolCalls`,
10625
+ // `tool-call-audit` and `tool-call-path-salt` are all present in
10626
+ // package/dist/lib/manager-worker.js — the manager, which is the actual
10627
+ // reader. The dist/mcp/* occurrences are bundling artifacts, not readers.
10628
+ since: "0.28.566"
10615
10629
  },
10616
10630
  {
10617
10631
  key: "conversation-eval-backend",
@@ -11207,7 +11221,7 @@ var FLAG_REGISTRY = [
11207
11221
  // has no basis for. That is the intended pre-bisect state.
11208
11222
  //
11209
11223
  // BUT `since` IS ADVISORY, NOT A GUARD. It is read in exactly one place -
11210
- // `computeFlagReach` behind GET /admin/reach, which renders the flip-reach
11224
+ // `computeFlagReach` behind GET /flags/admin/reach?key=…, which renders the flip-reach
11211
11225
  // modal. `evaluate.ts` never reads it and neither does the override write
11212
11226
  // path. The placeholder therefore changes what an operator is TOLD; it does
11213
11227
  // not stop a flip on an under-`since` host. What actually holds the line
@@ -15801,4 +15815,4 @@ export {
15801
15815
  stopAllSessionsAndWait,
15802
15816
  getProjectDir
15803
15817
  };
15804
- //# sourceMappingURL=chunk-FSWAPB5J.js.map
15818
+ //# sourceMappingURL=chunk-7O2TXBWR.js.map