dsh-thinking-levels 3.1.1 → 3.2.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/INSTALL.ja.md +2 -2
- package/INSTALL.ko.md +2 -2
- package/INSTALL.md +2 -2
- package/INSTALL.zh.md +2 -2
- package/README.ja.md +2 -2
- package/README.ko.md +2 -2
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/lib/client.js +1202 -6
- package/lib/client.js.map +1 -1
- package/package.json +115 -114
package/INSTALL.ja.md
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
- `dsh-thinking-levels`:npm パッケージ名とランタイムプラグイン ID;
|
|
21
21
|
- `thinking-levels`:Cordis 構成エントリと設定 Slot ID。
|
|
22
22
|
|
|
23
|
-
> 旧い DSH は npm の dist-tag で対応ラインをインストールします:`dsh plugin add dsh-thinking-levels@dsh-0.1.5`(DSH 0.1.5)、`...@dsh-0.1.2`(DSH 0.1.2)、`...@compat`(DSH 0.1.0–0.1.1)。≤ 0.6.0 の旧 0.x 版は dsh peer 宣言を持たないためインストールしないでください。
|
|
24
|
-
|
|
23
|
+
> 旧い DSH は npm の dist-tag で対応ラインをインストールします:`dsh plugin add dsh-thinking-levels@dsh-0.1.5`(DSH 0.1.5)、`...@dsh-0.1.2`(DSH 0.1.2)、`...@compat`(DSH 0.1.0–0.1.1)。≤ 0.6.0 の旧 0.x 版は dsh peer 宣言を持たないためインストールしないでください。
|
|
24
|
+
|
|
25
25
|
## 0. 前提と profile の確認
|
|
26
26
|
|
|
27
27
|
```bash
|
package/INSTALL.ko.md
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
- `dsh-thinking-levels`: npm 패키지 이름이자 런타임 플러그인 ID;
|
|
21
21
|
- `thinking-levels`: Cordis 구성 항목이자 설정 Slot ID.
|
|
22
22
|
|
|
23
|
-
> 구버전 DSH는 npm dist-tag로 해당 라인을 설치하세요: `dsh plugin add dsh-thinking-levels@dsh-0.1.5`(DSH 0.1.5), `...@dsh-0.1.2`(DSH 0.1.2), `...@compat`(DSH 0.1.0–0.1.1). ≤ 0.6.0의 구 0.x 버전은 dsh peer 선언이 없으므로 설치하지 마세요.
|
|
24
|
-
|
|
23
|
+
> 구버전 DSH는 npm dist-tag로 해당 라인을 설치하세요: `dsh plugin add dsh-thinking-levels@dsh-0.1.5`(DSH 0.1.5), `...@dsh-0.1.2`(DSH 0.1.2), `...@compat`(DSH 0.1.0–0.1.1). ≤ 0.6.0의 구 0.x 버전은 dsh peer 선언이 없으므로 설치하지 마세요.
|
|
24
|
+
|
|
25
25
|
## 0. 사전 확인과 profile 확인
|
|
26
26
|
|
|
27
27
|
```bash
|
package/INSTALL.md
CHANGED
|
@@ -31,8 +31,8 @@ The placeholders in this guide are:
|
|
|
31
31
|
>
|
|
32
32
|
> The boundary is `0.1.7-rc.1`, where DSH removed the imperative settings registration (`settings.register` / `installSettingsSection`) and the client `settingsScope` service. This release targets the declarative 0.1.7 settings surface (`.volatile()` schema fields + `configForms`).
|
|
33
33
|
|
|
34
|
-
> Older DSH lines install from npm via their dist-tag: `dsh plugin add dsh-thinking-levels@dsh-0.1.5` (DSH 0.1.5), `...@dsh-0.1.2` (DSH 0.1.2), `...@compat` (DSH 0.1.0–0.1.1). Never install the bare `latest`-era `0.x` versions (≤ 0.6.0) — they carry no dsh peer declarations.
|
|
35
|
-
|
|
34
|
+
> Older DSH lines install from npm via their dist-tag: `dsh plugin add dsh-thinking-levels@dsh-0.1.5` (DSH 0.1.5), `...@dsh-0.1.2` (DSH 0.1.2), `...@compat` (DSH 0.1.0–0.1.1). Never install the bare `latest`-era `0.x` versions (≤ 0.6.0) — they carry no dsh peer declarations.
|
|
35
|
+
|
|
36
36
|
## 0. Prerequisites and profile discovery
|
|
37
37
|
|
|
38
38
|
```bash
|
package/INSTALL.zh.md
CHANGED
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
>
|
|
32
32
|
> 分界点是 `0.1.7-rc.1`:该版本删除了命令式设置注册(`settings.register` / `installSettingsSection`)与客户端 `settingsScope` 服务。本版本面向 0.1.7 声明式设置表面(`.volatile()` schema 字段 + `configForms`)。
|
|
33
33
|
|
|
34
|
-
> 旧版 DSH 通过 npm dist-tag 安装对应线:`dsh plugin add dsh-thinking-levels@dsh-0.1.5`(DSH 0.1.5)、`...@dsh-0.1.2`(DSH 0.1.2)、`...@compat`(DSH 0.1.0–0.1.1)。不要安装 ≤ 0.6.0 的旧 0.x 版本——它们没有声明任何 dsh peer 依赖。
|
|
35
|
-
|
|
34
|
+
> 旧版 DSH 通过 npm dist-tag 安装对应线:`dsh plugin add dsh-thinking-levels@dsh-0.1.5`(DSH 0.1.5)、`...@dsh-0.1.2`(DSH 0.1.2)、`...@compat`(DSH 0.1.0–0.1.1)。不要安装 ≤ 0.6.0 的旧 0.x 版本——它们没有声明任何 dsh peer 依赖。
|
|
35
|
+
|
|
36
36
|
## 0. 前置检查与 profile 确认
|
|
37
37
|
|
|
38
38
|
```bash
|
package/README.ja.md
CHANGED
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
> **互換性について:** `0.6.0` には日本語(`ja`)と韓国語(`ko`)の辞書と選択項目が含まれていますが、現在の公式 DSH は `LocaleRuntime` 経由で `zh` と `en` のみを提供しています。純正 DSH で `ja` または `ko` を選択すると `locale "<id>" is not registered` で失敗します。公式 DSH が対応 locale ID を追加するまで利用できません。上級ユーザーは DSH フォークを保守し、`packages/client/locale/src/locale-settings.ts` の `LOCALE_IDS` と `packages/client/locale/src/client/index.ts` の `LOCALES` ラベルを更新し、コア辞書とテストを追加して再ビルド・実行してください。このプラグインだけでは DSH のグローバル locale 一覧を拡張できません。
|
|
20
20
|
|
|
21
21
|
> **バージョン互換:** 本リリース(3.1.1)は **DSH ≥ 0.1.7-rc.1 かつ < 0.1.8** のみに対応。DSH 0.1.7 は命令的な設定登録(`settings.register` / `installSettingsSection`)とクライアントの `settingsScope` サービスおよびプラグイン別カードスロットを削除しました——旧ライン(3.0.x 以前)が依存する表面は存在しません。0.1.2–0.1.6 ホストではプラグイン 3.0.2 を使用してください。3.1.x は 0.1.7 の宣言的表面を対象とします:実行時に変更できる設定フィールドは schemastery スキーマで `.volatile()` 付きとし、設定フォームはホストがスキーマから自動生成(登録呼び出しもクライアント設定カードも不要)、プラグインは `loader/volatile-update` に従ってリクエストごとに最新値を読みます。
|
|
22
|
-
|
|
23
|
-
> **バージョン範囲ポリシー:** 各互換ラインはホストを自ラインのセグメントに厳密に固定します——`>=0.1.x-rc.1 <0.1.(x+1)-0`(3.1.x:`>=0.1.7-rc.1 <0.1.8-0`;3.0.x:`>=0.1.5-alpha.1 <0.1.6-0`;2.0.x:`>=0.1.2-alpha.1 <0.1.3-0`;1.0.0-beta:`>=0.1.0-rc.8 <0.1.2-alpha.1`)。どのラインも開放的な `<0.2.0-0` 上限を宣言しません。互換性レゾルバが未対応の新ホストセグメントにプラグインラインを誤マッチすることはありません。0.4.0–0.6.0 は dsh peer 宣言を一切持たないためインストールしないでください。
|
|
22
|
+
|
|
23
|
+
> **バージョン範囲ポリシー:** 各互換ラインはホストを自ラインのセグメントに厳密に固定します——`>=0.1.x-rc.1 <0.1.(x+1)-0`(3.1.x:`>=0.1.7-rc.1 <0.1.8-0`;3.0.x:`>=0.1.5-alpha.1 <0.1.6-0`;2.0.x:`>=0.1.2-alpha.1 <0.1.3-0`;1.0.0-beta:`>=0.1.0-rc.8 <0.1.2-alpha.1`)。どのラインも開放的な `<0.2.0-0` 上限を宣言しません。互換性レゾルバが未対応の新ホストセグメントにプラグインラインを誤マッチすることはありません。0.4.0–0.6.0 は dsh peer 宣言を一切持たないためインストールしないでください。
|
|
24
24
|
|
|
25
25
|
マルチステップのツールチェーンでは、モデルは**ツール呼び出しのたびに**再思考します——その思考がウォールクロック時間の大半を占めます(50 ステップのエージェントタスクはツール間に数分の推論を費やし得ます)。`dsh-thinking-levels` は、dsh が毎ステップ再解決する `agent/request` waterfall(`prepend` で最外層に登録し、セッションのモデル選択アセンブリに上書きされないようにする)に接続し、次のモデルリクエストに思考レベルを注入します。
|
|
26
26
|
|
package/README.ko.md
CHANGED
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
> **호환성 참고:** `0.6.0`에는 일본어(`ja`)와 한국어(`ko`) 사전 및 선택 항목이 포함되어 있지만, 현재 공식 DSH는 `LocaleRuntime`을 통해 `zh`와 `en`만 제공합니다. 순정 DSH에서 `ja` 또는 `ko`를 선택하면 `locale "<id>" is not registered` 오류가 발생합니다. 공식 DSH가 해당 locale ID를 추가할 때까지 사용할 수 없습니다. 고급 사용자는 DSH 포크를 유지하면서 `packages/client/locale/src/locale-settings.ts`의 `LOCALE_IDS`와 `packages/client/locale/src/client/index.ts`의 `LOCALES` 라벨을 업데이트하고 핵심 사전과 테스트를 추가한 뒤 다시 빌드하여 실행할 수 있습니다. 이 플러그인만으로는 DSH의 전역 locale 목록을 확장할 수 없습니다.
|
|
20
20
|
|
|
21
21
|
> **버전 호환:** 본 릴리스(3.1.1)는 **DSH ≥ 0.1.7-rc.1이며 < 0.1.8**만 지원. DSH 0.1.7은 명령형 설정 등록(`settings.register` / `installSettingsSection`)과 클라이언트 `settingsScope` 서비스 및 플러그인별 카드 슬롯을 제거했습니다——구 라인(3.0.x 이하)이 의존하던 표면은 더 이상 존재하지 않습니다. 0.1.2–0.1.6 호스트에서는 플러그인 3.0.2을 사용하세요. 3.1.x은 0.1.7 선언적 표면을 대상으로 합니다: 런타임 조정 가능한 설정 필드는 schemastery 스키마에 `.volatile()`로 표시되고, 설정 폼은 호스트가 스키마에서 자동 생성(등록 호출도 클라이언트 설정 카드도 없음)하며, 플러그인은 `loader/volatile-update`에 따라 요청마다 최신 값을 읽습니다.
|
|
22
|
-
|
|
23
|
-
> **버전 범위 정책:** 각 호환 라인은 호스트를 자기 라인의 세그먼트에 엄격히 고정합니다 — `>=0.1.x-rc.1 <0.1.(x+1)-0`(3.1.x: `>=0.1.7-rc.1 <0.1.8-0`; 3.0.x: `>=0.1.5-alpha.1 <0.1.6-0`; 2.0.x: `>=0.1.2-alpha.1 <0.1.3-0`; 1.0.0-beta: `>=0.1.0-rc.8 <0.1.2-alpha.1`). 어떤 라인도 열린 `<0.2.0-0` 상한을 선언하지 않으므로, 호환성 리졸버가 플러그인 라인을 지원하지 않는 더 새 호스트 세그먼트에 잘못 매칭할 일이 없습니다. 0.4.0–0.6.0은 dsh peer 선언이 전혀 없으므로 설치하지 마세요.
|
|
22
|
+
|
|
23
|
+
> **버전 범위 정책:** 각 호환 라인은 호스트를 자기 라인의 세그먼트에 엄격히 고정합니다 — `>=0.1.x-rc.1 <0.1.(x+1)-0`(3.1.x: `>=0.1.7-rc.1 <0.1.8-0`; 3.0.x: `>=0.1.5-alpha.1 <0.1.6-0`; 2.0.x: `>=0.1.2-alpha.1 <0.1.3-0`; 1.0.0-beta: `>=0.1.0-rc.8 <0.1.2-alpha.1`). 어떤 라인도 열린 `<0.2.0-0` 상한을 선언하지 않으므로, 호환성 리졸버가 플러그인 라인을 지원하지 않는 더 새 호스트 세그먼트에 잘못 매칭할 일이 없습니다. 0.4.0–0.6.0은 dsh peer 선언이 전혀 없으므로 설치하지 마세요.
|
|
24
24
|
|
|
25
25
|
멀티스텝 도구 체인에서 모델은 **모든 도구 호출 전에** 다시 생각합니다——그 사고가 벽시계 시간의 대부분을 차지합니다(50스텝 에이전트 작업은 도구 사이에 수 분의 추론을 쓸 수 있습니다). `dsh-thinking-levels`는 dsh가 매 스텝 다시 해석하는 `agent/request` waterfall(`prepend`로 최외곽에 등록하여 세션 모델 선택 어셈블리가 덮어쓰지 못하게 함)에 연결되어 다음 모델 요청에 사고 수준을 주입합니다.
|
|
26
26
|
|
package/README.md
CHANGED
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
> | < 0.1.7-rc.1 | ⚠️ Not supported | DSH 0.1.7 removed the imperative settings registration and the per-plugin card seat the earlier lines (3.0.x and below) relied on — stay on plugin 3.0.2 for 0.1.2–0.1.6 hosts. |
|
|
27
27
|
>
|
|
28
28
|
> The boundary is `0.1.7-rc.1`, where DSH removed the imperative settings registration (`settings.register` / `installSettingsSection`) and the client `settingsScope` service. The 3.1.x line targets the 0.1.7 declarative surface: the runtime-adjustable config fields are marked `.volatile()` in the schemastery schema, the host generates the settings form from that schema alone (no registration call, no client settings card), and the plugin reads the live values per request, driven by `loader/volatile-update`.
|
|
29
|
-
|
|
30
|
-
> **Version-range policy:** every compatibility line pins its host segment tightly — `>=0.1.x-rc.1 <0.1.(x+1)-0` (3.1.x: `>=0.1.7-rc.1 <0.1.8-0`; 3.0.x: `>=0.1.5-alpha.1 <0.1.6-0`; 2.0.x: `>=0.1.2-alpha.1 <0.1.3-0`; 1.0.0-beta: `>=0.1.0-rc.8 <0.1.2-alpha.1`). No line ever declares an open `<0.2.0-0` upper bound, so a compatibility resolver can never match a plugin line against a newer host segment it was not built for. 0.4.0–0.6.0 carried no dsh peer declarations at all and are effectively compatibility-untyped — do not install them.
|
|
29
|
+
|
|
30
|
+
> **Version-range policy:** every compatibility line pins its host segment tightly — `>=0.1.x-rc.1 <0.1.(x+1)-0` (3.1.x: `>=0.1.7-rc.1 <0.1.8-0`; 3.0.x: `>=0.1.5-alpha.1 <0.1.6-0`; 2.0.x: `>=0.1.2-alpha.1 <0.1.3-0`; 1.0.0-beta: `>=0.1.0-rc.8 <0.1.2-alpha.1`). No line ever declares an open `<0.2.0-0` upper bound, so a compatibility resolver can never match a plugin line against a newer host segment it was not built for. 0.4.0–0.6.0 carried no dsh peer declarations at all and are effectively compatibility-untyped — do not install them.
|
|
31
31
|
|
|
32
32
|
> **Compatibility note:** Version `0.6.0` includes Japanese (`ja`) and Korean (`ko`) dictionaries and selector entries, but the current official DSH releases expose only `zh` and `en` through `LocaleRuntime`. On stock DSH, selecting `ja` or `ko` fails with `locale "<id>" is not registered`. These languages will work after official DSH adds the locale IDs. Advanced users can use a DSH fork that updates `packages/client/locale/src/locale-settings.ts` (`LOCALE_IDS`) and `packages/client/locale/src/client/index.ts` (`LOCALES` labels), together with the corresponding core dictionaries and tests, then rebuild and run the forked DSH. Changing this plugin alone cannot extend DSH's global locale list.
|
|
33
33
|
|
package/README.zh.md
CHANGED
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
> **兼容性说明:** `0.6.0` 已包含日本語(`ja`)和한국어(`ko`)字典及选择项,但当前官方 DSH 只通过 `LocaleRuntime` 提供 `zh` 和 `en`。在原版 DSH 中选择 `ja` 或 `ko` 会失败,并提示 `locale "<id>" is not registered`。需要等待官方 DSH 增加对应 locale ID 后才能正常使用。高级用户可以维护 DSH fork,在 `packages/client/locale/src/locale-settings.ts` 更新 `LOCALE_IDS`,在 `packages/client/locale/src/client/index.ts` 更新 `LOCALES` 标签,并补齐核心字典和测试,然后重新构建并运行 fork 版本。仅修改本插件无法扩展 DSH 的全局 locale 列表。
|
|
20
20
|
|
|
21
21
|
> **版本兼容:** 本版本(3.1.1)仅支持 **DSH ≥ 0.1.7-rc.1 且 < 0.1.8**。DSH 0.1.7 移除了命令式设置注册(`settings.register` / `installSettingsSection`)与客户端 `settingsScope` 服务及每插件卡片槽位,旧版本线(3.0.x 及更早)依赖的表面已不存在——0.1.2–0.1.6 宿主请继续使用插件 3.0.2。3.1.x 面向 0.1.7 声明式表面:可运行时调整的配置字段在 schemastery schema 中标 `.volatile()`,设置表单由宿主按 schema 自动生成(无注册调用、无客户端设置卡片),插件按请求读取实时值(由 `loader/volatile-update` 驱动)。
|
|
22
|
-
|
|
23
|
-
> **版本范围约定:** 每条兼容线都把宿主钉在本线自己的区段内——`>=0.1.x-rc.1 <0.1.(x+1)-0`(3.1.x:`>=0.1.7-rc.1 <0.1.8-0`;3.0.x:`>=0.1.5-alpha.1 <0.1.6-0`;2.0.x:`>=0.1.2-alpha.1 <0.1.3-0`;1.0.0-beta:`>=0.1.0-rc.8 <0.1.2-alpha.1`)。任何线都不再声明开放的 `<0.2.0-0` 上限,兼容性解析器因此绝不会把插件线匹配到它并未适配的更新宿主区段。0.4.0–0.6.0 完全没有声明 dsh peer 依赖,属于无兼容性标注版本——不要安装。
|
|
22
|
+
|
|
23
|
+
> **版本范围约定:** 每条兼容线都把宿主钉在本线自己的区段内——`>=0.1.x-rc.1 <0.1.(x+1)-0`(3.1.x:`>=0.1.7-rc.1 <0.1.8-0`;3.0.x:`>=0.1.5-alpha.1 <0.1.6-0`;2.0.x:`>=0.1.2-alpha.1 <0.1.3-0`;1.0.0-beta:`>=0.1.0-rc.8 <0.1.2-alpha.1`)。任何线都不再声明开放的 `<0.2.0-0` 上限,兼容性解析器因此绝不会把插件线匹配到它并未适配的更新宿主区段。0.4.0–0.6.0 完全没有声明 dsh peer 依赖,属于无兼容性标注版本——不要安装。
|
|
24
24
|
|
|
25
25
|
在多步工具链任务中,模型在**每一次工具调用前**都会重新思考——而这个思考过程占据了绝大部分墙钟时间(一个 50 步的 agent 任务可能在工具之间花费数分钟思考)。`dsh-thinking-levels` 接入 dsh 每一步都会重新解析的 `agent/request` waterfall(以 `prepend` 置于最外层,避免被会话模型选择覆盖),向下一次模型请求注入思考档位。
|
|
26
26
|
|