@integrity-labs/agt-cli 0.27.150-test.15 → 0.27.150-test.16
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
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
success,
|
|
29
29
|
table,
|
|
30
30
|
warn
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-QHEAAPEG.js";
|
|
32
32
|
import {
|
|
33
33
|
CHANNEL_REGISTRY,
|
|
34
34
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -4934,7 +4934,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4934
4934
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4935
4935
|
import chalk18 from "chalk";
|
|
4936
4936
|
import ora16 from "ora";
|
|
4937
|
-
var cliVersion = true ? "0.27.150-test.
|
|
4937
|
+
var cliVersion = true ? "0.27.150-test.16" : "dev";
|
|
4938
4938
|
async function fetchLatestVersion() {
|
|
4939
4939
|
const host2 = getHost();
|
|
4940
4940
|
if (!host2) return null;
|
|
@@ -5857,7 +5857,7 @@ function handleError(err) {
|
|
|
5857
5857
|
}
|
|
5858
5858
|
|
|
5859
5859
|
// src/bin/agt.ts
|
|
5860
|
-
var cliVersion2 = true ? "0.27.150-test.
|
|
5860
|
+
var cliVersion2 = true ? "0.27.150-test.16" : "dev";
|
|
5861
5861
|
var program = new Command();
|
|
5862
5862
|
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");
|
|
5863
5863
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4478,7 +4478,13 @@ function provisionStopHook(codeName) {
|
|
|
4478
4478
|
"# tag (slack-channel.ts:1247 / telegram-channel.ts:776 emit content +",
|
|
4479
4479
|
"# meta which Claude Code wraps in a <channel ...> preamble). Searching",
|
|
4480
4480
|
"# the raw text gives us the exact pending conversation key.",
|
|
4481
|
-
|
|
4481
|
+
"# User-event content is frequently a PLAIN STRING (channel notifications",
|
|
4482
|
+
"# land that way), not a content-block array \u2014 map() over a string is a",
|
|
4483
|
+
"# jq error, which the 2>/dev/null swallowed, so the tag came back empty",
|
|
4484
|
+
"# and recovery silently no-oped on every Slack ghost reply (confirmed",
|
|
4485
|
+
"# live on sherlock/agt-aws-1 2026-06-10). Normalize string \u2192 one text",
|
|
4486
|
+
"# block before mapping.",
|
|
4487
|
+
`CHANNEL_TAG=$(tail -400 "$TRANSCRIPT_PATH" | jq -r '(.message.content // .content // []) | if type == "string" then [{type: "text", text: .}] else . end | map(select(.type == "text") | .text) | join(" ")' 2>/dev/null | grep -oE '<channel [^>]+>' | tail -1 || true)`,
|
|
4482
4488
|
'TAG_SOURCE=""',
|
|
4483
4489
|
`if [ -n "$CHANNEL_TAG" ]; then TAG_SOURCE=$(echo "$CHANNEL_TAG" | grep -oE 'source="[^"]+"' | head -1 | sed 's/source="\\(.*\\)"/\\1/' || true); fi`,
|
|
4484
4490
|
'extract_attr() { echo "$1" | grep -oE "$2=\\"[^\\"]+\\"" | head -1 | sed -E "s/$2=\\"(.*)\\"/\\\\1/"; }',
|
|
@@ -7881,4 +7887,4 @@ export {
|
|
|
7881
7887
|
managerInstallSystemUnitCommand,
|
|
7882
7888
|
managerUninstallSystemUnitCommand
|
|
7883
7889
|
};
|
|
7884
|
-
//# sourceMappingURL=chunk-
|
|
7890
|
+
//# sourceMappingURL=chunk-QHEAAPEG.js.map
|