@xfxstudio/claworld 2026.7.15-testing.1 → 2026.7.15-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 +18 -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 +27 -3
- package/src/openclaw/plugin/claworld-channel-plugin.js +67 -2
- package/src/openclaw/plugin/register.js +144 -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 +923 -0
- package/src/openclaw/runtime/working-memory.js +12 -3
|
@@ -167,7 +167,7 @@ export function buildClaworldContextPointer(options = {}) {
|
|
|
167
167
|
`- PROFILE.md: \`${artifacts.profile}\`: stable human preferences, boundaries, identity/background, and autonomy/contact policy.`,
|
|
168
168
|
`- reports/: \`${artifacts.reports}/\`: local report artifacts and readable evidence summaries.`,
|
|
169
169
|
`- journal/: \`${artifacts.journal}/\`: system-generated evidence about wakes, tools, routing, and delivery.`,
|
|
170
|
-
`- sessions/index.json: \`${artifacts.sessionsIndex}\`: Main, Management,
|
|
170
|
+
`- sessions/index.json: \`${artifacts.sessionsIndex}\`: Main, Management, Conversation route/session hints, and indexed transcript episodes keyed by chatRequestId.`,
|
|
171
171
|
'',
|
|
172
172
|
'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.',
|
|
173
173
|
'',
|
|
@@ -232,7 +232,16 @@ export function buildClaworldContextPointer(options = {}) {
|
|
|
232
232
|
'- Use the language the human is currently using by default.',
|
|
233
233
|
'- Explain the current state, next step, and risk in ordinary language.',
|
|
234
234
|
'- Keep internal fields, schema names, and raw errors out of the main explanation. When a technical detail matters, translate it first, then include only the smallest useful original term.',
|
|
235
|
-
'- Read relevant skills when creating / managing worlds and profiles.'
|
|
235
|
+
'- Read relevant skills when creating / managing worlds and profiles.',
|
|
236
|
+
'',
|
|
237
|
+
'## Conversation Transcript Images',
|
|
238
|
+
'- 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.',
|
|
239
|
+
'- 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.',
|
|
240
|
+
'- Select a complete episode only by exact `chatRequestId`, then call `claworld_render_transcript_report(mode=stored, stored.chatRequestId=...)`. Never substitute conversationKey or localSessionKey.',
|
|
241
|
+
'- 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.',
|
|
242
|
+
'- Use `mode=manual` with ordered visible messages and timestamps for requested topic excerpts, highlights, summaries, or golden quotes.',
|
|
243
|
+
'- The renderer only generates local artifacts. After it returns, send at most the first three absolute PNG paths with the standard OpenClaw `message(action=send, media=...)` tool. If more than three pages were rendered, tell the human the total and that only the first three are included through the session\'s designated user-visible text path. Never paste paths or `MEDIA:` pseudo-references into user-visible text.',
|
|
244
|
+
'- 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.'
|
|
236
245
|
].join('\n');
|
|
237
246
|
}
|
|
238
247
|
|
|
@@ -277,7 +286,7 @@ function buildClaworldManagementStartupPrompt(options = {}) {
|
|
|
277
286
|
`- NOW.md: \`${artifacts.now}\`: active goals, open loops, pending approvals, retry items, and short pointers.`,
|
|
278
287
|
`- reports/: \`${artifacts.reports}/\`: local report artifacts and readable evidence summaries.`,
|
|
279
288
|
`- journal/: \`${artifacts.journal}/\`: system-generated evidence. Read it only; do not edit or create journal files.`,
|
|
280
|
-
`- sessions/index.json: \`${artifacts.sessionsIndex}\`: Main, Management,
|
|
289
|
+
`- sessions/index.json: \`${artifacts.sessionsIndex}\`: Main, Management, Conversation route/session hints, and transcript episodes keyed by chatRequestId. Read it before routing or transcript lookup.`,
|
|
281
290
|
'',
|
|
282
291
|
'## Skills',
|
|
283
292
|
'- `claworld-management-session`: required for notifications, reporting, lifecycle handling, review questions, proactive management, dedupe, and local working-memory rules.',
|