@integrity-labs/agt-cli 0.28.269 → 0.28.271
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-ZH3CEX2A.js → chunk-3SBG4IR5.js} +3 -3
- package/dist/{chunk-JW6CWBNF.js → chunk-5TL5THQE.js} +36 -4
- package/dist/{chunk-JW6CWBNF.js.map → chunk-5TL5THQE.js.map} +1 -1
- package/dist/{claude-pair-runtime-CXM2IH7U.js → claude-pair-runtime-KOEEK5LD.js} +2 -2
- package/dist/lib/manager-worker.js +30 -15
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/origami.js +16 -3
- package/dist/mcp/telegram-channel.js +262 -23
- package/dist/{persistent-session-ZQDTWV3D.js → persistent-session-HOILVE3Q.js} +2 -2
- package/dist/{responsiveness-probe-74SDDDGN.js → responsiveness-probe-DCUO6JJQ.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-ZH3CEX2A.js.map → chunk-3SBG4IR5.js.map} +0 -0
- /package/dist/{claude-pair-runtime-CXM2IH7U.js.map → claude-pair-runtime-KOEEK5LD.js.map} +0 -0
- /package/dist/{persistent-session-ZQDTWV3D.js.map → persistent-session-HOILVE3Q.js.map} +0 -0
- /package/dist/{responsiveness-probe-74SDDDGN.js.map → responsiveness-probe-DCUO6JJQ.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
table,
|
|
40
40
|
warn
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-3SBG4IR5.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-
|
|
70
|
+
} from "../chunk-5TL5THQE.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.
|
|
4829
|
+
var cliVersion = true ? "0.28.271" : "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.
|
|
5843
|
+
var cliVersion2 = true ? "0.28.271" : "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) => {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resolveConnectivityProbe,
|
|
19
19
|
worseConnectivityOutcome,
|
|
20
20
|
wrapScheduledTaskPrompt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5TL5THQE.js";
|
|
22
22
|
import {
|
|
23
23
|
parsePsRows
|
|
24
24
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5880,7 +5880,7 @@ function requireHost() {
|
|
|
5880
5880
|
}
|
|
5881
5881
|
|
|
5882
5882
|
// src/lib/api-client.ts
|
|
5883
|
-
var agtCliVersion = true ? "0.28.
|
|
5883
|
+
var agtCliVersion = true ? "0.28.271" : "dev";
|
|
5884
5884
|
var lastConfigHash = null;
|
|
5885
5885
|
function setConfigHash(hash) {
|
|
5886
5886
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8157,4 +8157,4 @@ export {
|
|
|
8157
8157
|
managerInstallSystemUnitCommand,
|
|
8158
8158
|
managerUninstallSystemUnitCommand
|
|
8159
8159
|
};
|
|
8160
|
-
//# sourceMappingURL=chunk-
|
|
8160
|
+
//# sourceMappingURL=chunk-3SBG4IR5.js.map
|
|
@@ -4954,13 +4954,13 @@ var INTEGRATION_REGISTRY = [
|
|
|
4954
4954
|
id: "image-gen",
|
|
4955
4955
|
name: "Image Generation",
|
|
4956
4956
|
category: "media",
|
|
4957
|
-
description: "AI image generation
|
|
4957
|
+
description: "AI image generation from a text prompt. An agent passes a prompt to generate_image and gets back a generated raster image, which it can deliver to a chat channel or embed on an Augmented Live page (ENG-7535). 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: gated on a per-org opt-in and a monthly USD budget, and metered per generated image.",
|
|
4958
4958
|
// No vendor key to enter: Augmented owns the shared Vercel AI Gateway virtual
|
|
4959
4959
|
// key (AI_GATEWAY_API_KEY) that fronts the image providers, so auth is `none`
|
|
4960
4960
|
// (customers never enter a key), same as ElevenLabs.
|
|
4961
4961
|
supported_auth_types: ["none"],
|
|
4962
4962
|
capabilities: [
|
|
4963
|
-
{ id: "image-gen:generate", name: "Generate Image", description: "Generate a raster image from a text prompt
|
|
4963
|
+
{ id: "image-gen:generate", name: "Generate Image", description: "Generate a raster image from a text prompt (generate_image), deliverable to a chat channel or an Augmented Live page", access: "write" }
|
|
4964
4964
|
],
|
|
4965
4965
|
docs_url: "https://platform.openai.com/docs/guides/images",
|
|
4966
4966
|
beta: true,
|
|
@@ -4977,7 +4977,7 @@ var INTEGRATION_REGISTRY = [
|
|
|
4977
4977
|
// declared here; the handler fails CLOSED when the deployed model maps to an
|
|
4978
4978
|
// undeclared meter, so a version bump without a rate card refuses rather than
|
|
4979
4979
|
// silently disabling the budget. Adding a model = declare its meter here + seed
|
|
4980
|
-
// its rate card + add a normalizer entry in
|
|
4980
|
+
// its rate card + add a normalizer entry in image-generation.ts.
|
|
4981
4981
|
premium: {
|
|
4982
4982
|
pricing: "usage",
|
|
4983
4983
|
note: "Billed per generated image; the rate depends on the model/version used.",
|
|
@@ -7447,6 +7447,19 @@ var FLAG_REGISTRY = [
|
|
|
7447
7447
|
// env var is retired.
|
|
7448
7448
|
envVar: "AUGMENTED_CONNECTIVITY_ESCALATION_ENABLED"
|
|
7449
7449
|
},
|
|
7450
|
+
{
|
|
7451
|
+
key: "managed-health-connectivity-flip",
|
|
7452
|
+
description: "Arm the managed-connection-health status flip on data-plane hard-down (ENG-7539). When on, the managed-connection-health cron flips a managed integration to needs_reauth when the host-side connectivity probe reports a sustained hard-down (consecutive_connectivity_failures at/over the hysteresis threshold with a down observation), even if Composio account-status still reads ACTIVE. When off it keeps the pre-ENG-7539 behaviour: status is driven only by the account-status probe, so a live 401 behind an ACTIVE account never flips status. Boolean gate; ships dark. Sibling of integration-connectivity-escalation: that flag arms the alert; this flag arms the status flip plus the reconnect notification.",
|
|
7453
|
+
flagType: "boolean",
|
|
7454
|
+
// Declared safe value is `false` (no auto status flip). It preserves the
|
|
7455
|
+
// pre-ENG-7539 fleet behaviour where managed status derives solely from the
|
|
7456
|
+
// account-status probe, so merging this dark changes nothing until an
|
|
7457
|
+
// operator arms it per-stage from the admin Feature Flags page. `false` is
|
|
7458
|
+
// also the fail-safe direction: a flag-DB read error must never start
|
|
7459
|
+
// flipping statuses (and firing reconnect notifications) on its own. No env
|
|
7460
|
+
// override - this is a net-new gate, so it is registry-only (ADR-0022).
|
|
7461
|
+
defaultValue: false
|
|
7462
|
+
},
|
|
7450
7463
|
{
|
|
7451
7464
|
key: "projects-menu",
|
|
7452
7465
|
description: "Show the Projects nav item in the webapp (ADR-0017 Projects soft launch, ENG-6342). Replaces the isAdmin/adminOnly gate with a per-org rollout flag.",
|
|
@@ -7771,6 +7784,24 @@ function isStaleForToday(codeName, now = /* @__PURE__ */ new Date(), timezone) {
|
|
|
7771
7784
|
if (!file.current) return false;
|
|
7772
7785
|
return file.current.date !== todayLocalIso(now, timezone);
|
|
7773
7786
|
}
|
|
7787
|
+
function minutesSinceLocalMidnight(now = /* @__PURE__ */ new Date(), timezone) {
|
|
7788
|
+
if (timezone) {
|
|
7789
|
+
try {
|
|
7790
|
+
const fmt = new Intl.DateTimeFormat("en-GB", {
|
|
7791
|
+
timeZone: timezone,
|
|
7792
|
+
hour: "2-digit",
|
|
7793
|
+
minute: "2-digit",
|
|
7794
|
+
hourCycle: "h23"
|
|
7795
|
+
});
|
|
7796
|
+
const parts = fmt.formatToParts(now);
|
|
7797
|
+
const hh = Number(parts.find((p) => p.type === "hour")?.value ?? "0");
|
|
7798
|
+
const mm = Number(parts.find((p) => p.type === "minute")?.value ?? "0");
|
|
7799
|
+
if (Number.isFinite(hh) && Number.isFinite(mm)) return hh * 60 + mm;
|
|
7800
|
+
} catch {
|
|
7801
|
+
}
|
|
7802
|
+
}
|
|
7803
|
+
return now.getHours() * 60 + now.getMinutes();
|
|
7804
|
+
}
|
|
7774
7805
|
function peekCurrentSession(codeName) {
|
|
7775
7806
|
return readFile(codeName).current;
|
|
7776
7807
|
}
|
|
@@ -9240,6 +9271,7 @@ export {
|
|
|
9240
9271
|
subagentActivityAgeSeconds,
|
|
9241
9272
|
isAgentIdle,
|
|
9242
9273
|
isStaleForToday,
|
|
9274
|
+
minutesSinceLocalMidnight,
|
|
9243
9275
|
peekCurrentSession,
|
|
9244
9276
|
checkChannelInputs,
|
|
9245
9277
|
takeWatchdogGiveUpCount,
|
|
@@ -9282,4 +9314,4 @@ export {
|
|
|
9282
9314
|
stopAllSessionsAndWait,
|
|
9283
9315
|
getProjectDir
|
|
9284
9316
|
};
|
|
9285
|
-
//# sourceMappingURL=chunk-
|
|
9317
|
+
//# sourceMappingURL=chunk-5TL5THQE.js.map
|