dsh-thinking-levels 4.1.0 → 4.2.0-beta.29
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.ja.md +35 -0
- package/CHANGELOG.ko.md +35 -0
- package/CHANGELOG.md +56 -1
- package/dsh.plugin.json +16 -16
- package/lib/billing-projection.d.ts +578 -0
- package/lib/billing-projection.js +393 -0
- package/lib/client.js +1457 -359
- package/lib/client.js.map +1 -1
- package/lib/index.d.ts +62 -0
- package/lib/index.js +178 -38
- package/lib/settings-read.d.ts +53 -0
- package/lib/settings-read.js +36 -0
- package/lib/takeover-sync.d.ts +37 -11
- package/lib/takeover-sync.js +41 -11
- package/package.json +134 -132
package/CHANGELOG.ja.md
CHANGED
|
@@ -11,6 +11,41 @@
|
|
|
11
11
|
- [Список изменений на русском](./CHANGELOG.ru.md)
|
|
12
12
|
- [Changelog en español](./CHANGELOG.es.md)
|
|
13
13
|
|
|
14
|
+
## [4.2.0-beta.28] — 2026-10-08
|
|
15
|
+
|
|
16
|
+
### 削除
|
|
17
|
+
|
|
18
|
+
## [4.2.0-beta.27] — 2026-10-08
|
|
19
|
+
|
|
20
|
+
### 修正
|
|
21
|
+
|
|
22
|
+
- **ファミリータブ列がコンテナ幅で折り返される**ように:tablist の
|
|
23
|
+
`flexWrap: 'nowrap'` + `overflowX: 'auto'`(063d9fd の単一行ストリップ設計)を
|
|
24
|
+
`wrap` に変更し、ボタンから `flex: 0 0 auto` を除去。contributor タブが 7+ に
|
|
25
|
+
増えても横スクロールバーではなく次の行に流れます(≤0.1.7 全世代)。
|
|
26
|
+
|
|
27
|
+
## [4.2.0-beta.26] — 2026-10-08
|
|
28
|
+
|
|
29
|
+
### 追加 — クロスバージョン・ファミリーセクション(beta.18 → beta.26)
|
|
30
|
+
|
|
31
|
+
- **サーバー側レガシー設定セクション(`installLegacySection`)。** ファミリー
|
|
32
|
+
セクション(起子插件设置)は `thinking-levels` 名前空間をサーバー側で登録する
|
|
33
|
+
ようになり、3 世代の生成形態(モジュールレベル `installSettingsSection`、
|
|
34
|
+
インスタンス `installSection`、rc.1+ の loader-volatile)を横断してホスト
|
|
35
|
+
≤0.1.7 で実データ付きで描画されます。非 volatile の素の `LegacyConfig` スキーマ
|
|
36
|
+
と、揺らぎを除去した素のベースを使用(volatile ノードもライブ ref もレガシー
|
|
37
|
+
register は拒否 — beta.18 → beta.22 で三重に積み重なったバグを修正)。
|
|
38
|
+
- **ファミリーセクション選挙の強化(beta.26)。** `settings.section` ファクトリは、
|
|
39
|
+
`dsh-family` エントリーが既に着席済みなら(ホストネイティブ面や競合)退避します:
|
|
40
|
+
登録順序によらず所有者はちょうど 1 つ。dsh-session-guard 4.1.11 の遅延譲位選挙と
|
|
41
|
+
対応 — ≤0.1.7 シェルは同 ID の各セクションに固有のナビ行を与えるため、二重登録=
|
|
42
|
+
二重の起子插件设置行でした。
|
|
43
|
+
- **UI 修正(beta.23 → beta.25)。** ファミリータブ帯は 1 行に収まるよう横スクロール化
|
|
44
|
+
(8 枚の寄与タブが最後の 1 枚を第二行に孤立させない);設定コントロールはシェルの
|
|
45
|
+
ダークテーマに追従(白のハードコードを半透明面に、`colorScheme` は body 輝度の
|
|
46
|
+
ワンショット計測から);children 宣言は競合時に子なしで着地;ライフサイクルの
|
|
47
|
+
デバッグログは本番に保持。
|
|
48
|
+
|
|
14
49
|
## [Unreleased]
|
|
15
50
|
|
|
16
51
|
### 追加 — 思考レベルスライダー(鲸魚娘ランナーつまみ) — 4.1.0
|
package/CHANGELOG.ko.md
CHANGED
|
@@ -11,6 +11,41 @@
|
|
|
11
11
|
- [Список изменений на русском](./CHANGELOG.ru.md)
|
|
12
12
|
- [Changelog en español](./CHANGELOG.es.md)
|
|
13
13
|
|
|
14
|
+
## [4.2.0-beta.28] — 2026-10-08
|
|
15
|
+
|
|
16
|
+
### 제거
|
|
17
|
+
|
|
18
|
+
## [4.2.0-beta.27] — 2026-10-08
|
|
19
|
+
|
|
20
|
+
### 수정
|
|
21
|
+
|
|
22
|
+
- **패밀리 탭 행이 컨테이너 폭에서 줄바꿈**: tablist의 `flexWrap: 'nowrap'` +
|
|
23
|
+
`overflowX: 'auto'`(063d9fd의 단일 행 스트립 설계)를 `wrap`으로 바꾸고 버튼에서
|
|
24
|
+
`flex: 0 0 auto` 제거. contributor 탭이 7개 이상이어도 가로 스크롤바 대신 다음
|
|
25
|
+
행으로 흐릅니다(≤0.1.7 전 세대).
|
|
26
|
+
|
|
27
|
+
## [4.2.0-beta.26] — 2026-10-08
|
|
28
|
+
|
|
29
|
+
### 추가 — 크로스 버전 패밀리 섹션 (beta.18 → beta.26)
|
|
30
|
+
|
|
31
|
+
- **서버 측 레거시 설정 섹션(`installLegacySection`).** 패밀리 섹션(起子插件设置)은
|
|
32
|
+
이제 `thinking-levels` 네임스페이스를 서버 측에 등록하여, 세 가지 세대 형태
|
|
33
|
+
(모듈 수준 `installSettingsSection`, 인스턴스 `installSection`, rc.1+ 의
|
|
34
|
+
loader-volatile)를 아우르며 호스트 ≤0.1.7 에서 실제 데이터로 렌더링됩니다.
|
|
35
|
+
비휘발성 순수 `LegacyConfig` 스키마와 평탄화된 플레인 베이스를 사용(volatile
|
|
36
|
+
노드도 라이브 ref 도 레거시 register 는 거부 — beta.18 → beta.22 에 걸쳐 세 겹으로
|
|
37
|
+
쌓인 버그 수정).
|
|
38
|
+
- **패밀리 섹션 선출 강화 (beta.26).** `settings.section` 팩토리는 `dsh-family`
|
|
39
|
+
엔트리가 이미 착석해 있으면(호스트 네이티브 면이나 경쟁자) 물러납니다: 등록
|
|
40
|
+
순서와 무관하게 소유자는 정확히 하나. dsh-session-guard 4.1.11 의 지연 양보
|
|
41
|
+
선출과 짝 — ≤0.1.7 셸은 동일 id 의 각 섹션에 고유한 내비 행을 부여하므로,
|
|
42
|
+
이중 등록 = 이중의 起子插件设置 행이었습니다.
|
|
43
|
+
- **UI 수정 (beta.23 → beta.25).** 패밀리 탭 띠는 한 줄에 머무릅니다(가로
|
|
44
|
+
스크롤; 8 개의 기여 탭이 마지막 하나를 두 번째 줄에 고아로 남기지 않음);
|
|
45
|
+
설정 컨트롤은 셸의 다크 테마를 따름(하드코딩된 흰색 대신 반투명 면,
|
|
46
|
+
`colorScheme` 은 body 밝기 원샷 측정에서); children 선언은 충돌을 허용하며
|
|
47
|
+
없이 착지; 라이프사이클 디버그 로그는 프로덕션에 유지.
|
|
48
|
+
|
|
14
49
|
## [Unreleased]
|
|
15
50
|
|
|
16
51
|
### 추가 — 사고 레벨 슬라이더(고래소녀 러너 썸) — 4.1.0
|
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,46 @@ All notable changes to `dsh-thinking-levels` are documented here.
|
|
|
11
11
|
- [Список изменений на русском](./CHANGELOG.ru.md)
|
|
12
12
|
- [Changelog en español](./CHANGELOG.es.md)
|
|
13
13
|
|
|
14
|
+
## [4.2.0-beta.28] — 2026-10-08
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
|
|
18
|
+
## [4.2.0-beta.27] — 2026-10-08
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **Family tab strip wraps at container width** instead of overflowing into a
|
|
23
|
+
horizontal scrollbar: the tablist drops `flexWrap: 'nowrap'` + `overflowX:
|
|
24
|
+
'auto'` (the single-row-strip design from 063d9fd) for plain `wrap`, and the
|
|
25
|
+
buttons lose their `flex: 0 0 auto`. With seven+ contributor tabs (thinking
|
|
26
|
+
levels, session guard, search index, CDP, MCP registry, steward, input
|
|
27
|
+
traffic — perm-gate and context-compression joining in compat releases) the
|
|
28
|
+
strip now flows onto following rows on every host generation ≤0.1.7.
|
|
29
|
+
|
|
30
|
+
## [4.2.0-beta.26] — 2026-10-08
|
|
31
|
+
|
|
32
|
+
### Added — cross-version family section (beta.18 → beta.26)
|
|
33
|
+
|
|
34
|
+
- **Server-side legacy settings section (`installLegacySection`).** The family
|
|
35
|
+
section (起子插件设置) now registers the `thinking-levels` namespace server-side
|
|
36
|
+
so it renders with real data on hosts ≤0.1.7, across the three generation
|
|
37
|
+
shapes (module-level `installSettingsSection`, instance `installSection`,
|
|
38
|
+
loader-volatile on rc.1+), with a plain non-volatile `LegacyConfig` schema and
|
|
39
|
+
a flattened plain base (volatile nodes and live refs are both rejected by the
|
|
40
|
+
legacy register — three stacked bugs fixed across beta.18 → beta.22).
|
|
41
|
+
- **Family section election hardening (beta.26).** The `settings.section`
|
|
42
|
+
factory stands down when a `dsh-family` entry is already seated (host-native
|
|
43
|
+
surface or a rival): exactly one owner regardless of registration order.
|
|
44
|
+
Pairs with dsh-session-guard 4.1.11's deferred yield-election — ≤0.1.7 shells
|
|
45
|
+
give every same-id section its own nav row, so double registration meant a
|
|
46
|
+
double 起子插件设置 row.
|
|
47
|
+
- **UI fixes (beta.23 → beta.25).** The family tab strip stays on a single row
|
|
48
|
+
(horizontal scroll; 8 contributor tabs no longer orphan the last one onto a
|
|
49
|
+
second line); settings controls follow the shell dark theme (semi-transparent
|
|
50
|
+
surface instead of hardcoded white, `colorScheme` from a one-shot body
|
|
51
|
+
luminance probe); the children declaration tolerates a conflict by landing
|
|
52
|
+
without it; life-cycle debug logs kept in production.
|
|
53
|
+
|
|
14
54
|
## [Unreleased]
|
|
15
55
|
|
|
16
56
|
### Added — effort slider (whale-girl runner thumb) — 4.1.0
|
|
@@ -303,4 +343,19 @@ All notable changes to `dsh-thinking-levels` are documented here.
|
|
|
303
343
|
|
|
304
344
|
### Added
|
|
305
345
|
|
|
306
|
-
- Initial release: `agent/request` injection of a fixed reasoning effort.
|
|
346
|
+
- Initial release: `agent/request` injection of a fixed reasoning effort.## 4.2.0-beta.29 - 2026-10-08
|
|
347
|
+
|
|
348
|
+
### Fixed
|
|
349
|
+
|
|
350
|
+
- **0.1.0-rc.8 cold-session history killer**: the host's `sessionProjections`
|
|
351
|
+
registry on 0.1.0-rc.8 is the ONLY flat-contract line (`def.schema.parse(
|
|
352
|
+
def.view(state))`); every newer line (0.1.1+) consumes the `stateSchema`/
|
|
353
|
+
`wire` shape the billing unit registers. On 0.1.0 the unit arrived with
|
|
354
|
+
`schema === undefined`, so EVERY cold-session history read threw
|
|
355
|
+
"Cannot read properties of undefined (reading 'parse')" — one schema-less
|
|
356
|
+
unit poisoned the whole workspace's history (2026-10-08 five-cell
|
|
357
|
+
reproduction). The registration now mirrors `wire.viewSchema`/`wire.view`
|
|
358
|
+
into the flat `schema`/`view` keys; both registry generations take what
|
|
359
|
+
they expect and newer lines are unaffected.
|
|
360
|
+
|
|
361
|
+
|
package/dsh.plugin.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "dsh-external/dsh-thinking-levels",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"main": "./lib/index.js",
|
|
5
|
-
"description": "thinking-level (reasoning_effort) control — auto-adjust per tool round, with optional manual lock and per-tool timing telemetry.",
|
|
6
|
-
"engines": {
|
|
7
|
-
"dsh": "
|
|
8
|
-
},
|
|
9
|
-
"contributes": {
|
|
10
|
-
"tools": [],
|
|
11
|
-
"skills": []
|
|
12
|
-
},
|
|
13
|
-
"client": {
|
|
14
|
-
"main": "./lib/client.js"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"id": "dsh-external/dsh-thinking-levels",
|
|
3
|
+
"version": "4.2.0-beta.28",
|
|
4
|
+
"main": "./lib/index.js",
|
|
5
|
+
"description": "thinking-level (reasoning_effort) control — auto-adjust per tool round, with optional manual lock and per-tool timing telemetry.",
|
|
6
|
+
"engines": {
|
|
7
|
+
"dsh": "0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2"
|
|
8
|
+
},
|
|
9
|
+
"contributes": {
|
|
10
|
+
"tools": [],
|
|
11
|
+
"skills": []
|
|
12
|
+
},
|
|
13
|
+
"client": {
|
|
14
|
+
"main": "./lib/client.js"
|
|
15
|
+
}
|
|
16
|
+
}
|