CozeAgent, DifyAgent and N8nAgent built their shared asset gateway listener
and per-connection service tasks inside the registering invocation, so the
listener's accept handle retained the first caller's invocation Context
(configuration plus revocable authority) and later connections inherited it.
Create the listener and connection tasks in an explicit empty Context; an
invocation Context is entered only per validated run token. Applies the same
fix already used by DashScopeAgent and LangflowAgent, with a regression test.
Co-authored-by: multica-agent <[email protected]>
SDK 0.7.22 contains the commits Core already tracked from SDK main
(#200 unified API layer, #216 plugin-handled event attribution, #211,
#206), so drop the git source and pin the released package.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
Every listed version still carries the old langbot-plugins repository link,
and many also have unpublished source changes. Bump the patch version so
each can be republished from the LangBot repository. SDK requirements stay
as ranges.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* 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 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* test(migrations): account for the 0045 handled_by index on downgrade
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* 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 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
Enterprise Support ¥3,980 / Assurance ¥7,980 per year (US$599 / US$1,199 in
the English and Japanese docs). Replace the WeCom QR code and
[email protected] with a link to the inquiry form on langbot.app/enterprise.
Co-authored-by: Claude Opus 5.5 <[email protected]>
* fix(provider): keep models resolvable during reloads and report quota errors clearly
Cloud catalog syncs triggered by any directory change called
load_models_from_db(), which emptied every tenant's runtime model cache
before reloading Workspaces one by one. Messages arriving in that window
could not resolve their configured model, and LocalAgent failed with
"No authorized model for local-agent".
- Stage the reload in a separate manager and swap it in atomically;
adopt unchanged providers instead of retiring and rebuilding them.
- Isolate per-Workspace load failures so one tenant cannot leave later
Workspaces unloaded.
- Lazily load a persisted model on a cache miss (another replica,
failed startup load, keys invalidated by a racing write).
- Classify New API quota errors (insufficient_user_quota,
pre_consume_token_quota_failed, HTTP 402, quota wording) as
quota_exceeded with a clear message in the Workspace language
(English by default) instead of "Permission denied"/"API error".
- Read upstream codes from the response body and exception chain,
and append safe machine codes to otherwise generic API errors.
- Report a missing API key explicitly instead of a raw OpenAIError.
- Keep HTTP status and body in the leased LiteLLM HTTP handler, which
previously turned every HTTP error into "Connection failed".
Refs LANG-318
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* fix(local-agent): accept bare model UUIDs and explain missing models
- parse_model_config accepts the bare model UUID shape the Host
selector already accepts, instead of treating it as "no model".
- Replace "No authorized model for local-agent" with an actionable
message pointing at the pipeline's model selection.
- Bump LocalAgent to 0.2.8.
Refs LANG-318
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
Plugin-level invoke_llm/invoke_llm_stream run on a Host-built Query that
has no launcher identity. MonitoringHelper derived session ids from
query.launcher_type, so every such call failed with
"'Query' object has no attribute 'launcher_type'" and the LLM call record
was dropped (LANG-320).
Derive session id and platform defensively and label Host-built plugin
Queries with the calling plugin, so the call is recorded under
session "plugin:<author>/<name>".
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* feat(plugins): add timezone config to ScheNotify for all tools (LANG-319)
Add a `timezone` plugin config (IANA name, UTC, or an offset such as
UTC+8; empty keeps the server's local timezone). get_current_time_str
reports the time in it, schedule_notify interprets time_str in it, and
!sche / !dsche display reminder times in it. Reminders now store aware
instants, so the detached scheduler compares against UTC without reading
installation config. Bump to 0.2.7 and add tzdata.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* fix(plugins): deliver ScheNotify reminders under audit-correlating SDKs (LANG-319)
The scheduler task was created with a copy of the scheduling invocation's
context, which carries the SDK's per-action audit correlation. SDKs that
close that correlation when the action returns (langbot-plugin 0.7.21,
pinned by Core) then rejected every delivery with "Plugin audit
invocation has ended", so no reminder was ever sent. Start the loop from
an empty context; it already re-enters the captured invocation.
Found during live acceptance; adds a regression test that relays the
audit correlation like the real handler.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* feat(cloud): let invited LangBot Space members sign in to dedicated instances
Dedicated Cloud instances (edition=cloud on OSS persistence) now accept
LangBot Account logins from people the buyer invited on LangBot Space.
- On Space login Core asks Space for the account's role on this instance
(instance_id = Pod UUID). Invited accounts are created and joined to the
singleton Workspace with that role; uninvited ones get the new
space_dedicated_member_required error.
- Space never grants owner and Core never changes the local owner, password
accounts, or locally invited members. Only Space-managed accounts
(Space-bound, no password, non-owner) are reconciled.
- A lookup failure never removes access; only an explicit "not a member"
does. A 10-minute maintenance task re-checks Space-managed members with
their own Space token so removals apply without a new login.
- Dedicated instances always offer LangBot Account login, so members can
sign in to instances that were initialized with a password.
- Workspace settings point dedicated owners to Space for member management;
the local password invitation flow is unchanged.
- Self-hosted OSS (edition != cloud) and Cloud v2 (mode=cloud) are untouched.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* style(i18n): use single quotes in dedicated member strings
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
A routed platform message was closed twice: the platform handler closed
its chain as soon as the query was queued (event_done, a few hundred ms,
no Runner/model), and the query-pool task opened a second chain with the
same event id (pipeline_done). Space keeps the first closure per event, so
the half carrying the Runner, model, plugins, real duration and failure
was dropped, and node order/parents were inconsistent.
- Hand the in-flight chain to the queued query (handoff/resume): the
Pipeline lane continues the same chain, nests under the route step and
releases it; the chain closes once the ingress boundary and every
handoff finished. Dropped, steered and aggregated queries release their
handoff; a handoff that never reports back closes as timeout.
- Close reasons are now completed / merged / timeout (merged_into names
the chain an aggregated message was folded into).
- Open the event route step before delivery so the Pipeline/Agent run
nests under it and follows it in the chain order.
- Report complete failures: class, message, cause chain and traceback
tail (about 4000 chars, both ends kept), with common credential shapes
and emails redacted; value-style lane failures carry their text.
- Record the adapter at ingress and the Runner/category on Agent paths;
runner_category now classifies embedded vs local/cloud services from
the Runner config (it was always "unknown").
- Send one Workspace per flush with workspace_uuid on the envelope so OSS
batches can be authenticated; drop the legacy per-query sanitizing.
- Update the data collection policy (zh/en/ja).
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
Moves the SDK git pin to langbot-plugin-sdk main (186d962b), where the
unified Workspace API (#200) and the marketplace typed methods (#215) landed.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* 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 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* test(api): include marketplace search and task status in processor read sweep
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
New Runner plugin plugins/Runner/multica-agent (plugin:langbot-team/MulticaAgent/default).
Each LangBot conversation maps to one Multica chat session; messages are posted
via the Multica chat API (PAT + X-Workspace-ID), and the runner polls until the
assistant reply for that task lands, then returns it.
In-chat commands (/multica agents|use|new) list agents and switch the agent per
conversation. Deleted sessions are recreated once; failed/cancelled/timed-out
agent tasks surface as run.failed with stable multica.* codes.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
- AGENTS.md: add a repository layout section (docs/ vs dev-docs/, plugins/,
skills/, tools/), Unified API rules for Workspace/Execution operations and
consumer support, standard event/API alignment for adapters, and plugin
development entry points; condense the backend language section.
- Add plugins/AGENTS.md, which AGENTS.md already referenced.
- Slim langbot-plugin-dev to a routing skill covering all component types,
the Workspace/platform API catalogs and permissions; move pitfalls and
testing notes to references and drop the host-specific deployment guide.
- Fix misplaced plugin-permission text in langbot-mcp-ops, add standard
alignment rules to langbot-eba-adapter-dev, and update langbot-dev for the
Application API and monorepo layout.
- Refresh skills/AGENTS.md and README for the monorepo; remove the unused
vendored writing-skills copy from docs/.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
Cloud Workspaces could still invite members after reaching the plan's
members.max limit because Core's invitation API never consulted it.
- Project members.max into the Workspace limitation as max_members,
mirroring Control Plane semantics (absent or <= 0 means unlimited).
- Reject invitation creation when active members plus pending
invitations fill the plan, and reject acceptance when active members
already fill it (e.g. after a downgrade), with member_limit_reached.
- Disable the invite form in Workspace settings when the quota is full
and show an upgrade-plan CTA that opens the Cloud plans dialog.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
- Add the workspace operation and assistant workspace-tool strings missing
from zh-Hant, ja-JP, es-ES, ru-RU, th-TH and vi-VN, so the i18n key check
passes again.
- Treat Context7's "too-early" refresh reply as a skipped refresh rather
than a failure; the next docs push after the cooldown refreshes again.
Co-authored-by: Claude Opus 5.5 <[email protected]>
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 <[email protected]>
Picks up the shared Plugin Runtime fix that nests nsjail worker cgroups
under the Runtime's own cgroup so the Pod memory limit bounds every
sandbox (LANG-287, langbot-app/langbot-plugin-sdk#207).
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
#2857 added models.asrTab and models.ttsTab to en-US, ja-JP and zh-*,
which broke the i18n key check on master.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
RunnerContextBuilder called ModelManager.get_model_by_uuid(model_uuid)
without the required tenant context. The TypeError was swallowed at debug
level, so runtime.metadata.model_context_window_tokens was always missing.
Thread the run's ExecutionContext through build_context_from_event.
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* feat(speech): implement TTS and STT model layer and pipeline stages (LANG-251)
Co-authored-by: multica-agent <[email protected]>
* fix(speech): fix invoke signatures and provider lookup in speech stages and model testing
Co-authored-by: multica-agent <[email protected]>
* feat(speech): rename STT to ASR, improve TTS voice parameter handling and failure recovery
Co-authored-by: multica-agent <[email protected]>
* fix(persistence, lint, web): fix migration revision id, legacy table check, ruff duplicates, and frontend types
Co-authored-by: multica-agent <[email protected]>
* fix(speech): restore migration and CI contracts
Co-authored-by: multica-agent <[email protected]>
* fix(pipeline,ui): fix select dropdown width gap, add speech to guided tour, and configure show_if for speech options
Co-authored-by: multica-agent <[email protected]>
* feat(speech,openclaw): support silk audio transcoding, graceful fallback, duration estimation, and multi-lang deploy docs
Co-authored-by: multica-agent <[email protected]>
* fix(audio): enhance ffmpeg executable detection via venv and imageio_ffmpeg
Co-authored-by: multica-agent <[email protected]>
* fix(provider): improve LiteLLM error classification and avoid falling back to Unknown error
Co-authored-by: multica-agent <[email protected]>
* fix(openclaw): serialize voice_item attributes and improve transcoding fallback logging
Co-authored-by: multica-agent <[email protected]>
* fix(audio,openclaw): handle transient TMPDIR deletion and add size attribute to voice_item
Co-authored-by: multica-agent <[email protected]>
* fix(openclaw): download and convert inbound voice messages and align voice sending protocol
Co-authored-by: multica-agent <[email protected]>
* fix(models): redesign add model popover tabs layout and include ASR/TTS models in provider counts and scanning
Co-authored-by: multica-agent <[email protected]>
* fix(audio): decrypt and transcode wecombot voice to mp3, align openclaw weixin voice delivery
Co-authored-by: multica-agent <[email protected]>
* fix(wecombot): transcode outbound voice to silk and support voice_delivery mode
Co-authored-by: multica-agent <[email protected]>
* fix(discord,web): map audio attachments to voice for ASR, prefer base64 voice in webui
Co-authored-by: multica-agent <[email protected]>
* fix(telegram): deliver voice replies in streaming and non-streaming modes with quote origin
Co-authored-by: multica-agent <[email protected]>
* feat(dingtalk): route voice messages through pipeline ASR and send TTS replies as voice
Inbound DingTalk audio now arrives as a Voice component with its duration,
so the pipeline speech recognition switch decides how it is transcribed.
DingTalk's own recognition text is used only when the audio cannot be
downloaded.
Outbound Voice components are transcoded to ogg/opus, uploaded as voice
media and sent as native sampleAudio messages in both the omni and legacy
adapters. Audio over 60 seconds, or audio that cannot be transcoded or is
rejected as a voice message, is sent as a file instead. Voice parts no longer
leak into the reply text as "[Voice]".
Also estimate ogg durations from the granule position and ignore non-audio
MIME hints when extracting voice bytes, so ffmpeg can probe the input.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* fix(ci): include speech model counts in provider responses and fix lint/image build
- Copy every count returned by get_provider_model_counts into the provider
payload instead of indexing asr_count/tts_count, and update the test fakes
to return the speech model counts.
- Install libc6-dev in the runtime image so the pilk audio extra can compile.
- Apply ruff and prettier formatting required by the lint jobs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
* test(e2e): expect the speech step in the pipeline setup guide
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
---------
Co-authored-by: multica-agent <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>