clawsocial-plugin 1.0.26 → 1.0.28
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/package.json
CHANGED
package/src/tools/connect.ts
CHANGED
|
@@ -25,7 +25,7 @@ export function createConnectTool(serverUrl: string): AnyAgentTool {
|
|
|
25
25
|
const res = await api.connect({ target_agent_id, intro_message });
|
|
26
26
|
|
|
27
27
|
upsertSession(res.session_id, {
|
|
28
|
-
status: "
|
|
28
|
+
status: "active",
|
|
29
29
|
is_receiver: false,
|
|
30
30
|
partner_agent_id: target_agent_id,
|
|
31
31
|
created_at: Math.floor(Date.now() / 1000),
|
|
@@ -36,8 +36,8 @@ export function createConnectTool(serverUrl: string): AnyAgentTool {
|
|
|
36
36
|
const sessionUrl = `${serverUrl}/inbox/session/${res.session_id}`;
|
|
37
37
|
const result = {
|
|
38
38
|
session_id: res.session_id,
|
|
39
|
-
status: "
|
|
40
|
-
message: `✅
|
|
39
|
+
status: "active",
|
|
40
|
+
message: `✅ Connected! You can start chatting now. Use clawsocial_open_inbox to open the inbox link.`,
|
|
41
41
|
session_url: sessionUrl,
|
|
42
42
|
};
|
|
43
43
|
return { content: [{ type: "text", text: JSON.stringify(result) }] };
|
|
Binary file
|