Sameh Elhawary та samehelhawary
feb261d172
feat(plugins): requests from a plugin to a running language server (API 1.9) ( #3588 )
...
Adds the language-servers import (request / notify, JSON strings, a borrow<project> handle) and the lsp:<server> capability, one grant per server name, high risk, API 1.9. Only the server's own namespace passes: initialize, initialized, shutdown, exit, $/ methods and every LSP namespace (textDocument, workspace, window, …) are refused, in the plugin host and again in LspManager. server is the name of a [[language-servers]] entry matched against what runs for the project; a server that isn't running is not-found and nothing is started. Requests honour the invocation's cancellation and I/O time budget, need a trusted project, and are limited to 256 bytes of method and 1 MiB of params. SDK helpers and mock support, a fixture plugin for the grant checks, docs, and rebuilt components.
Part of #3542
Co-authored-by: samehelhawary <[email protected] >
2026-11-16 03:47:57 +08:00
..
2026-11-11 21:23:38 +08:00
2026-11-16 00:55:52 +08:00
2026-11-16 03:47:57 +08:00
2026-11-14 01:50:31 +08:00
2026-11-15 23:25:59 +08:00
2026-11-15 21:55:09 +08:00
2026-11-13 13:46:25 +08:00
2026-11-11 22:07:04 +08:00
2026-11-11 22:07:04 +08:00
2026-11-16 00:58:42 +08:00
2026-11-09 17:05:20 +08:00
2026-11-09 17:05:20 +08:00
2026-11-04 01:09:07 +08:00
2026-11-12 02:46:50 +08:00
2026-11-12 02:46:50 +08:00
2026-11-01 12:23:08 +08:00
2026-11-01 12:23:08 +08:00
2026-11-01 15:04:28 +08:00
2026-11-01 15:04:28 +08:00
2026-11-15 22:18:58 +08:00
2026-11-10 03:25:21 +08:00
2026-11-13 12:52:26 +08:00
2026-11-13 22:29:59 +08:00
2026-11-01 19:02:00 +08:00
2026-11-13 20:15:01 +08:00
2026-11-15 05:10:11 +08:00
2026-11-06 14:24:59 +08:00
2026-11-06 14:24:59 +08:00
2026-11-12 22:50:59 +08:00
2026-11-12 22:50:59 +08:00
2026-11-12 18:57:51 +08:00
2026-11-06 23:02:34 +08:00
2026-11-06 23:02:34 +08:00
2026-11-08 06:13:21 +08:00
2026-11-08 06:13:21 +08:00
2026-11-12 22:42:10 +08:00
2026-11-12 22:42:10 +08:00
2026-11-14 00:52:49 +08:00
2026-11-14 00:52:49 +08:00
2026-11-12 03:27:33 +08:00
2026-11-11 19:30:15 +08:00
2026-11-15 04:32:12 +08:00
2026-11-09 17:17:27 +08:00
2026-11-10 06:48:36 +08:00
2026-11-09 17:17:27 +08:00
2026-11-03 22:34:29 +08:00
2026-11-03 22:34:29 +08:00
2026-11-13 21:21:12 +08:00
2026-11-04 06:51:41 +08:00
2026-11-04 06:51:41 +08:00
2026-11-12 02:38:45 +08:00
2026-11-12 02:38:45 +08:00
2026-11-10 09:20:33 +08:00
2026-11-14 01:17:26 +08:00
2026-10-25 21:24:00 +08:00
2026-11-15 22:35:17 +08:00
2026-11-15 22:35:17 +08:00
2026-10-25 21:24:00 +08:00
2026-11-05 23:09:55 +08:00
2026-11-05 23:09:55 +08:00
2026-11-14 16:51:45 +08:00
2026-11-07 21:44:03 +08:00
2026-11-11 23:40:04 +08:00
2026-11-11 23:40:04 +08:00
2026-11-04 14:22:38 +08:00
2026-11-11 00:25:31 +08:00
2026-10-23 15:40:41 +08:00
2026-11-10 03:14:20 +08:00
2026-11-10 03:14:20 +08:00
2026-11-05 21:50:06 +08:00
2026-10-27 18:56:54 +08:00
2026-11-05 21:50:06 +08:00
2026-11-15 01:20:26 +08:00
2026-11-12 02:09:24 +08:00
2026-11-12 02:09:24 +08:00
2026-11-11 17:10:21 +08:00
2026-10-27 12:09:51 +08:00
2026-10-27 18:56:54 +08:00
2026-11-15 11:25:37 +08:00
2026-11-15 11:25:37 +08:00
2026-11-01 17:19:00 +08:00
2026-11-04 02:54:31 +08:00
2026-11-16 01:05:20 +08:00
2026-11-08 00:05:41 +08:00
2026-11-12 02:09:24 +08:00
2026-11-12 02:09:24 +08:00
2026-11-12 02:09:24 +08:00
2026-11-16 03:32:43 +08:00
2026-11-14 10:28:39 +08:00
2026-11-14 10:28:39 +08:00
2026-11-01 00:14:56 +08:00
2026-11-01 00:14:56 +08:00
2026-11-12 02:09:24 +08:00
2026-11-12 02:09:24 +08:00
2026-11-11 23:32:18 +08:00
2026-11-13 11:05:12 +08:00
2026-11-08 01:16:31 +08:00
2026-11-08 01:16:31 +08:00
2026-11-11 22:18:48 +08:00
2026-11-11 22:18:48 +08:00
2026-11-13 09:53:08 +08:00
2026-11-13 09:53:08 +08:00
2026-11-09 08:40:40 +08:00
2026-11-04 20:44:19 +08:00
2026-11-04 20:44:19 +08:00
2026-11-09 19:23:05 +08:00
2026-11-15 04:32:12 +08:00
2026-11-05 11:23:39 +08:00
2026-11-05 11:23:39 +08:00
2026-10-31 20:58:45 +08:00
2026-10-30 22:45:42 +08:00
2026-11-01 16:58:49 +08:00
2026-10-29 10:43:30 +08:00
2026-10-29 10:43:30 +08:00
2026-11-11 16:42:32 +08:00
2026-11-11 16:42:32 +08:00
2026-11-10 06:40:08 +08:00
2026-11-13 11:05:12 +08:00
2026-11-15 16:48:07 +08:00
2026-11-13 19:18:33 +08:00
2026-11-05 13:33:35 +08:00
2026-11-05 13:33:35 +08:00
2026-11-09 08:40:40 +08:00
2026-10-25 21:24:00 +08:00
2026-10-25 21:24:00 +08:00
2026-11-08 00:21:42 +08:00
2026-11-08 23:27:01 +08:00
2026-10-29 23:35:33 +08:00
2026-10-29 23:35:33 +08:00
2026-11-07 10:56:59 +08:00
2026-11-05 21:38:12 +08:00
2026-11-12 22:42:10 +08:00
2026-11-12 22:42:10 +08:00
2026-11-04 02:54:31 +08:00
2026-11-11 16:42:32 +08:00
2026-11-10 08:21:28 +08:00
2026-11-15 04:32:12 +08:00
2026-11-10 10:03:35 +08:00
2026-11-10 10:03:35 +08:00
2026-10-29 15:01:01 +08:00
2026-10-30 22:45:42 +08:00
2026-10-30 22:45:42 +08:00
2026-11-12 19:01:01 +08:00
2026-11-15 22:18:58 +08:00
2026-10-31 22:38:16 +08:00