@integrity-labs/agt-cli 0.28.1133 → 0.28.1134

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.
@@ -16,7 +16,7 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-NIKSQHNB.js";
19
+ } from "./chunk-HHLP37ZS.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-TPUS37QC.js";
82
+ } from "./chunk-4V3XZBB4.js";
83
83
  import {
84
84
  classifyUnanswerablePane,
85
85
  isConsumerTermsDialogVisible,
@@ -8076,7 +8076,7 @@ function exchangeFailureKind(err) {
8076
8076
  }
8077
8077
 
8078
8078
  // src/lib/api-client.ts
8079
- var agtCliVersion = true ? "0.28.1133" : "dev";
8079
+ var agtCliVersion = true ? "0.28.1134" : "dev";
8080
8080
  var lastConfigHash = null;
8081
8081
  function setConfigHash(hash) {
8082
8082
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -13227,4 +13227,4 @@ export {
13227
13227
  managerInstallSystemUnitCommand,
13228
13228
  managerUninstallSystemUnitCommand
13229
13229
  };
13230
- //# sourceMappingURL=chunk-I7W7LI5F.js.map
13230
+ //# sourceMappingURL=chunk-DQGY7XBU.js.map
@@ -24,7 +24,7 @@ import {
24
24
  rotateDailySession,
25
25
  sessionFileExists,
26
26
  todayLocalIso
27
- } from "./chunk-TPUS37QC.js";
27
+ } from "./chunk-4V3XZBB4.js";
28
28
  import {
29
29
  classifyUnanswerablePane,
30
30
  findUsageLimitResetHint,
@@ -6114,4 +6114,4 @@ export {
6114
6114
  stopAllSessionsAndWait,
6115
6115
  getProjectDir
6116
6116
  };
6117
- //# sourceMappingURL=chunk-NIKSQHNB.js.map
6117
+ //# sourceMappingURL=chunk-HHLP37ZS.js.map
@@ -269,7 +269,7 @@ async function spawnPairSession(session) {
269
269
  return { ok: true };
270
270
  } catch {
271
271
  }
272
- const { resolveClaudeBinary } = await import("./persistent-session-JUPKKQMI.js");
272
+ const { resolveClaudeBinary } = await import("./persistent-session-MNIZPA7A.js");
273
273
  const claudeBin = resolveClaudeBinary();
274
274
  const pairEnv = {
275
275
  ...process.env,
@@ -739,4 +739,4 @@ export {
739
739
  startClaudePair,
740
740
  submitClaudePairCode
741
741
  };
742
- //# sourceMappingURL=claude-pair-runtime-VCSQQI24.js.map
742
+ //# sourceMappingURL=claude-pair-runtime-BPUAKWZY.js.map
@@ -76,7 +76,7 @@ import {
76
76
  setConfigHash,
77
77
  shellGuard,
78
78
  tripClass
79
- } from "../chunk-I7W7LI5F.js";
79
+ } from "../chunk-DQGY7XBU.js";
80
80
  import {
81
81
  getProjectDir as getProjectDir2,
82
82
  getReadyTasks,
@@ -163,7 +163,7 @@ import {
163
163
  webFetchBaselineValue,
164
164
  webFetchRestartNeeded,
165
165
  writeEgressAllowlist
166
- } from "../chunk-NIKSQHNB.js";
166
+ } from "../chunk-HHLP37ZS.js";
167
167
  import {
168
168
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
169
169
  AnchorSessionClient,
@@ -274,7 +274,7 @@ import {
274
274
  subagentActivityAgeSeconds,
275
275
  sumTranscriptUsageInWindow,
276
276
  transcriptActivityAgeSeconds
277
- } from "../chunk-TPUS37QC.js";
277
+ } from "../chunk-4V3XZBB4.js";
278
278
  import {
279
279
  classifyUnanswerablePane,
280
280
  focusedConfirmDialogBlock,
@@ -14491,7 +14491,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
14491
14491
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
14492
14492
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
14493
14493
  async function channelInboundActivityAgeSecondsFor(codeName) {
14494
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-IOJU24OH.js");
14494
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-TJDREI5P.js");
14495
14495
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
14496
14496
  if (newest === null) return null;
14497
14497
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -15249,7 +15249,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
15249
15249
  var lastVersionCheckAt = 0;
15250
15250
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
15251
15251
  var lastResponsivenessProbeAt = 0;
15252
- var agtCliVersion = true ? "0.28.1133" : "dev";
15252
+ var agtCliVersion = true ? "0.28.1134" : "dev";
15253
15253
  function resolveBrewPath(execFileSync3) {
15254
15254
  try {
15255
15255
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -16879,7 +16879,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
16879
16879
  if (codeNames.length === 0) return;
16880
16880
  void (async () => {
16881
16881
  try {
16882
- const { collectDiagnostics } = await import("../persistent-session-JUPKKQMI.js");
16882
+ const { collectDiagnostics } = await import("../persistent-session-MNIZPA7A.js");
16883
16883
  await api.post("/host/heartbeat", {
16884
16884
  host_id: hostId,
16885
16885
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -17021,7 +17021,7 @@ async function pollCycleInner() {
17021
17021
  }
17022
17022
  try {
17023
17023
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
17024
- const { collectDiagnostics } = await import("../persistent-session-JUPKKQMI.js");
17024
+ const { collectDiagnostics } = await import("../persistent-session-MNIZPA7A.js");
17025
17025
  const diagCodeNames = [...agentState.persistentSessionAgents];
17026
17026
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
17027
17027
  let tailscaleHostname;
@@ -17229,7 +17229,7 @@ async function pollCycleInner() {
17229
17229
  collectPanelessActivityProbes,
17230
17230
  getResponsivenessIntervalMs,
17231
17231
  occupancyQualificationClassifications
17232
- } = await import("../responsiveness-probe-IOJU24OH.js");
17232
+ } = await import("../responsiveness-probe-TJDREI5P.js");
17233
17233
  const probeIntervalMs = getResponsivenessIntervalMs();
17234
17234
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
17235
17235
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -17346,7 +17346,7 @@ async function pollCycleInner() {
17346
17346
  collectResponsivenessProbes,
17347
17347
  livePendingInboundOldestAgeSeconds,
17348
17348
  parkPendingInbound
17349
- } = await import("../responsiveness-probe-IOJU24OH.js");
17349
+ } = await import("../responsiveness-probe-TJDREI5P.js");
17350
17350
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
17351
17351
  const wedgeNow = /* @__PURE__ */ new Date();
17352
17352
  const liveAgents = agentState.persistentSessionAgents;
@@ -17632,7 +17632,7 @@ async function pollCycleInner() {
17632
17632
  }
17633
17633
  }
17634
17634
  );
17635
- const { parkPendingInbound } = await import("../responsiveness-probe-IOJU24OH.js");
17635
+ const { parkPendingInbound } = await import("../responsiveness-probe-TJDREI5P.js");
17636
17636
  const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
17637
17637
  paneFatalStreak.delete(codeName);
17638
17638
  paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
@@ -17663,7 +17663,7 @@ async function pollCycleInner() {
17663
17663
  TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
17664
17664
  bindSourceEscalations
17665
17665
  } = await import("../transcript-mount-health-OHE6IVJV.js");
17666
- const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-JUPKKQMI.js");
17666
+ const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-MNIZPA7A.js");
17667
17667
  const mountConfig = resolveTranscriptMountConfig();
17668
17668
  const liveAgents = agentState.persistentSessionAgents;
17669
17669
  for (const tracked of [
@@ -17828,7 +17828,7 @@ async function pollCycleInner() {
17828
17828
  }
17829
17829
  try {
17830
17830
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
17831
- const { probeSessionAuth } = await import("../session-auth-dead-5QPG3HCJ.js");
17831
+ const { probeSessionAuth } = await import("../session-auth-dead-WO7TZ2GV.js");
17832
17832
  const observations = [];
17833
17833
  const pendingCacheCommits = [];
17834
17834
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -22423,7 +22423,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
22423
22423
  try {
22424
22424
  const freshId = rotateSessionForWedge(codeName);
22425
22425
  consecutiveWedgeCycles.delete(codeName);
22426
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-IOJU24OH.js");
22426
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-TJDREI5P.js");
22427
22427
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
22428
22428
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
22429
22429
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -22466,7 +22466,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
22466
22466
  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}`));
22467
22467
  void (async () => {
22468
22468
  try {
22469
- const { collectDiagnostics } = await import("../persistent-session-JUPKKQMI.js");
22469
+ const { collectDiagnostics } = await import("../persistent-session-MNIZPA7A.js");
22470
22470
  await api.post("/host/heartbeat", {
22471
22471
  host_id: hostId,
22472
22472
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -22517,7 +22517,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
22517
22517
  }
22518
22518
  try {
22519
22519
  const hostId = await getHostId();
22520
- const { collectDiagnostics } = await import("../persistent-session-JUPKKQMI.js");
22520
+ const { collectDiagnostics } = await import("../persistent-session-MNIZPA7A.js");
22521
22521
  await api.post("/host/heartbeat", {
22522
22522
  host_id: hostId,
22523
22523
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -23190,7 +23190,7 @@ async function processClaudePairSessions(agents) {
23190
23190
  // cannot take it for itself — by the time it runs, the write it is looking
23191
23191
  // for may already have happened.
23192
23192
  snapshotPairConfig
23193
- } = await import("../claude-pair-runtime-VCSQQI24.js");
23193
+ } = await import("../claude-pair-runtime-BPUAKWZY.js");
23194
23194
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
23195
23195
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
23196
23196
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -40491,7 +40491,27 @@ var INTEGRATION_REGISTRY = [
40491
40491
  // price. Flare holds gpt-image-2's rate (it is the lower-latency
40492
40492
  // successor at the same cost to us); Sunburst is seeded at 4x.
40493
40493
  { event_type: "gpt_image_2_5_flare", unit: "image" },
40494
- { event_type: "gpt_image_2_5_sunburst", unit: "image" }
40494
+ { event_type: "gpt_image_2_5_sunburst", unit: "image" },
40495
+ // CS-1940: an edit also records one of these with units = the number of
40496
+ // reference images. Declared here (obi-wan 3a515eaf41b0) because the admin
40497
+ // pricing route only accepts a price for a declared meter, and the org
40498
+ // settings list and opt-in modal only show declared meters. Undeclared,
40499
+ // the edit price gate could not be opened from the console and a priced
40500
+ // edit would bill on a meter no customer surface showed. The edit gate
40501
+ // stays shut until each of these has a rate card row in BOTH USD and AUD
40502
+ // (settlement prices in the org's billing currency).
40503
+ {
40504
+ event_type: "gpt_image_2_5_flare_edit_input",
40505
+ unit: "reference_image",
40506
+ label: "Flare edit input",
40507
+ unit_label: "reference image"
40508
+ },
40509
+ {
40510
+ event_type: "gpt_image_2_5_sunburst_edit_input",
40511
+ unit: "reference_image",
40512
+ label: "Sunburst edit input",
40513
+ unit_label: "reference image"
40514
+ }
40495
40515
  ]
40496
40516
  }
40497
40517
  },
package/dist/mcp/index.js CHANGED
@@ -26516,7 +26516,27 @@ var INTEGRATION_REGISTRY = [
26516
26516
  // price. Flare holds gpt-image-2's rate (it is the lower-latency
26517
26517
  // successor at the same cost to us); Sunburst is seeded at 4x.
26518
26518
  { event_type: "gpt_image_2_5_flare", unit: "image" },
26519
- { event_type: "gpt_image_2_5_sunburst", unit: "image" }
26519
+ { event_type: "gpt_image_2_5_sunburst", unit: "image" },
26520
+ // CS-1940: an edit also records one of these with units = the number of
26521
+ // reference images. Declared here (obi-wan 3a515eaf41b0) because the admin
26522
+ // pricing route only accepts a price for a declared meter, and the org
26523
+ // settings list and opt-in modal only show declared meters. Undeclared,
26524
+ // the edit price gate could not be opened from the console and a priced
26525
+ // edit would bill on a meter no customer surface showed. The edit gate
26526
+ // stays shut until each of these has a rate card row in BOTH USD and AUD
26527
+ // (settlement prices in the org's billing currency).
26528
+ {
26529
+ event_type: "gpt_image_2_5_flare_edit_input",
26530
+ unit: "reference_image",
26531
+ label: "Flare edit input",
26532
+ unit_label: "reference image"
26533
+ },
26534
+ {
26535
+ event_type: "gpt_image_2_5_sunburst_edit_input",
26536
+ unit: "reference_image",
26537
+ label: "Sunburst edit input",
26538
+ unit_label: "reference image"
26539
+ }
26520
26540
  ]
26521
26541
  }
26522
26542
  },
@@ -40648,7 +40648,27 @@ var INTEGRATION_REGISTRY = [
40648
40648
  // price. Flare holds gpt-image-2's rate (it is the lower-latency
40649
40649
  // successor at the same cost to us); Sunburst is seeded at 4x.
40650
40650
  { event_type: "gpt_image_2_5_flare", unit: "image" },
40651
- { event_type: "gpt_image_2_5_sunburst", unit: "image" }
40651
+ { event_type: "gpt_image_2_5_sunburst", unit: "image" },
40652
+ // CS-1940: an edit also records one of these with units = the number of
40653
+ // reference images. Declared here (obi-wan 3a515eaf41b0) because the admin
40654
+ // pricing route only accepts a price for a declared meter, and the org
40655
+ // settings list and opt-in modal only show declared meters. Undeclared,
40656
+ // the edit price gate could not be opened from the console and a priced
40657
+ // edit would bill on a meter no customer surface showed. The edit gate
40658
+ // stays shut until each of these has a rate card row in BOTH USD and AUD
40659
+ // (settlement prices in the org's billing currency).
40660
+ {
40661
+ event_type: "gpt_image_2_5_flare_edit_input",
40662
+ unit: "reference_image",
40663
+ label: "Flare edit input",
40664
+ unit_label: "reference image"
40665
+ },
40666
+ {
40667
+ event_type: "gpt_image_2_5_sunburst_edit_input",
40668
+ unit: "reference_image",
40669
+ label: "Sunburst edit input",
40670
+ unit_label: "reference image"
40671
+ }
40652
40672
  ]
40653
40673
  }
40654
40674
  },
@@ -35035,7 +35035,27 @@ var INTEGRATION_REGISTRY = [
35035
35035
  // price. Flare holds gpt-image-2's rate (it is the lower-latency
35036
35036
  // successor at the same cost to us); Sunburst is seeded at 4x.
35037
35037
  { event_type: "gpt_image_2_5_flare", unit: "image" },
35038
- { event_type: "gpt_image_2_5_sunburst", unit: "image" }
35038
+ { event_type: "gpt_image_2_5_sunburst", unit: "image" },
35039
+ // CS-1940: an edit also records one of these with units = the number of
35040
+ // reference images. Declared here (obi-wan 3a515eaf41b0) because the admin
35041
+ // pricing route only accepts a price for a declared meter, and the org
35042
+ // settings list and opt-in modal only show declared meters. Undeclared,
35043
+ // the edit price gate could not be opened from the console and a priced
35044
+ // edit would bill on a meter no customer surface showed. The edit gate
35045
+ // stays shut until each of these has a rate card row in BOTH USD and AUD
35046
+ // (settlement prices in the org's billing currency).
35047
+ {
35048
+ event_type: "gpt_image_2_5_flare_edit_input",
35049
+ unit: "reference_image",
35050
+ label: "Flare edit input",
35051
+ unit_label: "reference image"
35052
+ },
35053
+ {
35054
+ event_type: "gpt_image_2_5_sunburst_edit_input",
35055
+ unit: "reference_image",
35056
+ label: "Sunburst edit input",
35057
+ unit_label: "reference image"
35058
+ }
35039
35059
  ]
35040
35060
  }
35041
35061
  },
@@ -35269,7 +35269,27 @@ var INTEGRATION_REGISTRY = [
35269
35269
  // price. Flare holds gpt-image-2's rate (it is the lower-latency
35270
35270
  // successor at the same cost to us); Sunburst is seeded at 4x.
35271
35271
  { event_type: "gpt_image_2_5_flare", unit: "image" },
35272
- { event_type: "gpt_image_2_5_sunburst", unit: "image" }
35272
+ { event_type: "gpt_image_2_5_sunburst", unit: "image" },
35273
+ // CS-1940: an edit also records one of these with units = the number of
35274
+ // reference images. Declared here (obi-wan 3a515eaf41b0) because the admin
35275
+ // pricing route only accepts a price for a declared meter, and the org
35276
+ // settings list and opt-in modal only show declared meters. Undeclared,
35277
+ // the edit price gate could not be opened from the console and a priced
35278
+ // edit would bill on a meter no customer surface showed. The edit gate
35279
+ // stays shut until each of these has a rate card row in BOTH USD and AUD
35280
+ // (settlement prices in the org's billing currency).
35281
+ {
35282
+ event_type: "gpt_image_2_5_flare_edit_input",
35283
+ unit: "reference_image",
35284
+ label: "Flare edit input",
35285
+ unit_label: "reference image"
35286
+ },
35287
+ {
35288
+ event_type: "gpt_image_2_5_sunburst_edit_input",
35289
+ unit: "reference_image",
35290
+ label: "Sunburst edit input",
35291
+ unit_label: "reference image"
35292
+ }
35273
35293
  ]
35274
35294
  }
35275
35295
  },
@@ -68,8 +68,8 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-NIKSQHNB.js";
72
- import "./chunk-TPUS37QC.js";
71
+ } from "./chunk-HHLP37ZS.js";
72
+ import "./chunk-4V3XZBB4.js";
73
73
  import "./chunk-B6UYVEMD.js";
74
74
  import "./chunk-XWVM4KPK.js";
75
75
  import "./chunk-EL5MWGGH.js";
@@ -145,4 +145,4 @@ export {
145
145
  writeEgressAllowlist,
146
146
  writePersistentClaudeWrapper
147
147
  };
148
- //# sourceMappingURL=persistent-session-JUPKKQMI.js.map
148
+ //# sourceMappingURL=persistent-session-MNIZPA7A.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-NIKSQHNB.js";
4
- import "./chunk-TPUS37QC.js";
3
+ } from "./chunk-HHLP37ZS.js";
4
+ import "./chunk-4V3XZBB4.js";
5
5
  import "./chunk-B6UYVEMD.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-IOJU24OH.js.map
805
+ //# sourceMappingURL=responsiveness-probe-TJDREI5P.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-TPUS37QC.js";
3
+ } from "./chunk-4V3XZBB4.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-5QPG3HCJ.js.map
207
+ //# sourceMappingURL=session-auth-dead-WO7TZ2GV.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1133",
3
+ "version": "0.28.1134",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {