an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
feat(provider): register cursor in hire manifest allowlist
George Burchell0cba5c1a54f2
diff --git a/docs/hires/scripts/build-data.py b/docs/hires/scripts/build-data.pyindex cb15a5c4..67eeffcf 100644--- a/docs/hires/scripts/build-data.py+++ b/docs/hires/scripts/build-data.py@@ -14,7 +14,7 @@ may use any model string; suggestions never validate)."""import json, os, re, sys, urllib.request-PROVIDERS = ['claude', 'antigravity', 'codex']+PROVIDERS = ['claude', 'antigravity', 'codex', 'cursor']UPSTREAM_CONFIG = ('https://raw.githubusercontent.com/chaitanyagiri/munder-difflin/''main/src/renderer/src/store/config.ts')diff --git a/docs/hires/validator.js b/docs/hires/validator.jsindex 3b7e63ff..13f4dc21 100644--- a/docs/hires/validator.js+++ b/docs/hires/validator.js@@ -5,8 +5,8 @@window.HireSpec = (function () {const SPEC = 'munder-difflin/hire@1';- const PROVIDERS = ['claude', 'antigravity', 'codex'];- const PROVIDER_LABEL = { claude: 'Claude Code', antigravity: 'Antigravity', codex: 'Codex' };+ const PROVIDERS = ['claude', 'antigravity', 'codex', 'cursor'];+ const PROVIDER_LABEL = { claude: 'Claude Code', antigravity: 'Antigravity', codex: 'Codex', cursor: 'Cursor' };const FLAG_RE = /^[A-Za-z0-9._\/=:,@+-]{1,100}$/;// model flows onto the spawn command line — reject shell metacharacters// (mirror of MODEL_RE in the app's src/shared/hire.ts).@@ -43,7 +43,7 @@ window.HireSpec = (function () {cap(raw.homepage, 300, 'homepage');if (raw.provider !== undefined) {const p = normalizeProvider(raw.provider);- if (!PROVIDERS.includes(p)) errors.push('"provider" must be claude, antigravity (or agy), or codex');+ if (!PROVIDERS.includes(p)) errors.push('"provider" must be claude, antigravity (or agy), codex, or cursor');}if (raw.commandFlags !== undefined) {if (!Array.isArray(raw.commandFlags) || raw.commandFlags.length > 16) {diff --git a/src/renderer/src/components/AddAgentModal.tsx b/src/renderer/src/components/AddAgentModal.tsxindex c7467558..033d4388 100644--- a/src/renderer/src/components/AddAgentModal.tsx+++ b/src/renderer/src/components/AddAgentModal.tsx@@ -77,7 +77,7 @@ const DESCRIPTION_TEMPLATES: { label: string; description: string; goal: string// Copy-paste prompt the user hands to any AI to generate a hire manifest. It pins// the exact JSON shape the importer accepts and ends with a fill-in section so the// user adds their own details (item 7). Kept in sync with the HireManifest schema-// (src/shared/hire.ts) — provider allowlist is claude | codex | antigravity.+// (src/shared/hire.ts) — provider allowlist is claude | codex | antigravity | cursor.const HIRE_PROMPT = `You are designing a "hire" — a ready-to-spawn AI agent for Munder Difflin, an app that runs a team of CLI coding agents. Output ONE JSON object (a hire manifest) and nothing else.Make the agent genuinely useful: give it a sharp role, a concrete standing goal, and a description that makes it behave like an expert operator of its CLI engine (Claude Code, Codex, or Antigravity/Gemini). It should know how to use the terminal, read and edit files, run and inspect commands, lean on available skills and MCP tools, keep notes in memory, and work autonomously toward its goal without hand-holding.@@ -98,7 +98,7 @@ Return EXACTLY this shape (omit optional fields you don't need; keep the spec st}Rules:-- "provider" MUST be one of: claude | codex | antigravity. "model" must be a real model id for that provider (e.g. claude-opus-4-8[1m], gpt-5-codex, "Gemini 3.1 Pro (High)").+- "provider" MUST be one of: cursor | claude | codex | antigravity. "model" must be a real model id for that provider (e.g. gpt-5.6-luna-high, claude-opus-4-8[1m], gpt-5-codex, "Gemini 3.1 Pro (High)").- Do NOT include shell commands or any flags beyond these fields.- Make "description" + "goal" concrete enough that the agent knows exactly what to do on its first turn.diff --git a/src/shared/hire.ts b/src/shared/hire.tsindex b32ce77a..7d2ef4fe 100644--- a/src/shared/hire.ts+++ b/src/shared/hire.ts@@ -37,7 +37,7 @@ export const BUNDLED_SKILL_IDS: ReadonlySet<string> = new Set([/** Providers a manifest may request ('agy' is accepted as an alias for* 'antigravity'). 'custom' is deliberately NOT allowed — it would let a* manifest choose an arbitrary local binary. */-export type HireProvider = 'claude' | 'antigravity' | 'codex';+export type HireProvider = 'claude' | 'antigravity' | 'codex' | 'cursor';export interface HireManifest {/** Spec tag; exactly `munder-difflin/hire@1` for this version. */@@ -90,7 +90,7 @@ export interface HireValidation {consentRequired?: string[];}-const PROVIDERS: readonly string[] = ['claude', 'antigravity', 'codex'];+const PROVIDERS: readonly string[] = ['claude', 'antigravity', 'codex', 'cursor'];const MAX_BYTES = 64 * 1024;/** A flag ("-x", "--flag", "--flag=value") or a bare value token that may follow