Skip to content

✨ feat(app): working panel, and many agent document feat#13766

Merged
nekomeowww merged 7 commits into
canaryfrom
neko/dev/agent-workspace-lobe-6292
Apr 15, 2026
Merged

✨ feat(app): working panel, and many agent document feat#13766
nekomeowww merged 7 commits into
canaryfrom
neko/dev/agent-workspace-lobe-6292

Conversation

@nekomeowww

Copy link
Copy Markdown
Member

πŸ’» Change Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ‘· build
  • ⚑️ perf
  • βœ… test
  • πŸ“ docs
  • πŸ”¨ chore

πŸ”— Related Issue

πŸ”€ Description of Change

πŸ§ͺ How to Test

  • Tested locally
  • Added/updated tests
  • No tests needed

πŸ“Έ Screenshots / Videos

Before After
... ...

πŸ“ Additional Information

@vercel

vercel Bot commented Apr 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lobehub Ready Ready Preview, Comment Apr 15, 2026 7:12am

Request Review

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @nekomeowww, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@codecov

codecov Bot commented Apr 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 47.35450% with 398 lines in your changes missing coverage. Please review.
βœ… Project coverage is 66.71%. Comparing base (1a98e1b) to head (fa4de65).
⚠️ Report is 6 commits behind head on canary.

Additional details and impacted files
@@            Coverage Diff             @@
##           canary   #13766      +/-   ##
==========================================
+ Coverage   66.70%   66.71%   +0.01%     
==========================================
  Files        2031     2043      +12     
  Lines      172508   173640    +1132     
  Branches    20197    17779    -2418     
==========================================
+ Hits       115064   115842     +778     
- Misses      57320    57674     +354     
  Partials      124      124              
