@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.
- package/README.md +15 -5
- package/cordis.patch.yml +1 -1
- package/index.js +3 -3
- package/package.json +3 -2
- package/src/catalog.js +98 -42
- package/src/core.js +749 -0
- package/src/engine-parts/win32-x64.000.part +0 -0
- package/src/engine-parts/win32-x64.001.part +0 -0
- package/src/engine-parts/win32-x64.002.part +0 -0
- package/src/engine-parts/win32-x64.003.part +0 -0
- package/src/engine-parts/win32-x64.004.part +0 -0
- package/src/engine-parts/win32-x64.005.part +0 -0
- package/src/engine-parts/win32-x64.006.part +0 -0
- package/src/http.js +3 -1
- package/src/magpie-engine.js +5 -0
- package/src/o2a.js +757 -0
- package/src/subscription-completion.js +1 -1
- package/src/upstream.js +241 -364
- package/vendor/magpie/NOTICE.md +151 -3
- package/vendor/magpie/engine.json +52 -27
- package/src/core/completion.js +0 -196
- package/src/core/runtime.js +0 -456
- package/src/core/stats.js +0 -98
- package/src/engine-parts/win32-x64.007.part +0 -0
- package/src/engine-parts/win32-x64.008.part +0 -0
|
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
|
-
|
|
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 {
|
package/src/magpie-engine.js
CHANGED
|
@@ -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;
|