@integrity-labs/agt-cli 0.28.421 → 0.28.422

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.
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
100
100
  return { ok: true };
101
101
  } catch {
102
102
  }
103
- const { resolveClaudeBinary } = await import("./persistent-session-2OYYXMM7.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-HWCKGPYF.js");
104
104
  const claudeBin = resolveClaudeBinary();
105
105
  const pairEnv = {
106
106
  ...process.env,
@@ -373,4 +373,4 @@ export {
373
373
  startClaudePair,
374
374
  submitClaudePairCode
375
375
  };
376
- //# sourceMappingURL=claude-pair-runtime-ZTZR3VCN.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-3JHCWZZD.js.map
@@ -45,7 +45,7 @@ import {
45
45
  resolveEffectivePinRaw,
46
46
  safeWriteJsonAtomic,
47
47
  setConfigHash
48
- } from "../chunk-HVVEMQWZ.js";
48
+ } from "../chunk-6JC5YLU5.js";
49
49
  import {
50
50
  getProjectDir as getProjectDir2,
51
51
  getReadyTasks,
@@ -150,7 +150,7 @@ import {
150
150
  toOpencodeModel,
151
151
  transcriptActivityAgeSeconds,
152
152
  writeEgressAllowlist
153
- } from "../chunk-B4NX2T2H.js";
153
+ } from "../chunk-XFC7YVGS.js";
154
154
  import {
155
155
  reapOrphanChannelMcps
156
156
  } from "../chunk-XWVM4KPK.js";
@@ -9458,7 +9458,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
9458
9458
  var lastVersionCheckAt = 0;
9459
9459
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
9460
9460
  var lastResponsivenessProbeAt = 0;
