prism-mcp-server 20.22.1 → 20.22.2
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 +12 -0
- package/dist/tools/prismInferHandler.js +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -235,6 +235,18 @@ or by re-enabling after each run.
|
|
|
235
235
|
<details>
|
|
236
236
|
<summary>Release history (optional)</summary>
|
|
237
237
|
|
|
238
|
+
## What's New in v20.22.2
|
|
239
|
+
|
|
240
|
+
**Why it matters:** an agent that followed `session_task_route`'s advice was
|
|
241
|
+
refused on explicit oMLX before anything ran.
|
|
242
|
+
|
|
243
|
+
- **A complexity hint no longer refuses explicit oMLX.** `session_task_route`
|
|
244
|
+
recommends a `task_complexity` for every code task. That hint picks Ollama's
|
|
245
|
+
starting tier, but on explicit oMLX it lowered the model ceiling, so a call
|
|
246
|
+
that passed the recommended arguments was refused with `omlx_model_ceiling`.
|
|
247
|
+
Now only an explicit `model_ceiling` below the top tier, or a plan below it,
|
|
248
|
+
refuses. Thinking on oMLX stays with the server's settings.
|
|
249
|
+
|
|
238
250
|
## What's New in v20.22.1
|
|
239
251
|
|
|
240
252
|
**Why it matters:** on explicit oMLX, a long prompt could keep the device busy
|
|
@@ -2206,12 +2206,14 @@ async function runInferAfterInputSafety(args, deps, t0, temperature) {
|
|
|
2206
2206
|
// No trusted binding maps an oMLX model to a logical tier, and the
|
|
2207
2207
|
// configured Flash model outweighs every Ollama tier. Below the top
|
|
2208
2208
|
// ceiling, from the caller or the plan, refuse before any network,
|
|
2209
|
-
// classification or residency change.
|
|
2210
|
-
|
|
2209
|
+
// classification or residency change. A task_complexity hint only picks
|
|
2210
|
+
// Ollama's starting tier (session_task_route recommends one for every
|
|
2211
|
+
// code task), so it is not a ceiling here; an explicit model_ceiling is.
|
|
2212
|
+
if (clampCeiling(args.model_ceiling ?? "27b", ent.model_ceiling) !== "27b") {
|
|
2211
2213
|
attempts.push({ tier: "omlx", reason: "omlx_model_ceiling" });
|
|
2212
2214
|
if (wantReport)
|
|
2213
2215
|
return refusedResult("omlx_model_ceiling");
|
|
2214
|
-
throw new Error("prism_infer: omlx_model_ceiling; explicit oMLX needs the top model ceiling");
|
|
2216
|
+
throw new Error("prism_infer: omlx_model_ceiling; explicit oMLX needs the top model ceiling from model_ceiling and the plan");
|
|
2215
2217
|
}
|
|
2216
2218
|
if (!Number.isInteger(localMaxTokens) || localMaxTokens <= 0
|
|
2217
2219
|
|| !Number.isFinite(temperature) || temperature < 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prism-mcp-server",
|
|
3
|
-
"version": "20.22.
|
|
3
|
+
"version": "20.22.2",
|
|
4
4
|
"mcpName": "io.github.dcostenco/prism-coder",
|
|
5
5
|
"description": "Persistent session memory for AI coding agents that never leaves your machine — including the on-device model that reasons over it. Restores your prior decisions, open TODOs, and changed files across sessions; adds associative recall of related past work, semantic drift detection, and local inference. Local-first by default. Works with Claude Code, Cursor, and Codex.",
|
|
6
6
|
"module": "index.ts",
|