@relaymessenger/openclaw-plugin 0.4.8-staging.7 → 0.4.8-staging.9

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.
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "relayServer": {
3
3
  "repository": "RelayMessenger/Relay-Server",
4
- "commit": "b4478d218d71b1f0c2bdcc0a90de37503a03ea7c",
4
+ "commit": "bf085edc35814d4c991f94e6b430aab5df3fd686",
5
5
  "openapiPath": "contracts/developer/openapi.yaml",
6
- "sha256": "0711806487853a7962d5f85e35895244019411fb6b6436a37d250a604e05969c"
6
+ "sha256": "baf2839ae8df9d1478f7a8c8457e99f54f4a1563c8439fc7ff05bb2492a7e6f4"
7
7
  },
8
8
  "relaySdk": {
9
9
  "package": "@relaymessenger/sdk",
10
- "version": "0.3.7-staging.7",
11
- "integrity": "sha512-yjFfQSwlVXFZjQCRAM9ozjm2WYG6VGs4wI3WZHtHn9+P6Smputdaog/5Z73ClePWuzhQWewDMpviSYQ2dTevgA==",
12
- "operationsSha256": "ecd5095dee3924ba4b984435101d39380efabecc8f252cd82567b341005b2a19",
13
- "workspaceOpenapiSha256": "0711806487853a7962d5f85e35895244019411fb6b6436a37d250a604e05969c",
10
+ "version": "0.3.7-staging.12",
11
+ "integrity": "sha512-qFTDN5uZ/xt/5nlSDEvs3Lsxn2ej6OaQHuRJrsgXy7+2KYMH5IELjN2QeFMe4PzQdhiH7EbC2XgtrcV6EdbfMw==",
12
+ "operationsSha256": "e094bf711e65ec5d37c2ca0203cf589be5747308aef8d590fd7cc5af0ac71564",
13
+ "workspaceOpenapiSha256": "baf2839ae8df9d1478f7a8c8457e99f54f4a1563c8439fc7ff05bb2492a7e6f4",
14
14
  "usedOperations": [
15
15
  {
16
16
  "method": "GET",
@@ -58,9 +58,8 @@ export function buildRelayInboundFacts(event) {
58
58
  const selection = selectionReply(event.data.parts, event.data.reply_to);
59
59
  const fromAgent = event.data.sender_handle.kind === "agent";
60
60
  // Another agent's Message is named by the answer, as Relay's CLI bridges
61
- // do (packages/cli/src/bridge-turn.ts, PR 366): Relay's A2A door gives a
62
- // calling agent only the answer whose reply_to names its Message
63
- // (Relay-Server a2a.ts replyTo). A Message that opens with buttons or a
61
+ // do (packages/cli/src/bridge-turn.ts, PR 366), so an agent that sent
62
+ // several knows which one is answered. A Message that opens with buttons or a
64
63
  // selection is not named: an agent may not reply to those parts, and a
65
64
  // reply names part 0.
66
65
  const opening = event.data.parts[0]?.type;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relaymessenger/openclaw-plugin",
3
- "version": "0.4.8-staging.7",
3
+ "version": "0.4.8-staging.9",
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.3.7-staging.7"
40
+ "@relaymessenger/sdk": "0.3.7-staging.12"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "^26.6.2",
package/src/inbound.ts CHANGED
@@ -80,9 +80,8 @@ export function buildRelayInboundFacts(
80
80
  const selection = selectionReply(event.data.parts, event.data.reply_to);
81
81
  const fromAgent = event.data.sender_handle.kind === "agent";
82
82
  // Another agent's Message is named by the answer, as Relay's CLI bridges
83
- // do (packages/cli/src/bridge-turn.ts, PR 366): Relay's A2A door gives a
84
- // calling agent only the answer whose reply_to names its Message
85
- // (Relay-Server a2a.ts replyTo). A Message that opens with buttons or a
83
+ // do (packages/cli/src/bridge-turn.ts, PR 366), so an agent that sent
84
+ // several knows which one is answered. A Message that opens with buttons or a
86
85
  // selection is not named: an agent may not reply to those parts, and a
87
86
  // reply names part 0.
88
87
  const opening = event.data.parts[0]?.type;
package/src/turns.ts CHANGED
@@ -7,9 +7,8 @@ import type { RelayIngressLifecycle } from "./ingress.js";
7
7
  * OpenClaw steers a Message that arrives mid-turn into the running turn by
8
8
  * default (`messages.queue.mode` "steer", docs/concepts/queue.md), and that
9
9
  * turn's answer names the first Message. With `followup` the queued turn's
10
- * answer names none. Relay's A2A door gives each calling agent only the answer
11
- * whose `reply_to` names its Message (Relay-Server `a2a.ts` `replyTo`), so the
12
- * second of two overlapping calls got no answer. A channel plugin "may
10
+ * answer names none, so the second of an agent's two overlapping Messages
11
+ * got no answer of its own. A channel plugin "may
13
12
  * preserve ordering ... before a message enters the session queue"
14
13
  * (docs/concepts/messages.md, Queueing and followups); this is that ordering,
15
14
  * the same rule Relay's CLI bridges follow (`replacesLiveTurn`, PR 366): an