@ebony-vinyl/dsh-our-free-model 2.7.4 → 2.8.0

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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/src/http.js CHANGED
@@ -419,7 +419,9 @@ function emptyBodyFailure(status, retryAfterMs, imageContent) {
419
419
  }
420
420
 
421
421
  export async function postStreamed({ path, body, session, attributionUserAgent, signal, onData, timeoutMs = 300000 }) {
422
- const headers = gatewayHeaders({ session: truncateSession(session), stream: true })
422
+ // The Messages wire carries the 2.x client's beta header (o2a/headers.js);
423
+ // the path is the only wire signal this layer sees.
424
+ const headers = gatewayHeaders({ session: truncateSession(session), stream: true, anthropic: path.includes('/messages') })
423
425
  headers['user-agent'] = userAgentWith(attributionUserAgent)
424
426
  let response
425
427
  try {
@@ -400,6 +400,11 @@ const engineAppearanceCSS = `
400
400
  :root[data-ofm-engine] #addSheet > .row-head { height:auto; min-height:32px; gap:8px; }
401
401
  :root[data-ofm-engine] #addSheet .find { height:32px; }
402
402
  :root[data-ofm-engine] #addSheet .kind { padding-top:16px; }
403
+ /* Upstream's "Compact at" row (#876) shrinks and wraps inside the agent prefs,
404
+ but the settings lists kept it flex:none: at a narrow panel width the fixed
405
+ 76px number input sticks past the clipped list and loses half its width.
406
+ The same shrink-and-wrap answer, for the rows upstream missed. */
407
+ :root[data-ofm-engine] .row.pref .compact-at { flex:0 1 auto; min-width:0; flex-wrap:wrap; row-gap:6px; }
403
408
  :root[data-ofm-engine-theme] {
404
409
  --ofm-bg:#f4f4f6; --ofm-card:#fff; --ofm-fg:#1c1c21; --ofm-quiet:#63636b;
405
410
  --ofm-muted:#85858d; --ofm-line:#e3e3e8; --ofm-accent:#4f46e5;