@integrity-labs/agt-cli 0.28.1268 → 0.28.1270
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-MH7MLGTA.js → api-client-TPJBEIKR.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-X2FBQPNR.js → chunk-A22SKOQ4.js} +2 -2
- package/dist/{chunk-W2GHPRPZ.js → chunk-CJFHB3HA.js} +22 -1
- package/dist/chunk-CJFHB3HA.js.map +1 -0
- package/dist/{chunk-BMO6GCK2.js → chunk-HHDHYVLS.js} +2 -2
- package/dist/{chunk-TMZDRXAK.js → chunk-PVVFL73J.js} +5 -5
- package/dist/{chunk-ERO3R3Z7.js → chunk-SXQ6YCFR.js} +3 -3
- package/dist/{chunk-EHZQAT3Q.js → chunk-YP7VUMM4.js} +3 -3
- package/dist/{claude-code-updater-XISTQTZX.js → claude-code-updater-K6PENJ7A.js} +3 -3
- package/dist/{claude-pair-runtime-3PHBCCUP.js → claude-pair-runtime-NOVMDM62.js} +3 -3
- package/dist/lib/manager-worker.js +278 -189
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +193 -126
- package/dist/mcp/index.js +21 -0
- package/dist/mcp/origami.js +21 -0
- package/dist/mcp/slack-channel.js +137 -2
- package/dist/mcp/telegram-channel.js +21 -0
- package/dist/{persistent-session-BLZPYHBE.js → persistent-session-SMMVQBRS.js} +4 -4
- package/dist/{responsiveness-probe-T6O4V2XZ.js → responsiveness-probe-PX4FMO4H.js} +4 -4
- package/dist/{session-auth-dead-U62KZ342.js → session-auth-dead-47D57WMA.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-W2GHPRPZ.js.map +0 -1
- /package/dist/{api-client-MH7MLGTA.js.map → api-client-TPJBEIKR.js.map} +0 -0
- /package/dist/{chunk-X2FBQPNR.js.map → chunk-A22SKOQ4.js.map} +0 -0
- /package/dist/{chunk-BMO6GCK2.js.map → chunk-HHDHYVLS.js.map} +0 -0
- /package/dist/{chunk-TMZDRXAK.js.map → chunk-PVVFL73J.js.map} +0 -0
- /package/dist/{chunk-ERO3R3Z7.js.map → chunk-SXQ6YCFR.js.map} +0 -0
- /package/dist/{chunk-EHZQAT3Q.js.map → chunk-YP7VUMM4.js.map} +0 -0
- /package/dist/{claude-code-updater-XISTQTZX.js.map → claude-code-updater-K6PENJ7A.js.map} +0 -0
- /package/dist/{claude-pair-runtime-3PHBCCUP.js.map → claude-pair-runtime-NOVMDM62.js.map} +0 -0
- /package/dist/{persistent-session-BLZPYHBE.js.map → persistent-session-SMMVQBRS.js.map} +0 -0
- /package/dist/{responsiveness-probe-T6O4V2XZ.js.map → responsiveness-probe-PX4FMO4H.js.map} +0 -0
- /package/dist/{session-auth-dead-U62KZ342.js.map → session-auth-dead-47D57WMA.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -33280,6 +33280,27 @@ var HOST_KEY_ROTATION_GRACE_MAX_MS = 60 * 6e4;
|
|
|
33280
33280
|
var TEAM_SLUG_MAX_ATTEMPTS = 20;
|
|
33281
33281
|
var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
|
|
33282
33282
|
|
|
33283
|
+
// ../core/dist/branding/contrast.js
|
|
33284
|
+
var BRANDING_LIGHT_GROUND = "#ffffff";
|
|
33285
|
+
var BRANDING_DARK_GROUND = "#1a1a1e";
|
|
33286
|
+
var ACCENT_HEX_RE = /^#[0-9a-fA-F]{6}$/;
|
|
33287
|
+
function parseHexColor(value) {
|
|
33288
|
+
if (typeof value !== "string" || !ACCENT_HEX_RE.test(value))
|
|
33289
|
+
return null;
|
|
33290
|
+
return {
|
|
33291
|
+
r: parseInt(value.slice(1, 3), 16),
|
|
33292
|
+
g: parseInt(value.slice(3, 5), 16),
|
|
33293
|
+
b: parseInt(value.slice(5, 7), 16)
|
|
33294
|
+
};
|
|
33295
|
+
}
|
|
33296
|
+
var GROUNDS = {
|
|
33297
|
+
light: parseHexColor(BRANDING_LIGHT_GROUND),
|
|
33298
|
+
dark: parseHexColor(BRANDING_DARK_GROUND)
|
|
33299
|
+
};
|
|
33300
|
+
|
|
33301
|
+
// ../core/dist/branding/logo.js
|
|
33302
|
+
var MAX_BRANDING_UPLOAD_BYTES = 1024 * 1024;
|
|
33303
|
+
|
|
33283
33304
|
// src/integration-list-render.ts
|
|
33284
33305
|
var PREVIEW_LENGTH = 200;
|
|
33285
33306
|
function renderIntegrationList(plugins) {
|
package/dist/mcp/origami.js
CHANGED
|
@@ -47082,6 +47082,27 @@ var HOST_KEY_ROTATION_GRACE_MAX_MS = 60 * 6e4;
|
|
|
47082
47082
|
var TEAM_SLUG_MAX_ATTEMPTS = 20;
|
|
47083
47083
|
var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
|
|
47084
47084
|
|
|
47085
|
+
// ../core/dist/branding/contrast.js
|
|
47086
|
+
var BRANDING_LIGHT_GROUND = "#ffffff";
|
|
47087
|
+
var BRANDING_DARK_GROUND = "#1a1a1e";
|
|
47088
|
+
var ACCENT_HEX_RE = /^#[0-9a-fA-F]{6}$/;
|
|
47089
|
+
function parseHexColor(value) {
|
|
47090
|
+
if (typeof value !== "string" || !ACCENT_HEX_RE.test(value))
|
|
47091
|
+
return null;
|
|
47092
|
+
return {
|
|
47093
|
+
r: parseInt(value.slice(1, 3), 16),
|
|
47094
|
+
g: parseInt(value.slice(3, 5), 16),
|
|
47095
|
+
b: parseInt(value.slice(5, 7), 16)
|
|
47096
|
+
};
|
|
47097
|
+
}
|
|
47098
|
+
var GROUNDS = {
|
|
47099
|
+
light: parseHexColor(BRANDING_LIGHT_GROUND),
|
|
47100
|
+
dark: parseHexColor(BRANDING_DARK_GROUND)
|
|
47101
|
+
};
|
|
47102
|
+
|
|
47103
|
+
// ../core/dist/branding/logo.js
|
|
47104
|
+
var MAX_BRANDING_UPLOAD_BYTES = 1024 * 1024;
|
|
47105
|
+
|
|
47085
47106
|
// src/identity.ts
|
|
47086
47107
|
var IdentityError = class extends Error {
|
|
47087
47108
|
status;
|
|
@@ -41937,6 +41937,27 @@ var HOST_KEY_ROTATION_GRACE_MAX_MS = 60 * 6e4;
|
|
|
41937
41937
|
var TEAM_SLUG_MAX_ATTEMPTS = 20;
|
|
41938
41938
|
var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
|
|
41939
41939
|
|
|
41940
|
+
// ../core/dist/branding/contrast.js
|
|
41941
|
+
var BRANDING_LIGHT_GROUND = "#ffffff";
|
|
41942
|
+
var BRANDING_DARK_GROUND = "#1a1a1e";
|
|
41943
|
+
var ACCENT_HEX_RE = /^#[0-9a-fA-F]{6}$/;
|
|
41944
|
+
function parseHexColor(value) {
|
|
41945
|
+
if (typeof value !== "string" || !ACCENT_HEX_RE.test(value))
|
|
41946
|
+
return null;
|
|
41947
|
+
return {
|
|
41948
|
+
r: parseInt(value.slice(1, 3), 16),
|
|
41949
|
+
g: parseInt(value.slice(3, 5), 16),
|
|
41950
|
+
b: parseInt(value.slice(5, 7), 16)
|
|
41951
|
+
};
|
|
41952
|
+
}
|
|
41953
|
+
var GROUNDS = {
|
|
41954
|
+
light: parseHexColor(BRANDING_LIGHT_GROUND),
|
|
41955
|
+
dark: parseHexColor(BRANDING_DARK_GROUND)
|
|
41956
|
+
};
|
|
41957
|
+
|
|
41958
|
+
// ../core/dist/branding/logo.js
|
|
41959
|
+
var MAX_BRANDING_UPLOAD_BYTES = 1024 * 1024;
|
|
41960
|
+
|
|
41940
41961
|
// src/account-enforcement-notice.ts
|
|
41941
41962
|
import { readFileSync as readFileSync2 } from "fs";
|
|
41942
41963
|
import { homedir as homedir2 } from "os";
|
|
@@ -43383,8 +43404,13 @@ var SLACK_EGRESS_TOOLS = /* @__PURE__ */ new Set([
|
|
|
43383
43404
|
"slack.ask_user",
|
|
43384
43405
|
"slack.upload_file",
|
|
43385
43406
|
"slack.update",
|
|
43407
|
+
"slack.consume",
|
|
43386
43408
|
"channel_request_input"
|
|
43387
43409
|
]);
|
|
43410
|
+
var SLACK_INGRESS_ONLY_EXEMPT = /* @__PURE__ */ new Set(["slack.consume"]);
|
|
43411
|
+
function isSlackIngressOnlyExempt(name) {
|
|
43412
|
+
return SLACK_INGRESS_ONLY_EXEMPT.has(name);
|
|
43413
|
+
}
|
|
43388
43414
|
|
|
43389
43415
|
// src/slack-egress-target.ts
|
|
43390
43416
|
var SLACK_EGRESS_COORDS = {
|
|
@@ -43397,6 +43423,8 @@ var SLACK_EGRESS_COORDS = {
|
|
|
43397
43423
|
"slack.upload_file": { thread: ["thread_ts"] },
|
|
43398
43424
|
// required: channel, ts, text — `ts` names the message being edited.
|
|
43399
43425
|
"slack.update": { message: ["ts"] },
|
|
43426
|
+
// ENG-12127: names the inbound it closes (exempt from the ingress-only guard).
|
|
43427
|
+
"slack.consume": { inboundId: ["inbound_id"] },
|
|
43400
43428
|
// ENG-10736: posts a button card into the thread named by `thread_id`, which
|
|
43401
43429
|
// packs channel and thread into one string. Top-level form (`thread_id` is a
|
|
43402
43430
|
// bare channel id, no colon) names no thread, so it contributes no candidate.
|
|
@@ -44534,6 +44562,18 @@ var defaultClearMarkerFile = (fullPath) => {
|
|
|
44534
44562
|
} catch {
|
|
44535
44563
|
}
|
|
44536
44564
|
};
|
|
44565
|
+
function makeSilentClearMarkerFile(cancelScheduledNotice) {
|
|
44566
|
+
return (fullPath) => {
|
|
44567
|
+
try {
|
|
44568
|
+
const marker = JSON.parse(readFileSync5(fullPath, "utf-8"));
|
|
44569
|
+
if (marker && typeof marker.channel === "string" && marker.channel) {
|
|
44570
|
+
cancelScheduledNotice(marker);
|
|
44571
|
+
}
|
|
44572
|
+
} catch {
|
|
44573
|
+
}
|
|
44574
|
+
defaultClearMarkerFile(fullPath);
|
|
44575
|
+
};
|
|
44576
|
+
}
|
|
44537
44577
|
function applyToMatchingMarkers(dir, prefix, suffix, op) {
|
|
44538
44578
|
if (!dir) return 0;
|
|
44539
44579
|
let applied = 0;
|
|
@@ -44589,6 +44629,18 @@ function clearSlackPendingMarkerByMessageTs(dir, channel, messageTs, clear = def
|
|
|
44589
44629
|
const messageSuffix = `__${sanitizeMarkerSegment(messageTs)}.json`;
|
|
44590
44630
|
return applyToMatchingMarkers(dir, channelPrefix, messageSuffix, clear);
|
|
44591
44631
|
}
|
|
44632
|
+
function slackPendingMarkerExistsByMessageTs(dir, channel, messageTs) {
|
|
44633
|
+
if (!dir) return false;
|
|
44634
|
+
const prefix = `${sanitizeMarkerSegment(channel)}__`;
|
|
44635
|
+
const suffix = `__${sanitizeMarkerSegment(messageTs)}.json`;
|
|
44636
|
+
let names;
|
|
44637
|
+
try {
|
|
44638
|
+
names = readdirSync4(dir);
|
|
44639
|
+
} catch (err) {
|
|
44640
|
+
return err?.code !== "ENOENT";
|
|
44641
|
+
}
|
|
44642
|
+
return names.some((f) => f.startsWith(prefix) && f.endsWith(suffix));
|
|
44643
|
+
}
|
|
44592
44644
|
function markSeenSlackPendingMarkerByMessageTs(dir, channel, messageTs, markSeen) {
|
|
44593
44645
|
const channelPrefix = `${sanitizeMarkerSegment(channel)}__`;
|
|
44594
44646
|
const messageSuffix = `__${sanitizeMarkerSegment(messageTs)}.json`;
|
|
@@ -46077,6 +46129,19 @@ function createInboundRegistry(opts = {}) {
|
|
|
46077
46129
|
};
|
|
46078
46130
|
}
|
|
46079
46131
|
|
|
46132
|
+
// src/slack-consume.ts
|
|
46133
|
+
function consumeSlackInbound(input) {
|
|
46134
|
+
const id = typeof input.inboundId === "string" ? input.inboundId.trim() : "";
|
|
46135
|
+
if (!id) return { ok: false, reason: "missing_inbound_id" };
|
|
46136
|
+
const inbound = input.registry.byInboundId(id);
|
|
46137
|
+
if (!inbound) return { ok: false, reason: "unknown_inbound_id" };
|
|
46138
|
+
if (inbound.clearedAt !== void 0) return { ok: false, reason: "already_closed" };
|
|
46139
|
+
if (!input.clearMessage(inbound.channel, inbound.messageTs)) return { ok: false, reason: "clear_failed" };
|
|
46140
|
+
input.retractAck(inbound.channel, inbound.messageTs);
|
|
46141
|
+
return { ok: true, channel: inbound.channel, threadTs: inbound.threadTs, messageTs: inbound.messageTs };
|
|
46142
|
+
}
|
|
46143
|
+
var SLACK_CONSUME_TOOL_DESCRIPTION = 'Close a Slack message you are deliberately NOT replying to, silently: it adds no reaction and posts no reply (it only removes your own automatic \u{1F440} "reply coming" ack). Pass the inbound_id from its <channel> tag. Use it for a message that was not for you (a different @-mention, a side conversation, an auto-followed thread) when a reaction is not wanted. It clears the pending-reply marker, so nothing you write afterwards is posted to that thread. If you reply with slack_reply you do not also need to consume.';
|
|
46144
|
+
|
|
46080
46145
|
// src/slack-inbound-id.ts
|
|
46081
46146
|
import { createHash as createHash2 } from "crypto";
|
|
46082
46147
|
var INBOUND_ID_HEX_LEN = 12;
|
|
@@ -46243,7 +46308,7 @@ function buildSlackMcpInstructions(opts) {
|
|
|
46243
46308
|
"Attachments: <channel> `files` is a JSON string - JSON.parse it. Entry with `path` (or a top-level `image_path`) is already downloaded - Read it; do NOT call slack_download_attachment. Only entries with `file_id` and no `path` (PDF/docx/csv) need slack_download_attachment (pass file_id + channel), then Read the returned path. Don't surface file-handling errors that don't affect the answer.",
|
|
46244
46309
|
"Address users by user_name, never raw user ID. In multi-participant threads the CURRENT speaker is on the latest <channel> tag.",
|
|
46245
46310
|
`Reactions (slack_react sparingly - prefer a reply): :${ackReaction}: = ack (auto-added on inbound, don't duplicate); \u2705 = success.` + (skipReactionOn ? ` "${skipReaction}" = seen, not replying.` : "") + " NEVER react to signal failure of your work - on failure slack_reply one sentence explaining it (no stack traces/secrets). \u23F3 and \u274C are system-only; never add them.",
|
|
46246
|
-
skipReactionOn ? `Decided NOT to reply to a DM or thread message (different @-mention, side chat, auto_followed catch-up, nothing useful)? slack_react with "${skipReaction}" so the sender knows you saw it - never post "this wasn't for me". Top-level channel messages you may skip silently.` : "A thread message NOT addressed to you (different @-mention, side chat, auto_followed catch-up):
|
|
46311
|
+
skipReactionOn ? `Decided NOT to reply to a DM or thread message (different @-mention, side chat, auto_followed catch-up, nothing useful)? slack_react with "${skipReaction}" so the sender knows you saw it, or slack_consume(inbound_id) for no reaction - never post "this wasn't for me". Top-level channel messages you may skip silently.` : "A thread message NOT addressed to you (different @-mention, side chat, auto_followed catch-up): stand down with slack_consume(inbound_id) - no reaction, no reply.",
|
|
46247
46312
|
'auto_followed="true" \u2192 reply only if useful (self-mentions auto-cleared server-side). own_bot_user_id=your Slack user ID. File: slack_upload_file path+channel+inbound_id.'
|
|
46248
46313
|
].join(" ");
|
|
46249
46314
|
}
|
|
@@ -48403,6 +48468,29 @@ function clearSlackPendingMarkerByMessageTs2(channel, messageTs) {
|
|
|
48403
48468
|
);
|
|
48404
48469
|
slackInboundRegistry.markCleared(channel, messageTs);
|
|
48405
48470
|
}
|
|
48471
|
+
var clearSlackMarkerFileSilently = makeSilentClearMarkerFile(
|
|
48472
|
+
(marker) => cancelScheduledSlackUndeliverableNotice(
|
|
48473
|
+
undeliverableNoticeConversationKeyFromMarker(marker)
|
|
48474
|
+
)
|
|
48475
|
+
);
|
|
48476
|
+
function retractSlackAckReaction(channel, messageTs) {
|
|
48477
|
+
if (!BOT_TOKEN) return;
|
|
48478
|
+
fetch("https://slack.com/api/reactions.remove", {
|
|
48479
|
+
method: "POST",
|
|
48480
|
+
headers: {
|
|
48481
|
+
"Content-Type": "application/json",
|
|
48482
|
+
Authorization: `Bearer ${BOT_TOKEN}`
|
|
48483
|
+
},
|
|
48484
|
+
body: JSON.stringify({ channel, timestamp: messageTs, name: SLACK_ACK_REACTION })
|
|
48485
|
+
}).catch(() => {
|
|
48486
|
+
});
|
|
48487
|
+
}
|
|
48488
|
+
function clearSlackPendingMarkerByMessageTsSilently(channel, messageTs) {
|
|
48489
|
+
clearSlackPendingMarkerByMessageTs(SLACK_PENDING_INBOUND_DIR, channel, messageTs, clearSlackMarkerFileSilently);
|
|
48490
|
+
if (slackPendingMarkerExistsByMessageTs(SLACK_PENDING_INBOUND_DIR, channel, messageTs)) return false;
|
|
48491
|
+
slackInboundRegistry.markCleared(channel, messageTs);
|
|
48492
|
+
return true;
|
|
48493
|
+
}
|
|
48406
48494
|
function clearOldestSlackPendingMarkerInChannel2(channel) {
|
|
48407
48495
|
clearOldestSlackPendingMarkerInChannel(
|
|
48408
48496
|
SLACK_PENDING_INBOUND_DIR,
|
|
@@ -50675,6 +50763,21 @@ mcp.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
50675
50763
|
required: ["channel", "text"]
|
|
50676
50764
|
}
|
|
50677
50765
|
},
|
|
50766
|
+
{
|
|
50767
|
+
// ENG-12127: the no-reaction stand-down (mirrors direct_chat.consume).
|
|
50768
|
+
name: "slack.consume",
|
|
50769
|
+
description: SLACK_CONSUME_TOOL_DESCRIPTION,
|
|
50770
|
+
inputSchema: {
|
|
50771
|
+
type: "object",
|
|
50772
|
+
properties: {
|
|
50773
|
+
inbound_id: {
|
|
50774
|
+
type: "string",
|
|
50775
|
+
description: 'The inbound_id attribute of the <channel> tag you are standing down from (e.g. "ib_a1b2c3d4e5f6").'
|
|
50776
|
+
}
|
|
50777
|
+
},
|
|
50778
|
+
required: ["inbound_id"]
|
|
50779
|
+
}
|
|
50780
|
+
},
|
|
50678
50781
|
{
|
|
50679
50782
|
name: "slack.react",
|
|
50680
50783
|
// ENG-10051: built, not a constant — the description must name the
|
|
@@ -50985,7 +51088,9 @@ mcp.setRequestHandler(CallToolRequestSchema, async (req) => {
|
|
|
50985
51088
|
if (shouldRefuseEgress({
|
|
50986
51089
|
toolName: name,
|
|
50987
51090
|
args: args ?? {},
|
|
50988
|
-
|
|
51091
|
+
// ENG-12127: slack.consume is egress (impersonation refuses it above) but
|
|
51092
|
+
// posts nothing into the thread, so this guard exempts it.
|
|
51093
|
+
isEgressTool: (n) => SLACK_EGRESS_TOOLS.has(n) && !isSlackIngressOnlyExempt(n),
|
|
50989
51094
|
inbound: slackInboundRegistry,
|
|
50990
51095
|
ingressOnly: ingressOnlyThreads
|
|
50991
51096
|
})) {
|
|
@@ -51375,6 +51480,36 @@ mcp.setRequestHandler(CallToolRequestSchema, async (req) => {
|
|
|
51375
51480
|
};
|
|
51376
51481
|
}
|
|
51377
51482
|
}
|
|
51483
|
+
if (name === "slack.consume") {
|
|
51484
|
+
const { inbound_id } = args;
|
|
51485
|
+
const out = consumeSlackInbound({
|
|
51486
|
+
inboundId: inbound_id,
|
|
51487
|
+
registry: slackInboundRegistry,
|
|
51488
|
+
clearMessage: clearSlackPendingMarkerByMessageTsSilently,
|
|
51489
|
+
retractAck: retractSlackAckReaction
|
|
51490
|
+
});
|
|
51491
|
+
process.stderr.write(
|
|
51492
|
+
`slack-channel(${AGENT_CODE_NAME}): slack_consume ${out.ok ? "closed" : `refused reason=${out.reason}`}` + // Obi Wan 0a3ce0f77973: state only what happened. A refusal clears and
|
|
51493
|
+
// retracts nothing; on success the retract is fire-and-forget (and
|
|
51494
|
+
// skipped with no bot token), so it was REQUESTED, not confirmed.
|
|
51495
|
+
(out.ok ? ` channel=${hashChannelId(out.channel)} msg=${hashChannelId(out.messageTs)} (no reaction added, no reply; own \u{1F440} ack removal ${BOT_TOKEN ? "requested" : "skipped, no bot token"})` : " (nothing cleared)") + "\n"
|
|
51496
|
+
);
|
|
51497
|
+
if (!out.ok && out.reason === "already_closed") {
|
|
51498
|
+
return { content: [{ type: "text", text: "That message is already closed (answered or consumed), so there was nothing to consume." }] };
|
|
51499
|
+
}
|
|
51500
|
+
if (!out.ok) {
|
|
51501
|
+
return {
|
|
51502
|
+
content: [
|
|
51503
|
+
{
|
|
51504
|
+
type: "text",
|
|
51505
|
+
text: out.reason === "missing_inbound_id" ? "Pass the inbound_id from the <channel> tag you are standing down from." : out.reason === "clear_failed" ? "The pending marker could not be removed, so the message is still open. Retry slack_consume." : "That inbound_id is unknown or stale (this process may have restarted), so nothing was consumed."
|
|
51506
|
+
}
|
|
51507
|
+
],
|
|
51508
|
+
isError: true
|
|
51509
|
+
};
|
|
51510
|
+
}
|
|
51511
|
+
return { content: [{ type: "text", text: "consumed" }] };
|
|
51512
|
+
}
|
|
51378
51513
|
if (name === "slack.react") {
|
|
51379
51514
|
const { channel, timestamp, emoji: emoji2 } = args;
|
|
51380
51515
|
try {
|
|
@@ -42403,6 +42403,27 @@ var HOST_KEY_ROTATION_GRACE_MAX_MS = 60 * 6e4;
|
|
|
42403
42403
|
var TEAM_SLUG_MAX_ATTEMPTS = 20;
|
|
42404
42404
|
var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
|
|
42405
42405
|
|
|
42406
|
+
// ../core/dist/branding/contrast.js
|
|
42407
|
+
var BRANDING_LIGHT_GROUND = "#ffffff";
|
|
42408
|
+
var BRANDING_DARK_GROUND = "#1a1a1e";
|
|
42409
|
+
var ACCENT_HEX_RE = /^#[0-9a-fA-F]{6}$/;
|
|
42410
|
+
function parseHexColor(value) {
|
|
42411
|
+
if (typeof value !== "string" || !ACCENT_HEX_RE.test(value))
|
|
42412
|
+
return null;
|
|
42413
|
+
return {
|
|
42414
|
+
r: parseInt(value.slice(1, 3), 16),
|
|
42415
|
+
g: parseInt(value.slice(3, 5), 16),
|
|
42416
|
+
b: parseInt(value.slice(5, 7), 16)
|
|
42417
|
+
};
|
|
42418
|
+
}
|
|
42419
|
+
var GROUNDS = {
|
|
42420
|
+
light: parseHexColor(BRANDING_LIGHT_GROUND),
|
|
42421
|
+
dark: parseHexColor(BRANDING_DARK_GROUND)
|
|
42422
|
+
};
|
|
42423
|
+
|
|
42424
|
+
// ../core/dist/branding/logo.js
|
|
42425
|
+
var MAX_BRANDING_UPLOAD_BYTES = 1024 * 1024;
|
|
42426
|
+
|
|
42406
42427
|
// src/account-enforcement-notice.ts
|
|
42407
42428
|
import { readFileSync as readFileSync5 } from "fs";
|
|
42408
42429
|
import { homedir as homedir3 } from "os";
|
|
@@ -81,12 +81,12 @@ import {
|
|
|
81
81
|
writeDirectChatSessionState,
|
|
82
82
|
writeEgressAllowlist,
|
|
83
83
|
writePersistentClaudeWrapper
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
84
|
+
} from "./chunk-SXQ6YCFR.js";
|
|
85
|
+
import "./chunk-A22SKOQ4.js";
|
|
86
86
|
import "./chunk-XL2HPM67.js";
|
|
87
87
|
import "./chunk-6HBXEJHO.js";
|
|
88
88
|
import "./chunk-XWVM4KPK.js";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-CJFHB3HA.js";
|
|
90
90
|
import "./chunk-AIUIMEUS.js";
|
|
91
91
|
import "./chunk-DGUM43GV.js";
|
|
92
92
|
export {
|
|
@@ -173,4 +173,4 @@ export {
|
|
|
173
173
|
writeEgressAllowlist,
|
|
174
174
|
writePersistentClaudeWrapper
|
|
175
175
|
};
|
|
176
|
-
//# sourceMappingURL=persistent-session-
|
|
176
|
+
//# sourceMappingURL=persistent-session-SMMVQBRS.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SXQ6YCFR.js";
|
|
4
|
+
import "./chunk-A22SKOQ4.js";
|
|
5
5
|
import "./chunk-XL2HPM67.js";
|
|
6
6
|
import "./chunk-6HBXEJHO.js";
|
|
7
7
|
import "./chunk-XWVM4KPK.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-CJFHB3HA.js";
|
|
9
9
|
import "./chunk-AIUIMEUS.js";
|
|
10
10
|
import "./chunk-DGUM43GV.js";
|
|
11
11
|
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
readAndResetSlackReplyBindingClassifications,
|
|
805
805
|
readAndResetSlackReplyTargetClassifications
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
807
|
+
//# sourceMappingURL=responsiveness-probe-PX4FMO4H.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-A22SKOQ4.js";
|
|
4
|
+
import "./chunk-CJFHB3HA.js";
|
|
5
5
|
import "./chunk-DGUM43GV.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/session-auth-dead.ts
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
decideSessionAuthState,
|
|
206
206
|
probeSessionAuth
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=session-auth-dead-
|
|
208
|
+
//# sourceMappingURL=session-auth-dead-47D57WMA.js.map
|