dsh-thinking-levels 0.7.1-beta.4 → 1.0.0-beta.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/CHANGELOG.md CHANGED
@@ -8,6 +8,34 @@ All notable changes to `dsh-thinking-levels` are documented here.
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ### Fixed — legacy line renumbered to 1.x — 1.0.0-beta.1
12
+
13
+ - **The composer context-window control crashed its slot on every render.** `ContextQuick`
14
+ called the session standard seat as a bare getter (`useSession()`). Every renderer standard
15
+ seat is a `useSyncExternalStoreWithSelector` *selector hook* bound by `bindSnapshotSelector`,
16
+ so the call reached the shim with `selector === undefined` and threw
17
+ `TypeError: l is not a function`, taking the whole `conversation.input.right` entry down on
18
+ each render. The control now reads the session `useConversation` seat through a stable
19
+ module-level selector (`ConversationSnapshot.views.get('trajectory')`) — the view that
20
+ actually carries the request ledger. The previous code read `session.views.get('trajectory')`
21
+ on the *session* snapshot, a field `SessionSnapshot` never had, so it could not have resolved
22
+ a model even without the crash.
23
+ - **A harness line without that seat renders nothing** instead of a dead control: the
24
+ capability check is a separate outer component, so the seat hook itself is only ever called
25
+ inside a component that was handed a real hook (hook order stays stable either way).
26
+ - **The popover is now one slider row.** The preset button grid is gone: a preset slider
27
+ (64K / 128K / 256K / 400K / 512K / 1M) writes once per gesture (pointer release, key release,
28
+ blur), next to the committed value, a collapsed custom-integer editor (`⋯`) and Clear. The
29
+ trigger pill shows the value only — no `ctx` prefix, no hint paragraph (the full hint stays on
30
+ the pill's `title`). Copy is localized in all four dictionaries.
31
+ - **Version renumbering: the line is now the major digit.** This legacy line (DSH < 0.1.2)
32
+ moves to **1.x**, the mainline (DSH 0.1.2+) to **2.x**, so an installed version states which
33
+ harness segment it serves. npm dist-tags keep their roles: `compat` = this line, `beta` =
34
+ the mainline. Nothing else changes for existing installs; a `0.7.x` range simply does not
35
+ match `1.x`, so the switch is explicit.
36
+ - **No harness-side changes on this line.** DSH 0.1.0/0.1.1 has no model-menu child slot, so
37
+ the quick control stays in the composer tool row it was always registered into.
38
+
11
39
  ### Changed — compat line narrowed to DSH < 0.1.2-alpha.1 — 0.7.1-beta.3
12
40
 
13
41
  - **`engines.dsh` gained an upper bound**: `>=0.1.0-rc.8` → `>=0.1.0-rc.8 <0.1.2-alpha.1`.
package/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-thinking-levels",
3
- "version": "0.7.1-beta.2",
3
+ "version": "1.0.0-beta.1",
4
4
  "main": "./lib/index.js",
5
5
  "description": "thinking-level (reasoning_effort) control — auto-adjust per tool round, with optional manual lock and per-tool timing telemetry.",
6
6
  "engines": {