magpie-compress-core 0.0.0-stage → 0.5.6

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.
Files changed (135) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/DEBUGGING.md +50 -0
  3. package/LICENSE +23 -0
  4. package/LICENSES/Apache-2.0.txt +55 -0
  5. package/LICENSES/OmniGlyph-MIT.txt +22 -0
  6. package/LICENSES/Spleen-BSD-2-Clause.txt +24 -0
  7. package/NOTICE +40 -0
  8. package/PROVENANCE.json +220 -0
  9. package/README.en.md +226 -0
  10. package/README.md +255 -3
  11. package/adapter.js +197 -0
  12. package/capture-store.js +238 -0
  13. package/catalog.js +453 -0
  14. package/ccr-store-file.js +179 -0
  15. package/compress-core.middleware.js +20 -0
  16. package/engines/CONTRACT.en.md +86 -0
  17. package/engines/CONTRACT.md +77 -0
  18. package/engines/aggressive.js +655 -0
  19. package/engines/caveman-rules.js +856 -0
  20. package/engines/caveman.js +812 -0
  21. package/engines/ccr/index.js +788 -0
  22. package/engines/ccr/index.js.bak +706 -0
  23. package/engines/ccr/index.js.bak.20261029-1351 +706 -0
  24. package/engines/codex-responses.js +377 -0
  25. package/engines/gcf/decode.js +849 -0
  26. package/engines/gcf/encode.js +516 -0
  27. package/engines/gcf/scalar.js +330 -0
  28. package/engines/headroom.js +179 -0
  29. package/engines/index.js +55 -0
  30. package/engines/ionizer.js +282 -0
  31. package/engines/leanctx-structured.js +277 -0
  32. package/engines/lite.js +560 -0
  33. package/engines/llm.js +457 -0
  34. package/engines/omniglyph-font.js +15 -0
  35. package/engines/omniglyph-png.js +128 -0
  36. package/engines/omniglyph.js +82 -0
  37. package/engines/read-lifecycle.js +537 -0
  38. package/engines/relevance/config.js +87 -0
  39. package/engines/relevance/index.js +182 -0
  40. package/engines/relevance/scorer.js +104 -0
  41. package/engines/rtk/builtinFilters.js +260 -0
  42. package/engines/rtk/commandDetector.js +325 -0
  43. package/engines/rtk/deduplicator.js +30 -0
  44. package/engines/rtk/grouper.js +51 -0
  45. package/engines/rtk/index.js +600 -0
  46. package/engines/rtk/lineFilter.js +169 -0
  47. package/engines/rtk/severity.js +42 -0
  48. package/engines/rtk/smartTruncate.js +85 -0
  49. package/engines/rtk/splitCommand.js +96 -0
  50. package/engines/rules/_schema.json +31 -0
  51. package/engines/rules/de/context.json +40 -0
  52. package/engines/rules/de/dedup.json +41 -0
  53. package/engines/rules/de/filler.json +76 -0
  54. package/engines/rules/de/structural.json +32 -0
  55. package/engines/rules/de/ultra.json +108 -0
  56. package/engines/rules/en/context.json +88 -0
  57. package/engines/rules/en/dedup.json +38 -0
  58. package/engines/rules/en/filler.json +129 -0
  59. package/engines/rules/en/structural.json +102 -0
  60. package/engines/rules/en/ultra.json +107 -0
  61. package/engines/rules/es/context.json +91 -0
  62. package/engines/rules/es/dedup.json +42 -0
  63. package/engines/rules/es/filler.json +120 -0
  64. package/engines/rules/es/structural.json +111 -0
  65. package/engines/rules/es/ultra.json +114 -0
  66. package/engines/rules/fr/context.json +40 -0
  67. package/engines/rules/fr/dedup.json +42 -0
  68. package/engines/rules/fr/filler.json +74 -0
  69. package/engines/rules/fr/structural.json +31 -0
  70. package/engines/rules/fr/ultra.json +112 -0
  71. package/engines/rules/hu/context.json +108 -0
  72. package/engines/rules/hu/dedup.json +56 -0
  73. package/engines/rules/hu/filler.json +173 -0
  74. package/engines/rules/hu/structural.json +126 -0
  75. package/engines/rules/hu/ultra.json +130 -0
  76. package/engines/rules/id/context.json +113 -0
  77. package/engines/rules/id/dedup.json +38 -0
  78. package/engines/rules/id/filler.json +138 -0
  79. package/engines/rules/id/structural.json +111 -0
  80. package/engines/rules/id/ultra.json +252 -0
  81. package/engines/rules/it/context.json +76 -0
  82. package/engines/rules/it/dedup.json +41 -0
  83. package/engines/rules/it/filler.json +96 -0
  84. package/engines/rules/it/structural.json +108 -0
  85. package/engines/rules/it/ultra.json +107 -0
  86. package/engines/rules/ja/context.json +38 -0
  87. package/engines/rules/ja/dedup.json +38 -0
  88. package/engines/rules/ja/filler.json +70 -0
  89. package/engines/rules/ja/structural.json +30 -0
  90. package/engines/rules/ja/ultra.json +86 -0
  91. package/engines/rules/pt-BR/context.json +76 -0
  92. package/engines/rules/pt-BR/dedup.json +54 -0
  93. package/engines/rules/pt-BR/filler.json +159 -0
  94. package/engines/rules/pt-BR/structural.json +84 -0
  95. package/engines/rules/pt-BR/ultra.json +192 -0
  96. package/engines/rules/ru/context.json +41 -0
  97. package/engines/rules/ru/dedup.json +32 -0
  98. package/engines/rules/ru/filler.json +94 -0
  99. package/engines/rules/ru/structural.json +111 -0
  100. package/engines/rules/ru/ultra.json +49 -0
  101. package/engines/rules/zh/dedup.json +38 -0
  102. package/engines/rules/zh/filler.json +54 -0
  103. package/engines/rules/zh/ultra.json +55 -0
  104. package/engines/rules-data.js +90 -0
  105. package/engines/session-dedup.js +606 -0
  106. package/engines/session-dedup.js.bak +551 -0
  107. package/engines/session-dedup.js.bak.20261029-task2 +551 -0
  108. package/engines/ultra.js +580 -0
  109. package/harness.js +282 -0
  110. package/hash.js +74 -0
  111. package/lab.js +86 -0
  112. package/llm-backend.js +40 -0
  113. package/lock-file.js +35 -0
  114. package/mcp/ccr-retrieve-server.mjs +177 -0
  115. package/observability.hooks.js +142 -0
  116. package/options-commands.js +259 -0
  117. package/package.json +116 -6
  118. package/page/app.js +1001 -0
  119. package/page/audit.js +209 -0
  120. package/page/engines.js +1113 -0
  121. package/page/i18n.js +336 -0
  122. package/page/icon.svg +7 -0
  123. package/page/index.html +200 -0
  124. package/page/lab-engine.bundle.js +10628 -0
  125. package/page/lab-engine.js +91 -0
  126. package/page/panel.js +1013 -0
  127. package/page/settings.html +202 -0
  128. package/page/style.css +1202 -0
  129. package/page/ui.js +263 -0
  130. package/page/usage.html +20 -0
  131. package/page/view.js +614 -0
  132. package/page-publish.js +36 -0
  133. package/pipeline.js +418 -0
  134. package/stats-writer.js +282 -0
  135. package/telemetry-store.js +139 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,48 @@
