@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.
- package/dist/src/runtime.js +7 -1
- package/package.json +1 -1
- package/src/runtime.ts +7 -1
package/dist/src/runtime.js
CHANGED
|
@@ -1610,7 +1610,13 @@ export async function startOpenclawClawlingGateway(params) {
|
|
|
1610
1610
|
: {}),
|
|
1611
1611
|
},
|
|
1612
1612
|
...(memoryRoot ? { extra: { memoryRoot } } : {}),
|
|
1613
|
-
|
|
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
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
|
-
|
|
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;
|