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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 0.9.5 — 2026-07-08

**Patch release** — transcript truncation fix plus dependency refresh.

### Changed

- `formatTranscript()` now prefixes the truncation marker so long transcripts satisfy the expected contract.
- Merged the current Dependabot updates for `actions/setup-node`, `actions/checkout`, and the npm minor/patch group.

---

## 0.9.4 — 2026-07-03

**Workflow smoke test release** — same scheme as 0.9.2/0.9.3.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opencode-goal-mode",
"version": "0.9.4",
"version": "0.9.5",
"description": "OpenCode Goal Mode 0.9 — native goal agent + server plugin: goal_set, idle evaluator, auto-continue until YES. Simple, no sidebar, no guard.",
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion plugins/goal-mode/transcript.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function formatTranscript(messages, maxChars = DEFAULT_MAX_CHARS) {
const half = Math.floor(Math.max(1, maxChars) / 2);
const head = out.slice(0, half);
const tail = out.slice(-half);
out = `${head}\n\n...[transcript truncated — ${out.length} total chars, keeping first ${half} + last ${half}]\n\n${tail}`;
out = `[transcript truncated — ${out.length} total chars, keeping first ${half} + last ${half}]\n\n${head}\n\n${tail}`;
}
return out;
}
Expand Down