You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 78c065d
Browse filesBrowse the repository at this point in the historyBrowse files
|`lithe_build_inspect`| none | read | detected plugin instances, declarations and current model identities |
110
105
|`lithe_build_reload`|`instanceID`| execute | model reload requested; inspect until model state is ready |
111
106
|`lithe_build_configure`|`instanceID`, `optionID`, `value` (string, boolean, string list or null) | configure | checked persisted option and reload state; null resets the declared option |
112
107
|`lithe_build_execute`|`instanceID`, `taskID`, optional `projectID`, `targetID`, `modelTaskID`, `userArguments`| execute |`operationID` for the same Build execution shown by the IDE |
113
-
|`lithe_maven_execute`|`goals`, optional `modulePath`| execute | Windows current Maven execution; unavailable on macOS |
114
108
|`lithe_run_list`| none | read | project configurations with IDs, names, providers and readiness |
115
109
|`lithe_run_start`|`configurationID`| execute |`operationID` after launch; failure if launch was refused |
|`lithe_operation_stop`|`operationID`| execute | stop request for that exact execution |
120
114
121
-
Empty configuration paths restore automatic selection. macOS does not serve
122
-
`lithe_environment_inspect`, `lithe_environment_configure` or any `lithe_maven_*`
123
-
tool: toolchains and build tools belong to plugins there, so an agent reads and
124
-
sets their options through `lithe_build_inspect` / `lithe_build_configure` on the
125
-
plugin's Build instance, and native XML uses its explicit configuration
126
-
workflow. Windows still serves the environment tools, including `settingsPath`
127
-
and `localRepositoryPath`, which require a loaded Maven project. An open unsaved
128
-
settings draft or an in-progress save returns `BUSY`; the Agent cannot reset
129
-
that draft or save unrelated edits. Source read failures remain failures and
130
-
never become automatic tool selection.
115
+
The catalog has no language- or tool-specific capability. Toolchains and build
116
+
tools belong to plugins, so an agent reads and sets their options through
117
+
`lithe_build_inspect` / `lithe_build_configure` on the plugin's Build instance,
118
+
and a tool-native configuration file uses its explicit configuration workflow.
131
119
Configuration writes use the existing platform stores;
132
120
they are not a transaction across multiple settings documents. An error can follow
133
121
a partial save, so inspect settings before retrying. Credentials, full launch
134
122
environment values and command arguments are not included in run configuration
135
-
listing. Toolchain discovery uses existing installed tools; it does not install
136
-
or download a JDK or Maven. Maven execution may download dependencies or execute
137
-
plugins, and is therefore an execute capability.
123
+
listing. Build execution may download dependencies or execute project code, and
124
+
is therefore an execute capability.
138
125
139
126
On macOS, build execution uses the enabled plugin's detected instance and task
140
127
identities. Read them with `lithe_build_inspect`; model project, target and task
141
128
selectors require a loaded, current model and are resolved again for each call.
142
129
A model task also requires its declaring template and project. Arguments remain
143
130
an array of tokens all the way to the Provider; the host does not reinterpret
144
-
Maven goals, construct a command string or use the old Maven execution service.
131
+
them or construct a command string.
145
132
`lithe_build_inspect` also returns each option's ID, kind, effective value, source,
146
133
choices and allowCustom, plus native-configuration availability. `lithe_build_configure`
147
134
validates one value with the same current instance/model used by the native option
@@ -155,15 +142,12 @@ stale Provider work and invalidate native drafts, models and language import.
155
142
The same effective Build options, configured tool resolver and workspace Provider
156
143
serve UI and Agent calls. An active Build execution returns `BUSY`.
157
144
158
-
macOS exposes the four plugin Build tools and removes all four Maven-specific
159
-
tools from discovery and admission. Windows connects Build inspect, reload, configure and
160
-
execute to its existing workspace-owned Provider controller, alongside the four
161
-
Maven tools whose current consumers are still being migrated. Detection reads
145
+
Both products expose the four plugin Build tools. Windows connects Build inspect,
146
+
reload, configure and execute to its existing workspace-owned Provider controller. Detection reads
162
147
only admitted declarations and saved options. Product Build capability admission
163
148
remains closed; exposing an implemented API does not admit a plugin requiring
164
149
unimplemented capabilities. Windows configure shares the explicit native UI save path, persists machine-local workspace overrides, checks team/local source revisions and re-detects after publication. Null restores team/declaration inheritance; it does not edit a tool-native configuration file.
165
-
An unexposed call returns `NOT_SUPPORTED` before native execution. The complete
166
-
Maven project, settings and Run migration remains pending outside these Agent paths.
150
+
An unexposed call returns `NOT_SUPPORTED` before native execution.
167
151
168
152
Windows requires a complete, current model before executing a task. Reload uses
169
153
the existing model preparation and returns immediately; inspect reports its state.
@@ -178,7 +162,7 @@ prevents new starts; already accepted work remains owned by the product workspac
178
162
whose close/plugin lifecycle cancels it and waits for cleanup.
179
163
180
164
Run operates on saved project configurations, not the currently focused editor
181
-
file. Existing Java build decisions are still shown in the IDE; the API never
165
+
file. Pending build decisions are still shown in the IDE; the API never
182
166
silently answers them. Output is retained only as long as its existing IDE output
183
167
slot: replacing a run, removing its tab, or closing the workspace may expire an
184
168
operation. Callers receive `OPERATION_EXPIRED`, never another run's output.
@@ -224,9 +208,9 @@ surface; it does not introduce a new plugin marketplace, sandbox or UI extension
224
208
-`cargo test --manifest-path rust/Cargo.toml -p lithe-ide-host`
Copy file name to clipboardExpand all lines: rust/contracts/run-configuration-v2.schema.json
+3-40Lines changed: 3 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -24,41 +24,11 @@
24
24
},
25
25
"toolchain": {
26
26
"type": "object",
27
-
"description": "Machine-local project toolchain defaults. Stored only in the local layer; non-empty per-configuration paths override matching defaults.",
27
+
"description": "Machine-local project toolchain state. Stored only in the local layer. Core reads and replaces only `preferences`; other fields belong to whichever host or plugin wrote them and are preserved unchanged.",
0 commit comments