@integrity-labs/agt-cli 0.28.340 → 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 +4 -4
- package/dist/{chunk-J6QDPXGS.js → chunk-7OBFGSQS.js} +19 -9
- package/dist/chunk-7OBFGSQS.js.map +1 -0
- package/dist/{chunk-Z6ASBYHI.js → chunk-V2FVNWF2.js} +11 -17
- package/dist/{chunk-Z6ASBYHI.js.map → chunk-V2FVNWF2.js.map} +1 -1
- package/dist/{claude-pair-runtime-F55PDOWQ.js → claude-pair-runtime-NUZWSILK.js} +2 -2
- package/dist/lib/manager-worker.js +252 -164
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/origami.js +18 -8
- package/dist/{persistent-session-4UG3S54C.js → persistent-session-XWJSAZB4.js} +2 -2
- package/dist/{responsiveness-probe-TK47IXPX.js → responsiveness-probe-XLS2FXIX.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-J6QDPXGS.js.map +0 -1
- /package/dist/{claude-pair-runtime-F55PDOWQ.js.map → claude-pair-runtime-NUZWSILK.js.map} +0 -0
- /package/dist/{persistent-session-4UG3S54C.js.map → persistent-session-XWJSAZB4.js.map} +0 -0
- /package/dist/{responsiveness-probe-TK47IXPX.js.map → responsiveness-probe-XLS2FXIX.js.map} +0 -0
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
resolveConnectivityProbe,
|
|
21
21
|
worseConnectivityOutcome,
|
|
22
22
|
wrapScheduledTaskPrompt
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7OBFGSQS.js";
|
|
24
24
|
import {
|
|
25
25
|
parsePsRows
|
|
26
26
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -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") {
|
|
@@ -6371,22 +6377,10 @@ function buildAugmentedMcpServer(input, mcpBundlePath2) {
|
|
|
6371
6377
|
};
|
|
6372
6378
|
}
|
|
6373
6379
|
function buildOpencodeConfig(input, opts) {
|
|
6374
|
-
const { agent,
|
|
6380
|
+
const { agent, toolsFrontmatter } = input;
|
|
6375
6381
|
const model = toOpencodeModel(agent.primary_model);
|
|
6376
6382
|
return {
|
|
6377
6383
|
$schema: "https://opencode.ai/config.json",
|
|
6378
|
-
// Provision metadata, readable by the agent at runtime (parallel to the
|
|
6379
|
-
// claude-code adapter's `_augmented` block in settings.json).
|
|
6380
|
-
_augmented: {
|
|
6381
|
-
agent_id: agent.agent_id,
|
|
6382
|
-
code_name: agent.code_name,
|
|
6383
|
-
display_name: agent.display_name,
|
|
6384
|
-
environment: agent.environment,
|
|
6385
|
-
risk_tier: agent.risk_tier,
|
|
6386
|
-
framework: "opencode",
|
|
6387
|
-
charter_version: charterFrontmatter?.version,
|
|
6388
|
-
tools_version: toolsFrontmatter?.version
|
|
6389
|
-
},
|
|
6390
6384
|
model,
|
|
6391
6385
|
provider: buildProvider(model),
|
|
6392
6386
|
// AGENTS.md is auto-loaded by opencode every session; CHARTER.md is the
|
|
@@ -6436,7 +6430,7 @@ function generateAgentsMd(input) {
|
|
|
6436
6430
|
if (input.resolvedChannels.length > 0) {
|
|
6437
6431
|
out.push("## Channels");
|
|
6438
6432
|
out.push("");
|
|
6439
|
-
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.`);
|
|
6440
6434
|
out.push("");
|
|
6441
6435
|
}
|
|
6442
6436
|
if (input.guardrails && input.guardrails.length > 0) {
|
|
@@ -7043,7 +7037,7 @@ function requireHost() {
|
|
|
7043
7037
|
}
|
|
7044
7038
|
|
|
7045
7039
|
// src/lib/api-client.ts
|
|
7046
|
-
var agtCliVersion = true ? "0.28.
|
|
7040
|
+
var agtCliVersion = true ? "0.28.342" : "dev";
|
|
7047
7041
|
var lastConfigHash = null;
|
|
7048
7042
|
function setConfigHash(hash) {
|
|
7049
7043
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9492,4 +9486,4 @@ export {
|
|
|
9492
9486
|
managerInstallSystemUnitCommand,
|
|
9493
9487
|
managerUninstallSystemUnitCommand
|
|
9494
9488
|
};
|
|
9495
|
-
//# sourceMappingURL=chunk-
|
|
9489
|
+
//# sourceMappingURL=chunk-V2FVNWF2.js.map
|