kiokuko-dsh 0.2.47 → 0.2.49
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/build-info.json +3 -3
- package/dist/client.cjs +80 -25
- package/dist/client.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-command-surface.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-command-surface.js +28 -4
- package/dist/dsh/agenticreplay-command-surface.js.map +1 -1
- package/dist/dsh/agenticreplay-event-mapper.d.ts +9 -0
- package/dist/dsh/agenticreplay-event-mapper.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-event-mapper.js +8 -1
- package/dist/dsh/agenticreplay-event-mapper.js.map +1 -1
- package/dist/dsh/agenticreplay-read-service.d.ts +22 -2
- package/dist/dsh/agenticreplay-read-service.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-read-service.js +54 -1
- package/dist/dsh/agenticreplay-read-service.js.map +1 -1
- package/dist/dsh/agenticreplay-recorder.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-recorder.js +19 -8
- package/dist/dsh/agenticreplay-recorder.js.map +1 -1
- package/dist/dsh/agenticreplay-security.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-security.js +36 -1
- package/dist/dsh/agenticreplay-security.js.map +1 -1
- package/dist/dsh/agenticreplay-store.d.ts +4 -0
- package/dist/dsh/agenticreplay-store.d.ts.map +1 -1
- package/dist/dsh/agenticreplay-store.js +10 -0
- package/dist/dsh/agenticreplay-store.js.map +1 -1
- package/dist/dsh/composition.d.ts.map +1 -1
- package/dist/dsh/composition.js +6 -3
- package/dist/dsh/composition.js.map +1 -1
- package/dist/dsh/core/host.d.ts.map +1 -1
- package/dist/dsh/core/host.js +5 -27
- package/dist/dsh/core/host.js.map +1 -1
- package/dist/dsh/harness/factory.d.ts +2 -1
- package/dist/dsh/harness/factory.d.ts.map +1 -1
- package/dist/dsh/harness/factory.js +3 -3
- package/dist/dsh/harness/factory.js.map +1 -1
- package/dist/dsh/harness/index.d.ts +1 -1
- package/dist/dsh/harness/index.d.ts.map +1 -1
- package/dist/dsh/harness/index.js +2 -2
- package/dist/dsh/harness/index.js.map +1 -1
- package/dist/dsh/host-adapter/admission.js +2 -2
- package/dist/dsh/host-adapter/admission.js.map +1 -1
- package/dist/dsh/host-adapter/routing.d.ts.map +1 -1
- package/dist/dsh/host-adapter/routing.js +7 -0
- package/dist/dsh/host-adapter/routing.js.map +1 -1
- package/dist/dsh/lisp/manager.d.ts.map +1 -1
- package/dist/dsh/lisp/manager.js +46 -25
- package/dist/dsh/lisp/manager.js.map +1 -1
- package/dist/dsh/lisp/worker.d.ts +1 -1
- package/dist/dsh/lisp/worker.d.ts.map +1 -1
- package/dist/dsh/lisp/worker.js +36 -5
- package/dist/dsh/lisp/worker.js.map +1 -1
- package/dist/dsh/on-demand-intake.d.ts.map +1 -1
- package/dist/dsh/on-demand-intake.js +7 -3
- package/dist/dsh/on-demand-intake.js.map +1 -1
- package/dist/locale/en.json +1 -1
- package/dist/locale/ja.json +1 -1
- package/dist/locale/ko.json +1 -1
- package/dist/locale/zh-CN.json +1 -1
- package/docs/agenticreplay-recording.md +20 -3
- package/docs/kiokuko-harness.md +4 -2
- package/docs/lisp.md +21 -4
- package/package.json +1 -1
package/docs/lisp.md
CHANGED
|
@@ -374,13 +374,24 @@ remain at the reported paths. Inspect or restore a particular operation with:
|
|
|
374
374
|
```
|
|
375
375
|
|
|
376
376
|
Restore checks the backup digest and asks for fresh confirmation against the
|
|
377
|
-
current target. To
|
|
378
|
-
|
|
377
|
+
current target. To forcibly stop the current session's Lisp and its owned jobs,
|
|
378
|
+
then start a fresh Lisp:
|
|
379
379
|
|
|
380
380
|
```text
|
|
381
381
|
/kioku-lisp disable
|
|
382
|
+
/kioku-lisp enable
|
|
382
383
|
```
|
|
383
384
|
|
|
385
|
+
`disable` wakes a suspended supervisor and uses its OS-level `SIGKILL` path for
|
|
386
|
+
the owned runtime/jobs, including jobs that ignore `SIGTERM`. It confirms their
|
|
387
|
+
termination before releasing the session; if termination cannot be confirmed,
|
|
388
|
+
it reports `STOP_UNCONFIRMED` and keeps the execution fence. Other sessions stay
|
|
389
|
+
alive. `enable` creates a new heap; previous variables and functions are lost.
|
|
390
|
+
Interrupted evaluation records, file backups and unresolved external-operation
|
|
391
|
+
records remain available after re-enabling. Restart never marks an unknown
|
|
392
|
+
effect successful, undoes it, or replays it; unresolved external operations still
|
|
393
|
+
require reconciliation before dispatching further effects.
|
|
394
|
+
|
|
384
395
|
Plugin unload retains a host-owned execution fence. Reloading never silently
|
|
385
396
|
restarts previous Lisp code. A live second host using the same Lisp data directory
|
|
386
397
|
is refused. A dead host's unfinished operations become UNKNOWN at startup.
|
|
@@ -412,8 +423,14 @@ For selected tests, use the bundled `kioku.test` functions inside `lisp_eval`:
|
|
|
412
423
|
```
|
|
413
424
|
|
|
414
425
|
Both accept one file or a list, a `:directory`, a `:name-pattern` regex and
|
|
415
|
-
`:timeout-ms` for the subprocess.
|
|
416
|
-
|
|
426
|
+
`:timeout-ms` for the subprocess. With the default evaluation budget, time spent
|
|
427
|
+
waiting for a bounded `kioku.process:run` (including these test runners) does not
|
|
428
|
+
consume Lisp computation time. The subprocess keeps its own deadline; the host
|
|
429
|
+
also bounds receipt/cleanup waiting. The same Lisp process, variables and function
|
|
430
|
+
definitions survive the wait. An explicitly supplied `lisp_eval.timeoutMs` remains
|
|
431
|
+
a total wall-clock deadline, including subprocess waits. Pure Lisp computation
|
|
432
|
+
still has the configured time limit, and human Stop still cancels immediately.
|
|
433
|
+
Vitest uses the development project's installed
|
|
417
434
|
`./node_modules/.bin/vitest` and its JSON reporter. Node uses TAP and can run in
|
|
418
435
|
protected scratch with `:isolation :none`:
|
|
419
436
|
|