@openclaw/tlon 2026.7.2-beta.2 → 2026.7.2-beta.4
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 +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel-B3c5Sud6.js → channel-wkzrI--y.js} +10 -5
- package/dist/{channel.runtime-BtBrqXGq.js → channel.runtime-CDkEY-wR.js} +690 -305
- package/dist/setup-api.js +2 -2
- package/dist/{setup-core-BgykzCYT.js → setup-core-CrZ1Pk4C.js} +82 -4
- package/dist/{setup-surface-j5Hrbts7.js → setup-surface-3Assi5YZ.js} +1 -1
- package/npm-shrinkwrap.json +184 -184
- package/openclaw.plugin.json +49 -1
- package/package.json +79 -32
package/dist/api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
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-
|
|
2
|
+
import { t as tlonPlugin } from "./channel-wkzrI--y.js";
|
|
3
3
|
import { n as setTlonRuntime } from "./runtime-Ck3lNvST.js";
|
|
4
4
|
export { SsrFBlockedError, createDedupeCache, createLoggerBackedRuntime, fetchWithSsrFGuard, isBlockedHostnameOrIp, setTlonRuntime, ssrfPolicyFromDangerouslyAllowPrivateNetwork, tlonPlugin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as tlonPlugin } from "./channel-
|
|
1
|
+
import { t as tlonPlugin } from "./channel-wkzrI--y.js";
|
|
2
2
|
export { tlonPlugin };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-DhzowRcD.js";
|
|
2
|
-
import { a as tlonSetupAdapter, d as
|
|
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-CrZ1Pk4C.js";
|
|
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 { 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-CDkEY-wR.js"));
|
|
91
95
|
const tlonSetupWizardProxy = createTlonSetupWizardBase({
|
|
92
96
|
resolveConfigured: async ({ cfg, accountId }) => await (await loadTlonChannelRuntime()).tlonSetupWizard.status.resolveConfigured({
|
|
93
97
|
cfg,
|
|
@@ -161,6 +165,7 @@ const tlonPlugin = createChatChannelPlugin({
|
|
|
161
165
|
threads: true
|
|
162
166
|
},
|
|
163
167
|
setup: tlonSetupAdapter,
|
|
168
|
+
setupContract: tlonSetupContract,
|
|
164
169
|
setupWizard: tlonSetupWizardProxy,
|
|
165
170
|
reload: { configPrefixes: ["channels.tlon"] },
|
|
166
171
|
configSchema: tlonChannelConfigSchema,
|