Commit graph

35 commits

Author SHA1 Message Date
Lars Baunwall
70a077ca51
Refactor code to be more clean and modularized. Bump package version 2025-09-29 18:27:29 +02:00
Lars Baunwall
ef1526c76a
Add copilot instructions 2025-09-29 17:59:52 +02:00
Lars Baunwall
e4a24785bb
Add copilot instructions 2025-09-29 17:59:38 +02:00
Lars Baunwall
6b20e60f5b
Add AGENTS instructions 2025-08-20 19:58:11 +02:00
Lars Baunwall
c25bbcef37
Add F5 debug config 2025-08-20 19:58:00 +02:00
Lars Baunwall
5127dc0b7f
Refactor code to make it more readable. Fix model family selection that was not working 2025-08-20 19:57:38 +02:00
Lars Baunwall
7782ff0727
Bump version 2025-08-13 08:17:39 +02:00
Lars Baunwall
3feb817be2
Add a bit of background to the readme 2025-08-13 00:29:46 +02:00
Lars Baunwall
4e29217d99
Add icon and refresh the readme 2025-08-13 00:01:17 +02:00
Lars Baunwall
5e42e4594e
Create LICENSE 2025-08-12 23:17:48 +02:00
Lars Baunwall
98ce01fc09
Merge pull request #3 from larsbaunwall/devin/1755031229-modularize-polka
Refactor extension: modularize and migrate HTTP server to Polka
2025-08-12 23:07:32 +02:00
Devin AI
d91cdc3418 fix(http): use app.server after listen; avoid calling on() on return; bump to 0.1.5
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 20:59:53 +00:00
Devin AI
684e71eebe chore(release): bump version to 0.1.4
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 20:53:04 +00:00
Devin AI
013c882789 chore(release): bump version to 0.1.3
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 20:48:16 +00:00
Devin AI
0abb0c7f2d feat(http): replace Node http server with Polka; preserve SSE and endpoints
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 20:40:55 +00:00
Devin AI
c8afe9ee17 refactor(extension): extract config/state/logging/models/messages/http modules (SRP)
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 20:40:55 +00:00
Lars Baunwall
f4e6b390e3
Clean-up the extention code 2025-08-12 22:18:05 +02:00
Lars Baunwall
2067dd2e83
Merge pull request #2 from larsbaunwall/devin/1755020175-copilot-bridge
VS Code Copilot Bridge: local OpenAI-compatible chat endpoint (Desktop, SSE, health, models)
2025-08-12 21:40:49 +02:00
Devin AI
d87fe971b9 Models: dynamic Copilot model listing via LM API; inference supports explicit model selection with 404 model_not_found when unavailable
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 19:34:44 +00:00
Devin AI
f37d4306bc readJson: include data snippet in JSON parse error
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 19:27:47 +00:00
Devin AI
4fd1026e4d nit: name error in catch for JSON.stringify fallback
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 19:25:10 +00:00
Devin AI
a636147dd9 Address review: fix token label ('Set' vs 'None') and remove redundant verbose check in /healthz logging.
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 19:19:58 +00:00
Devin AI
81dd561730 Refactor: migrate Copilot bridge to VS Code Language Model API (vscode.lm). Replace Chat API flow, add robust LM guards and reason codes, update README/manifest, remove Chat API shim.
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 18:46:01 +00:00
Devin AI
71495c6812 Copilot Chat API guard + reason fields: detect missing proposed API, add reason in /healthz and 503 errors, verbose diagnostics, docs; manifest opts into chat proposals
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 18:34:19 +00:00
Devin AI
e61d191ebf Logs/docs: add /healthz verbose log and README ‘Viewing logs’ steps
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 18:25:59 +00:00
Devin AI
862eab2a4a Copilot access auto-reacquire: per-request getAccess(), healthz best-effort under verbose, live status/log updates
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 18:17:07 +00:00
Devin AI
71bf0e1422 chore: add vsce devDependency and package VSIX artifact locally
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 17:50:20 +00:00
Devin AI
8c7c58bfbd Docs: add README with setup, config, and curl testing instructions
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 17:47:45 +00:00
Devin AI
5261239628 Type shim: add minimal VS Code Chat API declarations to compile against proposed API
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 17:46:21 +00:00
Devin AI
e0bca1d50c Cleanup: ensure single throttle guard and request-start instrumentation
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 17:43:49 +00:00
Devin AI
89bb2c0659 Fix try/finally for concurrency, remove duplicate maxConcurrent, add verbose config log
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 17:42:50 +00:00
Devin AI
4bc97d81ac Bridge hardening: 400 payload validation, 429 concurrency cap (configurable), and verbose logging option
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 17:40:07 +00:00
Devin AI
52bd219586 VS Code Copilot Bridge: local OpenAI-compatible HTTP facade to Copilot Chat (SSE + health + models)
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
2025-08-12 17:36:15 +00:00
Lars Baunwall
5147636f02
Rewrite agent instructions 2025-08-12 19:33:14 +02:00
Lars Baunwall
112475def8
Add initial scope in agents file 2025-08-12 18:36:24 +02:00