chore: v0.1.50

This commit is contained in:
l0ng-ai
2026-11-21 21:03:57 +08:00
parent fa33819afb
commit 83364c5423
33 changed files with 168 additions and 93 deletions
Generated
+48 -48
View File
@@ -4144,7 +4144,7 @@ checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
[[package]]
name = "ide-agent"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"blake3",
"dunce",
@@ -4171,7 +4171,7 @@ dependencies = [
[[package]]
name = "ide-analysis"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ast-grep-core",
"ide-core",
@@ -4185,7 +4185,7 @@ dependencies = [
[[package]]
name = "ide-android"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"serde",
@@ -4196,7 +4196,7 @@ dependencies = [
[[package]]
name = "ide-build"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"blake3",
"chardetng",
@@ -4214,7 +4214,7 @@ dependencies = [
[[package]]
name = "ide-cli"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"dirs 6.0.0",
"serde",
@@ -4228,7 +4228,7 @@ dependencies = [
[[package]]
name = "ide-clipboard"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"gtk",
"objc2 0.6.5",
@@ -4239,7 +4239,7 @@ dependencies = [
[[package]]
name = "ide-command"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"heck 0.5.0",
"proc-macro2",
@@ -4250,7 +4250,7 @@ dependencies = [
[[package]]
name = "ide-core"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"dunce",
"encoding_rs",
@@ -4267,7 +4267,7 @@ dependencies = [
[[package]]
name = "ide-coverage"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"ide-run",
@@ -4281,7 +4281,7 @@ dependencies = [
[[package]]
name = "ide-dap"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"base64 0.22.1",
"futures",
@@ -4310,7 +4310,7 @@ dependencies = [
[[package]]
name = "ide-db"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"base64 0.22.1",
"bb8",
@@ -4348,7 +4348,7 @@ dependencies = [
[[package]]
name = "ide-docker"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"serde",
@@ -4361,7 +4361,7 @@ dependencies = [
[[package]]
name = "ide-drag-out"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"gtk",
"objc2 0.6.5",
@@ -4375,7 +4375,7 @@ dependencies = [
[[package]]
name = "ide-extension"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"base64 0.22.1",
"blake3",
@@ -4396,7 +4396,7 @@ dependencies = [
[[package]]
name = "ide-flutter"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-android",
"ide-core",
@@ -4407,7 +4407,7 @@ dependencies = [
[[package]]
name = "ide-fonts"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"objc2-core-foundation",
"objc2-core-text",
@@ -4419,7 +4419,7 @@ dependencies = [
[[package]]
name = "ide-github"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"ide-vcs",
@@ -4432,7 +4432,7 @@ dependencies = [
[[package]]
name = "ide-heap"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"criterion",
"ide-core",
@@ -4450,7 +4450,7 @@ dependencies = [
[[package]]
name = "ide-host"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"base64 0.22.1",
"blake3",
@@ -4525,7 +4525,7 @@ dependencies = [
[[package]]
name = "ide-http"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"hyper-util",
"ide-core",
@@ -4545,7 +4545,7 @@ dependencies = [
[[package]]
name = "ide-index"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"blake3",
"criterion",
@@ -4567,7 +4567,7 @@ dependencies = [
[[package]]
name = "ide-jdwp"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-jvm-inspect",
"proptest",
@@ -4579,7 +4579,7 @@ dependencies = [
[[package]]
name = "ide-jsonrpc"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"encoding_rs",
"futures",
@@ -4596,7 +4596,7 @@ dependencies = [
[[package]]
name = "ide-jvm-attach"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"libc",
"tempfile",
@@ -4605,7 +4605,7 @@ dependencies = [
[[package]]
name = "ide-jvm-inspect"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"futures",
"serde",
@@ -4616,7 +4616,7 @@ dependencies = [
[[package]]
name = "ide-language"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"blake3",
"criterion",
@@ -4675,7 +4675,7 @@ dependencies = [
[[package]]
name = "ide-lsp"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"criterion",
"dunce",
@@ -4704,7 +4704,7 @@ dependencies = [
[[package]]
name = "ide-mcp"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"bytes",
"dunce",
@@ -4723,7 +4723,7 @@ dependencies = [
[[package]]
name = "ide-notebook"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"futures",
"ide-core",
@@ -4746,7 +4746,7 @@ dependencies = [
[[package]]
name = "ide-plugin"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"blake3",
"dunce",
@@ -4769,7 +4769,7 @@ dependencies = [
[[package]]
name = "ide-profiler"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"ide-jvm-attach",
@@ -4783,7 +4783,7 @@ dependencies = [
[[package]]
name = "ide-remote"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"dunce",
"futures",
@@ -4803,7 +4803,7 @@ dependencies = [
[[package]]
name = "ide-run"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"dunce",
"encoding_rs",
@@ -4827,7 +4827,7 @@ dependencies = [
[[package]]
name = "ide-scaffold"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"ide-tools",
@@ -4843,7 +4843,7 @@ dependencies = [
[[package]]
name = "ide-sdk"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"dunce",
"flate2",
@@ -4866,7 +4866,7 @@ dependencies = [
[[package]]
name = "ide-search"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"criterion",
"encoding_rs",
@@ -4887,7 +4887,7 @@ dependencies = [
[[package]]
name = "ide-spell"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"parking_lot",
@@ -4900,7 +4900,7 @@ dependencies = [
[[package]]
name = "ide-ssh"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"dirs 6.0.0",
"flate2",
@@ -4925,7 +4925,7 @@ dependencies = [
[[package]]
name = "ide-streams"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"ide-language",
@@ -4938,7 +4938,7 @@ dependencies = [
[[package]]
name = "ide-syntax"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"ide-language",
@@ -4953,7 +4953,7 @@ dependencies = [
[[package]]
name = "ide-terminal"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"ide-core",
"libc",
@@ -4967,7 +4967,7 @@ dependencies = [
[[package]]
name = "ide-text"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"criterion",
"ide-core",
@@ -4980,7 +4980,7 @@ dependencies = [
[[package]]
name = "ide-tools"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"flate2",
"hex",
@@ -5001,7 +5001,7 @@ dependencies = [
[[package]]
name = "ide-vcs"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"blake3",
"dunce",
@@ -5022,7 +5022,7 @@ dependencies = [
[[package]]
name = "ide-vfs"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"chardetng",
"dunce",
@@ -5049,7 +5049,7 @@ dependencies = [
[[package]]
name = "ide-web"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"dirs 6.0.0",
"ide-core",
@@ -5065,7 +5065,7 @@ dependencies = [
[[package]]
name = "ide-workspace"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"blake3",
"dunce",
@@ -6694,7 +6694,7 @@ dependencies = [
[[package]]
name = "openidea"
version = "0.1.49"
version = "0.1.50"
dependencies = [
"base64 0.22.1",
"blake3",
+1 -1
View File
@@ -5,7 +5,7 @@ members = ["crates/*", "src-tauri"]
exclude = ["sdk", "plugins"]
[workspace.package]
version = "0.1.49"
version = "0.1.50"
edition = "2024"
rust-version = "1.96"
license = "Apache-2.0"
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "openidea",
"private": true,
"description": "An open-source IDE inspired by IntelliJ IDEA",
"version": "0.1.49",
"version": "0.1.50",
"license": "Apache-2.0",
"type": "module",
"scripts": {
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// The commit being prepared in the window the current command or event came
/// from (the Commit tool window, or the Commit dialog while it is open): the
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Plugin-owned project data sources. Requires database.sources and project trust.
/// Runs on the Database subsystem's host, including on remote project servers.
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Editor and project-tree decorations (API 1.4). Requires project.read. An editor set
/// follows its file: the file's own project, or the nearest one when it is outside them all.
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// What the pane beside the Services tree shows for a plugin's node.
interface detail-types {
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Optional export (world `plugin-diagnostics`): problems in the current,
/// possibly unsaved document, for the languages declared with the
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// HTTP endpoints found in a project (`[[contributes.endpoints]]`).
interface endpoints-provider {
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Workbench events, delivered in batches to `event-handler.handle`.
interface events {
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
interface lifecycle {
use types.{context, error};
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// What other plugins contributed to the extension points this plugin declares
/// (`[[extension-points]]` in `plugin.toml`; the contributors list this plugin
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Optional export (world `plugin-file-actions`): quick fixes and
/// refactorings that create, rename or delete files, next to the text edits
@@ -1,15 +1,15 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Files outside the open projects: the configuration of the program a
/// plugin integrates with, a tool installed elsewhere, a licence file.
///
/// A plugin's own WASI has no preopened directory. Every path outside its
/// own `plugin-dir` is checked against its `fs.read:<path>` (reading) or
/// `fs.write:<path>`
/// (writing; it doesn't imply reading) grants; without one covering the path a
/// call returns `denied` naming the capability the manifest has to declare. A
/// file inside a project is `workspace.project.read-file` / `write-file`.
/// `path` is absolute, or starts with `~/` for the user's home.
/// own `plugin-dir` and install directory is checked against its
/// `fs.read:<path>` (reading) or `fs.write:<path>` (writing; it doesn't imply
/// reading) grants; without one covering the path a call returns `denied`
/// naming the capability the manifest has to declare. The install directory is
/// read-only. A file inside a project is `workspace.project.read-file` /
/// `write-file`. `path` is absolute, or starts with `~/` for the user's home.
interface fs {
use types.{error};
use workspace.{file-kind, file-stat};
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Writes to the IDE log, tagged with the plugin id.
interface log {
@@ -18,6 +18,27 @@ interface ui {
command: option<string>,
}
/// An action in a status bar item's menu (API 1.14).
record status-menu-action {
/// Up to 256 bytes, one line.
label: string,
/// Secondary text shown after the label, such as a URL (up to 256 bytes).
description: option<string>,
/// The id of a command the plugin declares, run when the entry is chosen.
command: string,
/// Passed to the command as its argument (up to 64 KiB).
argument: option<string>,
}
/// An entry of a status bar item's menu (API 1.14).
variant status-menu-entry {
action(status-menu-action),
/// A line between groups of actions.
separator,
/// A caption above a group (up to 256 bytes, one line).
header(string),
}
record pick-item {
/// Returned when the item is chosen.
key: string,
@@ -90,6 +111,14 @@ interface ui {
set-window-status-item: func(id: string, item: status-item) -> result<_, error>;
/// Removes this window's override, falling back to the global item.
remove-window-status-item: func(id: string) -> result<_, error>;
/// `set-status-item` with a menu (API 1.14): clicking the item opens the
/// menu anchored to it instead of running the item's command, and choosing
/// an action runs its command in that window. At most 64 entries. An empty
/// menu is the same as `set-status-item`. An action naming a command the
/// plugin does not declare fails the call and changes nothing.
set-status-item-menu: func(id: string, item: status-item, menu: list<status-menu-entry>) -> result<_, error>;
/// `set-window-status-item` with a menu, as `set-status-item-menu` (API 1.14).
set-window-status-item-menu: func(id: string, item: status-item, menu: list<status-menu-entry>) -> result<_, error>;
/// Replaces the plugin's console highlight rules (API 1.12); an empty
/// list removes them. Every window applies them to the stdout and stderr
/// lines of its Run and Debug consoles; the plugin never sees the output.
@@ -0,0 +1,40 @@
package openidea:plugin@1.14.0;
/// Optional export (world `plugin-hover-actions`): clickable actions rendered
/// at the left edge of a line and revealed while the pointer is in the leftmost
/// editing-area strip of the action's line range.
interface hover-actions {
use language-features.{document};
/// An action drawn at the left edge of `line`.
record hover-action {
/// The line the button is drawn on; normally the declaration line.
line: u32,
/// First line whose left strip reveals this action, inclusive.
start-line: u32,
/// Last line whose left strip reveals this action, inclusive.
end-line: u32,
/// Optional icon: a registered icon name or a declared manifest SVG path.
icon: option<string>,
/// Text shown when no icon is present, or beside the icon.
label: string,
tooltip: option<string>,
/// This plugin's declared command.
command: string,
argument: option<string>,
}
/// Actions for the visible document, under the editor-provider budget.
hover-actions: func(doc: document) -> list<hover-action>;
}
/// The optional export-only world the SDK merges with `plugin`.
world hover-actions-provider {
export hover-actions;
}
/// The host-side world used to instantiate a component that exports it.
world plugin-hover-actions {
include plugin;
export hover-actions;
}
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Optional export (world `plugin-hover`): Markdown added to the hover of
/// documents of the languages declared with the `hover` provider kind,
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Cross-file associations a plugin publishes for the files it declares under
/// `[[contributes.documentIndexers]]`. The host calls `index` in cancellable
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Embedded languages. The host routes plugin providers and configured language
/// servers inside these ranges, preserving host-document UTF-16 coordinates.
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Optional export (world `plugin-inlay-hints`): inline hints in documents of
/// the languages declared with the `inlay-hints` provider kind, including
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Problems in files, shown in the editor and the Problems view.
interface diagnostics {
@@ -150,7 +150,8 @@ interface process {
}
/// What a kept-running program printed since the last call, and its exit
/// code once it ended (`none` while it still runs).
/// code with the last of its output (`none` while it still runs or output
/// is left to read, so the first chunk with a status is the final one).
record chunk {
/// Up to 1 MiB per stream; unpolled output keeps the last 1 MiB.
/// `poll` takes up to `max-bytes`, or one whole character when that
@@ -165,10 +166,13 @@ interface process {
/// (the ninth `start` is `invalid`). They also end with the plugin:
/// stopping, disabling or reclaiming it kills what it started.
resource child {
/// What it printed since the last call, and its status once it ends.
/// What it printed since the last call; the status comes with the
/// chunk that holds the last of its output.
poll: func(max-bytes: u32) -> result<chunk, error>;
/// Waits up to `timeout-ms` for it to end (0 only checks), then
/// reports what it printed since the last call.
/// Waits up to `timeout-ms` for it to end and its output to reach the
/// end (0 only checks), then reports what it printed since the last
/// call. When more is left than one chunk holds, the status comes
/// with a later `poll`.
wait: func(timeout-ms: u32) -> result<chunk, error>;
/// Writes to its stdin; fails once it ended or stdin was closed.
write: func(text: string) -> result<_, error>;
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Additional language features, called only for declared API 1.4 provider kinds.
/// Editor calls have a 50 ms soft / 500 ms hard budget; formatting has 5 seconds.
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Discovery of the IDE's built-in MCP server; never exposes its URL or token.
interface mcp {
@@ -8,7 +8,7 @@
/// `fs` and `workspace`, and everything else goes through the imports below,
/// gated by the capabilities granted in `plugin.toml` (a missing one returns
/// `error::denied`).
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
world plugin {
import log;
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Editor features a plugin provides for the languages it declares under
/// `[[contributes.providers]]` (the host calls only declared kinds). They run
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Project-scoped targets owned by the registering plugin (API 1.4).
interface run-targets {
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Launches this plugin's configurations in the invoking window's Run tool window.
interface run {
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// On-demand results for `[[contributes.searchCategories]]`. Optional, API 1.13.
interface search-provider {
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Optional export (world `plugin-semantic-tokens`): semantic colouring of
/// documents of the languages declared with the `semantic-tokens` provider
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Shared types. Positions are 0-based lines and UTF-16 code unit columns,
/// as in the editor and LSP.
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
/// Declarative views: tool windows declared
/// under `[[contributes.views]]` and custom editors under
@@ -188,8 +188,9 @@ interface views {
/// Opens `path` (project-relative or absolute, inside the project) in an
/// editor of the window the call came from, the caret at `line` and
/// `column` (0-based; UTF-16 column): a view's links to code.
/// An absolute path inside the plugin's own fs.plugin-dir also works,
/// without project.read or an open project, from a command or event.
/// An absolute path inside the plugin's own fs.plugin-dir or its install
/// directory also works, without project.read or an open project, from a
/// command or event.
open-location: func(path: string, line: u32, column: u32) -> result<_, error>;
}
@@ -1,4 +1,4 @@
package openidea:plugin@1.13.0;
package openidea:plugin@1.14.0;
interface workspace {
use types.{error, location};
@@ -123,8 +123,9 @@ interface editor {
record open-editor { path: string, language: string, dirty: bool, active: bool }
/// Only from commands/events of a window. Requires editor.read.
open-editors: func() -> result<list<open-editor>, error>;
/// Open a project file (project.read) or a file in plugin-dir, selecting a range.
/// Only from commands/events of a window. Paths follow views.open-location.
/// Open a project file (project.read), a file in plugin-dir, or a file in
/// the plugin's install directory, selecting a range. Only from
/// commands/events of a window. Paths follow views.open-location.
open: func(path: string, selection: option<range>) -> result<_, error>;
/// Current version and text of an open project document. Unlike
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "OpenIDEA",
"version": "0.1.49",
"version": "0.1.50",
"identifier": "ai.l0ng.openidea",
"build": {
"beforeDevCommand": "pnpm dev",