RockChinQ
1277c6da07
feat(runner): filter marketplace recommendations by explicit usage
2026-09-12 12:51:16 +08:00
RockChinQ
f24a7c9bb2
feat(runner): unify plugin execution across agents and event processors
2026-09-10 18:04:38 +08:00
RockChinQ
d1c79a35e8
fix(4.11): align omni adapters and EventProcessor marketplace support
2026-09-10 15:06:57 +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
Hyu
8f0a55a1f4
fix(agent-debug): stream execution traces with platform mocks and coverage
2026-09-05 15:34:29 +08:00
Hyu
fde04e64f6
Merge remote-tracking branch 'origin/master' into dev/4.11.x
...
# Conflicts:
# src/langbot/pkg/api/http/controller/groups/pipelines/pipelines.py
# src/langbot/pkg/api/http/service/bot.py
# src/langbot/pkg/provider/runners/localagent.py
# src/langbot/templates/metadata/pipeline/ai.yaml
# tests/unit_tests/api/service/test_bot_service.py
# tests/unit_tests/provider/runners/test_difysvapi_runner.py
# tests/unit_tests/utils/test_safe_regex.py
# web/src/app/infra/entities/adapter-categories.ts
# web/src/app/wizard/page.tsx
# web/src/i18n/locales/en-US.ts
# web/src/i18n/locales/ja-JP.ts
# web/src/i18n/locales/zh-Hans.ts
# web/tests/e2e/plugin-page-auth.spec.ts
2026-08-31 17:17:47 +08:00
Dongchuan Fu
be3734ffda
feat(wizard): rework agent onboarding flow ( #2471 )
...
* feat(wizard): rework agent onboarding flow
* fix(web): support LAN development access
* fix(wizard): parse ranked model selection entries
* feat(wizard): add inbound bot verification
* feat(wizard): add floating page bot verification
* fix(wizard): repair HTTP bot inbound test setup
* feat(wizard): streamline custom model onboarding
* feat(wizard): label page bot test preview
* style(space): apply ruff formatting
* fix(wizard): polish AI engine onboarding
* fix(wizard): clarify local account message test
* feat(wizard): animate AI engine transitions
* fix(wizard): align AI engine setup headers
---------
Co-authored-by: langbot-dev <langbot@users.noreply.github.com >
Co-authored-by: RockChinQ <rockchinq@gmail.com >
2026-08-28 01:30:30 +08:00
RockChinQ
a7badf6258
fix(bots): move adapter debugger to configuration
2026-08-26 23:07:02 +08:00
RockChinQ
3d692fa8db
feat(bots): add platform event debugger
2026-08-26 19:46:59 +08:00
RockChinQ
600a173918
refactor(bots): remove route execution test
2026-08-26 14:28:30 +08:00
Junyan Qin
f94243c725
chore: merge master into dev/4.11.x
2026-08-14 16:04:52 +08:00
Hyu
be8478e940
[verified] docs(skills): add Space model selection tool ( #2415 )
...
Co-authored-by: Chan <dadachann@users.noreply.github.com >
2026-08-12 15:53:38 +08:00
RockChinQ
bbc912d0ef
fix(runtime): restore standalone runtime compatibility
2026-08-11 21:35:03 +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
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
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
huanghuoguoguo
9c32ea4063
fix(agent): harden runner delivery validation
2026-07-27 16:01:57 +08:00
huanghuoguoguo
7d3b53bbce
test(skills): expand local agent reliability coverage
2026-07-26 22:27:42 +08:00
huanghuoguoguo
4bae8728a6
test(skills): harden local agent QA automation
2026-07-26 21:29:30 +08:00
huanghuoguoguo
e3df35e7f7
test(workspace): harden release gate automation
2026-07-20 17:13:19 +08:00
huanghuoguoguo
8afab5fa49
fix(mcp): recover box stdio sessions after disconnect
2026-07-19 22:47:09 +08:00
huanghuoguoguo
3359951837
test(workspace): add top-down release gates
2026-07-19 22:46:01 +08:00
huanghuoguoguo
7706634c34
test(agent): add complex local agent regression coverage
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
c55be79f9f
fix(agent-runner): prepare local runner functional tests
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
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
3aeae92707
test(skills): add bot event routing product flow
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
662627142e
test(agent-runner): strengthen local agent e2e gate
2026-07-19 22:42:40 +08:00
huanghuoguoguo
b29ff78d7b
fix(debug-chat): preserve websocket pipeline routing
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
478c587693
test(qa): sandbox-skill-authoring OPERATE passes on nsjail + docker ( #2271 fixed)
...
- nsjail: full create→exec→register→activate→exec-from-activated-path chain
returns exit 0; activated mount runs scripts/use.py (reads data/input.json)
and writes activated_writeback.txt through to the host skill store.
- docker: same chain now passes after langbot-plugin-sdk#87 (recreate sandbox
container when extra_mounts change). Corrected #2271 root cause from
'docker masks nested bind mount' to container-reuse: extra_mounts was not in
the box session compatibility check, so docker reused a running container and
could not append the activated skill's bind mount.
- Exit criterion 3 (real end-to-end skill use) now DONE; all 5 criteria met.
- Documents the nsjail stale-docker-artifact environment gotcha.
2026-07-19 22:41:30 +08:00
huanghuoguoguo
9e3b653c4f
test(qa): correct acp parity verdict — passes on clean runtime, no public-url
...
Prior matrix recorded acp as blocked needing langbot-assets-gateway-public-url
(PROBEDONE 0 0 / timeout). That was an environment artifact: a duplicate
LangBot-master/ backend contending on box ws-control-port 5410 plus a wedged
plugin runtime (host emit_event / list_agent_runners timing out). On a clean
single-instance runtime acp discovers skills via the SDK SSH reverse tunnel
with no public-url: PROBEDONE 1 17 (8-24s), parity with claude-code (1 15).
2026-07-19 22:41:30 +08:00
huanghuoguoguo
22731ea3de
test(qa): record claude-code-agent skill discovery PASS + acp transport finding
...
- claude-code-agent (new pipeline, remote-ssh->101): langbot_list_assets returns
skills=1 tools=15 in 24s -> all-tool 'skills' asset class is discoverable
end-to-end by an external harness on the unmodified branch
- document the runner transport difference: claude-code uses a stdio bridge
(works on remote-ssh out of the box), acp uses an HTTP proxy (needs
langbot-assets-gateway-public-url on remote-ssh). This is a runner-plugin
detail, not a host all-tool-branch issue
2026-07-19 22:41:30 +08:00
huanghuoguoguo
81179aa534
test(qa): skill all-tool acceptance matrix + mcp-gateway discovery case
...
- references/skill-all-tool-acceptance.md: acceptance matrix for the skill
all-tool model (runner x lifecycle x backend), case status, exit criteria,
and the #2271 known issue (pre-existing box nested-mount, not this branch)
- cases/skill-discovery-via-mcp-gateway.yaml: schema-valid case proving an
external harness discovers skills via langbot_list_assets (the new 'skills'
asset class); marked blocked-env until remote claude-code is responsive
2026-07-19 22:41:30 +08:00
彼方
6a99a83f2d
chore(scripts): mark scripts executable ( #2295 )
2026-06-30 10:50:26 +08:00
huanghuoguoguo
5b2826fa49
Add performance and reliability QA gates ( #2283 )
...
* Add performance and reliability QA gates
* test(skills): prepare user path performance gate
* test(skills): add debug chat load gate
* test(skills): extend fake provider load profiles
* test(skills): add debug chat timing and isolation probes
* test(skills): clarify manual QA perf gates
2026-06-25 21:02:44 +08:00
Junyan Chin
1c128a1524
docs(skills/langbot-plugin-dev): document marketplace README i18n convention (root README.md must be English; other langs in readme/)
2026-06-22 02:39:15 -04:00
huanghuoguoguo
d22fa82d7c
fix(skills): bootstrap generated lbs wrapper ( #2270 )
2026-06-20 17:24:04 +08:00