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.
Files changed (61) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/client.cjs +80 -25
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/dsh/agenticreplay-command-surface.d.ts.map +1 -1
  5. package/dist/dsh/agenticreplay-command-surface.js +28 -4
  6. package/dist/dsh/agenticreplay-command-surface.js.map +1 -1
  7. package/dist/dsh/agenticreplay-event-mapper.d.ts +9 -0
  8. package/dist/dsh/agenticreplay-event-mapper.d.ts.map +1 -1
  9. package/dist/dsh/agenticreplay-event-mapper.js +8 -1
  10. package/dist/dsh/agenticreplay-event-mapper.js.map +1 -1
  11. package/dist/dsh/agenticreplay-read-service.d.ts +22 -2
  12. package/dist/dsh/agenticreplay-read-service.d.ts.map +1 -1
  13. package/dist/dsh/agenticreplay-read-service.js +54 -1
  14. package/dist/dsh/agenticreplay-read-service.js.map +1 -1
  15. package/dist/dsh/agenticreplay-recorder.d.ts.map +1 -1
  16. package/dist/dsh/agenticreplay-recorder.js +19 -8
  17. package/dist/dsh/agenticreplay-recorder.js.map +1 -1
  18. package/dist/dsh/agenticreplay-security.d.ts.map +1 -1
  19. package/dist/dsh/agenticreplay-security.js +36 -1
  20. package/dist/dsh/agenticreplay-security.js.map +1 -1
  21. package/dist/dsh/agenticreplay-store.d.ts +4 -0
  22. package/dist/dsh/agenticreplay-store.d.ts.map +1 -1
  23. package/dist/dsh/agenticreplay-store.js +10 -0
  24. package/dist/dsh/agenticreplay-store.js.map +1 -1
  25. package/dist/dsh/composition.d.ts.map +1 -1
  26. package/dist/dsh/composition.js +6 -3
  27. package/dist/dsh/composition.js.map +1 -1
  28. package/dist/dsh/core/host.d.ts.map +1 -1
  29. package/dist/dsh/core/host.js +5 -27
  30. package/dist/dsh/core/host.js.map +1 -1
  31. package/dist/dsh/harness/factory.d.ts +2 -1
  32. package/dist/dsh/harness/factory.d.ts.map +1 -1
  33. package/dist/dsh/harness/factory.js +3 -3
  34. package/dist/dsh/harness/factory.js.map +1 -1
  35. package/dist/dsh/harness/index.d.ts +1 -1
  36. package/dist/dsh/harness/index.d.ts.map +1 -1
  37. package/dist/dsh/harness/index.js +2 -2
  38. package/dist/dsh/harness/index.js.map +1 -1
  39. package/dist/dsh/host-adapter/admission.js +2 -2
  40. package/dist/dsh/host-adapter/admission.js.map +1 -1
  41. package/dist/dsh/host-adapter/routing.d.ts.map +1 -1
  42. package/dist/dsh/host-adapter/routing.js +7 -0
  43. package/dist/dsh/host-adapter/routing.js.map +1 -1
  44. package/dist/dsh/lisp/manager.d.ts.map +1 -1
  45. package/dist/dsh/lisp/manager.js +46 -25
  46. package/dist/dsh/lisp/manager.js.map +1 -1
  47. package/dist/dsh/lisp/worker.d.ts +1 -1
  48. package/dist/dsh/lisp/worker.d.ts.map +1 -1
  49. package/dist/dsh/lisp/worker.js +36 -5
  50. package/dist/dsh/lisp/worker.js.map +1 -1
  51. package/dist/dsh/on-demand-intake.d.ts.map +1 -1
  52. package/dist/dsh/on-demand-intake.js +7 -3
  53. package/dist/dsh/on-demand-intake.js.map +1 -1
  54. package/dist/locale/en.json +1 -1
  55. package/dist/locale/ja.json +1 -1
  56. package/dist/locale/ko.json +1 -1
  57. package/dist/locale/zh-CN.json +1 -1
  58. package/docs/agenticreplay-recording.md +20 -3
  59. package/docs/kiokuko-harness.md +4 -2
  60. package/docs/lisp.md +21 -4
  61. 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 return to normal tools after confirmed stop and
378
- resolution of unknown operations:
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. Use a Lisp evaluation timeout long enough to
416
- collect the result. Vitest uses the development project's installed
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kiokuko-dsh",
3
- "version": "0.2.47",
3
+ "version": "0.2.49",
4
4
  "description": "Kiokuko plugin for DeepSeek Harness",
5
5
  "type": "module",
6
6
  "license": "MIT",