@integrity-labs/agt-cli 0.14.10 → 0.14.12
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
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
success,
|
|
45
45
|
table,
|
|
46
46
|
warn
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-NSHSUWZQ.js";
|
|
48
48
|
|
|
49
49
|
// src/bin/agt.ts
|
|
50
50
|
import { join as join9 } from "path";
|
|
@@ -3380,7 +3380,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
3380
3380
|
import { existsSync as existsSync4, realpathSync } from "fs";
|
|
3381
3381
|
import chalk17 from "chalk";
|
|
3382
3382
|
import ora15 from "ora";
|
|
3383
|
-
var cliVersion = true ? "0.14.
|
|
3383
|
+
var cliVersion = true ? "0.14.12" : "dev";
|
|
3384
3384
|
async function fetchLatestVersion() {
|
|
3385
3385
|
const host2 = getHost();
|
|
3386
3386
|
if (!host2) return null;
|
|
@@ -3829,7 +3829,7 @@ function handleError(err) {
|
|
|
3829
3829
|
}
|
|
3830
3830
|
|
|
3831
3831
|
// src/bin/agt.ts
|
|
3832
|
-
var cliVersion2 = true ? "0.14.
|
|
3832
|
+
var cliVersion2 = true ? "0.14.12" : "dev";
|
|
3833
3833
|
var program = new Command();
|
|
3834
3834
|
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");
|
|
3835
3835
|
program.hook("preAction", (thisCommand) => {
|
|
@@ -4836,11 +4836,20 @@ function classifyOutput(output) {
|
|
|
4836
4836
|
const cleaned = output.replace(SENTINEL_REGEX, "").replace(/\n{3,}/g, "\n\n").trim();
|
|
4837
4837
|
return { action: "strip", deliverable: cleaned, suppressedNotes: "" };
|
|
4838
4838
|
}
|
|
4839
|
+
var NON_DELIVERABLE_REMAINDER_PATTERNS = [
|
|
4840
|
+
/^\[notes\]/i,
|
|
4841
|
+
// Operator-facing notes block.
|
|
4842
|
+
/^[—–-]\s*scheduled by\b/i,
|
|
4843
|
+
// Default delivery-pipeline footer.
|
|
4844
|
+
/^sent (?:from|via)\b/i,
|
|
4845
|
+
// Mobile-style signatures.
|
|
4846
|
+
/^—?\s*automated (?:brief|report|message)\b/i
|
|
4847
|
+
];
|
|
4839
4848
|
function looksLikeNotesOnly(remainder) {
|
|
4840
4849
|
const lines = remainder.split("\n").map((l) => l.trim()).filter((l) => l.length > 0);
|
|
4841
4850
|
if (lines.length === 0)
|
|
4842
4851
|
return false;
|
|
4843
|
-
return lines
|
|
4852
|
+
return lines.every((line) => NON_DELIVERABLE_REMAINDER_PATTERNS.some((pattern) => pattern.test(line)));
|
|
4844
4853
|
}
|
|
4845
4854
|
|
|
4846
4855
|
// ../../packages/core/dist/schemas/validators.js
|
|
@@ -6844,4 +6853,4 @@ export {
|
|
|
6844
6853
|
managerStopCommand,
|
|
6845
6854
|
managerStatusCommand
|
|
6846
6855
|
};
|
|
6847
|
-
//# sourceMappingURL=chunk-
|
|
6856
|
+
//# sourceMappingURL=chunk-NSHSUWZQ.js.map
|