billion-context-pi 0.0.1
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 +38 -0
- package/index.js +14 -0
- package/package.json +15 -0
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# billion-context-pi
|
|
2
|
+
|
|
3
|
+
> One billion, not one million. Model-driven context management for the Pi coding agent.
|
|
4
|
+
|
|
5
|
+
**Status: 0.0.1 placeholder.** This package reserves the name for the upcoming rename of [`pai-acp`](https://github.com/ranxianglei/pai-acp). The first real release under this name is coming soon.
|
|
6
|
+
|
|
7
|
+
## What it will be
|
|
8
|
+
|
|
9
|
+
The Pi extension for `billion-context` — model-driven context management that compresses long-running coding agent sessions from hundreds of millions of tokens down to a stable working set (~140K), keeping the prefix cache warm and preserving every detail via searchable, reversible summaries.
|
|
10
|
+
|
|
11
|
+
## Features (shipping today as `pai-acp`)
|
|
12
|
+
|
|
13
|
+
- **compress** — Replace consumed conversation ranges with dense, self-contained summaries.
|
|
14
|
+
- **decompress** — Restore previously compressed blocks on demand.
|
|
15
|
+
- **search_context** — Search compressed block summaries by keyword.
|
|
16
|
+
- **acp_status** — Context status overview with compressible ranges.
|
|
17
|
+
- **acp_delegate** — Delegate tasks to fresh sub-agents in a clean context.
|
|
18
|
+
|
|
19
|
+
## Install
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pi install pai-acp
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Once renamed:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pi install billion-context-pi
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Related
|
|
32
|
+
|
|
33
|
+
- [`billion-context`](https://www.npmjs.com/package/billion-context) — platform-agnostic core (reserved).
|
|
34
|
+
- [`billion-context-opencode`](https://www.npmjs.com/package/billion-context-opencode) — opencode adapter (reserved).
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
MIT
|
package/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// billion-context-pi
|
|
2
|
+
///
|
|
3
|
+
/// One billion, not one million — model-driven context management for the
|
|
4
|
+
/// Pi coding agent.
|
|
5
|
+
///
|
|
6
|
+
/// This 0.0.1 is a name reservation. The first real release (an actual Pi
|
|
7
|
+
/// extension) is coming soon. In the meantime, the same functionality ships
|
|
8
|
+
/// under the name `pai-acp`:
|
|
9
|
+
/// https://github.com/ranxianglei/pai-acp
|
|
10
|
+
///
|
|
11
|
+
/// Install today: pi install pai-acp
|
|
12
|
+
|
|
13
|
+
"use strict";
|
|
14
|
+
module.exports = {};
|
package/package.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "billion-context-pi",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "One billion, not one million. Model-driven context management for the Pi coding agent. Placeholder — currently released as pai-acp.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "ranxianglei <ranxianglei@gmail.com>",
|
|
7
|
+
"homepage": "https://github.com/ranxianglei/billion-context-pi",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/ranxianglei/billion-context-pi.git"
|
|
11
|
+
},
|
|
12
|
+
"keywords": ["context", "compression", "llm", "agent", "pi", "coding-agent", "acp", "context-window"],
|
|
13
|
+
"main": "index.js",
|
|
14
|
+
"files": ["index.js", "README.md"]
|
|
15
|
+
}
|