@integrity-labs/agt-cli 0.28.435 → 0.28.436

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-VIOLJEBT.js";
43
+ } from "../chunk-DT6YHTVR.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -71,7 +71,7 @@ import {
71
71
  requiredMcpWildcard,
72
72
  resolveChannels,
73
73
  serializeManifestForSlackCli
74
- } from "../chunk-ZLFZXMNL.js";
74
+ } from "../chunk-IRFNOPFU.js";
75
75
  import "../chunk-XWVM4KPK.js";
76
76
 
77
77
  // src/bin/agt.ts
@@ -4830,7 +4830,7 @@ import { execFileSync, execSync } from "child_process";
4830
4830
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4831
4831
  import chalk18 from "chalk";
4832
4832
  import ora16 from "ora";
4833
- var cliVersion = true ? "0.28.435" : "dev";
4833
+ var cliVersion = true ? "0.28.436" : "dev";
4834
4834
  async function fetchLatestVersion() {
4835
4835
  const host2 = getHost();
4836
4836
  if (!host2) return null;
@@ -6002,7 +6002,7 @@ function handleError(err) {
6002
6002
  }
6003
6003
 
6004
6004
  // src/bin/agt.ts
6005
- var cliVersion2 = true ? "0.28.435" : "dev";
6005
+ var cliVersion2 = true ? "0.28.436" : "dev";
6006
6006
  var program = new Command();
6007
6007
  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");
6008
6008
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -29,7 +29,7 @@ import {
29
29
  resolveConnectivityProbe,
30
30
  worseConnectivityOutcome,
31
31
  wrapScheduledTaskPrompt
32
- } from "./chunk-ZLFZXMNL.js";
32
+ } from "./chunk-IRFNOPFU.js";
33
33
  import {
34
34
  parsePsRows
35
35
  } from "./chunk-XWVM4KPK.js";
@@ -4901,7 +4901,7 @@ function requireHost() {
4901
4901
  }
4902
4902
 
4903
4903
  // src/lib/api-client.ts
4904
- var agtCliVersion = true ? "0.28.435" : "dev";
4904
+ var agtCliVersion = true ? "0.28.436" : "dev";
4905
4905
  var lastConfigHash = null;
4906
4906
  function setConfigHash(hash) {
4907
4907
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -7402,4 +7402,4 @@ export {
7402
7402
  managerInstallSystemUnitCommand,
7403
7403
  managerUninstallSystemUnitCommand
7404
7404
  };
7405
- //# sourceMappingURL=chunk-VIOLJEBT.js.map
7405
+ //# sourceMappingURL=chunk-DT6YHTVR.js.map
@@ -6918,16 +6918,27 @@ var INTEGRATION_REGISTRY = [
6918
6918
  // Premium (billable). The upstream pay-per-event cost is per-Actor and
6919
6919
  // VARIABLE (each Actor's creator sets its own event prices), unlike X-Search's
6920
6920
  // fixed per-post price. So we meter the ACTUAL cost charged to us for each
6921
- // run, as a pass-through: `units` = the run's `usageTotalUsd` in whole US
6922
- // cents (the physical unit `usd_cent`), and the rate card prices each cent at
6923
- // a managed markup (1.5x USD). This keeps margin safe across cheap and
6924
- // expensive scrapes alike. `event_type` must match what the broker writes to
6921
+ // run, as a pass-through: `units` = the run's `usageTotalUsd` in US dollars
6922
+ // (the physical unit `usd`), and the rate card prices each of those dollars at
6923
+ // a managed markup (1.5x). This keeps margin safe across cheap and expensive
6924
+ // scrapes alike. `event_type` must match what the broker writes to
6925
6925
  // integration_usage_events. Until the rate row is seeded a run prices at 0
6926
6926
  // (budget gate inert) - the rate-card migration ships in the same PR.
6927
+ //
6928
+ // The unit is US DOLLARS, not cents. Metering in cents priced the meter at
6929
+ // A$0.0225/unit, which rendered to the customer as "Actor Run (per usd_cent):
6930
+ // A$0.02" - jargon, and rounded 11% below the real rate because the shared
6931
+ // formatter only widens past 2dp below A$0.01. Per-dollar gives a whole-cent
6932
+ // price and a line a customer can reason about; the money billed is identical.
6927
6933
  premium: {
6928
6934
  pricing: "usage",
6929
- note: "Billed per result on the upstream pay-per-event cost of each scrape, at a managed markup.",
6930
- meters: [{ event_type: "actor_run", unit: "usd_cent" }]
6935
+ note: "Billed on the upstream pay-per-event cost of each scrape, at a managed markup. A 50-post TikTok scrape costs about A$0.19.",
6936
+ meters: [{
6937
+ event_type: "actor_run",
6938
+ unit: "usd",
6939
+ label: "Scraping usage",
6940
+ unit_label: "US$1 of scraping cost"
6941
+ }]
6931
6942
  }
6932
6943
  },
6933
6944
  {
@@ -6950,10 +6961,17 @@ var INTEGRATION_REGISTRY = [
6950
6961
  ],
6951
6962
  docs_url: "https://docs.apify.com/api/v2",
6952
6963
  beta: true,
6964
+ // Same cost pass-through metering as Social Scraping - see the note there for
6965
+ // why the unit is US dollars rather than cents.
6953
6966
  premium: {
6954
6967
  pricing: "usage",
6955
- note: "Billed per place returned on the upstream pay-per-event cost of each search, at a managed markup.",
6956
- meters: [{ event_type: "actor_run", unit: "usd_cent" }]
6968
+ note: "Billed on the upstream pay-per-event cost of each search, at a managed markup. A 20-place search costs about A$0.07.",
6969
+ meters: [{
6970
+ event_type: "actor_run",
6971
+ unit: "usd",
6972
+ label: "Search usage",
6973
+ unit_label: "US$1 of search cost"
6974
+ }]
6957
6975
  }
6958
6976
  },
6959
6977
  {
@@ -14108,4 +14126,4 @@ export {
14108
14126
  stopAllSessionsAndWait,
14109
14127
  getProjectDir
14110
14128
  };
14111
- //# sourceMappingURL=chunk-ZLFZXMNL.js.map
14129
+ //# sourceMappingURL=chunk-IRFNOPFU.js.map