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
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,16 @@ For the complete list with root cause analysis, see the [bug tracker](https://gi

## Changelog

### v1.14.17 — Per-PR npm preview builds + release publishing feedback (#298)

**Problem**: There was no way to install and test a PR's build before merging, and after a release merge nothing on the PR confirmed which version was published to npm.

**Fix** (#298): New `.github/workflows/pr-artifact.yml` — on every PR to master: build the plugin, publish it to npm under a `pr-<N>` tag (version `<base>-pr.<N>.<run>`), upload the tarball + `dist/` as a workflow artifact (30-day retention), and comment install instructions on the PR. `release.yml` additionally comments the published version on the associated PR after a release merge. No plugin runtime changes in this release.

Files: `.github/workflows/pr-artifact.yml`, `.github/workflows/release.yml`. Tests: 976 pass.

**Install**: `opencode plugin opencode-acp@latest --global`

### v1.14.16 — Raise context limits to 80%

**Problem**: The compression thresholds were `maxContextLimit: 55%` / `minContextLimit: 45%`. The strong "over-limit" nudge fired as soon as context exceeded 55% of the model window. Combined with the fixed 50K growth threshold (v1.14.15), this still engaged compression relatively early, leaving usable context unused.
Expand Down
10 changes: 10 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,16 @@ ACP 是 DCP 的直接替代品。迁移步骤:

## 更新日志

### v1.14.17 — PR 预览构建发布 npm + 发版发布反馈(#298)

**问题**:合并前无法安装测试 PR 的构建产物;发版合并后 PR 上也没有确认发布到了 npm 的哪个版本。

**修复**(#298):新增 \`.github/workflows/pr-artifact.yml\` —— 每个指向 master 的 PR:构建插件、以 \`pr-<N>\` tag 发布到 npm(版本 \`<base>-pr.<N>.<run>\`)、上传 tarball + \`dist/\` 作为 workflow artifact(保留 30 天)、在 PR 上评论安装指引。\`release.yml\` 另在发版合并后于关联 PR 评论已发布版本。本版本不含插件运行时行为变更。

文件:\`.github/workflows/pr-artifact.yml\`、\`.github/workflows/release.yml\`。测试:976 通过。

**安装**:`opencode plugin opencode-acp@latest --global`

### v1.14.16 — 将上下文 limit 提升至 80%

**问题**:压缩阈值原为 `maxContextLimit: 55%` / `minContextLimit: 45%`。上下文一旦超过模型窗口的 55% 就会触发强「超限」nudge。配合 v1.14.15 固定的 50K 增长阈值,压缩仍较早介入,可用上下文未被充分利用。
Expand Down
36 changes: 36 additions & 0 deletions devlog/2026-08-14_release-v1.14.17/REQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# REQ — v1.14.17: Stable release of master (per-PR npm preview builds)

## Background

One substantive change merged to master since v1.14.16 and is unreleased:

- #298 (`0c59851`) — new `.github/workflows/pr-artifact.yml`: every PR to
master builds the plugin, publishes it to npm under a `pr-<N>` tag
(version `<base>-pr.<N>.<run>`), uploads the tarball + `dist/` as a
workflow artifact (30-day retention), and comments install instructions
on the PR. `release.yml` also comments the published version on the
associated PR after a release merge. `package.json` gained one line
(npm publish config).

Note on #299 (`8a2bee3`): its merge commit contains ONLY devlog files. The
workflow change its WORKLOG describes (`pr-artifact.yml` `GITHUB_OUTPUT`
version display) is NOT on master — the code change was lost before merge.
This release therefore credits #298 only; #299's functionality needs a
follow-up PR if still wanted.

The pending #301 fix PRs (#302, #303) are intentionally NOT part of this
release; they merge after and ship in a later version.

## Requirement

Cut a stable release from current master (`8a2bee3`) per AGENTS.md §5.4.2:
branch `2026-08-14_release-v1.14.17`, version 1.14.16 → 1.14.17, bilingual
changelog describing #298 accurately, release commit containing ONLY the 5
release files.

## Acceptance criteria

- `./scripts/ci/check-pr.sh 2026-08-14_release-v1.14.17 github/master` passes.
- typecheck + tests green (code identical to master).
- Merge triggers release.yml: tag `v1.14.17`, npm publish `latest`,
GitHub Release.
42 changes: 42 additions & 0 deletions devlog/2026-08-14_release-v1.14.17/WORKLOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# WORKLOG — v1.14.17: Stable release of master (per-PR npm preview builds)

## Investigation

- `git log v1.14.16..master`: one substantive commit since v1.14.16 —
#298 (`0c59851`): new `pr-artifact.yml` (per-PR npm publish under
`pr-<N>` tag, tarball + dist/ artifact upload, PR install-instructions
comment) + `release.yml` published-version comment + one package.json
line. CI/workflow-only; no runtime changes.
- #299 (`8a2bee3`) merged with ONLY its devlog files — the workflow change
its WORKLOG describes (`GITHUB_OUTPUT` version display in pr-artifact.yml)
is NOT on master (verified by grep). Changelog credits #298 only.
- Prior release PR (#304, closed) incorrectly carried the #301 fix commits
on the release branch. AGENTS.md convention (verified against
v1.14.8–v1.14.16): release commits contain only the 5 release files;
feature code reaches master through its own PRs before the release branch
is cut.

## Change

Release files only:

- `package.json`: 1.14.16 → 1.14.17.
- `README.md` / `README.zh-CN.md`: v1.14.17 changelog entries (#298).
- `devlog/2026-08-14_release-v1.14.17/REQ.md` + `WORKLOG.md` (this pair).

Branch reset to `github/master` (`8a2bee3`) — code identical to master.

## Verification

- typecheck (`tsc --noEmit`): clean.
- tests: 976 pass / 0 fail.
- `./scripts/ci/check-pr.sh 2026-08-14_release-v1.14.17 github/master`: all
checks passed.

## Release

- Commit `release: v1.14.17 — CI dist artifact + npm version display`.
- Merge (human) triggers release.yml → tag `v1.14.17` → npm `latest` →
GitHub Release.
- #302/#303 (#301 fixes) merge AFTER this release and ship in a later
version.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "opencode-acp",
"version": "1.14.16",
"version": "1.14.17",
"type": "module",
"description": "Active Context Pruning — model-driven context management for OpenCode (hardened fork of DCP with 35 bug fixes)",
"main": "./dist/index.js",
Expand Down
Loading