9461
- var agtCliVersion = true ? "0.28.421" : "dev";
9461
+ var agtCliVersion = true ? "0.28.422" : "dev";
9462
9462
  function resolveBrewPath(execFileSync2) {
9463
9463
  try {
9464
9464
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -10606,7 +10606,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
10606
10606
  if (codeNames.length === 0) return;
10607
10607
  void (async () => {
10608
10608
  try {
10609
- const { collectDiagnostics } = await import("../persistent-session-2OYYXMM7.js");
10609
+ const { collectDiagnostics } = await import("../persistent-session-HWCKGPYF.js");
10610
10610
  await api.post("/host/heartbeat", {
10611
10611
  host_id: hostId,
10612
10612
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor)
@@ -10713,7 +10713,7 @@ async function pollCycle() {
10713
10713
  }
10714
10714
  try {
10715
10715
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
10716
- const { collectDiagnostics } = await import("../persistent-session-2OYYXMM7.js");
10716
+ const { collectDiagnostics } = await import("../persistent-session-HWCKGPYF.js");
10717
10717
  const diagCodeNames = [...agentState.persistentSessionAgents];
10718
10718
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor) : void 0;
10719
10719
  let tailscaleHostname;
@@ -10827,7 +10827,7 @@ async function pollCycle() {
10827
10827
  collectResponsivenessProbes,
10828
10828
  collectPanelessActivityProbes,
10829
10829
  getResponsivenessIntervalMs
10830
- } = await import("../responsiveness-probe-7OOA57BP.js");
10830
+ } = await import("../responsiveness-probe-4CGMUXOH.js");
10831
10831
  const probeIntervalMs = getResponsivenessIntervalMs();
10832
10832
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
10833
10833
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -10866,7 +10866,7 @@ async function pollCycle() {
10866
10866
  collectResponsivenessProbes,
10867
10867
  livePendingInboundOldestAgeSeconds,
10868
10868
  parkPendingInbound
10869
- } = await import("../responsiveness-probe-7OOA57BP.js");
10869
+ } = await import("../responsiveness-probe-4CGMUXOH.js");
10870
10870
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
10871
10871
  const wedgeNow = /* @__PURE__ */ new Date();
10872
10872
  const liveAgents = agentState.persistentSessionAgents;
@@ -14177,7 +14177,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
14177
14177
  void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
14178
14178
  void (async () => {
14179
14179
  try {
14180
- const { collectDiagnostics } = await import("../persistent-session-2OYYXMM7.js");
14180
+ const { collectDiagnostics } = await import("../persistent-session-HWCKGPYF.js");
14181
14181
  await api.post("/host/heartbeat", {
14182
14182
  host_id: hostId,
14183
14183
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
@@ -14227,7 +14227,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
14227
14227
  }
14228
14228
  try {
14229
14229
  const hostId = await getHostId();
14230
- const { collectDiagnostics } = await import("../persistent-session-2OYYXMM7.js");
14230
+ const { collectDiagnostics } = await import("../persistent-session-HWCKGPYF.js");
14231
14231
  await api.post("/host/heartbeat", {
14232
14232
  host_id: hostId,
14233
14233
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
@@ -14680,7 +14680,7 @@ async function processClaudePairSessions(agents) {
14680
14680
  killPairSession,
14681
14681
  pairTmuxSession,
14682
14682
  finalizeClaudePairOnboarding
14683
- } = await import("../claude-pair-runtime-ZTZR3VCN.js");
14683
+ } = await import("../claude-pair-runtime-3JHCWZZD.js");
14684
14684
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
14685
14685
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
14686
14686
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -34681,7 +34681,14 @@ var FLAG_REGISTRY = [
34681
34681
  envVar: "AGT_SLACK_SCHEDULED_CHANNEL_GUARD_MODE",
34682
34682
  // enforce REFUSES a send the agent asked to make - a visible availability
34683
34683
  // change, so flipping toward it is deliberate (ADR-0022 sensitive-flag confirm).
34684
- sensitive: true
34684
+ sensitive: true,
34685
+ // ENG-8149: the agt-cli that first carries resolveSlackScheduledChannelGuardMode
34686
+ // (published from the ENG-8137 merge c6ff71cd). Without this the flip-reach modal
34687
+ // reports FULL reach, because an undefined `since` means "every host can honour
34688
+ // it" - true for flags that predate the reach work, wrong for a NEW host-read
34689
+ // flag whose reader older hosts simply do not have. Excluded from
34690
+ // projectDefinition, so setting it does not roll FLAGS_SCHEMA_VERSION.
34691
+ since: "0.28.421"
34685
34692
  },
34686
34693
  {
34687
34694
  key: "slack-hot-thread-guard",
@@ -35293,6 +35300,17 @@ var FLAG_REGISTRY = [
35293
35300
  // direction - a flag-DB read error must not resurrect the mis-threading/noise the kill
35294
35301
  // fixes. Net-new gate, registry-only (ADR-0022); API-evaluated, no env materialization.
35295
35302
  defaultValue: false
35303
+ },
35304
+ {
35305
+ key: "onboarding-msteams-channel",
35306
+ description: `Offer Microsoft Teams as a selectable channel on onboarding step 3 ("which channels should your org use?", ENG-8146). OFF (default) hides the Teams option entirely: it is not rendered, not selectable, and not named in the plan-upgrade note. Turn it ON per org to restore the option for a customer who genuinely runs on Teams. Resolved SERVER-SIDE in the step-3 server component for the URL's orgId (webapp lib/feature-flags-org-server.ts), NOT via the browser public map \u2014 the client flag path evaluates at the active-org cookie, which onboarding deliberately does not pin to the org being onboarded, so a client read would resolve the wrong org for a multi-org user. Hiding the option never revokes a channel: an org that already saved msteams keeps it (step 3 carries hidden-but-saved channels through the write). Ships dark.`,
35307
+ flagType: "boolean",
35308
+ // Declared safe value is `false`: Teams hidden. `false` is also the fail-closed
35309
+ // direction - a flag-DB read error must show the narrower channel set, never
35310
+ // surface an option the operator has not deliberately turned on. Net-new gate,
35311
+ // registry-only (ADR-0022). NOT `public`: it is resolved server-side only, so it
35312
+ // must never be serialized into the browser map.
35313
+ defaultValue: false
35296
35314
  }
35297
35315
  ];
35298
35316
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
@@ -40297,7 +40297,14 @@ var FLAG_REGISTRY = [
40297
40297
  envVar: "AGT_SLACK_SCHEDULED_CHANNEL_GUARD_MODE",
40298
40298
  // enforce REFUSES a send the agent asked to make - a visible availability
40299
40299
  // change, so flipping toward it is deliberate (ADR-0022 sensitive-flag confirm).
40300
- sensitive: true
40300
+ sensitive: true,
40301
+ // ENG-8149: the agt-cli that first carries resolveSlackScheduledChannelGuardMode
40302
+ // (published from the ENG-8137 merge c6ff71cd). Without this the flip-reach modal
40303
+ // reports FULL reach, because an undefined `since` means "every host can honour
40304
+ // it" - true for flags that predate the reach work, wrong for a NEW host-read
40305
+ // flag whose reader older hosts simply do not have. Excluded from
40306
+ // projectDefinition, so setting it does not roll FLAGS_SCHEMA_VERSION.
40307
+ since: "0.28.421"
40301
40308
  },
40302
40309
  {
40303
40310
  key: "slack-hot-thread-guard",
@@ -40909,6 +40916,17 @@ var FLAG_REGISTRY = [
40909
40916
  // direction - a flag-DB read error must not resurrect the mis-threading/noise the kill
40910
40917
  // fixes. Net-new gate, registry-only (ADR-0022); API-evaluated, no env materialization.
40911
40918
  defaultValue: false
40919
+ },
40920
+ {
40921
+ key: "onboarding-msteams-channel",
40922
+ description: `Offer Microsoft Teams as a selectable channel on onboarding step 3 ("which channels should your org use?", ENG-8146). OFF (default) hides the Teams option entirely: it is not rendered, not selectable, and not named in the plan-upgrade note. Turn it ON per org to restore the option for a customer who genuinely runs on Teams. Resolved SERVER-SIDE in the step-3 server component for the URL's orgId (webapp lib/feature-flags-org-server.ts), NOT via the browser public map \u2014 the client flag path evaluates at the active-org cookie, which onboarding deliberately does not pin to the org being onboarded, so a client read would resolve the wrong org for a multi-org user. Hiding the option never revokes a channel: an org that already saved msteams keeps it (step 3 carries hidden-but-saved channels through the write). Ships dark.`,
40923
+ flagType: "boolean",
40924
+ // Declared safe value is `false`: Teams hidden. `false` is also the fail-closed
40925
+ // direction - a flag-DB read error must show the narrower channel set, never
40926
+ // surface an option the operator has not deliberately turned on. Net-new gate,
40927
+ // registry-only (ADR-0022). NOT `public`: it is resolved server-side only, so it
40928
+ // must never be serialized into the browser map.
40929
+ defaultValue: false
40912
40930
  }
40913
40931
  ];
40914
40932
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
@@ -34264,7 +34264,14 @@ var FLAG_REGISTRY = [
34264
34264
  envVar: "AGT_SLACK_SCHEDULED_CHANNEL_GUARD_MODE",
34265
34265
  // enforce REFUSES a send the agent asked to make - a visible availability
34266
34266
  // change, so flipping toward it is deliberate (ADR-0022 sensitive-flag confirm).
34267
- sensitive: true
34267
+ sensitive: true,
34268
+ // ENG-8149: the agt-cli that first carries resolveSlackScheduledChannelGuardMode
34269
+ // (published from the ENG-8137 merge c6ff71cd). Without this the flip-reach modal
34270
+ // reports FULL reach, because an undefined `since` means "every host can honour
34271
+ // it" - true for flags that predate the reach work, wrong for a NEW host-read
34272
+ // flag whose reader older hosts simply do not have. Excluded from
34273
+ // projectDefinition, so setting it does not roll FLAGS_SCHEMA_VERSION.
34274
+ since: "0.28.421"
34268
34275
  },
34269
34276
  {
34270
34277
  key: "slack-hot-thread-guard",
@@ -34876,6 +34883,17 @@ var FLAG_REGISTRY = [
34876
34883
  // direction - a flag-DB read error must not resurrect the mis-threading/noise the kill
34877
34884
  // fixes. Net-new gate, registry-only (ADR-0022); API-evaluated, no env materialization.
34878
34885
  defaultValue: false
34886
+ },
34887
+ {
34888
+ key: "onboarding-msteams-channel",
34889
+ description: `Offer Microsoft Teams as a selectable channel on onboarding step 3 ("which channels should your org use?", ENG-8146). OFF (default) hides the Teams option entirely: it is not rendered, not selectable, and not named in the plan-upgrade note. Turn it ON per org to restore the option for a customer who genuinely runs on Teams. Resolved SERVER-SIDE in the step-3 server component for the URL's orgId (webapp lib/feature-flags-org-server.ts), NOT via the browser public map \u2014 the client flag path evaluates at the active-org cookie, which onboarding deliberately does not pin to the org being onboarded, so a client read would resolve the wrong org for a multi-org user. Hiding the option never revokes a channel: an org that already saved msteams keeps it (step 3 carries hidden-but-saved channels through the write). Ships dark.`,
34890
+ flagType: "boolean",
34891
+ // Declared safe value is `false`: Teams hidden. `false` is also the fail-closed
34892
+ // direction - a flag-DB read error must show the narrower channel set, never
34893
+ // surface an option the operator has not deliberately turned on. Net-new gate,
34894
+ // registry-only (ADR-0022). NOT `public`: it is resolved server-side only, so it
34895
+ // must never be serialized into the browser map.
34896
+ defaultValue: false
34879
34897
  }
34880
34898
  ];
34881
34899
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
@@ -34566,7 +34566,14 @@ var FLAG_REGISTRY = [
34566
34566
  envVar: "AGT_SLACK_SCHEDULED_CHANNEL_GUARD_MODE",
34567
34567
  // enforce REFUSES a send the agent asked to make - a visible availability
34568
34568
  // change, so flipping toward it is deliberate (ADR-0022 sensitive-flag confirm).
34569
- sensitive: true
34569
+ sensitive: true,
34570
+ // ENG-8149: the agt-cli that first carries resolveSlackScheduledChannelGuardMode
34571
+ // (published from the ENG-8137 merge c6ff71cd). Without this the flip-reach modal
34572
+ // reports FULL reach, because an undefined `since` means "every host can honour
34573
+ // it" - true for flags that predate the reach work, wrong for a NEW host-read
34574
+ // flag whose reader older hosts simply do not have. Excluded from
34575
+ // projectDefinition, so setting it does not roll FLAGS_SCHEMA_VERSION.
34576
+ since: "0.28.421"
34570
34577
  },
34571
34578
  {
34572
34579
  key: "slack-hot-thread-guard",
@@ -35178,6 +35185,17 @@ var FLAG_REGISTRY = [
35178
35185
  // direction - a flag-DB read error must not resurrect the mis-threading/noise the kill
35179
35186
  // fixes. Net-new gate, registry-only (ADR-0022); API-evaluated, no env materialization.
35180
35187
  defaultValue: false
35188
+ },
35189
+ {
35190
+ key: "onboarding-msteams-channel",
35191
+ description: `Offer Microsoft Teams as a selectable channel on onboarding step 3 ("which channels should your org use?", ENG-8146). OFF (default) hides the Teams option entirely: it is not rendered, not selectable, and not named in the plan-upgrade note. Turn it ON per org to restore the option for a customer who genuinely runs on Teams. Resolved SERVER-SIDE in the step-3 server component for the URL's orgId (webapp lib/feature-flags-org-server.ts), NOT via the browser public map \u2014 the client flag path evaluates at the active-org cookie, which onboarding deliberately does not pin to the org being onboarded, so a client read would resolve the wrong org for a multi-org user. Hiding the option never revokes a channel: an org that already saved msteams keeps it (step 3 carries hidden-but-saved channels through the write). Ships dark.`,
35192
+ flagType: "boolean",
35193
+ // Declared safe value is `false`: Teams hidden. `false` is also the fail-closed
35194
+ // direction - a flag-DB read error must show the narrower channel set, never
35195
+ // surface an option the operator has not deliberately turned on. Net-new gate,
35196
+ // registry-only (ADR-0022). NOT `public`: it is resolved server-side only, so it
35197
+ // must never be serialized into the browser map.
35198
+ defaultValue: false
35181
35199
  }
35182
35200
  ];
35183
35201
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
@@ -36,7 +36,7 @@ import {
36
36
  writeDirectChatSessionState,
37
37
  writeEgressAllowlist,
38
38
  writePersistentClaudeWrapper
39
- } from "./chunk-B4NX2T2H.js";
39
+ } from "./chunk-XFC7YVGS.js";
40
40
  import "./chunk-XWVM4KPK.js";
41
41
  export {
42
42
  EGRESS_BASELINE_DOMAINS,
@@ -77,4 +77,4 @@ export {
77
77
  writeEgressAllowlist,
78
78
  writePersistentClaudeWrapper
79
79
  };
80
- //# sourceMappingURL=persistent-session-2OYYXMM7.js.map
80
+ //# sourceMappingURL=persistent-session-HWCKGPYF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-B4NX2T2H.js";
3
+ } from "./chunk-XFC7YVGS.js";
4
4
  import "./chunk-XWVM4KPK.js";
5
5
 
6
6
  // src/lib/responsiveness-probe.ts
@@ -471,4 +471,4 @@ export {
471
471
  readAndResetSlackReplyBindingClassifications,
472
472
  readAndResetSlackReplyTargetClassifications
473
473
  };
474
- //# sourceMappingURL=responsiveness-probe-7OOA57BP.js.map
474
+ //# sourceMappingURL=responsiveness-probe-4CGMUXOH.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.421",
3
+ "version": "0.28.422",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {