Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[English](./README.en.md) | [中文](./README.md)

> **⚠️ Beta notice — not for production use**
> This project (**v0.2.21**) is a work-in-progress beta. The [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) itself is also in **public beta**. **Do not use either in engineering / production environments** — expect breaking changes and rough edges.
> This project (**v0.2.22**) is a work-in-progress beta. The [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) itself is also in **public beta**. **Do not use either in engineering / production environments** — expect breaking changes and rough edges.

<p align="center">
<strong>Built with gratitude on top of these projects</strong> — please give them a ⭐:
Expand Down Expand Up @@ -100,7 +100,7 @@ This only installs the package into your project/global store; it does **not** t
**Install from the git source (`github:` spec — the form the plugin store shows).** The prebuilt `dist/` artifacts are committed to this repository, so a git-source install also works out of the box — **no build step needed**, and pnpm 11's default build-script blocking (`allowBuilds`) never applies to this package:

```bash
dsh plugin --profile web add github:Tyan66666/billion-context-dsh#v0.2.21
dsh plugin --profile web add github:Tyan66666/billion-context-dsh#v0.2.22
```

Prefer a `#<tag>` ref to get artifacts identical to that npm release; without a ref you get the latest default-branch build. Only building the repo yourself (`npm run build`) requires approving build scripts. Background and trade-offs: [docs/git-source-install-design.md](docs/git-source-install-design.md) (issue #92).
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[中文](./README.md) | [English](./README.en.md)

> **⚠️ 测试版声明——请勿用于生产环境**
> 本项目(**v0.2.21**)仍处于开发中的测试版。[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 本身也处于**公开测试版**阶段。**请勿将两者用于工程化 / 生产环境**——预期会有破坏性变更与粗糙之处。
> 本项目(**v0.2.22**)仍处于开发中的测试版。[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 本身也处于**公开测试版**阶段。**请勿将两者用于工程化 / 生产环境**——预期会有破坏性变更与粗糙之处。

<p align="center">
<strong>衷心感谢以下项目——请给它们一个 ⭐:</strong>
Expand Down Expand Up @@ -99,7 +99,7 @@ npm install billion-context-dsh
**git 源安装(`github:` 规格,插件商店展示的形态)。** 预构建产物 `dist/` 已提交到仓库,从 git 源安装同样开箱即用——**无需任何构建步骤**,pnpm 11 默认拦截构建脚本(`allowBuilds`)的机制对这个包不构成障碍:

```bash
dsh plugin --profile web add github:Tyan66666/billion-context-dsh#v0.2.21
dsh plugin --profile web add github:Tyan66666/billion-context-dsh#v0.2.22
```

建议带 `#<tag>` 安装,拿到与对应 npm 版本完全一致的产物;不带 ref 则装默认分支的最新构建。只有 clone 仓库自行从源码构建(`npm run build`)才需要放行构建。背景与方案取舍见 [docs/git-source-install-design.md](docs/git-source-install-design.md)(issue #92)。
Expand Down
38 changes: 4 additions & 34 deletions docs/README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# billion-context-dsh

> **⚠️ Beta notice** — this project (v0.2.21) and the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) are both in **public beta**: do not use in engineering / production environments.
> **⚠️ Beta notice** — this project (v0.2.22) and the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) are both in **public beta**: do not use in engineering / production environments.

**Model-driven context management (Active Context Pruning / ACP) for the DeepSeek Harness.** The model decides *when* and *what* to compress — not a hard limit. Ported from [billion-context-pi](https://github.com/ranxianglei/billion-context-pi) (by [ranxianglei](https://github.com/ranxianglei), MIT); the compression core [acp-kernel](https://github.com/ranxianglei/acp-kernel) is reused verbatim.

Expand All @@ -19,6 +19,6 @@
## 🔗 Quick links

- **Repository**: [github.com/Tyan66666/billion-context-dsh](https://github.com/Tyan66666/billion-context-dsh)
- **npm**: [billion-context-dsh@0.2.21](https://www.npmjs.com/package/billion-context-dsh)
- **Releases**: [v0.2.21](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.21) · [v0.2.19](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.19) · [v0.2.18](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.18) · [v0.2.17](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.17) · [v0.2.16](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.16) · [v0.2.15](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.15) · [v0.2.14](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.14) · [v0.2.13](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.13) · [v0.2.12](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.12) · [v0.2.11](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.11) · [v0.2.10](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.10) · [v0.2.8](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.8) · [v0.2.7](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.7) · [v0.2.5](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.5) · [v0.2.4](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.4) · [v0.2.3](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.3) · [v0.2.2](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.2) · [v0.2.1](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.1) · [v0.2.0](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.2.0) · [v0.1.9](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.9) · [v0.1.8](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.8) · [v0.1.7](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.7) · [v0.1.6](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.6) · [v0.1.5](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.5) · [v0.1.4](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.4) · [v0.1.3](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.3) · [v0.1.2](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.2) · [v0.1.1](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.1) · [v0.1.0](https://github.com/Tyan66666/billion-context-dsh/releases/tag/v0.1.0)
- **npm**: [billion-context-dsh@0.2.22](https://www.npmjs.com/package/billion-context-dsh)
- **Releases**: [GitHub Releases](https://github.com/Tyan66666/billion-context-dsh/releases)(全量历史、变更记录与致谢)
- **Upstream**: [billion-context-pi](https://github.com/ranxianglei/billion-context-pi) · [acp-kernel](https://github.com/ranxianglei/acp-kernel) · [opencode-acp](https://github.com/ranxianglei/opencode-acp) · [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)
2 changes: 1 addition & 1 deletion docs/presets-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

## 2. 关键依赖事实(已验证)

- **#75 Phase 1 尚未合入 main。** main = `bb9f2f6`(release v0.2.21),无 `src/settings.ts`;分支 `feat/runtime-settings-75` 有该文件但未合并,且基于 v0.2.20 之前。PR 合并仅人工,无法拉进一个以 main 为基的 PR。
- **#75 Phase 1 已合入 main(随 v0.2.22 发布)。** 本段记录的是合入前的状态:当时 main = `bb9f2f6`(release v0.2.21),无 `src/settings.ts`;分支 `feat/runtime-settings-75` 有该文件但未合并,且基于 v0.2.20 之前。PR 合并仅人工,无法拉进一个以 main 为基的 PR。
- **因此预设先落在组合配置层**:引擎构造时读 `config.preset`,随 bundle 安装或 `cordis.patch.yml` 的 `config:` 生效,今天就能用。等 #75 把六个标量键接进 settings 命名空间后,再把 `preset` 别名暴露到同一通道是个小跟进(不与 #75 冲突——#75 加的是六个标量键,不是预设别名,两者正交)。
- **拼错 preset 会让 profile 起不来**:bundle 行本身刻意不带 `config`(AGENTS.md 硬性规则 8),所以 `preset` 只能来自用户自己写的同 id `compaction-acp` 行;该行构造抛错即挂载失败,profile 会在配置修好前一直无法启动。这是 fail-fast 的既定行为(与自定义提示词模板同一类),值得在 README 里说明,避免用户把它当成崩溃。

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "billion-context-dsh",
"version": "0.2.21",
"version": "0.2.22",
"description": "Active Context Pruning (ACP) for the DeepSeek Harness — model-driven context management as a CompactionEngine backend.",
"keywords": [
"deepseek",
Expand Down
Loading