anolisa-tokenless 0.7.10 → 0.7.11

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 CHANGED
@@ -62,7 +62,13 @@ tokenless only removes redundancy from **tool call responses** before they enter
62
62
  ### Where it pays little or doesn't apply
63
63
 
64
64
  - **Chat-heavy / few tool calls**: tool-response share is tiny, overall savings approach 0.
65
- - **Already-short responses**: when `after >= before`, the CLI emits the original and records no stats (expected).
65
+ - **No fixed minimum payload**: `compress-schema` and `compress-response` build a
66
+ candidate for every accepted valid JSON input. In active mode, they emit it only
67
+ when its estimated token count is strictly lower than the original. A small input
68
+ with removable content can still compress, while a larger already-compact input can
69
+ pass through unchanged; the CLI writes the reason to stderr and records no stats.
70
+ In dry-run mode, the CLI always emits the original and may record a smaller candidate
71
+ as a predicted saving.
66
72
  - **Model inference tokens / billed tokens**: outside what tokenless touches.
67
73
 
68
74
  ### Estimating the effect
@@ -232,6 +238,14 @@ Tokenless session second.
232
238
 
233
239
  ## CLI Usage
234
240
 
241
+ The standalone `compress-schema` and `compress-response` commands use this
242
+ content-dependent savings check rather than a fixed byte or character minimum.
243
+ The description, string, array, and depth limits in the
244
+ [CLI reference](../../docs/user-guide/en/token-saving/tokenless/cli-reference.md)
245
+ trigger individual transformations; they are not minimum total payload sizes.
246
+ Agent adapters may apply separate pre-check thresholds; see the
247
+ [framework integration guide](../../docs/user-guide/en/token-saving/tokenless/framework-integration.md#adapter-processing-rules).
248
+
235
249
  ### compress-schema
236
250
 
237
251
  Compress a single tool schema:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokenless",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "Token-Less context compression for Claude Code — RTK command rewriting, response/TOON compression, and Tool Ready environment pre-check",
5
5
  "author": { "name": "ANOLISA" },
6
6
  "license": "Apache-2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokenless",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "Intelligent tool response compression, environment error detection, and token optimization. Strips noise (debug fields, nulls, empty values), truncates long strings/arrays, applies TOON encoding for JSON responses, and classifies environment errors with actionable fix hints.",
5
5
  "keywords": [
6
6
  "compression",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokenless",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "contextFileName": "COPILOT.md",
5
5
  "hooks": {
6
6
  "PreToolUse": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolisa/dsh-tokenless",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "Native DeepSeek Harness response compression for Tokenless",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,5 +1,5 @@
1
1
  name: tokenless
2
- version: "0.7.10"
2
+ version: "0.7.11"
3
3
  description: "Token-Less context compression for Hermes Agent — response compression, TOON encoding, command rewriting, and registered but hard-disabled Tool Ready"
4
4
  author: ANOLISA
5
5
  requires_env: []
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "component": "tokenless",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "targets": {
5
5
  "cosh": {
6
6
  "compatibleVersions": "*",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "tokenless",
3
3
  "name": "Tokenless",
4
- "version": "0.7.10",
4
+ "version": "0.7.11",
5
5
  "description": "Unified RTK command rewriting + response/TOON compression + registered but hard-disabled Tool Ready. Wraps tokenless and rtk system binaries via child_process — this is expected and not malicious.",
6
6
  "activation": {
7
7
  "onCapabilities": ["hook"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenless/openclaw-plugin",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "Unified OpenClaw plugin — RTK command rewriting + tokenless schema/response compression for 60-90% LLM token savings",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokenless",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "Token-Less LLM Token Optimization Toolkit for Qoder CLI",
5
5
  "author": {
6
6
  "name": "Shile Zhang",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokenless",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "Token-Less context compression for Qwen Code — RTK command rewriting, response/TOON/schema compression, and registered but hard-disabled Tool Ready",
5
5
  "author": { "name": "ANOLISA" },
6
6
  "license": "Apache-2.0",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "anolisa-tokenless",
3
3
  "type": "module",
4
- "version": "0.7.10",
4
+ "version": "0.7.11",
5
5
  "description": "Token-Less — LLM token optimization toolkit (schema/response compression, command rewriting, tool readiness)",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -44,10 +44,10 @@
44
44
  "arm64"
45
45
  ],
46
46
  "optionalDependencies": {
47
- "@anolisa/tokenless-linux-x64": "0.7.10",
48
- "@anolisa/tokenless-linux-arm64": "0.7.10",
49
- "@anolisa/tokenless-darwin-x64": "0.7.10",
50
- "@anolisa/tokenless-darwin-arm64": "0.7.10"
47
+ "@anolisa/tokenless-linux-x64": "0.7.11",
48
+ "@anolisa/tokenless-linux-arm64": "0.7.11",
49
+ "@anolisa/tokenless-darwin-x64": "0.7.11",
50
+ "@anolisa/tokenless-darwin-arm64": "0.7.11"
51
51
  },
52
52
  "publishConfig": {
53
53
  "registry": "https://registry.npmjs.org/",