billion-context 0.1.203 → 0.1.204

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.
@@ -6,14 +6,23 @@
6
6
  # compaction-basic row. In profiles bundling @deepseek-ai/dsh-web-app that row
7
7
  # is disabled and the running instance lives inside the agent presets, whose
8
8
  # nested rows no patch layer can address by id — the preset gate rows below
9
- # make each Web preset wait for the load-time overlay the bili-native entry
10
- # registers (vendored from deshark42/dsh-compaction-basic-disable, MIT, #3354;
11
- # see src/agent/dsh-compaction-disable.ts). A profile-level full-snapshot
9
+ # make each Web preset wait for the load-time overlay the bili-compaction-gate
10
+ # entry registers (vendored from deshark42/dsh-compaction-basic-disable, MIT,
11
+ # #3354; see src/agent/dsh-compaction-disable.ts). A profile-level full-snapshot
12
12
  # override of preset-standard (#2474) remains the fallback for dsh builds
13
13
  # whose internal 'internal/config' hook moved.
14
+ # #3662: the gate lives in its OWN always-on entry, not in bili-native —
15
+ # disabling or kill-switching bili-native must leave the gate service alive so
16
+ # the presets fall back to STOCK dsh compaction instead of pending forever
17
+ # (the old wiring bricked session creation on exactly that path). Do NOT
18
+ # disable the bili-compaction-gate entry itself: it carries the service the
19
+ # presets wait on; to uninstall, remove billion-context from
20
+ # dsh.profile.bundles instead.
14
21
  - insert:
15
22
  - id: bili-native
16
23
  name: billion-context
24
+ - id: bili-compaction-gate
25
+ name: billion-context/dsh-compaction-gate
17
26
  - id: compaction-basic
18
27
  config:
19
28
  auto: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "billion-context",
3
- "version": "0.1.203",
3
+ "version": "0.1.204",
4
4
  "description": "A context-compression plugin \u2014 small context windows (a 100K context is enough), 5x fewer tokens, month-long single sessions (billions of tokens), and compression quality \u2014 for all agents: pi, OpenCode, Codex, Claude Code, and more. billion-context is all you need.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -8,6 +8,7 @@
8
8
  ".": "./dist/agent/dsh-native.js",
9
9
  "./server": "./dist/agent/opencode-native.js",
10
10
  "./dsh": "./dist/agent/dsh-native.js",
11
+ "./dsh-compaction-gate": "./dist/agent/dsh-compaction-gate.js",
11
12
  "./package.json": "./package.json",
12
13
  "./dsh/package.json": "./package.json",
13
14
  "./client": "./dist/agent/dsh-native-client.js"