Commit Graph
38 Commits
Author SHA1 Message Date
7aed3be5cb docs(plugin): document send_message timeout parameter (#2923)
send_message now waits 60s by default and accepts a keyword-only
`timeout` (langbot-app/langbot-plugin-sdk#219). Document the parameter,
its validation, the fact that a timeout does not cancel the host send,
and the SDK/Runtime version requirement in zh/en/ja.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
2026-11-07 01:22:01 +08:00
eab66af7e2 feat(api): let plugins and Agents read the Workspace language (LANG-334) (#2916)
- 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 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
2026-11-06 17:42:33 +08:00
ff7482fc7d feat(monitoring): show messages handled by plugins in monitoring (#2897)
* 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]>
2026-11-06 02:04:33 +08:00
ac0622ea3f feat(api): open marketplace search and install to plugins and Agents (#2891)
* 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]>
2026-11-05 21:19:30 +08:00
RockChinQandmultica-agent daedb22d05 fix(platform): align messaging APIs and thread docs (LANG-312) (#2886)
* fix(platform): align messaging capabilities and reply contracts

Co-authored-by: multica-agent <[email protected]>

* fix(deps): pin SDK with unified API quote fix

Co-authored-by: multica-agent <[email protected]>

---------

Co-authored-by: multica-agent <[email protected]>
2026-11-05 20:07:37 +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 <[email protected]>
2026-11-05 16:36:22 +08:00
RockChinQandmultica-agent 3a77306c3c feat(plugins): consolidate official plugins with independent releases (LANG-180) (#2797)
Co-authored-by: multica-agent <[email protected]>
2026-10-28 17:32:24 +08:00
Li-john1021andLi-john1021 bd4e408d7e fix(plugin): honor display_plugin_debug_url port for managed Runtime (#2782)
Stdio and Windows launches always bound the SDK default debug port 5401,
so changing plugin.display_plugin_debug_url only updated the console URL
and a second Core instance hit Address already in use. Pass the configured
debug (and Windows control) ports into the Runtime CLI, and document the
behavior.

Fixes #2713

Co-authored-by: Li-john1021 <[email protected]>
2026-10-27 20:56:26 +08:00
RockChinQ 9d2042478a Add 'docs/' from commit '51dddcb3f891d60bc38645e88b2dbd515344da81'
git-subtree-dir: docs
git-subtree-mainline: 0582d1b3d4
git-subtree-split: 51dddcb3f8
2026-10-27 08:04:35 +00:00
Xiaoyu SuandJunyan Chin 310c566148 refactor: migration to mintlify
* 重构文档结构:移除 docs 目录,调整文件组织结构

* Reorder "插件 SDK API" section in docs.json

* Refactor and clarify various documentation sections

* Refine warnings and info boxes across multiple docs

* Refactor and simplify Japanese documentation content

* Update package.json to include mintlify as a dependency and add pnpm-lock.yaml for dependency management

* Update blog link and add description in docs.json

---------

Co-authored-by: Junyan Chin <[email protected]>
2026-02-21 23:55:53 +08:00
CopilotandRockChinQ e795e624b2 Simplify AI-assisted development section text across all languages (#79)
* Initial plan

* Add skills-LangBotplugin repository link to community resources

Co-authored-by: RockChinQ <[email protected]>

* Fix trailing whitespace in Chinese community resources

Co-authored-by: RockChinQ <[email protected]>

* Move skills repository link from community to plugin dev tutorial

Co-authored-by: RockChinQ <[email protected]>

* Remove unintended package-lock.json changes

Co-authored-by: RockChinQ <[email protected]>

* Make language more engaging and credit community contributor

Co-authored-by: RockChinQ <[email protected]>

* Remove unintended package-lock.json changes

* Add skills-LangBotplugin repository to plugin development tutorial

Co-authored-by: RockChinQ <[email protected]>

* Simplify AI-assisted development section text in all languages

Co-authored-by: RockChinQ <[email protected]>

* Remove unintended package-lock.json changes

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
2026-02-18 22:21:16 +08:00
Junyan Qin (Chin) 8390d2ebcd Perf/adapter docs (#73)
* perf: wecom.md

* stash

* docs: enhance platform feature documentation and add new platform features
2026-01-04 22:52:43 +08:00
Junyan Qin 08bcce19db docs: add code style guide in English, Japanese, and Chinese 2025-12-29 23:50:10 +08:00
Junyan Qin 0702bc68ba feat: update events docs 2025-12-05 01:26:24 +08:00
Junyan Qin 27df63e898 docs: add knowledge retriever component development guidance 2025-11-28 18:38:37 +08:00
Junyan Qin 3ef3efa8fe docs: add comments on name=* matching in plugin command 2025-11-23 15:33:18 +08:00
Junyan Qin 036445e20d doc: add message_chain field to *NormalMessageReceived events 2025-11-22 14:56:06 +08:00
Junyan Qin 3ad8010282 docs: add guidance for dir struct 2025-11-21 12:35:39 +08:00
Junyan Qin f3ce348fe0 doc: update tool default code 2025-11-20 22:28:04 +08:00
Junyan Qin c4492504dd doc: perf basic info md 2025-11-06 20:20:19 +08:00
Junyan Qin 71194d8466 docs: bot-selector field 2025-11-06 15:42:51 +08:00
Junyan Qin 09e1fcc5dc doc: add file-typed config field get data api 2025-11-06 00:15:05 +08:00
Junyan Qin 2bde080abd doc: add comment on file type plugin config 2025-11-06 00:03:02 +08:00
Junyan Qin 77bd5adb81 doc: rename 2025-11-04 22:47:00 +08:00
Junyan Qin 6c043e12c1 doc: add docs for distribute plugin via github 2025-11-04 22:42:03 +08:00
Junyan Qin 9d16979a37 doc: add comment on 5401 port mapping 2025-10-12 00:08:56 +08:00
Junyan Qin (Chin) 08d8ef2044 docs: update pipeline event apis (#64) 2025-10-08 14:40:21 +08:00
Junyan Qin 7a14012aca doc: update plugin tutor 2025-09-16 12:38:45 +08:00
Junyan Qin (Chin) 5a3cd5fcb1 Merge pull request #62 from langbot-app/feat/new-plugin
Feat/new plugin
2025-09-16 12:35:23 +08:00
lazy 7ae3c88dd2 chore: remove any WeChat related 2025-07-23 10:47:09 +08:00
Junyan Qin 22ffe14aed doc: code repo transfered 2025-07-08 09:22:58 +08:00
Junyan Qin 2a24682f43 fix: language standard 2025-05-14 17:05:20 +08:00
Junyan Qin 8b94e03c71 doc: switch to RFC 4646 for language standard 2025-05-14 16:47:58 +08:00
Junyan Qin 33651b2fb1 doc: fix problems 2025-05-14 11:50:09 +08:00
Devin AIandJunyan Qin <Chin> 9ca8e6092f Update plugin/dev/messages.md to match Chinese structure
Co-Authored-By: Junyan Qin <Chin> <[email protected]>
2025-05-13 15:44:50 +00:00
Devin AIandJunyan Qin <Chin> 0e48d25412 Update plugin/dev/api-ref.md to match Chinese structure
Co-Authored-By: Junyan Qin <Chin> <[email protected]>
2025-05-13 15:42:56 +00:00
Devin AIandJunyan Qin <Chin> b29355b814 Update plugin/dev/tutor.md to match Chinese structure
Co-Authored-By: Junyan Qin <Chin> <[email protected]>
2025-05-13 15:41:04 +00:00
Devin AIandJunyan Qin <Chin> dd93920369 Add English documentation
Co-Authored-By: Junyan Qin <Chin> <[email protected]>
2025-05-13 15:25:41 +00:00