@t2000/engine 1.22.0 → 1.22.1
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/dist/index.js +5 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9222,10 +9222,9 @@ After completing the user's request, consider whether ONE additional piece of fi
|
|
|
9222
9222
|
context is worth mentioning. ${brevityGuidance}
|
|
9223
9223
|
|
|
9224
9224
|
\u2713 Mention if:
|
|
9225
|
-
- Their savings goal is materially off-track (>20% behind pace)
|
|
9226
9225
|
- Yield rate changed significantly since last session (>0.5%)
|
|
9227
9226
|
- They have idle USDC or USDsui >$50 sitting for >48h (both are NAVI-saveable as of v0.51.0)
|
|
9228
|
-
- An action they just took interacts with
|
|
9227
|
+
- An action they just took interacts with their debt position (e.g. health factor moved)
|
|
9229
9228
|
- A pattern would materially benefit from their attention
|
|
9230
9229
|
|
|
9231
9230
|
\u2717 Do NOT mention if:
|
|
@@ -9236,10 +9235,10 @@ context is worth mentioning. ${brevityGuidance}
|
|
|
9236
9235
|
|
|
9237
9236
|
${styleGuidance}
|
|
9238
9237
|
Format: One sentence maximum, AFTER your main response, separated by a line break, WRAPPED in a \`<proactive type="..." subjectKey="...">BODY</proactive>\` block. The host renders the wrapped block with the "\u2726 ADDED BY AUDRIC" lockup styling \u2014 without the wrapper the host shows only plain text and the engine's per-session cooldown won't deduplicate future repeats (so the same nudge re-fires every turn).
|
|
9239
|
-
Allowed types (closed list \u2014 anything else is dropped by the host): \`idle_balance\` (cash sitting idle that could earn yield), \`hf_warning\` (debt approaching liquidation), \`apy_drift\` (rate change on a position they hold), \`goal_progress\` (update on
|
|
9240
|
-
\`subjectKey\` is a stable identifier for the SPECIFIC subject (e.g. "USDC" or "USDsui" for an idle-stable insight, "1.45" for HF at that level, "
|
|
9241
|
-
Example (post-answer suffix form): \`<proactive type="
|
|
9242
|
-
Frame as observation, not advice: "
|
|
9238
|
+
Allowed types (closed list \u2014 anything else is dropped by the host): \`idle_balance\` (cash sitting idle that could earn yield), \`hf_warning\` (debt approaching liquidation), \`apy_drift\` (rate change on a position they hold), \`goal_progress\` (update on an aspirational target the user mentioned in chat \u2014 e.g. "I want to save $500 by May").
|
|
9239
|
+
\`subjectKey\` is a stable identifier for the SPECIFIC subject (e.g. "USDC" or "USDsui" for an idle-stable insight, "1.45" for HF at that level, "save-500-by-may" for a chat-mentioned target). Same (type, subjectKey) won't fire twice in one session \u2014 pick the same key for the same subject so cooldown works.
|
|
9240
|
+
Example (post-answer suffix form): \`<proactive type="idle_balance" subjectKey="USDC">You have $120 USDC idle that could earn ~5% APY in NAVI.</proactive>\`
|
|
9241
|
+
Frame as observation, not advice: "You have $120 USDC idle." \u2014 not "You should deposit more."`;
|
|
9243
9242
|
}
|
|
9244
9243
|
function buildSelfEvaluationInstruction() {
|
|
9245
9244
|
return `Self-evaluation (apply silently before composing your response):
|