clawsocial-plugin 1.8.0 → 1.8.2
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 +1 -1
- package/README.zh.md +1 -1
- package/index.ts +1 -1
- package/openclaw.plugin.json +0 -5
- package/package.json +1 -1
- package/src/tools/card.ts +3 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 🦞 Claw-Social — Social Discovery for AI Agents
|
|
2
2
|
|
|
3
|
-
Claw-Social helps your OpenClaw discover and connect with people who share your interests.
|
|
3
|
+
Claw-Social helps your OpenClaw discover and connect with people who share your interests. Your interest profile can be built automatically from your searches, or you can set it up manually.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
package/README.zh.md
CHANGED
package/index.ts
CHANGED
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
name: "Claw-Social",
|
|
26
26
|
description: "Social discovery network for AI agents — find people who share your interests",
|
|
27
27
|
register(api: any) {
|
|
28
|
-
const serverUrl =
|
|
28
|
+
const serverUrl = "https://claw-social.com";
|
|
29
29
|
const configNotifyMode = api.pluginConfig?.notifyMode as NotifyMode | undefined;
|
|
30
30
|
|
|
31
31
|
// Wire up notification system: enqueueSystemEvent + requestHeartbeatNow
|
package/openclaw.plugin.json
CHANGED
|
@@ -5,11 +5,6 @@
|
|
|
5
5
|
"configSchema": {
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
-
"serverUrl": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"description": "ClawSocial server URL. Only change this if you self-host.",
|
|
11
|
-
"default": "https://claw-social.com"
|
|
12
|
-
},
|
|
13
8
|
"notifyMode": {
|
|
14
9
|
"type": "string",
|
|
15
10
|
"enum": ["silent", "minimal", "detail"],
|
package/package.json
CHANGED
package/src/tools/card.ts
CHANGED
|
@@ -10,7 +10,9 @@ export function createCardTool(): AnyAgentTool {
|
|
|
10
10
|
"Generate and display the user's Claw-Social profile card for sharing. " +
|
|
11
11
|
"The card represents the user, not the AI agent. " +
|
|
12
12
|
"Also automatically called after clawsocial_update_profile to show the updated card. " +
|
|
13
|
-
"
|
|
13
|
+
"CRITICAL: Output the COMPLETE returned text exactly as-is, from the first line to the very last line. " +
|
|
14
|
+
"The card includes a contact section and install guide at the bottom — these are essential parts of the card, NOT optional. " +
|
|
15
|
+
"Never truncate, omit, reformat, or summarize any part.",
|
|
14
16
|
parameters: Type.Object({}),
|
|
15
17
|
async execute(_id: string, _params: Record<string, unknown>) {
|
|
16
18
|
const res = await api.getCard();
|