Flag Coverage Ξ”
app 58.96% <46.57%> (+0.09%) ⬆️
database 92.41% <100.00%> (-0.05%) ⬇️
packages/agent-runtime 79.72% <ΓΈ> (ΓΈ)
packages/context-engine 83.38% <ΓΈ> (ΓΈ)
packages/conversation-flow 92.36% <ΓΈ> (ΓΈ)
packages/file-loaders 87.02% <ΓΈ> (ΓΈ)
packages/memory-user-memory 74.74% <ΓΈ> (ΓΈ)
packages/model-bank 99.86% <ΓΈ> (ΓΈ)
packages/model-runtime 84.20% <ΓΈ> (ΓΈ)
packages/prompts 69.24% <ΓΈ> (ΓΈ)
packages/python-interpreter 92.90% <ΓΈ> (ΓΈ)
packages/ssrf-safe-fetch 0.00% <ΓΈ> (ΓΈ)
packages/utils 90.34% <ΓΈ> (ΓΈ)
packages/web-crawler 88.66% <ΓΈ> (ΓΈ)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Ξ”
Store 66.00% <ΓΈ> (ΓΈ)
Services 52.17% <33.33%> (-0.03%) ⬇️
Server 66.78% <87.53%> (+0.24%) ⬆️
Libs 52.89% <ΓΈ> (ΓΈ)
Utils 91.12% <ΓΈ> (ΓΈ)
πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ’‘ Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 625bbc25b2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with πŸ‘.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +153 to +155
await mutate();
setSavedContent(draft);
} finally {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Only clear dirty state after a confirmed save

This save path marks the editor as clean unconditionally after editDocument, but the backend can legitimately return undefined (for example when the document no longer exists for the active agent). In that case the UI will clear the unsaved indicator even though no content was persisted, and there is no catch branch to surface a failure message for rejected saves. Check the mutation result before calling setSavedContent and handle save errors explicitly.

Useful? React with πŸ‘Β / πŸ‘Ž.

Comment on lines +81 to +83
filename: renamed?.filename ?? item.filename,
title: renamed?.title ?? normalizedTitle,
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Treat missing rename result as failure

The rename updater applies a local title change even when renameDocument returns undefined (which can happen for stale/missing document IDs), because it falls back to normalizedTitle. That makes the client cache and success flow look like a completed rename when the server-side rename did not occur. Handle an empty rename response as an error so the optimistic update is rolled back instead of committing a fake success.

Useful? React with πŸ‘Β / πŸ‘Ž.

Comment on lines +130 to +131
await agentDocumentService.removeDocument({ agentId, id });
return current.filter((item) => item.id !== id);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Verify deletion result before updating UI state

The delete callback ignores the removeDocument response and always removes the item from cache, but the API can return { deleted: false } when the target document is not actually deleted (for example after concurrent changes). In that case users see a success path and the row disappears locally even though nothing was removed server-side. Validate the returned deleted flag and treat false as an error/rollback path.

Useful? React with πŸ‘Β / πŸ‘Ž.

@nekomeowww nekomeowww changed the title ✨ feat(agentWorkspace): right side panel, and many agent document feat ✨ feat(workingPanel): right side panel, and many agent document feat Apr 15, 2026
@nekomeowww nekomeowww changed the title ✨ feat(workingPanel): right side panel, and many agent document feat ✨ feat(app): right side panel, and many agent document feat Apr 15, 2026
@nekomeowww nekomeowww changed the title ✨ feat(app): right side panel, and many agent document feat ✨ feat(app): working panel, and many agent document feat Apr 15, 2026
@nekomeowww nekomeowww merged commit 632a638 into canary Apr 15, 2026
33 of 34 checks passed
@nekomeowww nekomeowww deleted the neko/dev/agent-workspace-lobe-6292 branch April 15, 2026 11:18
canisminor1990 added a commit that referenced this pull request Apr 16, 2026
# πŸš€ LobeHub v2.1.50 (20260416)

**Release Date:** April 16, 2026\
**Since v2.1.49:** 107 commits Β· 101 merged PRs Β· 13 contributors

> This weekly release focuses on improving runtime stability and gateway
execution consistency, while making Home/Recents workflows faster to
navigate and easier to manage in daily use.

---

## ✨ Highlights

- **Server-side Human Approval Flow** β€” Agent runtime now supports more
reliable approve/reject/reject-continue handling in gateway mode,
reducing stalled execution paths in long-running tasks. (#13829, #13863,
#13873)

- **Message Gateway End-to-End Hardening** β€” Gateway message flow, queue
handling, tool callback routing, and stop interruption behavior were
strengthened for better execution continuity. (#13761, #13816, #13820,
#13815)

- **Client Tool Execution in Gateway Mode** β€” Client-executor tools now
run more predictably across gateway and desktop callers, with improved
executor dispatch behavior. (#13792, #13790)

- **Home / Recents / Sidebar Upgrade** β€” Sidebar layout, custom sort,
recents operations, and profile actions were improved to reduce
navigation friction in active sessions. (#13719, #13812, #13723, #13739,
#13878, #13734)

- **Agent Workspace and Documents Expansion** β€” Working panel and agent
document workflows were expanded and polished for better day-to-day
agent operations. (#13766, #13857)

- **Provider and Model Compatibility Improvements** β€” Added GLM-5.1
support and refined model/provider edge-case handling, including schema
and error-path fixes. (#13757, #13806, #13736, #13740)

---

## πŸ—οΈ Core Agent & Architecture

### Agent runtime and intervention lifecycle

- Added server-side human approval and improved runtime coordination
across approve/reject decision paths. (#13829, #13863)
- Improved interrupted-task handling and operation lifecycle consistency
to reduce half-finished runtime states. (#13714)
- Refined error classification and payload propagation so downstream
surfaces receive clearer actionable errors. (#13736, #13740)

### Execution model and dispatch behavior

- Introduced executor-aware runtime behavior to better separate
client/server tool execution semantics. (#13758)
- Improved tool/plugin resolution and manifest handling to avoid runtime
failures on malformed inputs. (#13856, #13840, #13807)

---

## πŸ“± Gateway & Platform Integrations

- Added message gateway support and strengthened queue/error behavior
for more stable cross-channel execution. (#13761, #13816, #13820)
- Improved gateway callback pipeline with protocol and API additions for
`tool_execute` / `tool_result`. (#13762, #13764, #13765)
- Improved bot/channel reliability and DM/slash handling in
Discord-related paths. (#13805, #13724)

---

## πŸ–₯️ CLI & User Experience

- Improved CLI reliability across message/topic operations and
build/minify-related paths. (#13731, #13888)
- Added image-to-video options and improved command behavior for
generation workflows. (#13788)
- Improved desktop runtime behavior for remote fetch and Linux
notification urgency handling. (#13789, #13782)

---

## πŸ”§ Tooling

- Extracted gateway stream client into `@lobechat/agent-gateway-client`
to centralize protocol usage and reduce duplication. (#13866)
- Improved built-in tool coverage and runtime support, including GTD
server runtime and missing lobe-kb tools. (#13854, #13876)
- Updated skill and frontmatter consistency in workflow tooling.
(#13730)

---

## πŸ”’ Security & Reliability

- **Security:** Strengthened API key WS auth behavior and safer
serverUrl forwarding in gateway-related auth paths. (#13824)
- **Reliability:** Reduced runtime stalls by improving gateway
stop/interrupt and approval-state routing behavior. (#13815, #13863,
#13873)
- **Reliability:** Added defensive guards for malformed tool manifests
and non-string content edge cases. (#13856, #13753)

---

## πŸ‘₯ Contributors

**101 merged PRs** from **13 contributors** across **107 commits**.

### Community Contributors

- @arvinxx - Runtime, gateway, and execution reliability improvements
- @Innei - Navigation, workflow UX, and desktop/CLI refinements
- @rdmclin2 - Sidebar, recents, and channel behavior updates
- @ONLY-yours - Tooling/runtime fixes and model execution compatibility
- @tjx666 - Model support and release/tooling maintenance
- @nekomeowww - Memory and search-path stability fixes
- @cy948 - CLI indexing and command flow fixes
- @octo-patch - Local system runtime edge-case fixes
- @djthread - Desktop runtime request reliability improvements
- @rivertwilight - Documentation and changelog updates
- @sudongyuer - Subscription/mobile support improvements
- @Zhouguanyang - Provider/model configuration correctness fixes
- @lobehubbot - Translation and maintenance automation support

---

**Full Changelog**: v2.1.49...v2.1.50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant