Files
autocomplete-model/.gitea/workflows/ci.yml
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

31 lines
919 B
YAML

# Runs on any Gitea Actions runner with the ubuntu-latest label (needs Node; no GPU, no models).
name: ci
on:
push:
branches: [main]
tags: ['vscode-v*']
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: false # the models aren't needed to build or test the extension
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm run setup
- run: npm test
- run: npm run build
- uses: actions/upload-artifact@v3
with:
name: vsix
path: extensions/vscode/*.vsix
# On a vscode-v* tag, publish the release with the VSIX (repo secret RELEASE_TOKEN: write:repository).
- if: startsWith(github.ref, 'refs/tags/vscode-v')
env:
GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: node scripts/publish-extension-release.mjs