@integrity-labs/agt-cli 0.28.1297 → 0.28.1298
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/{api-client-JYLMRQ5B.js → api-client-INS5Y6AC.js} +2 -2
- package/dist/bin/agt.js +4 -4
- package/dist/{chunk-L43TPIOQ.js → chunk-LH6GI45I.js} +2 -2
- package/dist/{chunk-5RA3GYYL.js → chunk-QUZDW6JK.js} +2 -2
- package/dist/lib/manager-worker.js +4 -4
- package/dist/mcp/index.js +3 -3
- package/package.json +1 -1
- /package/dist/{api-client-JYLMRQ5B.js.map → api-client-INS5Y6AC.js.map} +0 -0
- /package/dist/{chunk-L43TPIOQ.js.map → chunk-LH6GI45I.js.map} +0 -0
- /package/dist/{chunk-5RA3GYYL.js.map → chunk-QUZDW6JK.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
mintRotatedHostKey,
|
|
16
16
|
probeHostKey,
|
|
17
17
|
setConfigHash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LH6GI45I.js";
|
|
19
19
|
import "./chunk-FPJRE3WT.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
probeHostKey,
|
|
37
37
|
setConfigHash
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=api-client-
|
|
39
|
+
//# sourceMappingURL=api-client-INS5Y6AC.js.map
|
package/dist/bin/agt.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
success,
|
|
32
32
|
table,
|
|
33
33
|
warn
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-QUZDW6JK.js";
|
|
35
35
|
import {
|
|
36
36
|
ApiError,
|
|
37
37
|
PROD_AGT_HOST,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
getHost,
|
|
43
43
|
getHostId,
|
|
44
44
|
setActiveTeam
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-LH6GI45I.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir,
|
|
48
48
|
isSessionResumeDisabled,
|
|
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5207
5207
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
5208
5208
|
import chalk17 from "chalk";
|
|
5209
5209
|
import ora15 from "ora";
|
|
5210
|
-
var cliVersion = true ? "0.28.
|
|
5210
|
+
var cliVersion = true ? "0.28.1298" : "dev";
|
|
5211
5211
|
async function fetchLatestVersion() {
|
|
5212
5212
|
const host2 = getHost();
|
|
5213
5213
|
if (!host2) return null;
|
|
@@ -6467,7 +6467,7 @@ function handleError(err) {
|
|
|
6467
6467
|
}
|
|
6468
6468
|
|
|
6469
6469
|
// src/bin/agt.ts
|
|
6470
|
-
var cliVersion2 = true ? "0.28.
|
|
6470
|
+
var cliVersion2 = true ? "0.28.1298" : "dev";
|
|
6471
6471
|
var program = new Command();
|
|
6472
6472
|
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");
|
|
6473
6473
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -103,7 +103,7 @@ function exchangeFailureKind(err) {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
// src/lib/api-client.ts
|
|
106
|
-
var agtCliVersion = true ? "0.28.
|
|
106
|
+
var agtCliVersion = true ? "0.28.1298" : "dev";
|
|
107
107
|
var lastConfigHash = null;
|
|
108
108
|
function setConfigHash(hash) {
|
|
109
109
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -468,4 +468,4 @@ export {
|
|
|
468
468
|
api,
|
|
469
469
|
getHostId
|
|
470
470
|
};
|
|
471
|
-
//# sourceMappingURL=chunk-
|
|
471
|
+
//# sourceMappingURL=chunk-LH6GI45I.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
exchangeApiKey,
|
|
3
3
|
getApiKey,
|
|
4
4
|
getHost
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LH6GI45I.js";
|
|
6
6
|
import {
|
|
7
7
|
LATE_BOUND_VARS,
|
|
8
8
|
PLATFORM_DENY_PERMISSIONS,
|
|
@@ -13876,4 +13876,4 @@ export {
|
|
|
13876
13876
|
managerInstallSystemUnitCommand,
|
|
13877
13877
|
managerUninstallSystemUnitCommand
|
|
13878
13878
|
};
|
|
13879
|
-
//# sourceMappingURL=chunk-
|
|
13879
|
+
//# sourceMappingURL=chunk-QUZDW6JK.js.map
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
tripClass,
|
|
71
71
|
writeEtcEnvironment,
|
|
72
72
|
writeProfileDScript
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-QUZDW6JK.js";
|
|
74
74
|
import {
|
|
75
75
|
ApiError,
|
|
76
76
|
adoptHostKeyInProcess,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
probeHostKey,
|
|
89
89
|
requireHost,
|
|
90
90
|
setConfigHash
|
|
91
|
-
} from "../chunk-
|
|
91
|
+
} from "../chunk-LH6GI45I.js";
|
|
92
92
|
import {
|
|
93
93
|
BLOCKED_ON_PROMPT_DECISION,
|
|
94
94
|
CHANNEL_SECRET_ENV_KEYS,
|
|
@@ -15774,7 +15774,7 @@ function createFileMigrationReportIO(codeName, log2) {
|
|
|
15774
15774
|
};
|
|
15775
15775
|
}
|
|
15776
15776
|
var managerHostPost = async (path, body) => {
|
|
15777
|
-
const { api: api2, ApiError: ApiError3 } = await import("../api-client-
|
|
15777
|
+
const { api: api2, ApiError: ApiError3 } = await import("../api-client-INS5Y6AC.js");
|
|
15778
15778
|
try {
|
|
15779
15779
|
const json = await api2.post(path, body);
|
|
15780
15780
|
return { status: 200, json };
|
|
@@ -18759,7 +18759,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
18759
18759
|
var lastVersionCheckAt = 0;
|
|
18760
18760
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
18761
18761
|
var lastResponsivenessProbeAt = 0;
|
|
18762
|
-
var agtCliVersion = true ? "0.28.
|
|
18762
|
+
var agtCliVersion = true ? "0.28.1298" : "dev";
|
|
18763
18763
|
function resolveBrewPath(execFileSync5) {
|
|
18764
18764
|
try {
|
|
18765
18765
|
const out = execFileSync5("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/index.js
CHANGED
|
@@ -50424,7 +50424,7 @@ function registerApprovalTools(server2, deps) {
|
|
|
50424
50424
|
summary: external_exports.string().min(1).max(280).describe('One line describing the action you want approved (shown to the approver). E.g. "Send the Q3 report to the external auditor".'),
|
|
50425
50425
|
reason: external_exports.string().min(1).max(280).describe("Why you need it / context for the approver. Keep it specific."),
|
|
50426
50426
|
idempotency_key: external_exports.string().min(1).max(200).describe("A stable exactly-once key YOU choose for this ask (e.g. a task id + action). Retrying with the same key + same details re-attaches to the same request instead of filing a duplicate."),
|
|
50427
|
-
detail: external_exports.record(external_exports.unknown()).optional().describe(
|
|
50427
|
+
detail: external_exports.record(external_exports.string(), external_exports.unknown()).optional().describe(
|
|
50428
50428
|
"Optional structured context for the approver (display + audit only; never executed). When the action is sending an email, include email: { to, from, subject } (to: an address or a list of them; from: the mailbox it goes out from) so the approval card shows From / To / Subject. Asking again with a different detail under the same idempotency_key is a different request."
|
|
50429
50429
|
),
|
|
50430
50430
|
ttl_seconds: external_exports.number().int().optional().describe("How long the request stays open before it times out, in seconds (default 14400 = 4 hours; clamped to [60, 86400]). Omit it to get the default; do not pass a shorter value unless the action genuinely goes stale sooner."),
|
|
@@ -52846,7 +52846,7 @@ server.tool(
|
|
|
52846
52846
|
button_label: external_exports.string().min(1).max(75).optional().describe(
|
|
52847
52847
|
'Optional label for the button that opens the form (max 75 chars). Defaults to "Fill out form". Use a specific call-to-action so the person knows what they are opening, e.g. "Start intake", "Give feedback", "Book a slot", "Submit your update".'
|
|
52848
52848
|
),
|
|
52849
|
-
schema: external_exports.record(external_exports.unknown()).describe(
|
|
52849
|
+
schema: external_exports.record(external_exports.string(), external_exports.unknown()).describe(
|
|
52850
52850
|
'The form definition as a constrained JSON Schema: { "type": "object", "properties": { "<field>": { "type": "string|number|integer|boolean|array", "enum"?: [...], "format"?: "date|time|date-time|email|uri", ... } }, "required": ["..."] }. Flat only - no nested objects or oneOf/anyOf/allOf.'
|
|
52851
52851
|
),
|
|
52852
52852
|
request_id: external_exports.string().max(200).optional().describe(
|
|
@@ -52977,7 +52977,7 @@ server.tool(
|
|
|
52977
52977
|
"Report configuration drift detected in local agent files (CHARTER.md, TOOLS.md, etc.). Compares local file hashes against API-side versions and reports any differences.",
|
|
52978
52978
|
{
|
|
52979
52979
|
drifted_files: external_exports.array(external_exports.string()).describe('List of filenames that have drifted from provisioned state (e.g. ["CHARTER.md", "TOOLS.md"])'),
|
|
52980
|
-
local_hashes: external_exports.record(external_exports.string()).optional().describe("Map of filename to SHA-256 hash of local content")
|
|
52980
|
+
local_hashes: external_exports.record(external_exports.string(), external_exports.string()).optional().describe("Map of filename to SHA-256 hash of local content")
|
|
52981
52981
|
},
|
|
52982
52982
|
async (params) => {
|
|
52983
52983
|
const data = await apiPost("/host/drift", {
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|