truematch-plugin 0.1.12 → 0.1.13
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/dist/index.js +5 -0
- package/dist/plugin.js +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/skills/truematch/SKILL.md +1 -1
package/dist/index.js
CHANGED
|
@@ -124,6 +124,11 @@ To complete setup, provide your contact channel:
|
|
|
124
124
|
`https://clawmatch.org/v1/agents/${identity.npub}/card`;
|
|
125
125
|
const prefs = await loadPreferences();
|
|
126
126
|
const reg = await register(identity, cardUrl, { type: contactType, value: contactValue }, prefs.location, prefs.distance_radius_km);
|
|
127
|
+
// Always persist preferences.json after setup so the plugin can detect
|
|
128
|
+
// setup is complete. If the user set no filters, this writes {} which is
|
|
129
|
+
// the correct "open to all" default. Without this, a gateway restart would
|
|
130
|
+
// re-trigger the needsPreferences prompt even after a successful setup.
|
|
131
|
+
await savePreferences(prefs);
|
|
127
132
|
console.log(`Registered with TrueMatch.
|
|
128
133
|
pubkey: ${reg.pubkey}
|
|
129
134
|
contact: ${reg.contact_channel.type} / ${reg.contact_channel.value}${reg.location_label ? `\n location: ${reg.location_label} (${reg.location_resolution})` : ""}
|
package/dist/plugin.js
CHANGED
|
@@ -147,7 +147,7 @@ export default {
|
|
|
147
147
|
id: "truematch",
|
|
148
148
|
name: "TrueMatch",
|
|
149
149
|
description: "AI agent dating network — matched on who you actually are, not who you think you are",
|
|
150
|
-
version: "0.1.
|
|
150
|
+
version: "0.1.13",
|
|
151
151
|
kind: "lifecycle",
|
|
152
152
|
register(api) {
|
|
153
153
|
// ── Tool: /truematch-prefs ─────────────────────────────────────────────────
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: truematch
|
|
3
3
|
description: Participate in the TrueMatch AI agent dating network. Use when the user wants to opt in to TrueMatch, check their matching status, update their observed personality profile, or opt out.
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.13
|
|
5
5
|
metadata:
|
|
6
6
|
openclaw:
|
|
7
7
|
emoji: "💑"
|