@integrity-labs/agt-cli 0.28.253 → 0.28.255

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-JLIBPRQM.js";
41
+ } from "../chunk-O5JHX7FG.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-UMXGONVE.js";
70
+ } from "../chunk-GFX74FGP.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.253" : "dev";
4829
+ var cliVersion = true ? "0.28.255" : "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.253" : "dev";
5843
+ var cliVersion2 = true ? "0.28.255" : "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) => {
@@ -5226,6 +5226,49 @@ var INTEGRATION_REGISTRY = [
5226
5226
  ]
5227
5227
  }
5228
5228
  },
5229
+ {
5230
+ // ENG-7439: X Search is a PREMIUM, platform-managed integration on the
5231
+ // Deck / Firecrawl / ElevenLabs model (ADR-0031, epic ENG-6920): Augmented
5232
+ // holds ONE X (Twitter) developer app whose OAuth2 app-only bearer
5233
+ // (X_APP_BEARER_TOKEN) every customer agent's search bills back to, so the
5234
+ // key is a single platform-held secret, NOT a per-agent credential. Auth
5235
+ // type is `none` - customers never enter a key. The one read tool runs on
5236
+ // the Direct-HTTP broker lane (integration-broker-agent-tools.ts, seed
5237
+ // metadata.tools); usage is metered at that chokepoint per resource
5238
+ // RETURNED, mirroring X's own read pricing.
5239
+ //
5240
+ // No `installable` here on purpose: x-search is a Direct-HTTP SEED
5241
+ // integration (integration-definitions.json), so the seed catalog already
5242
+ // makes it picker-visible. This registry entry exists ONLY to carry the
5243
+ // `premium` descriptor that `isPremiumDefinition` reads - which arms the
5244
+ // per-org opt-in gate, the priced acknowledgement modal, and the admin
5245
+ // pricing tab. See docs/adr/0034-x-search-platform-held-credential.md.
5246
+ id: "x-search",
5247
+ name: "X Search",
5248
+ category: "social",
5249
+ description: "Read-only X (Twitter) search: recent public posts by keyword, hashtag, author, or any X search operator - for sentiment sweeps, topic monitoring, and trend research. Augmented Team manages X access for you - there is no key to enter.",
5250
+ supported_auth_types: ["none"],
5251
+ capabilities: [
5252
+ { id: "x-search:read", name: "Search Posts", description: "Search recent public X posts (last ~7 days) via x_search_recent.", access: "read" }
5253
+ ],
5254
+ docs_url: "https://docs.x.com/x-api/posts/recent-search",
5255
+ beta: true,
5256
+ // ENG-7439: premium (billable). X bills us PER RESOURCE returned in a read
5257
+ // response ($0.005/post, $0.010/user via the app-only bearer), so the
5258
+ // integration is usage-priced and metered per resource at the broker
5259
+ // chokepoint. `meters` declares WHAT is metered + the physical unit; the
5260
+ // priced rate card (integration_rate_cards) holds the per-unit amount. Each
5261
+ // event_type must match what the broker writes to integration_usage_events.
5262
+ // Until a rate row is seeded an event prices at 0 (budget gate inert).
5263
+ premium: {
5264
+ pricing: "usage",
5265
+ note: "Billed per resource returned - each post and each unique author in a search result, mirroring X API read pricing.",
5266
+ meters: [
5267
+ { event_type: "post_read", unit: "post" },
5268
+ { event_type: "user_read", unit: "user" }
5269
+ ]
5270
+ }
5271
+ },
5229
5272
  {
5230
5273
  // Seed-catalog toolkit (composed by the ultimate-app-coder bundle). Registered
5231
5274
  // here only so the manager's ensureToolkitCli installs the binary via the
@@ -9118,4 +9161,4 @@ export {
9118
9161
  stopAllSessionsAndWait,
9119
9162
  getProjectDir
9120
9163
  };
9121
- //# sourceMappingURL=chunk-UMXGONVE.js.map
9164
+ //# sourceMappingURL=chunk-GFX74FGP.js.map