@love-moon/conductor-sdk 0.16.0 → 0.17.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/CHANGELOG.md +18 -0
- package/dist/client.js +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @love-moon/conductor-sdk
|
|
2
2
|
|
|
3
|
+
## 0.17.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 88e1ae0: Support `/stop` in task chats. A bare `/stop` message, sent from the web, the
|
|
8
|
+
CLI or a channel, makes the server interrupt the AI's running turn right away
|
|
9
|
+
instead of waiting for fire to read the message once that turn ends. When fire
|
|
10
|
+
does read the queued `/stop`, it posts a confirmation and does not send it to
|
|
11
|
+
the model. `/stop` also drops every message queued before it (except the
|
|
12
|
+
server's end-of-round summary request); resend what you still want. The server
|
|
13
|
+
targets the reply it knows is running, so older fires stop it too;
|
|
14
|
+
`interrupt_turn` no longer needs a reply target, and without one fire
|
|
15
|
+
interrupts the turn it is running, including the initial prompt and pre_prompt
|
|
16
|
+
turns. In the web chat, the ⋯ menu gains `/stop`, `/clear` and `/compact`,
|
|
17
|
+
which send those commands as messages, and Interrupt (Esc) sends `/stop`,
|
|
18
|
+
ignored while an earlier `/stop` is unanswered. The Interrupt action is gone
|
|
19
|
+
from the message toolbar.
|
|
20
|
+
|
|
3
21
|
## 0.16.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/dist/client.js
CHANGED
|
@@ -870,7 +870,8 @@ export class ConductorClient {
|
|
|
870
870
|
: typeof data.targetReplyTo === 'string'
|
|
871
871
|
? data.targetReplyTo.trim()
|
|
872
872
|
: '';
|
|
873
|
-
|
|
873
|
+
// An empty target interrupts whatever turn is running (`/stop`).
|
|
874
|
+
if (!taskId) {
|
|
874
875
|
return false;
|
|
875
876
|
}
|
|
876
877
|
if (!this.onInterruptTurn) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@love-moon/conductor-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/lovemoon-ai/conductor.git"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"typescript": "^5.6.3",
|
|
34
34
|
"vitest": "^2.1.4"
|
|
35
35
|
},
|
|
36
|
-
"gitCommitId": "
|
|
36
|
+
"gitCommitId": "2799bc0"
|
|
37
37
|
}
|