@integrity-labs/agt-cli 0.28.341 → 0.28.342
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-V2FVNWF2.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.342" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.342" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -6277,6 +6277,12 @@ function buildChannelServerEnv(channelId, config, options) {
|
|
|
6277
6277
|
const avatar = options?.agentAvatarUrl?.trim();
|
|
6278
6278
|
if (avatar)
|
|
6279
6279
|
env["SLACK_AGENT_AVATAR_URL"] = avatar;
|
|
6280
|
+
const ackReaction = typeof config["ack_reaction"] === "string" ? config["ack_reaction"].trim() : "";
|
|
6281
|
+
if (ackReaction)
|
|
6282
|
+
env["SLACK_ACK_REACTION"] = ackReaction;
|
|
6283
|
+
const skipReaction = typeof config["skip_reaction"] === "string" ? config["skip_reaction"].trim() : "";
|
|
6284
|
+
if (skipReaction)
|
|
6285
|
+
env["SLACK_SKIP_REACTION"] = skipReaction;
|
|
6280
6286
|
return env;
|
|
6281
6287
|
}
|
|
6282
6288
|
if (channelId === "telegram") {
|
|
@@ -6424,7 +6430,7 @@ function generateAgentsMd(input) {
|
|
|
6424
6430
|
if (input.resolvedChannels.length > 0) {
|
|
6425
6431
|
out.push("## Channels");
|
|
6426
6432
|
out.push("");
|
|
6427
|
-
out.push(`You reach people over: ${input.resolvedChannels.map((c) => `\`${c}\``).join(", ")}.
|
|
6433
|
+
out.push(`You reach people over: ${input.resolvedChannels.map((c) => `\`${c}\``).join(", ")}. An inbound message arrives as a turn tagged \`<channel ...>\` that names its channel and sender. Reply by writing your answer as your normal assistant response: the platform captures that reply text and delivers it back to the same channel and thread for you, automatically. There is no channel tool and no separate send or post step, so do NOT call a tool to deliver, post, or "reply on the thread". Just answer in plain text and end your turn.`);
|
|
6428
6434
|
out.push("");
|
|
6429
6435
|
}
|
|
6430
6436
|
if (input.guardrails && input.guardrails.length > 0) {
|
|
@@ -7031,7 +7037,7 @@ function requireHost() {
|
|
|
7031
7037
|
}
|
|
7032
7038
|
|
|
7033
7039
|
// src/lib/api-client.ts
|
|
7034
|
-
var agtCliVersion = true ? "0.28.
|
|
7040
|
+
var agtCliVersion = true ? "0.28.342" : "dev";
|
|
7035
7041
|
var lastConfigHash = null;
|
|
7036
7042
|
function setConfigHash(hash) {
|
|
7037
7043
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9480,4 +9486,4 @@ export {
|
|
|
9480
9486
|
managerInstallSystemUnitCommand,
|
|
9481
9487
|
managerUninstallSystemUnitCommand
|
|
9482
9488
|
};
|
|
9483
|
-
//# sourceMappingURL=chunk-
|
|
9489
|
+
//# sourceMappingURL=chunk-V2FVNWF2.js.map
|