open-agents-ai 0.104.27 → 0.104.28
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 +0 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -47836,19 +47836,6 @@ var init_status_bar = __esm({
|
|
|
47836
47836
|
const idx = Math.min(n - 1, stops.length - 1);
|
|
47837
47837
|
return stops[idx];
|
|
47838
47838
|
}
|
|
47839
|
-
/**
|
|
47840
|
-
* Cyan→magenta color spectrum for the alive LED (section 0).
|
|
47841
|
-
* 256-color ramp through the RGB cube: (0,5,5)→(5,0,5).
|
|
47842
|
-
* 1 peer = cyan, 5+ peers = magenta, 0 = dim gray (240).
|
|
47843
|
-
*/
|
|
47844
|
-
_aliveLedColor() {
|
|
47845
|
-
const n = this._exposePeerCount;
|
|
47846
|
-
if (n <= 0)
|
|
47847
|
-
return 240;
|
|
47848
|
-
const stops = [51, 81, 111, 141, 171, 201];
|
|
47849
|
-
const idx = Math.min(n - 1, stops.length - 1);
|
|
47850
|
-
return stops[idx];
|
|
47851
|
-
}
|
|
47852
47839
|
/** Update expose gateway status — only stores state, no blink timers */
|
|
47853
47840
|
setExposeStatus(status) {
|
|
47854
47841
|
this._expose = status;
|
|
@@ -48377,11 +48364,6 @@ var init_status_bar = __esm({
|
|
|
48377
48364
|
const compactOrder = [];
|
|
48378
48365
|
let modelSectionIdx = -1;
|
|
48379
48366
|
let versionSectionIdx = -1;
|
|
48380
|
-
if (this._expose) {
|
|
48381
|
-
const ledColor = this._exposeFlashOn ? this._aliveLedColor() : 240;
|
|
48382
|
-
const dot = `\x1B[38;5;${ledColor}m\u25CF\x1B[0m`;
|
|
48383
|
-
sections.push({ expanded: dot, compact: dot, expandedW: 1, compactW: 1, empty: false });
|
|
48384
|
-
}
|
|
48385
48367
|
const tokInRaw = m.promptTokens > 0 ? m.promptTokens : Math.max(m.estimatedContextTokens, 0);
|
|
48386
48368
|
const effectiveOut = this.effectiveCompletionTokens;
|
|
48387
48369
|
const tokOutRaw = effectiveOut > 0 ? effectiveOut : Math.ceil(m.totalTokens > 0 ? m.totalTokens - m.promptTokens : m.estimatedContextTokens * 0.3);
|
package/package.json
CHANGED