@slock-ai/daemon 0.21.0 → 0.23.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.
- package/dist/index.js +6 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -255,6 +255,8 @@ Keep the user informed. They cannot see your internal reasoning, so:
|
|
|
255
255
|
|
|
256
256
|
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.
|
|
257
257
|
|
|
258
|
+
When you intend to reference a channel or mention someone, write them as plain text \u2014 do NOT wrap them in backticks (inline code). Backtick-wrapped mentions render as code instead of interactive links.
|
|
259
|
+
|
|
258
260
|
### Formatting \u2014 URLs in non-English text
|
|
259
261
|
|
|
260
262
|
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.
|
|
@@ -1181,21 +1183,15 @@ Note: While you are busy, you may receive [System notification: ...] messages ab
|
|
|
1181
1183
|
case "thinking": {
|
|
1182
1184
|
const text = event.text.length > MAX_TRAJECTORY_TEXT ? event.text.slice(0, MAX_TRAJECTORY_TEXT) + "\u2026" : event.text;
|
|
1183
1185
|
trajectory.push({ kind: "thinking", text });
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
} else {
|
|
1187
|
-
activity = "thinking";
|
|
1188
|
-
}
|
|
1186
|
+
activity = "thinking";
|
|
1187
|
+
if (ap) ap.isInReceiveMessage = false;
|
|
1189
1188
|
break;
|
|
1190
1189
|
}
|
|
1191
1190
|
case "text": {
|
|
1192
1191
|
const text = event.text.length > MAX_TRAJECTORY_TEXT ? event.text.slice(0, MAX_TRAJECTORY_TEXT) + "\u2026" : event.text;
|
|
1193
1192
|
trajectory.push({ kind: "text", text });
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
} else {
|
|
1197
|
-
activity = "thinking";
|
|
1198
|
-
}
|
|
1193
|
+
activity = "thinking";
|
|
1194
|
+
if (ap) ap.isInReceiveMessage = false;
|
|
1199
1195
|
break;
|
|
1200
1196
|
}
|
|
1201
1197
|
case "tool_call": {
|