forge-openclaw-plugin 0.2.60 → 0.2.61

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.
Files changed (46) hide show
  1. package/README.md +93 -46
  2. package/dist/assets/{board-B1V3M__K.js → board-DThHV1D8.js} +1 -1
  3. package/dist/assets/index-7gvVCqnV.css +1 -0
  4. package/dist/assets/index-_Cn6Prym.js +90 -0
  5. package/dist/assets/{motion-CltSTItx.js → motion-BtTJtHCw.js} +1 -1
  6. package/dist/assets/{table-B-VrSFx8.js → table-Bnw6pcwN.js} +1 -1
  7. package/dist/assets/{ui-DUqM4jkt.js → ui-CnVxFkj0.js} +1 -1
  8. package/dist/assets/{vendor-C0otBhgu.js → vendor-BgZ3YrRd.js} +212 -207
  9. package/dist/gamification-previews/dark-fantasy-item-trophy-tasks-anvil-marathon.webp +0 -0
  10. package/dist/gamification-previews/dark-fantasy-item-trophy-xp-levels-the-first-heat.webp +0 -0
  11. package/dist/gamification-previews/dark-fantasy-item-unlock-streaks-molten-crown-fire.webp +0 -0
  12. package/dist/gamification-previews/dark-fantasy-mascot.webp +0 -0
  13. package/dist/gamification-previews/dramatic-smithie-item-trophy-tasks-anvil-marathon.webp +0 -0
  14. package/dist/gamification-previews/dramatic-smithie-item-trophy-xp-levels-the-first-heat.webp +0 -0
  15. package/dist/gamification-previews/dramatic-smithie-item-unlock-streaks-molten-crown-fire.webp +0 -0
  16. package/dist/gamification-previews/dramatic-smithie-mascot.webp +0 -0
  17. package/dist/gamification-previews/mind-locksmith-item-trophy-tasks-anvil-marathon.webp +0 -0
  18. package/dist/gamification-previews/mind-locksmith-item-trophy-xp-levels-the-first-heat.webp +0 -0
  19. package/dist/gamification-previews/mind-locksmith-item-unlock-streaks-molten-crown-fire.webp +0 -0
  20. package/dist/gamification-previews/mind-locksmith-mascot.webp +0 -0
  21. package/dist/index.html +7 -7
  22. package/dist/openclaw/parity.js +27 -0
  23. package/dist/openclaw/plugin-entry-shared.js +2 -2
  24. package/dist/openclaw/plugin-sdk-types.d.ts +2 -1
  25. package/dist/openclaw/routes.d.ts +4 -0
  26. package/dist/openclaw/routes.js +112 -3
  27. package/dist/openclaw/tools.js +32 -4
  28. package/dist/server/server/migrations/059_data_backup_retention.sql +2 -0
  29. package/dist/server/server/src/app.js +125 -43
  30. package/dist/server/server/src/data-management-types.js +2 -0
  31. package/dist/server/server/src/health.js +40 -0
  32. package/dist/server/server/src/openapi.js +398 -7
  33. package/dist/server/server/src/repositories/rewards.js +60 -0
  34. package/dist/server/server/src/services/data-management.js +32 -2
  35. package/dist/server/server/src/services/doctor.js +762 -0
  36. package/dist/server/server/src/services/gamification.js +75 -3
  37. package/dist/server/src/lib/api.js +9 -0
  38. package/dist/server/src/lib/gamification-catalog.js +1 -1
  39. package/openclaw.plugin.json +85 -3
  40. package/package.json +8 -4
  41. package/server/migrations/059_data_backup_retention.sql +2 -0
  42. package/skills/forge-openclaw/SKILL.md +38 -19
  43. package/skills/forge-openclaw/entity_conversation_playbooks.md +66 -8
  44. package/skills/forge-openclaw/psyche_entity_playbooks.md +23 -0
  45. package/dist/assets/index-BwKAPo98.css +0 -1
  46. package/dist/assets/index-Dy7c-dRY.js +0 -90
@@ -320,6 +320,29 @@ Do not ask the user to pick the container first. Reflect the active meaning in p
320
320
  language, ask for one recent moment or one belief sentence, then choose the record that
321
321
  will preserve the structure best.
322
322
 
323
+ ## Psyche API Posture
324
+
325
+ Psyche records are psychologically meaningful, but they are still normal stored Forge
326
+ entities for API purposes. Once the formulation is clear and the user has consented to
327
+ save or update it, use the shared batch entity routes for `psyche_value`,
328
+ `behavior_pattern`, `behavior`, `belief_entry`, `mode_profile`,
329
+ `mode_guide_session`, `trigger_report`, `event_type`, and `emotion_definition`.
330
+
331
+ Keep the route decision internal. With the user, keep talking about the lived moment,
332
+ belief sentence, pattern, mode, value, report, event kind, or feeling signature.
333
+ Do not ask them about batch CRUD, payloads, or route families.
334
+
335
+ Use `forge_search_entities` before creating when a duplicate is plausible. Use
336
+ `forge_create_entities` or `forge_update_entities` after the wording, record type,
337
+ and useful links are clear enough. Preserve nuance in a linked `note` when the
338
+ experience is richer than the normalized fields.
339
+
340
+ Do not divert Psyche material into `self_observation` just because it started as an
341
+ episode. Use `trigger_report` for one emotionally meaningful incident, use
342
+ `behavior_pattern` for a recurring functional loop, use `belief_entry` for one
343
+ explicit sentence, and use `mode_guide_session` or `mode_profile` when a part-state is
344
+ central.
345
+
323
346
  ## Lane chooser
324
347
 
325
348
  After each real answer, choose the next best lane. Do not mix several lanes at once.