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
Bump app to v2.0.76, CLI to v0.2.90
Louis Beaumont443446fc5b52
diff --git a/Cargo.toml b/Cargo.tomlindex c8d14f301..6a64cb0ca 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -12,7 +12,7 @@ exclude = ["screenpipe-app-tauri/src-tauri"]resolver = "2"[workspace.package]-version = "0.2.89"+version = "0.2.90"authors = ["louis030195 <[email protected]>"]description = ""repository = "https://github.com/mediar-ai/screenpipe"diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 0ed81ffda..3dd5612a5 100644--- a/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "2.0.75"+version = "2.0.76"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/screenpipe-js/ai-proxy/src/handlers/vertex-proxy.ts b/screenpipe-js/ai-proxy/src/handlers/vertex-proxy.tsindex 5c1e34020..41de41ead 100644--- a/screenpipe-js/ai-proxy/src/handlers/vertex-proxy.ts+++ b/screenpipe-js/ai-proxy/src/handlers/vertex-proxy.ts@@ -34,7 +34,7 @@ export async function handleVertexProxy(request: Request, env: Env): Promise<Res});}- const region = env.VERTEX_REGION || 'us-east5';+ const region = env.VERTEX_REGION || 'global';try {const response = await proxyToVertex(request, env.VERTEX_SERVICE_ACCOUNT_JSON, env.VERTEX_PROJECT_ID, region);diff --git a/screenpipe-js/ai-proxy/src/providers/index.ts b/screenpipe-js/ai-proxy/src/providers/index.tsindex b8298beec..8b7ef0824 100644--- a/screenpipe-js/ai-proxy/src/providers/index.ts+++ b/screenpipe-js/ai-proxy/src/providers/index.ts@@ -13,7 +13,7 @@ export function createProvider(model: string, env: Env): AIProvider {return new VertexAIProvider(env.VERTEX_SERVICE_ACCOUNT_JSON,env.VERTEX_PROJECT_ID,- env.VERTEX_REGION || 'us-east5'+ env.VERTEX_REGION || 'global');}if (model.toLowerCase().includes('gemini')) {diff --git a/screenpipe-js/ai-proxy/src/providers/vertex.ts b/screenpipe-js/ai-proxy/src/providers/vertex.tsindex e3d2a0028..e776dd041 100644--- a/screenpipe-js/ai-proxy/src/providers/vertex.ts+++ b/screenpipe-js/ai-proxy/src/providers/vertex.ts@@ -44,7 +44,7 @@ export class VertexAIProvider implements AIProvider {private projectId: string;private region: string;- constructor(serviceAccountJson: string, projectId: string, region: string = 'us-east5') {+ constructor(serviceAccountJson: string, projectId: string, region: string = 'global') {this.credentials = JSON.parse(serviceAccountJson);this.projectId = projectId || this.credentials.project_id;this.region = region;@@ -164,7 +164,11 @@ export class VertexAIProvider implements AIProvider {// Convert model ID format: claude-opus-4-5-20251101 -> claude-opus-4-5@20251101const vertexModel = mapModelToVertex(model);const method = streaming ? 'streamRawPredict' : 'rawPredict';- return `https://${this.region}-aiplatform.googleapis.com/v1/projects/${this.projectId}/locations/${this.region}/publishers/anthropic/models/${vertexModel}:${method}`;+ // Global endpoint uses different hostname format+ const hostname = this.region === 'global'+ ? 'aiplatform.googleapis.com'+ : `${this.region}-aiplatform.googleapis.com`;+ return `https://${hostname}/v1/projects/${this.projectId}/locations/${this.region}/publishers/anthropic/models/${vertexModel}:${method}`;}/**@@ -388,14 +392,20 @@ export class VertexAIProvider implements AIProvider {}/**- * List available models - Vertex AI doesn't have a public API for this- * Users should check Model Garden: https://console.cloud.google.com/vertex-ai/model-garden+ * List available models - hardcoded list from Anthropic docs+ * https://platform.claude.com/docs/en/build-with-claude/claude-on-vertex-ai*/async listModels(): Promise<{ id: string; name: string; provider: string }[]> {- // Vertex AI doesn't expose an API to list Anthropic models- // Return empty - the app should let users input any model ID- // Invalid models will get a clear error from Vertex when used- return [];+ // Official model IDs from Anthropic docs (Jan 2026)+ const models = [+ { id: 'claude-sonnet-4-5@20250929', name: 'Claude Sonnet 4.5', provider: 'vertex' },+ { id: 'claude-opus-4-5@20251101', name: 'Claude Opus 4.5', provider: 'vertex' },+ { id: 'claude-haiku-4-5@20251001', name: 'Claude Haiku 4.5', provider: 'vertex' },+ { id: 'claude-sonnet-4@20250514', name: 'Claude Sonnet 4', provider: 'vertex' },+ { id: 'claude-opus-4@20250514', name: 'Claude Opus 4', provider: 'vertex' },+ { id: 'claude-opus-4-1@20250805', name: 'Claude Opus 4.1', provider: 'vertex' },+ ];+ return models;}}@@ -408,7 +418,7 @@ export async function proxyToVertex(request: Request,serviceAccountJson: string,projectId: string,- region: string = 'us-east5'+ region: string = 'global'): Promise<Response> {const provider = new VertexAIProvider(serviceAccountJson, projectId, region);@@ -447,7 +457,11 @@ export async function proxyToVertex(const vertexModel = mapModelToVertex(model);console.log('proxyToVertex: mapped model', model, '->', vertexModel);const method = isStreaming ? 'streamRawPredict' : 'rawPredict';- const vertexUrl = `https://${region}-aiplatform.googleapis.com/v1/projects/${projectId}/locations/${region}/publishers/anthropic/models/${vertexModel}:${method}`;+ // Global endpoint uses different hostname format+ const hostname = region === 'global'+ ? 'aiplatform.googleapis.com'+ : `${region}-aiplatform.googleapis.com`;+ const vertexUrl = `https://${hostname}/v1/projects/${projectId}/locations/${region}/publishers/anthropic/models/${vertexModel}:${method}`;// Prepare the body for Vertex AIconst vertexBody = {diff --git a/screenpipe-js/ai-proxy/wrangler.toml b/screenpipe-js/ai-proxy/wrangler.tomlindex dfa27f776..f6af582dc 100644--- a/screenpipe-js/ai-proxy/wrangler.toml+++ b/screenpipe-js/ai-proxy/wrangler.toml@@ -27,8 +27,9 @@ enabled = true# - https://developers.cloudflare.com/workers/configuration/secrets/[vars]# add any non-secret environment variables here-# Default Vertex AI region (us-east5 has Claude models)-VERTEX_REGION = "us-east5"+# Default Vertex AI region - use "global" for newer models (Sonnet 4.5+)+# Regional endpoints like us-east5 may not have newer models available+VERTEX_REGION = "global"# Secrets (set via `wrangler secret put <NAME>`):# - VERTEX_SERVICE_ACCOUNT_JSON: GCP service account JSON for Vertex AI