@integrity-labs/agt-cli 0.28.424 → 0.28.425

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
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-2QBY2QVX.js";
43
+ } from "../chunk-M3L6HOYG.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -70,7 +70,7 @@ import {
70
70
  renderTemplate,
71
71
  resolveChannels,
72
72
  serializeManifestForSlackCli
73
- } from "../chunk-CWIWI2ZX.js";
73
+ } from "../chunk-PR3IJAMV.js";
74
74
  import "../chunk-XWVM4KPK.js";
75
75
 
76
76
  // src/bin/agt.ts
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
4829
4829
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4830
4830
  import chalk18 from "chalk";
4831
4831
  import ora16 from "ora";
4832
- var cliVersion = true ? "0.28.424" : "dev";
4832
+ var cliVersion = true ? "0.28.425" : "dev";
4833
4833
  async function fetchLatestVersion() {
4834
4834
  const host2 = getHost();
4835
4835
  if (!host2) return null;
@@ -6001,7 +6001,7 @@ function handleError(err) {
6001
6001
  }
6002
6002
 
6003
6003
  // src/bin/agt.ts
6004
- var cliVersion2 = true ? "0.28.424" : "dev";
6004
+ var cliVersion2 = true ? "0.28.425" : "dev";
6005
6005
  var program = new Command();
6006
6006
  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");
6007
6007
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -25,7 +25,7 @@ import {
25
25
  resolveConnectivityProbe,
26
26
  worseConnectivityOutcome,
27
27
  wrapScheduledTaskPrompt
28
- } from "./chunk-CWIWI2ZX.js";
28
+ } from "./chunk-PR3IJAMV.js";
29
29
  import {
30
30
  parsePsRows
31
31
  } from "./chunk-XWVM4KPK.js";
@@ -6027,7 +6027,7 @@ function requireHost() {
6027
6027
  }
6028
6028
 
6029
6029
  // src/lib/api-client.ts
6030
- var agtCliVersion = true ? "0.28.424" : "dev";
6030
+ var agtCliVersion = true ? "0.28.425" : "dev";
6031
6031
  var lastConfigHash = null;
6032
6032
  function setConfigHash(hash) {
6033
6033
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8531,4 +8531,4 @@ export {
8531
8531
  managerInstallSystemUnitCommand,
8532
8532
  managerUninstallSystemUnitCommand
8533
8533
  };
8534
- //# sourceMappingURL=chunk-2QBY2QVX.js.map
8534
+ //# sourceMappingURL=chunk-M3L6HOYG.js.map
@@ -5902,6 +5902,86 @@ var INTEGRATION_REGISTRY = [
5902
5902
  ]
5903
5903
  }
5904
5904
  },
