openzoo 0.48.13 → 0.48.14
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/lib/grokui.mjs +7 -1
- package/package.json +1 -1
package/lib/grokui.mjs
CHANGED
|
@@ -578,7 +578,13 @@ function condense(label, text) {
|
|
|
578
578
|
if (s.length <= FEEDBACK_MAX) return `${label}\n${s}`;
|
|
579
579
|
const head = s.slice(0, Math.floor(FEEDBACK_MAX * 0.7));
|
|
580
580
|
const tail = s.slice(-Math.floor(FEEDBACK_MAX * 0.3));
|
|
581
|
-
|
|
581
|
+
// The wording matters. Retrieval is AUTOMATIC — the thread's context id
|
|
582
|
+
// rides on every call as x-hrr-context and leCore injects whatever slice is
|
|
583
|
+
// relevant to what you say next. Telling the model to "ask for it" invites
|
|
584
|
+
// it to invent a RECALL directive that does not exist, which is the exact
|
|
585
|
+
// failure mode this whole harness keeps hitting: a model fabricating a
|
|
586
|
+
// mechanism instead of using the real one.
|
|
587
|
+
return `${label}\n${head}\n\n…[${s.length - head.length - tail.length} chars elided from THIS message — the full output is bound to this thread's holographic memory. It is not lost: mention what you need in your next message and the relevant part is retrieved automatically. Do not invent a command to fetch it.]…\n\n${tail}`;
|
|
582
588
|
}
|
|
583
589
|
|
|
584
590
|
// threadId -> open SSE responses. A Set because the same thread can be open in
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openzoo",
|
|
3
|
-
"version": "0.48.
|
|
3
|
+
"version": "0.48.14",
|
|
4
4
|
"description": "Local x402-paying proxy + MCP server for openzoo.fun — point any OpenAI-compatible harness (Cursor, Claude Code, aider, SDKs) at localhost and it pays per call from a local burner wallet. Solana and Base rails live; Robinhood experimental.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|