@alisio/plugin-deepseek 0.1.0-alpha.8 → 0.1.0-alpha.9
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/README.md +52 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,54 @@
|
|
|
1
1
|
# @alisio/plugin-deepseek
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
**The built-in DeepSeek model provider for [Alisio](https://github.com/GustavoGutierrez/alisio).**
|
|
4
|
+
Select it in `/connect`, discover models from the DeepSeek catalog, and talk to the Chat
|
|
5
|
+
Completions or Responses API.
|
|
6
|
+
|
|
7
|
+
## What it is
|
|
8
|
+
|
|
9
|
+
A `model-provider` plugin that registers the `deepseek` provider with the Alisio host. It ships as a
|
|
10
|
+
built-in of the `alisio` CLI and is enabled by default. Credentials are managed by Alisio and are
|
|
11
|
+
never persisted by this plugin: keys live in the global credentials store or an environment
|
|
12
|
+
variable.
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
Preinstalled in the `alisio` CLI. For an embedded host, register it through `createApplication`'s
|
|
17
|
+
`builtins` list.
|
|
18
|
+
|
|
19
|
+
## Using it: `/connect`
|
|
20
|
+
|
|
21
|
+
1. Run `alisio`, then `/connect` and choose **DeepSeek**.
|
|
22
|
+
2. Fields: **API key** (secret, required), **API key environment variable** (default
|
|
23
|
+
`DEEPSEEK_API_KEY`), **API mode** (`chat` or `responses`), **base URL** (default
|
|
24
|
+
`https://api.deepseek.com`; change only for a DeepSeek-compatible proxy).
|
|
25
|
+
3. Pick a model from the discovered catalog — for example `deepseek/deepseek-chat`.
|
|
26
|
+
|
|
27
|
+
The key is read from the stored credential first, then from `process.env[apiKeyEnv]` — usually:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
export DEEPSEEK_API_KEY=... # never put the key in config files, profiles or READMEs
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Features
|
|
34
|
+
|
|
35
|
+
- Model discovery from the DeepSeek catalog (`GET /models`) with honest context windows.
|
|
36
|
+
- Chat Completions and Responses modes (default `chat`); bearer auth, `max_tokens` output budget.
|
|
37
|
+
- Provider-side usage reporting while streaming (`streamUsage: true`).
|
|
38
|
+
- Credentials never leave the Alisio credentials store or the named environment variable.
|
|
39
|
+
|
|
40
|
+
While registered, the provider also appears in `/model` and `alisio doctor`.
|
|
41
|
+
|
|
42
|
+
## Docs
|
|
43
|
+
|
|
44
|
+
[Configuration](https://gustavogutierrez.github.io/alisio/configuration) ·
|
|
45
|
+
[Plugins](https://gustavogutierrez.github.io/alisio/plugins).
|
|
46
|
+
|
|
47
|
+
## Requirements
|
|
48
|
+
|
|
49
|
+
Node.js **>= 22.16** or Bun **>= 1.4.2**.
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
MIT. Maintained by Gustavo Gutiérrez Mercado. Source: <https://github.com/GustavoGutierrez/alisio> ·
|
|
54
|
+
npm: <https://www.npmjs.com/settings/alisio/packages>.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alisio/plugin-deepseek",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.9",
|
|
4
4
|
"description": "Built-in DeepSeek model provider for Alisio.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"openai": "7.23.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@alisio/sdk": "^0.1.0-alpha.
|
|
27
|
+
"@alisio/sdk": "^0.1.0-alpha.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@alisio/sdk": "0.1.0-alpha.
|
|
30
|
+
"@alisio/sdk": "0.1.0-alpha.7"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public",
|