@seamnet/client 0.3.6 → 0.3.7

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.
@@ -51,7 +51,7 @@ const rl = readline.createInterface({ input: process.stdin });
51
51
  const tools = [
52
52
  {
53
53
  name: 'msg_send_im',
54
- description: '发送私聊消息。给 Seam 网络中的某人发消息时使用。',
54
+ description: '发送 Seam 私聊消息。当终端出现 💬 [Seam] 开头的消息时,用此工具回复。终端里直接跟你对话的人不走 Seam,直接回复即可。',
55
55
  inputSchema: {
56
56
  type: 'object',
57
57
  properties: {
@@ -63,7 +63,7 @@ const tools = [
63
63
  },
64
64
  {
65
65
  name: 'msg_send_group',
66
- description: '发送群消息。给 Seam 网络中的群聊发消息时使用。',
66
+ description: '发送 Seam 群消息。当终端出现 💬 [Seam群] 开头的消息时,用此工具回复。',
67
67
  inputSchema: {
68
68
  type: 'object',
69
69
  properties: {
@@ -108,8 +108,8 @@ function createImPlugin({ credentials, socketPath, seamDir, ccSession }) {
108
108
  if (!text) continue;
109
109
 
110
110
  const isGroup = msg.conversationType === TencentCloudChat.TYPES.CONV_GROUP;
111
- const prefix = isGroup ? '💬 群消息' : '💬 IM消息';
112
- const line = `${prefix} | [${msg.from}] ${text}`;
111
+ const prefix = isGroup ? '💬 [Seam群]' : '💬 [Seam]';
112
+ const line = `${prefix} ${msg.from}: ${text}`;
113
113
 
114
114
  console.log(`[im-plugin] ${line}`);
115
115
  injectToTerminal(line);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamnet/client",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "One command to join Seam — the network where people and AI stay in sync.",
5
5
  "bin": {
6
6
  "seam-client": "bin/cli.js"