Commit Graph

114 Commits

Author SHA1 Message Date
Nyk bae278304b fix: remove manual sender selection in agent comms 2026-03-05 22:03:00 +07:00
nyk 008bba4afb
Merge pull request #226 from builderz-labs/fix/issue-215-workspace-pending-state
fix(workspaces): unblock pending tenant bootstrap flow
2026-03-05 21:41:45 +07:00
Nyk b93d885ad1 fix(workspaces): unblock pending tenant bootstrap flow 2026-03-05 19:26:43 +07:00
Nyk c07dfb04b6 fix(websocket): normalize gateway URLs and dedupe reconnect errors 2026-03-05 19:21:32 +07:00
Nyk 6e3fad558d feat(metrics): add task regression trend endpoint 2026-03-05 18:49:05 +07:00
Nyk f68acc65c0 feat(office): animate day-cycle ambience 2026-03-05 15:55:41 +07:00
Nyk 1400f36237 feat(office): strengthen day-cycle visual themes 2026-03-05 15:52:58 +07:00
Nyk 5b30fccc92 feat(office): add running vs not-running session filters 2026-03-05 15:45:33 +07:00
Nyk 524dc0e88b fix(office): hide inactive local sessions by default 2026-03-05 15:41:52 +07:00
Nyk a76eac9e84 merge: sync virtual office branch with main 2026-03-05 15:30:41 +07:00
Nyk 28a3513fa1 feat(docs): add docs knowledge APIs for issue 189 2026-03-05 15:06:06 +07:00
Nyk 13bda69000 chore: merge main into feat/task-outcome-feedback-192 to resolve PR #207 conflicts 2026-03-05 14:36:39 +07:00
nyk f8870eef74
Merge pull request #206 from builderz-labs/feat/task-cost-observability-193
feat(costs): add task-level cost observability for issue #193
2026-03-05 14:23:54 +07:00
Nyk 6cf4256460 feat(tasks): add outcome tracking and feedback analytics 2026-03-05 14:17:21 +07:00
Nyk 73270c8d9f feat(costs): add task-level token attribution and task-cost rollups 2026-03-05 14:04:29 +07:00
nyk e948a1399b
Merge pull request #204 from builderz-labs/fix/188-task-queue
feat(tasks): add queue polling endpoint for agent pickup
2026-03-05 13:35:44 +07:00
Nyk c0cf678c4d fix(gateway): use stored token for websocket connect payload 2026-03-05 13:31:37 +07:00
Nyk c024731764 feat(tasks): add agent queue polling endpoint 2026-03-05 13:22:12 +07:00
nyk a7f904be89
Merge pull request #203 from builderz-labs/fix/194-195-gateway-remote-connect
fix(gateway): improve remote websocket URL handling for tunnels
2026-03-05 13:03:49 +07:00
Nyk fce3b78706 fix(gateway): improve remote websocket URL handling and client-id errors 2026-03-05 12:55:46 +07:00
Nyk 6d7b20b33b chore: resolve merge conflict with main for PR #178 2026-03-05 12:50:30 +07:00
Nyk 3f2ecad411 chore: resolve merge conflict with main for PR #178 2026-03-05 12:44:32 +07:00
Nyk ee175597be chore: resolve merge conflict with main for PR #180 2026-03-05 12:41:02 +07:00
Nyk 2f2d380b3b fix(agents): enforce attribution scope and add e2e coverage 2026-03-05 12:39:53 +07:00
Nyk 4296943e05 fix(workload): harden signal recommendations and add route e2e coverage 2026-03-05 12:35:01 +07:00
Nyk a63ec39d3b chore: resolve merge conflict with main for PR #177 2026-03-05 12:27:51 +07:00
Nyk 0f8f0a87e4 fix(agents): enforce diagnostics self-scope and validation 2026-03-05 12:12:32 +07:00
nyk 0e14683a12
Merge pull request #201 from builderz-labs/fix/184-assignment-status-normalization
fix(tasks): auto-normalize assignment status transitions
2026-03-05 12:05:01 +07:00
nyk 32f1e4b48a
Merge pull request #200 from builderz-labs/fix/198-auth-ux-redirect
fix(auth): redirect unauthenticated panel requests to login
2026-03-05 12:04:43 +07:00
Nyk 99833f5c53 fix(websocket): declare ping support ref for type safety 2026-03-05 11:21:27 +07:00
Nyk 17b51623be fix(websocket): declare ping support ref for type safety 2026-03-05 11:16:52 +07:00
Nyk 4e3b52c06c fix(tasks): auto-normalize assignment status transitions 2026-03-05 11:13:48 +07:00
Nyk d2edc71861 fix(auth): redirect unauthenticated panel requests to login 2026-03-05 11:11:16 +07:00
ResistanceDown 41bfff8f79
Mission Control: Habi readiness wiring + office segmentation (#187)
* fix mission control wiring for habi memory/orchestration/retention

* feat office org-chart segmentation controls

---------

Co-authored-by: Jeremy Phelps <kokoro@Kokoro.local>
2026-03-05 11:00:54 +07:00
beeman 9d39e51f56
fix: prevent Live Feed sidebar from sliding in on page navigation (#181)
Only apply the slide-in-right animation when the user actively
re-expands the panel, not on initial mount. Also remove dead
duplicate files src/live-feed.tsx and src/page.tsx.
2026-03-05 11:00:44 +07:00
Bhavik Patel 298fbef562
fix: lock task comment author to authenticated user
- Remove manual Author text input from comment form (security concern)
- Use authenticated currentUser.username as comment author automatically
- Display 'Posting as <username>' read-only indicator
- Add inline documentation explaining comment vs broadcast semantics
- Document subscription model: auto-subscribed on create, assign, comment, @mention

Fixes #167
2026-03-05 10:58:53 +07:00
Bhavik Patel 4ab6f8a5a1
fix: improve workspace creation discoverability in super admin
- Add prominent '+ Add Workspace' button in the Super Admin header
  (always visible, next to Refresh)
- Replace hidden 'Show Create Client Instance' toggle with a clear
  'Create New Workspace' section with close (×) button
- Highlight the create form with primary border when open
- Improve instructional text for the creation workflow

Fixes #169
2026-03-05 10:58:49 +07:00
Bhavik Patel 0557bd7385
fix: restore @mention autocomplete visibility in task modal
- Increase MentionTextarea dropdown z-index to z-[60] so it renders
  above z-50 modals (was z-20, clipped by overflow-y-auto on modal)
- Replace plain textarea in broadcast section with MentionTextarea
  for consistent @mention support across all text inputs
- Add hint text to broadcast placeholder about @mention usage

Fixes #172
2026-03-05 10:58:47 +07:00
Bhavik Patel b130b881a0
docs: improve workspace and memory UX guidance
Issue #146 — How to add workspace:
- Add Workspace Management section to README with Super Admin panel docs
- Add Super Admin API endpoints to API overview table
- Add info banner in Settings panel (admin only) linking to Super Admin

Issue #143 — Memory tab in agent view:
- Add info banner in agent Memory tab clearly distinguishing agent
  working memory (DB scratchpad) from workspace memory files
- Add clickable link to Memory Browser page from agent Memory tab
- Improve subtitle text with WORKING.md storage detail

Fixes #146
Fixes #143
2026-03-05 10:58:45 +07:00
nyk ec9ba45628
feat: provision full OpenClaw workspaces from agent creation 2026-03-05 10:57:17 +07:00
fulgore d59b2e70a1
fix: macOS compatibility for status commands and gateway client id
Replace 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>
2026-03-05 10:57:15 +07:00
Bhavikprit 58c4a52060 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 #159
2026-03-04 23:16:00 +04:00
Bhavikprit b38ad43272 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 #160
2026-03-04 23:12:45 +04:00
Bhavikprit 047216dbe2 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 #163
2026-03-04 23:10:19 +04:00
Nyk 79984702de feat: provision full OpenClaw workspaces from agent creation 2026-03-05 00:17:23 +07:00
nyk 4cb86bc80b
Merge pull request #168 from builderz-labs/fix/165-agent-modal-ui
feat: improve agent detail modal visual design
2026-03-05 00:14:23 +07:00
Nyk 2413ab22a0 feat: improve agent detail modal visual design 2026-03-05 00:10:49 +07:00
Nyk 13e91d3d33 fix: correct token costing and add provider subscription detection 2026-03-05 00:05:14 +07:00
Nyk 36d5891d85 feat: add validated @mentions for tasks and comments 2026-03-04 23:37:45 +07:00
nyk dc4a3c539c
Merge pull request #155 from builderz-labs/feat/issues-146-143-145
feat: workspace discoverability and multi-project task support
2026-03-04 23:25:06 +07:00