@orbit-build/cli 0.6.0 → 0.6.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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/dist/index.js +15 -17
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -102,7 +102,8 @@ context.
102
102
  The official DeepSeek profile refreshes its live catalog after login and keeps
103
103
  the selector stable as `Auto`, `deepseek-v4-flash`, and `deepseek-v4-pro`;
104
104
  dated backend build names are
105
- shown only in diagnostics.
105
+ shown only in diagnostics. Both official lanes use the native Responses API in
106
+ automatic mode; compatible gateways retain their explicitly configured transport.
106
107
 
107
108
  Credentials use native OS protection when available and are redacted from
108
109
  configuration, diagnostics, events, sessions, and exported traces.
package/dist/index.js CHANGED
@@ -242122,11 +242122,11 @@ import { z as z33 } from "zod";
242122
242122
  var DEEPSEEK_V4_FLASH = "deepseek-v4-flash";
242123
242123
  var DEEPSEEK_V4_PRO = "deepseek-v4-pro";
242124
242124
  var DEEPSEEK_V4_FLASH_VERSION = "DeepSeek-V4-Flash-0731";
242125
- var DEEPSEEK_V4_PRO_VERSION = "DeepSeek-V4-Pro";
242125
+ var DEEPSEEK_V4_PRO_VERSION = "DeepSeek-V4-Pro-0813";
242126
242126
  var DEEPSEEK_V4_CONTEXT_TOKENS = 1048576;
242127
242127
  var DEEPSEEK_V4_MAX_OUTPUT_TOKENS = 384e3;
242128
242128
  var DEEPSEEK_V4_EFFECTIVE_CONTEXT_PERCENT = 0.95;
