Files
autocomplete-model/CHANGELOG.md
T
HarvmasterandClaude Opus 5.5 87d3c3c3bf
ci / build (push) Canceled after 0s
Extension 0.6.0: next-edit, token healing, TS errors context, cursor-move, prewarm
- shared/nextedit.ts: next-edit prompt format (region rewrite or NO_EDIT, Qwen spare special tokens)
- shared/diagnostics.ts: TS errors near the cursor as context; symbols format 2 adds namespace imports
- shared/prompt.ts: token healing (cut the half-typed word, force it via grammar), errors header section
- daemon: model profiles carry contextFormat/errors/members/nextEdit; /v1/next-edit with edit-burst
  tracking; /v1/prewarm; /v1/debug/last; token healing on by default
- extension: next-edit decorations (Tab apply / Esc dismiss), suggest on cursor move, prewarm on focus,
  Show Last Prompt, update check against releases, diagnostics in the edit recorder
- models/README: training-data attribution; release script profiles for stage-d/stage-e
- .gitea/workflows/ci.yml: build + test, publish release on vscode-v* tags (needs a runner + RELEASE_TOKEN)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J39imRDT8L7xYbWzsVWd8A
2026-10-03 17:21:38 +00:00

42 lines
3.2 KiB
Markdown

# Changelog
Extension versions are released as `vscode-v<version>` on the [Releases](https://git.harvmaster.com/Harvmaster/autocomplete-model/releases) page. Models are versioned by their name in [`models/manifest.json`](models/manifest.json).
## vscode 0.6.0
- **Next-edit suggestions** (with models trained for it, e.g. the upcoming `stage-e`): after you pause typing, the model may suggest an edit around the cursor, such as removing a leftover `)` or updating a renamed variable's uses. Single-line changes show deleted text struck through and inserted text as ghost text; multi-line changes are highlighted with the diff on hover. **Tab** applies, **Esc** dismisses. Setting: `nextEdit.enabled`.
- **Token healing:** completions that start mid-word (`this.connections.del▮`) now finish the word instead of skipping it.
- **Suggest on cursor move** (`triggerOnCursorMove`, off by default): with next-edit models it predicts what you came to change; otherwise it only fires on empty lines, line ends and lines with errors.
- **Pre-warm on focus** (`prewarmOnFocus`, off by default): fills the model cache when you switch files, so the first keystroke is fast.
- **Show Last Prompt** command: the exact prompt the model saw, its raw output and timings.
- **Update check** against the Releases page (daily; `checkForUpdates`), with one-click install.
- Edit recorder also records VS Code's diagnostics (TS, Vue, ESLint) for recorded files.
- Daemon: model profiles carry the prompt format they were trained with (`contextFormat`, `errors`, `nextEdit`), so newer models get TS errors and namespace-import symbols in their context.
## vscode 0.5.0
- New repository layout (`models/`, `extensions/vscode/`, `daemon/`, `shared/`). The model manifest moved to `models/manifest.json`, and the default `localAutocomplete.modelManifestUrl` follows it.
- Publisher is now `harvmaster` (extension id `harvmaster.local-autocomplete`). **Uninstall the old `local.local-autocomplete` first.** The model is downloaded once more, into the new extension's storage.
- MIT license, repository links, versioned VSIX file names.
## vscode 0.4.0
- **Managed mode (default):** downloads the model (from `models/manifest.json`) and the pinned llama.cpp build on first use, SHA-256 verified and resumable, then runs the bundled daemon on VS Code's own Node runtime. Shared by all windows; exits when idle; replaced automatically after updates.
- Custom models via `localAutocomplete.modelPath` + `modelProfile`; custom llama-server via `llamaServerPath`.
- External mode (`daemon.mode: "external"`) keeps the previous behaviour.
## vscode 0.3.0
- Recording-only mode (`enableCompletions: false` + `recordingDir`), cursor-move and file-switch events, events tagged with the editor app (Cursor notice).
## vscode 0.2.0
- `symbols` context mode (TypeScript language service, same code as training data generation).
- Missing-`this.` repair: `getU` → `this.getUser(id)` when the name only exists on the class.
- Opt-in edit recorder (`recordEdits`).
- Fix: a function's closing `}` was being trimmed when the next line also closed a block.
## vscode 0.1.0
- First version: inline completions via the acd daemon, context-mode toggle in the status bar, cancellation, exclusion globs.