behavior-wrapped 0.2.17 → 0.2.19
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 +2 -2
- package/dist/assets/{index-DspaiSuT.js → index-CTwBgCgi.js} +2 -2
- package/dist/assets/{index-BGWEDZlc.css → index-DfS6uigS.css} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/server/cli.mjs +22 -15
- package/server/consent.mjs +10 -2
- package/server/instrumental-workarounds.mjs +1 -1
- package/server/phrase-card.mjs +2 -2
|
@@ -496,7 +496,7 @@ function addBatchDetails(error, index, total) {
|
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
function retryableEmptyRelayResponse(response, body) {
|
|
499
|
-
return response?.status === 502 && new Set(["empty_content", "invalid_json", "missing_keys"]).has(body?.diagnostic?.code);
|
|
499
|
+
return response?.status === 502 && new Set(["empty_content", "invalid_json", "missing_keys", "missing_arrays", "invalid_items"]).has(body?.diagnostic?.code);
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
export async function judgeWorkarounds(bundle, apiKey, { fetchImpl = fetch, model = OPENROUTER_MODEL, timeoutMs = JUDGE_TIMEOUT_MS, reasoningEffort = "none", onProgress } = {}) {
|
package/server/phrase-card.mjs
CHANGED
|
@@ -202,9 +202,9 @@ export function buildLocalPhraseCard(candidates) {
|
|
|
202
202
|
if (!candidates.length) return null;
|
|
203
203
|
return phraseCardFromSelection(candidates, candidates[0].candidate_id, {
|
|
204
204
|
model: "Local deterministic selection",
|
|
205
|
-
provider: "Local
|
|
205
|
+
provider: "Local deterministic analysis",
|
|
206
206
|
latencyMs: 0,
|
|
207
|
-
method: "
|
|
207
|
+
method: "Selected the highest-ranked locally counted phrase without an LLM call.",
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
|