@integrity-labs/agt-cli 0.28.435 → 0.28.437
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 +4 -4
- package/dist/{chunk-VIOLJEBT.js → chunk-7C3W6FP7.js} +3 -3
- package/dist/{chunk-ZLFZXMNL.js → chunk-MOASN7XT.js} +30 -9
- package/dist/chunk-MOASN7XT.js.map +1 -0
- package/dist/{claude-pair-runtime-CHKX4WH2.js → claude-pair-runtime-QDNXOLED.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/direct-chat-channel.js +26 -8
- package/dist/mcp/origami.js +26 -8
- package/dist/mcp/slack-channel.js +26 -8
- package/dist/mcp/telegram-channel.js +88 -14
- package/dist/{persistent-session-D2POY3KV.js → persistent-session-2TTEAJDH.js} +2 -2
- package/dist/{responsiveness-probe-ARRF5CAQ.js → responsiveness-probe-PMDNQ4J4.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-ZLFZXMNL.js.map +0 -1
- /package/dist/{chunk-VIOLJEBT.js.map → chunk-7C3W6FP7.js.map} +0 -0
- /package/dist/{claude-pair-runtime-CHKX4WH2.js.map → claude-pair-runtime-QDNXOLED.js.map} +0 -0
- /package/dist/{persistent-session-D2POY3KV.js.map → persistent-session-2TTEAJDH.js.map} +0 -0
- /package/dist/{responsiveness-probe-ARRF5CAQ.js.map → responsiveness-probe-PMDNQ4J4.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-7C3W6FP7.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-
|
|
74
|
+
} from "../chunk-MOASN7XT.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.
|
|
4833
|
+
var cliVersion = true ? "0.28.437" : "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.
|
|
6005
|
+
var cliVersion2 = true ? "0.28.437" : "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-
|
|
32
|
+
} from "./chunk-MOASN7XT.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.
|
|
4904
|
+
var agtCliVersion = true ? "0.28.437" : "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-
|
|
7405
|
+
//# sourceMappingURL=chunk-7C3W6FP7.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
|
|
6922
|
-
//
|
|
6923
|
-
// a managed markup (1.5x
|
|
6924
|
-
//
|
|
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
|
|
6930
|
-
meters: [{
|
|
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
|
|
6956
|
-
meters: [{
|
|
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
|
{
|
|
@@ -8118,6 +8136,9 @@ function parseUsageBanner(text, now = /* @__PURE__ */ new Date()) {
|
|
|
8118
8136
|
}
|
|
8119
8137
|
if (!Number.isFinite(pct) || pct < 0 || pct > 100)
|
|
8120
8138
|
continue;
|
|
8139
|
+
const nextChar = text[match.index + match[0].length];
|
|
8140
|
+
if (nextChar !== void 0 && /[A-Za-z0-9]/.test(nextChar))
|
|
8141
|
+
continue;
|
|
8121
8142
|
const weekResetsAt = parseResetDateTime(resetStr, now);
|
|
8122
8143
|
if (!weekResetsAt)
|
|
8123
8144
|
continue;
|
|
@@ -14108,4 +14129,4 @@ export {
|
|
|
14108
14129
|
stopAllSessionsAndWait,
|
|
14109
14130
|
getProjectDir
|
|
14110
14131
|
};
|
|
14111
|
-
//# sourceMappingURL=chunk-
|
|
14132
|
+
//# sourceMappingURL=chunk-MOASN7XT.js.map
|