atlarix 15.12.4 → 15.12.5

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.
@@ -349291,7 +349291,9 @@ async function runContextAssembly(state2, deps) {
349291
349291
  const CONTEXT_PROACTIVE_THRESHOLD = 0.55;
349292
349292
  const fillAfterProactive = dispatchEstimate / workingWindowTokens;
349293
349293
  if (fillAfterProactive >= CONTEXT_PROACTIVE_THRESHOLD) {
349294
- const livePct = Math.round(fillAfterProactive * 100);
349294
+ const livePct = Math.round(
349295
+ dispatchEstimate / Math.max(1, contextWindowTokens) * 100
349296
+ );
349295
349297
  logCompactionLine(dispatchEstimate, "reminder");
349296
349298
  proactiveContextReminderForStream = `Context is at ${livePct}% capacity. Consider calling compress_context before your next heavy tool use.`;
349297
349299
  }
@@ -349305,9 +349307,12 @@ async function runContextAssembly(state2, deps) {
349305
349307
  sections: [],
349306
349308
  trimReport: [],
349307
349309
  dispatchedTokens: dispatchEstimate,
349308
- // The context meter reports against the WORKING window, so "% used" means
349309
- // "how close to compaction", not "how close to the model's hard limit".
349310
- contextWindow: workingWindowTokens
349310
+ // The context meter reports against the model's FULL window, so "% used"
349311
+ // means "how full is the model's context" — matching the compaction
349312
+ // reminder's number (which triggers on the working window but reports
349313
+ // against the full window). Reporting the working window here made the UI
349314
+ // show e.g. "100%" while the reminder said "198%" for the same dispatch.
349315
+ contextWindow: contextWindowTokens
349311
349316
  });
349312
349317
  return {
349313
349318
  systemPrompt,
@@ -361974,7 +361979,7 @@ ${err2.stack}` : "";
361974
361979
  }
361975
361980
 
361976
361981
  // src/headless/atlarix-headless.mts
361977
- var VERSION15 = false ? "dev" : "15.12.4";
361982
+ var VERSION15 = false ? "dev" : "15.12.5";
361978
361983
  if (process.argv[2] === "run") process.argv.splice(2, 1);
361979
361984
  var RUN_HELP = `atlarix run: one turn without the UI, for scripts and CI
361980
361985
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atlarix",
3
- "version": "15.12.4",
3
+ "version": "15.12.5",
4
4
  "description": "Atlarix CLI: an AI coding agent in your terminal. Works with any model (Atlarix Auto, your own API key, or a local model) and runs unattended with `atlarix run` for CI.",
5
5
  "license": "PROPRIETARY",
6
6
  "author": {
@@ -65,12 +65,12 @@
65
65
  "provenance": false
66
66
  },
67
67
  "optionalDependencies": {
68
- "atlarix-darwin-arm64": "15.12.4",
69
- "atlarix-darwin-x64": "15.12.4",
70
- "atlarix-linux-x64": "15.12.4",
71
- "atlarix-linux-arm64": "15.12.4",
72
- "atlarix-linux-x64-musl": "15.12.4",
73
- "atlarix-linux-arm64-musl": "15.12.4",
74
- "atlarix-windows-x64": "15.12.4"
68
+ "atlarix-darwin-arm64": "15.12.5",
69
+ "atlarix-darwin-x64": "15.12.5",
70
+ "atlarix-linux-x64": "15.12.5",
71
+ "atlarix-linux-arm64": "15.12.5",
72
+ "atlarix-linux-x64-musl": "15.12.5",
73
+ "atlarix-linux-arm64-musl": "15.12.5",
74
+ "atlarix-windows-x64": "15.12.5"
75
75
  }
76
76
  }