feat(plugins): tidy the unreleased 1.3 API before it freezes (#2079)

- workspace.symbols becomes the project method project.symbols(query, limit), like find-files; the Rust SDK's Project::symbols is unchanged, components built against the previous main need a rebuild.
- The open-log-tab web message names its arguments args, as pty-spawn and the services process-log do; baseArgs is refused with log-error rather than ignored.
- Document the hover, semantic-tokens and diagnostics provider exports and their worlds.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-08 09:43:29 +08:00
1 джерело 32a778d28d
коміт ec171c3188
86 files changed
+177 -111

No files matched your search

+3 -3
Переглянути файл
@@ -1119,7 +1119,7 @@ openidea.postMessage(JSON.stringify({
key: "server-output",
title: "Server logs",
program: "my-server",
baseArgs: ["logs"],
args: ["logs"],
toggles: [{ id: "verbose", label: "Verbose", args: ["--verbose"] }],
}));
```
@@ -1130,9 +1130,9 @@ session caps and lifecycle rules are the same as for web frame PTYs. The tab
uses the backend PTY API, never a shell fallback. It supplies no environment
overrides; the environment is inherited. A shell requires its own explicit grant.
`program` is required. `baseArgs` and `toggles` default to empty arrays; `title`
`program` is required. `args` and `toggles` default to empty arrays; `title`
defaults to the program. Each toggle has a unique `id`, a plugin-localized
`label`, and `args` appended after `baseArgs` in declaration order. Changing a
`label`, and `args` appended after the top-level `args` in declaration order. Changing a
toggle terminates the previous process and replaces the stream. `key` defaults
to the title and is scoped to the calling plugin and view; reopening the same
key focuses its existing tab. Titles are at most 256 characters, keys 128,
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
344df18074d7171c42ae2c245e6ea2beeb7119ed6bf74b76503d241513ddcdba
b390c7f6acf5d32cbf451faf7a6393f2d4f130d5131ef0857a2b0904c434f598
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
b5f99458a32d54373661e8f61569b1e675e19594275036153b8c52fea74d8f69
1eea85130f5feacdcd6aade3548ac8e6ca4c1b316441346a89a7be6c13caaba7
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
b6f765692f944b63cb9ec0749a49c9d3be077b0eab709f148ffb0fb058ff1829
d2e1a074d81a4f29935524b6ba11a94d6a9bc301833ea721ed9e7cab461e198e
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
27a37336df957085a73504c5957033f1b178bcc47c190ffcd234ebad2d900817
150ed795daab29e3a152e50ebdf5e4ec3ca569d792962b77fce5fac428e7e076
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
99f00d65801c278a6d8a4e4466d0bf71738233c849dfcaf44902d60a557b8757
580e19fd349b6be1f2d4c32e572015337ef8f1e73b1b1f24199fc6d4ea73189f
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
0ace6d1b7f9f3cac0d23f92660d97d6eb6c79174203471970f3e4ca9f7d9b531
64d1e9a8bf48355f380feba052ea0ffb5f4ae7957b04d0a62a04e1d49d6ed690
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
9241c310c638a6a2e5e90e32c0651c76184498d193ad344f762f33a301bcaaab
ef76535391c4186a6373ef61197d96cc3ad7c42f47505ec75328ba5385e4df6e
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
e484774db29b214fb7247c6a403a7c9dbfaa030b0315c353826bf44982f82d61
246a3ace4e3ccdd9ed4f2499cde275c9ea2402fbb902893cc2d8d3403175bd47
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
ec03327641cc9f32d9205718847939981b3ec5e74e4aa2b800ba1598bccdb70f
75b3b93fe5ca2c5a58052c931f4d9cd824c379227d7f4cd8477fa89d045cda06
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
baf14df1362b15a0022456d3ea927b9fe07533dabf1fb717888ea98179152464
59f62db0a1c20a1d4fa6b380cd3272ec70ea4789835873d0abe3839ec08c94c3
Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
5c96088e3f31ee74669bb4481fee6c95f51a9d875ad9bed9123f3e0de1a6ead5
548c6ed16fcd5d3a053bf6d8417d52ebd0fd74138d0665e9205eb8bf32ec497a