This extension sends the active editor context to the locally running AAAi app at
http://127.0.0.1:18480/api/context/ide.
When the selection contains non-whitespace text, the payload contains the active file, owning workspace folder, language, selection, and 1-based cursor/selection positions. Empty selections are not sent. Updates are debounced by 500ms. Delivery is best-effort, so editing is unaffected when AAAi is not running.
Development
npm install
npm run check
npm run compile
Press F5 in VS Code to run an Extension Development Host, or package the extension
with npm run package.
完整的打包、本地验证和 Marketplace 上传流程见 PUBLISHING.md。