dsh-metaontic-newapi-lite 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +55 -0
- package/cordis.patch.yml +4 -0
- package/dist/client.js +2134 -0
- package/dist/client.js.map +7 -0
- package/dist/host/api-keys.d.ts +48 -0
- package/dist/host/api-keys.js +182 -0
- package/dist/host/api-keys.js.map +1 -0
- package/dist/host/constants.d.ts +16 -0
- package/dist/host/constants.js +17 -0
- package/dist/host/constants.js.map +1 -0
- package/dist/host/errors.d.ts +9 -0
- package/dist/host/errors.js +17 -0
- package/dist/host/errors.js.map +1 -0
- package/dist/host/handlers.d.ts +55 -0
- package/dist/host/handlers.js +242 -0
- package/dist/host/handlers.js.map +1 -0
- package/dist/host/http.d.ts +17 -0
- package/dist/host/http.js +156 -0
- package/dist/host/http.js.map +1 -0
- package/dist/host/login-store.d.ts +2 -0
- package/dist/host/login-store.js +141 -0
- package/dist/host/login-store.js.map +1 -0
- package/dist/host/models.d.ts +17 -0
- package/dist/host/models.js +80 -0
- package/dist/host/models.js.map +1 -0
- package/dist/host/payments.d.ts +14 -0
- package/dist/host/payments.js +92 -0
- package/dist/host/payments.js.map +1 -0
- package/dist/host/platform.d.ts +16 -0
- package/dist/host/platform.js +54 -0
- package/dist/host/platform.js.map +1 -0
- package/dist/host/subscription.d.ts +55 -0
- package/dist/host/subscription.js +129 -0
- package/dist/host/subscription.js.map +1 -0
- package/dist/host/topup.d.ts +22 -0
- package/dist/host/topup.js +64 -0
- package/dist/host/topup.js.map +1 -0
- package/dist/host/types.d.ts +50 -0
- package/dist/host/types.js +2 -0
- package/dist/host/types.js.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +68 -0
- package/dist/index.js.map +1 -0
- package/icon.svg +4 -0
- package/llms.txt +106 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +106 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 MetaOntic AI contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# MetaOntic模型中转助手
|
|
2
|
+
|
|
3
|
+
> DeepSeek Harness(DSH)插件 · New API / OpenAI 兼容 · 模型广场 · API Key 管理 · 订阅充值
|
|
4
|
+
|
|
5
|
+
`dsh-metaontic-newapi-lite` 是面向 DeepSeek Harness 的 MetaOntic 模型中转管理插件。使用访问令牌登录后,可在 DSH 侧边栏查看账户与额度、浏览模型广场、管理 API Key 分组、购买订阅并发起充值。默认平台为 `https://ai.bileego.com/`,也兼容提供 New API 风格接口的自建模型中转平台。
|
|
6
|
+
|
|
7
|
+
## 功能亮点
|
|
8
|
+
|
|
9
|
+
- **模型广场**:查看可用模型、模型说明、标签、支持分组、接口类型与计费倍率。
|
|
10
|
+
- **API Key 管理**:新建时选择分组、额度与有效期;支持启用、禁用、删除,并按需显示完整密钥。
|
|
11
|
+
- **订阅与充值**:查看套餐和当前订阅,生成订阅或充值支付链接。
|
|
12
|
+
- **账户概览**:查看余额、已用额度、请求次数、剩余比例与平台信息。
|
|
13
|
+
- **本地安全**:访问令牌由 DSH Host 保存在本机私有文件;API Key 列表保持脱敏。
|
|
14
|
+
|
|
15
|
+
## 兼容性
|
|
16
|
+
|
|
17
|
+
- DeepSeek Harness(DSH)插件市场与 npm 安装。
|
|
18
|
+
- New API 兼容平台,默认 `https://ai.bileego.com/`。
|
|
19
|
+
- 模型列表读取 `/api/pricing`,账户查询读取 `/api/status` 与 `/api/user/self`。
|
|
20
|
+
|
|
21
|
+
## 安装
|
|
22
|
+
|
|
23
|
+
在 DSH 插件市场搜索 `MetaOntic模型中转助手` 或 `dsh-metaontic-newapi-lite`,安装后重启 Harness。
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
dsh plugin --profile desktop add dsh-metaontic-newapi-lite
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## 使用
|
|
30
|
+
|
|
31
|
+
1. 打开 DSH 左侧栏的 **MetaOntic模型中转助手**。
|
|
32
|
+
2. 确认平台地址,填写 MetaOntic AI 访问令牌并登录。
|
|
33
|
+
3. 在 **概况与充值** 查看余额、用量并发起充值。
|
|
34
|
+
4. 切换到 **订阅**、**模型广场** 或 **API Key 管理**,完成套餐购买、模型查看和密钥管理。
|
|
35
|
+
|
|
36
|
+
没有账号时,可点击面板中的 **注册账号**,或访问 [MetaOntic AI 注册页](https://ai.bileego.com/sign-up?aff=VzYr)。
|
|
37
|
+
|
|
38
|
+
## 数据与隐私
|
|
39
|
+
|
|
40
|
+
访问令牌只发送到用户填写的平台地址,并由 DSH Host 保存在当前 profile 的私有文件中,不会返回浏览器或写入日志。完整 API Key 仅在用户主动点击显示时读取,不随列表批量下发。订阅与充值的支付签名参数只用于生成当前支付链接。
|
|
41
|
+
|
|
42
|
+
## 关键词
|
|
43
|
+
|
|
44
|
+
DeepSeek Harness 插件、DSH 插件、New API、OpenAI 兼容、模型中转、模型广场、API Key 管理、API Key 分组、订阅管理、充值支付、余额查询、用量查询、MetaOntic。
|
|
45
|
+
|
|
46
|
+
## English
|
|
47
|
+
|
|
48
|
+
MetaOntic model relay assistant for DeepSeek Harness. Browse the model plaza, manage API keys with group selection, subscriptions and recharge on New API / OpenAI-compatible gateways.
|
|
49
|
+
|
|
50
|
+
## 链接
|
|
51
|
+
|
|
52
|
+
- [GitHub 仓库](https://github.com/wxsimon2022/dsh-metaontic-newapi-lite)
|
|
53
|
+
- [Gitee 仓库](https://gitee.com/hackloop/dsh-metaontic-newapi-lite)
|
|
54
|
+
- [npm 包](https://www.npmjs.com/package/dsh-metaontic-newapi-lite)
|
|
55
|
+
- [MIT License](LICENSE)
|
package/cordis.patch.yml
ADDED