@openclaw/tlon 2026.7.2-beta.1 → 2026.7.2-beta.3
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.js +3 -3
- package/dist/{channel-Czb0L98O.js → channel-B_FSYQLm.js} +8 -4
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.runtime-BlqhnFR6.js → channel.runtime-CbQv5emM.js} +94 -38
- package/dist/runtime-api-BXVe40nS.js +4 -0
- package/dist/runtime-api.js +2 -2
- package/npm-shrinkwrap.json +3 -3
- package/openclaw.plugin.json +49 -1
- package/package.json +4 -4
- package/dist/runtime-api-C5wXFh-q.js +0 -4
package/dist/api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { t as tlonPlugin } from "./channel-
|
|
1
|
+
import { a as ssrfPolicyFromDangerouslyAllowPrivateNetwork, i as isBlockedHostnameOrIp, n as createDedupeCache, o as createLoggerBackedRuntime, r as fetchWithSsrFGuard, t as SsrFBlockedError } from "./runtime-api-BXVe40nS.js";
|
|
2
|
+
import { t as tlonPlugin } from "./channel-B_FSYQLm.js";
|
|
3
3
|
import { n as setTlonRuntime } from "./runtime-Ck3lNvST.js";
|
|
4
|
-
export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime,
|
|
4
|
+
export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
|
|
@@ -4,12 +4,12 @@ import { buildChannelOutboundSessionRoute } from "openclaw/plugin-sdk/core";
|
|
|
4
4
|
import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
|
|
5
5
|
import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
|
|
6
6
|
import { createHybridChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
7
|
-
import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
|
|
7
|
+
import { createChannelConfigUiHints, createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
|
|
8
8
|
import { createChannelMessageAdapterFromOutbound, createRuntimeOutboundDelegates } from "openclaw/plugin-sdk/channel-outbound";
|
|
9
9
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
10
10
|
import { createComputedAccountStatusAdapter, createDefaultChannelRuntimeState } from "openclaw/plugin-sdk/status-helpers";
|
|
11
11
|
import { sanitizeAssistantVisibleText } from "openclaw/plugin-sdk/text-chunking";
|
|
12
|
-
import { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
|
|
12
|
+
import { ChannelImplicitMentionsSchema, buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
//#region extensions/tlon/src/config-schema.ts
|
|
15
15
|
const ShipSchema = z.string().min(1);
|
|
@@ -33,6 +33,7 @@ const tlonCommonConfigFields = {
|
|
|
33
33
|
autoDiscoverChannels: z.boolean().optional(),
|
|
34
34
|
showModelSignature: z.boolean().optional(),
|
|
35
35
|
responsePrefix: z.string().optional(),
|
|
36
|
+
implicitMentions: ChannelImplicitMentionsSchema.optional(),
|
|
36
37
|
autoAcceptDmInvites: z.boolean().optional(),
|
|
37
38
|
autoAcceptGroupInvites: z.boolean().optional(),
|
|
38
39
|
ownerShip: ShipSchema.optional()
|
|
@@ -43,7 +44,10 @@ const tlonChannelConfigSchema = buildChannelConfigSchema(z.object({
|
|
|
43
44
|
authorization: TlonAuthorizationSchema.optional(),
|
|
44
45
|
defaultAuthorizedShips: z.array(ShipSchema).optional(),
|
|
45
46
|
accounts: z.record(z.string(), TlonAccountSchema).optional()
|
|
46
|
-
})
|
|
47
|
+
}), { uiHints: createChannelConfigUiHints({
|
|
48
|
+
channelLabel: "Tlon",
|
|
49
|
+
implicitMentions: true
|
|
50
|
+
}) });
|
|
47
51
|
//#endregion
|
|
48
52
|
//#region extensions/tlon/src/doctor.ts
|
|
49
53
|
const tlonDoctor = {
|
|
@@ -87,7 +91,7 @@ function resolveTlonOutboundSessionRoute(params) {
|
|
|
87
91
|
//#endregion
|
|
88
92
|
//#region extensions/tlon/src/channel.ts
|
|
89
93
|
const TLON_CHANNEL_ID = "tlon";
|
|
90
|
-
const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-
|
|
94
|
+
const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-CbQv5emM.js"));
|
|
91
95
|
const tlonSetupWizardProxy = createTlonSetupWizardBase({
|
|
92
96
|
resolveConfigured: async ({ cfg, accountId }) => await (await loadTlonChannelRuntime()).tlonSetupWizard.status.resolveConfigured({
|
|
93
97
|
cfg,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as tlonPlugin } from "./channel-
|
|
1
|
+
import { t as tlonPlugin } from "./channel-B_FSYQLm.js";
|
|
2
2
|
export { tlonPlugin };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createDedupeCache,
|
|
1
|
+
import { n as createDedupeCache, o as createLoggerBackedRuntime } from "./runtime-api-BXVe40nS.js";
|
|
2
2
|
import { c as validateUrbitBaseUrl, d as formatTargetHint, f as normalizeShip, h as resolveTlonOutboundTarget, m as parseTlonTarget, p as parseChannelNest, s as normalizeUrbitHostname, u as resolveTlonAccount } from "./setup-core-BgykzCYT.js";
|
|
3
3
|
import { t as getTlonRuntime } from "./runtime-Ck3lNvST.js";
|
|
4
4
|
import { t as tlonSetupWizard } from "./setup-surface-j5Hrbts7.js";
|
|
@@ -8,12 +8,15 @@ import { expectDefined } from "openclaw/plugin-sdk/expect-runtime";
|
|
|
8
8
|
import { asFiniteNumber, normalizeLowercaseStringOrEmpty, uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
import crypto, { randomBytes, randomUUID } from "node:crypto";
|
|
10
10
|
import { readProviderJsonResponse, readResponseTextLimited } from "openclaw/plugin-sdk/provider-http";
|
|
11
|
+
import { resolveHumanDelayConfig } from "openclaw/plugin-sdk/agent-runtime";
|
|
12
|
+
import { createChannelInboundEnvelopeBuilder, implicitMentionKindWhen, resolveInboundMentionDecision } from "openclaw/plugin-sdk/channel-inbound";
|
|
11
13
|
import { sleepWithAbort } from "openclaw/plugin-sdk/runtime-env";
|
|
12
14
|
import { sliceUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
13
15
|
import { da, scot } from "@urbit/aura";
|
|
14
16
|
import { Readable } from "node:stream";
|
|
15
17
|
import { resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
16
|
-
import {
|
|
18
|
+
import { resolveAllowlistMatchByCandidates } from "openclaw/plugin-sdk/allow-from";
|
|
19
|
+
import { resolveChannelImplicitMentions, resolveStableChannelMessageIngress } from "openclaw/plugin-sdk/channel-ingress-runtime";
|
|
17
20
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
18
21
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
19
22
|
import * as path from "node:path";
|
|
@@ -456,7 +459,12 @@ function createImageBlock(src, alt = "", height = 0, width = 0) {
|
|
|
456
459
|
* Check if URL looks like an image
|
|
457
460
|
*/
|
|
458
461
|
function isImageUrl(url) {
|
|
459
|
-
|
|
462
|
+
const imageExtensions = /\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i;
|
|
463
|
+
let path = url.split(/[?#]/, 1)[0] ?? url;
|
|
464
|
+
try {
|
|
465
|
+
path = new URL(url).pathname;
|
|
466
|
+
} catch {}
|
|
467
|
+
return imageExtensions.test(path);
|
|
460
468
|
}
|
|
461
469
|
/**
|
|
462
470
|
* Process inlines and extract any image markers into blocks
|
|
@@ -886,33 +894,38 @@ var UrbitSSEClient = class {
|
|
|
886
894
|
const controller = new AbortController();
|
|
887
895
|
const timeoutId = setTimeout(() => controller.abort(), 6e4);
|
|
888
896
|
this.streamController = controller;
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
897
|
+
let stream;
|
|
898
|
+
try {
|
|
899
|
+
stream = await urbitFetch({
|
|
900
|
+
baseUrl: this.url,
|
|
901
|
+
path: `/~/channel/${this.channelId}`,
|
|
902
|
+
init: {
|
|
903
|
+
method: "GET",
|
|
904
|
+
headers: {
|
|
905
|
+
Accept: "text/event-stream",
|
|
906
|
+
Cookie: this.cookie
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
ssrfPolicy: this.ssrfPolicy,
|
|
910
|
+
lookupFn: this.lookupFn,
|
|
911
|
+
fetchImpl: this.fetchImpl,
|
|
912
|
+
signal: controller.signal,
|
|
913
|
+
auditContext: "tlon-urbit-sse-stream"
|
|
914
|
+
});
|
|
915
|
+
} finally {
|
|
916
|
+
clearTimeout(timeoutId);
|
|
917
|
+
}
|
|
918
|
+
const { response, release } = stream;
|
|
905
919
|
this.streamRelease = release;
|
|
906
|
-
clearTimeout(timeoutId);
|
|
907
920
|
if (!response.ok) {
|
|
908
|
-
await release();
|
|
909
921
|
this.streamRelease = null;
|
|
922
|
+
await release();
|
|
910
923
|
throw new Error(`Stream connection failed: ${response.status}`);
|
|
911
924
|
}
|
|
912
925
|
this.processStream(response.body).catch((error) => {
|
|
913
926
|
if (!this.aborted) {
|
|
914
927
|
this.logger.error?.(`Stream error: ${String(error)}`);
|
|
915
|
-
for (const { err } of this.eventHandlers.values())
|
|
928
|
+
for (const { err } of this.eventHandlers.values()) err?.(error);
|
|
916
929
|
}
|
|
917
930
|
});
|
|
918
931
|
}
|
|
@@ -1684,10 +1697,37 @@ async function resolveTlonCommandAuthorizationWithIngress(params) {
|
|
|
1684
1697
|
command: {}
|
|
1685
1698
|
});
|
|
1686
1699
|
}
|
|
1700
|
+
function resolveTlonGroupMentionDecision(params) {
|
|
1701
|
+
const implicitMentions = resolveChannelImplicitMentions({
|
|
1702
|
+
cfg: params.cfg,
|
|
1703
|
+
channel: "tlon",
|
|
1704
|
+
accountId: params.accountId
|
|
1705
|
+
});
|
|
1706
|
+
return resolveInboundMentionDecision({
|
|
1707
|
+
facts: {
|
|
1708
|
+
canDetectMention: true,
|
|
1709
|
+
wasMentioned: params.wasMentioned,
|
|
1710
|
+
implicitMentionKinds: implicitMentionKindWhen("bot_thread_participant", params.botParticipatedInThread)
|
|
1711
|
+
},
|
|
1712
|
+
policy: {
|
|
1713
|
+
isGroup: true,
|
|
1714
|
+
requireMention: true,
|
|
1715
|
+
implicitMentions,
|
|
1716
|
+
allowTextCommands: false,
|
|
1717
|
+
hasControlCommand: false,
|
|
1718
|
+
commandAuthorized: false
|
|
1719
|
+
}
|
|
1720
|
+
});
|
|
1721
|
+
}
|
|
1687
1722
|
function isGroupInviteAllowed(inviterShip, allowlist) {
|
|
1688
|
-
if (!allowlist || allowlist.length === 0) return false;
|
|
1689
1723
|
const normalizedInviter = normalizeShip(inviterShip);
|
|
1690
|
-
return
|
|
1724
|
+
return resolveAllowlistMatchByCandidates({
|
|
1725
|
+
allowList: (allowlist ?? []).map((ship) => normalizeShip(ship)),
|
|
1726
|
+
candidates: [{
|
|
1727
|
+
value: normalizedInviter,
|
|
1728
|
+
source: "ship"
|
|
1729
|
+
}]
|
|
1730
|
+
}).allowed;
|
|
1691
1731
|
}
|
|
1692
1732
|
async function resolveAuthorizedMessageText(params) {
|
|
1693
1733
|
const { rawText, content, authorizedForCites, resolveAllCites } = params;
|
|
@@ -2511,7 +2551,10 @@ async function monitorTlonProvider(opts = {}) {
|
|
|
2511
2551
|
}
|
|
2512
2552
|
let bodyWithAttachments = messageText;
|
|
2513
2553
|
if (attachments.length > 0) bodyWithAttachments = attachments.map((a) => `[media attached: ${a.path} (${a.contentType}) | ${a.path}]`).join("\n") + "\n" + messageText;
|
|
2514
|
-
const body =
|
|
2554
|
+
const body = createChannelInboundEnvelopeBuilder({
|
|
2555
|
+
cfg,
|
|
2556
|
+
route
|
|
2557
|
+
})({
|
|
2515
2558
|
channel: "Tlon",
|
|
2516
2559
|
from: fromLabel,
|
|
2517
2560
|
timestamp,
|
|
@@ -2537,6 +2580,7 @@ async function monitorTlonProvider(opts = {}) {
|
|
|
2537
2580
|
},
|
|
2538
2581
|
route: {
|
|
2539
2582
|
agentId: route.agentId,
|
|
2583
|
+
dmScope: route.dmScope,
|
|
2540
2584
|
accountId: route.accountId,
|
|
2541
2585
|
routeSessionKey: route.sessionKey
|
|
2542
2586
|
},
|
|
@@ -2562,8 +2606,7 @@ async function monitorTlonProvider(opts = {}) {
|
|
|
2562
2606
|
});
|
|
2563
2607
|
const dispatchStartTime = Date.now();
|
|
2564
2608
|
const responsePrefix = core.channel.reply.resolveEffectiveMessagesConfig(cfg, route.agentId).responsePrefix;
|
|
2565
|
-
const humanDelay =
|
|
2566
|
-
const storePath = core.channel.session.resolveStorePath(cfg.session?.store, { agentId: route.agentId });
|
|
2609
|
+
const humanDelay = resolveHumanDelayConfig(cfg, route.agentId);
|
|
2567
2610
|
const deliveryTarget = isGroup ? groupChannel : senderShip;
|
|
2568
2611
|
const prepareReplyPayload = (payload) => {
|
|
2569
2612
|
const replyText = payload.text;
|
|
@@ -2582,16 +2625,16 @@ async function monitorTlonProvider(opts = {}) {
|
|
|
2582
2625
|
participatedThreads.add(parentId);
|
|
2583
2626
|
runtime.log?.(`[tlon] Now tracking thread for future replies: ${parentId}`);
|
|
2584
2627
|
};
|
|
2585
|
-
await core.channel.inbound.
|
|
2628
|
+
await core.channel.inbound.dispatch({
|
|
2586
2629
|
channel: "tlon",
|
|
2587
2630
|
accountId: route.accountId,
|
|
2588
2631
|
cfg,
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2632
|
+
route: {
|
|
2633
|
+
agentId: route.agentId,
|
|
2634
|
+
dmScope: route.dmScope,
|
|
2635
|
+
sessionKey: route.sessionKey
|
|
2636
|
+
},
|
|
2592
2637
|
ctxPayload,
|
|
2593
|
-
recordInboundSession: core.channel.session.recordInboundSession,
|
|
2594
|
-
dispatchReplyWithBufferedBlockDispatcher: core.channel.reply.dispatchReplyWithBufferedBlockDispatcher,
|
|
2595
2638
|
delivery: {
|
|
2596
2639
|
preparePayload: prepareReplyPayload,
|
|
2597
2640
|
durable: deliveryTarget ? () => ({
|
|
@@ -2750,8 +2793,14 @@ async function monitorTlonProvider(opts = {}) {
|
|
|
2750
2793
|
const parentId = readString(seal, "parent-id") ?? readString(seal, "parent") ?? null;
|
|
2751
2794
|
const mentioned = isBotMentioned(rawText, botShipName, botNickname ?? void 0);
|
|
2752
2795
|
const inParticipatedThread = isThreadReply && parentId && participatedThreads.has(parentId);
|
|
2753
|
-
|
|
2754
|
-
|
|
2796
|
+
const mentionDecision = resolveTlonGroupMentionDecision({
|
|
2797
|
+
cfg,
|
|
2798
|
+
accountId: account.accountId,
|
|
2799
|
+
wasMentioned: mentioned,
|
|
2800
|
+
botParticipatedInThread: Boolean(inParticipatedThread)
|
|
2801
|
+
});
|
|
2802
|
+
if (mentionDecision.shouldSkip) return;
|
|
2803
|
+
if (mentionDecision.implicitMention && !mentioned) runtime.log?.(`[tlon] Responding to thread we participated in (no mention): ${parentId}`);
|
|
2755
2804
|
if (isOwner(senderShip)) runtime.log?.(`[tlon] Owner ${senderShip} is always allowed in channels`);
|
|
2756
2805
|
else {
|
|
2757
2806
|
const { mode, allowedShips } = resolveChannelAuthorization(cfg, nest, currentSettings);
|
|
@@ -3248,6 +3297,10 @@ async function monitorTlonProvider(opts = {}) {
|
|
|
3248
3297
|
const MEMEX_BASE_URL = "https://memex.tlon.network";
|
|
3249
3298
|
/** Max bytes to read from the Memex upload JSON response. */
|
|
3250
3299
|
const MEMEX_UPLOAD_RESPONSE_MAX_BYTES = 64 * 1024;
|
|
3300
|
+
/** Total deadline for the Memex upload URL lookup, including DNS and response reading. */
|
|
3301
|
+
const TLON_MEMEX_UPLOAD_URL_TIMEOUT_MS = 3e4;
|
|
3302
|
+
/** Total deadline for Memex and custom S3 PUTs, including DNS and the full upload. */
|
|
3303
|
+
const TLON_UPLOAD_TIMEOUT_MS = 3e5;
|
|
3251
3304
|
let currentClientConfig = null;
|
|
3252
3305
|
function configureClient(params) {
|
|
3253
3306
|
currentClientConfig = {
|
|
@@ -3364,7 +3417,8 @@ async function getMemexUploadUrl(params) {
|
|
|
3364
3417
|
},
|
|
3365
3418
|
auditContext: "tlon-memex-upload-url",
|
|
3366
3419
|
capture: false,
|
|
3367
|
-
maxRedirects: 0
|
|
3420
|
+
maxRedirects: 0,
|
|
3421
|
+
timeoutMs: TLON_MEMEX_UPLOAD_URL_TIMEOUT_MS
|
|
3368
3422
|
});
|
|
3369
3423
|
release = guarded.release;
|
|
3370
3424
|
if (!guarded.response.ok) throw new Error(`Memex upload request failed: ${guarded.response.status}`);
|
|
@@ -3410,7 +3464,8 @@ async function uploadFile(params) {
|
|
|
3410
3464
|
},
|
|
3411
3465
|
auditContext: "tlon-memex-upload",
|
|
3412
3466
|
capture: false,
|
|
3413
|
-
maxRedirects: 0
|
|
3467
|
+
maxRedirects: 0,
|
|
3468
|
+
timeoutMs: TLON_UPLOAD_TIMEOUT_MS
|
|
3414
3469
|
});
|
|
3415
3470
|
release = guarded.release;
|
|
3416
3471
|
assertTrustedMemexUploadUrl(guarded.finalUrl, "Memex final upload URL");
|
|
@@ -3454,7 +3509,8 @@ async function uploadFile(params) {
|
|
|
3454
3509
|
auditContext: "tlon-custom-s3-upload",
|
|
3455
3510
|
capture: false,
|
|
3456
3511
|
maxRedirects: 0,
|
|
3457
|
-
policy: privateNetworkPolicy
|
|
3512
|
+
policy: privateNetworkPolicy,
|
|
3513
|
+
timeoutMs: TLON_UPLOAD_TIMEOUT_MS
|
|
3458
3514
|
});
|
|
3459
3515
|
release = guarded.release;
|
|
3460
3516
|
if (!guarded.response.ok) throw new Error(`Upload failed: ${guarded.response.status}`);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createDedupeCache } from "openclaw/plugin-sdk/core";
|
|
2
|
+
import { createLoggerBackedRuntime } from "openclaw/plugin-sdk/runtime";
|
|
3
|
+
import { SsrFBlockedError, fetchWithSsrFGuard as fetchWithSsrFGuard$1, isBlockedHostnameOrIp as isBlockedHostnameOrIp$1, ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
4
|
+
export { ssrfPolicyFromDangerouslyAllowPrivateNetwork as a, isBlockedHostnameOrIp$1 as i, createDedupeCache as n, createLoggerBackedRuntime as o, fetchWithSsrFGuard$1 as r, SsrFBlockedError as t };
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp,
|
|
1
|
+
import { a as ssrfPolicyFromDangerouslyAllowPrivateNetwork, i as isBlockedHostnameOrIp, n as createDedupeCache, o as createLoggerBackedRuntime, r as fetchWithSsrFGuard, t as SsrFBlockedError } from "./runtime-api-BXVe40nS.js";
|
|
2
|
+
export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, ssrfPolicyFromDangerouslyAllowPrivateNetwork };
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/tlon",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/tlon",
|
|
9
|
-
"version": "2026.7.2-beta.
|
|
9
|
+
"version": "2026.7.2-beta.3",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@aws-sdk/client-s3": "3.1078.0",
|
|
12
12
|
"@aws-sdk/s3-request-presigner": "3.1078.0",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"zod": "4.4.3"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"openclaw": ">=2026.7.2-beta.
|
|
18
|
+
"openclaw": ">=2026.7.2-beta.3"
|
|
19
19
|
},
|
|
20
20
|
"peerDependenciesMeta": {
|
|
21
21
|
"openclaw": {
|
package/openclaw.plugin.json
CHANGED
|
@@ -77,6 +77,21 @@
|
|
|
77
77
|
"responsePrefix": {
|
|
78
78
|
"type": "string"
|
|
79
79
|
},
|
|
80
|
+
"implicitMentions": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"properties": {
|
|
83
|
+
"replyToBot": {
|
|
84
|
+
"type": "boolean"
|
|
85
|
+
},
|
|
86
|
+
"quotedBot": {
|
|
87
|
+
"type": "boolean"
|
|
88
|
+
},
|
|
89
|
+
"threadParticipation": {
|
|
90
|
+
"type": "boolean"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
},
|
|
80
95
|
"autoAcceptDmInvites": {
|
|
81
96
|
"type": "boolean"
|
|
82
97
|
},
|
|
@@ -189,6 +204,21 @@
|
|
|
189
204
|
"responsePrefix": {
|
|
190
205
|
"type": "string"
|
|
191
206
|
},
|
|
207
|
+
"implicitMentions": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": {
|
|
210
|
+
"replyToBot": {
|
|
211
|
+
"type": "boolean"
|
|
212
|
+
},
|
|
213
|
+
"quotedBot": {
|
|
214
|
+
"type": "boolean"
|
|
215
|
+
},
|
|
216
|
+
"threadParticipation": {
|
|
217
|
+
"type": "boolean"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"additionalProperties": false
|
|
221
|
+
},
|
|
192
222
|
"autoAcceptDmInvites": {
|
|
193
223
|
"type": "boolean"
|
|
194
224
|
},
|
|
@@ -207,7 +237,25 @@
|
|
|
207
237
|
"additionalProperties": false
|
|
208
238
|
},
|
|
209
239
|
"label": "Tlon",
|
|
210
|
-
"description": "decentralized messaging on Urbit; install the plugin to enable."
|
|
240
|
+
"description": "decentralized messaging on Urbit; install the plugin to enable.",
|
|
241
|
+
"uiHints": {
|
|
242
|
+
"implicitMentions": {
|
|
243
|
+
"label": "Tlon Implicit Mentions",
|
|
244
|
+
"help": "Control which Tlon reply, quote, and thread-participation signals count as mentions. Unset flags preserve the channel defaults."
|
|
245
|
+
},
|
|
246
|
+
"implicitMentions.replyToBot": {
|
|
247
|
+
"label": "Tlon Replies to Bot",
|
|
248
|
+
"help": "Treat replies to the bot's own messages as implicit mentions when the channel reports that signal."
|
|
249
|
+
},
|
|
250
|
+
"implicitMentions.quotedBot": {
|
|
251
|
+
"label": "Tlon Quoted Bot Messages",
|
|
252
|
+
"help": "Treat messages quoting the bot as implicit mentions when the channel reports that signal."
|
|
253
|
+
},
|
|
254
|
+
"implicitMentions.threadParticipation": {
|
|
255
|
+
"label": "Tlon Thread Participation",
|
|
256
|
+
"help": "Treat follow-ups in threads where the bot participated as implicit mentions when the channel reports that signal."
|
|
257
|
+
}
|
|
258
|
+
}
|
|
211
259
|
}
|
|
212
260
|
}
|
|
213
261
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/tlon",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.3",
|
|
4
4
|
"description": "OpenClaw Tlon/Urbit channel plugin for chat workflows.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"openclaw": "workspace:*"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"openclaw": ">=2026.7.2-beta.
|
|
22
|
+
"openclaw": ">=2026.7.2-beta.3"
|
|
23
23
|
},
|
|
24
24
|
"peerDependenciesMeta": {
|
|
25
25
|
"openclaw": {
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"minHostVersion": ">=2026.4.10"
|
|
74
74
|
},
|
|
75
75
|
"compat": {
|
|
76
|
-
"pluginApi": ">=2026.7.2-beta.
|
|
76
|
+
"pluginApi": ">=2026.7.2-beta.3"
|
|
77
77
|
},
|
|
78
78
|
"build": {
|
|
79
|
-
"openclawVersion": "2026.7.2-beta.
|
|
79
|
+
"openclawVersion": "2026.7.2-beta.3"
|
|
80
80
|
},
|
|
81
81
|
"release": {
|
|
82
82
|
"bundleRuntimeDependencies": false,
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { createDedupeCache } from "openclaw/plugin-sdk/core";
|
|
2
|
-
import { createLoggerBackedRuntime } from "openclaw/plugin-sdk/runtime";
|
|
3
|
-
import { SsrFBlockedError, fetchWithSsrFGuard as fetchWithSsrFGuard$1, isBlockedHostnameOrIp as isBlockedHostnameOrIp$1, ssrfPolicyFromAllowPrivateNetwork, ssrfPolicyFromDangerouslyAllowPrivateNetwork } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
4
|
-
export { ssrfPolicyFromAllowPrivateNetwork as a, isBlockedHostnameOrIp$1 as i, createDedupeCache as n, ssrfPolicyFromDangerouslyAllowPrivateNetwork as o, fetchWithSsrFGuard$1 as r, createLoggerBackedRuntime as s, SsrFBlockedError as t };
|