* ci: streamline pull request checks and run the full matrix daily
Refs #3055
* ci: run runtime contracts only on affected Core checks
* test(ci): distinguish SDK checks from SDK publication
* fix(ci): retain legacy regressions and scope production image builds
* docs(ci): clarify focused regressions and production image selection
* test(artifact): cover mixed media, isolation and native retention
Exercise real Core, Runtime and Runner with mixed attachments and retention. Keep deterministic checks separate from native 30-hour soak and credentialed provider acceptance.
* test(artifact): isolate compaction evidence in shared SQLite suite
* test(artifact): exercise native media compaction and scheduled GC under load
* test(artifact): allow native GC scheduler grace at soak finish
Run affected persistence/network, permission lifecycle and production-image upgrade/replacement acceptance before the existing required Core smoke status. Share persistence acceptance with Daily Endurance and fail the required status for missing, unsuccessful or cancelled P0 results.
Add authorization and content boundary tests and record a bounded mutation evaluation: 102 selected variants, with 87 killed and 15 explained survivors, stable across two executions. Product implementation and application dependencies are unchanged.
Startup used pip.main to install missing packages into whatever environment
Core was running in, then exited asking for a restart. Every supported install
(Docker image, uv venv, uvx, lbctl-managed native) ships a locked dependency
set, so this only mutated ephemeral or foreign environments.
- check_deps stays as a diagnostic; missing packages now print reinstall
guidance and exit 1 instead of being installed.
- Remove the unused precheck_plugin_deps (legacy plugins/ requirements) and
utils/pkgmgr.py, which only served it and hardcoded the Tsinghua index.
- Remove the unmaintained docker/deploy-k8s-test.sh helper.
The pip runtime dependency stays: the plugin runtime installs plugin
requirements with `python -m pip`.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
The pipeline launcher id (and anything persisted from it, such as the
HumanTakeover plugin's session target) is the customer's external_userid
only, while WeComCS send_message required "external_userid|open_kfid".
Manual replies therefore failed with
"ValueError: WeComCS target_id must be formatted as ...".
send_message now accepts a bare external_userid: it uses the open_kfid the
customer last wrote to, and otherwise falls back to the app's only customer
service account (kf/account/list). Ambiguous or malformed targets still
raise a clear error. Launcher ids are unchanged, so existing sessions,
access-control lists and routing rules keep working.
Fixes#3021
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
Reverts the Cloud default-on from #3012: in two days it mailed about 2.3k
alerts, mostly bot_offline bursts caused by platform-side capacity errors.
Workspaces without saved settings now have alerts off everywhere.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
Cloud Core's main thread sat at 100% of one core while the 8-core node
was ~77% idle. A py-spy profile of production showed four avoidable
hotspots, each of which scaled with the number of Workspaces:
- Model list serializers scanned the whole runtime LLM cache (~125k
models across ~3.4k Workspaces) once per model. Resolve the
Workspace's runtime models once via the per-scope key index.
- Cloud model catalog sync reconciled every Workspace on every directory
change. Directory-triggered passes now skip Workspaces whose desired
state (catalog + owner key) is unchanged; a full reconcile still runs
every sync interval to repair drift.
- Inline media TTL cleanup selected agent_run_event candidates globally,
so every Workspace walked 100 other Workspaces' old events per hour,
one transaction each. Candidates now come from the Workspace's own
expired runs and only rows that can contain an inline image are
visited.
- An unset storage.media_cache key logged two warnings per Workspace on
every maintenance pass.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
_reject_reason missed 100.64.0.0/10 (shared address space), which holds
the Alibaba Cloud metadata endpoint 100.100.100.200. ipaddress does not
mark it private or reserved, only not global.
Fixes#3028
Co-authored-by: goranai <goranai@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(auth): stop logging Cloud users out on transient server failures
On Cloud, valid sessions were bounced to /login: authentication that
failed for infrastructure reasons (BlockingWorkCapacityError from the
2-thread DNS pool, socket.gaierror, database blips) answered 401, and the
WebUI tears down the session on any 401. Production logs showed 47
capacity and 2 DNS failures answered as 401 in one hour.
- Transient authentication failures now answer 503
'authentication_unavailable' with Retry-After; credential failures keep 401.
- The resolver pool scales with the main pool (64 workers -> 16 DNS
workers / 256 queued, minimum 4 / 64) instead of a fixed 2 / 32.
- WebUI retries a request once on that 503, and on a 401 confirms with
/user/check-token before clearing the session.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(plugins): upload button on the plugin detail page
Debug, local and GitHub installs get the same 'Upload to marketplace'
action on their detail page as on the installed-plugin card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(space-share): share prompts, skills, remote MCPs and local plugins to LangBot Space (LANG-439)
- Prompt library dialog on Pipeline (messaging) and Agent (agent) prompt
fields: search, preview, replace/append, favorites tied to the bound
LangBot Account; share the current prompt for review
- Share to Space for Skills (file list + credential scan) and remote MCP
servers (credentials become ${VAR} placeholders before anything leaves
Core; stdio stays private)
- Community MCP installs with required inputs are created disabled and the
detail page lists the placeholders to fill (unfilled_inputs)
- Locally / GitHub-installed plugins share their exact installed .lbpkg via
the existing space-upload flow
- docs (zh/en/ja) and dev-docs contract note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(web): use a star for prompt favorites (LANG-439)
The heart is the anonymous extension like; favorites need a LangBot Account.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(i18n): call messaging prompts "Messaging" in English (LANG-439)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): marketplace type tiles matching Space, shadcn prompt list (LANG-439)
- the in-app marketplace shows All / Plugins / MCP / Skills as tiles with a
description and count, plugin components and Runner usage as ToggleGroup
chips; the Filters popover is gone (same layout as space.langbot.app)
- prompt library rows use the shadcn Item component
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* style(market): soften extension type tiles; type-tinted selected state
Drop the dark outline/ring on the selected tile. Idle tiles use a muted
fill; the selected tile gets a soft type-tinted fill with an inset ring
and a solid icon badge.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* style(market): use a fixed blue for the selected All tile
The theme primary is near-black in Core, which brought back the dark
selected border on the All tile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): switch market type on press and keep results while loading
Type tiles switch on mouse press (keyboard/touch still use click).
Filter changes keep the current cards dimmed until the new page arrives,
and stale responses are ignored.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): apply library prompts in the WebUI language; one-language share note
- Prompt library applies the version matching the WebUI language (exact
-> same family -> en_US -> original), with a language switcher.
- Share dialogs say one language is enough; other languages are
translated automatically after upload.
- extractI18nObject falls back across Chinese scripts and to any
available language instead of rendering an empty label.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): one-click LangBot Account binding from share and library
- Share dialogs: the 'bind a LangBot Account' state now has a button that
starts the bind flow and returns to the same page; the creator-profile
state gets a button too, with clearer copy.
- Prompt library: when no account is bound, the preview shows a
'bind to favorite' button instead of only a disabled tab tooltip.
- Shared useSpaceBind hook.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): friendly empty state for templates; contributors no longer tag
- Empty template list: short, playful 'on their way, be the first to
share' state (Space /templates, Core prompt library).
- Share dialogs drop the tags field; Space assigns tags during review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(space-share): update an existing item; clearer identifier field
- Share dialogs list the bound account's published items of the same type
(prompts: same kind) and offer 'Update existing': pick an identifier,
metadata is prefilled, a changelog is asked for and the submission
becomes the next version. Sharing something with the same identifier
preselects update mode.
- The identifier field now looks like a normal input with the fixed
'@creator/' prefix and a format hint.
- GET /api/v1/space-share/items proxies the Space owner item list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>