A desktop coding agent with free access to frontier models.
TypeScript
feat: minimal system prompt for Claude chats
ogsamrat92c6df744c10
diff --git a/apps/app/src/react-app/domains/whats-new/PARITY.sha256 b/apps/app/src/react-app/domains/whats-new/PARITY.sha256index 977c2450..4cd73e23 100644--- a/apps/app/src/react-app/domains/whats-new/PARITY.sha256+++ b/apps/app/src/react-app/domains/whats-new/PARITY.sha256@@ -1,3 +1,3 @@# whats-new.json is the same file in omnirush-cli (src/whats-new/) and omnirush-gui (apps/app/src/react-app/domains/whats-new/).# A change to one must be ported to the other and this list updated in both.-0dd380b17cc33802e2d7d3d09cc567f14ec7ec635aef9f523e0b83664e6e844f whats-new.json+63b6686a2c414139bd6453191eb26fd2aaef2882d24bc9a326f8d08ea1a394ef whats-new.jsondiff --git a/apps/app/src/react-app/domains/whats-new/whats-new.json b/apps/app/src/react-app/domains/whats-new/whats-new.jsonindex dbc4d557..299e2c74 100644--- a/apps/app/src/react-app/domains/whats-new/whats-new.json+++ b/apps/app/src/react-app/domains/whats-new/whats-new.json@@ -2,6 +2,15 @@"$comment": "What's new in OmniRush: release notes written for users, newest first, shown in the CLI (/changelog, omnirush changelog) and the desktop app (Help > What's new). Same file in omnirush-cli (src/whats-new/) and omnirush-gui (apps/app/src/react-app/domains/whats-new/); keep the copies byte-identical (PARITY.sha256). Plain language, no PR numbers, nothing internal. Write the entry for every release before tagging.","schema": 1,"cli": [+ {+ "version": "2.8.5",+ "date": "2026-11-09",+ "new": [],+ "improved": [+ "Reliability improvements."+ ],+ "fixed": []+ },{"version": "2.8.4","date": "2026-11-09",diff --git a/apps/server/src/opencode-plugins/claude-provider/PARITY.sha256 b/apps/server/src/opencode-plugins/claude-provider/PARITY.sha256index ffb40f5b..8ec2834c 100644--- a/apps/server/src/opencode-plugins/claude-provider/PARITY.sha256+++ b/apps/server/src/opencode-plugins/claude-provider/PARITY.sha256@@ -1,3 +1,3 @@# The Claude provider: the same files in omnirush-cli (assets/claude-provider/) and omnirush-gui. A change to one must be ported to the other and this list updated in both.-2cddbf5ef97680589675fa8d0641ddb45afe5107a79209df96104cb6805018df index.js+81d2b52702f777d12e4f3c141e8f65d7e9987d377ebad0a909d2d19147d7a373 index.js3018991c25910011fd1387d311aaf5c128971b0f1ba3f1627c7b0126729d1d2a map.jsdiff --git a/apps/server/src/opencode-plugins/claude-provider/index.js b/apps/server/src/opencode-plugins/claude-provider/index.jsindex 0d8e4107..f6226160 100644--- a/apps/server/src/opencode-plugins/claude-provider/index.js+++ b/apps/server/src/opencode-plugins/claude-provider/index.js@@ -83,10 +83,16 @@ export function hasTranscript(configDir, uuid) {} catch { return false; }}+/**+ * Claude Code's system prompt (owner 2026-11-09: a minimal one, as the farm's): its own opening line in place of+ * its ~870-word prompt. Claude Code still adds its billing header and Agent SDK line before it.+ */+export const CLAUDE_SYSTEM_PROMPT = "You are an agent working with the user toward their goals, using your own judgment along the way.";+/** Claude Code's argv for a turn (LAUNCH adds --resume or --session-id in the box). */export function claudeArgs({ model }) {return ["-p", "--input-format", "stream-json", "--output-format", "stream-json", "--verbose", "--include-partial-messages",- "--model", model, "--permission-mode", "bypassPermissions"];+ "--model", model, "--permission-mode", "bypassPermissions", "--system-prompt", CLAUDE_SYSTEM_PROMPT];}/**