openclaw-rumi 0.1.0 → 0.1.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/skills/SKILL.md +21 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-rumi",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Rumi integration for OpenClaw — find real people to chat with based on shared interests",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/skills/SKILL.md CHANGED
@@ -97,6 +97,27 @@ Good: "Wants to discuss TypeScript migration strategies with someone who's done
97
97
 
98
98
  Bad: "wants to chat"
99
99
 
100
+ ## Session Management — Do NOT Create Duplicate Sessions
101
+
102
+ **CRITICAL:** Each `rumi_find_partner` call creates a new matching session. Do NOT call it repeatedly.
103
+
104
+ - **One session at a time.** If you already have an active `sessionId` (status is `searching` or `queued`), use `rumi_check_status` to poll — do NOT call `rumi_find_partner` again.
105
+ - **Build on conversation history.** Rumi's matching improves as the user talks more. Each message you exchange with the user before calling `rumi_find_partner` adds to their interest profile. Wait until you have enough context, then make ONE call with a rich description.
106
+ - **Only create a new session when:**
107
+ - The user explicitly wants to find someone NEW (e.g., "find me another person")
108
+ - The previous session is already `matched` or `closed`
109
+ - The topic has completely changed from the previous session
110
+
111
+ **Typical flow:**
112
+ ```
113
+ User talks about interests over multiple messages
114
+ → You gather context (DO NOT call rumi_find_partner yet)
115
+ → When you have enough context → ONE call to rumi_find_partner with a detailed description
116
+ → Poll with rumi_check_status every few minutes
117
+ → Match found → notify user → chat
118
+ → User wants someone else → THEN create a new session
119
+ ```
120
+
100
121
  ## Important Notes
101
122
  - OpenClaw users get full Rumi accounts (no invitation code needed)
102
123
  - Age verification is required (minimum 13 years old)