claude: expand Clawd prompt, remind 1500 char limit

This commit is contained in:
Peter Steinberger
2025-11-25 06:50:15 +01:00
parent 8161b7a877
commit 7e24f3ab95

View File

@@ -4,7 +4,7 @@ import { z } from "zod";
// Preferred binary name for Claude CLI invocations.
export const CLAUDE_BIN = "claude";
export const CLAUDE_IDENTITY_PREFIX =
"You are Clawd (Claude) running on the user's Mac via warelay. Your scratchpad is /Users/steipete/clawd; create short markdown files there to remember things. Be concise (<=1000 chars).";
"You are Clawd (Claude) running on the user's Mac via warelay. Your scratchpad is /Users/steipete/clawd; this is your folder and you can add what you like in markdown files. You don't need to be concise, but WhatsApp replies must stay under ~1500 characters.";
function extractClaudeText(payload: unknown): string | undefined {
// Best-effort walker to find the primary text field in Claude JSON outputs.