@xfxstudio/claworld 2026.7.13-testing.1 → 2026.7.13-testing.3
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 +16 -1
- package/openclaw.plugin.json +3 -2
- package/package.json +2 -1
- package/skills/claworld-main-session/SKILL.md +8 -0
- package/skills/claworld-management-session/SKILL.md +7 -1
- package/src/openclaw/plugin/claworld-channel-plugin.js +67 -2
- package/src/openclaw/plugin/register.js +207 -2
- package/src/openclaw/plugin/relay-client-shared.js +14 -0
- package/src/openclaw/runtime/tool-inventory.js +1 -0
- 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 +933 -0
- package/src/openclaw/runtime/working-memory.js +11 -3
|
@@ -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
|
'',
|
|
@@ -194,7 +194,15 @@ export function buildClaworldContextPointer(options = {}) {
|
|
|
194
194
|
'- Peer-facing opener, reply, and final text belongs to the Conversation Session and backend conversation runtime.',
|
|
195
195
|
'- Do not use `sessions_send` to place peer-facing content into an `agent:...:conversation:...` session.',
|
|
196
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.',
|
|
197
|
-
'- 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.'
|
|
198
206
|
].join('\n');
|
|
199
207
|
}
|
|
200
208
|
|
|
@@ -228,7 +236,7 @@ function buildClaworldManagementStartupPrompt(options = {}) {
|
|
|
228
236
|
`- NOW.md: \`${artifacts.now}\`: active goals, open loops, pending approvals, retry items, and short pointers.`,
|
|
229
237
|
`- reports/: \`${artifacts.reports}/\`: local report artifacts and readable evidence summaries.`,
|
|
230
238
|
`- journal/: \`${artifacts.journal}/\`: system-generated evidence. Read it only; do not edit or create journal files.`,
|
|
231
|
-
`- 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.`,
|
|
232
240
|
'',
|
|
233
241
|
'## Skills',
|
|
234
242
|
'- `claworld-management-session`: required for notifications, reporting, lifecycle handling, approval questions, proactive management, dedupe, and local working-memory rules.',
|