@aidotnet/nextcowork-device-service 2.8.1 → 2.8.3
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/RUNTIME.json +1 -1
- package/bin.mjs +37 -1
- package/bin.mjs.map +1 -1
- package/package.json +1 -1
package/RUNTIME.json
CHANGED
package/bin.mjs
CHANGED
|
@@ -7433,6 +7433,21 @@ const PROVIDER_PRESETS = [
|
|
|
7433
7433
|
notes: "模型列表需要 API Key,可用模型取决于密钥的分组与权限。使用模型列表返回的完整 ID(如 gpt-6.1-sol),无需添加厂商前缀。",
|
|
7434
7434
|
verification: "probed"
|
|
7435
7435
|
},
|
|
7436
|
+
{
|
|
7437
|
+
id: "atlascloud",
|
|
7438
|
+
name: "Atlas Cloud",
|
|
7439
|
+
category: "aggregator",
|
|
7440
|
+
endpoints: [
|
|
7441
|
+
oa("https://api.atlascloud.ai/v1", true, true),
|
|
7442
|
+
resp("https://api.atlascloud.ai/v1", true),
|
|
7443
|
+
anth$1("https://api.atlascloud.ai")
|
|
7444
|
+
],
|
|
7445
|
+
docsUrl: "https://www.atlascloud.ai/docs",
|
|
7446
|
+
apiKeyUrl: "https://console.atlascloud.ai/api-keys",
|
|
7447
|
+
suggestedModels: ["deepseek-ai/deepseek-v4-flash", "moonshotai/kimi-k3", "zai-org/glm-5.2"],
|
|
7448
|
+
notes: "模型 ID 带厂商前缀(如 deepseek-ai/deepseek-v4-flash),请使用模型列表返回的完整 ID。模型列表免鉴权就能拉,没填 key 也能先看有哪些模型(因此列表能拉到不代表 key 有效)。同一个 key 也可走 OpenAI Responses 与 Anthropic 协议。",
|
|
7449
|
+
verification: "documented"
|
|
7450
|
+
},
|
|
7436
7451
|
{
|
|
7437
7452
|
id: "siliconflow",
|
|
7438
7453
|
name: "硅基流动(国内)",
|
|
@@ -28749,6 +28764,24 @@ const DEEPSEEK$1 = [
|
|
|
28749
28764
|
source: source$1("https://api-docs.deepseek.com/"),
|
|
28750
28765
|
verificationStatus: "unverified"
|
|
28751
28766
|
}),
|
|
28767
|
+
// NextCoWork 内置渠道的极速档。规格取自 https://nextco.work/models/deepseek-v4.1-flash-ultrafast
|
|
28768
|
+
// (1M 上下文 / 384K 输出、视觉输入、函数调用、结构化输出、prompt 缓存);页面未列思考档位,
|
|
28769
|
+
// 沿用 V4 系的方言。
|
|
28770
|
+
model("deepseek", "deepseek-v4.1-flash-ultrafast", "DeepSeek V4.1 Flash Ultrafast", {
|
|
28771
|
+
capabilities: visionCapabilities({
|
|
28772
|
+
thinking: true,
|
|
28773
|
+
tools: true,
|
|
28774
|
+
caching: true,
|
|
28775
|
+
structuredOutput: true,
|
|
28776
|
+
streaming: true
|
|
28777
|
+
}),
|
|
28778
|
+
contextWindow: 1e6,
|
|
28779
|
+
maxOutputTokens: 384e3,
|
|
28780
|
+
thinkingConfig: DEEPSEEK_EFFORT_THINKING,
|
|
28781
|
+
reasoningEfforts: ["none", "low", "high", "max"],
|
|
28782
|
+
source: source$1("https://nextco.work/models/deepseek-v4.1-flash-ultrafast"),
|
|
28783
|
+
verificationStatus: "unverified"
|
|
28784
|
+
}),
|
|
28752
28785
|
model("deepseek", "deepseek-v4-pro", "DeepSeek V4 Pro", {
|
|
28753
28786
|
capabilities: textCapabilities({
|
|
28754
28787
|
thinking: true,
|
|
@@ -31861,6 +31894,9 @@ const DEEPSEEK = [
|
|
|
31861
31894
|
ds("deepseek-v4-flash", "DeepSeek V4 Flash", one({ input: 0.22, output: 0.66, cacheRead: 7e-3 }), {
|
|
31862
31895
|
windows: PEAK_WINDOWS
|
|
31863
31896
|
}),
|
|
31897
|
+
ds("deepseek-v4.1-flash-ultrafast", "DeepSeek V4.1 Flash Ultrafast", one({ input: 0.3, output: 1.2, cacheRead: 6e-3 }), {
|
|
31898
|
+
source: "https://nextco.work/models/deepseek-v4.1-flash-ultrafast"
|
|
31899
|
+
}),
|
|
31864
31900
|
ds("deepseek-v4-pro", "DeepSeek V4 Pro", one({ input: 0.66, output: 1.98, cacheRead: 0.022 }), {
|
|
31865
31901
|
windows: PEAK_WINDOWS
|
|
31866
31902
|
}),
|
|
@@ -43405,7 +43441,7 @@ async function main() {
|
|
|
43405
43441
|
try {
|
|
43406
43442
|
service = await runDeviceService(parseArgs(process.argv.slice(2)), io);
|
|
43407
43443
|
} catch (error) {
|
|
43408
|
-
io.err(error instanceof UsageError ? `usage: ${error.message}` :
|
|
43444
|
+
io.err(error instanceof UsageError ? `usage: ${error.message}` : `device service failed to start${error instanceof Error ? `: ${error.message}` : ""}`);
|
|
43409
43445
|
process.exitCode = error instanceof UsageError ? 64 : 1;
|
|
43410
43446
|
return;
|
|
43411
43447
|
}
|