@sparkelf/dsh-patch-responses-reasoning-status 0.2.0-rc.25 → 0.2.0-rc.27

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/package.json CHANGED
@@ -4,11 +4,11 @@
4
4
  "formatVersion": 1,
5
5
  "variants": [
6
6
  {
7
- "dsh": ">=0.1.7-rc.1",
7
+ "dsh": ">=0.1.7-rc.2",
8
8
  "file": "./patches/responses-reasoning-status.patch",
9
9
  "id": "responses-omit-reasoning-input-status",
10
10
  "target": {
11
- "baseRevision": "46a7f68b0922371ce7144b668b90e377d8e799f4",
11
+ "baseRevision": "477b4f420553e8a52c2fbccc464d7561b239c443",
12
12
  "kind": "dsh-source",
13
13
  "paths": [
14
14
  "packages/llm/llm-pi-ai/",
@@ -32,5 +32,5 @@
32
32
  "url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
33
33
  },
34
34
  "type": "module",
35
- "version": "0.2.0-rc.25"
35
+ "version": "0.2.0-rc.27"
36
36
  }
@@ -1,5 +1,5 @@
1
1
  diff --git a/packages/client/ui-settings-models/src/client/ModelsSection.module.css b/packages/client/ui-settings-models/src/client/ModelsSection.module.css
2
- index a21446f6ff..721a18a7e1 100644
2
+ index 2074fc6a07..c9575dedae 100644
3
3
  --- a/packages/client/ui-settings-models/src/client/ModelsSection.module.css
4
4
  +++ b/packages/client/ui-settings-models/src/client/ModelsSection.module.css
5
5
  @@ -415,6 +415,32 @@
@@ -36,7 +36,7 @@ index a21446f6ff..721a18a7e1 100644
36
36
  display: flex;
37
37
  flex-direction: column;
38
38
  diff --git a/packages/client/ui-settings-models/src/client/ProviderEditor.tsx b/packages/client/ui-settings-models/src/client/ProviderEditor.tsx
39
- index b4df6a7124..74b9f6aa55 100644
39
+ index 41dac376d1..0e5d0bafd0 100644
40
40
  --- a/packages/client/ui-settings-models/src/client/ProviderEditor.tsx
41
41
  +++ b/packages/client/ui-settings-models/src/client/ProviderEditor.tsx
42
42
  @@ -45,6 +45,9 @@ type EditorLayout = 'deepseek' | 'pi-ai' | 'unknown'
@@ -58,9 +58,9 @@ index b4df6a7124..74b9f6aa55 100644
58
58
  + [...settingsPath, ...OMIT_REASONING_INPUT_STATUS_PATH],
59
59
  + ) === true
60
60
  const disabled = props.readOnly || busy
61
- const layout = layoutOf(namespace.ns)
62
- const keyRef = refFor(schema, namespace, settingsPath, props.provider)
63
- @@ -209,6 +216,11 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
61
+ const accountProvider = props.provider === 'deepseek-account'
62
+ // Account settings use a configurable Cordis entry id.
63
+ @@ -212,6 +219,11 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
64
64
  const value = schema.getPath(source, [key])
65
65
  return typeof value === 'string' && value.trim().length > 0 ? value : undefined
66
66
  }
@@ -72,7 +72,7 @@ index b4df6a7124..74b9f6aa55 100644
72
72
  const setField = (key: string, next: string | undefined): void => {
73
73
  // A value of nothing but whitespace is cleared, not stored: `stringAt`
74
74
  // already reports it as absent, so the field would otherwise render empty
75
- @@ -237,6 +249,9 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
75
+ @@ -240,6 +252,9 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
76
76
  // What the form currently shows, which is what an interrogation must ask:
77
77
  // an edited-but-unsaved endpoint, and a key typed but not yet stored.
78
78
  const probeApi = stringAt(draft, 'api') ?? stringAt(fallback, 'api')
@@ -82,7 +82,7 @@ index b4df6a7124..74b9f6aa55 100644
82
82
  const probeBaseURL = stringAt(draft, 'baseURL') ?? stringAt(fallback, 'baseURL')
83
83
  const probe = {
84
84
  settingsNs: namespace.ns,
85
- @@ -446,7 +461,15 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
85
+ @@ -452,7 +467,15 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
86
86
  value={probeApi ?? ''}
87
87
  aria-label={t('customApi')}
88
88
  disabled={disabled}
@@ -99,7 +99,7 @@ index b4df6a7124..74b9f6aa55 100644
99
99
  >
100
100
  {/* A profile naming no protocol — hand-written into
101
101
  cordis.patch.yml with no model to need one — selects
102
- @@ -460,6 +483,24 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
102
+ @@ -466,6 +489,24 @@ export function ProviderEditor(props: ProviderEditorProps): ReactNode {
103
103
  </div>
104
104
  )
105
105
  : null}
@@ -125,10 +125,10 @@ index b4df6a7124..74b9f6aa55 100644
125
125
  the extras differ — DeepSeek's inherited capacities, pi-ai's
126
126
  endpoint interrogation. */}
127
127
  diff --git a/packages/client/ui-settings-models/src/client/locales.ts b/packages/client/ui-settings-models/src/client/locales.ts
128
- index 9c8a44d9e0..ad9a8c9aca 100644
128
+ index bba0b85288..5bd2602ad5 100644
129
129
  --- a/packages/client/ui-settings-models/src/client/locales.ts
130
130
  +++ b/packages/client/ui-settings-models/src/client/locales.ts
131
- @@ -96,6 +96,7 @@ export const en = {
131
+ @@ -97,6 +97,7 @@ export const en = {
132
132
  protocolOpenAiCompletions: 'OpenAI Chat Completions',
133
133
  protocolOpenAiResponses: 'OpenAI Responses',
134
134
  protocolAnthropicMessages: 'Anthropic Messages',
@@ -136,7 +136,7 @@ index 9c8a44d9e0..ad9a8c9aca 100644
136
136
  customNeedsBaseUrl: 'A custom provider needs a base URL.',
137
137
  customBaseUrlInvalid: 'Enter a valid HTTP or HTTPS URL.',
138
138
  customNeedsModels: 'A custom provider needs at least one model.',
139
- @@ -215,7 +216,8 @@ export const zh: { [Key in keyof typeof en]: string } = {
139
+ @@ -217,7 +218,8 @@ export const zh: { [Key in keyof typeof en]: string } = {
140
140
  protocolOpenAiCompletions: 'OpenAI Chat Completions',
141
141
  protocolOpenAiResponses: 'OpenAI Responses',
142
142
  protocolAnthropicMessages: 'Anthropic Messages',