@openclaw/tlon 2026.5.2-beta.2 → 2026.5.3-beta.1
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 +4 -0
- package/dist/channel-B4LtNGeZ.js +221 -0
- package/dist/channel-plugin-api.js +2 -0
- package/dist/channel.runtime-v-_0sHkJ.js +3584 -0
- package/dist/doctor-contract-W99wMbar.js +7 -0
- package/dist/doctor-contract-api.js +2 -0
- package/dist/index.js +18 -0
- package/dist/runtime-5FiW9E50.js +8 -0
- package/dist/runtime-api-C0hr1Rtn.js +4 -0
- package/dist/runtime-api.js +2 -0
- package/dist/setup-api.js +3 -0
- package/dist/setup-core-BUkZJ-MU.js +386 -0
- package/dist/setup-entry.js +11 -0
- package/dist/setup-surface-FxNMaluC.js +72 -0
- package/dist/test-api.js +2 -0
- package/package.json +15 -6
- package/api.ts +0 -16
- package/channel-plugin-api.ts +0 -1
- package/doctor-contract-api.ts +0 -1
- package/index.ts +0 -183
- package/runtime-api.ts +0 -17
- package/setup-api.ts +0 -2
- package/setup-entry.ts +0 -9
- package/src/account-fields.ts +0 -31
- package/src/channel.runtime.ts +0 -248
- package/src/channel.ts +0 -173
- package/src/config-schema.ts +0 -53
- package/src/core.test.ts +0 -278
- package/src/doctor-contract.ts +0 -9
- package/src/doctor.test.ts +0 -40
- package/src/doctor.ts +0 -10
- package/src/logger-runtime.ts +0 -1
- package/src/monitor/approval-runtime.ts +0 -363
- package/src/monitor/approval.test.ts +0 -33
- package/src/monitor/approval.ts +0 -286
- package/src/monitor/authorization.ts +0 -30
- package/src/monitor/cites.ts +0 -54
- package/src/monitor/discovery.ts +0 -68
- package/src/monitor/history.ts +0 -226
- package/src/monitor/index.ts +0 -1524
- package/src/monitor/media.test.ts +0 -91
- package/src/monitor/media.ts +0 -172
- package/src/monitor/processed-messages.test.ts +0 -58
- package/src/monitor/processed-messages.ts +0 -89
- package/src/monitor/settings-helpers.test.ts +0 -113
- package/src/monitor/settings-helpers.ts +0 -158
- package/src/monitor/utils.ts +0 -372
- package/src/runtime.ts +0 -9
- package/src/security.test.ts +0 -622
- package/src/session-route.ts +0 -40
- package/src/settings.ts +0 -391
- package/src/setup-core.ts +0 -228
- package/src/setup-surface.ts +0 -103
- package/src/targets.ts +0 -102
- package/src/tlon-api.test.ts +0 -589
- package/src/tlon-api.ts +0 -402
- package/src/types.ts +0 -160
- package/src/urbit/auth.ssrf.test.ts +0 -45
- package/src/urbit/auth.ts +0 -48
- package/src/urbit/base-url.test.ts +0 -48
- package/src/urbit/base-url.ts +0 -61
- package/src/urbit/channel-ops.ts +0 -145
- package/src/urbit/context.ts +0 -50
- package/src/urbit/errors.ts +0 -51
- package/src/urbit/fetch.ts +0 -42
- package/src/urbit/foreigns.ts +0 -49
- package/src/urbit/send.test.ts +0 -38
- package/src/urbit/send.ts +0 -176
- package/src/urbit/sse-client.test.ts +0 -203
- package/src/urbit/sse-client.ts +0 -484
- package/src/urbit/story.ts +0 -332
- package/src/urbit/upload.test.ts +0 -154
- package/src/urbit/upload.ts +0 -60
- package/test-api.ts +0 -1
- package/tsconfig.json +0 -16
package/src/config-schema.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
|
|
2
|
-
import { z } from "openclaw/plugin-sdk/zod";
|
|
3
|
-
|
|
4
|
-
const ShipSchema = z.string().min(1);
|
|
5
|
-
const ChannelNestSchema = z.string().min(1);
|
|
6
|
-
|
|
7
|
-
const TlonChannelRuleSchema = z.object({
|
|
8
|
-
mode: z.enum(["restricted", "open"]).optional(),
|
|
9
|
-
allowedShips: z.array(ShipSchema).optional(),
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
export const TlonAuthorizationSchema = z.object({
|
|
13
|
-
channelRules: z.record(z.string(), TlonChannelRuleSchema).optional(),
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
const TlonNetworkSchema = z
|
|
17
|
-
.object({
|
|
18
|
-
dangerouslyAllowPrivateNetwork: z.boolean().optional(),
|
|
19
|
-
})
|
|
20
|
-
.strict()
|
|
21
|
-
.optional();
|
|
22
|
-
|
|
23
|
-
const tlonCommonConfigFields = {
|
|
24
|
-
name: z.string().optional(),
|
|
25
|
-
enabled: z.boolean().optional(),
|
|
26
|
-
ship: ShipSchema.optional(),
|
|
27
|
-
url: z.string().optional(),
|
|
28
|
-
code: z.string().optional(),
|
|
29
|
-
network: TlonNetworkSchema,
|
|
30
|
-
groupChannels: z.array(ChannelNestSchema).optional(),
|
|
31
|
-
dmAllowlist: z.array(ShipSchema).optional(),
|
|
32
|
-
autoDiscoverChannels: z.boolean().optional(),
|
|
33
|
-
showModelSignature: z.boolean().optional(),
|
|
34
|
-
responsePrefix: z.string().optional(),
|
|
35
|
-
// Auto-accept settings
|
|
36
|
-
autoAcceptDmInvites: z.boolean().optional(), // Auto-accept DMs from ships in dmAllowlist
|
|
37
|
-
autoAcceptGroupInvites: z.boolean().optional(), // Auto-accept all group invites
|
|
38
|
-
// Owner ship for approval system
|
|
39
|
-
ownerShip: ShipSchema.optional(), // Ship that receives approval requests and can approve/deny
|
|
40
|
-
} satisfies z.ZodRawShape;
|
|
41
|
-
|
|
42
|
-
const TlonAccountSchema = z.object({
|
|
43
|
-
...tlonCommonConfigFields,
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
export const TlonConfigSchema = z.object({
|
|
47
|
-
...tlonCommonConfigFields,
|
|
48
|
-
authorization: TlonAuthorizationSchema.optional(),
|
|
49
|
-
defaultAuthorizedShips: z.array(ShipSchema).optional(),
|
|
50
|
-
accounts: z.record(z.string(), TlonAccountSchema).optional(),
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
export const tlonChannelConfigSchema = buildChannelConfigSchema(TlonConfigSchema);
|
package/src/core.test.ts
DELETED
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createPluginSetupWizardConfigure,
|
|
3
|
-
createPluginSetupWizardStatus,
|
|
4
|
-
createTestWizardPrompter,
|
|
5
|
-
runSetupWizardConfigure,
|
|
6
|
-
} from "openclaw/plugin-sdk/plugin-test-runtime";
|
|
7
|
-
import type { WizardPrompter } from "openclaw/plugin-sdk/plugin-test-runtime";
|
|
8
|
-
import { describe, expect, it, vi } from "vitest";
|
|
9
|
-
import type { OpenClawConfig } from "../api.js";
|
|
10
|
-
import { TlonAuthorizationSchema, TlonConfigSchema } from "./config-schema.js";
|
|
11
|
-
import { tlonSetupWizard } from "./setup-surface.js";
|
|
12
|
-
import { normalizeShip, resolveTlonOutboundTarget } from "./targets.js";
|
|
13
|
-
import { listTlonAccountIds, resolveTlonAccount } from "./types.js";
|
|
14
|
-
|
|
15
|
-
const tlonTestPlugin = {
|
|
16
|
-
id: "tlon",
|
|
17
|
-
meta: { label: "Tlon" },
|
|
18
|
-
setupWizard: tlonSetupWizard,
|
|
19
|
-
config: {
|
|
20
|
-
listAccountIds: listTlonAccountIds,
|
|
21
|
-
defaultAccountId: () => "default",
|
|
22
|
-
resolveAllowFrom: ({ cfg, accountId }: { cfg: OpenClawConfig; accountId?: string | null }) =>
|
|
23
|
-
resolveTlonAccount(cfg, accountId).dmAllowlist,
|
|
24
|
-
formatAllowFrom: ({
|
|
25
|
-
allowFrom,
|
|
26
|
-
}: {
|
|
27
|
-
cfg: OpenClawConfig;
|
|
28
|
-
allowFrom: Array<string | number> | undefined | null;
|
|
29
|
-
}) => (allowFrom ?? []).map((entry) => normalizeShip(String(entry))).filter(Boolean),
|
|
30
|
-
},
|
|
31
|
-
setup: {
|
|
32
|
-
resolveAccountId: ({ accountId }: { cfg: OpenClawConfig; accountId?: string | null }) =>
|
|
33
|
-
accountId ?? "default",
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
const tlonConfigure = createPluginSetupWizardConfigure(tlonTestPlugin);
|
|
38
|
-
const tlonStatus = createPluginSetupWizardStatus(tlonTestPlugin);
|
|
39
|
-
|
|
40
|
-
describe("tlon core", () => {
|
|
41
|
-
it("formats dm allowlist entries through the shared hybrid adapter", () => {
|
|
42
|
-
expect(
|
|
43
|
-
tlonTestPlugin.config.formatAllowFrom?.({
|
|
44
|
-
cfg: {} as OpenClawConfig,
|
|
45
|
-
allowFrom: ["zod", " ~nec "],
|
|
46
|
-
}),
|
|
47
|
-
).toEqual(["~zod", "~nec"]);
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
it("returns an empty dm allowlist when the default account is unconfigured", () => {
|
|
51
|
-
expect(
|
|
52
|
-
tlonTestPlugin.config.resolveAllowFrom?.({
|
|
53
|
-
cfg: {} as OpenClawConfig,
|
|
54
|
-
accountId: "default",
|
|
55
|
-
}),
|
|
56
|
-
).toEqual([]);
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
it("resolves dm allowlist from the default account", () => {
|
|
60
|
-
expect(
|
|
61
|
-
tlonTestPlugin.config.resolveAllowFrom?.({
|
|
62
|
-
cfg: {
|
|
63
|
-
channels: {
|
|
64
|
-
tlon: {
|
|
65
|
-
ship: "~sampel-palnet",
|
|
66
|
-
url: "https://urbit.example.com",
|
|
67
|
-
code: "lidlut-tabwed-pillex-ridrup",
|
|
68
|
-
dmAllowlist: ["~zod"],
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
} as OpenClawConfig,
|
|
72
|
-
accountId: "default",
|
|
73
|
-
}),
|
|
74
|
-
).toEqual(["~zod"]);
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
it("accepts channelRules with string keys", () => {
|
|
78
|
-
const parsed = TlonAuthorizationSchema.parse({
|
|
79
|
-
channelRules: {
|
|
80
|
-
"chat/~zod/test": {
|
|
81
|
-
mode: "open",
|
|
82
|
-
allowedShips: ["~zod"],
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
expect(parsed.channelRules?.["chat/~zod/test"]?.mode).toBe("open");
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
it("accepts accounts with string keys", () => {
|
|
91
|
-
const parsed = TlonConfigSchema.parse({
|
|
92
|
-
accounts: {
|
|
93
|
-
primary: {
|
|
94
|
-
ship: "~zod",
|
|
95
|
-
url: "https://example.com",
|
|
96
|
-
code: "code-123",
|
|
97
|
-
},
|
|
98
|
-
},
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
expect(parsed.accounts?.primary?.ship).toBe("~zod");
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
it("configures ship, auth, and discovery settings", async () => {
|
|
105
|
-
const prompter = createTestWizardPrompter({
|
|
106
|
-
text: vi.fn(async ({ message }: { message: string }) => {
|
|
107
|
-
if (message === "Ship name") {
|
|
108
|
-
return "sampel-palnet";
|
|
109
|
-
}
|
|
110
|
-
if (message === "Ship URL") {
|
|
111
|
-
return "https://urbit.example.com";
|
|
112
|
-
}
|
|
113
|
-
if (message === "Login code") {
|
|
114
|
-
return "lidlut-tabwed-pillex-ridrup";
|
|
115
|
-
}
|
|
116
|
-
if (message === "Group channels (comma-separated)") {
|
|
117
|
-
return "chat/~host-ship/general, chat/~host-ship/support";
|
|
118
|
-
}
|
|
119
|
-
if (message === "DM allowlist (comma-separated ship names)") {
|
|
120
|
-
return "~zod, nec";
|
|
121
|
-
}
|
|
122
|
-
throw new Error(`Unexpected prompt: ${message}`);
|
|
123
|
-
}) as WizardPrompter["text"],
|
|
124
|
-
confirm: vi.fn(async ({ message }: { message: string }) => {
|
|
125
|
-
if (message === "Add group channels manually? (optional)") {
|
|
126
|
-
return true;
|
|
127
|
-
}
|
|
128
|
-
if (message === "Restrict DMs with an allowlist?") {
|
|
129
|
-
return true;
|
|
130
|
-
}
|
|
131
|
-
if (message === "Enable auto-discovery of group channels?") {
|
|
132
|
-
return true;
|
|
133
|
-
}
|
|
134
|
-
return false;
|
|
135
|
-
}),
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
const result = await runSetupWizardConfigure({
|
|
139
|
-
configure: tlonConfigure,
|
|
140
|
-
cfg: {} as OpenClawConfig,
|
|
141
|
-
prompter,
|
|
142
|
-
options: {},
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
expect(result.accountId).toBe("default");
|
|
146
|
-
expect(result.cfg.channels?.tlon?.enabled).toBe(true);
|
|
147
|
-
expect(result.cfg.channels?.tlon?.ship).toBe("~sampel-palnet");
|
|
148
|
-
expect(result.cfg.channels?.tlon?.url).toBe("https://urbit.example.com");
|
|
149
|
-
expect(result.cfg.channels?.tlon?.code).toBe("lidlut-tabwed-pillex-ridrup");
|
|
150
|
-
expect(result.cfg.channels?.tlon?.groupChannels).toEqual([
|
|
151
|
-
"chat/~host-ship/general",
|
|
152
|
-
"chat/~host-ship/support",
|
|
153
|
-
]);
|
|
154
|
-
expect(result.cfg.channels?.tlon?.dmAllowlist).toEqual(["~zod", "~nec"]);
|
|
155
|
-
expect(result.cfg.channels?.tlon?.autoDiscoverChannels).toBe(true);
|
|
156
|
-
expect(result.cfg.channels?.tlon?.network?.dangerouslyAllowPrivateNetwork).toBe(false);
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
it("resolves dm targets to normalized ships", () => {
|
|
160
|
-
expect(resolveTlonOutboundTarget("dm/sampel-palnet")).toEqual({
|
|
161
|
-
ok: true,
|
|
162
|
-
to: "~sampel-palnet",
|
|
163
|
-
});
|
|
164
|
-
});
|
|
165
|
-
|
|
166
|
-
it("resolves group targets to canonical chat nests", () => {
|
|
167
|
-
expect(resolveTlonOutboundTarget("group:host-ship/general")).toEqual({
|
|
168
|
-
ok: true,
|
|
169
|
-
to: "chat/~host-ship/general",
|
|
170
|
-
});
|
|
171
|
-
});
|
|
172
|
-
|
|
173
|
-
it("returns a helpful error for invalid targets", () => {
|
|
174
|
-
const resolved = resolveTlonOutboundTarget("group:bad-target");
|
|
175
|
-
expect(resolved.ok).toBe(false);
|
|
176
|
-
if (resolved.ok) {
|
|
177
|
-
throw new Error("expected invalid target");
|
|
178
|
-
}
|
|
179
|
-
expect(resolved.error.message).toMatch(/invalid tlon target/i);
|
|
180
|
-
});
|
|
181
|
-
|
|
182
|
-
it("lists named accounts and the implicit default account", () => {
|
|
183
|
-
const cfg = {
|
|
184
|
-
channels: {
|
|
185
|
-
tlon: {
|
|
186
|
-
ship: "~zod",
|
|
187
|
-
accounts: {
|
|
188
|
-
Work: { ship: "~bus" },
|
|
189
|
-
alerts: { ship: "~nec" },
|
|
190
|
-
},
|
|
191
|
-
},
|
|
192
|
-
},
|
|
193
|
-
} as OpenClawConfig;
|
|
194
|
-
|
|
195
|
-
expect(listTlonAccountIds(cfg)).toEqual(["alerts", "default", "work"]);
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
it("merges named account config over channel defaults", () => {
|
|
199
|
-
const resolved = resolveTlonAccount(
|
|
200
|
-
{
|
|
201
|
-
channels: {
|
|
202
|
-
tlon: {
|
|
203
|
-
name: "Base",
|
|
204
|
-
ship: "~zod",
|
|
205
|
-
url: "https://urbit.example.com",
|
|
206
|
-
code: "base-code",
|
|
207
|
-
dmAllowlist: ["~nec"],
|
|
208
|
-
groupInviteAllowlist: ["~bus"],
|
|
209
|
-
defaultAuthorizedShips: ["~marzod"],
|
|
210
|
-
accounts: {
|
|
211
|
-
Work: {
|
|
212
|
-
name: "Work",
|
|
213
|
-
code: "work-code",
|
|
214
|
-
dmAllowlist: ["~rovnys"],
|
|
215
|
-
},
|
|
216
|
-
},
|
|
217
|
-
},
|
|
218
|
-
},
|
|
219
|
-
} as OpenClawConfig,
|
|
220
|
-
"work",
|
|
221
|
-
);
|
|
222
|
-
|
|
223
|
-
expect(resolved.accountId).toBe("work");
|
|
224
|
-
expect(resolved.name).toBe("Work");
|
|
225
|
-
expect(resolved.ship).toBe("~zod");
|
|
226
|
-
expect(resolved.url).toBe("https://urbit.example.com");
|
|
227
|
-
expect(resolved.code).toBe("work-code");
|
|
228
|
-
expect(resolved.dmAllowlist).toEqual(["~rovnys"]);
|
|
229
|
-
expect(resolved.groupInviteAllowlist).toEqual(["~bus"]);
|
|
230
|
-
expect(resolved.defaultAuthorizedShips).toEqual(["~marzod"]);
|
|
231
|
-
expect(resolved.configured).toBe(true);
|
|
232
|
-
});
|
|
233
|
-
|
|
234
|
-
it("keeps the default account on channel-level config only", () => {
|
|
235
|
-
const resolved = resolveTlonAccount(
|
|
236
|
-
{
|
|
237
|
-
channels: {
|
|
238
|
-
tlon: {
|
|
239
|
-
ship: "~zod",
|
|
240
|
-
url: "https://urbit.example.com",
|
|
241
|
-
code: "base-code",
|
|
242
|
-
accounts: {
|
|
243
|
-
default: {
|
|
244
|
-
ship: "~ignored",
|
|
245
|
-
code: "ignored-code",
|
|
246
|
-
},
|
|
247
|
-
},
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
} as OpenClawConfig,
|
|
251
|
-
"default",
|
|
252
|
-
);
|
|
253
|
-
|
|
254
|
-
expect(resolved.ship).toBe("~zod");
|
|
255
|
-
expect(resolved.code).toBe("base-code");
|
|
256
|
-
});
|
|
257
|
-
|
|
258
|
-
it("setup status labels the selected account", async () => {
|
|
259
|
-
const status = await tlonStatus({
|
|
260
|
-
cfg: {
|
|
261
|
-
channels: {
|
|
262
|
-
tlon: {
|
|
263
|
-
ship: "~zod",
|
|
264
|
-
url: "https://urbit.example.com",
|
|
265
|
-
code: "base-code",
|
|
266
|
-
accounts: {
|
|
267
|
-
work: {},
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
},
|
|
271
|
-
} as OpenClawConfig,
|
|
272
|
-
accountOverrides: { tlon: "work" },
|
|
273
|
-
});
|
|
274
|
-
|
|
275
|
-
expect(status.configured).toBe(true);
|
|
276
|
-
expect(status.statusLines).toEqual(["Tlon (work): configured"]);
|
|
277
|
-
});
|
|
278
|
-
});
|
package/src/doctor-contract.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createLegacyPrivateNetworkDoctorContract } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
2
|
-
|
|
3
|
-
const contract = createLegacyPrivateNetworkDoctorContract({
|
|
4
|
-
channelKey: "tlon",
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
export const legacyConfigRules = contract.legacyConfigRules;
|
|
8
|
-
|
|
9
|
-
export const normalizeCompatibilityConfig = contract.normalizeCompatibilityConfig;
|
package/src/doctor.test.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "vitest";
|
|
2
|
-
import { tlonDoctor } from "./doctor.js";
|
|
3
|
-
|
|
4
|
-
describe("tlon doctor", () => {
|
|
5
|
-
it("normalizes legacy private-network aliases", () => {
|
|
6
|
-
const normalize = tlonDoctor.normalizeCompatibilityConfig;
|
|
7
|
-
expect(normalize).toBeDefined();
|
|
8
|
-
if (!normalize) {
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
const result = normalize({
|
|
13
|
-
cfg: {
|
|
14
|
-
channels: {
|
|
15
|
-
tlon: {
|
|
16
|
-
allowPrivateNetwork: true,
|
|
17
|
-
accounts: {
|
|
18
|
-
alt: {
|
|
19
|
-
allowPrivateNetwork: false,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
} as never,
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
expect(result.config.channels?.tlon?.network).toEqual({
|
|
28
|
-
dangerouslyAllowPrivateNetwork: true,
|
|
29
|
-
});
|
|
30
|
-
expect(
|
|
31
|
-
(
|
|
32
|
-
result.config.channels?.tlon?.accounts?.alt as
|
|
33
|
-
| { network?: Record<string, unknown> }
|
|
34
|
-
| undefined
|
|
35
|
-
)?.network,
|
|
36
|
-
).toEqual({
|
|
37
|
-
dangerouslyAllowPrivateNetwork: false,
|
|
38
|
-
});
|
|
39
|
-
});
|
|
40
|
-
});
|
package/src/doctor.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ChannelDoctorAdapter } from "openclaw/plugin-sdk/channel-contract";
|
|
2
|
-
import {
|
|
3
|
-
legacyConfigRules as TLON_LEGACY_CONFIG_RULES,
|
|
4
|
-
normalizeCompatibilityConfig as normalizeTlonCompatibilityConfig,
|
|
5
|
-
} from "./doctor-contract.js";
|
|
6
|
-
|
|
7
|
-
export const tlonDoctor: ChannelDoctorAdapter = {
|
|
8
|
-
legacyConfigRules: TLON_LEGACY_CONFIG_RULES,
|
|
9
|
-
normalizeCompatibilityConfig: normalizeTlonCompatibilityConfig,
|
|
10
|
-
};
|
package/src/logger-runtime.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { createLoggerBackedRuntime } from "openclaw/plugin-sdk/runtime-logger";
|