dsh-thinking-levels 4.2.0-beta.26 → 4.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/CHANGELOG.ja.md +28 -0
- package/CHANGELOG.ko.md +28 -0
- package/CHANGELOG.md +50 -1
- package/dsh.plugin.json +1 -1
- package/lib/client.js +6 -24
- package/lib/client.js.map +1 -1
- package/lib/index.js +12 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -313,7 +313,18 @@ export function apply(ctx, config = DEFAULT_CONFIG) {
|
|
|
313
313
|
let source = () => config;
|
|
314
314
|
installLegacySection(ctx, config, { setSource: (next) => { source = next; } });
|
|
315
315
|
ctx.inject?.(['sessionProjections'], (scope) => {
|
|
316
|
-
|
|
316
|
+
const def = buildBillingDefinition();
|
|
317
|
+
// 0.1.0-rc.8 是唯一的旧平面契约 registry(snapshot 走 def.schema.parse(def.view(state)),
|
|
318
|
+
// 0.1.1+ 全线是 stateSchema/wire 新契约)。旧 registry 对缺 schema 的单元直接
|
|
319
|
+
// 「Cannot read properties of undefined (reading 'parse')」——一颗单元毒化全部
|
|
320
|
+
// 冷会话历史加载(2026-10-08 五格实证)。镜像 wire 形状为平面键,两代 registry
|
|
321
|
+
// 各取所需;新契约线多出的两个键无人消费,行为不变。
|
|
322
|
+
const wire = def.wire;
|
|
323
|
+
if (wire && def.schema === undefined) {
|
|
324
|
+
def.schema = wire.viewSchema;
|
|
325
|
+
def.view = wire.view;
|
|
326
|
+
}
|
|
327
|
+
scope.sessionProjections?.register(def);
|
|
317
328
|
});
|
|
318
329
|
const current = () => resolveLiveConfig(source());
|
|
319
330
|
ctx.on('loader/volatile-update', () => {
|