@integrity-labs/agt-cli 0.28.265 → 0.28.266

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-K5RJ4BVF.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-FGGXFAJH.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-YZ2PGUW3.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-CXIVEO6R.js.map
@@ -37,7 +37,7 @@ import {
37
37
  requireHost,
38
38
  safeWriteJsonAtomic,
39
39
  setConfigHash
40
- } from "../chunk-PDE3XSVC.js";
40
+ } from "../chunk-Z5YUBTSG.js";
41
41
  import {
42
42
  getProjectDir as getProjectDir2,
43
43
  getReadyTasks,
@@ -122,7 +122,7 @@ import {
122
122
  takeZombieDetection,
123
123
  transcriptActivityAgeSeconds,
124
124
  writeEgressAllowlist
125
- } from "../chunk-MWKR6B3T.js";
125
+ } from "../chunk-GBVZDTCB.js";
126
126
  import {
127
127
  reapOrphanChannelMcps
128
128
  } from "../chunk-XWVM4KPK.js";
@@ -6699,7 +6699,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6699
6699
  var lastVersionCheckAt = 0;
6700
6700
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6701
6701
  var lastResponsivenessProbeAt = 0;
6702
- var agtCliVersion = true ? "0.28.265" : "dev";
6702
+ var agtCliVersion = true ? "0.28.266" : "dev";
6703
6703
  function resolveBrewPath(execFileSync2) {
6704
6704
  try {
6705
6705
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -7549,7 +7549,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
7549
7549
  if (codeNames.length === 0) return;
7550
7550
  void (async () => {
7551
7551
  try {
7552
- const { collectDiagnostics } = await import("../persistent-session-K5RJ4BVF.js");
7552
+ const { collectDiagnostics } = await import("../persistent-session-FGGXFAJH.js");
7553
7553
  await api.post("/host/heartbeat", {
7554
7554
  host_id: hostId,
7555
7555
  agent_diagnostics: collectDiagnostics(codeNames)
@@ -7647,7 +7647,7 @@ async function pollCycle() {
7647
7647
  }
7648
7648
  try {
7649
7649
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
7650
- const { collectDiagnostics } = await import("../persistent-session-K5RJ4BVF.js");
7650
+ const { collectDiagnostics } = await import("../persistent-session-FGGXFAJH.js");
7651
7651
  const diagCodeNames = [...agentState.persistentSessionAgents];
7652
7652
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
7653
7653
  let tailscaleHostname;
@@ -7795,7 +7795,7 @@ async function pollCycle() {
7795
7795
  const {
7796
7796
  collectResponsivenessProbes,
7797
7797
  getResponsivenessIntervalMs
7798
- } = await import("../responsiveness-probe-2PHY7QKJ.js");
7798
+ } = await import("../responsiveness-probe-2734PYS6.js");
7799
7799
  const probeIntervalMs = getResponsivenessIntervalMs();
7800
7800
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
7801
7801
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -7827,7 +7827,7 @@ async function pollCycle() {
7827
7827
  collectResponsivenessProbes,
7828
7828
  livePendingInboundOldestAgeSeconds,
7829
7829
  parkPendingInbound
7830
- } = await import("../responsiveness-probe-2PHY7QKJ.js");
7830
+ } = await import("../responsiveness-probe-2734PYS6.js");
7831
7831
  const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
7832
7832
  const wedgeNow = /* @__PURE__ */ new Date();
7833
7833
  const liveAgents = agentState.persistentSessionAgents;
@@ -10671,7 +10671,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
10671
10671
  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}`));
10672
10672
  void (async () => {
10673
10673
  try {
10674
- const { collectDiagnostics } = await import("../persistent-session-K5RJ4BVF.js");
10674
+ const { collectDiagnostics } = await import("../persistent-session-FGGXFAJH.js");
10675
10675
  await api.post("/host/heartbeat", {
10676
10676
  host_id: hostId,
10677
10677
  agent_diagnostics: collectDiagnostics([codeName])
@@ -10721,7 +10721,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
10721
10721
  }
10722
10722
  try {
10723
10723
  const hostId = await getHostId();
10724
- const { collectDiagnostics } = await import("../persistent-session-K5RJ4BVF.js");
10724
+ const { collectDiagnostics } = await import("../persistent-session-FGGXFAJH.js");
10725
10725
  await api.post("/host/heartbeat", {
10726
10726
  host_id: hostId,
10727
10727
  agent_diagnostics: collectDiagnostics([codeName])
@@ -11112,7 +11112,7 @@ async function processClaudePairSessions(agents) {
11112
11112
  killPairSession,
11113
11113
  pairTmuxSession,
11114
11114
  finalizeClaudePairOnboarding
11115
- } = await import("../claude-pair-runtime-YZ2PGUW3.js");
11115
+ } = await import("../claude-pair-runtime-CXIVEO6R.js");
11116
11116
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
11117
11117
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
11118
11118
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -38735,6 +38735,40 @@ var INTEGRATION_REGISTRY = [
38735
38735
  ]
38736
38736
  }
38737
38737
  },
38738
+ {
38739
+ id: "image-gen",
38740
+ name: "Image Generation",
38741
+ category: "media",
38742
+ description: "AI image generation for Augmented Live pages. An agent authoring a page passes a text prompt (agt_live.generate_image) and gets back a generated raster image, stored on the page asset CDN so there is no image to source or host. Augmented Team manages the model access for you - there is no key to enter. Generation runs through the Vercel AI Gateway (OpenAI gpt-image-2 today). It is a PREMIUM, usage-billed capability, separate from Augmented Live text and audio: gated on a per-org opt-in and a monthly USD budget, and metered per generated image.",
38743
+ // No vendor key to enter: Augmented owns the shared Vercel AI Gateway virtual
38744
+ // key (AI_GATEWAY_API_KEY) that fronts the image providers, so auth is `none`
38745
+ // (customers never enter a key), same as ElevenLabs.
38746
+ supported_auth_types: ["none"],
38747
+ capabilities: [
38748
+ { id: "image-gen:generate", name: "Generate Image", description: "Generate a raster image from a text prompt for an Augmented Live page (agt_live.generate_image)", access: "write" }
38749
+ ],
38750
+ docs_url: "https://platform.openai.com/docs/guides/images",
38751
+ beta: true,
38752
+ // ENG-7472: premium (billable). Image gen bills back to Augmented's shared
38753
+ // Vercel AI Gateway key and is usage-priced per generated image, so it is gated
38754
+ // on a per-org opt-in (isOrgEntitledToPremium) + a per-org monthly USD budget,
38755
+ // and metered on integration_usage_events. This budget is PER-ORG, distinct
38756
+ // from the gateway key's own global per-key cap. Pricing lives in
38757
+ // integration_rate_cards; this only declares the priced model(s).
38758
+ //
38759
+ // event_type is per MODEL VERSION (not a flat `image`), because model versions
38760
+ // price differently (e.g. gpt-image-2 vs a future gpt-image-3 or a Gemini image
38761
+ // model). Only a model we actually run AND have seeded a rate card for is
38762
+ // declared here; the handler fails CLOSED when the deployed model maps to an
38763
+ // undeclared meter, so a version bump without a rate card refuses rather than
38764
+ // silently disabling the budget. Adding a model = declare its meter here + seed
38765
+ // its rate card + add a normalizer entry in augmented-live-image-gen.ts.
38766
+ premium: {
38767
+ pricing: "usage",
38768
+ note: "Billed per generated image; the rate depends on the model/version used.",
38769
+ meters: [{ event_type: "gpt_image_2", unit: "image" }]
38770
+ }
38771
+ },
38738
38772
  {
38739
38773
  id: "postiz",
38740
38774
  name: "Postiz",
@@ -36,7 +36,7 @@ import {
36
36
  writeDirectChatSessionState,
37
37
  writeEgressAllowlist,
38
38
  writePersistentClaudeWrapper
39
- } from "./chunk-MWKR6B3T.js";
39
+ } from "./chunk-GBVZDTCB.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-K5RJ4BVF.js.map
80
+ //# sourceMappingURL=persistent-session-FGGXFAJH.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-MWKR6B3T.js";
3
+ } from "./chunk-GBVZDTCB.js";
4
4
  import "./chunk-XWVM4KPK.js";
5
5
 
6
6
  // src/lib/responsiveness-probe.ts
@@ -418,4 +418,4 @@ export {
418
418
  readAndResetSlackReplyBindingClassifications,
419
419
  readAndResetSlackReplyTargetClassifications
420
420
  };
421
- //# sourceMappingURL=responsiveness-probe-2PHY7QKJ.js.map
421
+ //# sourceMappingURL=responsiveness-probe-2734PYS6.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.265",
3
+ "version": "0.28.266",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {