opencode-lobster-auth 0.1.0 → 0.1.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/README.md CHANGED
@@ -117,8 +117,13 @@ Measured on `deepseek-flash`: `none` leaves `reasoning_content` at exactly
117
117
  LobsterAI's `kimi-k3` takes its sampling parameters from the server, so
118
118
  `temperature`, `top_p`, `n` and the penalties are dropped, `reasoning_effort`
119
119
  is fixed to `max`, and an assistant tool call missing `reasoning_content` is
120
- given an empty one. No model in the current catalogue is K3; the handling is
121
- there for when one is.
120
+ given an empty one.
121
+
122
+ `kimi-k3` is one of the models LobsterAI serves but does not list:
123
+ `/api/models/available` returns 29 models and none of them is K3, yet a chat
124
+ against `kimi-k3` answers normally. It is kept in the list this package
125
+ declares for a signed-out account, so `lobster/kimi-k3` is offered — and the
126
+ handling above is live, not a precaution.
122
127
 
123
128
  ## Models
124
129
 
package/README.zh-CN.md CHANGED
@@ -98,8 +98,12 @@ completions。LobsterAI 有三个习惯被处理掉了:
98
98
 
99
99
  LobsterAI 的 `kimi-k3` 采样参数由服务端固定,因此 `temperature`、`top_p`、
100
100
  `n` 和两个 penalty 会被删掉,`reasoning_effort` 固定为 `max`,缺少
101
- `reasoning_content` 的 assistant 工具调用会被补一个空串。当前目录里没有 K3
102
- 模型;这段处理是为将来出现 K3 准备的。
101
+ `reasoning_content` 的 assistant 工具调用会被补一个空串。
102
+
103
+ `kimi-k3` 属于 LobsterAI「能用但没列出」的模型:`/api/models/available`
104
+ 返回 29 个模型,其中没有 K3,但对 `kimi-k3` 发请求能正常作答。它保留在
105
+ 本插件为未登录账号声明的兜底表里,所以 `lobster/kimi-k3` 是可选的 ——
106
+ 上面那段处理也因此是**实际生效的**,不是预防性代码。
103
107
 
104
108
  ## 模型
105
109
 
package/package.json CHANGED
@@ -1,12 +1,25 @@
1
1
  {
2
2
  "name": "opencode-lobster-auth",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenCode provider plugin: NetEase Youdao LobsterAI (有道龙虾)",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",
7
7
  "exports": "./index.mjs",
8
- "files": ["index.mjs", "lib", "README.md", "README.zh-CN.md", "LICENSE"],
9
- "keywords": ["opencode", "opencode-plugin", "magpie", "lobster", "lobsterai", "youdao"],
8
+ "files": [
9
+ "index.mjs",
10
+ "lib",
11
+ "README.md",
12
+ "README.zh-CN.md",
13
+ "LICENSE"
14
+ ],
15
+ "keywords": [
16
+ "opencode",
17
+ "opencode-plugin",
18
+ "magpie",
19
+ "lobster",
20
+ "lobsterai",
21
+ "youdao"
22
+ ],
10
23
  "license": "MIT",
11
24
  "author": "Jasery <jaserydev@163.com>",
12
25
  "repository": {
@@ -16,10 +29,10 @@
16
29
  "homepage": "https://github.com/Jasery/opencode-lobster-auth#readme",
17
30
  "bugs": "https://github.com/Jasery/opencode-lobster-auth/issues",
18
31
  "scripts": {
19
- "test": "bun test"
20
- },
21
- "magpie": {
22
- "maxConcurrency": 8,
23
- "icon": "https://lobsterai.youdao.com/portal/lobsterai-logo.png"
24
- }
32
+ "test": "bun test"
33
+ },
34
+ "magpie": {
35
+ "maxConcurrency": 8,
36
+ "icon": "https://lobsterai.youdao.com/portal/lobsterai-logo.png"
37
+ }
25
38
  }