Commit Graph
478 Commits
Author SHA1 Message Date
Junyan Qin 34d84590e2 chore: tidy files 2025-11-28 15:01:54 +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
fdc310 7d1847da0e docs:add n8n streaming connect (#69) 2025-11-22 14:17: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 613f40316f fix: deadlink error 2025-11-16 23:29:42 +08:00
Junyan Qin 24bbc991ce doc: add to sidebar 2025-11-16 23:26:02 +08:00
Junyan Qin ca3c14ee30 docs: add uvx deployment 2025-11-16 23:25:36 +08:00
e642ffa5b3 chore: Add PyPI package support for uvx/pip installation (#1764)
* Initial plan

* Add package structure and resource path utilities

- Created langbot/ package with __init__.py and __main__.py entry point
- Added paths utility to find frontend and resource files from package installation
- Updated config loading to use resource paths
- Updated frontend serving to use resource paths
- Added MANIFEST.in for package data inclusion
- Updated pyproject.toml with build system and entry points

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

* Add PyPI publishing workflow and update license

- Created GitHub Actions workflow to build frontend and publish to PyPI
- Added license field to pyproject.toml to fix deprecation warning
- Updated .gitignore to exclude build artifacts
- Tested package building successfully

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

* Add PyPI installation documentation

- Created PYPI_INSTALLATION.md with detailed installation and usage instructions
- Updated README.md to feature uvx/pip installation as recommended method
- Updated README_EN.md with same changes for English documentation

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

* Address code review feedback

- Made package-data configuration more specific to langbot package only
- Improved path detection with caching to avoid repeated file I/O
- Removed sys.path searching which was incorrect for package data
- Removed interactive input() call for non-interactive environment compatibility
- Simplified error messages for version check

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

* Fix code review issues

- Use specific exception types instead of bare except
- Fix misleading comments about directory levels
- Remove redundant existence check before makedirs with exist_ok=True
- Use context manager for file opening to ensure proper cleanup

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

* Simplify package configuration and document behavioral differences

- Removed redundant package-data configuration, relying on MANIFEST.in
- Added documentation about behavioral differences between package and source installation
- Clarified that include-package-data=true uses MANIFEST.in for data files

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

* chore: update pyproject.toml

* chore: try pack templates in langbot/

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: adjust dir structure

* chore: fix imports

* fix: read default-pipeline-config.json

* fix: read default-pipeline-config.json

* fix: tests

* ci: publish pypi

* chore: bump version 4.6.0-beta.1 for testing

* chore: add templates/**

* fix: send adapters and requesters icons

* chore: bump version 4.6.0b2 for testing

* chore: add platform field for docker-compose.yaml

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2025-11-16 19:53:01 +08:00
Junyan Qin 6f423b75f3 doc: complete settings.md 2025-11-14 10:19:24 +08:00
Junyan Qin (Chin) c493d4ef58 V4.5.0 (#68)
* doc: add service api refs (#67)

* doc: add service api refs

* fix: page title

* docs: add Service API overview and images, mark as Beta

* doc: update for plugin system on windows

* docs: perf

* doc: add pipeline plugin comments
2025-11-10 23:12:48 +08:00
Junyan Qin 8cd50fbdb4 chore: bump version 4.5.0 2025-11-10 22:50:10 +08:00
a076ce5756 feat: Add API key authentication system for external service access (#1757)
* Initial plan

* feat: Add API key authentication system backend

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

* feat: Add API key management UI in frontend sidebar

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

* fix: Correct import paths in API controller groups

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

* fix: Address code review feedback - add i18n and validation

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

* refactor: Enable API key auth on existing endpoints instead of creating separate service API

- Added USER_TOKEN_OR_API_KEY auth type that accepts both authentication methods
- Removed separate /api/service/v1/models endpoints
- Updated existing endpoints (models, bots, pipelines) to accept API keys
- External services can now use API keys to access all existing LangBot APIs
- Updated documentation to reflect unified API approach

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

* docs: Add OpenAPI specification for API key authenticated endpoints

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

* chore: rename openapi spec

* perf: ui and i18n

* fix: ui bug

* chore: tidy docs

* chore: fix linter errors

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2025-11-07 14:08:11 +08:00
Junyan Qin 530b9d636c doc: update dev-config 2025-11-06 21:32:58 +08:00
Junyan Qin d91097e83d doc: update stream output comment on wecom bot 2025-11-06 20:47:41 +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 01bb7c89db doc: update --skip-deps-check params 2025-11-06 14:05:27 +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 2c1e9a1d67 docs: add comment on setting config.yaml via env 2025-11-05 18:14:32 +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
e37ab48921 Feat/mcp (#66)
* feat: add zh mcp docs

* fix: error in docs for mcp

* Remove MCP Ecosystem integration link from config

Removed the 'Integrating Complete MCP Ecosystem in LangBot' link and commented it out for future reference.

* perf: add mcp get method

* perf: docs

---------

Co-authored-by: wangcham <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2025-11-04 21:35:27 +08:00
Guanchao Wang 2406812b9c Update WeCom bot documentation
Removed outdated information about WeCom API request limits.
2025-10-30 13:05:43 +08:00
Guanchao Wang 056db7055d Update wecombot.md 2025-10-30 13:05:14 +08:00
fdc310andJunyan Qin 2a483092e4 feat:doc add coze runner (#65)
* feat:doc add coze runner

* add token info

* doc: add comment on coze base url

* doc: update features

---------

Co-authored-by: Junyan Qin <[email protected]>
2025-10-17 18:11:45 +08:00
Junyan Qin 9d16979a37 doc: add comment on 5401 port mapping 2025-10-12 00:08:56 +08:00
Junyan Qin 4af136bec2 doc: adjust guide.md 2025-10-10 23:49:43 +08:00
Junyan Qin (Chin) 08d8ef2044 docs: update pipeline event apis (#64) 2025-10-08 14:40:21 +08:00
Xiaoyu SuandJunyan Qin 9e3f932769 增加 New API 接入教程 (#63)
* chore: add new api

* fix: typos

---------

Co-authored-by: Junyan Qin <[email protected]>
2025-10-06 23:53:05 +08:00
Junyan Qin 732435f8d6 doc: add more detailed tbox docs 2025-09-29 21:23:21 +08:00
Junyan Qin 0064838d70 docs: update pipeline add tbox 2025-09-29 21:13:56 +08:00
Junyan Qin 3989fbf56b doc: fix typos 2025-09-29 15:35:31 +08:00
Junyan Qin c21d8ce00e doc: add tokenpony in workshop 2025-09-29 15:05:53 +08:00
Junyan Qin 2c70275830 doc: more detailed frontend debug comment 2025-09-29 10:21:55 +08:00
Junyan Qin 628ec019fa perf: update docker 2025-09-22 22:48:38 +08:00
Junyan Qin 21aed9bdbb feat: add plugin system settings 2025-09-22 22:46:48 +08:00
Junyan Qin 3a2fa74d30 docs: update for plugin version 2025-09-16 20:36:42 +08:00
Junyan Qin 76f6e51715 docs: complete doc 2025-09-16 12:42:37 +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
fdc310andJunyan Qin 61eca6f343 feat: add line bot doc (#61)
* feat: add line bot doc

* perf: update line doc

---------

Co-authored-by: Junyan Qin <[email protected]>
2025-09-15 21:34:36 +08:00
Guanchao Wang 9f81ecf209 fix: wrong images in wecomcs (#60) 2025-09-15 19:03:10 +08:00
Guanchao WangandJunyan Qin c4b67f5b9b Feat/wecom ai bot (#59)
* feat: add wecombot

* feat: add bot md

* feat: add en doc for wecom intelligent bot

* fix: add missing features

* fix: delete line

* doc: perf

---------

Co-authored-by: Junyan Qin <[email protected]>
2025-09-12 20:09:22 +08:00
Junyan Qin 48d326246e doc: update for vdb settings 2025-09-12 12:49:27 +08:00
Junyan Qin (Chin) f63666593e docs: add langflow stuff (#58) 2025-09-11 22:17:43 +08:00
Junyan Qin 4ceebcc50c docs: add shengsuanyun in workshop 2025-08-26 22:10:10 +08:00
Junyan Qin 9936e27c5e doc: update shengsuanyun link 2025-08-26 16:05:01 +08:00