13 Commits

Author SHA1 Message Date
Arvin Xu
d68acec58e feat: support Discord IM bot intergration (#12517)
* clean

fix tools calling results

improve display

support discord bot

finish bot integration

* improve next config

* support queue callback mode

* support queue callback mode

* improve error

* fix build

* support serverless gateway

* support serverless gateway

* support serverless enable

* improve ui

* improve ui

* add credentials config

* improve and refactor data working

* update config

* fix integration

* fix types

* fix types

* fix types

* fix types

* move files

* fix update

* fix update

* fix update
2026-03-01 19:54:38 +08:00
Innei
fcdaf9d814 🔧 chore: update eslint v2 configuration and suppressions (#12133)
* v2 init

* chore: update eslint suppressions and package dependencies

- Removed several eslint suppressions related to array sorting and reversing from eslint-suppressions.json to clean up the configuration.
- Updated @lobehub/lint package version from 2.0.0-beta.6 to 2.0.0-beta.7 in package.json for improvements and bug fixes.
- Made minor formatting adjustments in vitest.config.mts and various SKILL.md files for better readability and consistency.

Signed-off-by: Innei <tukon479@gmail.com>

* fix: clean up import statements and formatting

- Removed unnecessary whitespace in replaceComponentImports.ts for improved readability.
- Standardized import statements in contextEngineering.ts and createAgentExecutors.ts by adding missing spaces for consistency.

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update eslint suppressions and clean up code formatting

* 🐛 fix: use vi.hoisted for mock variable initialization

Fix TDZ error in persona service test by using vi.hoisted() to ensure
mock variables are available when vi.mock factory runs.

---------

Signed-off-by: Innei <tukon479@gmail.com>
2026-02-11 13:04:48 +08:00
YuTengjing
1eff8646f7 feat: remove NextAuth (#11732) 2026-01-23 23:57:08 +08:00
YuTengjing
395595a2c8 feat: remove Clerk authentication code (#11711) 2026-01-23 14:41:22 +08:00
Zhijie He
eb6b0b2118 👷 build: add ENABLE_PROXY_DNS env (#6690) 2025-03-04 22:49:08 +08:00
WindSpiritSR
eb26c79f53 💄 style: add auth support for PROXY_URL (#5304)
Signed-off-by: WindSpiritSR <simon343riley@gmail.com>
2025-01-15 12:17:48 +08:00
Arvin Xu
9b303e0c6c 💄 style: improve model config form modal (#5438)
* improve model config modal

* improve

* format

* improve form rules
2025-01-15 01:03:57 +08:00
Zhijie He
7df27e8a87 👷 build: enhance Self-host CA usage & remove TLS detection (#4223)
* 👷 build: enhance TLS cert checking & Self-host CA usage

* 👷 build: add Wenxin ENV

* 🔨 chore: handle timeout

* Update startServer.js

* 👷 build: remove TLS detection
2024-09-30 20:38:22 +08:00
Zhijie He
8e87a4ae59 👷 build: remove unnecessary SSL judgments (#4219)
* ♻️ refactor: remove unnecessary SSL judgments

* 🔨 chore: handle `ERR_TLS_CERT_ALTNAME_INVALID` error
2024-09-30 11:29:05 +08:00
Zhijie He
fadbc41c01 👷 build: fix zeabur build (#4213)
* 👷 build: add `SKIP_DB_MIGRATION` ENV

* 🔨 chore: change logic

* 💄 style: update error output style

* Update startServer.js

* 👷 build: detect DB_MIGRATION_SCRIPT_PATH, if not exist then skip

* 🔨 chore: improve console log

* 🔨 chore: add skip reason

* 🐛 fix: fix fs calling error

* 🐛 fix: fix `proxychains` conf generate error

* 🔨 chore: fix catch error

* 🐛 fix: fix typo
2024-09-30 02:33:01 +08:00
Zhijie He
12dfead151 👷 build: optimize image size under glibc env (#4176) 2024-09-29 11:31:55 +08:00
Arvin Xu
63ca869145 👷 build: revert #4025 (#4175)
This reverts commit 7eecb23d22.
2024-09-27 21:07:42 +08:00
Zhijie He
7eecb23d22 👷 build: optimize image size under glibc env (#4025)
* 👷 build: optimize image size under `glibc` env

* 👷 build: add `startServer.js` as server launcher

* 🐛 fix: `PROXY_URL` missing

* 🔨 chore: exit if DB migration failed

* 🔨 chore: allow resolve ipv6 address

* 🔨 chore: rollback changes, cleanup code

* 🔨 chore: improve console log

* 🔨 chore: improve error print

* 👷 build: add `isValidSSL` function to check SSL cert

* 🔨 chore: handle `CERT_HAS_EXPIRED` error

* 🔨 chore: cleanup code

* 🔨 chore: improve console log

* 👷 build: check oss & auth issuer ssl connection before running

* 🔨 chore: improve console log

* 🔨 chore: change `SSL` to `TLS`

* 🐛 fix: fix `443` port not display in logs

* 🔨 chore: improve console output

* 🐛 fix: fix error catch

* 🔨 chore: handle corner case

* 👷 build: support self-signed SSL cert, switch to system-wide CA cert

* 🔨 chore: handle `UNABLE_TO_GET_ISSUER_CERT_LOCALLY` error

* 🔨 chore: handle when `*_ISSUER` not existed

* 🔨 chore: handle non-https protocol, skip TLS checking

* 🔨 chore: improve console log

* 🐛 fix: fix proxychains logs not available when host is ip addr

* 👷 build: add DNS server self-check support, split DNS resolve function

* 🔨 chore: improve console.log

* 🔨 chore: print DNS server before db migration

* 🔨 chore: update `isValidIP` & `resolveHostIP` function, ready for IPv6

* 🐛 fix: fix error handle

* 👷 build: set `ENTRYPOINT` to `/bin/node`

* 👷 build: set full path for `proxychains` & `node`, ready for distroless

* 👷 build: pin node LTS version to 20
2024-09-27 20:41:06 +08:00