Skip to content

Conversation

@govambam
Copy link
Owner

@govambam govambam commented Feb 4, 2026

Recreated from writer#1263 for Macroscope review.

Original PR: writer#1263 by @bybash
Status: open (open)

Recreated using direct PR head fetch - exact current state preserved.

Original PR: writer#1263

@macroscopeapp
Copy link

macroscopeapp bot commented Feb 4, 2026

Add Python LSP-backed code completion and diagnostics to the Builder embedded editor in edit mode and expose /api/lsp-config and /api/code-completion (50KB max request) from the backend

Introduce a backend pylsp lifecycle via writer.LSPManager with WebSocket transport and new edit-mode endpoints, and wire a Monaco LSP client with completion, diagnostics filtering, and optional AI completion using monacopilot, including VSCode service overrides and build/runtime dependencies.

📍Where to Start

Start with the server lifecycle and endpoints in writer.serve.get_asgi_app and writer.serve.code_completion within serve.py, then review the LSP client bootstrap in lspClient.ts and its initialization in lspSetup.ts.


Macroscope summarized 421e788.

@govambam govambam closed this Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants