@coreness/dsh 0.2.1 → 0.2.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreness/dsh",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "The Coreness kit for DeepSeek Harness: a page of its own, the journal, the picture and the form of the profile's MCP servers, and the Qoder route — one bundle for a profile.",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -181,13 +181,18 @@ window.__ModuleLoader__.load({
181
181
  .coreness-gate-line{margin:0;font-size:14px;line-height:22px;color:var(--dsw-alias-label-primary);overflow-wrap:anywhere}
182
182
  .coreness-gate-fields{flex-direction:column;gap:8px;display:flex}
183
183
  .coreness-gate-pair{flex-direction:column;gap:6px;display:flex}
184
- /* A row's card stands its fields in a line, which is the defect the user photographed: three fields shared the card's
185
- inner width, so each frame ended far short of the edge — 659 px of inner width, three fields and two 6 px gaps read
186
- 215.7 px apiece. A field takes the whole inner width of its card on this page as on the other three, so a row's body
187
- is a column like the section's, and the pair inside it keeps its own stacking. The numbers, for whoever comes next:
188
- the section's own frame was already 659 (its body is a column), a row's was 215.7, and both are 659 now. */
189
- .coreness-gate-row .coreness-gate-body{flex-direction:column;align-items:stretch}
190
- .coreness-gate-row .coreness-gate-body>.coreness-gate-pair{display:contents}
184
+ /* The **row cards** — and only they — stand their three fields on one line; the section's own card (The limit) keeps
185
+ its fields one to a line and is untouched. Both kinds carry coreness-gate-row, which is how the drawing names a card
186
+ of this section's list, so the row cards carry a second class of their own and this rule names that one: a selector on
187
+ the shared class alone reached the section's card as well and narrowed its fields from 627 px to 560 — measured by the
188
+ driver's roundtrip step, which prints each field's width.
189
+ By the user's own reading of how it stood before ("раньше выбор провайдера, модели и окна стоял в одной строке"): the
190
+ line takes the card's whole inner width and the fields share it equally, so there is no empty space at either edge.
191
+ The pairs dissolve with display:contents and their fields become the line's own items; the equal share is written as
192
+ flex:1 1 0 on the field itself, which is what makes the three of them equal rather than sized by their content.
193
+ A backtick must not stand in these comments: this stylesheet is a template literal and one closes it. */
194
+ .coreness-gate-rowCard .coreness-gate-body{flex-direction:row;flex-wrap:wrap;align-items:flex-start}
195
+ .coreness-gate-rowCard .coreness-gate-body>.coreness-gate-pair{display:contents}
191
196
  .coreness-gate-field{flex-direction:column;gap:6px;min-width:180px;flex:1 1 0;display:flex}
192
197
  .coreness-gate-fieldLabel{color:var(--dsw-alias-label-secondary);align-items:center;gap:10px;font-size:12px;font-weight:500;line-height:18px;display:flex}
193
198
  .coreness-gate-input{box-sizing:border-box;border:none;background:0 0;color:var(--dsw-alias-label-primary);flex:1 1 auto;min-width:0;font:inherit;padding:6px 10px;font-size:14px;line-height:22px}
@@ -615,7 +620,7 @@ window.__ModuleLoader__.load({
615
620
  the draft draws no counters at all rather than a window of zero as a measured fact. */
616
621
 
617
622
  const pairs = pairsOf(catalog);
618
- return h('li', { key: `row${index}`, className: 'coreness-gate-row' }, [
623
+ return h('li', { key: `row${index}`, className: 'coreness-gate-row coreness-gate-rowCard' }, [
619
624
  h('div', { key: 'card', className: 'coreness-gate-card', 'data-open': String(open) }, [
620
625
  /* The card is fixed by the user's own word: it is small — a head and one row of fields — and a fold in
621
626
  front of four fields costs a press and hides what the section is about. Its head therefore says what
@@ -202,7 +202,11 @@ window.__ModuleLoader__.load({
202
202
  'models.text': 'Text',
203
203
  'models.image': 'Image',
204
204
  'models.remove': 'Remove',
205
- 'models.addRow': 'Add row',
205
+ /* The same word the limiter's own add control carries (`client.gate.js`, `control.add`): both add a model, and a
206
+ reader who meets the two sections one after the other must not be told they are different actions. The MCP
207
+ section's `Add a row` is a different act — it adds a row of headings — and it keeps its own key and its own
208
+ word. */
209
+ 'models.addRow': 'Add a model',
206
210
  'models.pick': 'Choose a model',
207
211
  'models.unknown': 'not in the live catalog',
208
212
  'models.catalogDown': 'live catalog unavailable',