Commit Graph
27 Commits
Author SHA1 Message Date
Tynwink2000 be90cefe99 feat(bot): conditionally retarget a single event binding 2026-11-18 09:06:17 +08:00
Tynwink2000 1d80affbc5 test(skill): cover HTTP package publication and document push 2026-11-18 08:59:34 +08:00
RockChinQandClaude Opus 5.5 608709f6aa docs: recommend the one-line lbctl installer (READMEs + docs) instead of uvx (#3070)
* docs: recommend the one-line lbctl installer instead of uvx

Every README now leads self-hosting with the one-line installer
(install.sh / install.ps1), which installs lbctl and deploys LangBot
natively or with Docker. The uvx one-liner is removed from the READMEs and
kept only as a development path in dev-docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: make the one-line lbctl installer the recommended deployment

- Add a "One-Line Install (Recommended)" page in zh/en/ja and list it first
  under LangBot deployment.
- Turn the uvx package-manager page into a development-only path with a
  warning pointing to the installer.
- Lead the update guide with `lbctl upgrade`; point the getting-started
  guide and feature list to the installer; replace uvx quick starts in
  articles.
- Mention `lbctl install --extra seekdb` next to the SeekDB notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(recipes): point the self-host prerequisite to the one-line installer

Regenerated all 420 recipe pages from scripts/generate-recipes.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(tests): count the 3 new one-line install pages in static build checks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:38:58 +08:00
huanghuoguoguo 7b1e231d2a build(core): install the bundled SDK for source deployments 2026-11-16 15:19:30 +08:00
huanghuoguoguo 89e79c8a86 feat(core): migrate legacy content before network defaults 2026-11-16 14:27:47 +08:00
huanghuoguoguo b6ba77f9c2 perf(skills): reuse verified resource bytes and replace drafts without old archives 2026-11-16 10:33:38 +08:00
huanghuoguoguo 332aaca379 perf(skills): list immutable publication manifests without blob reads 2026-11-16 10:33:37 +08:00
huanghuoguoguo 8552e1b02a perf(box): archive drafts in Runtime and reclaim owned workspaces 2026-11-16 10:33:37 +08:00
huanghuoguoguo 5e44084da1 perf(skills): avoid redundant archive restoration and workspace preparation 2026-11-16 10:33:37 +08:00
huanghuoguoguo 2edfbb9c13 feat(skills): execute and publish through network Box workspaces 2026-11-16 10:33:36 +08:00
9ff492ac41 feat(space-share): prompt library and sharing prompts/skills/remote MCPs/local plugins to Space (LANG-439) (#3027)
* 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>
2026-11-14 21:20:18 +08:00
huanghuoguoguo 86e9ac59ca feat(skills): persist versioned packages and assets 2026-11-13 15:41:05 +08:00
huanghuoguoguo ac0b1eaac5 feat: workspace sandbox selection, lightweight validation and limits (#2882)
* feat: configure workspace sandbox backends and E2B templates

* fix: accept user supplied E2B templates without listing API

* feat: separate sandbox test runs and add workspace resource limits

* feat(box): pin workspace backends and validate E2B templates

* fix(box): validate user templates without modifying E2B services

* feat(box): lightweight E2B validation and workspace limit enforcement

* test(box): retain identity cleanup guard for workspace backends

* style(box): satisfy checks on migrated sandbox tests

* fix(box): preserve SDK startup and pin MCP sandbox configuration

* fix(box): retain legacy bound-session execution contract

* fix(mcp): reject untrusted sandbox selection overrides

* test(web): match Workspace settings heading exactly

* test(runner): wait for the managed runtime handshake

* test(runner): align boot fixture with runtime readiness

* fix(box): keep default configuration usable with the published SDK

* fix(box): preserve E2B proxy routing on sandbox reconnect
2026-11-12 21:13:45 +08:00
0ec248a91b build(docker): slim the image to 308 MB; SeekDB/Milvus/Valkey as optional extras and image variants (LANG-422) (#2996)
* build(docker): cut the image from 2.25 GB to 1.28 GB (LANG-422)

- Build the Python venv in a separate stage with --no-dev and no uv cache,
  so gcc/libc6-dev, moto/pytest/coverage and the uv cache stay out of the
  final image.
- Move mypy, ruff and pre-commit from runtime dependencies to the dev group.
- Replace Debian's ffmpeg (~200 packages, ~400 MB incl. Mesa/LLVM) with an
  audio-only ffmpeg 7.1.5 cross-compiled from the signed release tarball
  (opus, mp3lame, opencore-amr). This also adds the libopencore_amrnb
  encoder that Debian's build lacks, so AMR output now works.
- Copy node/npm from the official node:22 image instead of NodeSource, which
  pulled in python3.13 and 65 MB of headers.
- Exclude docs, tests, dev-docs, tools, skills and examples from the context.

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

* build(docker): publish SeekDB as a separate -seekdb image variant (LANG-422)

- The default image no longer installs the optional seekdb extra, nor
  ChromaDB's ONNX MiniLM / Kubernetes client stack (onnxruntime, sympy,
  kubernetes, ...). LangBot always passes its own embeddings to Chroma
  and only uses the embedded PersistentClient, so they are never used.
- New `langbot-seekdb` build target: the default image plus one layer
  with the seekdb extra. Releases push rockchin/langbot:<tag>-seekdb,
  latest-seekdb and beta-seekdb next to the plain tags.
- Docs (zh/en/ja): Docker, Kubernetes, settings and embedding model pages
  point SeekDB users to the -seekdb tags.

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

* build(deps): make Milvus and Valkey Search optional extras like SeekDB (LANG-422)

- pyproject: pymilvus moves to a `milvus` extra and valkey-glide to a
  `valkey` extra; drop the unused direct pandas dependency (only pymilvus
  needs it). Core imports pymilvus lazily and raises an install hint,
  matching the SeekDB and Valkey Search backends.
- Dockerfile: replace the langbot-seekdb target with a generic
  `langbot-extra` target (`--build-arg LANGBOT_EXTRA=seekdb|milvus|valkey`),
  one layer on top of the default image.
- Release workflow publishes <tag>, <tag>-seekdb, <tag>-milvus and
  <tag>-valkey (plus latest-*/beta-*); the tag test now checks every build.
- fnOS packages keep installing all three extras, as before.
- Docs (zh/en/ja): Docker, Kubernetes, settings, source and package
  install pages describe the extras and image tags.

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-12 13:01:45 +08:00
huanghuoguoguo cfa905a444 fix(n8n): fail runs on streaming workflow errors (#2994) 2026-11-12 10:13:09 +08:00
RockChinQandmultica-agent a0c096d560 fix(runner): wait for installed plugins to initialize (LANG-393) (#2971)
Co-authored-by: multica-agent <github@multica.ai>
2026-11-11 09:20:30 +08:00
219b1af769 fix(http_bot): return each reply once from /sync (#2960)
Every streamed chunk the pipeline or an Agent reply stream sends to an
adapter carries the reply's accumulated content, but the /sync collector
appended each chunk, so a Runner delta plus its completed message came
back as two (or more) copies of the same reply.

Key streamed chunks by the reply's resp_message_id and keep only the
latest snapshot; distinct replies keep their order and identical replies
are not merged. Callback delivery, sequence and is_final are unchanged.
Docs now state that stream: true callbacks are cumulative snapshots.

Refs LANG-370

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-11-09 23:10:07 +08:00
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
RockChinQandmultica-agent dbe8b15679 LANG-295: support Slack threads through standard message APIs (#2864)
* feat(slack): expose thread messaging and context APIs

Co-authored-by: multica-agent <github@multica.ai>

* fix(slack): preserve actual mentions in thread replies

Co-authored-by: multica-agent <github@multica.ai>

* feat(slack): use standard message APIs for threads

Co-authored-by: multica-agent <github@multica.ai>

* fix(slack): append thread quotes after message content

Co-authored-by: multica-agent <github@multica.ai>

---------

Co-authored-by: multica-agent <github@multica.ai>
2026-11-04 18:58:52 +08:00
RockChinQandmultica-agent 0219007acd fix(qqofficial): correct group mentions and reply sequences (LANG-181) (#2799)
* fix(qqofficial): preserve native mentions and reply sequences (LANG-181)

Co-authored-by: multica-agent <github@multica.ai>

* fix(qqofficial): respect group mention rendering capability

Co-authored-by: multica-agent <github@multica.ai>

---------

Co-authored-by: multica-agent <github@multica.ai>
2026-10-28 18:43:18 +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 <rockchinq@gmail.com>
2026-02-21 23:55:53 +08:00
Dong_master fd9f4614b3 docs: sync card template warning to en/ja lark docs 2026-01-27 18:32:21 +08:00
Junyan Qin 78f7f1acf2 docs: update MCP server documentation to reflect support for multiple modes in English, Japanese, and Chinese 2026-01-13 14:33:58 +08:00
Junyan Qin cffa7aaeeb docs: add LangBot Models section and related image to usage documentation in English, Japanese, and Chinese 2026-01-05 18:24:09 +08:00
Junyan Qin 4e7a089b37 docs: update Japanese documentation links for models and pipelines 2026-01-05 14:26:40 +08:00
Junyan Qin e40c969c0e docs: update platform and usage documentation across multiple languagesDingTalk, Discord, and WeCom 2026-01-05 11:55:26 +08:00