@relaymessenger/openclaw-plugin 0.4.15 → 0.4.16-staging.0
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/README.md +1 -1
- package/contracts/relay-v1.lock.json +2 -2
- package/dist/src/outbound.js +1 -1
- package/package.json +2 -2
- package/src/outbound.ts +1 -1
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ Text, link, and media parts are rendered into agent-visible text. An inbound
|
|
|
118
118
|
media part stays a labeled signed URL.
|
|
119
119
|
|
|
120
120
|
The plugin declares text, media and reactions. OpenClaw splits text at Relay's
|
|
121
|
-
current
|
|
121
|
+
current 65,536-character text-part limit. A file OpenClaw sends (`mediaUrl`, a
|
|
122
122
|
URL or an allowed local path) is loaded through OpenClaw's media policy,
|
|
123
123
|
uploaded to Relay and sent as its own media Message after any words. The
|
|
124
124
|
shared `message` tool's `react` action reacts to a Relay Message: ❤️ 👍 👎 😂
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
},
|
|
8
8
|
"relaySdk": {
|
|
9
9
|
"package": "@relaymessenger/sdk",
|
|
10
|
-
"version": "0.5.6",
|
|
11
|
-
"integrity": "sha512-
|
|
10
|
+
"version": "0.5.6-staging.0",
|
|
11
|
+
"integrity": "sha512-cxIuK9pYmUnho92acKgYwlINhyOktp2yLoYVHhTqmPAtdmSf9FmKz5TA/n9iiEKQ6D705ERpCJTLuzxCcLc8Fg==",
|
|
12
12
|
"operationsSha256": "e094bf711e65ec5d37c2ca0203cf589be5747308aef8d590fd7cc5af0ac71564",
|
|
13
13
|
"workspaceOpenapiSha256": "2abfc64ba1e030fee2e9d2824e5c3b9b8ba7ec621339b133685fb12912247b26",
|
|
14
14
|
"usedOperations": [
|
package/dist/src/outbound.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createHash, randomUUID } from "node:crypto";
|
|
|
2
2
|
import { answerMessages, createPaymentPart, indexedIdempotencyKey, Relay, RelayAPIError, } from "@relaymessenger/sdk";
|
|
3
3
|
import { buildOutboundMediaLoadOptions } from "openclaw/plugin-sdk/media-runtime";
|
|
4
4
|
import { loadWebMedia } from "openclaw/plugin-sdk/web-media";
|
|
5
|
-
export const RELAY_TEXT_CHUNK_LIMIT =
|
|
5
|
+
export const RELAY_TEXT_CHUNK_LIMIT = 65_536;
|
|
6
6
|
const IDEMPOTENCY_KEY_MAX_LENGTH = 255;
|
|
7
7
|
export function createRelaySdkClient(account) {
|
|
8
8
|
return new Relay({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relaymessenger/openclaw-plugin",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.16-staging.0",
|
|
4
4
|
"description": "Native Relay channel plugin for OpenClaw",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"prepack": "npm run build"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@relaymessenger/sdk": "0.5.6"
|
|
40
|
+
"@relaymessenger/sdk": "0.5.6-staging.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "^26.6.2",
|
package/src/outbound.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { buildOutboundMediaLoadOptions, type OutboundMediaAccess } from "opencla
|
|
|
12
12
|
import { loadWebMedia } from "openclaw/plugin-sdk/web-media";
|
|
13
13
|
import type { ResolvedRelayAccount } from "./types.js";
|
|
14
14
|
|
|
15
|
-
export const RELAY_TEXT_CHUNK_LIMIT =
|
|
15
|
+
export const RELAY_TEXT_CHUNK_LIMIT = 65_536;
|
|
16
16
|
const IDEMPOTENCY_KEY_MAX_LENGTH = 255;
|
|
17
17
|
|
|
18
18
|
export function createRelaySdkClient(
|