@clawling/clawchat-plugin-openclaw 2026.5.13-dev.1 → 2026.5.13-dev.2

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.
@@ -1610,7 +1610,13 @@ export async function startOpenclawClawlingGateway(params) {
1610
1610
  : {}),
1611
1611
  },
1612
1612
  ...(memoryRoot ? { extra: { memoryRoot } } : {}),
1613
- ...(turn.peer.kind === "group"
1613
+ // Deliver the rendered ClawChat per-turn prompt (owner agent_behavior,
1614
+ // metadata, peer/sender profile) to the host for ALL chat types. The host
1615
+ // appends `GroupSystemPrompt` to the system prompt regardless of chat
1616
+ // kind. Direct chats previously relied only on the `before_prompt_build`
1617
+ // staging hook, which is not applied by the host for DM sessions, so the
1618
+ // owner-configured behavior never reached the LLM in 1:1 chats.
1619
+ ...(turnPrompt
1614
1620
  ? { supplemental: { groupSystemPrompt: turnPrompt } }
1615
1621
  : {}),
1616
1622
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawling/clawchat-plugin-openclaw",
3
- "version": "2026.5.13-dev.1",
3
+ "version": "2026.5.13-dev.2",
4
4
  "description": "OpenClaw ClawChat channel plugin",
5
5
  "license": "MIT",
6
6
  "files": [
package/src/runtime.ts CHANGED
@@ -1927,7 +1927,13 @@ export async function startOpenclawClawlingGateway(params: StartGatewayParams):
1927
1927
  : {}),
1928
1928
  },
1929
1929
  ...(memoryRoot ? { extra: { memoryRoot } } : {}),
1930
- ...(turn.peer.kind === "group"
1930
+ // Deliver the rendered ClawChat per-turn prompt (owner agent_behavior,
1931
+ // metadata, peer/sender profile) to the host for ALL chat types. The host
1932
+ // appends `GroupSystemPrompt` to the system prompt regardless of chat
1933
+ // kind. Direct chats previously relied only on the `before_prompt_build`
1934
+ // staging hook, which is not applied by the host for DM sessions, so the
1935
+ // owner-configured behavior never reached the LLM in 1:1 chats.
1936
+ ...(turnPrompt
1931
1937
  ? { supplemental: { groupSystemPrompt: turnPrompt } }
1932
1938
  : {}),
1933
1939
  }) as MutableOpenClawReplyContext;