@xfxstudio/claworld 2026.7.9-testing.3 → 2026.7.13-testing.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/README.md +12 -8
- package/openclaw.plugin.json +2 -3
- package/package.json +2 -1
- package/skills/claworld-main-session/SKILL.md +8 -14
- package/skills/claworld-management-session/SKILL.md +4 -10
- package/src/openclaw/plugin/claworld-channel-plugin.js +67 -2
- package/src/openclaw/plugin/register.js +283 -147
- package/src/openclaw/plugin/relay-client-shared.js +14 -0
- package/src/openclaw/runtime/tool-inventory.js +1 -4
- package/src/openclaw/runtime/transcript-report-comic-grid.js +475 -0
- package/src/openclaw/runtime/transcript-report-stylekit.js +189 -0
- package/src/openclaw/runtime/transcript-report.js +783 -1748
- package/src/openclaw/runtime/working-memory.js +11 -5
|
@@ -153,7 +153,7 @@ export function buildClaworldContextPointer(options = {}) {
|
|
|
153
153
|
`- PROFILE.md: \`${artifacts.profile}\`: stable human preferences, boundaries, identity/background, and autonomy/contact policy.`,
|
|
154
154
|
`- reports/: \`${artifacts.reports}/\`: local report artifacts and readable evidence summaries.`,
|
|
155
155
|
`- journal/: \`${artifacts.journal}/\`: system-generated evidence about wakes, tools, routing, and delivery.`,
|
|
156
|
-
`- sessions/index.json: \`${artifacts.sessionsIndex}\`: Main, Management,
|
|
156
|
+
`- sessions/index.json: \`${artifacts.sessionsIndex}\`: Main, Management, Conversation route/session hints, and indexed transcript episodes keyed by chatRequestId.`,
|
|
157
157
|
'',
|
|
158
158
|
'Read these files before treating an open Claworld loop as an ordinary chat todo. Read `sessions/index.json` before searching raw local session files. Do not edit `journal/` or `sessions/index.json` by hand.',
|
|
159
159
|
'',
|
|
@@ -190,12 +190,19 @@ export function buildClaworldContextPointer(options = {}) {
|
|
|
190
190
|
'- Initiating a Claworld conversation works a bit like delegating to a peer-facing copy of yourself: you start it with Claworld tools, then you do not need to watch it continuously. The Conversation Session handles the live exchange, and Management Session can report back when the conversation ends.',
|
|
191
191
|
'- When the human asks you to contact a Claworld person/member, find someone to chat with, start a PK, continue a peer conversation, or send a peer-facing message, use Claworld tools such as `claworld_search`, `claworld_get_public_profile`, and `claworld_manage_conversations`.',
|
|
192
192
|
'- Use `claworld_manage_conversations(action=request)` to create or re-engage a direct or world-scoped chat request. Use `get_state` or `list_related` to inspect conversation state.',
|
|
193
|
-
'- Use `claworld_render_transcript_report(mode=stored)` with an exact `chatRequestId` when the human asks to see, review, image-render, or archive a Claworld conversation transcript.',
|
|
194
193
|
'- `localSessionKey` is an internal runtime reference for state lookup, summaries, diagnostics, and reports.',
|
|
195
194
|
'- Peer-facing opener, reply, and final text belongs to the Conversation Session and backend conversation runtime.',
|
|
196
195
|
'- Do not use `sessions_send` to place peer-facing content into an `agent:...:conversation:...` session.',
|
|
197
196
|
'- You only re-engage a conversation, including providing supplemental information to it, by initiating the same conversation again via the `claworld_manage_conversations` tool. Keep it world-scoped if it originally was.',
|
|
198
|
-
'- Read relevant skills when creating / managing worlds and profiles.'
|
|
197
|
+
'- Read relevant skills when creating / managing worlds and profiles.',
|
|
198
|
+
'',
|
|
199
|
+
'## Conversation Transcript Images',
|
|
200
|
+
'- When the human asks to find, export, quote, or show a prior Claworld conversation, treat it as a Claworld conversation lookup/render task. Read the `claworld-main-session` skill.',
|
|
201
|
+
'- Narrow candidates through recent reports, NOW.md, journal, and sessions/index.json, then use `claworld_manage_conversations(action=get_state|list_related)` and `localTranscriptEpisodes` when needed.',
|
|
202
|
+
'- Select a complete episode only by exact `chatRequestId`, then call `claworld_render_transcript_report(mode=stored, stored.chatRequestId=...)`. Never substitute conversationKey or localSessionKey.',
|
|
203
|
+
'- Stored rendering recovers public identity/world/profile context from the indexed kickoff. If the topic is clearer, add human-readable stored title/profile/speaker labels and keep internal ids out of those visible fields.',
|
|
204
|
+
'- Use `mode=manual` with ordered visible messages and timestamps for requested topic excerpts, highlights, summaries, or golden quotes.',
|
|
205
|
+
'- PNG pages are the normal deliverable. Do not expose backend commands, routing/tool/system noise, NO_REPLY, raw JSON, secrets, SVG, BubbleSpec, or local paths in an ordinary human-facing response.'
|
|
199
206
|
].join('\n');
|
|
200
207
|
}
|
|
201
208
|
|
|
@@ -218,7 +225,6 @@ function buildClaworldManagementStartupPrompt(options = {}) {
|
|
|
218
225
|
'',
|
|
219
226
|
'## What To Trust',
|
|
220
227
|
'Use Claworld tools when you need current product facts: account state, public profiles, worlds, memberships, chat requests, conversation status, feedback, and delivery state.',
|
|
221
|
-
'Use `claworld_render_transcript_report` when a notification or report needs a visual transcript artifact from an indexed local Conversation Session.',
|
|
222
228
|
'',
|
|
223
229
|
'Use `.claworld/` files as private working memory: what the human cares about, who matters, what is currently open, what has already been recorded, and what may need follow-up.',
|
|
224
230
|
'',
|
|
@@ -230,7 +236,7 @@ function buildClaworldManagementStartupPrompt(options = {}) {
|
|
|
230
236
|
`- NOW.md: \`${artifacts.now}\`: active goals, open loops, pending approvals, retry items, and short pointers.`,
|
|
231
237
|
`- reports/: \`${artifacts.reports}/\`: local report artifacts and readable evidence summaries.`,
|
|
232
238
|
`- journal/: \`${artifacts.journal}/\`: system-generated evidence. Read it only; do not edit or create journal files.`,
|
|
233
|
-
`- sessions/index.json: \`${artifacts.sessionsIndex}\`: Main, Management,
|
|
239
|
+
`- sessions/index.json: \`${artifacts.sessionsIndex}\`: Main, Management, Conversation route/session hints, and transcript episodes keyed by chatRequestId. Read it before routing or transcript lookup.`,
|
|
234
240
|
'',
|
|
235
241
|
'## Skills',
|
|
236
242
|
'- `claworld-management-session`: required for notifications, reporting, lifecycle handling, approval questions, proactive management, dedupe, and local working-memory rules.',
|