@integrity-labs/agt-cli 0.28.1150 → 0.28.1151
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-MVZDF2MR.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
isSessionResumeDisabled,
|
|
@@ -5512,7 +5512,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5512
5512
|
import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
|
|
5513
5513
|
import chalk18 from "chalk";
|
|
5514
5514
|
import ora16 from "ora";
|
|
5515
|
-
var cliVersion = true ? "0.28.
|
|
5515
|
+
var cliVersion = true ? "0.28.1151" : "dev";
|
|
5516
5516
|
async function fetchLatestVersion() {
|
|
5517
5517
|
const host2 = getHost();
|
|
5518
5518
|
if (!host2) return null;
|
|
@@ -6772,7 +6772,7 @@ function handleError(err) {
|
|
|
6772
6772
|
}
|
|
6773
6773
|
|
|
6774
6774
|
// src/bin/agt.ts
|
|
6775
|
-
var cliVersion2 = true ? "0.28.
|
|
6775
|
+
var cliVersion2 = true ? "0.28.1151" : "dev";
|
|
6776
6776
|
var program = new Command();
|
|
6777
6777
|
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");
|
|
6778
6778
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -8078,7 +8078,7 @@ function exchangeFailureKind(err) {
|
|
|
8078
8078
|
}
|
|
8079
8079
|
|
|
8080
8080
|
// src/lib/api-client.ts
|
|
8081
|
-
var agtCliVersion = true ? "0.28.
|
|
8081
|
+
var agtCliVersion = true ? "0.28.1151" : "dev";
|
|
8082
8082
|
var lastConfigHash = null;
|
|
8083
8083
|
function setConfigHash(hash) {
|
|
8084
8084
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -13235,4 +13235,4 @@ export {
|
|
|
13235
13235
|
managerInstallSystemUnitCommand,
|
|
13236
13236
|
managerUninstallSystemUnitCommand
|
|
13237
13237
|
};
|
|
13238
|
-
//# sourceMappingURL=chunk-
|
|
13238
|
+
//# sourceMappingURL=chunk-MVZDF2MR.js.map
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
setConfigHash,
|
|
78
78
|
shellGuard,
|
|
79
79
|
tripClass
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-MVZDF2MR.js";
|
|
81
81
|
import {
|
|
82
82
|
CLAUDE_CODE_SECURITY_FLOOR,
|
|
83
83
|
compareVersions
|
|
@@ -15799,7 +15799,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
15799
15799
|
var lastVersionCheckAt = 0;
|
|
15800
15800
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
15801
15801
|
var lastResponsivenessProbeAt = 0;
|
|
15802
|
-
var agtCliVersion = true ? "0.28.
|
|
15802
|
+
var agtCliVersion = true ? "0.28.1151" : "dev";
|
|
15803
15803
|
function resolveBrewPath(execFileSync3) {
|
|
15804
15804
|
try {
|
|
15805
15805
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/index.js
CHANGED
|
@@ -50798,7 +50798,7 @@ var ROUTINE_CADENCE_GUESS = external_exports.enum(["hourly", "daily", "weekdays"
|
|
|
50798
50798
|
);
|
|
50799
50799
|
server.tool(
|
|
50800
50800
|
"routine_propose",
|
|
50801
|
-
'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. For a routine with MORE THAN ONE cadence (e.g. "check hourly, but only report once a day"), or several separate JOBS under one responsibility (e.g. "an hourly alert sweep AND a weekly health report"), or one job at several times of day (e.g. 08:00, 12:30 and 16:30), use `schedules` instead of the flat cadence_guess/at/day_of_week - one entry per schedule, each with its own cadence.',
|
|
50801
|
+
'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. For a routine with MORE THAN ONE cadence (e.g. "check hourly, but only report once a day"), or several separate JOBS under one responsibility (e.g. "an hourly alert sweep AND a weekly health report"), or one job at several times of day (e.g. 08:00, 12:30 and 16:30), use `schedules` instead of the flat cadence_guess/at/day_of_week - one entry per schedule, each with its own cadence. A managing agent can propose a routine FOR an agent it manages by passing `target_agent`; the Accept then goes to that agent\'s human manager.',
|
|
50802
50802
|
{
|
|
50803
50803
|
name: external_exports.string().describe('Short routine name (e.g. "Morning inbox summary")'),
|
|
50804
50804
|
description: external_exports.string().describe("What the routine does, self-contained (this text is shown to the user and becomes the routine prompt basis)"),
|
|
@@ -50841,9 +50841,13 @@ server.tool(
|
|
|
50841
50841
|
})
|
|
50842
50842
|
).optional().describe(
|
|
50843
50843
|
'One entry per schedule, for a routine that runs on more than one cadence (up to 8). At least one entry must have role "execute". Examples: hourly execute plus a daily report at 17:00 - [{role:"execute", cadence_guess:"hourly"}, {role:"daily-report", cadence_guess:"daily", at:"17:00"}]; two independent jobs - [{role:"execute", name:"Alert sweep", instructions:"...", cadence_guess:"hourly"}, {role:"execute", name:"Weekly health report", instructions:"...", cadence_guess:"weekly", at:"09:00", day_of_week:1}]. Omit entirely for a routine with one job on one cadence and use the flat cadence_guess/at/day_of_week instead - simpler, and what most routines want.'
|
|
50844
|
+
),
|
|
50845
|
+
// ENG-11649: a managing agent setting up recurring work for a report.
|
|
50846
|
+
target_agent: external_exports.string().optional().describe(
|
|
50847
|
+
'Propose this routine FOR another agent you manage (its code_name, e.g. "watson"), instead of for yourself. You must be on its reports_to chain. The Accept card goes to ITS first human manager, not to whoever is chatting with you, and no fresh conversation is needed. On accept the routine is created on that agent and runs there; you get a notice on your own board with the outcome. Omit this to propose a routine for yourself.'
|
|
50844
50848
|
)
|
|
50845
50849
|
},
|
|
50846
|
-
async ({ name, description, cadence_guess, at, timezone, day_of_week, schedules }) => {
|
|
50850
|
+
async ({ name, description, cadence_guess, at, timezone, day_of_week, schedules, target_agent }) => {
|
|
50847
50851
|
let data;
|
|
50848
50852
|
try {
|
|
50849
50853
|
data = await apiPost("/host/routines/propose", {
|
|
@@ -50854,7 +50858,8 @@ server.tool(
|
|
|
50854
50858
|
...at ? { at } : {},
|
|
50855
50859
|
...timezone ? { timezone } : {},
|
|
50856
50860
|
...day_of_week !== void 0 ? { day_of_week } : {},
|
|
50857
|
-
...schedules ? { schedules } : {}
|
|
50861
|
+
...schedules ? { schedules } : {},
|
|
50862
|
+
...target_agent ? { target_agent } : {}
|
|
50858
50863
|
});
|
|
50859
50864
|
} catch (err) {
|
|
50860
50865
|
return { content: [{ type: "text", text: `Could not propose: ${err.message}` }] };
|
package/package.json
CHANGED
|
File without changes
|