@magic6/dsh-compaction-policy-engine 0.5.3 → 0.5.4

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
@@ -4,6 +4,14 @@ All notable changes to this project are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
5
5
  [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## [0.5.4] - 2026-11-16
8
+
9
+ ### Fixed
10
+
11
+ - Bundle entry, engine subpath, and client module identities now use the scoped
12
+ npm package name, so the installed package resolves at runtime.
13
+ - Example bundle: engine entry uses the scoped package name.
14
+
7
15
  ## [0.5.3] - 2026-11-16
8
16
 
9
17
  ### Changed
package/README.md CHANGED
@@ -345,7 +345,7 @@ npm test
345
345
  - **Renamed from `dsh-compaction-control` in 0.5.0.** Entry ids are unchanged:
346
346
  `compaction-control` (engine), `compaction-control-settings` (companion), and the
347
347
  `compaction-control:` settings namespace. Update the `name:` fields in your profile/preset
348
- to `dsh-compaction-policy-engine` (and `.../engine` for the engine row).
348
+ to `@magic6/dsh-compaction-policy-engine` (and `.../engine` for the engine row).
349
349
  - The engine is still a subclass of the official `BasicCompactionEngine`; no `node_modules`
350
350
  patch is required.
351
351
 
package/README.zh-CN.md CHANGED
@@ -300,7 +300,7 @@ npm test
300
300
  - **0.5.0 从 `dsh-compaction-control` 改名。** entry id 保持不变:
301
301
  `compaction-control`(引擎)、`compaction-control-settings`(companion),以及
302
302
  `compaction-control:` 设置命名空间。把 profile/preset 里的 `name:` 改成
303
- `dsh-compaction-policy-engine`(引擎行加 `/engine`)即可。
303
+ `@magic6/dsh-compaction-policy-engine`(引擎行加 `/engine`)即可。
304
304
  - 仍然是官方 `BasicCompactionEngine` 的子类,不需要改 `node_modules`。
305
305
 
306
306
  ## 许可
package/cordis.patch.yml CHANGED
@@ -49,12 +49,12 @@
49
49
  # `[compact-debug]` lines per step with the same `measured` were the signature.)
50
50
  - insert:
51
51
  - id: compaction-control
52
- name: 'dsh-compaction-policy-engine/engine'
52
+ name: '@magic6/dsh-compaction-policy-engine/engine'
53
53
  disabled: true
54
54
 
55
55
  - insert:
56
56
  - id: compaction-control-settings
57
- name: 'dsh-compaction-policy-engine'
57
+ name: '@magic6/dsh-compaction-policy-engine'
58
58
  config:
59
59
  default:
60
60
  threshold: 0.8
@@ -79,7 +79,7 @@
79
79
  config:
80
80
  # The policy engine replaces the stock compaction-basic in this realm.
81
81
  - id: compaction-control
82
- name: 'dsh-compaction-policy-engine/engine'
82
+ name: '@magic6/dsh-compaction-policy-engine/engine'
83
83
  config:
84
84
  default:
85
85
  threshold: 0.8
package/lib/client.js CHANGED
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  window.__ModuleLoader__.load({
14
- id: 'dsh-compaction-policy-engine',
14
+ id: '@magic6/dsh-compaction-policy-engine',
15
15
  factory: (require) => {
16
16
  var module = { exports: {} };
17
17
  var exports = module.exports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic6/dsh-compaction-policy-engine",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Layered, live-reloading context compaction policy for DeepSeek Harness: provider-level rules, field-by-field inheritance, ratio/token units and a settings panel on top of the official engine.",
5
5
  "type": "module",
6
6
  "main": "lib/companion.js",