242129
- var DEEPSEEK_REASONING_EFFORTS = ["high", "max"];
242129
+ var DEEPSEEK_REASONING_EFFORTS = ["low", "high", "max"];
242130
242130
  function isOfficialDeepSeekApi(baseUrl) {
242131
242131
  try {
242132
242132
  const url = new URL(baseUrl);
@@ -242147,24 +242147,22 @@ function getDeepSeekV4ModelProfile(model) {
242147
242147
  canonicalModel: DEEPSEEK_V4_FLASH,
242148
242148
  modelVersion: DEEPSEEK_V4_FLASH_VERSION,
242149
242149
  supportsResponses: true,
242150
- defaultReasoningEffort: "high",
242151
242150
  reasoningEfforts: DEEPSEEK_REASONING_EFFORTS,
242152
242151
  parallelToolCalls: true,
242153
242152
  officialRequestModel: officialRequestModel && leaf === DEEPSEEK_V4_FLASH
242154
242153
  };
242155
242154
  }
242156
- if (leaf === DEEPSEEK_V4_PRO) {
242155
+ if (leaf === DEEPSEEK_V4_PRO || leaf === `${DEEPSEEK_V4_PRO}-0813`) {
242157
242156
  return {
242158
242157
  lane: "pro",
242159
242158
  legacyAlias: false,
242160
242159
  optimizedThinkingDefault: true,
242161
242160
  canonicalModel: DEEPSEEK_V4_PRO,
242162
242161
  modelVersion: DEEPSEEK_V4_PRO_VERSION,
242163
- supportsResponses: false,
242164
- defaultReasoningEffort: "high",
242162
+ supportsResponses: true,
242165
242163
  reasoningEfforts: DEEPSEEK_REASONING_EFFORTS,
242166
242164
  parallelToolCalls: true,
242167
- officialRequestModel
242165
+ officialRequestModel: officialRequestModel && leaf === DEEPSEEK_V4_PRO
242168
242166
  };
242169
242167
  }
242170
242168
  if (leaf === "deepseek-chat") {
@@ -242175,7 +242173,6 @@ function getDeepSeekV4ModelProfile(model) {
242175
242173
  canonicalModel: DEEPSEEK_V4_FLASH,
242176
242174
  modelVersion: DEEPSEEK_V4_FLASH_VERSION,
242177
242175
  supportsResponses: true,
242178
- defaultReasoningEffort: "high",
242179
242176
  reasoningEfforts: DEEPSEEK_REASONING_EFFORTS,
242180
242177
  parallelToolCalls: true,
242181
242178
  officialRequestModel
@@ -242189,7 +242186,6 @@ function getDeepSeekV4ModelProfile(model) {
242189
242186
  canonicalModel: DEEPSEEK_V4_FLASH,
242190
242187
  modelVersion: DEEPSEEK_V4_FLASH_VERSION,
242191
242188
  supportsResponses: true,
242192
- defaultReasoningEffort: "high",
242193
242189
  reasoningEfforts: DEEPSEEK_REASONING_EFFORTS,
242194
242190
  parallelToolCalls: true,
242195
242191
  officialRequestModel
@@ -242198,8 +242194,7 @@ function getDeepSeekV4ModelProfile(model) {
242198
242194
  return void 0;
242199
242195
  }
242200
242196
  function getDeepSeekReasoningEffort(budgetTokens = 4096, explicitEffort) {
242201
- if (explicitEffort === "max") return "max";
242202
- if (explicitEffort) return "high";
242197
+ if (explicitEffort) return explicitEffort;
242203
242198
  if (budgetTokens >= 8192) return "max";
242204
242199
  return "high";
242205
242200
  }
@@ -242215,8 +242210,8 @@ function getDeepSeekThinkingPolicy(profile, input) {
242215
242210
  }
242216
242211
  return {
242217
242212
  enabled: true,
242218
- effort: profile.defaultReasoningEffort,
242219
- budgetTokens: 4096
242213
+ effort: "low",
242214
+ budgetTokens: 2048
242220
242215
  };
242221
242216
  }
242222
242217
  function resolveModelAdaptation(model) {
@@ -244858,7 +244853,10 @@ var DeepSeekOpenAIProvider = class {
244858
244853
  bodyData.prompt = prompt;
244859
244854
  bodyData.suffix = options.suffix;
244860
244855
  }
244861
- bodyData.model = DEEPSEEK_V4_PRO;
244856
+ const requestedAdaptation = resolveModelAdaptation(
244857
+ options?.model ?? DEEPSEEK_V4_FLASH
244858
+ );
244859
+ bodyData.model = requestedAdaptation.family === "deepseek-v4" && !requestedAdaptation.deepSeekV4.legacyAlias ? requestedAdaptation.deepSeekV4.canonicalModel : DEEPSEEK_V4_FLASH;
244862
244860
  }
244863
244861
  const response = await fetchWithRetry(
244864
244862
  url,
@@ -267501,17 +267499,17 @@ function buildDeepSeekDoctorSection(cwd, config) {
267501
267499
  );
267502
267500
  lines.push(
267503
267501
  picocolors6.gray(
267504
- `\u25CF Model profile: ${DEEPSEEK_V4_FLASH_VERSION}; ${DEEPSEEK_V4_CONTEXT_TOKENS.toLocaleString("en-US")} context tokens and ${DEEPSEEK_V4_MAX_OUTPUT_TOKENS.toLocaleString("en-US")} maximum output tokens.`
267502
+ `\u25CF Model profiles: Flash=${DEEPSEEK_V4_FLASH_VERSION}; Pro=${DEEPSEEK_V4_PRO_VERSION}; ${DEEPSEEK_V4_CONTEXT_TOKENS.toLocaleString("en-US")} context tokens and ${DEEPSEEK_V4_MAX_OUTPUT_TOKENS.toLocaleString("en-US")} maximum output tokens.`
267505
267503
  )
267506
267504
  );
267507
267505
  lines.push(
267508
267506
  picocolors6.gray(
267509
- `\u25CF Orbit 0731 policy: Flash=${config.agent?.fastMaxOutputTokens ?? 32768} output tokens with thinking high by default and max for repair; Pro=${config.agent?.maxOutputTokens ?? 16384} with thinking high/max.`
267507
+ `\u25CF Orbit V4 policy: Flash=${config.agent?.fastMaxOutputTokens ?? 32768} output tokens with low/high/max task-adaptive thinking; Pro=${config.agent?.maxOutputTokens ?? 16384} with high/max thinking.`
267510
267508
  )
267511
267509
  );
267512
267510
  lines.push(
267513
267511
  picocolors6.gray(
267514
- `\u25CF DeepSeek API format: ${provider?.deepSeekApiFormat ?? "chat-completions"}. Official Flash uses Responses in auto mode; compatible gateways use their configured DeepSeek transport.`
267512
+ `\u25CF DeepSeek API format: ${provider?.deepSeekApiFormat ?? "chat-completions"}. Official Flash and Pro use Responses in auto mode; compatible gateways use their configured DeepSeek transport.`
267515
267513
  )
267516
267514
  );
267517
267515
  lines.push(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbit-build/cli",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Local-first AI coding agent CLI, TUI, Web UI, diagnostics, and LSP runtime",
6
6
  "keywords": [