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>
* 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>
Workspaces without saved alert settings default to alerts on in the
multi-tenant Cloud runtime (existing and newly registered) and stay opt-in
on self-hosted and dedicated instances. A saved choice always wins.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* refactor(email): move invitation mail config to a shared top-level email section (LANG-429)
workspace.invitations.email becomes the instance-wide email section used by
invitations and alerts. LoadConfigStage migrates the legacy section on
startup and WORKSPACE__INVITATIONS__EMAIL__* stay aliases of EMAIL__*.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(alerts): Workspace failure alerts via email, LangBot Space and webhooks (LANG-429)
Pipeline errors, model call failures and adapter crashes open deduplicated
incidents that notify owners and admins through the instance mail service,
the official LangBot Space sender, or selected webhooks, with reminders,
recovery notices and per-Workspace caps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): Alerts settings panel (LANG-429)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* docs: alerts guide and shared email settings (LANG-429)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(alerts): opt-in alerts, dashboard shortcut and LangBot Account sign-in prompt (LANG-429)
Alerts start off for every Workspace. The dashboard Failed card offers an
Enable alerts shortcut while failures exist and alerts are off, and the
alert settings prompt a LangBot Account sign-in when neither a mail service
nor a Space-linked admin can send email; the bind flow returns to Alerts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(alerts): LangBot Account wording and docs page count (LANG-429)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* test(docs): count the alerts pages per locale (LANG-429)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* test(docs): include alerts pages in sitemap and static build counts (LANG-429)
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>
* fix(runner): keep host execution leases proportional to in-flight work
Lease maintenance walked every active Workspace binding on each pass. On
cloud (~3k Workspaces) one pass took ~150s, longer than the 120s lease,
so the host reaped its own live runs; finalize_run then failed with
"Cannot transition terminal run ... from failed to completed" and users
got "Request failed" after the reply was generated (LANG-326).
- Add the global execution_lease_scopes(owner, workspace) registry,
written before any leased row. Each tick renews this host's scopes in
one statement, renews rows only in its own active Workspaces and reaps a
bounded batch of expired scopes (dead hosts). Nothing scans all
Workspaces, so cost no longer grows with tenant count.
- Migration 0046 creates the table and backfills already-leased rows.
- finalize_run lets the owning process replace its own interrupted state.
- Warn when a tick exceeds a third of the lease.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(runner): guard lease scope backfill on partial schemas and update table fixtures
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* test(runner): include lease scopes in runner timestamp Postgres fixtures
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>
Access control, group respond rules, content filter/ignore rules and rate
limit used to interrupt silently: the user message was recorded as success
with no run, reply or error. Mark such interrupts as
handled_by=filtered:<StageName>, log the stage, and show a "stopped by
pipeline · <rule>" badge in monitoring executions.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
On cloud.langbot.app the final run failed before touching any Workspace:
fetching Marketplace versions hit BlockingWorkCapacityError while about
1400 bots reconnected, and the once-per-process sweep gave up. Retry the
idempotent run after 60, 120, 300 and 600 seconds.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
- Document workspace.language.get with exposure 'all' and risk 'read' so
plugins can declare it and Agents/Pipelines can select it as a workspace
tool. It requires workspace.view, takes no arguments and reads the
Workspace only from the trusted context. workspace.language.update stays
member/API-key only.
- Declare the operation in LocalAgent.
- Document it in zh/en/ja plugin Workspace API references and dev-docs.
- Cover grants, denial, invalid input, the unset default and the processor
tool path.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
The first fleet-wide Cloud run hit DNS errors and blocking-executor
saturation while 1400 bots reconnected, and an upgrade whose confirmation
failed was left disabled and was not confirmed by a later run. Retry
upgrade and confirmation, and confirm every listed installation that is
pending confirmation. Tenant-disabled installations keep their confirmed
snapshot and stay off. Document that env overrides persist in
data/config.yaml.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
Cloud tenants can only upgrade plugins one Workspace at a time in the
WebUI. plugin.marketplace_upgrade.plugins lets an operator upgrade listed
Marketplace plugins across all active Workspaces from inside Core, through
the same tenant fence and upgrade_plugin path as the WebUI. Installations
that were enabled have their declared permissions confirmed as an owner
operator, so plugins without a permission declaration are not left
disabled. Tenant-disabled installations stay disabled. An optional
Workspace allowlist supports a canary run.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(monitoring): show messages handled by plugins in monitoring
A plugin can take a message over with prevent_default() and answer through
ctx.reply / send_message / invoke_llm. Monitoring then showed the user
message as handled by the pipeline Runner, with no reply, no LLM call and
no delivery errors (LANG-320).
- monitoring_messages.handled_by (0045): runner:<id> | plugin:<author>/<name>;
plugin-handled messages no longer claim the Runner.
- Attribute prevent_default to the plugin reported by the Runtime, falling
back to a single emitted plugin for older Runtimes.
- Record ctx.reply and plugin send_message as assistant messages, with
PluginReplyError / PluginSendError on failure; delivery behaviour is
unchanged and monitoring failures are swallowed.
- Link plugin-level LLM calls and sends to the triggering message through
origin_query_uuid. The Host opts in per event (origin_attribution), so
plugins never send the new field to Hosts with strict schemas. Used for
attribution only, never for authorization.
- WebUI: "Handled by plugin" badge in the execution list and detail.
- 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>
* test(migrations): account for the 0045 handled_by index on downgrade
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* test(postgres): register the capacity requester instead of patching _build_provider
#2896 builds providers on a staged ModelManager during load_models_from_db,
so the per-instance _build_provider patch no longer applied and the populated
Cloud startup test loaded zero providers on master. Register a network-free
requester that the staged manager inherits instead.
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(api): open marketplace search and install to plugins and Agents
- Add plugin.marketplace.search, a read operation that proxies the configured
Space plugin search, honours plugin.enable_marketplace and returns only the
fields needed to install.
- Expose plugin.install.marketplace to plugins and processors as a dangerous
operation. Plugins and Agents cannot auto-confirm permissions or replace an
installed plugin; new installations stay disabled until a member confirms.
GitHub and local installs keep their current exposure.
- Expose task.get so callers can follow installation progress; non-member
principals receive the public projection, now including
pending_permission_confirmation.
- Declare the new operations in LocalAgent, document them in zh/en/ja and
localize the new errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* test(api): include marketplace search and task status in processor read sweep
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>
Unified Workspace and execution APIs for LangBot (#2639).
- Versioned Application API shared by HTTP, MCP, the Workspace assistant
and plugins, with one authorization and error contract.
- Execution API facade for every plugin and Runner action.
- Plugin installation permissions: manifest declarations, member
confirmation, capability ceilings, compatibility mode, revocation and
audit. Typed Workspace API in the plugin SDK.
- Processor tool configuration: workspace operations, event and bot tools,
default tool sets for new Agents and Pipelines, and sensitive-tool
warnings.
- Plugin permission picker in the WebUI; LocalAgent declares every
plugin-callable permission.
- Documentation for plugin permissions and the Workspace API in English,
Chinese and Japanese.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move the 27 internal design docs (87 tracked files) from docs/ to dev-docs/
to make room for the public documentation site, adjust Docker/fnOS ignores,
refresh the README/AGENTS/ARCHITECTURE references, and land the docs
workflows ahead of the subtree import so they cannot diverge from mirror.
Co-Authored-By: Mika (Multica) <noreply@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>