RockChinQ
f24a7c9bb2
feat(runner): unify plugin execution across agents and event processors
2026-09-10 18:04:38 +08:00
RockChinQ
b7a04f7a24
fix(bots): streamline detail layout and event listening
2026-09-10 15:29:52 +08:00
RockChinQ
d1c79a35e8
fix(4.11): align omni adapters and EventProcessor marketplace support
2026-09-10 15:06:57 +08:00
RockChinQ
5ba25c39af
feat(processors): refine plugin processor configuration and presentation
2026-09-09 15:37:12 +08:00
RockChinQ
ea3e32c904
feat(processors): streamline event debugging and run inspection
2026-09-08 02:30:59 +08:00
RockChinQ
237fa6545d
feat(processors): add explicitly bound plugin event processors
2026-09-08 00:43:35 +08:00
RockChinQ
812eb09ee4
fix(pipeline): apply returned plugin event contexts
2026-09-07 23:51:34 +08:00
Hyu
8f0a55a1f4
fix(agent-debug): stream execution traces with platform mocks and coverage
2026-09-05 15:34:29 +08:00
Hyu
a4d36aa2db
feat(agent): add event-aware tool permissions
2026-09-04 15:37:41 +08:00
RockChinQ
80f1790e1d
refactor(agent): remove enabled state
2026-08-25 23:27:45 +08:00
dadachann
0559d9d441
Merge master into dev/4.11.x
...
# Conflicts:
# pyproject.toml
# uv.lock
2026-08-24 02:34:14 +00:00
RockChinQ
962366c507
fix(deps): make SeekDB optional for native installs
2026-08-21 12:07:36 +08:00
Junyan Qin
f94243c725
chore: merge master into dev/4.11.x
2026-08-14 16:04:52 +08:00
RockChinQ
bbc912d0ef
fix(runtime): restore standalone runtime compatibility
2026-08-11 21:35:03 +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
huanghuoguoguo
55f42a4ebc
chore(merge): sync master into dev/4.11.x
2026-07-31 19:29:38 +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
fdc310
6b13c37c3b
feat(agent): integrate structured runner interactions
2026-07-22 11:32:17 +08:00
huanghuoguoguo
0c8eb90a75
docs(agent-runner): record release probe results
2026-07-19 22:46:01 +08:00
huanghuoguoguo
9f28d6949a
fix(agent-runner): unify streamed completion delivery
2026-07-19 22:46:01 +08:00
huanghuoguoguo
8a7c3fcefe
fix(agent-runner): aggregate non-streaming replies
2026-07-19 22:46:01 +08:00
huanghuoguoguo
54c872b74f
fix(agent-runner): close sandbox skill authoring flow
2026-07-19 22:46:01 +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
428161110f
docs: add EBA productization release plan
2026-07-19 22:44:07 +08:00
huanghuoguoguo
ff5f089225
docs(agent-runner): align protocol compatibility notes
2026-07-19 22:41:31 +08:00
wangcham
84b3485e7e
fix(platform): align eba event declarations
2026-07-19 22:41:31 +08:00
Junyan Qin
27b43c1731
feat(agent): add event orchestration surface
2026-07-19 22:41:30 +08:00
huanghuoguoguo
efc57f3347
docs(agent): update pluginization status
2026-07-19 22:41:30 +08:00
huanghuoguoguo
5f65f962c5
feat(skill): unify skill activation as authorized tools
...
Expose skill tools (activate/register_skill/native exec) like native tools
instead of gating them behind the skill_authoring capability:
- toolmgr.get_all_tools drops include_skill_authoring; SkillToolLoader
self-gates on sandbox + skill_mgr
- preproc drops the include_skill_authoring branch; pipeline-bound skills
and the skills resource gate on skill_mgr presence
Persist activated skills into host.activated_skills conversation state so
they survive across runs (host writes at activate; last-write-wins); drop
the dead restore_activated_skills helper.
Prefill ToolResource.parameters host-side (tool_mgr.get_tool_schema) so
runners build LLM tools without per-tool get_tool_detail round-trips.
Align agent-runner-pluginization design docs to the all-tool model.
2026-07-19 22:41:30 +08:00
huanghuoguoguo
cb9930c9e4
feat(agent-runner): add plugin runner host integration
2026-07-19 22:41:30 +08:00
Junyan Qin
d992bad93a
docs(eba): record agent-unified orchestration direction and final product form
2026-07-19 22:40:16 +08:00
wangcham
1167d9e951
feat(kook): add eba adapter
2026-07-19 22:40:16 +08:00
WangCham
7b2698f476
feat(platform): add slack eba adapter
2026-07-19 22:40:16 +08:00
WangCham
adfd88e477
feat(platform): add qqofficial eba adapter
2026-07-19 22:40:16 +08:00
WangCham
67e2d19459
feat(officialaccount): add eba adapter
2026-07-19 22:40:16 +08:00
WangCham
377d96ea4f
feat(platform): add wecom customer service eba adapter
2026-07-19 22:40:16 +08:00
WangCham
1caabd4193
feat(platform): add wecom eba adapters
2026-07-19 22:40:16 +08:00
Junyan Qin
1919733daf
feat(platform): add lark eba adapter
2026-07-19 22:39:15 +08:00
Junyan Qin
dbaaf4f0cf
docs: update eba inbound media evidence
2026-07-19 22:39:15 +08:00
Junyan Qin
9161ed6ae2
feat(platform): add dingtalk eba adapter
2026-07-19 22:39:15 +08:00
Junyan Qin
f105343efe
feat: complete eba adapter acceptance path
2026-07-19 22:38:10 +08:00
Junyan Qin
bba87cf728
docs: add eba adapter acceptance report
2026-07-19 22:38:10 +08:00
Junyan Qin
3f7a97e541
feat: migrate aiocqhttp adapter to eba
2026-07-19 22:38:10 +08:00
Junyan Qin
e04c8b65a5
feat: add discord eba adapter
2026-07-19 22:38:10 +08:00
Junyan Qin
4393736445
docs: add eba adapter migration records
2026-07-19 22:38:10 +08:00
Junyan Qin
6c7d3cd204
feat: route telegram eba events to plugins
2026-07-19 22:38:10 +08:00
Junyan Qin
fed1a9b6e9
docs: add eba feedback event design
2026-07-19 22:38:10 +08:00
Junyan Qin
0cd1594955
chore: docs
2026-07-19 22:38:09 +08:00