connect MCP language queries to project LSP

This commit is contained in:
2026-09-29 09:21:59 +01:00
parent feb57c5298
commit c1834bad1f
24 changed files with 757 additions and 21 deletions
@@ -17,4 +17,6 @@ public interface AutomationSession {
OperationHandle<AutomationOutcome> submit(TaskIdentity task, String summary, Callable<AutomationOutcome> work);
void attachRuntime(TaskIdentity task, ManagedHeadlessSession runtime);
void markCaptureStale();
/** Cleanup runs after workers stop and before returning manual control. */
void onTaskEnd(TaskIdentity task, Runnable cleanup);
}
@@ -0,0 +1,9 @@
package p.studio.api.automation;
import java.nio.file.Path;
import java.util.Map;
/** Neutral language query boundary. Values contain only JSON-compatible maps, lists and scalars. */
public interface LanguageQueries {
Map<String, Object> query(Path projectRoot, String taskId, String operation, Map<String, Object> parameters);
}