RockChinQ
f488087cc4
Merge remote-tracking branch 'origin/master' into feat/certified-cross-tenant-worker-pool
2026-09-25 13:33:22 +00:00
RockChinQ
9f296bd57e
feat(plugin): route certified installs to shared workers
2026-09-25 12:48:55 +00:00
TyperBody
afe700f1d8
fix(plugin): keep certified marketplace packages installable on OSS
...
The certified-archive admission gate treated any declared certificate it could
not resolve as an untrusted archive and rejected the install with
CERTIFIED_PLUGIN_OSS_FORCE_REQUIRED. OSS ships an empty
plugin.certification.trusted_public_keys ring and the marketplace signs every
package with its own issuer key, so all certified marketplace packages (for
example langbot-team/RunnerDemo and langbot-team/LocalAgent) failed at the
'validating plugin package' step before artifact storage.
Admission now distinguishes an unresolvable declaration from a configured trust
decision that fails:
- record certificate_id only when the key_id is actually present in the
configured ring, so an empty ring yields an unresolvable declaration;
- OSS degrades an unresolvable declaration to the existing oss_dev dedicated
profile with CERTIFIED_PLUGIN_OSS_UNTRUSTED_DEDICATED instead of blocking;
- a resolvable declaration that still fails keeps requiring the explicit
administrator force (CERTIFIED_PLUGIN_OSS_FORCE_REQUIRED);
- Cloud stays fail-closed and rejects before storage.
No shared-runtime privilege is granted when the issuer is not trusted, so this
withholds isolation rather than escalating it.
2026-09-25 19:32:54 +08:00
RockChinQ
eb9261fae1
fix(migration): pin certified runner packages
2026-09-25 05:42:34 +00:00
RockChinQ
27871e4363
merge: integrate master certification and document identity fixes into 4.11
2026-09-21 10:55:40 +00:00
RockChinQ
20a04a77bf
feat(plugin): enforce certified archive admission ( #2553 )
...
* feat(plugin): add certified admission policy
* feat(plugin): enforce certified archive admission
* chore(plugin): pin certified SDK beta
* fix(plugin): consume SDK beta 5
* style(plugin): format certification admission
2026-09-20 18:54:45 +08:00
RockChinQ
60606e1997
fix(migration): improve runner migration and plugin installation feedback
2026-09-18 13:10:32 +08:00
RockChinQ
8c119bc4b6
feat: add verified manual pipeline migration for plugin runners
2026-09-16 18:13:11 +00:00
RockChinQ
273b1ea3cf
Merge master into dev/4.11.x and preserve plugin runner architecture
...
Reconcile migration branches without rewriting published revisions; retain additive Codex, monitoring, provider and platform fixes. Keep dynamic runner schemas and Host ownership, restore compatibility regressions, and preserve safe model-test error handling.
2026-09-16 08:13:07 +00:00
Hyu
f7cfb23480
feat: collect beta-only adapter acceptance evidence
2026-09-15 20:40:03 +08:00
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
huige66631
ce6b647fe7
feat(mcp): detect OAuth-protected remote MCP servers ( #2363 )
...
* feat(mcp): surface OAuth-required server tests
* fix(mcp): show connection failure details in status cards
---------
Co-authored-by: RockChinQ <rockchinq@gmail.com >
2026-09-09 16:13:33 +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
Tynwink
0577689da4
Merge pull request #2517 from langbot-app/feat/api-key-system-context
...
feat(api): add system context endpoint for lbctl
2026-09-07 14:51:31 +08:00
Tynwink2000
bc32eb3ca0
feat(api): add system context endpoint for lbctl
2026-09-07 14:22:27 +08:00
Hyu
0f216a0d4d
feat(provider): support Codex subscriptions with ChatGPT sign-in ( #2513 )
...
* feat(provider): support Codex subscriptions with ChatGPT sign-in
* style: format Codex live integration test
* fix(provider): preserve Codex identity in temporary model tests
* fix(web): portal provider selector without dialog overflow
* fix(web): allow native scrolling in provider dropdown
* fix(provider): surface safe Codex quota and upstream errors
* fix(web): provide reliable Codex copy feedback in dialogs
* feat(provider): confirm cascade deletion from edit dialog
* fix(persistence): discard connections after failed commit
* fix(web): polish provider loading and confirmation motion
---------
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-09-06 23:31:02 +08:00
Hyu
8f0a55a1f4
fix(agent-debug): stream execution traces with platform mocks and coverage
2026-09-05 15:34:29 +08:00
Hyu
1cfe87186c
docs: update published documentation links ( #2509 )
...
Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com >
2026-09-05 00:55:18 +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