@integrity-labs/agt-cli 0.28.265 → 0.28.267

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
@@ -38,7 +38,7 @@ import {
38
38
  success,
39
39
  table,
40
40
  warn
41
- } from "../chunk-PDE3XSVC.js";
41
+ } from "../chunk-OTXH3YLU.js";
42
42
  import {
43
43
  CHANNEL_REGISTRY,
44
44
  DEFAULT_FRAMEWORK,
@@ -67,7 +67,7 @@ import {
67
67
  renderTemplate,
68
68
  resolveChannels,
69
69
  serializeManifestForSlackCli
70
- } from "../chunk-MWKR6B3T.js";
70
+ } from "../chunk-GBVZDTCB.js";
71
71
  import "../chunk-XWVM4KPK.js";
72
72
 
73
73
  // src/bin/agt.ts
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
4826
4826
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4827
4827
  import chalk18 from "chalk";
4828
4828
  import ora16 from "ora";
4829
- var cliVersion = true ? "0.28.265" : "dev";
4829
+ var cliVersion = true ? "0.28.267" : "dev";
4830
4830
  async function fetchLatestVersion() {
4831
4831
  const host2 = getHost();
4832
4832
  if (!host2) return null;
@@ -5840,7 +5840,7 @@ function handleError(err) {
5840
5840
  }
5841
5841
 
5842
5842
  // src/bin/agt.ts
5843
- var cliVersion2 = true ? "0.28.265" : "dev";
5843
+ var cliVersion2 = true ? "0.28.267" : "dev";
5844
5844
  var program = new Command();
5845
5845
  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");
5846
5846
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -4938,6 +4938,40 @@ var INTEGRATION_REGISTRY = [
4938
4938
  ]
4939
4939
  }
4940
4940
  },
4941
+ {
4942
+ id: "image-gen",
4943
+ name: "Image Generation",
4944
+ category: "media",
4945
+ 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.",
4946
+ // No vendor key to enter: Augmented owns the shared Vercel AI Gateway virtual
4947
+ // key (AI_GATEWAY_API_KEY) that fronts the image providers, so auth is `none`
4948
+ // (customers never enter a key), same as ElevenLabs.
4949
+ supported_auth_types: ["none"],
4950
+ capabilities: [
4951
+ { 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" }
4952
+ ],
4953
+ docs_url: "https://platform.openai.com/docs/guides/images",
4954
+ beta: true,
4955
+ // ENG-7472: premium (billable). Image gen bills back to Augmented's shared
4956
+ // Vercel AI Gateway key and is usage-priced per generated image, so it is gated
4957
+ // on a per-org opt-in (isOrgEntitledToPremium) + a per-org monthly USD budget,
4958
+ // and metered on integration_usage_events. This budget is PER-ORG, distinct
4959
+ // from the gateway key's own global per-key cap. Pricing lives in
4960
+ // integration_rate_cards; this only declares the priced model(s).
4961
+ //
4962
+ // event_type is per MODEL VERSION (not a flat `image`), because model versions
4963
+ // price differently (e.g. gpt-image-2 vs a future gpt-image-3 or a Gemini image
4964
+ // model). Only a model we actually run AND have seeded a rate card for is
4965
+ // declared here; the handler fails CLOSED when the deployed model maps to an
4966
+ // undeclared meter, so a version bump without a rate card refuses rather than
4967
+ // silently disabling the budget. Adding a model = declare its meter here + seed
4968
+ // its rate card + add a normalizer entry in augmented-live-image-gen.ts.
4969
+ premium: {
4970
+ pricing: "usage",
4971
+ note: "Billed per generated image; the rate depends on the model/version used.",
4972
+ meters: [{ event_type: "gpt_image_2", unit: "image" }]
4973
+ }
4974
+ },
4941
4975
  {
4942
4976
  id: "postiz",
4943
4977
  name: "Postiz",
@@ -9236,4 +9270,4 @@ export {
9236
9270
  stopAllSessionsAndWait,
9237
9271
  getProjectDir
9238
9272
  };
9239
- //# sourceMappingURL=chunk-MWKR6B3T.js.map
9273
+ //# sourceMappingURL=chunk-GBVZDTCB.js.map