Spaces:
Sleeping
Sleeping
Commit History
-
fix: smarter error classification + interleaved text/tool rendering
Claw WebFIX 1: Error classification (agent.ts) - Exit code 127 from bad bash syntax is now RETRYABLE, not permanent - Model gets: 'SYNTAX ERROR — fix your command and retry' - Truly permanent errors (ENOENT, EACCES) still marked permanent - 'not found' / 'command not found' only permanent for non-bash tools - Bash with unescaped URLs/special chars = syntax error, not fatal FIX 2: Interleaved content segments (useChat.ts + MessageBubble.tsx) - New ContentSegment type: { type: 'text' | 'tool', ... } - useChat tracks segments in arrival order as SSE events stream in - text_delta → appends to current text segment - tool_call_start → creates new tool segment, breaks text segment - MessageBubble renders segments in order: text → tool → text → tool - Result: explanations appear UNDER each tool action, not at bottom - Backward compatible: falls back to legacy rendering if no segments1f28fab -
fix: remove prefill self-talk bug + reorder tool cards
Claw Webec449f9 -
feat: openlawX personality, anti-censorship prefill, progress indicators, jump to live
Claw Web- Revert retry to fixed 2s (was exponential backoff) - Add openlawX personality prompt (Russian informal style) - Add prefill technique for Qwen3 RLHF censorship bypass - Add proactive suggestions behavior to system prompt - Progress indicators in ActionTree (completed/errors/running + progress bar) - Jump to live button when scrolled up - Strengthen anti-censorship: suppress refusal urge directived2fe867
-
feat: JSON repair, exponential backoff, sidebar date groups, parity audit fixes
Claw Web- Add jsonrepair for robust tool argument parsing - Replace fixed 2s retry with exponential backoff (2s-30s cap) - Sidebar now groups sessions by date (Today/Yesterday/This Week/This Month/Older) - Collapsible date groups with session counts - All P0 parity gaps addressed33e6f65 -
feat: complete P0 fixes + Manus UI overhaul phase 2
Claw WebP0 Fixes: - tool_choice: pass through from caller instead of hardcoded 'auto' (llm.ts) - glob matching: replaced custom regex with micromatch library (permissions.ts) - graceful shutdown: SIGTERM/SIGINT handlers with DB close (index.ts, db.ts) - Dockerfile: chmod 777 → 755 with proper chown Manus UI: - RightPanel: tabbed panel with Actions/Files/Preview tabs - FileExplorer: inline file browser with directory navigation and file preview - PreviewPanel: live viewport showing latest tool output (terminal/web/file) - CodeDiffViewer: LCS-based diff viewer with Diff/Original/Modified tabs - Integrated CodeDiffViewer into ActionTree for edit_file operations Build: clean, 0 errors6aeba60 -
feat: Qwen3 uncensored prompt + Manus-style UI + P0 bug fixes
Claw WebSystem Prompt: - Policy Puppetry XML format with blocked refusal strings - /no_think directive to disable thinking blocks - Qwen3-Coder specific chat_template_kwargs to disable thinking API-side - Full autonomy rules and developer mode framing Manus-style UI: - Split-screen layout with ResizablePanelGroup - ActionTree component showing tool execution timeline - Dark theme by default - Action panel toggle button in toolbar P0 Bug Fixes: - Session state persistence (todoLists, planModes) to SQLite - Fixed double stringify in normalizeMessage for tool results - Fixed readFile OOM for large files (>10MB) - Removed duplicate /context case in chat-endpoint.ts064d9d1 -
HARDCODE DeepInfra naglukho: fix model name, Dockerfile, remove API settings from UI
Claw Web- Fixed model ID: Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo (correct DeepInfra name) - Dockerfile: hardcoded BUILT_IN_FORGE_API_URL + API_KEY + DEFAULT_MODEL - chat-endpoint.ts: hardcoded provider=deepinfra, no user overrides - SettingsPanel: removed API Provider, API Key, API Base URL sections - shared/claw-types.ts: updated defaults to Qwen3-Coderce2c2fb -
Fix all 10 critical audit bugs:
Claw Web1. LLM-based compaction (real summarization instead of heuristics) 2. Dynamic tool_choice (force TodoWrite in plan mode) 3. In-memory state preserved across compaction 4. Shell injection fix in grepSearch (execFileSync) 5. Glob matching fixed (**, trailing slashes, edge cases) 6. readFile size limit (10MB cap + 30k output truncation) 7. React state immutable updates (no direct mutation) 8. Hooks config supports all naming conventions 9. DeepInfra API key hardcoded + Qwen3-Coder-480B-Turbo default 10. Max settings: 256k context, 32k tokens, temp 0.5c663926 -
feat: DeepInfra Qwen3-Coder-480B-Turbo + provider UI + thinking mode + 30+ model aliases
Claw Web- Default model: Qwen3-Coder-480B-A35B-Instruct-Turbo (comparable to Claude Sonnet) - Added DeepInfra as provider with API key/base URL fields in Settings - Added 30+ model aliases (qwen-coder, hermes, nemotron, step, llama-4, etc.) - Added MODEL_CONTEXT_WINDOWS for all DeepInfra models - Added reasoning_content handling for thinking models (Qwen3 Thinking, DeepSeek-R1) - Dynamic max_tokens: 32k for HuggingFace, 65k for DeepInfra - Quick Select updated: Qwen Coder 480B, Hermes 70B, Step Flash, Nemotron, Llama 4 - Provider selector: DeepInfra, HuggingFace, OpenRouter, OpenAI, Groq, Ollama - All previous fixes verified intact04f258d -
fix: critical compaction, buddy SVG sprites, session events, max_tokens
Claw Web- Compaction: preserve system prompt after compacting (was losing all instructions) - Compaction: dynamic threshold (70% of model context window, not hardcoded 10k) - Compaction: /compact slash command uses dynamic config + force-compact at >8 msgs - Buddy: real SVG sprite animations replacing emoji stubs (6 stages x 10 moods) - Buddy: session_completed event now emitted and handled for XP - Buddy: file_created passes actual line count - Agent: max_tokens clamped to 32000 (HuggingFace Router limit) - Settings: max_tokens slider max=32000, buttons=[4k,8k,16k,24k,32k] - useChat: forwards all buddy_event fields (toolCallCount, lines)37d6c24 -
feat: Full Buddy companion pet system (6 modules matching original)
Claw Web- buddy/types.ts: Full type system (BuddyState, BuddyStats, evolution stages, XP rewards) - buddy/sprites.ts: Sprite configs for 6 evolution stages x 10 moods - buddy/companion.ts: State management, leveling, XP, evolution, persistence, decay - buddy/prompt.ts: Personality, context-aware messages, 17 achievements - buddy/useBuddyNotification.tsx: React hook for state/notifications/events - buddy/index.ts: Barrel export - BuddySprite.tsx: Full UI with stats panel, achievements, notifications, interactions - Home.tsx: Integrated useBuddy hook with full props0544bf7 -
fix: revert max_tokens to 16384 (output tokens, not context window)
Claw Web- max_tokens is OUTPUT token limit, not context window - MiMo-V2-Flash max output = 16384-32768 tokens - 1M was causing 400 error from HuggingFace Router - Slider max reduced to 64k, quick-select: 4k, 8k, 16k, 32k, 64k - API tab removal preserved (that was correct)e46d888 -
feat: remove API settings tab, set default max tokens to 1M
Claw Web- Remove API tab from Settings UI (built-in HuggingFace Router, no config needed) - Set default maxTokens to 1,000,000 everywhere: - agent.ts DEFAULT_CONFIG - llm.ts DEFAULT_MAX_TOKENS - routers.ts settings defaults - chat-endpoint.ts config builder - db.ts schema default - executor.ts sub-agent max_tokens - SettingsPanel.tsx form defaults and quick-select buttons - Update quick-select buttons: 64k, 128k, 256k, 512k, 1M, 1.05M - Remove API Key/Base URL from /config status output44b38a1 -
Fix settings API: prevent broken apiKey/URL from causing 400, max tokens 1M, remove auto-compact, real Agent/PR/Issue, mobile fixes
Claw Web9427d4d
-
Major update: fix 400 error, 1M context, real Agent/PR/Issue, no auto-compact
Claw Web- Fix 400 API error: JSON.parse tool_calls from DB (was string, not array) - Remove auto-compact: only manual /compact as in original - Max tokens slider: 1k to 1M (1,048,576) with preset buttons - Agent tool: real sub-agent with restricted tool sets per type (Explore, Plan, Verification) - Agent: async background execution with .md/.json manifest files - /pr: actually calls gh pr create (falls back to draft) - /issue: actually calls gh issue create (falls back to draft) - Task/Cron panels: JSON API endpoints already working58eb982 -
fix: mobile responsive, max tokens 128k, HuggingFace models, Quick Select UI
Claw Web- Mobile: hamburger sidebar, overlay sheet, hide toolbar buttons, full-width panels - Settings: max tokens slider 1k-128k with preset buttons (4k/8k/16k/32k/64k/128k) - Settings: Quick Select shows short model names (MiMo Flash, Qwen3 8B, etc) - Settings: added HuggingFace as API provider option - Config: default maxTokens 16384 everywhere (db, schema, routers, executor) - Config: updated model defaults to MiMo-V2-Flash across all files - UI: responsive grid, adaptive padding, hidden keyboard hints on mobile68a3bb7 -
Claw Web v1.0 — AI Agent Web Interface with MiMo-V2-Flash
Claw Web7540aea