The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
feat(cli): add a Requesty preset to saved APIs
Thibault Jaigu40f31edc89c0
diff --git a/cli/src/lib/apiConnections.spec.ts b/cli/src/lib/apiConnections.spec.tsindex 24632c29e..4676ced9f 100644--- a/cli/src/lib/apiConnections.spec.ts+++ b/cli/src/lib/apiConnections.spec.ts@@ -27,7 +27,7 @@ describe('saved API connections', () => {expect(store.list()).toEqual([])const result = apiConnectionsRequest(store, { action: 'list' })expect(result).toEqual({ connections: [], presets: API_PRESETS })- expect(API_PRESETS.map(row => row.provider)).toEqual(['openrouter', 'fal', 'openai', 'anthropic', 'replicate'])+ expect(API_PRESETS.map(row => row.provider)).toEqual(['openrouter', 'requesty', 'fal', 'openai', 'anthropic', 'replicate'])expect(encryptDownFrame('api_connections')).toBe(true)expect(encryptRpcResult('api_connections_result')).toBe(true)})diff --git a/cli/src/lib/apiConnections.ts b/cli/src/lib/apiConnections.tsindex c4ba55aa5..4e1414db1 100644--- a/cli/src/lib/apiConnections.ts+++ b/cli/src/lib/apiConnections.ts@@ -34,6 +34,7 @@ export type ApiPreset = Omit<ApiConnection, 'id'> & { keyUrl: string; docsUrl: s* same store and execution path; presets are conveniences, never a provider allowlist. */export const API_PRESETS: ApiPreset[] = [{ provider: 'openrouter', name: 'OpenRouter', baseUrl: 'https://openrouter.ai/api/v1', keyEnv: 'OPENROUTER_API_KEY', authHeader: 'Authorization', authPrefix: 'Bearer', keyUrl: 'https://openrouter.ai/settings/keys', docsUrl: 'https://openrouter.ai/docs/api/reference/authentication' },+ { provider: 'requesty', name: 'Requesty', baseUrl: 'https://router.requesty.ai/v1', keyEnv: 'REQUESTY_API_KEY', authHeader: 'Authorization', authPrefix: 'Bearer', keyUrl: 'https://app.requesty.ai/api-keys', docsUrl: 'https://docs.requesty.ai/api-reference/introduction' },{ provider: 'fal', name: 'fal.ai', baseUrl: 'https://queue.fal.run', keyEnv: 'FAL_KEY', authHeader: 'Authorization', authPrefix: 'Key', keyUrl: 'https://fal.ai/dashboard/keys', docsUrl: 'https://fal.ai/docs' },{ provider: 'openai', name: 'OpenAI', baseUrl: 'https://api.openai.com/v1', keyEnv: 'OPENAI_API_KEY', authHeader: 'Authorization', authPrefix: 'Bearer', keyUrl: 'https://platform.openai.com/api-keys', docsUrl: 'https://developers.openai.com/api/reference/overview' },{ provider: 'anthropic', name: 'Anthropic', baseUrl: 'https://api.anthropic.com/v1', keyEnv: 'ANTHROPIC_API_KEY', authHeader: 'x-api-key', authPrefix: '', keyUrl: 'https://platform.claude.com/settings/keys', docsUrl: 'https://platform.claude.com/docs/en/api/overview' },diff --git a/docs/api-connections.md b/docs/api-connections.mdindex b73eb150b..5b14abafa 100644--- a/docs/api-connections.md+++ b/docs/api-connections.md@@ -7,7 +7,7 @@ APIs grouped in one searchable view. The source tabs narrow the list.Open **Models → APIs**, choose a provider, paste its key, and select **Save**.The clipboard icon pastes the key directly; it remains hidden until you reveal it.-OpenRouter, fal.ai, and Replicate have presets. **Custom API**+OpenRouter, Requesty, fal.ai, and Replicate have presets. **Custom API**accepts a name, base URL, and key; **Advanced** controls the key environmentvariable, authentication header, and optional prefix.@@ -69,6 +69,7 @@ tool receives the selected credential. Connections do not sync between machines.Preset defaults come from the providers' documentation:[OpenRouter](https://openrouter.ai/docs/api/reference/authentication),+[Requesty](https://docs.requesty.ai/api-reference/introduction),[fal.ai](https://fal.ai/models/fal-ai/flux/dev/api), and[Replicate](https://replicate.com/docs/reference/http).