@cendor/squeeze 0.2.2 → 0.2.3
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/README.md +1 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# @cendor/squeeze
|
|
2
2
|
|
|
3
|
-
Shrink
|
|
4
|
-
returns a *handle*; the original is always restorable, byte-for-byte. Content-aware: each type gets a
|
|
5
|
-
purpose-built, **deterministic** compressor — no LLM, no model download, byte-reproducible.
|
|
3
|
+
Shrink long prompts to hit a token budget and expand them back exactly — the same input always produces the same output, with no LLM and no model download. Compression returns a *handle*; the original is always restorable, byte-for-byte. The TypeScript port of [`cendor-squeeze`](https://github.com/cendorhq/cendor-libs).
|
|
6
4
|
|
|
7
5
|
The TypeScript port of [`cendor-squeeze`](https://github.com/cendorhq/cendor-libs). Satisfies
|
|
8
6
|
`@cendor/core`'s `Compressor` protocol by shape, so context tooling can use it without importing it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cendor/squeeze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Shrink long prompts to hit a token budget and expand them back exactly — the same input always produces the same output.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@cendor/core": "^0.3.
|
|
28
|
+
"@cendor/core": "^0.3.2"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
31
|
"better-sqlite3": "^12.11.1"
|