connect MCP language queries to project LSP
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user