@integrity-labs/agt-cli 0.28.1046 → 0.28.1047

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.
@@ -23,7 +23,7 @@ import {
23
23
  rotateDailySession,
24
24
  sessionFileExists,
25
25
  todayLocalIso
26
- } from "./chunk-46YPCLWA.js";
26
+ } from "./chunk-5GCYYWKW.js";
27
27
  import {
28
28
  classifyUnanswerablePane,
29
29
  findUsageLimitResetHint,
@@ -5984,4 +5984,4 @@ export {
5984
5984
  stopAllSessionsAndWait,
5985
5985
  getProjectDir
5986
5986
  };
5987
- //# sourceMappingURL=chunk-TAINRP4T.js.map
5987
+ //# sourceMappingURL=chunk-QGUJSDN3.js.map
@@ -266,7 +266,7 @@ async function spawnPairSession(session) {
266
266
  return { ok: true };
267
267
  } catch {
268
268
  }
269
- const { resolveClaudeBinary } = await import("./persistent-session-VZANOGV5.js");
269
+ const { resolveClaudeBinary } = await import("./persistent-session-X3C3R22F.js");
270
270
  const claudeBin = resolveClaudeBinary();
271
271
  const pairEnv = {
272
272
  ...process.env,
@@ -734,4 +734,4 @@ export {
734
734
  startClaudePair,
735
735
  submitClaudePairCode
736
736
  };
737
- //# sourceMappingURL=claude-pair-runtime-OWDSHL6M.js.map
737
+ //# sourceMappingURL=claude-pair-runtime-TOHT7XVN.js.map
@@ -66,7 +66,7 @@ import {
66
66
  safeWriteJsonAtomic,
67
67
  setConfigHash,
68
68
  tripClass
69
- } from "../chunk-5W7ZBCWC.js";
69
+ } from "../chunk-2DUVDY2Y.js";
70
70
  import {
71
71
  getProjectDir as getProjectDir2,
72
72
  getReadyTasks,
@@ -149,7 +149,7 @@ import {
149
149
  takeZombieDetection,
150
150
  toOpencodeModel,
151
151
  writeEgressAllowlist
152
- } from "../chunk-TAINRP4T.js";
152
+ } from "../chunk-QGUJSDN3.js";
153
153
  import {
154
154
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
155
155
  AnchorSessionClient,
@@ -254,7 +254,7 @@ import {
254
254
  subagentActivityAgeSeconds,
255
255
  sumTranscriptUsageInWindow,
256
256
  transcriptActivityAgeSeconds
257
- } from "../chunk-46YPCLWA.js";
257
+ } from "../chunk-5GCYYWKW.js";
258
258
  import {
259
259
  classifyUnanswerablePane,
260
260
  paneRemedy
@@ -13931,7 +13931,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13931
13931
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13932
13932
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13933
13933
  async function channelInboundActivityAgeSecondsFor(codeName) {
13934
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-Z3K7LFCV.js");
13934
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-E23YHRUT.js");
13935
13935
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13936
13936
  if (newest === null) return null;
13937
13937
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -14677,7 +14677,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
14677
14677
  var lastVersionCheckAt = 0;
14678
14678
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
14679
14679
  var lastResponsivenessProbeAt = 0;
14680
- var agtCliVersion = true ? "0.28.1046" : "dev";
14680
+ var agtCliVersion = true ? "0.28.1047" : "dev";
14681
14681
  function resolveBrewPath(execFileSync3) {
14682
14682
  try {
14683
14683
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -16312,7 +16312,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
16312
16312
  if (codeNames.length === 0) return;
16313
16313
  void (async () => {
16314
16314
  try {
16315
- const { collectDiagnostics } = await import("../persistent-session-VZANOGV5.js");
16315
+ const { collectDiagnostics } = await import("../persistent-session-X3C3R22F.js");
16316
16316
  await api.post("/host/heartbeat", {
16317
16317
  host_id: hostId,
16318
16318
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -16454,7 +16454,7 @@ async function pollCycleInner() {
16454
16454
  }
16455
16455
  try {
16456
16456
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
16457
- const { collectDiagnostics } = await import("../persistent-session-VZANOGV5.js");
16457
+ const { collectDiagnostics } = await import("../persistent-session-X3C3R22F.js");
16458
16458
  const diagCodeNames = [...agentState.persistentSessionAgents];
16459
16459
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
16460
16460
  let tailscaleHostname;
@@ -16630,7 +16630,7 @@ async function pollCycleInner() {
16630
16630
  collectPanelessActivityProbes,
16631
16631
  getResponsivenessIntervalMs,
16632
16632
  occupancyQualificationClassifications
16633
- } = await import("../responsiveness-probe-Z3K7LFCV.js");
16633
+ } = await import("../responsiveness-probe-E23YHRUT.js");
16634
16634
  const probeIntervalMs = getResponsivenessIntervalMs();
16635
16635
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
16636
16636
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -16747,7 +16747,7 @@ async function pollCycleInner() {
16747
16747
  collectResponsivenessProbes,
16748
16748
  livePendingInboundOldestAgeSeconds,
16749
16749
  parkPendingInbound
16750
- } = await import("../responsiveness-probe-Z3K7LFCV.js");
16750
+ } = await import("../responsiveness-probe-E23YHRUT.js");
16751
16751
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
16752
16752
  const wedgeNow = /* @__PURE__ */ new Date();
16753
16753
  const liveAgents = agentState.persistentSessionAgents;
@@ -16903,7 +16903,7 @@ async function pollCycleInner() {
16903
16903
  }
16904
16904
  try {
16905
16905
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
16906
- const { probeSessionAuth } = await import("../session-auth-dead-3NF6MPSR.js");
16906
+ const { probeSessionAuth } = await import("../session-auth-dead-WCUXKBHP.js");
16907
16907
  const observations = [];
16908
16908
  const pendingCacheCommits = [];
16909
16909
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -21446,7 +21446,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21446
21446
  try {
21447
21447
  const freshId = rotateSessionForWedge(codeName);
21448
21448
  consecutiveWedgeCycles.delete(codeName);
21449
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-Z3K7LFCV.js");
21449
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-E23YHRUT.js");
21450
21450
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
21451
21451
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
21452
21452
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -21489,7 +21489,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21489
21489
  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}`));
21490
21490
  void (async () => {
21491
21491
  try {
21492
- const { collectDiagnostics } = await import("../persistent-session-VZANOGV5.js");
21492
+ const { collectDiagnostics } = await import("../persistent-session-X3C3R22F.js");
21493
21493
  await api.post("/host/heartbeat", {
21494
21494
  host_id: hostId,
21495
21495
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -21540,7 +21540,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
21540
21540
  }
21541
21541
  try {
21542
21542
  const hostId = await getHostId();
21543
- const { collectDiagnostics } = await import("../persistent-session-VZANOGV5.js");
21543
+ const { collectDiagnostics } = await import("../persistent-session-X3C3R22F.js");
21544
21544
  await api.post("/host/heartbeat", {
21545
21545
  host_id: hostId,
21546
21546
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -22212,7 +22212,7 @@ async function processClaudePairSessions(agents) {
22212
22212
  // cannot take it for itself — by the time it runs, the write it is looking
22213
22213
  // for may already have happened.
22214
22214
  snapshotPairConfig
22215
- } = await import("../claude-pair-runtime-OWDSHL6M.js");
22215
+ } = await import("../claude-pair-runtime-TOHT7XVN.js");
22216
22216
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
22217
22217
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
22218
22218
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -36564,6 +36564,15 @@ var FLAG_REGISTRY = [
36564
36564
  flagType: "boolean",
36565
36565
  defaultValue: false
36566
36566
  },
36567
+ {
36568
+ key: "live-team-only-default",
36569
+ 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.",
36570
+ flagType: "boolean",
36571
+ defaultValue: false,
36572
+ // An org owner/admin must not arm a confidentiality default before the edge
36573
+ // can enforce it (ENG-11150); the ADR-0120 / ninja-lists precedent.
36574
+ platformAdminOnly: true
36575
+ },
36567
36576
  {
36568
36577
  key: "integration-multi-connection",
36569
36578
  description: "Allow adding a SECOND+ connection of one managed integration on the same agent (ENG-7543 / ADR-0045 Phase 3), discriminated by connection_key (e.g. two Gmail mailboxes). When OFF, only the default connection can be created (today's behaviour: a duplicate 409s). Gates 2nd-connection CREATION only; runtime N-server surfacing is a later phase. Evaluated per-org. Additive capability, not an enforcement control. Boolean gate; ships dark.",
package/dist/mcp/index.js CHANGED
@@ -28895,6 +28895,15 @@ var FLAG_REGISTRY = [
28895
28895
  flagType: "boolean",
28896
28896
  defaultValue: false
28897
28897
  },
28898
+ {
28899
+ key: "live-team-only-default",
28900
+ 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.",
28901
+ flagType: "boolean",
28902
+ defaultValue: false,
28903
+ // An org owner/admin must not arm a confidentiality default before the edge
28904
+ // can enforce it (ENG-11150); the ADR-0120 / ninja-lists precedent.
28905
+ platformAdminOnly: true
28906
+ },
28898
28907
  {
28899
28908
  key: "integration-multi-connection",
28900
28909
  description: "Allow adding a SECOND+ connection of one managed integration on the same agent (ENG-7543 / ADR-0045 Phase 3), discriminated by connection_key (e.g. two Gmail mailboxes). When OFF, only the default connection can be created (today's behaviour: a duplicate 409s). Gates 2nd-connection CREATION only; runtime N-server surfacing is a later phase. Evaluated per-org. Additive capability, not an enforcement control. Boolean gate; ships dark.",
@@ -42809,6 +42809,15 @@ var FLAG_REGISTRY = [
42809
42809
  flagType: "boolean",
42810
42810
  defaultValue: false
42811
42811
  },
42812
+ {
42813
+ key: "live-team-only-default",
42814
+ 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.",
42815
+ flagType: "boolean",
42816
+ defaultValue: false,
42817
+ // An org owner/admin must not arm a confidentiality default before the edge
42818
+ // can enforce it (ENG-11150); the ADR-0120 / ninja-lists precedent.
42819
+ platformAdminOnly: true
42820
+ },
42812
42821
  {
42813
42822
  key: "integration-multi-connection",
42814
42823
  description: "Allow adding a SECOND+ connection of one managed integration on the same agent (ENG-7543 / ADR-0045 Phase 3), discriminated by connection_key (e.g. two Gmail mailboxes). When OFF, only the default connection can be created (today's behaviour: a duplicate 409s). Gates 2nd-connection CREATION only; runtime N-server surfacing is a later phase. Evaluated per-org. Additive capability, not an enforcement control. Boolean gate; ships dark.",
@@ -37448,6 +37448,15 @@ var FLAG_REGISTRY = [
37448
37448
  flagType: "boolean",
37449
37449
  defaultValue: false
37450
37450
  },
37451
+ {
37452
+ key: "live-team-only-default",
37453
+ 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.",
37454
+ flagType: "boolean",
37455
+ defaultValue: false,
37456
+ // An org owner/admin must not arm a confidentiality default before the edge
37457
+ // can enforce it (ENG-11150); the ADR-0120 / ninja-lists precedent.
37458
+ platformAdminOnly: true
37459
+ },
37451
37460
  {
37452
37461
  key: "integration-multi-connection",
37453
37462
  description: "Allow adding a SECOND+ connection of one managed integration on the same agent (ENG-7543 / ADR-0045 Phase 3), discriminated by connection_key (e.g. two Gmail mailboxes). When OFF, only the default connection can be created (today's behaviour: a duplicate 409s). Gates 2nd-connection CREATION only; runtime N-server surfacing is a later phase. Evaluated per-org. Additive capability, not an enforcement control. Boolean gate; ships dark.",
@@ -37554,6 +37554,15 @@ var FLAG_REGISTRY = [
37554
37554
  flagType: "boolean",
37555
37555
  defaultValue: false
37556
37556
  },
37557
+ {
37558
+ key: "live-team-only-default",
37559
+ 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.",
37560
+ flagType: "boolean",
37561
+ defaultValue: false,
37562
+ // An org owner/admin must not arm a confidentiality default before the edge
37563
+ // can enforce it (ENG-11150); the ADR-0120 / ninja-lists precedent.
37564
+ platformAdminOnly: true
37565
+ },
37557
37566
  {
37558
37567
  key: "integration-multi-connection",
37559
37568
  description: "Allow adding a SECOND+ connection of one managed integration on the same agent (ENG-7543 / ADR-0045 Phase 3), discriminated by connection_key (e.g. two Gmail mailboxes). When OFF, only the default connection can be created (today's behaviour: a duplicate 409s). Gates 2nd-connection CREATION only; runtime N-server surfacing is a later phase. Evaluated per-org. Additive capability, not an enforcement control. Boolean gate; ships dark.",
@@ -65,8 +65,8 @@ import {
65
65
  writeDirectChatSessionState,
66
66
  writeEgressAllowlist,
67
67
  writePersistentClaudeWrapper
68
- } from "./chunk-TAINRP4T.js";
69
- import "./chunk-46YPCLWA.js";
68
+ } from "./chunk-QGUJSDN3.js";
69
+ import "./chunk-5GCYYWKW.js";
70
70
  import "./chunk-TQDIIS3X.js";
71
71
  import "./chunk-XWVM4KPK.js";
72
72
  import "./chunk-EL5MWGGH.js";
@@ -139,4 +139,4 @@ export {
139
139
  writeEgressAllowlist,
140
140
  writePersistentClaudeWrapper
141
141
  };
142
- //# sourceMappingURL=persistent-session-VZANOGV5.js.map
142
+ //# sourceMappingURL=persistent-session-X3C3R22F.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-TAINRP4T.js";
4
- import "./chunk-46YPCLWA.js";
3
+ } from "./chunk-QGUJSDN3.js";
4
+ import "./chunk-5GCYYWKW.js";
5
5
  import "./chunk-TQDIIS3X.js";
6
6
  import "./chunk-XWVM4KPK.js";
7
7
  import "./chunk-EL5MWGGH.js";
@@ -802,4 +802,4 @@ export {
802
802
  readAndResetSlackReplyBindingClassifications,
803
803
  readAndResetSlackReplyTargetClassifications
804
804
  };
805
- //# sourceMappingURL=responsiveness-probe-Z3K7LFCV.js.map
805
+ //# sourceMappingURL=responsiveness-probe-E23YHRUT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-46YPCLWA.js";
3
+ } from "./chunk-5GCYYWKW.js";
4
4
  import "./chunk-DGUM43GV.js";
5
5
 
6
6
  // src/lib/session-auth-dead.ts
@@ -204,4 +204,4 @@ export {
204
204
  decideSessionAuthState,
205
205
  probeSessionAuth
206
206
  };
207
- //# sourceMappingURL=session-auth-dead-3NF6MPSR.js.map
207
+ //# sourceMappingURL=session-auth-dead-WCUXKBHP.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1046",
3
+ "version": "0.28.1047",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {