Skip to content

0.1.27 — adapt to DSH v0.1.2-alpha.2

Choose a tag to compare

@GooDAnDReaDY GooDAnDReaDY released this 01 Sep 14:17

Adapt to DSH v0.1.2-alpha.2.

  • scope.set now returns Promise<void>; old try/catch silently swallowed both sync throw and promise rejection. Now .catch(...) is wired in for the promise channel and outer try/catch keeps the sync channel.
  • Removed the runtime.host.getSnapshot monkey-patch; the new settings mirror clashed with it, killing the namespace write path. DSH now reads preference from the scope snapshot directly.
  • agentPrompt moved under scope.overrides. The top-level field was rejected by the host schema; overrides is always accepted.

Tests: 31/31 pass. Bundle validates through node --check and acorn.

Refs: #97, #98