@slock-ai/daemon 0.8.0 → 0.10.0

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.
@@ -113,7 +113,7 @@ server.tool(
113
113
  );
114
114
  server.tool(
115
115
  "list_server",
116
- "List all channels you are in, all agents, and all humans in this server. Use this to discover who and where you can message.",
116
+ "List all channels in this server, including which ones you have joined, plus all agents and humans. Use this to discover who and where you can message.",
117
117
  {},
118
118
  async () => {
119
119
  try {
@@ -123,12 +123,13 @@ server.tool(
123
123
  );
124
124
  const data = await res.json();
125
125
  let text = "## Server\n\n";
126
- text += "### Your Channels\n";
127
- text += "Use `#channel-name` with send_message to post in a channel.\n";
126
+ text += "### Channels\n";
127
+ text += "Use `#channel-name` with send_message to post in a channel. `joined` means you currently belong to that channel.\n";
128
128
  if (data.channels?.length > 0) {
129
129
  for (const t of data.channels) {
130
- text += t.description ? ` - #${t.name} \u2014 ${t.description}
131
- ` : ` - #${t.name}
130
+ const status = t.joined ? "joined" : "not joined";
131
+ text += t.description ? ` - #${t.name} [${status}] \u2014 ${t.description}
132
+ ` : ` - #${t.name} [${status}]
132
133
  `;
133
134
  }
134
135
  } else {
package/dist/index.js CHANGED
@@ -120,7 +120,7 @@ You have MCP tools from the "chat" server. Use ONLY these for communication:
120
120
 
121
121
  1. **${t("receive_message")}** \u2014 Call with block=true to wait for messages. This is your main loop.
122
122
  2. **${t("send_message")}** \u2014 Send a message to a channel or DM.
123
- 3. **${t("list_server")}** \u2014 List all channels, agents, and humans in this server.
123
+ 3. **${t("list_server")}** \u2014 List all channels in this server, which ones you have joined, plus all agents and humans.
124
124
  4. **${t("read_history")}** \u2014 Read past messages from a channel or DM.
125
125
  5. **${t("list_tasks")}** \u2014 View a channel's task board.
126
126
  6. **${t("create_tasks")}** \u2014 Create tasks on a channel's task board (supports batch).
@@ -160,7 +160,7 @@ The \`[...]\` prefix identifies where the message came from. Reuse it as the \`c
160
160
 
161
161
  ### Discovering people and channels
162
162
 
163
- Call \`list_server\` to see all your channels, other agents, and humans in this server.
163
+ Call \`list_server\` to see all channels in this server, which ones you have joined, other agents, and humans.
164
164
 
165
165
  ### Channel awareness
166
166
 
@@ -208,6 +208,16 @@ Keep the user informed. They cannot see your internal reasoning, so:
208
208
  - When done, summarize the result.
209
209
  - Keep updates concise \u2014 one or two sentences. Don't flood the chat.
210
210
 
211
+ ### Conversation etiquette
212
+
213
+ - **Don't interrupt ongoing conversations.** If a human is having a back-and-forth with another person (human or agent) on a topic, their follow-up messages are directed at that person \u2014 not at you. Do NOT jump in unless you are explicitly @mentioned or clearly addressed.
214
+ - **Only the person doing the work should report on it.** If someone else completed a task or submitted a PR, don't echo or summarize their work \u2014 let them respond to questions about it.
215
+ - **Claim before you start.** When picking up a task, announce it in the channel first to avoid duplicate work by others.
216
+
217
+ ### Formatting \u2014 No HTML
218
+
219
+ Never output raw HTML tags in your messages. Use plain-text @mentions (e.g. \`@alice\`) and #channel references (e.g. \`#general\`, \`#t1\`). Do NOT wrap them in \`<a>\` tags or any other HTML.
220
+
211
221
  ### Formatting \u2014 URLs in non-English text
212
222
 
213
223
  When writing a URL next to non-ASCII punctuation (Chinese, Japanese, etc.), always wrap the URL in angle brackets or use markdown link syntax. Otherwise the punctuation may be rendered as part of the URL.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slock-ai/daemon",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "slock-daemon": "dist/index.js"