@integrity-labs/agt-cli 0.28.255 → 0.28.256
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
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
table,
|
|
40
40
|
warn
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-YAPZYRH4.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -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.256" : "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.256" : "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) => {
|
|
@@ -5832,7 +5832,7 @@ function requireHost() {
|
|
|
5832
5832
|
}
|
|
5833
5833
|
|
|
5834
5834
|
// src/lib/api-client.ts
|
|
5835
|
-
var agtCliVersion = true ? "0.28.
|
|
5835
|
+
var agtCliVersion = true ? "0.28.256" : "dev";
|
|
5836
5836
|
var lastConfigHash = null;
|
|
5837
5837
|
function setConfigHash(hash) {
|
|
5838
5838
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8102,4 +8102,4 @@ export {
|
|
|
8102
8102
|
managerInstallSystemUnitCommand,
|
|
8103
8103
|
managerUninstallSystemUnitCommand
|
|
8104
8104
|
};
|
|
8105
|
-
//# sourceMappingURL=chunk-
|
|
8105
|
+
//# sourceMappingURL=chunk-YAPZYRH4.js.map
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
requireHost,
|
|
38
38
|
safeWriteJsonAtomic,
|
|
39
39
|
setConfigHash
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-YAPZYRH4.js";
|
|
41
41
|
import {
|
|
42
42
|
getProjectDir as getProjectDir2,
|
|
43
43
|
getReadyTasks,
|
|
@@ -6669,7 +6669,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6669
6669
|
var lastVersionCheckAt = 0;
|
|
6670
6670
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6671
6671
|
var lastResponsivenessProbeAt = 0;
|
|
6672
|
-
var agtCliVersion = true ? "0.28.
|
|
6672
|
+
var agtCliVersion = true ? "0.28.256" : "dev";
|
|
6673
6673
|
function resolveBrewPath(execFileSync2) {
|
|
6674
6674
|
try {
|
|
6675
6675
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/index.js
CHANGED
|
@@ -22746,6 +22746,32 @@ server.tool(
|
|
|
22746
22746
|
};
|
|
22747
22747
|
}
|
|
22748
22748
|
);
|
|
22749
|
+
server.tool(
|
|
22750
|
+
"routine_propose",
|
|
22751
|
+
"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.",
|
|
22752
|
+
{
|
|
22753
|
+
name: external_exports.string().describe('Short routine name (e.g. "Morning inbox summary")'),
|
|
22754
|
+
description: external_exports.string().describe("What the routine does, self-contained (this text is shown to the user and becomes the routine prompt basis)"),
|
|
22755
|
+
cadence_guess: external_exports.enum(["daily", "weekdays", "weekly", "unknown"]).optional().describe("Best guess at the cadence the user asked for")
|
|
22756
|
+
},
|
|
22757
|
+
async ({ name, description, cadence_guess }) => {
|
|
22758
|
+
let data;
|
|
22759
|
+
try {
|
|
22760
|
+
data = await apiPost("/host/routines/propose", {
|
|
22761
|
+
agent_id: AGT_AGENT_ID,
|
|
22762
|
+
name,
|
|
22763
|
+
description,
|
|
22764
|
+
...cadence_guess ? { cadence_guess } : {}
|
|
22765
|
+
});
|
|
22766
|
+
} catch (err) {
|
|
22767
|
+
return { content: [{ type: "text", text: `Could not propose: ${err.message}` }] };
|
|
22768
|
+
}
|
|
22769
|
+
if (!data.ok) {
|
|
22770
|
+
return { content: [{ type: "text", text: data.error ?? data.message ?? "Could not propose the routine." }] };
|
|
22771
|
+
}
|
|
22772
|
+
return { content: [{ type: "text", text: data.message ?? `Offer ${data.offer_id} filed.` }] };
|
|
22773
|
+
}
|
|
22774
|
+
);
|
|
22749
22775
|
server.tool(
|
|
22750
22776
|
"submit_routine_output",
|
|
22751
22777
|
"Submit a gated routine's drafted output for human approval. Use ONLY when your routine prompt says the routine is in its approval phase - the platform delivers the draft after sign-off; do not deliver it yourself.",
|
|
@@ -23422,6 +23448,7 @@ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
|
23422
23448
|
"schedule_delete",
|
|
23423
23449
|
"schedule_update",
|
|
23424
23450
|
"submit_routine_output",
|
|
23451
|
+
"routine_propose",
|
|
23425
23452
|
"knowledge_list",
|
|
23426
23453
|
"knowledge_add",
|
|
23427
23454
|
"knowledge_update",
|
package/package.json
CHANGED
|
File without changes
|