@openclaw/tlon 2026.5.1-beta.1 → 2026.5.2-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/openclaw.plugin.json +5 -0
- package/package.json +4 -4
- package/src/channel.ts +1 -0
- package/src/urbit/send.ts +0 -12
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/tlon",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.2-beta.1",
|
|
4
4
|
"description": "OpenClaw Tlon/Urbit channel plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"openclaw": "workspace:*"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"openclaw": ">=2026.
|
|
21
|
+
"openclaw": ">=2026.5.2-beta.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependenciesMeta": {
|
|
24
24
|
"openclaw": {
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"minHostVersion": ">=2026.4.10"
|
|
73
73
|
},
|
|
74
74
|
"compat": {
|
|
75
|
-
"pluginApi": ">=2026.
|
|
75
|
+
"pluginApi": ">=2026.5.2-beta.1"
|
|
76
76
|
},
|
|
77
77
|
"build": {
|
|
78
|
-
"openclawVersion": "2026.5.
|
|
78
|
+
"openclawVersion": "2026.5.2-beta.1"
|
|
79
79
|
},
|
|
80
80
|
"release": {
|
|
81
81
|
"publishToClawHub": true,
|
package/src/channel.ts
CHANGED
package/src/urbit/send.ts
CHANGED
|
@@ -151,18 +151,6 @@ export async function sendGroupMessageWithStory({
|
|
|
151
151
|
return { channel: "tlon", messageId: `${fromShip}/${sentAt}` };
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
export function buildMediaText(text: string | undefined, mediaUrl: string | undefined): string {
|
|
155
|
-
const cleanText = text?.trim() ?? "";
|
|
156
|
-
const cleanUrl = mediaUrl?.trim() ?? "";
|
|
157
|
-
if (cleanText && cleanUrl) {
|
|
158
|
-
return `${cleanText}\n${cleanUrl}`;
|
|
159
|
-
}
|
|
160
|
-
if (cleanUrl) {
|
|
161
|
-
return cleanUrl;
|
|
162
|
-
}
|
|
163
|
-
return cleanText;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
154
|
/**
|
|
167
155
|
* Build a story with text and optional media (image)
|
|
168
156
|
*/
|