feat: complete remaining capabilities and hide integration status

This commit is contained in:
yu committed 2026-11-02 10:43:11 +08:00
1 parent 66169590de
commit 95fb07e876
20 files changed
+15102 -201

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ async function grabScreen(imagePath: string): Promise<void> {
interface OcrLine { text: string; box?: number[][]; mean?: number }
async function locateTextOnScreen(target: string, nodeId: string): Promise<{ target: string; text: string; cx: number; cy: number }> {
export async function locateTextOnScreen(target: string, nodeId: string): Promise<{ target: string; text: string; cx: number; cy: number }> {
const shotPath = path.join(os.tmpdir(), "rpa-cv-screen-" + Date.now() + ".png");
await grabScreen(shotPath);
const ocr = await getOcr();