@integrity-labs/agt-cli 0.28.688 → 0.28.689
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-
|
|
43
|
+
} from "../chunk-4CQEX55A.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
46
|
} from "../chunk-QXDHGJBW.js";
|
|
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4909
4909
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4910
4910
|
import chalk18 from "chalk";
|
|
4911
4911
|
import ora16 from "ora";
|
|
4912
|
-
var cliVersion = true ? "0.28.
|
|
4912
|
+
var cliVersion = true ? "0.28.689" : "dev";
|
|
4913
4913
|
async function fetchLatestVersion() {
|
|
4914
4914
|
const host2 = getHost();
|
|
4915
4915
|
if (!host2) return null;
|
|
@@ -6089,7 +6089,7 @@ function handleError(err) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
|
|
6091
6091
|
// src/bin/agt.ts
|
|
6092
|
-
var cliVersion2 = true ? "0.28.
|
|
6092
|
+
var cliVersion2 = true ? "0.28.689" : "dev";
|
|
6093
6093
|
var program = new Command();
|
|
6094
6094
|
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");
|
|
6095
6095
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -6526,7 +6526,7 @@ function exchangeFailureKind(err) {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
|
|
6528
6528
|
// src/lib/api-client.ts
|
|
6529
|
-
var agtCliVersion = true ? "0.28.
|
|
6529
|
+
var agtCliVersion = true ? "0.28.689" : "dev";
|
|
6530
6530
|
var lastConfigHash = null;
|
|
6531
6531
|
function setConfigHash(hash) {
|
|
6532
6532
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10268,4 +10268,4 @@ export {
|
|
|
10268
10268
|
managerInstallSystemUnitCommand,
|
|
10269
10269
|
managerUninstallSystemUnitCommand
|
|
10270
10270
|
};
|
|
10271
|
-
//# sourceMappingURL=chunk-
|
|
10271
|
+
//# sourceMappingURL=chunk-4CQEX55A.js.map
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
setConfigHash,
|
|
56
56
|
setSecretFileTmpfsBacking,
|
|
57
57
|
tripClass
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-4CQEX55A.js";
|
|
59
59
|
import {
|
|
60
60
|
getProjectDir as getProjectDir2,
|
|
61
61
|
getReadyTasks,
|
|
@@ -12403,7 +12403,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
12403
12403
|
var lastVersionCheckAt = 0;
|
|
12404
12404
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
12405
12405
|
var lastResponsivenessProbeAt = 0;
|
|
12406
|
-
var agtCliVersion = true ? "0.28.
|
|
12406
|
+
var agtCliVersion = true ? "0.28.689" : "dev";
|
|
12407
12407
|
function resolveBrewPath(execFileSync3) {
|
|
12408
12408
|
try {
|
|
12409
12409
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/index.js
CHANGED
|
@@ -45754,20 +45754,33 @@ server.tool(
|
|
|
45754
45754
|
);
|
|
45755
45755
|
server.tool(
|
|
45756
45756
|
"routine_propose",
|
|
45757
|
-
"Propose a recurring ROUTINE the user just asked you to take on. The platform sends them an accept/decline offer; on acceptance it creates the routine and its schedule with full lifecycle (hand-back anytime, approval ramp). Prefer this over schedule_create for recurring responsibilities.",
|
|
45757
|
+
"Propose a recurring ROUTINE the user just asked you to take on. The platform sends them an accept/decline offer; on acceptance it creates the routine and its schedule with full lifecycle (hand-back anytime, approval ramp). Prefer this over schedule_create for recurring responsibilities. If the user named a time, pass it as `at` - the reply tells you the schedule that was actually compiled, so check it matches what they asked for before you go quiet.",
|
|
45758
45758
|
{
|
|
45759
45759
|
name: external_exports.string().describe('Short routine name (e.g. "Morning inbox summary")'),
|
|
45760
45760
|
description: external_exports.string().describe("What the routine does, self-contained (this text is shown to the user and becomes the routine prompt basis)"),
|
|
45761
|
-
cadence_guess: external_exports.enum(["daily", "weekdays", "weekly", "unknown"]).optional().describe("Best guess at the cadence the user asked for")
|
|
45761
|
+
cadence_guess: external_exports.enum(["daily", "weekdays", "weekly", "unknown"]).optional().describe("Best guess at the cadence the user asked for"),
|
|
45762
|
+
// ENG-9393: the time and weekday used to be inexpressible here, so a
|
|
45763
|
+
// routine asked for at 08:00 was created at 09:00 and the requested time
|
|
45764
|
+
// survived only inside `description`, where nothing reads it.
|
|
45765
|
+
at: external_exports.string().optional().describe(
|
|
45766
|
+
'The time of day it should run, as 24-hour "HH:MM" (e.g. "08:00", "16:30"). Defaults to 09:00. State it whenever the user named a time - writing the time in the description does NOT schedule it, the description is prose and nothing reads it.'
|
|
45767
|
+
),
|
|
45768
|
+
timezone: external_exports.string().optional().describe(
|
|
45769
|
+
`IANA timezone the time is in (e.g. "Australia/Melbourne"). Defaults to YOUR configured timezone, which is almost always what you want - pass this only when the routine must run on someone else's clock.`
|
|
45770
|
+
),
|
|
45771
|
+
day_of_week: external_exports.number().int().min(0).max(6).optional().describe('For cadence_guess "weekly" only: 0 = Sunday .. 6 = Saturday. Defaults to Monday.')
|
|
45762
45772
|
},
|
|
45763
|
-
async ({ name, description, cadence_guess }) => {
|
|
45773
|
+
async ({ name, description, cadence_guess, at, timezone, day_of_week }) => {
|
|
45764
45774
|
let data;
|
|
45765
45775
|
try {
|
|
45766
45776
|
data = await apiPost("/host/routines/propose", {
|
|
45767
45777
|
agent_id: AGT_AGENT_ID,
|
|
45768
45778
|
name,
|
|
45769
45779
|
description,
|
|
45770
|
-
...cadence_guess ? { cadence_guess } : {}
|
|
45780
|
+
...cadence_guess ? { cadence_guess } : {},
|
|
45781
|
+
...at ? { at } : {},
|
|
45782
|
+
...timezone ? { timezone } : {},
|
|
45783
|
+
...day_of_week !== void 0 ? { day_of_week } : {}
|
|
45771
45784
|
});
|
|
45772
45785
|
} catch (err) {
|
|
45773
45786
|
return { content: [{ type: "text", text: `Could not propose: ${err.message}` }] };
|
package/package.json
CHANGED
|
File without changes
|