Spaces:
Runtime error
Runtime error
Commit History
-
feat: provision full OpenClaw workspaces from agent creation
nykUnverified signature7446200 -
fix: macOS compatibility for status commands and gateway client id
Unverified signatureReplace Linux-only commands (uptime -s, free -m, df --output=pcent) with cross-platform alternatives using process.platform detection and Node.js os module. Rename gateway client ID from control-ui to openclaw-control-ui. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>be80b82
-
feat(#159): add Agent-Level Identity & Attribution
- Add agent_name field to User interface for agent-level tracking - Extract X-Agent-Name header in getUserFromRequest for attribution - New GET /api/agents/[id]/attribution endpoint with sections: - identity: agent profile, lifetime stats, session info - audit: full activity trail + audit log entries for the agent - mutations: task changes, comments, status transitions attributed - cost: token usage by model with daily trend breakdown - Backward compatible: X-Agent-Name is optional, existing auth unchanged Fixes #159659dcd6 -
feat(#160): add Real-Time Workload Signals API endpoint
New GET /api/workload endpoint providing system-wide capacity metrics and throttle recommendations for agent load awareness. Response sections: - capacity: active tasks, recent task/error rates, completion throughput - queue: pending task depth by status/priority, estimated wait time - agents: online/busy/idle counts, busy ratio, per-agent load distribution - recommendation: actionable signal (normal|throttle|shed|pause) with reasons, submit_ok flag, and suggested delay - thresholds: current threshold configuration for transparency Recommendation engine factors: - Queue depth (20/50/100 thresholds) - Agent saturation ratio (80%/95%) - Error rate in last 5 minutes (10%/25%) - Agent availability (pause if none online) Fixes #160687f7e3 -
feat(#163): add Agent Self-Diagnostics API endpoint
New GET /api/agents/[id]/diagnostics endpoint enabling agents to query their own performance data for self-optimization. Sections (selectable via ?section= query param): - summary: KPIs (throughput, error rate, activity count) - tasks: completion breakdown by status/priority, throughput/day - errors: error frequency by type, recent error details - activity: activity breakdown with hourly timeline - trends: current vs previous period comparison with auto-alerts - tokens: token usage by model with cost totals Features: - Scoped to requesting agent only (no cross-agent data access) - Configurable time window via ?hours= param (1-720h) - Automatic trend alerts for error spikes, throughput drops, stalls - Works with existing activities, tasks, and token_usage tables Fixes #163255b4ea -
feat: provision full OpenClaw workspaces from agent creation
Nyk08a4c64 -
Merge pull request #168 from builderz-labs/fix/165-agent-modal-ui
nykUnverified signaturefeat: improve agent detail modal visual design6331d61 -
feat: improve agent detail modal visual design
Nykd53d004 -
fix: correct token costing and add provider subscription detection
Nyka744127 -
feat: add validated @mentions for tasks and comments
Nyk200c64b -
Merge pull request #155 from builderz-labs/feat/issues-146-143-145
nykUnverified signaturefeat: workspace discoverability and multi-project task support90c8b4e -
fix: unify agent config save across mission control and gateway
Nyka3ca4cc -
merge: resolve PR conflicts and add OpenClaw offline E2E harness
Nyk39fe4a7 -
Merge pull request #139 from bhavikprit/feat/39-structured-logging
nykUnverified signaturefeat(#39): replace console.log/error/warn with structured client loggeraa65898 -
feat: add workspace discoverability and multi-project task support
Nyk64eac97 -
Merge pull request #141 from telnyxpete/security-hardening
nykUnverified signatureFix XSS in memory-browser-panel1a4126e -
Merge branch 'main' into feat/39-structured-logging
nykUnverified signature23a0e33 -
feat: add URL-based task deep links and agent task links
nykUnverified signature1c2355d -
feat: add task URL deep-linking and agent task links
Nykc25e0fa -
fix: resolve cron calendar and auth regressions from open issues
Nyk250a974 -
fix: add OpenClaw 3.2 compatibility for spawn and gateway health
Nyke7f2128 -
feat: upgrade local-mode virtual office and flight deck integration
Nykab90450 -
Merge branch 'main' into feat/39-structured-logging
nykUnverified signaturebd33753 -
Merge pull request #138 from bhavikprit/feat/40-accessibility
nykUnverified signaturefeat(#40): improve frontend accessibility (WCAG 2.1 AA)2aff45a -
fix: enable editing identity, sandbox, and tools in agent config UI (#148)
Unverified signature* fix(#140): enable editing of identity, sandbox, and tools in agent config UI The ConfigTab's structured view only showed read-only displays for Identity, Sandbox, and Tools sections even when in edit mode. Added inline editing controls: - Identity: emoji, name, theme/role inputs + identity content textarea - Sandbox: mode/workspace dropdowns + network input - Tools: allow/deny lists with add/remove buttons and Enter key support Also added helper functions (updateIdentityField, updateSandboxField, addTool, removeTool) and state for new tool entries. Fixes #140 * fix: align sandbox edit values with agent schema --------- Co-authored-by: Nyk <0xnykcd@googlemail.com>b1106ba -
Fix XSS in memory-browser-panel
Pete Christianson +1: Claude Opus 4.6Replace dangerouslySetInnerHTML with React elements for inline formatting (bold/italic). New renderInlineFormatting() helper returns React nodes instead of raw HTML strings, eliminating XSS risk from user-controlled memory content. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>477bb9e -
feat(#39): replace console.log/error/warn with structured client logger
Add src/lib/client-logger.ts and replace all 55+ console calls across 19 client files with scoped createClientLogger instances. Production suppresses debug+info. Fix variable shadowing in log-viewer-panel.tsx. Addresses #39a218835 -
feat(#40): improve frontend accessibility (WCAG 2.1 AA)
- Add reusable useFocusTrap hook for modal focus management with Escape key support and focus restoration on close - Task board: add role=region and aria-label to kanban columns, role=button and keyboard support (Enter/Space) to task cards, role=alert on error display, role=status on loading spinner - Modals: add role=dialog, aria-modal, aria-labelledby, focus trapping, backdrop click to close, aria-label on close buttons - Tab interface: add role=tablist/tab/tabpanel with aria-selected and aria-controls for task detail tabs - Forms: add htmlFor/id associations on all modal form labels - Layout: add skip-to-content link for keyboard navigation, id=main-content on main element Addresses #4061f5832 -
fix: support AUTH_PASS_B64 for seeded admin password
Nyk2b182b0 -
feat: add service CTA and update promo links
Nyk3440490 -
feat: add promo banner for nyk, DictX, and Flight Deck Pro
Nyk5c5ffba -
feat: scope workflows and webhooks to workspace (#132)
nykUnverified signatured1086d3 -
fix: stop gateway handshake retry spam and improve origin guidance (#131)
nykUnverified signatureea7f762 -
feat(#115): virtual office visualization for agents (#127)
Unverified signature- Create OfficePanel with Office floor plan and Org Chart view modes - Desk-style cards with status glow, emoji indicators, pulse animation for busy agents - Agent detail modal with task stats, activity, session info - Auto-refresh every 10 seconds for real-time updates - Status summary in header (working/idle/error/away counts) - Add OfficeIcon and office nav item in CORE group - Register office route in page.tsx Closes #115 Co-authored-by: bhavikprit <petrobhakti@gmail.com>6cc3161 -
security: reject known-insecure default passwords during admin seeding (#123)
Mark LiuUnverified signatureThe admin seeding function previously fell back to password 'admin' when AUTH_PASS was unset, and accepted any value from .env.example including the documented default 'change-me-on-first-login'. This meant a user who copied .env.example without changing the password (or forgot to set AUTH_PASS entirely) would have an instance running with publicly known credentials. The seeding function now: - Skips seeding entirely if AUTH_PASS is not set (instead of defaulting to 'admin') - Checks AUTH_PASS against a blocklist of known insecure values (admin, password, change-me-on-first-login, changeme, testpass123) - Logs a clear warning explaining what to do in both cases Existing instances that already have users in the database are not affected — the seeding function only runs when the users table is empty. Signed-off-by: Mark Liu <mark@prove.com.au>c26ce6c
-
feat: phase 1 workspace isolation across auth and core APIs (#112)
nykUnverified signature* feat: add workspace-scoped auth sessions and core API filtering * feat: extend workspace scoping to search status standup and messaging * feat: scope agent connect github and alert workflows by workspace * fix: scope status sync and session alerts by workspace * feat: add phase2 workspace migration and scope chat pipeline alerts * feat: add model selection for agents and cron jobs * feat: add deterministic agent avatars to task and squad views * feat: add read-only cron calendar and agenda views * feat: render task descriptions with markdown4e0867d -
feat: improve agent config tab model editing and display
nykUnverified signature2cf3427 -
feat: enrich agent config with workspace identity and tools
nykUnverified signature5be7cdc -
feat: aggregate token usage from db with stable agent grouping
nykUnverified signaturec630ac6 -
fix: align Mission Control device auth handshake with OpenClaw protocol
Othavio QuiliaoUnverified signature04b82f8 -
fix: resolve WebSocket disconnect bugs and add SSE reconnect backoff (#97)
nykUnverified signature- Fix stale closure: onclose now calls connectRef.current instead of capturing connect by value, so reconnect always uses the latest version - Fix disconnect-reconnect race: manualDisconnectRef prevents onclose from scheduling a new reconnect after explicit disconnect() - Fix double-connect guard: check both OPEN and CONNECTING states - Add SSE exponential backoff with 20-attempt cap (was flat 3s infinite) - Add SSE error logging (was silently swallowed) - Update README: fix stale counts (28 panels, 66 routes, 21 migrations, 148 E2E tests), add missing features (SOUL system, Ed25519, agent messaging, update checker), document NEXT_PUBLIC_GATEWAY_TOKEN2aa4737 -
fix: sync agent SOUL content with workspace files (#91) (#95)
nykUnverified signatureWorkspace file is now the primary source for soul.md with DB as fallback. Reads prefer workspace → DB. Writes go to both. Config sync imports soul.md from each agent's workspace using double resolveWithin guard to prevent path traversal.beb89d9 -
feat: add Update Available banner with GitHub release check (#94)
nykUnverified signature* fix: migrate middleware.ts to proxy.ts for Next.js 16 (#88) Next.js 16 deprecated the `middleware` file convention in favor of `proxy`. The proxy runs on the Node.js runtime instead of Edge, so safeCompare now uses crypto.timingSafeEqual instead of manual XOR. All auth logic, CSRF validation, host matching, and security headers are preserved unchanged. * feat: add "Update Available" banner with GitHub release check Add a dismissible emerald banner that appears when a newer GitHub release exists, so self-hosting users know an update is available. The banner dismisses per-version (reappears for new releases). - Create src/lib/version.ts as single source of truth from package.json - Add /api/releases/check route with 1hr caching and graceful fallback - Add UpdateBanner component mirroring LocalModeBanner pattern - Add update state to Zustand store with localStorage persistence - Fix hardcoded v2.0 in header-bar.tsx and 2.0.0 in websocket.ts1b11b46 -
fix: task board SSE wiring, priority enum, webhook event, auto-advance, parallel broadcast (#73) (#89)
nykUnverified signature- Wire task board panel into Zustand store for real-time SSE updates instead of local useState; add useSmartPoll fallback when SSE disconnects - Fix priority enum mismatch: UI now uses 'critical' matching the Zod validation schema instead of 'urgent' - Add 'task.status_changed' to webhook EVENT_MAP so external consumers receive status transition events - Auto-advance task to 'done' column when aegis quality review approves, broadcasting task.status_changed for real-time UI update - Parallelize broadcast loop with Promise.allSettled so N agents execute concurrently (~10s) instead of serially (N×10s) Closes #73d29b161 -
feat: sync side panel navigation with URL routes (#76) (#87)
nykUnverified signatureMove page.tsx to [[...panel]] optional catch-all route so each panel gets its own URL (e.g. /tasks, /agents, /settings). URL is the source of truth — synced into Zustand via usePathname on every navigation. Enables bookmarking, refresh persistence, deep-linking, and browser back/forward.5edec43 -
fix: deduplicate sessions by sessionId and add task edit modal (#86)
nykUnverified signatureDeduplicate gateway sessions server-side using sessionId as primary key, falling back to agent:key composite for sessions without sessionId. This prevents duplicate React keys when OpenClaw tracks cron runs under the same session ID as the parent session. Also adds EditTaskModal to the task board panel with inline edit button in the task detail modal, and improves CreateTaskModal error handling. Cherry-picked and adapted from PR #77 by @arana198. Closes #8054ae8f3 -
feat: Ed25519 device identity for WebSocket challenge-response handshake (#85)
nykUnverified signatureAdd client-side Ed25519 key pair generation and nonce signing for OpenClaw gateway protocol v3 connect.challenge flow. Keys persist in localStorage and are reused across sessions. The handshake falls back gracefully to auth-token-only mode when Ed25519 is unavailable. Closes #74, closes #79, closes #81a79a97a -
fix: healthcheck auth, secure cookie auto-detect, model object crash (#84)
nykUnverified signatureBug 1 (#78): Dockerfile HEALTHCHECK curled authenticated /api/status, always got 401 in production. Changed to /login which is public. Bug 2 (#78): Login hangs on HTTP deployments because secure=true cookie is silently rejected. Now auto-detects protocol from x-forwarded-proto header, only sets secure when request actually came over HTTPS. Bug 3 (#78): Agent model field from OpenClaw 2026.3.x is {primary: "name"} object instead of string, causing React error #31. Added normalizeModel() helper and applied it in all WebSocket/session mapping code paths.f5d72bc -
feat: add local mode auto-detection for no-gateway users (#83)
nykUnverified signatureWhen no OpenClaw gateway is detected, Mission Control now automatically switches to Local Mode — showing a clear info banner, greying out gateway-dependent panels, and surfacing Claude Code session stats, GitHub profile data, and subscription-aware cost display. Changes: - Add capabilities endpoint to detect gateway, Claude home, subscription - Add dashboardMode/gatewayAvailable/subscription state to Zustand store - Add dismissible LocalModeBanner component - Grey out Agents/Spawn/Config nav items when no gateway - Show blue "Local Mode" indicator instead of red "Disconnected" - Dashboard shows local metric cards (sessions, projects, tokens, cost) - Claude Code Stats panel with session/token/cost breakdown - GitHub panel with repo stats, languages, star/fork counts - Subscription detection from ~/.claude/.credentials.json - Show "Included (Max plan)" instead of dollar cost for subscribers - Fix token cost estimation (cache reads at 10%, not 100%) - Sessions API falls back to local Cla…bfb8731
-
fix: cherry-pick improvements from PR #57 (#71)
nyk +1: Doan Bac TamUnverified signatureCherry-picks three valuable fixes from @doanbactam's WebSocket refactor PR: 1. Feed item ID collision fix — prefix log IDs with 'log-' to avoid React key collisions with activity IDs in the combined feed 2. Jittered reconnect backoff — add random jitter (0-50% of base) to WebSocket exponential backoff to prevent thundering-herd reconnects when multiple tabs reconnect after a server restart 3. Cron job deduplication + async I/O — deduplicate jobs.json entries by name (keeps latest), prevent duplicates on add, and convert sync file reads/writes to async to avoid blocking the event loop Co-authored-by: Doan Bac Tam <24356000+doanbactam@users.noreply.github.com>56c873a