@openclaw/tlon 2026.7.2-beta.7 → 2026.7.34

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.
@@ -0,0 +1,5 @@
1
+ import { a as ssrfPolicyFromAllowPrivateNetwork, i as isBlockedHostnameOrIp, n as createDedupeCache, o as ssrfPolicyFromDangerouslyAllowPrivateNetwork, r as fetchWithSsrFGuard, s as createLoggerBackedRuntime, t as SsrFBlockedError } from "./runtime-api-C5wXFh-q.mjs";
2
+ import { t as tlonPlugin } from "./channel-C4bCfDOT.mjs";
3
+ import { n as setTlonRuntime } from "./runtime-Ck3lNvST.mjs";
4
+ import "../api.js";
5
+ export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromAllowPrivateNetwork, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
@@ -1,15 +1,15 @@
1
- import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-DhzowRcD.js";
2
- import { a as tlonSetupAdapter, d as resolveTlonAccount, f as formatTargetHint, g as resolveTlonOutboundTarget, h as parseTlonTarget, n as createTlonSetupWizardBase, o as tlonSetupContract, p as normalizeShip, u as listTlonAccountIds } from "./setup-core-DUM2q1dE.js";
1
+ import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-DhzowRcD.mjs";
2
+ import { a as tlonSetupAdapter, d as formatTargetHint, f as normalizeShip, h as resolveTlonOutboundTarget, l as listTlonAccountIds, m as parseTlonTarget, n as createTlonSetupWizardBase, u as resolveTlonAccount } from "./setup-core-C373Z5Vo.mjs";
3
3
  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 { createChannelConfigUiHints, createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
7
+ import { 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 { ChannelImplicitMentionsSchema, buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
12
+ import { 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,21 +33,18 @@ const tlonCommonConfigFields = {
33
33
  autoDiscoverChannels: z.boolean().optional(),
34
34
  showModelSignature: z.boolean().optional(),
35
35
  responsePrefix: z.string().optional(),
36
- implicitMentions: ChannelImplicitMentionsSchema.optional(),
37
36
  autoAcceptDmInvites: z.boolean().optional(),
38
37
  autoAcceptGroupInvites: z.boolean().optional(),
39
38
  ownerShip: ShipSchema.optional()
40
39
  };
41
40
  const TlonAccountSchema = z.object({ ...tlonCommonConfigFields });
42
- const tlonChannelConfigSchema = buildChannelConfigSchema(z.object({
41
+ const TlonConfigSchema = z.object({
43
42
  ...tlonCommonConfigFields,
44
43
  authorization: TlonAuthorizationSchema.optional(),
45
44
  defaultAuthorizedShips: z.array(ShipSchema).optional(),
46
45
  accounts: z.record(z.string(), TlonAccountSchema).optional()
47
- }), { uiHints: createChannelConfigUiHints({
48
- channelLabel: "Tlon",
49
- implicitMentions: true
50
- }) });
46
+ });
47
+ const tlonChannelConfigSchema = buildChannelConfigSchema(TlonConfigSchema);
51
48
  //#endregion
52
49
  //#region extensions/tlon/src/doctor.ts
53
50
  const tlonDoctor = {
@@ -91,7 +88,7 @@ function resolveTlonOutboundSessionRoute(params) {
91
88
  //#endregion
92
89
  //#region extensions/tlon/src/channel.ts
93
90
  const TLON_CHANNEL_ID = "tlon";
94
- const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-D9SOTGdH.js"));
91
+ const loadTlonChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-ByKPmlwv.mjs"));
95
92
  const tlonSetupWizardProxy = createTlonSetupWizardBase({
96
93
  resolveConfigured: async ({ cfg, accountId }) => await (await loadTlonChannelRuntime()).tlonSetupWizard.status.resolveConfigured({
97
94
  cfg,
@@ -165,7 +162,6 @@ const tlonPlugin = createChatChannelPlugin({
165
162
  threads: true
166
163
  },
167
164
  setup: tlonSetupAdapter,
168
- setupContract: tlonSetupContract,
169
165
  setupWizard: tlonSetupWizardProxy,
170
166
  reload: { configPrefixes: ["channels.tlon"] },
171
167
  configSchema: tlonChannelConfigSchema,
@@ -218,12 +214,12 @@ const tlonPlugin = createChatChannelPlugin({
218
214
  url: s.url ?? null
219
215
  };
220
216
  },
221
- probeAccount: async ({ account, timeoutMs }) => {
217
+ probeAccount: async ({ account }) => {
222
218
  if (!account.configured || !account.ship || !account.url || !account.code) return {
223
219
  ok: false,
224
220
  error: "Not configured"
225
221
  };
226
- return await (await loadTlonChannelRuntime()).probeTlonAccount(account, timeoutMs);
222
+ return await (await loadTlonChannelRuntime()).probeTlonAccount(account);
227
223
  },
228
224
  resolveAccountSnapshot: ({ account }) => ({
229
225
  accountId: account.accountId,