Commit Graph
62 Commits
Author SHA1 Message Date
Junyan Chin 00a1896bd9 docs(platforms): HTTP Bot adapter tutorial (zh/en/ja) (#98)
* docs(platforms): add HTTP Bot adapter tutorial (zh/en/ja)

Server-to-server HTTP integration guide for the new http_bot platform
adapter: signed inbound webhook, signed outbound callbacks, N->1 aggregation,
1->M multi-reply, session reset, sync convenience mode, error codes, and a
5-minute reference-client demo. Registered in docs.json nav for all three
locales; adds the platform icon.

* docs(http-bot): link the interactive playground in all locales

Add a section pointing at examples/http-bot/playground.py (browser debug
console: sign -> POST -> 202 -> live callbacks) ahead of the CLI reference
clients, in zh/en/ja.

* style(platforms): use </> code icon for http-bot logo
2026-06-22 11:15:07 +08:00
RockChinQ ee2ad9a592 docs(mcp): document simplified local/remote MCP modes
External MCP server connection now offers two modes (local stdio /
remote) instead of three. Remote only needs a URL and the runtime
auto-detects the transport; legacy http/sse entries are auto-normalized
to remote. Updated zh/en/ja usage/mcp pages. Does not touch LangBot's
own /mcp agent-facing server docs.
2026-06-21 11:20:46 -04:00
RockChinQ 17868b360d docs(settings): document api.global_api_key in deploy config (zh/en/ja)
The deploy 'System Settings' page showed the api: block without the
global API key. Add the field + a note explaining it authenticates both
the HTTP API and the MCP server (/mcp) with no login session, reusing
the same key. Links to docs/API_KEY_AUTH.md.
2026-06-20 03:13:47 -04:00
RockChinQ 4c9817f8de docs(develop): document agent-facing surfaces (MCP + skills) in agent-context (zh/en/ja)
Mirror the LangBot AGENTS.md addition: MCP server at /mcp, in-repo skills/ as the
single source of truth, global API key, and the API<->MCP<->skills sync rule.
2026-06-20 02:08:53 -04:00
RockChinQ 2957e3a04f docs(insight): order platform mentions by region in en/ja guides
The English and Japanese guide/features pages led their platform
enumerations with China-only platforms (WeChat, WeCom, DingTalk), and
the "AI customer service" example named China-only platforms to a global
/ Japanese audience. Reorder the marketing enumerations and examples so
each locale leads with the platforms mainstream in its region:

- en: Discord, Telegram, Slack first, then QQ/WeChat/WeCom/Lark/DingTalk
- ja: LINE, Slack, Discord, Telegram first, then the China platforms

Only the hero/landing prose and the use-case examples are reordered; the
functional webhook/adapter reference lists are left as-is. The Chinese
docs already lead with China platforms and are unchanged. No platform is
added that LangBot does not actually support.
2026-06-19 07:21:13 -04:00
RockChinQ d8fd7ed4ac docs(guide): add populated dashboard screenshot to homepage (zh/en/ja) 2026-06-18 20:26:06 -04:00
RockChinQ afa7569d3f docs(insight): refresh feature screenshots with v4.10.2 UI; add real Agent sandbox & Skill demos
- Replace outdated bot/model/pipeline/marketplace screenshots with current v4.10.2 UI captures
- Replace generic chat demos with real Debug Chat conversations: code sandbox (exact computation) and Skill-driven structured output
- Add descriptive, keyword-rich alt text for SEO/GEO across zh/en/ja
- Expand guide intro and add 'what you can build' scenarios section
2026-06-18 13:29:03 -04:00
RockChinQ e75801e229 docs: rename 'LLMOps platform' to 'Agent platform' across wiki (zh/en/ja + nav) 2026-06-18 11:58:11 -04:00
RockChinQ c24d9a45b9 docs(insight): refresh features page with Skills, code sandbox, LiteLLM backend, more LLMOps/platforms; add SEO descriptions (zh/en/ja) 2026-06-18 11:53:01 -04:00
Junyan Chin 939b8fe24d seo: add description frontmatter to 141 core docs pages (en/zh/ja) (#96) 2026-06-17 12:40:17 +08:00
RockChinQ b1ee1ee12c docs(insight): document telemetry features object and instance heartbeat (zh/en/ja) 2026-06-12 08:13:33 -04:00
RockChinQ 8326d3f313 docs(plugin): document auto-release workflow and zh README scaffold (SDK #68) 2026-06-09 07:39:20 -04:00
RockChinQ fbd0b2ebed docs(deploy): make k8s pages reference the manifest file directly
README_K8S.md was removed from the LangBot repo; the wiki is now the
single source for the Kubernetes deployment guide. Repoint references
from docker/README_K8S.md to docker/kubernetes.yaml and inline the
production-exposure note.
2026-06-07 11:36:46 -04:00
RockChinQ 3c950c23c3 docs(deploy): add Kubernetes deployment guide (zh/en/ja)
Add a Kubernetes deployment page covering the Box sandbox runtime under
k8s: the langbot-box component, the same-absolute-path constraint for the
Box workspace root (hostPath + podAffinity), the explicit
BOX__RUNTIME__ENDPOINT Service name, security implications of mounting
the node Docker socket, and readiness checks. Register the page in the
Installation group for all three languages.
2026-06-07 11:19:07 -04:00
Typer_Body 25ebadca5d feat: add WeKnora and DeerFlow pipeline docs with i18n support 2026-06-07 21:12:45 +08:00
RockChinQ e173af9094 docs(develop): list all six plugin component types (add KnowledgeEngine/Parser/Page) 2026-06-07 09:02:14 -04:00
RockChinQ 2b0c43df98 docs(develop): verify against code; add --standalone-box and box config keys 2026-06-07 08:57:34 -04:00
RockChinQ 3dec4a6925 docs(develop): add single-page AI assistant context for developers (zh/en/ja) 2026-06-07 08:51:12 -04:00
99185d0b1d Feat/sandbox (#94)
* docs: add sandbox documentation for all languages

Add comprehensive documentation for the code sandbox feature:
- Overview, built-in tools, scope and lifecycle
- Backend configuration (Docker/Nsjail/E2B)
- Security profiles (default/offline_readonly/network_basic/network_extended)
- Complete configuration reference

Languages: zh, en, ja

* docs: add skills documentation for all languages

Add comprehensive Skills system documentation covering:
- Design philosophy and industry practices comparison (Claude Code, OpenAI GPTs, Cursor)
- Layered architecture (management, import, execution layers)
- Current activation mechanism ([ACTIVATE_SKILL:] marker) with TODO for future Tool Call optimization
- Agent Skills open standard compliance with field specifications
- Complete tools API reference

Languages: zh, en, ja

Co-Authored-By: Claude Opus 4.7 <[email protected]>

* docs: update sandbox documentation to include new tools and configuration options

* Refactor Skills API documentation to align with Tool Call mechanism

- Updated the overview of the Skills system to emphasize the Tool Call mechanism for activating and registering skills.
- Removed deprecated tools and consolidated functionality into `activate` and `register_skill`.
- Revised usage examples and parameters for the new tools, ensuring clarity on their requirements and expected responses.
- Enhanced descriptions of the activation process, including the injection of skill instructions and mounting of skill packages.
- Improved error handling documentation for better user guidance.
- Added notes on sandbox requirements for tool usage and the creation of new skills.

* docs: align sandbox runtime guides

* docs: align sandbox & skills guides with current Box implementation

Correct five inaccuracies across the zh/en/ja sandbox and skills docs so
they match the actual code:

- Box launch command: use the lbp CLI subcommand
  (`langbot_plugin.cli.__init__ box`) instead of the removed
  `langbot_plugin.box --mode ws`.
- Environment variables: replace the obsolete `LANGBOT_BOX_LOCAL_*`
  vars with the unified `SECTION__SUBSECTION__KEY` override convention
  (`BOX__LOCAL__*`); note that the langbot_box service reads no
  config.yaml/env and is configured by LangBot over INIT RPC.
- Skills: drop the stale "falls back to data/skills" claims — the Box
  Runtime is the sole source of skills; when Box is unavailable the
  skill list is simply empty.
- Document the new `box.enabled` master switch (default true) and what
  it gates.
- Document that the langbot_box compose service is optional, gated
  behind the `box`/`all` compose profile.

* docs: align sandbox docs with implementation

* docs: simplify sandbox naming and diagrams

* docs: shorten AI capability nav labels

* docs: merge sandbox configuration pages

* docs: document BOX__BACKEND as sole backend selector

* docs: recommend all profile for docker deploy

* docs: add docker permission fix for sandbox

* chore(skills): add obra/superpowers writing-skills

Install the writing-skills skill from obra/superpowers via
`npx skills add`. Lands the skill files under .agents/skills/
(universal layout) with a Claude Code symlink at .claude/skills/
and the pin in skills-lock.json.

Also gitignore .claude/settings.local.json since it's per-user
Claude Code state (skill symlinks under .claude/skills/ remain
tracked).

* docs(sandbox,skills): tighten user guides for onboarding

Rewrite the sandbox and skills user guides to be shorter, plainer, and
focused on getting users productive instead of explaining internals.

Changes per page (zh/en/ja kept in lockstep):

- sandbox/readme: 170 → 73 lines. Drop the "what is a sandbox" essay,
  decorative mermaid, and the backend table that already lives in
  config.mdx. Lead with the six built-in tools and the scope picker
  (the parts users actually configure).
- sandbox/runtime-relationships: 75 → 54 lines. Replace the runtime
  prose with a single comparison table; tighten the troubleshooting
  entry-points.
- skills/readme: 320 → 114 lines. Cut the "design philosophy" /
  "industry comparison" / "KV cache theory" sections — those are
  implementation details users don't need to ship. Lead with the
  user-visible flow (Agent reads <available_skills> → calls activate →
  follows the SKILL.md).
- skills/skill-format: 360 → 134 lines. One excellent example
  (api-tester) instead of three overlapping ones. Drop the standalone
  "field details" subsections that just restate the table.
- skills/tools-api: 200 → 122 lines. Drop the old-vs-new historical
  comparison and the duplicated activation section; keep the two tool
  signatures, parameters, returns and errors.

sandbox/config.mdx left untouched (already condensed upstream).

Principles applied come from obra/superpowers writing-skills (installed
in 08c35a4): lead with use, one excellent example, tables for scanning,
cut internals and history.

* docs(sandbox): drop redundant 'how to choose' table from runtime-relationships

The 对照表 above already has a '何时使用 / When to use' column that says
the same thing. Repeating it as a second 怎么选 / How to Choose table
was pure noise.

* docs(skills): collapse to one page, link out for SKILL.md spec

Delete skill-format.mdx and tools-api.mdx — Skills now has a single
page. The format details and tools reference were already covered in
shorter form inside readme.mdx; the separate pages were repetition.

In readme.mdx:
- Inline a compact 'SKILL.md format' section (one example + a three-
  field table) and point at agentskills.io for the canonical spec.
- Drop the 'next steps' section and the tools-api link, since both
  destinations no longer exist.

docs.json: remove the two pages from each locale's Skills nav. Add
redirects from the old paths to readme so existing links don't 404.

* docs(nav): flatten Skills — single page, no group wrapper

Group with one child is just visual noise in the sidebar. Replace
{ group: Skills, pages: [...readme] } with the readme path directly
in the parent AI Configuration group, in all three locales.

* docs(mcp,skills): lead with LangBot Space as the preferred install path

LangBot Space (https://space.langbot.app) now hosts a curated list of
MCP servers and Skills. Surface that as the first install option in
both user guides.

- usage/mcp/readme: rework the intro Info block to recommend LangBot
  Space first (third-party channels demoted to "alternative source").
  Add a "Install from LangBot Space (Preferred)" section above the
  existing manual flow; rename that flow to "Add MCP Server Manually".
- usage/skills/readme: add a "Install from LangBot Space (Preferred)"
  section above "Creating a Skill"; rename the existing section to
  "Creating a Custom Skill" so the contrast is clear.

zh/en/ja kept in sync.

* docs(skills): reorganize the readme around the user journey

The old structure interleaved "what it is" → "how it works internally"
→ "prerequisites" → "format spec" → install options. Reorder around
how users actually approach the page:

  Intro → compare with plugins/MCP → install → enable → write → debug

Specific moves:
- Drop the standalone "Workflow" flow diagram; fold the one important
  point (activation pulls SKILL.md via Tool Result) into the intro.
- Merge the standalone "Prerequisites" section into a short Note on the
  Install heading — that's where the constraint actually applies.
- Bring "Install from LangBot Space" and "Create your own" together
  under one "Install" H2 with H3 subsections; they were sibling H2s
  before, which buried the relationship.
- Move "Writing a SKILL.md" after install + enable, since most users
  start with marketplace skills.
- Demote the "Tools the Agent sees" table to an H3 inside the writing
  section — it's reference, not a top-level concern.

114 → 100 lines, zh/en/ja in lockstep.

* docs(mcp,models): reorder MCP page + move tool-use capability to Models

Two related changes, same as the Skills cleanup pattern:

usage/mcp/readme — reorganize around the user journey
- Drop the standalone "Enable function calling on the model" section;
  that belongs in the Models doc (it's not MCP-specific — sandbox tools
  and Skills depend on the same model capability).
- Drop the redundant "Effect" section — its one fact (built-in Agent +
  tool-use model) already lives in the Note under "Three Transport
  Modes".
- Group install paths under one "Installing an MCP Server" H2 with
  Space (preferred) and manual flows as H3 siblings, mirroring the
  Skills doc layout.
- Move the stdio MCP technical block under a clearly-labeled
  "Advanced: stdio MCP" H2 so casual readers skim past it.
- Trim screenshot duplication and collapse three steps in the manual
  flow into one paragraph + one screenshot per step.
- 140 → 107 lines, zh/en/ja kept in lockstep.

usage/models/readme — rename and expand "function calling" → "tool use"
- The checkbox is renamed to "Tool Use" (zh: 工具使用能力 / ja: ツール
  使用); function calling kept in parentheses for recognition.
- Expand the bullet into a Note that explicitly lists where the
  capability matters: MCP servers, sandbox built-ins (exec/read/write/
  edit/glob/grep), Skills. Without it, even bound extensions stay
  silent.
- Note that the underlying model must actually support function
  calling for the checkbox to take effect.

* docs(sandbox): point sandbox/config readers to System Environment Settings

The page lists box.* YAML blocks without ever telling the reader where
those settings actually go. Add a one-line Note at the top linking to
deploy/settings (System Environment Settings), where the data/config.yaml
location and load mechanism are documented.

* docs(sandbox/config): align the page with the real config structure

The previous version listed local / docker / nsjail / e2b as four
parallel "backends" in one flat table. That's wrong: looking at the
config template and the SDK's _select_backend, the real model is:

- box.backend accepts 'local' | 'docker' | 'nsjail' | 'e2b'
- 'local' is shorthand for "auto-pick from Docker / Nsjail" — not a
  fourth backend
- 'local', 'docker', 'nsjail' all *share* the box.local.* config
  section; the section is misleadingly named ("local" here means
  "host-local backends", not "for backend: 'local'")
- 'e2b' uses box.e2b.* instead
- 'local' is the only value that auto-falls-back; everything else is a
  hard selection

Rewrite the page around that structure:
- Group backends as "local containers" vs "cloud" with the four values
  inside, and call out the local-vs-fourth-backend distinction.
- Split the old single "common settings" table into two clearly-scoped
  tables: box.local.* (for local backends) and box.e2b.* (for cloud).
- Move box.runtime.endpoint into the Docker Compose section, where it
  actually matters.
- Add an explicit note that backend is a hard selection — only 'local'
  fans out.

zh/en/ja kept in lockstep.

* docs(deploy): note Box control-plane transport differs by deploy method

In Docker deployments the Box control plane runs as the langbot_box
container (WebSocket); manual / uvx deployments use a stdio subprocess.
Also clarify the LangBot image bundles the docker client so langbot_box
can create sandbox containers via the mounted socket without extra setup.
zh / en / ja.

---------

Co-authored-by: Claude Opus 4.7 <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2026-06-04 20:18:29 +08:00
fdc310 561ab0b817 docs: update WeChat platform description to clarify chat support 2026-06-01 12:04:06 +08:00
fdc310 77312ebcd2 docs: add platform domain selection instructions and warning for Lark users 2026-05-27 01:14:30 +08:00
RockChinQ 66e4ca25da docs: simplify platform page titles 2026-05-18 16:17:48 +08:00
RockChinQ 57ba9ed7e1 docs: use image icons for bot navigation 2026-05-18 12:31:00 +08:00
RockChinQ ca5a1fb816 docs: add platform icons to all locales 2026-05-18 12:16:21 +08:00
fdc310 265325ffab Add one-click setup features and new images for various bot platforms
- Implemented one-click setup instructions for DingTalk, Lark, WeCom, and WeChat, enhancing user experience by automating credential input.
- Added new images for the setup processes, including success screens and QR code scanning steps.
- Created a new webpage bot documentation, detailing the embedding process and configuration options.
- Updated existing documentation for better clarity and structure, including manual setup instructions and configuration details.
2026-05-15 00:10:17 +08:00
Junyan Qin f58e7c3236 docs: update config template settings 2026-05-02 17:23:14 +08:00
Junyan QinandClaude Opus 4.6 c3c22c3c00 docs: add Page component demo screenshot
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-25 22:12:23 +08:00
Junyan QinandClaude Opus 4.6 3d1d97ecca docs: add Page component tutorial (zh + en)
Add comprehensive Page component documentation covering:
- Use cases (admin panels, data displays, interactive tools)
- Manifest file format
- Backend handler with PageRequest/PageResponse
- Frontend development with Page SDK (API calls, dark mode, i18n)
- Full FAQ Manager example
- Update add.mdx and docs.json navigation for both languages

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-04-25 21:59:17 +08:00
huanghuoguoguo 2281e4aea0 docs: add Chroma embedding docs and complete Japanese rerank documentation 2026-04-20 23:56:37 +08:00
huanghuoguoguo cdc4e47fe9 docs: remove rerank provider list from model configuration docs 2026-04-20 23:44:28 +08:00
huanghuoguoguo 5d7b33e800 docs: add rerank model documentation
- Add rerank model section to zh/en model configuration pages
  with supported providers table and Bailian extra_args guide
- Update zh/en features pages with Cohere/Jina/Voyage providers
  and RAG rerank support
- Add optional rerank configuration section to zh/en knowledge
  base pages
2026-04-19 15:53:28 +08:00
RockChinQ 0e5ddb6dcc docs: add autogenerate and CLI tool docs for migrations (zh/en/ja) 2026-04-08 23:50:43 +08:00
RockChinQ 1ee94e89c4 docs: add database migration guide (zh/en/ja)
Document Alembic migration usage for developers:
- Migration file location and naming convention
- How to create new migrations
- Schema change and data migration patterns
- Auto-run mechanism on startup
- CI testing info
2026-04-08 23:46:01 +08:00
fdc310 1936c67de3 doc: add lark callback set 2026-04-08 20:36:41 +08:00
RockChinQ 47ae62c8bf docs: add tools API, tools-selector config type, and OpenAPI tools endpoints
- Plugin SDK APIs: list_tools, get_tool_detail, call_tool (zh/en/ja)
- Config type: tools-selector for multi-select tool picker (zh/en/ja)
- OpenAPI: GET /api/v1/tools, GET /api/v1/tools/{tool_name} (zh/en/ja)
2026-04-03 17:25:16 +08:00
Junyan Qin f8ec71299e docs: update frontend tech stack from Next.js to Vite in dev-config (en/zh/ja) 2026-04-03 17:20:51 +08:00
RockChinQ 2faa821d03 docs: rewrite Service API — Provider+Model architecture, add missing endpoints
- Rewrite OpenAPI specs (zh/en/ja) with Provider+Model two-layer architecture
- Remove old model schema (requester/requester_config/api_keys on model level)
- Add ModelProvider CRUD endpoints
- Add missing endpoints: knowledge engines, parsers, plugin config/upgrade, pipeline copy/extensions
- Update Service API overview pages (zh/en/ja) with core concepts
- Update models config page to explain Provider+Model architecture
- Bump API version to 4.9.5
2026-04-03 02:15:27 +08:00
Junyan Qin 6966b8a67d sync zh doc changes to en and ja: fix tag formats, add new languages, update MCP sources 2026-03-30 20:05:29 +08:00
fdc310 1271269a90 docs: add wecom botname config and stream config 2026-03-29 17:05:10 +08:00
Junyan Qin 202d200814 docs: enhance plugin configuration documentation with preset options for string and select types 2026-03-29 00:32:14 +08:00
fdc310 9c1243fc38 docs:fix wexin starting Usage Instructions 2026-03-26 19:22:14 +08:00
fdc310 fd9f838840 Merge branch 'main' of github.com:langbot-app/Langbot-Wiki 2026-03-25 23:36:48 +08:00
fdc310 412452dbef doc: add wexin adapter docs 2026-03-25 23:36:28 +08:00
RockChinQ e41ede941c docs: fix PAT login instructions and add Japanese translation
- zh/en: update path to '账户设置 → 账户 → 个人访问令牌'
- ja: add PAT login as recommended method with device code fallback
2026-03-25 21:57:44 +08:00
RockChinQ 4654a28f55 docs: add personal access token login method to plugin publish guide 2026-03-25 21:17:55 +08:00
Junyan Qin 932dd36abf docs(plugin): restore list_pipeline_knowledge_bases in Request API section (zh/en/ja) 2026-03-23 21:23:53 +08:00
Junyan Qin 04d7bb1436 fix(plugin): use Mintlify Tip component instead of ::: syntax 2026-03-23 21:21:43 +08:00
Junyan Qin ff512163de docs(plugin): remove deprecated pipeline-scoped KB API docs (zh/en/ja)
Remove list_pipeline_knowledge_bases and retrieve_knowledge from Request API
section as they are fully superseded by the global Knowledge Base APIs.
2026-03-23 21:18:49 +08:00
Junyan Qin 7a5ed2482d docs(plugin): add Knowledge Base API documentation (zh/en/ja)
Document the new global list_knowledge_bases() and retrieve_knowledge()
APIs in the LangBot API section of plugin common APIs docs.
2026-03-23 21:10:13 +08:00
Dong_master 4f4fc5e5fa docs: Added instructions on the long connection method for the enterprise WeChat intelligent robot 2026-03-13 00:18:38 +08:00