@cendor/squeeze 0.2.3 → 0.2.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.
Files changed (3) hide show
  1. package/NOTICE +7 -0
  2. package/README.md +2 -0
  3. package/package.json +9 -3
package/NOTICE ADDED
@@ -0,0 +1,7 @@
1
+ PowerAI Labs
2
+ Copyright 2026 Raghav Mishra (PowerAI Labs)
3
+
4
+ This product includes software developed by Raghav Mishra (PowerAI Labs).
5
+
6
+ Licensed under the Apache License, Version 2.0. See the LICENSE file for the
7
+ full terms.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @cendor/squeeze
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@cendor/squeeze.svg)](https://www.npmjs.com/package/@cendor/squeeze) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4
+
3
5
  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).
4
6
 
5
7
  The TypeScript port of [`cendor-squeeze`](https://github.com/cendorhq/cendor-libs). Satisfies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cendor/squeeze",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
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",
@@ -18,14 +18,16 @@
18
18
  },
19
19
  "files": [
20
20
  "dist",
21
- "README.md"
21
+ "README.md",
22
+ "LICENSE",
23
+ "NOTICE"
22
24
  ],
23
25
  "sideEffects": false,
24
26
  "engines": {
25
27
  "node": ">=18"
26
28
  },
27
29
  "dependencies": {
28
- "@cendor/core": "^0.3.2"
30
+ "@cendor/core": "^0.3.3"
29
31
  },
30
32
  "optionalDependencies": {
31
33
  "better-sqlite3": "^12.11.1"
@@ -42,6 +44,10 @@
42
44
  "url": "git+https://github.com/cendorhq/cendor-libs-js.git",
43
45
  "directory": "packages/squeeze"
44
46
  },
47
+ "homepage": "https://cendor.ai/docs/squeeze",
48
+ "bugs": {
49
+ "url": "https://github.com/cendorhq/cendor-libs-js/issues"
50
+ },
45
51
  "publishConfig": {
46
52
  "access": "public"
47
53
  },