@x-otto/plugin-deepseek 0.1.0-alpha.0

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 ADDED
@@ -0,0 +1,34 @@
1
+ # @x-otto/plugin-deepseek
2
+
3
+ > API-key-based DeepSeek provider plugin.
4
+
5
+ Provides access to DeepSeek V4 models (Pro and Flash) via the standard `openai-completions` wire protocol. Requires `DEEPSEEK_API_KEY` environment variable.
6
+
7
+ ## How it works
8
+
9
+ This is a **declarative provider** (RFC-122) — all configuration lives in `otto-plugin.json` `contributes.providers`. No code needed. The plugin declares two models with 1M context windows, extended reasoning support, and multi-level thinking modes.
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ otto extension install plugin-deepseek
15
+ ```
16
+
17
+ Requires `plugin-otto-wire-protocols` to be installed and trusted.
18
+
19
+ ## Configuration
20
+
21
+ ```bash
22
+ export DEEPSEEK_API_KEY="your-api-key"
23
+ ```
24
+
25
+ ## Provided models
26
+
27
+ | Model | Context | Strengths |
28
+ |-------|---------|-----------|
29
+ | `deepseek/deepseek-v4-pro` | 1M | reasoning, coding |
30
+ | `deepseek/deepseek-v4-flash` | 1M | reasoning, coding |
31
+
32
+ ## Dependencies
33
+
34
+ - `plugin-otto-wire-protocols` (runtime peer)
@@ -0,0 +1,25 @@
1
+ {
2
+ "id": "plugin-deepseek",
3
+ "name": "DeepSeek Provider",
4
+ "version": "1.0.0",
5
+ "description": "API-key-based DeepSeek provider (RFC-122 declarative provider). Requires DEEPSEEK_API_KEY in environment.",
6
+ "capabilities": ["provider"],
7
+ "dependsOn": ["plugin-otto-wire-protocols"],
8
+ "contributes": {
9
+ "providers": [
10
+ {
11
+ "id": "deepseek",
12
+ "name": "DeepSeek",
13
+ "baseUrl": "https://api.deepseek.com",
14
+ "wireApi": "openai-completions",
15
+ "envKey": "DEEPSEEK_API_KEY",
16
+ "preserveProviderId": true,
17
+ "modelsEndpoint": { "url": "{baseUrl}/models", "responseFormat": "openai-list" },
18
+ "models": [
19
+ { "id": "deepseek/deepseek-v4-pro", "contextWindow": 1000000, "maxOutput": 65536, "cost": { "input": 0.28, "output": 0.42, "cacheRead": 0.028, "cacheWrite": 0 }, "strengths": ["reasoning", "coding"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "xhigh", "max"] },
20
+ { "id": "deepseek/deepseek-v4-flash", "contextWindow": 1000000, "maxOutput": 65536, "cost": { "input": 0.14, "output": 0.28, "cacheRead": 0.014, "cacheWrite": 0 }, "strengths": ["reasoning", "coding"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "xhigh", "max"] }
21
+ ]
22
+ }
23
+ ]
24
+ }
25
+ }
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@x-otto/plugin-deepseek",
3
+ "version": "0.1.0-alpha.0",
4
+ "private": false,
5
+ "type": "module",
6
+ "files": [
7
+ "otto-plugin.json",
8
+ "README.md"
9
+ ],
10
+ "publishConfig": {
11
+ "access": "public",
12
+ "registry": "https://registry.npmjs.org",
13
+ "tag": "alpha"
14
+ }
15
+ }