mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
fix: align datasource plugin environment (#595)
* fix: align datasource plugin environment * refactor: inject managed Kimi env into all stdio plugins Pin the datasource credential-name test to the canonical resolveKimiCodeOAuthKey so a digest drift in the standalone plugin fails CI, and drop the hardcoded plugin-name special case so every stdio plugin receives the active managed Kimi base URL / OAuth host consistently (process.env and KIMI_CODE_HOME are already shared with all plugins).
This commit is contained in:
parent
2ebe38769f
commit
1580f35136
11 changed files with 271 additions and 13 deletions
|
|
@ -59,7 +59,7 @@ Kimi Datasource is the official Kimi Code data plugin. It lets you query financi
|
|||
|
||||
### Installation
|
||||
|
||||
You must first complete OAuth login with a Kimi Code account via `/login`. The plugin relies on local credentials to access data services.
|
||||
You must first complete OAuth login with a Kimi Code account via `/login`. The plugin relies on local credentials to access data services. When you run Kimi Code with `KIMI_CODE_OAUTH_HOST` or `KIMI_CODE_BASE_URL`, log in under the same environment so the datasource plugin uses the matching credentials and service endpoint.
|
||||
|
||||
1. Run `/plugins` and select **Marketplace**
|
||||
2. Find **Kimi Datasource** and press `Space` to install
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ Kimi Datasource 是 Kimi Code 官方数据插件,让你通过自然语言直
|
|||
|
||||
### 安装
|
||||
|
||||
需先通过 `/login` 完成 Kimi Code 账号 OAuth 登录,插件依赖本地凭据访问数据服务。
|
||||
需先通过 `/login` 完成 Kimi Code 账号 OAuth 登录,插件依赖本地凭据访问数据服务。当你通过 `KIMI_CODE_OAUTH_HOST` 或 `KIMI_CODE_BASE_URL` 运行 Kimi Code 时,需要在同一环境下登录,这样 datasource 插件会使用匹配的凭据和服务端点。
|
||||
|
||||
1. 运行 `/plugins`,选择 **Marketplace**
|
||||
2. 找到 **Kimi Datasource**,按 `Space` 安装
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue