Implement Rust web sidebar title and tree interactions
This commit is contained in:
@@ -692,7 +692,7 @@ export function DocumentAiAgentPanelRuntime({
|
||||
}
|
||||
|
||||
try {
|
||||
const res = await fetch("/api/ai-agent/run", {
|
||||
const res = await fetch(DOCUMENT_AI_BRIDGE_ISLAND_CONTRACT.runEndpoint, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
signal: controller.signal,
|
||||
|
||||
@@ -36,6 +36,7 @@ export interface DocumentSearchResult {
|
||||
score: number;
|
||||
nodeId?: string | null;
|
||||
subtreeRootId?: string | null;
|
||||
projectionOwner?: "rust-kernel" | "compat-index";
|
||||
evidence?: Array<{
|
||||
kind: string;
|
||||
nodeId?: string | null;
|
||||
@@ -44,6 +45,7 @@ export interface DocumentSearchResult {
|
||||
}
|
||||
|
||||
export interface DocumentSearchResponse {
|
||||
projectionOwner?: "rust-kernel" | "compat-index";
|
||||
results: DocumentSearchResult[];
|
||||
recent: DocumentSearchResult[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user