YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(workflows): open SOPs at the short /s URL
Louis Beaumont7b5a52cf77ab
diff --git a/apps/screenpipe-app-tauri/lib/workflows/guides-adapter.test.ts b/apps/screenpipe-app-tauri/lib/workflows/guides-adapter.test.tsindex 38d6be03c..0603eb99a 100644--- a/apps/screenpipe-app-tauri/lib/workflows/guides-adapter.test.ts+++ b/apps/screenpipe-app-tauri/lib/workflows/guides-adapter.test.ts@@ -108,7 +108,7 @@ it("uploads included screenshots with the SOP and existing authentication", asynexpect(payload.content).toContain(imageUrl);expect(payload.previousContent).not.toContain(imageUrl);expect(mocks.open).toHaveBeenCalledWith(- `https://screenpipe.com/sops/${id}`,+ `https://screenpipe.com/s/${id}`,);} finally {vi.unstubAllGlobals();diff --git a/apps/screenpipe-app-tauri/lib/workflows/guides.ts b/apps/screenpipe-app-tauri/lib/workflows/guides.tsindex 2842edc98..91efad088 100644--- a/apps/screenpipe-app-tauri/lib/workflows/guides.ts+++ b/apps/screenpipe-app-tauri/lib/workflows/guides.ts@@ -79,7 +79,7 @@ export const desktopGuides: NonNullable<WorkflowsPlatform["guides"]> = {const result = await response.json();if (typeof result.id !== "string" || !/^[a-f0-9-]{36}$/.test(result.id))throw new Error("The web editor returned an invalid page.");- await open(screenpipeWebUrl(`/sops/${result.id}`, PROD_WEB_BASE));+ await open(screenpipeWebUrl(`/s/${result.id}`, PROD_WEB_BASE));},list: listGuidesFromDisk,load: (workflow) => loadGuideFromDisk(guideKey(workflow)),