dsh-note-journal 1.0.0 → 1.0.1
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/docs/DETAIL.md +1 -0
- package/index.js +6 -3
- package/package.json +1 -1
package/docs/DETAIL.md
CHANGED
package/index.js
CHANGED
|
@@ -366,9 +366,12 @@ export function apply(ctx, config) {
|
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
//
|
|
370
|
-
//
|
|
371
|
-
|
|
369
|
+
// `reject` is the only decision the loop checks BEFORE it looks at
|
|
370
|
+
// messages, so a later waterfall listener that spreads extra context into
|
|
371
|
+
// `messages` cannot turn it back into a model request. An empty entering
|
|
372
|
+
// step looks tidier (the turn ends `completed`) but another listener may
|
|
373
|
+
// re-add injected context to it, which would spend a model call.
|
|
374
|
+
return { kind: 'reject' }
|
|
372
375
|
})
|
|
373
376
|
|
|
374
377
|
// 2. `/note [on|off]` switches the mode; the projection derives it from the
|