Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 24 additions & 6 deletions electron-builder.mcp-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,36 @@ extraResources:
- '@relaycast/sdk/node_modules/zod/**'
- '@relaycast/types/**'
- '@relaycast/types/node_modules/zod/**'
- '@relayfile/core/**'
- '@relayfile/mount-darwin-arm64/**'
- '@relayfile/mount-darwin-x64/**'
- '@relayfile/mount-linux-arm64/**'
- '@relayfile/mount-linux-x64/**'
- '@relayfile/sdk/**'
- '@relayflows/browser-primitive/**'
- '@relayflows/browser-primitive/node_modules/@agent-relay/sdk/**'
- '@relayflows/browser-primitive/node_modules/@relaycast/sdk/**'
- '@relayflows/browser-primitive/node_modules/@relaycast/types/**'
- '@relayflows/browser-primitive/node_modules/zod/**'
- '@relayflows/cli/**'
- '@relayflows/core/**'
- '@relayflows/core/node_modules/@agent-relay/broker-darwin-arm64/**'
- '@relayflows/core/node_modules/@agent-relay/broker-darwin-x64/**'
- '@relayflows/core/node_modules/@agent-relay/broker-linux-arm64/**'
- '@relayflows/core/node_modules/@agent-relay/broker-linux-x64/**'
- '@relayflows/core/node_modules/@agent-relay/broker-win32-x64/**'
- '@relayflows/core/node_modules/@agent-relay/cloud/**'
- '@relayflows/core/node_modules/@agent-relay/config/**'
- '@relayflows/core/node_modules/@agent-relay/harness-driver/**'
- '@relayflows/core/node_modules/@agent-relay/harnesses/**'
- '@relayflows/core/node_modules/@agent-relay/sdk/**'
- '@relayflows/core/node_modules/@agent-relay/sdk/node_modules/@relaycast/sdk/**'
- '@relayflows/core/node_modules/@agent-relay/sdk/node_modules/@relaycast/types/**'
- '@relayflows/core/node_modules/@agent-relay/sdk/node_modules/zod/**'
- '@relayflows/core/node_modules/@relaycast/sdk/**'
- '@relayflows/core/node_modules/@relaycast/sdk/node_modules/zod/**'
- '@relayflows/core/node_modules/@relaycast/types/**'
- '@relayflows/core/node_modules/@relaycast/types/node_modules/zod/**'
- '@relayflows/core/node_modules/@relayfile/core/**'
- '@relayflows/core/node_modules/@relayfile/mount-darwin-arm64/**'
- '@relayflows/core/node_modules/@relayfile/mount-darwin-x64/**'
- '@relayflows/core/node_modules/@relayfile/mount-linux-arm64/**'
- '@relayflows/core/node_modules/@relayfile/mount-linux-x64/**'
- '@relayflows/core/node_modules/@relayfile/sdk/**'
- '@relayflows/github-primitive/**'
- '@relayflows/slack-primitive/**'
- '@sinclair/typebox/**'
Expand Down Expand Up @@ -160,6 +177,7 @@ extraResources:
- 'axios/**'
- 'bcrypt-pbkdf/**'
- 'body-parser/**'
- 'body-parser/node_modules/content-type/**'
- 'body-parser/node_modules/iconv-lite/**'
- 'bowser/**'
- 'buildcheck/**'
Expand Down
3 changes: 2 additions & 1 deletion evals/harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import { HarnessDriverClient } from '@agent-relay/harness-driver'
import type { BrokerEvent, AgentExitInfo } from '@agent-relay/harness-driver'
import { RelaycastSetup } from '@relaycast/sdk'
import { RELAYCAST_BASE_URL } from '../src/main/relay-service-urls'

const AGENT_EXIT_TIMEOUT_MS = 180_000 // 3 min max per run
const AGENT_IDLE_THRESHOLD_SECS = 30 // release after 30s idle
Expand Down Expand Up @@ -41,7 +42,7 @@ async function ensureWorkspaceKey(): Promise<string> {
_cachedWorkspaceKey = process.env.RELAY_API_KEY.trim()
return _cachedWorkspaceKey
}
const setup = new RelaycastSetup()
const setup = new RelaycastSetup({ baseUrl: process.env.RELAY_BASE_URL || RELAYCAST_BASE_URL })
const ws = await setup.createWorkspace({ name: `pear-eval-${Date.now().toString(36)}` })
_cachedWorkspaceKey = ws.apiKey
return _cachedWorkspaceKey
Expand Down
Loading
Loading