Commit Graph
2 Commits
Author SHA1 Message Date
a1e9c87b6d fix(bots): stop routing to deleted Pipelines and Agents (LANG-357) (#2927)
* fix(bots): stop routing to deleted Pipelines and Agents (LANG-357)

Deleting a Pipeline or Agent left Bot event bindings pointing at it, so
every matching message was queued to a missing Pipeline and silently
dropped ('Query dropped before its Pipeline ran' in telemetry).

- Refuse to delete a Pipeline or Agent that a Bot event binding or plugin
  processor subscription still uses (409 resource_in_use, lists the bots).
- At route time, a Pipeline target that no longer exists fails the route
  with processor_not_found instead of queueing a query that is dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>

* test(api): wire BotService into the application resources fixture

pipeline.delete now checks Bot bindings before deleting.

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>
2026-11-08 02:19:52 +08:00
huanghuoguoguoandClaude Opus 5.5 97ef5b457d feat(api): provide Workspace and execution API foundations (#2648)
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>
2026-11-05 16:36:22 +08:00