@fractalsynapse/dsh-chapters 0.2.23 → 0.2.24
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/contract.md +3 -0
- package/lib/client.js +1 -1
- package/lib/client.js.map +1 -1
- package/lib/commands.js +31 -4
- package/lib/commands.js.map +1 -1
- package/lib/index.js +10 -2
- package/lib/index.js.map +1 -1
- package/lib/prompt-runner.d.ts +15 -0
- package/lib/prompt-runner.js +43 -0
- package/lib/prompt-runner.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
package/docs/contract.md
CHANGED
|
@@ -727,6 +727,9 @@ the bar's state rides a plugin record and a projection, and the steady state cos
|
|
|
727
727
|
- Append sites: every durable row write — the runner's `analyzing`/`ready`/`failed`/quiet-`off`
|
|
728
728
|
transitions (it holds the live session) and the bar-access mutations (`setAutorun`, `setOff`,
|
|
729
729
|
`setOn`, `runNow`'s consumption), which gain an optional live-session parameter for the purpose.
|
|
730
|
+
`runNow` also refuses a DELIVERED offer (#289): text equal to a later human-authored turn means
|
|
731
|
+
it already ran; the refusal retires the row (a write verb may heal) and the `state` READ renders
|
|
732
|
+
such an offer resting without mutating anything.
|
|
730
733
|
- The function comes ONLY from the host's own module instance — `createRequire(process.argv[1])
|
|
731
734
|
→ resolve('@deepseek-ai/dsh-session') → await import(resolved)`. The plugin's OWN copy at the
|
|
732
735
|
IDENTICAL version throws `Receiver must be an instance of class Session` against a host session
|
package/lib/client.js
CHANGED
|
@@ -966,7 +966,7 @@ window.__ModuleLoader__.load({
|
|
|
966
966
|
glyph: "✕",
|
|
967
967
|
onClick: () => {
|
|
968
968
|
(async () => {
|
|
969
|
-
if (exec !== void 0) await exec("/chapters-prompt off");
|
|
969
|
+
if (exec !== void 0) await exec("/chapters-prompt off-session");
|
|
970
970
|
dispatch({ t: "off" });
|
|
971
971
|
if (sessionId !== void 0) {
|
|
972
972
|
const offEntry = {
|