beast-agent 2.63.6 → 2.63.7
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 +1 -1
- package/src/main.js +5 -0
package/package.json
CHANGED
package/src/main.js
CHANGED
|
@@ -13000,6 +13000,11 @@ function finTsScore(ans, id) {
|
|
|
13000
13000
|
return { score: Number(a.score) || 0, conf: Number(a.confidence) || 0, probs: a.probabilities || {} };
|
|
13001
13001
|
}
|
|
13002
13002
|
|
|
13003
|
+
/* TypeSafe System One çağrısı — state + tipli sorular; tek giriş noktası */
|
|
13004
|
+
async function finTsAsk(state, questions) {
|
|
13005
|
+
return await typesafeMod.systemOne({ state, questions });
|
|
13006
|
+
}
|
|
13007
|
+
|
|
13003
13008
|
function finTsFmtChoice(c) {
|
|
13004
13009
|
if (!c) return 'yanıt yok';
|
|
13005
13010
|
const probs = Object.entries(c.probs || {}).map(([k, v]) => `${k}=${(Number(v) || 0).toFixed(2)}`).join(' ');
|