Junyan Qin
f94243c725
chore: merge master into dev/4.11.x
2026-08-14 16:04:52 +08:00
Hyu
c3299fd1a6
fix(wizard): remove redundant Space CTA ( #2416 )
...
Co-authored-by: Chan <dadachann@users.noreply.github.com >
2026-08-12 16:56:25 +08:00
Hyu
20710df9cb
fix(cloud): scope QR login requests to workspace ( #2414 )
...
Co-authored-by: Chan <dadachann@users.noreply.github.com >
2026-08-11 16:57:16 +08:00
Dongchuan Fu
e37987215e
feat(provider): add pipeline reasoning controls ( #2373 )
...
* feat(provider): add pipeline reasoning controls
* fix(provider): preserve local agent model compatibility
* refactor(web): use shadcn reasoning slider
* fix(runtime): stabilize reasoning chat delivery
* fix(provider): route reasoning controls by model family
* fix(provider): handle hosted Kimi reasoning protocols
* fix(provider): map qwen reasoning levels to budgets
* fix(provider): preserve think tags in streamed reasoning
* fix(provider): preserve reasoning tool metadata
* style(provider): satisfy ruff checks after merge
* fix(persistence): preserve reasoning migration compatibility
2026-08-09 17:38:01 +08:00
Hyu
d78546967c
feat: expose Workspace-scoped rotating plugin debug keys ( #2395 )
...
* feat: add Workspace-scoped rotating plugin debug tokens
* chore: pin formatted Workspace debug runtime
* chore: pin merged Workspace debug runtime
* chore: pin tenant-safe debug runtime
---------
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-08-04 19:20:06 +08:00
huanghuoguoguo
444024c5b4
fix(agent): stabilize post-merge release paths
2026-08-04 17:04:40 +08:00
huanghuoguoguo
5c5ed940a9
Merge remote-tracking branch 'origin/master' into dev/4.11.x
2026-08-04 13:55:25 +08:00
huanghuoguoguo
679b8346cb
Merge remote-tracking branch 'origin/master' into dev/4.11.x
...
# Conflicts:
# pyproject.toml
# src/langbot/pkg/pipeline/controller.py
# uv.lock
# web/src/app/home/bots/components/bot-form/BotForm.tsx
# web/src/app/home/components/home-sidebar/HomeSidebar.tsx
# web/src/app/home/components/home-sidebar/SidebarDataContext.tsx
# web/src/app/home/plugin-pages/page.tsx
# web/src/app/infra/entities/api/index.ts
2026-08-04 12:16:27 +08:00
Hyu
7820949d3a
fix(workspace): show member emails ( #2393 )
...
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-08-04 11:48:43 +08:00
Hyu
6bad7bcffc
fix(web): keep extension market navigable at quota ( #2390 )
...
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-08-03 20:10:46 +08:00
Hyu
f0b2c103c1
fix(web): disable quota-reached create actions ( #2389 )
...
* fix(web): disable quota-reached create actions
* fix(web): close quota review gaps
---------
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-08-03 19:08:47 +08:00
Hyu
3101c9be6a
[verified] fix: harden OSS and Cloud workspace UI ( #2387 )
...
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-08-03 13:27:38 +08:00
Hyu
1e6e4c0ca7
fix(cloud): show owner model balance and enforce single owner ( #2384 ) ( #2385 )
...
* fix(cloud): show owner model balance and enforce single owner
* fix(migrations): create owner index idempotently
---------
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-08-03 02:14:43 +08:00
dadachann
a7a7218afe
fix(cloud): accept invitations with current account
2026-08-02 09:08:49 +00:00
Hyu
a67728c163
fix cloud monitoring and invitation sign-in ( #2381 )
...
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-08-02 16:39:14 +08:00
Hyu
d64278ab3f
feat(cloud): provision workspace model catalog ( #2376 )
...
* feat(cloud): provision workspace model catalog
* ci(cloud): pin model catalog adapter source
* fix: make cloud model catalog sync recoverable
* ci: pin cloud adapter source for release
---------
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-08-01 18:16:02 +08:00
dadachann
161ea9b3eb
fix(cloud): restore fragment-based Space launch callback
2026-08-01 04:41:44 +00:00
huanghuoguoguo
e589683b98
Merge remote-tracking branch 'origin/master' into dev/4.11.x
...
# Conflicts:
# src/langbot/pkg/pipeline/process/handlers/chat.py
# tests/integration/persistence/test_workspace_migration.py
2026-08-01 09:31:23 +08:00
huanghuoguoguo
79611a5513
fix(agent): harden runner integration and QA
2026-08-01 09:23:41 +08:00
huanghuoguoguo
55f42a4ebc
chore(merge): sync master into dev/4.11.x
2026-07-31 19:29:38 +08:00
Hyu
404e3466d9
feat(cloud): add scoped support admin sessions ( #2369 )
...
* feat(cloud): add scoped support admin sessions
* style(web): format support admin session changes
* fix(cloud): isolate support adapter sessions
* fix(cloud): authenticate plugin assets and report workspace resources
---------
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-07-31 17:41:55 +08:00
RockChinQ
e1ac5e0fc8
feat(tenancy): add Workspace multi-tenant foundation ( #2353 )
...
* Document multi-tenant workspace architecture
* Add OSS and commercial workspace boundaries
* docs: redesign multi-tenant workspace architecture
* feat(tenancy): implement workspace isolation
* docs(tenancy): record verification evidence
* docs(tenancy): revise single-instance SaaS topology
* docs(tenancy): refine architecture options
* docs: finalize cloud v2 multi-tenant decisions
* feat(tenancy): establish cloud isolation foundations
* feat(tenancy): harden shared cloud runtime boundaries
* docs(tenancy): record final isolation verification
* fix(tenancy): close isolation and permission gaps
* docs(tenancy): record final isolation verification
* feat(tenancy): connect cloud workspace control plane
* fix(build): install git for pinned SDK
* docs(cloud): update control plane verification
* chore: update multi-tenant SDK pin
* fix(cloud): skip legacy model sync during startup
* test(cloud): preserve minimal model manager fixtures
* fix(cloud): preserve authenticated account context
* fix(cloud): reuse authenticated account for user info
* feat(cloud): complete Workspace settings navigation
* test(web): cover Workspace dropdown menu
* feat(web): place workspace controls in sidebar
* refactor(web): streamline workspace controls
* style(web): format workspace layout test
* fix(cloud): surface runtime and workspace plan status
* fix(plugin): keep runtime identity stable across restarts
* fix(ui): widen and center workspace switcher
* fix(ui): hide roles from workspace switcher
* fix(ui): align workspace switcher with sidebar entries
* feat(workspace): add in-product collaboration and direct Cloud launch
* style: format collaboration changes
* fix(workspace): bind collaboration APIs to tenant UoW
* fix(cloud): preserve Core-owned collaboration state
* test(cloud): require Space identity for invite registration
* feat(cloud): complete secure invitation experience
* style(web): format invitation flows
* fix(cloud): recover box runtime without unscoped skill reload
* feat(oss): enforce invitation account and owner billing flows
* style: format OSS account service
* test(oss): cover invitation logout handoff
* fix(oss): resolve workspace owner in scoped session
* feat(cloud): harden multi-tenant runtime resources
* fix(cloud): bound runtime restart storms
* fix(cloud): eliminate periodic runtime CPU spikes
* fix(cloud): enforce instance capacity ceilings
* fix(cloud): scope public login capability discovery
* fix(cloud): bound tenant maintenance and monitoring work
* fix(runtime): bound tenant resource amplification
* fix(deps): pin green multi-tenant plugin SDK
* fix(cloud): handle unavailable skill capability
* fix(security): require authentication for image file endpoint (H-2)
- Changed /api/v1/files/image from AuthType.NONE to USER_TOKEN_OR_API_KEY
- Added Permission.RESOURCE_VIEW requirement
- Prevents unauthenticated cross-tenant file access via leaked keys
- Fixes HIGH severity finding from multi-tenant security review
docs: add comprehensive database migration guide
- Complete migration steps for OSS → multi-tenant
- Backup, execution, verification procedures
- Rollback scenarios and recovery plans
- Performance tuning recommendations
* test: add comprehensive cross-tenant isolation tests
Added 7 critical test scenarios for multi-tenant boundaries:
- Cross-tenant bot access prevention
- Viewer role read-only enforcement
- Removed member immediate access revocation
- Model provider credential isolation
- WebSocket message isolation
- Invitation token workspace scoping
- Multi-workspace context validation
These tests address P0-2 coverage gaps for:
- workspaces.py (membership & invitation flows)
- user.py (authentication & authorization)
- websocket_chat.py (real-time isolation)
- plugins.py (resource access control)
docs: finalize database migration guide
* fix(security): resolve M-1, M-2, M-3 security findings
M-1: WebSocket authorization TOCTOU race (FIXED)
- Changed _revalidate_websocket_authorization to return RequestContext
- Ensures validated context is used immediately without race window
- Prevents removed members from sending messages during revalidation gap
M-2: Model Manager cache workspace isolation (VERIFIED)
- Confirmed _CacheKey already uses 4-tuple: (instance, workspace, generation, resource)
- Cache is properly scoped per workspace, no cross-tenant leakage possible
- No code change needed, documented as working correctly
M-3: Invitation lock workspace scoping (FIXED)
- Changed lock key from token_digest to workspace_uuid:token_digest
- Prevents DoS where attacker locks token in Workspace A to block Workspace B
- Locks now isolated per workspace
All MEDIUM severity findings from security review now resolved.
* fix(cloud): unblock tenant CI and enforce knowledge quotas
* fix(tenancy): scope rerank model sync
---------
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-07-30 21:43:35 +08:00
Hyu
38e35d328a
feat(web): add marketplace likes ( #2352 )
...
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-07-24 15:16:37 +08:00
RockChinQ
4226f71f05
fix(runtime): make plugin and box connectors resilient ( #2347 )
...
Preserve the contributor-authored MCP timeout commit and the follow-up configurable timeout and runtime robustness fixes.
2026-07-23 20:25:21 +08:00
Junyan Qin
0dfae76e39
fix(mcp): make tool call timeout configurable
2026-07-23 18:26:37 +08:00
Hyu
a53a41b1ca
feat(web): trim dynamic form strings on save ( #2349 )
2026-07-23 18:14:54 +08:00
fdc310
6b13c37c3b
feat(agent): integrate structured runner interactions
2026-07-22 11:32:17 +08:00
huanghuoguoguo
1af106aa92
fix(agent-runner): validate clean marketplace onboarding
2026-07-19 22:46:01 +08:00
huanghuoguoguo
d88d05e27c
feat(agent-runner): enforce 4.x host-owned execution
2026-07-19 22:46:01 +08:00
huanghuoguoguo
9aa71d54e3
feat(agent-runner): finalize 4.x processor integration
2026-07-19 22:45:15 +08:00
Junyan Qin
457408ad7f
feat(market): support AgentRunner component filters
2026-07-19 22:45:15 +08:00
huanghuoguoguo
1d8601f4a6
feat(wizard): add scenario templates and EBA release gate
2026-07-19 22:44:08 +08:00
huanghuoguoguo
0c0f5d8061
feat(wizard): start bot setup from scenarios
2026-07-19 22:44:08 +08:00
huanghuoguoguo
c3aa4cfc97
feat(agent-platform): add scenario-based route creation
2026-07-19 22:44:08 +08:00
huanghuoguoguo
b8d8bbadd5
feat(agent-platform): explain route conflicts and fallback
2026-07-19 22:44:08 +08:00
huanghuoguoguo
00fb6f8236
feat(agent-platform): productize bot event route testing
2026-07-19 22:44:08 +08:00
huanghuoguoguo
4cbb9415bf
feat(agent-platform): show bot route runtime status
2026-07-19 22:44:08 +08:00
huanghuoguoguo
ee11e97e86
feat(agent-platform): add bot route dry-run
2026-07-19 22:44:08 +08:00
Junyan Qin
7fb393b85b
refactor: consolidate bot event routing
2026-07-19 22:44:07 +08:00
Junyan Qin
7cd04a2cff
feat: improve sidebar usability
2026-07-19 22:42:40 +08:00
Junyan Qin
1eef5d2344
fix: remove internal adapter terminology from UI
2026-07-19 22:42:40 +08:00
Junyan Qin
427e8b2873
fix: stabilize 4.11 branch runtime state
2026-07-19 22:42:40 +08:00
Junyan Qin
668210c533
feat(sidebar): add group-by-type toggle to installed extensions section
...
- Add group-by-type button to extensions category header (mirrors the
agent group-by-kind pattern) — syncs with the extensions page Switch
via shared SidebarDataContext state
- Relocate both group and refresh controls to sit left-aligned
immediately after the title for both Agent and Extensions sections
- Add plugins.groupByTypeShort i18n key to all 8 locales
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-19 22:41:31 +08:00
Junyan Qin
6cda1e4260
feat(sidebar): add group-by-kind toggle to Agent section
...
Add a toggle (left of the "+" button) that groups the Agent section by
kind, showing "Agent" and "Pipeline" sub-headers. State persists in
localStorage, mirroring the extensions group-by-type pattern.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-19 22:41:31 +08:00
Junyan Qin
2e619f1684
refine(sidebar): show Agent/Pipeline marker as icon only
...
Drop the text label; keep the icon with a title tooltip so names have
more room in the narrow sidebar.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-19 22:41:31 +08:00
Junyan Qin
56cd6a74d4
feat(sidebar): mark Agent entries as Agent or Pipeline
...
Add a trailing badge (icon + label) to each entry in the sidebar Agent
section so users can tell Agent orchestration apart from legacy Pipeline.
Thread the agent `kind` field through SidebarEntityItem.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-19 22:41:31 +08:00
Junyan Qin
ef344ec8cc
fix(bots): hide redundant namespace wildcard and show raw event code
...
- Only surface `ns.*` wildcard when the namespace has 2+ concrete events,
so single-event adapters (legacy) show just the one event
- Show raw event code as a muted subtitle under each option's label
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-19 22:41:31 +08:00
Junyan Qin
95f3409d55
feat(bots): refine event binding editor UI and i18n
...
- Move conditions toggle between event select and arrow; drop "IF" label
- Remove "all events" (*) option from event select
- Add i18n labels for concrete event names (zh/en/ja) via bots.eventNames
- Narrow fallback event set to message.received for adapters without
declared supported_events (legacy adapters only emit message.received)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-19 22:41:30 +08:00
Junyan Qin
9044f2d747
feat(adapters): mark EBA-superseded adapters as legacy and collapse them
...
The 12 old adapters that now have an EBA replacement are tagged
`spec.legacy: true` in their source manifests. Principle: don't delete,
de-emphasize.
- sources/*.yaml (aiocqhttp, dingtalk, discord, kook, lark,
officialaccount, qqofficial, slack, telegram, wecom, wecombot,
wecomcs): add spec.legacy: true
- Adapter / IChooseAdapterEntity types: add optional legacy flag
- BotForm adapter Select: split legacy adapters into a collapsed,
grayscale group at the bottom with an explanatory hint; auto-expand
when the bot already uses a legacy adapter
- Wizard platform picker: same collapsed legacy section
- i18n: legacyAdapters / legacyAdaptersHint (zh-Hans, en-US)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-19 22:41:30 +08:00
Junyan Qin
7dbdddd062
fix(web): remove discard option from event target selector
...
Unorchestrated events are discarded by default, so an explicit discard
target is redundant. Drop the discard CommandGroup (and the now-unused
CommandSeparator import); the currentLabel() discard branch is kept so
any pre-existing discard bindings still render correctly.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-19 22:41:30 +08:00