5905
+ {
5906
+ // Social Scraping: a PREMIUM, platform-managed integration on the Deck /
5907
+ // Firecrawl / X-Search model (ADR-0031, epic ENG-6920; ADR-0053). Backed by
5908
+ // Apify, but deliberately NOT surfaced as an "Apify" integration - the
5909
+ // integration is what a customer picks, and Apify is a vendor, not a job.
5910
+ // Splitting by job also means opt-in, rate card and monthly budget are keyed
5911
+ // per definition, so an org can take Local Business Data without taking the
5912
+ // pricier, more ToS-sensitive social scraping.
5913
+ //
5914
+ // Augmented holds ONE Apify account whose token (APIFY_API_TOKEN, read
5915
+ // from SSM - the API Lambda env is at the 4KB cap) every customer run bills
5916
+ // back to, so the key is a single platform-held secret, NOT a per-agent
5917
+ // credential. Auth type is `none` - customers never enter a key. Tools run on
5918
+ // a brokered-REST lane (apify-brokers.ts) so each run is metered at one
5919
+ // chokepoint and gated on a per-org monthly USD cap + the per-org premium
5920
+ // opt-in.
5921
+ //
5922
+ // "PPE-only" is guaranteed by a curated allowlist: the broker only ever runs
5923
+ // Actors on it, so a rental / pay-per-usage Actor can never surprise-bill the
5924
+ // shared account. (Apify's x402 rail enforces PPE-only at the payment layer;
5925
+ // we are on the account-key rail - Option A in the spike.) See
5926
+ // docs/design/apify-premium-option-a-ppe-allowlist.md.
5927
+ //
5928
+ // No `installable` here on purpose: this is a seed integration
5929
+ // (integration-definitions.json), so the seed catalog already makes it
5930
+ // picker-visible. This registry entry exists ONLY to carry the `premium`
5931
+ // descriptor that `isPremiumDefinition` reads - which arms the per-org opt-in
5932
+ // gate, the priced acknowledgement modal, and the admin pricing tab.
5933
+ id: "social-scraping",
5934
+ name: "Social Scraping",
5935
+ category: "social",
5936
+ description: "Pull public posts and videos from TikTok, Instagram and YouTube - captions, media, engagement counts and URLs - for brand, competitor and campaign research. Augmented Team manages the scraping account for you; there is no key to enter.",
5937
+ supported_auth_types: ["none"],
5938
+ capabilities: [
5939
+ { id: "social-scraping:scrape", name: "Scrape Social Posts", description: "Scrape public TikTok, Instagram and YouTube content (social_scrape_tiktok, social_scrape_instagram, social_scrape_youtube).", access: "write" },
5940
+ { id: "social-scraping:status", name: "Check Scrape Runs", description: "Poll a running scrape for status + results (social_scrape_status).", access: "read" }
5941
+ ],
5942
+ docs_url: "https://docs.apify.com/api/v2",
5943
+ beta: true,
5944
+ // Premium (billable). The upstream pay-per-event cost is per-Actor and
5945
+ // VARIABLE (each Actor's creator sets its own event prices), unlike X-Search's
5946
+ // fixed per-post price. So we meter the ACTUAL cost charged to us for each
5947
+ // run, as a pass-through: `units` = the run's `usageTotalUsd` in whole US
5948
+ // cents (the physical unit `usd_cent`), and the rate card prices each cent at
5949
+ // a managed markup (1.5x USD). This keeps margin safe across cheap and
5950
+ // expensive scrapes alike. `event_type` must match what the broker writes to
5951
+ // integration_usage_events. Until the rate row is seeded a run prices at 0
5952
+ // (budget gate inert) - the rate-card migration ships in the same PR.
5953
+ premium: {
5954
+ pricing: "usage",
5955
+ note: "Billed per result on the upstream pay-per-event cost of each scrape, at a managed markup.",
5956
+ meters: [{ event_type: "actor_run", unit: "usd_cent" }]
5957
+ }
5958
+ },
5959
+ {
5960
+ // Local Business Data: the second Apify-backed premium integration (ADR-0053).
5961
+ // Same platform-held account, same pass-through metering model, but a separate
5962
+ // definition so its opt-in, rate card and monthly budget are independent of
5963
+ // Social Scraping's - see the note on that entry for why the split exists.
5964
+ //
5965
+ // Distinct from Firecrawl on purpose: Firecrawl covers generic web
5966
+ // scrape/crawl/search, and we deliberately do NOT ship an Apify-backed
5967
+ // duplicate of that. This is the local-places job Firecrawl does not do.
5968
+ id: "local-business-data",
5969
+ name: "Local Business Data",
5970
+ category: "knowledge",
5971
+ description: "Find local businesses on Google Maps and pull their public listing details - name, address, phone, website, category, rating and review count - for local market research, competitor lists and lead research. Augmented Team manages the data account for you; there is no key to enter.",
5972
+ supported_auth_types: ["none"],
5973
+ capabilities: [
5974
+ { id: "local-business-data:search", name: "Search Local Businesses", description: "Search Google Maps for businesses and return their public listing details (local_business_search).", access: "write" },
5975
+ { id: "local-business-data:status", name: "Check Searches", description: "Poll a running search for status + results (local_business_search_status).", access: "read" }
5976
+ ],
5977
+ docs_url: "https://docs.apify.com/api/v2",
5978
+ beta: true,
5979
+ premium: {
5980
+ pricing: "usage",
5981
+ note: "Billed per place returned on the upstream pay-per-event cost of each search, at a managed markup.",
5982
+ meters: [{ event_type: "actor_run", unit: "usd_cent" }]
5983
+ }
5984
+ },
5905
5985
  {
5906
5986
  // Seed-catalog toolkit (composed by the ultimate-app-coder bundle). Registered
5907
5987
  // here only so the manager's ensureToolkitCli installs the binary via the
@@ -12745,4 +12825,4 @@ export {
12745
12825
  stopAllSessionsAndWait,
12746
12826
  getProjectDir
12747
12827
  };
12748
- //# sourceMappingURL=chunk-CWIWI2ZX.js.map
12828
+ //# sourceMappingURL=chunk-PR3IJAMV.js.map