1
+ # Changelog
2
+
3
+ ## 0.5.6 — 2026-11-29
4
+
5
+ - **CCR current input**: add `preserveCurrentTurn`, enabled by default. Content after the last assistant message is kept verbatim; with no assistant, all content is preserved. Set it to `false` to restore all-turn folding. Existing global preservation and size thresholds are unchanged. Protected content may fold once it becomes history, with a corresponding prompt-cache prefix change. This does not rewrite existing markers or protect the last assistant message itself. Thanks to aEgoist for the report and proposed guard (#5).
6
+ - **Validation and UI**: cover default protection, explicit opt-out, historical retrieval, multiple content blocks, and global-preservation composition across Chat, Anthropic, Responses and Gemini. Expose the switch in the generated page catalog and lab bundle.
7
+ - **Packaging**: renamed from `@magpie-community/middleware-compress-core` to `magpie-compress-core`, published by the author from this repository. The plugin data directory is unchanged (`magpie/compress-core/`).
8
+
9
+ ## 0.5.5 — 2026-11-13
10
+
11
+ - **CCR defaults**: `minChars` is now 2000 rather than upstream's 600. The two thresholds are ANDed — a block folds only when it is at least `minChars` characters **and** `minBlockBytes` bytes — so in CJK text, where one character is three UTF-8 bytes, 600 characters against a 2048-byte floor meant a normal Chinese answer of roughly 683 characters was swapped for a marker and became unreadable on the next turn. 2000 leaves ordinary Chinese and English replies intact while tool output and long logs still fold. `minBlockBytes` stays at 2048, so English behaviour is unchanged.
12
+
13
+ ## 0.5.4 — 2026-11-12
14
+
15
+ - **Native Codex tool search**: recognize loaded CCR definitions in typed `input[].tools` contracts (`tool_search_output`) and nested `namespace` tools. The old gate stayed `none` even after successful tool discovery and retrieval. Definitions not yet loaded still fail closed.
16
+ - **Contract boundaries**: namespace group names, user text and ordinary tool output cannot enable CCR. Matrix regressions verify compression, retrieval instructions, and negative cases.
17
+ - **Cross-platform retrieval acceptance**: every positive harness fixture now persists its originals, starts the real MCP server over stdio, and compares each returned block byte-for-byte. Node and Bun run the same matrix on Ubuntu and Windows CI.
18
+
19
+ ## 0.5.3 — 2026-11-12
20
+
21
+ - **CCR gate**: `deferred` now also reads the content block array of a system/developer message (explicit `text` / `input_text` blocks only; other messages and block types are still not scanned) — verified against a native Claude CLI loopback request (`none` before, `deferred` after). codex is off the indirect allowlist: a shell or `exec_command` alone is not a retrieval channel, so codex must declare the retrieve tool or match a deferred manifest; `indirect` stays a declaration heuristic, not proof of reachability.
22
+ - **CCR safety**: the Bun host skips blocks the store cannot persist (**strictly above** the 512KiB cap; a block of exactly 512KiB is still written), `await`s the store being ready before compressing instead of skipping while it is not ready, and keeps the original body when the flush fails. A marker is published only after its original is flushed, but that is not a promise retrieval can never fail — TTL expiry and eviction still apply. The pipeline validates only the segments this request actually replaced and rolls back to the pre-ccr snapshot (not the whole pre-pipeline body) when the mapping does not match.
23
+ - **Docs**: indirect reach is not proof of retrieval, historical hit rates are snapshots rather than universal client health, and a host whose `/mcp/run/ccr-retrieve` returns 404 is best served by setting ccr-retrieve to direct (stdio) in the Library; whether each client is repaired has to be verified independently, not inferred from the code-side fix.
24
+
25
+ ## 0.5.2 — 2026-11-11
26
+
27
+ - **lite**: trim trailing spaces before CR, CRLF and Unicode line separators as well as LF. Keep the original fold-then-trim order, whitespace-only messages and long-space linear-time behavior. Added regression cases and rebuilt the lab bundle.
28
+
29
+ ## 0.5.1 — 2026-11-11
30
+
31
+ - **Diff viewer**: deleting or adding repeated lines, or changing line order, no longer reports identical text. Both page entry points locate the first change even beyond the initial 40-line window, with Chinese and English explanations.
32
+ - **Accessibility**: Space and Enter on a strategy switch keep the button's native activation instead of expanding the parent row. Keyboard expansion of the row itself still works.
33
+ - **Packaging**: include the CCR persistence module, file-lock helper and retrieve MCP server; exclude the machine-generated CCR installation status script.
34
+ - **Tests**: add page interaction regressions and package checks for runtime imports and generated-file exclusions, including a seeded package fixture.
35
+ - **Documentation**: correct strategy/panel metadata and describe the current language default and published statistics.
36
+
37
+ ## 0.5.0 — 2026-11-06
38
+
39
+ - **Documentation**: every Markdown document in the repository now has an English counterpart, with a language link at the top of each file. The English README was resynchronized with the Chinese one.
40
+ - **UI**: the page, settings panel and usage panel follow the browser language (`zh` / `en`); a header `EN` / `中文` switch changes language in place and remembers the choice. Strategy descriptions, parameter labels, the lab and the diff dialog are translated.
41
+ - **lite**: `compressToolResults` now also truncates array-shaped tool content part by part. The switch remains lossy and off by default; string and Anthropic `tool_result` behavior is unchanged.
42
+ - **CCR scope**: the panel documents that tool-output compression is intentionally excluded from CCR because replacing tool output with retrieval markers can break the agent tool loop.
43
+ - **Docs fixes**: corrected `capture`'s installed default, `read-lifecycle` priority, the Safe preset membership, and suite-count wording.
44
+ - **Tests**: added `page-i18n`; the full suite now passes under both Node and Bun.
45
+
46
+ ## 0.4.0
47
+
48
+ - Baseline before the bilingual UI and documentation pass.
package/DEBUGGING.md ADDED
@@ -0,0 +1,50 @@
1
+ # 面板点不动的时候先看这里
2
+
3
+ [中文](./DEBUGGING.md) | [English](./DEBUGGING.en.md)
4
+
5
+ 这份记录写的是 0.4.0 之前的那次 UI 交互失效:**magpie 设置面板里所有按钮都没反应**——预设点不动,齿轮和烧瓶切不了视图,策略开关也按不动。
6
+
7
+ 结论先说:跟 iframe 沙箱没关系。是渲染函数抛了异常,`init()` 中断在半路,按钮的监听根本没绑上。
8
+
9
+ ## 排查走过弯路
10
+
11
+ 现象很容易让人怀疑沙箱,下面这几条**都不是**原因:
12
+
13
+ - `sandbox="allow-scripts"` 加 `connect-src 'none'` 的 CSP:页面确实拿不到网络,但点击、`hidden`、`style.display` 全都不受影响。
14
+ - 视图切换的写法(只用 `hidden`、只用 `display`、两者都写):三种都试过,都没用——因为压根没走到那一步。
15
+ - 脚本加载顺序、`node --check` 语法检查、HTML 是否被浏览器缓存:都查过,全是干净的。
16
+ - 也不要在 iframe 里靠 `console.log` 找线索:magpie 主界面的 devtools 里看不到插件 iframe 的输出,日志会静悄悄地丢掉。
17
+
18
+ ## 真正的原因
19
+
20
+ `paint()` 是按「想当然的接口」写的,magpie 一挂载就抛错:
21
+
22
+ - 把 `V.engines()` 当 map/对象遍历,它其实是数组;
23
+ - 调了 `page/ui.js` 里不存在的 `U.row` / `U.box`;
24
+ - 读了 `page/view.js` 的 TEXT 里不存在的字段(例如 `T.status`)。
25
+
26
+ 第一行就 `TypeError`。而 `init()` 的顺序是「先渲染、后绑定事件」,异常把 `init()` 打断在渲染那一步,后面 `bindViewButtons()` 之类的绑定一次都没执行——所以整个面板死掉。表现上跟「沙箱拦住点击」一模一样,排查方向很容易被带跑。
27
+
28
+ 修法:每个渲染函数外面套一层 `safePaint()`,单个区块炸掉不再拖死整轮;然后所有渲染严格按 `page/view.js` / `page/ui.js` 的真实契约重写。
29
+
30
+ ## 契约(不要再猜)
31
+
32
+ - `page/view.js:469` `cards(strategies, stats, lang)` → 返回卡片数组,每项 `{id, label, why, description, badge, tone, available, requires, on, note, fields}`。
33
+ - `page/ui.js:6` `el(tag, cls, text)`、`page/ui.js:13` `clear(host)`、`page/ui.js:21` `switchButton(on, disabled, onChange, label)`、`page/ui.js:37` `meter(host, m, T)`、`rows(host, cards, ctx)`,其中 `ctx = {T, open, config, onToggle, onSwitch, onField}`。
34
+ - 会话索引**不在** `options.stats.captures[]` 里:`stats-writer.js` 已经不再写 `plugins.json`,那个字段是冻死的旧值。索引由钩子发布成页面同目录的 `page/captures-index.js`,页面用 `<script src="captures-index.js?t=…">` 载入后读 `globalThis.__COMPRESS_CAPTURES_INDEX__`,字段是 `{id, at, agent, protocol, model, before, after, saved, summary}`。**旧的 `cap.ts` / `cap.strategy` / `rate` / `beforeText` 都不存在**,照着写只会渲染出 `Invalid Date … NaN MB → NaN MB NaN%`。
35
+ - `capture` 在装好的插件里默认**开**:出厂值写在 `package.json` 的 `magpie.options.capture`(`true`)。代码层只认 `options.capture === true`,所以自己构造 options 时不给这个键就是不记录。开着时每一次经过网关的请求都留一条,最新 50 条封顶。它一旦默认关,会话列表就只有开关被手动打开的那段时间有内容,看上去就是「永远停在旧的、只有本机 harness 的会话」。
36
+ - `page/captures-index.js` 只装索引元数据,对话原文一条都不进去(那是审查否掉上一版的原因)。完整原文由 `capture-store.js` 另发布成 `page/captures/<id>.js`,页面用 `<script src>` 按需加载来显示差异;这些副本是本地生成物,`.gitignore` 挡掉、`package.json` 也排除,但**页面确实能读到这份副本**。真正的配置目录 `captures/` 仍只由宿主读写。
37
+ - 那个脚本是生成物,不随包发布(`.gitignore` 里有),plugin 更新后由宿主下一次请求重发(`refreshCapturesIndex()`,每进程一次)。
38
+ - `report.strategies[]` 每项 `{id, label, available, enabled, status, reason, beforeBytes, afterBytes, ms, savedBytes}`。
39
+ - 页面在沙箱里唯一的数据通道是 `magpie.options`,而且 `set` 是**整包替换**:保存时必须提交完整 options(包括钩子写进去的 `stats`),只提交改动字段会把 `strategies`、`preserve` 一起抹掉。
40
+
41
+ ## 怎么复验
42
+
43
+ ```bash
44
+ node test/run.mjs # 全部引擎与钩子套件
45
+ node test/live-probe.mjs # 对着真的 magpie 打一次
46
+ ```
47
+
48
+ UI 本身不进 `test/run.mjs`(那套只跑引擎和钩子)。要给面板做交互回归,用最小 DOM 加 `vm` 直接加载 `page/engines.js` + `view.js` + `ui.js` + `panel.js`(或 `app.js`)+ 一个 `magpie` stub,断言按钮数量、点击后的写回和视图切换;注意保存走 1100ms 节流窗口,断言要跨过去。
49
+
50
+ 要连真机看的话,magpie 开了远程调试端口后,用 CDP 附着到 `settings.html` 那个 iframe target:`Runtime.consoleAPICalled` / `Runtime.exceptionThrown` 能收到里面抛的异常,`Runtime.evaluate` 可以读 `#viewMain` / `#viewCustom` 的 `hidden` 与几何,改完 `location.reload()` 即可。注意 iframe target 不支持 `Page.reload`。
package/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) diegosouzapw, OmniRoute contributors
4
+ Copyright (c) 2026 magpie-community contributors
5
+ Copyright (c) 2026 Manjughosa
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
@@ -0,0 +1,55 @@
1
+ Apache License
2
+
3
+ Version 2.0, January 2004
4
+
5
+ http://www.apache.org/licenses/
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
16
+
17
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
18
+
19
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
20
+
21
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
22
+
23
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
24
+
25
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
26
+
27
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
28
+
29
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
30
+
31
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
32
+
33
+ 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
34
+
35
+ 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
36
+
37
+ You must give any other recipients of the Work or Derivative Works a copy of this License; and
38
+
39
+ You must cause any modified files to carry prominent notices stating that You changed the files; and
40
+
41
+ You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
42
+
43
+ If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
44
+
45
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
46
+
47
+ 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
48
+
49
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
50
+
51
+ 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
52
+
53
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
54
+
55
+ END OF TERMS AND CONDITIONS
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 OmniRoute / diegosouzapw
4
+ Copyright (c) 2026 claude-image-proxy contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
@@ -0,0 +1,24 @@
1
+ Copyright (c) 2018-2026, Frederic Cambus
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright
8
+ notice, this list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
18
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24
+ POSSIBILITY OF SUCH DAMAGE.
package/NOTICE ADDED
@@ -0,0 +1,40 @@
1
+ compress-core
2
+ Copyright (c) 2026 Manjughosa
3
+
4
+ This product includes software developed by other projects. The full text of
5
+ each licence is kept in LICENSES/; the repository each port came from, the files
6
+ it reaches, and a hash of every ported copy are recorded in PROVENANCE.json.
7
+
8
+ OmniRoute — https://github.com/diegosouzapw/OmniRoute
9
+ MIT. Copyright (c) 2026 diegosouzapw. Every engine in this package — the
10
+ strategies, the rule packs, the preset table — is a port of OmniRoute's
11
+ open-sse/services/compression, read from an installed copy of that release.
12
+
13
+ caveman — https://github.com/JuliusBrussee/caveman
14
+ Apache-2.0, see LICENSES/Apache-2.0.txt. Reaches engines/caveman.js,
15
+ engines/caveman-rules.js and engines/rules-data.js.
16
+
17
+ headroom — https://github.com/headroomlabs-ai/headroom
18
+ Apache-2.0, see LICENSES/Apache-2.0.txt. Reaches engines/headroom.js and the
19
+ GCF columnar codec vendored under engines/gcf/.
20
+
21
+ rtk — https://github.com/rtk-ai/rtk
22
+ Apache-2.0, see LICENSES/Apache-2.0.txt. Reaches engines/rtk/.
23
+
24
+ lean-ctx — https://github.com/yvgude/lean-ctx
25
+ Apache-2.0, see LICENSES/Apache-2.0.txt. Structured CSV/TSV/YAML compaction
26
+ ideas and value-level round-trip design reach engines/leanctx-structured.js.
27
+
28
+ OmniGlyph — https://github.com/diegosouzapw/OmniGlyph
29
+ MIT. Copyright (c) 2026 OmniRoute / diegosouzapw and claude-image-proxy
30
+ contributors. See LICENSES/OmniGlyph-MIT.txt. Context-as-image design and
31
+ ASCII glyph data inform engines/omniglyph.js and engines/omniglyph-font.js.
32
+
33
+ Spleen — https://github.com/fcambus/spleen
34
+ BSD-2-Clause. Copyright (c) 2018-2026 Frederic Cambus. The 95 printable
35
+ ASCII 5x8 glyphs in engines/omniglyph-font.js were extracted from
36
+ OmniGlyph's atlas. See LICENSES/Spleen-BSD-2-Clause.txt.
37
+
38
+ These projects were reached through OmniRoute's copies of them. Where an
39
+ upstream keeps its own copyright line or NOTICE file, that is the one in its own
40
+ repository; nothing here strips or replaces it.
@@ -0,0 +1,220 @@
1
+ {
2
+ "source": "https://github.com/diegosouzapw/OmniRoute",
3
+ "commit": "ff679ab86e0113a009d8aeeeee464139bd090874",
4
+ "path": "open-sse/services/compression",
5
+ "license": "MIT",
6
+ "note": "The port was read from an installed OmniRoute copy, so the commit was not recorded at the time. The commit above is the OmniRoute revision this port was checked against. Each sha256 is of the upstream file itself, read from that copy -- not of the ported file in this package.",
7
+ "files": {
8
+ "aggressive.ts": {
9
+ "ported_to": "engines/aggressive.js",
10
+ "sha256": "55eabb0a38a52924a78a2a3cf936e9079fe21e4b4a680372f96d9ec2ebb58fcc"
11
+ },
12
+ "progressiveAging.ts": {
13
+ "ported_to": "engines/aggressive.js",
14
+ "sha256": "8fdde8bfd739b531cb3f88a956a393b057c06891617b389148162d28e83d9982"
15
+ },
16
+ "summarizer.ts": {
17
+ "ported_to": "engines/aggressive.js",
18
+ "sha256": "c7dac6d2877c9f440af766c4e5ac705e157544f213836d76b697666b053c94d4"
19
+ },
20
+ "caveman.ts": {
21
+ "ported_to": "engines/caveman.js",
22
+ "sha256": "79754f18dfb155cdee0d77201678edda75e67c517fffb7aa876016a88769b563"
23
+ },
24
+ "preservation.ts": {
25
+ "ported_to": "engines/caveman.js",
26
+ "sha256": "78b56b877ce2b9b496b66557d153d87b72705e00de88b1c7a1a4a97f8b1d8121"
27
+ },
28
+ "validation.ts": {
29
+ "ported_to": "engines/caveman.js",
30
+ "sha256": "afa760e52286702ceed5922becd47da8f9b8f678f7fb2ba834cbbcabfd431d2f"
31
+ },
32
+ "cavemanRules.ts": {
33
+ "ported_to": "engines/caveman-rules.js",
34
+ "sha256": "f4fe6aa23208ca9fb505e59e40ba5e418b0e8b183c98a9c0a639d9c07f4b702b"
35
+ },
36
+ "engines/headroom/index.ts": {
37
+ "ported_to": "engines/headroom.js",
38
+ "sha256": "c7ac9cd2d9f9fc1a328ae76cd616c8c4c41b3d57a805f0cc0e139d3edfea810d"
39
+ },
40
+ "engines/headroom/smartcrusher.ts": {
41
+ "ported_to": "engines/headroom.js",
42
+ "sha256": "46d14b414e0f8b5cfe5fc13d8207cf7023fed1c9b48b07bf4b24830e77e9dcf7"
43
+ },
44
+ "engines/headroom/tabular.ts": {
45
+ "ported_to": "engines/headroom.js",
46
+ "sha256": "e69cd72cfe6a28104ea48c8f95ee901af86b0cea866df7b2f7bf272018029de4"
47
+ },
48
+ "engines/ionizer/index.ts": {
49
+ "ported_to": "engines/ionizer.js",
50
+ "sha256": "0eccd7a84a9af44964e60a15ee1811caa7e7c4e0e3f1dd785d60ee7221faa7fd"
51
+ },
52
+ "engines/ionizer/sample.ts": {
53
+ "ported_to": "engines/ionizer.js",
54
+ "sha256": "8d8f63da8d9a98099756d32fd5ee1945cfa98f3b0bdaf291bb036bf2f6441ad0"
55
+ },
56
+ "engines/llm/index.ts": {
57
+ "ported_to": "engines/llm.js",
58
+ "sha256": "c49f81d77e92f96056578d9250d0266e7275f30c77c8b04aea0b1a33cc2b6ac8"
59
+ },
60
+ "engines/readLifecycle/index.ts": {
61
+ "ported_to": "engines/read-lifecycle.js",
62
+ "sha256": "d8a72f68790354ded859b0d3343ea33a7eacb9321f6d73a1d26e9d76097f063f"
63
+ },
64
+ "engines/codexResponses/index.ts": {
65
+ "ported_to": "engines/codex-responses.js",
66
+ "sha256": "c8e50efea0713956fc5869f69d463dbd5d7755b1672c3d951de12b03cf1b175b"
67
+ },
68
+ "ultra.ts": {
69
+ "ported_to": "engines/ultra.js",
70
+ "sha256": "8da8706c255c11be76a14c66fab0274f644eff918c5d0d8381d701fbfa9b652f"
71
+ },
72
+ "ultraHeuristic.ts": {
73
+ "ported_to": "engines/ultra.js",
74
+ "sha256": "4de63ba55ca3ccf0e86bb2938790f72a1808dace776123c43eec2bf2d43d8a1a"
75
+ },
76
+ "engines/rtk/index.ts": {
77
+ "ported_to": "engines/rtk/index.js",
78
+ "sha256": "ff4f2cfcc3f4891a0ce68e29d83e072ff194d9a115685222684bd08a10546400"
79
+ },
80
+ "engines/rtk/commandDetector.ts": {
81
+ "ported_to": "engines/rtk/commandDetector.js",
82
+ "sha256": "5505b2d92862b4035d48a6aaee28b8a15d451c5c4dd5baa849ae99def83b94eb"
83
+ },
84
+ "engines/rtk/deduplicator.ts": {
85
+ "ported_to": "engines/rtk/deduplicator.js",
86
+ "sha256": "aed654f42b2dae714a6141136b4e3948918e71525ff1710d0c6f72c8ac32c8fd"
87
+ },
88
+ "engines/rtk/grouper.ts": {
89
+ "ported_to": "engines/rtk/grouper.js",
90
+ "sha256": "2bde8873326bd9150b71499ce7203c0c951cb59a1e7a6a8d235485c11001bb72"
91
+ },
92
+ "engines/rtk/lineFilter.ts": {
93
+ "ported_to": "engines/rtk/lineFilter.js",
94
+ "sha256": "faa1cf03da43025774b192184de12b28b67df2a29d8825441bee272529cb186c"
95
+ },
96
+ "engines/rtk/severityVocabulary.ts": {
97
+ "ported_to": "engines/rtk/severity.js",
98
+ "sha256": "1df3e5657de9402416af2adb267de589a4f9a0b776cbd0e0721c73d7f694d80b"
99
+ },
100
+ "engines/rtk/smartTruncate.ts": {
101
+ "ported_to": "engines/rtk/smartTruncate.js",
102
+ "sha256": "fb90894e9f578b0e851f350ca20f603a23073ff89094ce056ae9647c5c4812c4"
103
+ },
104
+ "engines/rtk/splitCompositeCommand.ts": {
105
+ "ported_to": "engines/rtk/splitCommand.js",
106
+ "sha256": "0ccef866b846b1238562d6ffb6e7963b7138d17796ac34557026bdae86fe720b"
107
+ },
108
+ "engines/rtk/filterLoader.ts": {
109
+ "ported_to": "engines/rtk/builtinFilters.js",
110
+ "sha256": "b7a72c055b80dc4dbbe05387585be214c002d994da32a2966da278c27e453c6b"
111
+ },
112
+ "rules/{lang}/*.json": {
113
+ "ported_to": "engines/rules-data.js",
114
+ "sha256": "cfdaa957907cf522ca5af5c6a72f525d94f3649dc544da6dbc0c9f1f813a8ec0",
115
+ "note": "Directory-level entry: the sha256 of every .json under upstream rules/, per language directory in name order, concatenated in that order."
116
+ },
117
+ "engines/headroom/gcf/generic.ts": {
118
+ "ported_to": "engines/gcf/encode.js",
119
+ "sha256": "8a933d064d836e5445256f58520555101b27539dbd56dd03b9e7a57359e94ba7"
120
+ },
121
+ "engines/headroom/gcf/decode_generic.ts": {
122
+ "ported_to": "engines/gcf/decode.js",
123
+ "sha256": "8ac955ab883de199ca7b7a8c1b7cb79769f41ba99d580ce3dfef2e3b72f36025"
124
+ },
125
+ "engines/headroom/gcf/scalar.ts": {
126
+ "ported_to": "engines/gcf/scalar.js",
127
+ "sha256": "901e2d45bf27e073df7655a89083a191a86d1d295b8bef6b4d179dbfae5eb298"
128
+ }
129
+ },
130
+ "upstreams": [
131
+ {
132
+ "name": "caveman",
133
+ "repository": "https://github.com/JuliusBrussee/caveman",
134
+ "used_by": [
135
+ "engines/caveman.js",
136
+ "engines/caveman-rules.js",
137
+ "engines/rules-data.js"
138
+ ],
139
+ "note": "Credited by repository: the port came through OmniRoute's copy of this project.",
140
+ "license": "Apache-2.0"
141
+ },
142
+ {
143
+ "name": "headroom",
144
+ "repository": "https://github.com/headroomlabs-ai/headroom",
145
+ "used_by": [
146
+ "engines/headroom.js",
147
+ "engines/gcf/encode.js",
148
+ "engines/gcf/decode.js",
149
+ "engines/gcf/scalar.js"
150
+ ],
151
+ "note": "Credited by repository: the GCF columnar encoding that engines/headroom.js emits, and the codec vendored under engines/gcf/, are this project's format.",
152
+ "license": "Apache-2.0"
153
+ },
154
+ {
155
+ "name": "rtk",
156
+ "repository": "https://github.com/rtk-ai/rtk",
157
+ "used_by": [
158
+ "engines/rtk/index.js",
159
+ "engines/rtk/commandDetector.js",
160
+ "engines/rtk/deduplicator.js",
161
+ "engines/rtk/grouper.js",
162
+ "engines/rtk/lineFilter.js",
163
+ "engines/rtk/severity.js",
164
+ "engines/rtk/smartTruncate.js",
165
+ "engines/rtk/splitCommand.js",
166
+ "engines/rtk/builtinFilters.js"
167
+ ],
168
+ "note": "Credited by repository: the port came through OmniRoute's copy of this project. An earlier revision of this file credited 'dennenulin/rtk', which does not resolve; rtk-ai/rtk is the repository that does.",
169
+ "license": "Apache-2.0"
170
+ },
171
+ {
172
+ "name": "lean-ctx",
173
+ "repository": "https://github.com/yvgude/lean-ctx",
174
+ "used_by": ["engines/leanctx-structured.js"],
175
+ "note": "Apache-2.0 structured CSV/TSV/YAML compaction ideas and value-level round-trip design, adapted from rust/crates/lean-ctx-compress at 7c9025c46eae0781abec4f83bb302212413c009d. No permission, memory, MCP or proxy code is included.",
176
+ "license": "Apache-2.0"
177
+ },
178
+ {
179
+ "name": "OmniGlyph",
180
+ "repository": "https://github.com/diegosouzapw/OmniGlyph",
181
+ "commit": "6229a226d53e814c72dc0cd50f1cb5edd0a77174",
182
+ "used_by": ["engines/omniglyph.js", "engines/omniglyph-font.js"],
183
+ "note": "Context-as-image rendering and 28px Anthropic patch estimates adapted from src/core/render.ts and src/core/anthropic-vision.ts, cross-checked against cheaper-inference/OmniRoute open-sse/services/compression/engines/omniglyphAdapter.ts and imageTransportPolicy.ts at 8b19a44c124b5814f6313306152ffddbac44dbe7. Synchronous PNG/DEFLATE is a local implementation, not the upstream async CompressionStream encoder. Only printable ASCII from src/core/atlas.ts is included; Unifont data is excluded.",
184
+ "license": "MIT",
185
+ "license_file": "LICENSES/OmniGlyph-MIT.txt"
186
+ },
187
+ {
188
+ "name": "Spleen",
189
+ "repository": "https://github.com/fcambus/spleen",
190
+ "used_by": ["engines/omniglyph-font.js"],
191
+ "note": "95 printable ASCII 5x8 glyphs extracted from OmniGlyph src/core/atlas.ts at 6229a226d53e814c72dc0cd50f1cb5edd0a77174. Hash is of the extracted 475 binary glyph bytes, not the upstream atlas file.",
192
+ "ascii_subset_sha256": "0b876fd628d1a511cb59c89f5749247904386bccea656dff3987fbb763090edd",
193
+ "license": "BSD-2-Clause",
194
+ "license_file": "LICENSES/Spleen-BSD-2-Clause.txt"
195
+ },
196
+ {
197
+ "name": "gcf-typescript",
198
+ "repository": "https://github.com/blackwell-systems/gcf-typescript",
199
+ "used_by": ["engines/gcf/encode.js", "engines/gcf/decode.js"],
200
+ "note": "Constant-column factoring reviewed against upstream spec v3.6.0 / v2.7.0; existing nested/attachment codec is retained.",
201
+ "license": "MIT"
202
+ }
203
+ ],
204
+ "changes": [
205
+ "Ported from TypeScript to plain ES modules: no build step, no dependency outside node: builtins.",
206
+ "performance.now() replaced with Date.now() where the port runs inside the gateway sandbox.",
207
+ "zod validation hand-written; filter matching and the severity vocabulary kept as-is.",
208
+ "Progress and trace logging removed; the engines report through ctx.state instead.",
209
+ "Hashes identify the ported copies in this package, not the upstream originals.",
210
+ "License kept as MIT, carrying both the OmniRoute copyright line and this plugin's.",
211
+ "Same turn semantics as history-trim (#423) when asked for them: the turn being sent (everything after the last assistant message, or the whole body when there is none) is left exactly as it arrived. The 21 cases copied from that package in test/fixtures/approved-lite-cases.json and cases.json now say preserveCurrentTurn: true out loud, because that mode is no longer the default; their expected bodies are unchanged.",
212
+ "preserve.lastTurns defaults to 0 and the lite engine's preserveCurrentTurn defaults to false: nothing that has already been sent is rewritten, so the review's prompt-cache failure — first divergence at message 12 in the Anthropic diff, message 2 with lastTurns at its old default of 2 — is gone. preserveCurrentTurn: true restores the conservative mode that leaves the turn being sent exactly as it arrived, rewriting it once when it becomes history; README says which is which.",
213
+ "The vendored GCF codec under engines/gcf/ is recorded in files like every other port, and the Apache-2.0 upstreams behind headroom and rtk carry their licence text in LICENSES/Apache-2.0.txt with the attribution in NOTICE.",
214
+ "session-dedup reads the same preserveCurrentTurn switch as lite and defaults the same way. Protecting only the current turn means the message is rewritten once in the next request, which moves the prefix with it; the switch is now the single place where that choice is made.",
215
+ "cases.json holds 23 cases: the 21 from history-trim plus two that pin the default preset's own behaviour (the turn being sent is folded too; a tabular tool result becomes a gcf-generic block).",
216
+ "test/prefix-stability.test.mjs is the acceptance test for the prompt-cache finding: the transcript grows turn by turn and the prefix sent each round must be byte-identical to the previous round, for the default preset, the safe preset, and each lossless engine on its own.",
217
+ "page/engines.js and page/lab-engine.bundle.js are committed. They are built by `npm run prepack` (esbuild is a devDependency) and the files here are the built output: magpie installs a plugin from the dist branch, and scripts/dist.mjs packs with `npm pack --ignore-scripts`, so a lifecycle script cannot be the only thing that produces them — an install that skips scripts would find neither file and the three pages would 404.",
218
+ "The package is named magpie-compress-core and is published by its author from this repository; it is not part of magpie-community's packages/ directory."
219
+ ]
220
+ }