mirror of
https://github.com/larsbaunwall/vscode-copilot-bridge.git
synced 2025-10-05 22:22:59 +00:00
feat(vscode-bridge): Copilot Chat bridge (OpenAI facade + JSON-RPC tools)
- Implements VS Code extension per AGENTS.md specification
- OpenAI-style HTTP facade: POST /v1/chat/completions (SSE), GET /v1/models, GET /healthz
- JSON-RPC WebSocket server with methods: mcp.fs.read/list, mcp.search.code, mcp.symbols.list, mcp.edit.applyPatch, mcp.format.apply, mcp.imports.organize
- Copilot Chat integration via vscode.chat.requestChatAccess('copilot')
- Commands: bridge.enable/disable/status with status bar indicator
- Security: localhost-only binding, optional bearer token, read-only by default
- Policy enforcement via optional .agent-policy.yaml
- Ephemeral port management with globalState persistence
Co-Authored-By: Lars Baunwall <larslb@thinkability.dk>
This commit is contained in:
parent
112475def8
commit
b1105e5869
588 changed files with 548248 additions and 0 deletions
10
vscode-bridge/node_modules/yaml/dist/stringify/stringifyComment.d.ts
generated
vendored
Normal file
10
vscode-bridge/node_modules/yaml/dist/stringify/stringifyComment.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* Stringifies a comment.
|
||||
*
|
||||
* Empty comment lines are left empty,
|
||||
* lines consisting of a single space are replaced by `#`,
|
||||
* and all other lines are prefixed with a `#`.
|
||||
*/
|
||||
export declare const stringifyComment: (str: string) => string;
|
||||
export declare function indentComment(comment: string, indent: string): string;
|
||||
export declare const lineComment: (str: string, indent: string, comment: string) => string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue