omnius 1.0.705 → 1.0.706
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 +128 -26
- package/npm-shrinkwrap.json +36 -36
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -672621,13 +672621,30 @@ runtime_module_sha256=${record.runtimeProvenance.module.sha256 ?? "unknown"}`
|
|
|
672621
672621
|
_legacyModelVisibleCompactionAllowed() {
|
|
672622
672622
|
return this._memoryCompilationMode() !== "active";
|
|
672623
672623
|
}
|
|
672624
|
+
/**
|
|
672625
|
+
* Capacity used for compaction accounting. Provider/observed limits remain
|
|
672626
|
+
* authoritative when available. When metadata is absent, use the existing
|
|
672627
|
+
* tier ceiling as an explicitly labeled working budget; do not add it to the
|
|
672628
|
+
* backend request or pretend it was provider-reported.
|
|
672629
|
+
*/
|
|
672630
|
+
_contextBudget(request) {
|
|
672631
|
+
const known = this._contextAdmissionLimit(request);
|
|
672632
|
+
if (known.limit && known.source !== "unknown") {
|
|
672633
|
+
return { tokens: known.limit, source: known.source };
|
|
672634
|
+
}
|
|
672635
|
+
return {
|
|
672636
|
+
tokens: Math.max(1, this.effectiveContextWindow()),
|
|
672637
|
+
source: "tier_fallback"
|
|
672638
|
+
};
|
|
672639
|
+
}
|
|
672624
672640
|
/** Build the exact budget for the payload which will be sent to the backend. */
|
|
672625
672641
|
_outboundRequestBudget(request) {
|
|
672626
672642
|
const rawRequest = request;
|
|
672643
|
+
const contextBudget = this._contextBudget(request);
|
|
672627
672644
|
return compileOutboundRequestBudget({
|
|
672628
672645
|
messages: Array.isArray(rawRequest["messages"]) ? rawRequest["messages"] : [],
|
|
672629
672646
|
tools: Array.isArray(rawRequest["tools"]) ? rawRequest["tools"] : [],
|
|
672630
|
-
modelContextTokens: typeof rawRequest["numCtx"] === "number" ? rawRequest["numCtx"] : typeof rawRequest["num_ctx"] === "number" ? rawRequest["num_ctx"] :
|
|
672647
|
+
modelContextTokens: typeof rawRequest["numCtx"] === "number" ? rawRequest["numCtx"] : typeof rawRequest["num_ctx"] === "number" ? rawRequest["num_ctx"] : contextBudget.tokens,
|
|
672631
672648
|
outputReservationTokens: typeof rawRequest["maxTokens"] === "number" ? rawRequest["maxTokens"] : typeof rawRequest["max_tokens"] === "number" ? rawRequest["max_tokens"] : 0,
|
|
672632
672649
|
request: rawRequest
|
|
672633
672650
|
});
|
|
@@ -672976,6 +672993,54 @@ ${read3.content}`;
|
|
|
672976
672993
|
justification: "Inference-selected representations passed graph, artifact, and exact post-request budget validation."
|
|
672977
672994
|
});
|
|
672978
672995
|
}
|
|
672996
|
+
/** Publish a footer-only lifecycle around the active compiler boundary. */
|
|
672997
|
+
async _applyUnifiedMemoryCompilationWithLifecycle(request) {
|
|
672998
|
+
const preBudget = this._outboundRequestBudget(request);
|
|
672999
|
+
const shouldPublishLifecycle = this._memoryCompilationMode() === "active" && preBudget.compactionEligible;
|
|
673000
|
+
if (!shouldPublishLifecycle) {
|
|
673001
|
+
await this._applyUnifiedMemoryCompilation(request);
|
|
673002
|
+
return;
|
|
673003
|
+
}
|
|
673004
|
+
const contextBudget = this._contextBudget(request);
|
|
673005
|
+
this.emit({
|
|
673006
|
+
type: "status",
|
|
673007
|
+
content: "Compacting context",
|
|
673008
|
+
visibility: "user_progress",
|
|
673009
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
673010
|
+
compactionLifecycle: {
|
|
673011
|
+
state: "started",
|
|
673012
|
+
source: "unified",
|
|
673013
|
+
beforeTokens: preBudget.totalInputTokens,
|
|
673014
|
+
projectedTokens: preBudget.projectedTotalTokens,
|
|
673015
|
+
workingLimitTokens: contextBudget.tokens,
|
|
673016
|
+
limitSource: contextBudget.source
|
|
673017
|
+
}
|
|
673018
|
+
});
|
|
673019
|
+
let failed = true;
|
|
673020
|
+
try {
|
|
673021
|
+
await this._applyUnifiedMemoryCompilation(request);
|
|
673022
|
+
failed = false;
|
|
673023
|
+
} finally {
|
|
673024
|
+
const auditState = this._lastMemoryCompilationPlanAudit?.state;
|
|
673025
|
+
const state5 = failed ? "failed" : auditState === "applied" ? "applied" : auditState === "hold" ? "held" : auditState === "rejected" ? "rejected" : "failed";
|
|
673026
|
+
const afterTokens = state5 === "applied" ? this._outboundRequestBudget(request).totalInputTokens : void 0;
|
|
673027
|
+
this.emit({
|
|
673028
|
+
type: "status",
|
|
673029
|
+
content: `Context compaction ${state5}`,
|
|
673030
|
+
visibility: "user_progress",
|
|
673031
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
673032
|
+
compactionLifecycle: {
|
|
673033
|
+
state: state5,
|
|
673034
|
+
source: "unified",
|
|
673035
|
+
beforeTokens: preBudget.totalInputTokens,
|
|
673036
|
+
projectedTokens: preBudget.projectedTotalTokens,
|
|
673037
|
+
...afterTokens !== void 0 ? { afterTokens } : {},
|
|
673038
|
+
workingLimitTokens: contextBudget.tokens,
|
|
673039
|
+
limitSource: contextBudget.source
|
|
673040
|
+
}
|
|
673041
|
+
});
|
|
673042
|
+
}
|
|
673043
|
+
}
|
|
672979
673044
|
/**
|
|
672980
673045
|
* Evaluate the graph compiler against an exact, already-rendered request.
|
|
672981
673046
|
* This is shadow-only: it records a validated proposal but deliberately does
|
|
@@ -673888,19 +673953,13 @@ ${workflowStatus}` } : {}
|
|
|
673888
673953
|
return result;
|
|
673889
673954
|
}
|
|
673890
673955
|
async _recordContextWindowDump(stage3, request, turn, attempt) {
|
|
673891
|
-
await this.
|
|
673956
|
+
await this._applyUnifiedMemoryCompilationWithLifecycle(request);
|
|
673892
673957
|
const compilationAudit = this._lastMemoryCompilationPlanAudit;
|
|
673893
673958
|
this._applyContextAdmission(request);
|
|
673894
673959
|
this._applyCanonicalOutboundProjection(request, turn);
|
|
673895
673960
|
const agentType = this.options.artifactMode === "internal" ? "internal" : this.options.subAgent || this.options.recursionDepth > 0 ? "sub-agent" : "main";
|
|
673896
673961
|
const rawRequest = snapshotOutboundRequest(request);
|
|
673897
|
-
const exactBudget =
|
|
673898
|
-
messages: Array.isArray(rawRequest["messages"]) ? rawRequest["messages"] : [],
|
|
673899
|
-
tools: Array.isArray(rawRequest["tools"]) ? rawRequest["tools"] : [],
|
|
673900
|
-
modelContextTokens: typeof rawRequest["numCtx"] === "number" ? rawRequest["numCtx"] : typeof rawRequest["num_ctx"] === "number" ? rawRequest["num_ctx"] : 0,
|
|
673901
|
-
outputReservationTokens: typeof rawRequest["maxTokens"] === "number" ? rawRequest["maxTokens"] : typeof rawRequest["max_tokens"] === "number" ? rawRequest["max_tokens"] : 0,
|
|
673902
|
-
request: rawRequest
|
|
673903
|
-
});
|
|
673962
|
+
const exactBudget = this._outboundRequestBudget(rawRequest);
|
|
673904
673963
|
const memoryCompilerShadow = await this._runMemoryCompilerShadow(exactBudget);
|
|
673905
673964
|
const planAuditApplies = compilationAudit ? {
|
|
673906
673965
|
...compilationAudit,
|
|
@@ -673939,6 +673998,7 @@ ${workflowStatus}` } : {}
|
|
|
673939
673998
|
this.emit({
|
|
673940
673999
|
type: "status",
|
|
673941
674000
|
content: `Memory compiler shadow ${memoryCompilerShadow.decision}: ${memoryCompilerShadow.reason}`,
|
|
674001
|
+
visibility: "telemetry",
|
|
673942
674002
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
673943
674003
|
});
|
|
673944
674004
|
}
|
|
@@ -673956,6 +674016,7 @@ ${workflowStatus}` } : {}
|
|
|
673956
674016
|
this.emit({
|
|
673957
674017
|
type: "status",
|
|
673958
674018
|
content: `Memory compiler v2 ${planAuditApplies.state}: ${planAuditApplies.justification ?? "no additional detail"}`,
|
|
674019
|
+
visibility: "telemetry",
|
|
673959
674020
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
673960
674021
|
});
|
|
673961
674022
|
}
|
|
@@ -688479,6 +688540,8 @@ ${memoryLines.join("\n")}`
|
|
|
688479
688540
|
}
|
|
688480
688541
|
return sum2 + chars + imageCount * IMAGE_TOKEN_ESTIMATE * 4;
|
|
688481
688542
|
}, 0) / 4);
|
|
688543
|
+
const trackedContextTokens = turnPromptTokens > 0 ? turnPromptTokens : this._lastOutboundRequestBudget?.totalInputTokens ?? estimatedContextTokens;
|
|
688544
|
+
const contextBudget = this._contextBudget(chatRequest);
|
|
688482
688545
|
this.emit({
|
|
688483
688546
|
type: "token_usage",
|
|
688484
688547
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -688486,18 +688549,21 @@ ${memoryLines.join("\n")}`
|
|
|
688486
688549
|
promptTokens,
|
|
688487
688550
|
completionTokens,
|
|
688488
688551
|
totalTokens,
|
|
688489
|
-
estimatedContextTokens,
|
|
688552
|
+
estimatedContextTokens: trackedContextTokens,
|
|
688490
688553
|
lastPromptTokens: turnPromptTokens,
|
|
688491
|
-
lastCompletionTokens: turnCompletionTokens
|
|
688554
|
+
lastCompletionTokens: turnCompletionTokens,
|
|
688555
|
+
contextBudgetTokens: contextBudget.tokens,
|
|
688556
|
+
contextBudgetSource: contextBudget.source
|
|
688492
688557
|
}
|
|
688493
688558
|
});
|
|
688494
688559
|
{
|
|
688495
|
-
const
|
|
688496
|
-
const utilPct =
|
|
688560
|
+
const ctxBudgetTokens = contextBudget.tokens;
|
|
688561
|
+
const utilPct = ctxBudgetTokens > 0 ? Math.round(trackedContextTokens / ctxBudgetTokens * 100) : 0;
|
|
688497
688562
|
if (utilPct > 50) {
|
|
688498
688563
|
this.emit({
|
|
688499
688564
|
type: "status",
|
|
688500
|
-
content: `Context: ~${
|
|
688565
|
+
content: `Context budget: ~${trackedContextTokens}t / ${ctxBudgetTokens}t (${utilPct}% used)`,
|
|
688566
|
+
visibility: "telemetry",
|
|
688501
688567
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
688502
688568
|
});
|
|
688503
688569
|
}
|
|
@@ -692814,6 +692880,8 @@ ${this.options.maxTurns && this.options.maxTurns > 0 ? `You have ${this.options.
|
|
|
692814
692880
|
}
|
|
692815
692881
|
return sum2 + chars + imgCount * 1500 * 4;
|
|
692816
692882
|
}, 0) / 4);
|
|
692883
|
+
const trackedBfContextTokens = bfTurnPrompt > 0 ? bfTurnPrompt : this._lastOutboundRequestBudget?.totalInputTokens ?? bfEstCtx;
|
|
692884
|
+
const bfContextBudget = this._contextBudget(chatRequest);
|
|
692817
692885
|
this.emit({
|
|
692818
692886
|
type: "token_usage",
|
|
692819
692887
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -692821,9 +692889,11 @@ ${this.options.maxTurns && this.options.maxTurns > 0 ? `You have ${this.options.
|
|
|
692821
692889
|
promptTokens,
|
|
692822
692890
|
completionTokens,
|
|
692823
692891
|
totalTokens,
|
|
692824
|
-
estimatedContextTokens:
|
|
692892
|
+
estimatedContextTokens: trackedBfContextTokens,
|
|
692825
692893
|
lastPromptTokens: bfTurnPrompt,
|
|
692826
|
-
lastCompletionTokens: bfTurnCompletion
|
|
692894
|
+
lastCompletionTokens: bfTurnCompletion,
|
|
692895
|
+
contextBudgetTokens: bfContextBudget.tokens,
|
|
692896
|
+
contextBudgetSource: bfContextBudget.source
|
|
692827
692897
|
}
|
|
692828
692898
|
});
|
|
692829
692899
|
const choice = response.choices[0];
|
|
@@ -733577,12 +733647,15 @@ function findModel(models, query) {
|
|
|
733577
733647
|
const fuzzy = models.find((m2) => m2.name.includes(query));
|
|
733578
733648
|
return fuzzy;
|
|
733579
733649
|
}
|
|
733580
|
-
async function queryModelContextSize(baseUrl3, modelName) {
|
|
733650
|
+
async function queryModelContextSize(baseUrl3, modelName, apiKey) {
|
|
733581
733651
|
try {
|
|
733582
733652
|
const normalized4 = normalizeBaseUrl(baseUrl3);
|
|
733583
733653
|
const res = await fetch(`${normalized4}/api/show`, {
|
|
733584
733654
|
method: "POST",
|
|
733585
|
-
headers: {
|
|
733655
|
+
headers: {
|
|
733656
|
+
"Content-Type": "application/json",
|
|
733657
|
+
...apiKey ? { Authorization: `Bearer ${apiKey}` } : {}
|
|
733658
|
+
},
|
|
733586
733659
|
body: JSON.stringify({ name: modelName }),
|
|
733587
733660
|
signal: AbortSignal.timeout(1e4)
|
|
733588
733661
|
});
|
|
@@ -733769,7 +733842,7 @@ async function queryContextTelemetry(baseUrl3, modelName, apiKey) {
|
|
|
733769
733842
|
capacitySource: "peer_default"
|
|
733770
733843
|
};
|
|
733771
733844
|
}
|
|
733772
|
-
const ollamaSize = await queryModelContextSize(baseUrl3, modelName);
|
|
733845
|
+
const ollamaSize = await queryModelContextSize(baseUrl3, modelName, apiKey);
|
|
733773
733846
|
if (ollamaSize) {
|
|
733774
733847
|
return { endpoint, model: modelName, capacityTokens: ollamaSize, capacitySource: "ollama_show" };
|
|
733775
733848
|
}
|
|
@@ -745888,6 +745961,7 @@ var init_status_bar = __esm({
|
|
|
745888
745961
|
contextWindowSize: 0
|
|
745889
745962
|
};
|
|
745890
745963
|
_contextCapacity = { status: "unknown" };
|
|
745964
|
+
_contextCompaction = null;
|
|
745891
745965
|
// ── Metrics tracking for Telegram stats ──
|
|
745892
745966
|
_backend = "ollama";
|
|
745893
745967
|
_inferenceCount = 0;
|
|
@@ -747336,6 +747410,11 @@ var init_status_bar = __esm({
|
|
|
747336
747410
|
this.pushSpinnerContextMetrics();
|
|
747337
747411
|
if (this.active) this.renderFooterPreserveCursor();
|
|
747338
747412
|
}
|
|
747413
|
+
/** Show context-compaction progress in the footer without adding scrollback noise. */
|
|
747414
|
+
setContextCompaction(state5) {
|
|
747415
|
+
this._contextCompaction = state5;
|
|
747416
|
+
if (this.active) this.renderFooterPreserveCursor();
|
|
747417
|
+
}
|
|
747339
747418
|
/** Set the current package version for display in the metrics row */
|
|
747340
747419
|
setVersion(version5) {
|
|
747341
747420
|
this._version = version5;
|
|
@@ -747842,10 +747921,17 @@ var init_status_bar = __esm({
|
|
|
747842
747921
|
this.metrics.estimatedContextTokens = update2.estimatedContextTokens;
|
|
747843
747922
|
if (update2.contextOutputReservationTokens !== void 0)
|
|
747844
747923
|
this.metrics.contextOutputReservationTokens = update2.contextOutputReservationTokens;
|
|
747924
|
+
if (update2.contextBudgetTokens !== void 0)
|
|
747925
|
+
this.metrics.contextBudgetTokens = update2.contextBudgetTokens;
|
|
747926
|
+
if (update2.contextBudgetSource !== void 0)
|
|
747927
|
+
this.metrics.contextBudgetSource = update2.contextBudgetSource;
|
|
747845
747928
|
if (update2.lastPromptTokens !== void 0)
|
|
747846
747929
|
this.metrics.lastPromptTokens = update2.lastPromptTokens;
|
|
747847
747930
|
if (update2.lastCompletionTokens !== void 0)
|
|
747848
747931
|
this.metrics.lastCompletionTokens = update2.lastCompletionTokens;
|
|
747932
|
+
if (update2.estimatedContextTokens !== void 0 && this._contextCompaction?.state !== "started") {
|
|
747933
|
+
this._contextCompaction = null;
|
|
747934
|
+
}
|
|
747849
747935
|
this._streamingTokens = 0;
|
|
747850
747936
|
this._streamStartTime = 0;
|
|
747851
747937
|
this.pushSpinnerContextMetrics();
|
|
@@ -747882,6 +747968,7 @@ var init_status_bar = __esm({
|
|
|
747882
747968
|
this.metrics.estimatedContextTokens = 0;
|
|
747883
747969
|
this.metrics.lastPromptTokens = 0;
|
|
747884
747970
|
this.metrics.lastCompletionTokens = 0;
|
|
747971
|
+
this._contextCompaction = null;
|
|
747885
747972
|
this._tokensPerSecond = 0;
|
|
747886
747973
|
this.pushSpinnerContextMetrics();
|
|
747887
747974
|
if (this.active) this.renderFooterPreserveCursor();
|
|
@@ -750060,16 +750147,21 @@ ${CONTENT_BG_SEQ}`);
|
|
|
750060
750147
|
const circleChar = isPaused ? "●" : "◖";
|
|
750061
750148
|
const circleColor = isPaused ? 120 : 183;
|
|
750062
750149
|
const uptimeStr = `\x1B[38;5;${circleColor}m${circleChar} ${uptime2}\x1B[0m`;
|
|
750063
|
-
const
|
|
750150
|
+
const lifecycle = this._contextCompaction;
|
|
750151
|
+
const ctxUsed = lifecycle?.afterTokens ?? lifecycle?.beforeTokens ?? m2.estimatedContextTokens;
|
|
750064
750152
|
const ctxTotal = this.reportedContextTotal(
|
|
750065
750153
|
m2.contextWindowSize,
|
|
750066
750154
|
this.effectiveContextTotal(m2.contextWindowSize)
|
|
750067
750155
|
);
|
|
750156
|
+
const fallbackTotal = lifecycle?.workingLimitTokens ?? m2.contextBudgetTokens ?? 0;
|
|
750157
|
+
const providerCapacityKnown = this._contextCapacity.status === "known" && ctxTotal > 0;
|
|
750158
|
+
const displayTotal = providerCapacityKnown ? ctxTotal : fallbackTotal;
|
|
750159
|
+
const estimatedCapacity = !providerCapacityKnown && displayTotal > 0;
|
|
750068
750160
|
let ctxStr = "";
|
|
750069
|
-
if (
|
|
750161
|
+
if (displayTotal > 0) {
|
|
750070
750162
|
const pct2 = Math.max(
|
|
750071
750163
|
0,
|
|
750072
|
-
Math.min(100, Math.round((1 - ctxUsed /
|
|
750164
|
+
Math.min(100, Math.round((1 - ctxUsed / displayTotal) * 100))
|
|
750073
750165
|
);
|
|
750074
750166
|
const barLen = 10;
|
|
750075
750167
|
const filled = Math.round(pct2 / 100 * barLen);
|
|
@@ -750077,11 +750169,13 @@ ${CONTENT_BG_SEQ}`);
|
|
|
750077
750169
|
const barColor = pct2 > 50 ? 120 : pct2 > 20 ? 222 : 210;
|
|
750078
750170
|
const bar = `\x1B[38;5;${barColor}m${"█".repeat(filled)}\x1B[0m\x1B[38;5;240m${"░".repeat(empty2)}\x1B[0m`;
|
|
750079
750171
|
const pctColor = pct2 > 50 ? 120 : pct2 > 20 ? 222 : 210;
|
|
750080
|
-
|
|
750172
|
+
const lifecycleLabel = lifecycle?.state === "started" ? "\x1B[38;5;222m⟳ compacting\x1B[0m " : lifecycle?.state === "applied" ? "\x1B[38;5;120m✓ compacted\x1B[0m " : lifecycle ? "\x1B[38;5;210m◇ compact held\x1B[0m " : estimatedCapacity ? "\x1B[38;5;245mCTX~\x1B[0m " : "";
|
|
750173
|
+
const estimateMark = estimatedCapacity ? "~" : "";
|
|
750174
|
+
ctxStr = `${lifecycleLabel}${bar} \x1B[38;5;${pctColor}m${estimateMark}${pct2}%\x1B[0m`;
|
|
750081
750175
|
} else {
|
|
750082
750176
|
const usage = ctxUsed >= 1024 ? `${(ctxUsed / 1024).toFixed(ctxUsed >= 1e4 ? 0 : 1)}K` : String(Math.max(0, Math.round(ctxUsed)));
|
|
750083
750177
|
const reservation = m2.contextOutputReservationTokens && m2.contextOutputReservationTokens > 0 ? ` +${m2.contextOutputReservationTokens >= 1024 ? `${Math.round(m2.contextOutputReservationTokens / 1024)}K` : m2.contextOutputReservationTokens} rsv` : "";
|
|
750084
|
-
ctxStr = `\x1B[38;5;245mCTX
|
|
750178
|
+
ctxStr = `\x1B[38;5;245mCTX measuring | ~${usage} used${reservation}\x1B[0m`;
|
|
750085
750179
|
}
|
|
750086
750180
|
const arrow = `\x1B[38;5;240m▶\x1B[0m`;
|
|
750087
750181
|
let rightSide;
|
|
@@ -750196,10 +750290,11 @@ ${CONTENT_BG_SEQ}`);
|
|
|
750196
750290
|
/** Push current context window usage to the braille spinner */
|
|
750197
750291
|
pushSpinnerContextMetrics() {
|
|
750198
750292
|
const ctxUsed = this.metrics.estimatedContextTokens;
|
|
750199
|
-
const
|
|
750293
|
+
const reportedTotal = this.reportedContextTotal(
|
|
750200
750294
|
this.metrics.contextWindowSize,
|
|
750201
750295
|
this.effectiveContextTotal(this.metrics.contextWindowSize)
|
|
750202
750296
|
);
|
|
750297
|
+
const ctxTotal = this._contextCapacity.status === "known" ? reportedTotal : this.metrics.contextBudgetTokens ?? 0;
|
|
750203
750298
|
const contextPct = ctxTotal > 0 ? Math.round(ctxUsed / ctxTotal * 100) : 0;
|
|
750204
750299
|
this._brailleSpinner.setMetrics({ contextPct });
|
|
750205
750300
|
}
|
|
@@ -843646,7 +843741,14 @@ ${entry.fullContent}`
|
|
|
843646
843741
|
case "status":
|
|
843647
843742
|
if (_apiCallbacks?.onStatus)
|
|
843648
843743
|
_apiCallbacks.onStatus(event.content ?? "");
|
|
843649
|
-
if (event.
|
|
843744
|
+
if (event.compactionLifecycle) {
|
|
843745
|
+
statusBar?.setContextCompaction(event.compactionLifecycle);
|
|
843746
|
+
if (event.compactionLifecycle.state === "applied") {
|
|
843747
|
+
statusBar?.recordCompaction();
|
|
843748
|
+
}
|
|
843749
|
+
break;
|
|
843750
|
+
}
|
|
843751
|
+
if (event.content && event.visibility !== "telemetry" && event.toolName !== "shell" && inferenceBlocks?.has(mainInferenceBlockKey)) {
|
|
843650
843752
|
inferenceBlocks.handling(
|
|
843651
843753
|
mainInferenceBlockKey,
|
|
843652
843754
|
getSecretRedactor().redactText(event.content)
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.706",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.706",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
|
@@ -1081,9 +1081,9 @@
|
|
|
1081
1081
|
"license": "Apache-2.0 OR MIT"
|
|
1082
1082
|
},
|
|
1083
1083
|
"node_modules/@libp2p/noise/node_modules/protons-runtime": {
|
|
1084
|
-
"version": "7.
|
|
1085
|
-
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.
|
|
1086
|
-
"integrity": "sha512-
|
|
1084
|
+
"version": "7.1.0",
|
|
1085
|
+
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.0.tgz",
|
|
1086
|
+
"integrity": "sha512-TAL8CpKEUK+k0KKZIQrDTBgyH86zZAjz3ZULcCjxrb9zvkTVEGJyVbATmTV4KpZmFFEH7ERWDNWxfiE+N3bOUQ==",
|
|
1087
1087
|
"license": "Apache-2.0 OR MIT",
|
|
1088
1088
|
"dependencies": {
|
|
1089
1089
|
"uint8-varint": "^3.0.0",
|
|
@@ -1167,9 +1167,9 @@
|
|
|
1167
1167
|
"license": "Apache-2.0 OR MIT"
|
|
1168
1168
|
},
|
|
1169
1169
|
"node_modules/@libp2p/peer-record/node_modules/protons-runtime": {
|
|
1170
|
-
"version": "7.
|
|
1171
|
-
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.
|
|
1172
|
-
"integrity": "sha512-
|
|
1170
|
+
"version": "7.1.0",
|
|
1171
|
+
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.0.tgz",
|
|
1172
|
+
"integrity": "sha512-TAL8CpKEUK+k0KKZIQrDTBgyH86zZAjz3ZULcCjxrb9zvkTVEGJyVbATmTV4KpZmFFEH7ERWDNWxfiE+N3bOUQ==",
|
|
1173
1173
|
"license": "Apache-2.0 OR MIT",
|
|
1174
1174
|
"dependencies": {
|
|
1175
1175
|
"uint8-varint": "^3.0.0",
|
|
@@ -1277,9 +1277,9 @@
|
|
|
1277
1277
|
"license": "Apache-2.0 OR MIT"
|
|
1278
1278
|
},
|
|
1279
1279
|
"node_modules/@libp2p/record/node_modules/protons-runtime": {
|
|
1280
|
-
"version": "7.
|
|
1281
|
-
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.
|
|
1282
|
-
"integrity": "sha512-
|
|
1280
|
+
"version": "7.1.0",
|
|
1281
|
+
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.0.tgz",
|
|
1282
|
+
"integrity": "sha512-TAL8CpKEUK+k0KKZIQrDTBgyH86zZAjz3ZULcCjxrb9zvkTVEGJyVbATmTV4KpZmFFEH7ERWDNWxfiE+N3bOUQ==",
|
|
1283
1283
|
"license": "Apache-2.0 OR MIT",
|
|
1284
1284
|
"dependencies": {
|
|
1285
1285
|
"uint8-varint": "^3.0.0",
|
|
@@ -1515,9 +1515,9 @@
|
|
|
1515
1515
|
"license": "Apache-2.0 OR MIT"
|
|
1516
1516
|
},
|
|
1517
1517
|
"node_modules/@libp2p/webrtc/node_modules/node-datachannel": {
|
|
1518
|
-
"version": "0.33.
|
|
1519
|
-
"resolved": "https://registry.npmjs.org/node-datachannel/-/node-datachannel-0.33.
|
|
1520
|
-
"integrity": "sha512-
|
|
1518
|
+
"version": "0.33.3",
|
|
1519
|
+
"resolved": "https://registry.npmjs.org/node-datachannel/-/node-datachannel-0.33.3.tgz",
|
|
1520
|
+
"integrity": "sha512-Tf7bbOjUXh7gPiWKTFpMDZXpippya6pdsEz3tgxsIJiW+BMLWSaX7O6F9kDjHu0GCan4vSmXlfA8l21O4D+K9Q==",
|
|
1521
1521
|
"license": "MPL 2.0",
|
|
1522
1522
|
"dependencies": {
|
|
1523
1523
|
"detect-libc": "^2.0.4"
|
|
@@ -1538,9 +1538,9 @@
|
|
|
1538
1538
|
}
|
|
1539
1539
|
},
|
|
1540
1540
|
"node_modules/@libp2p/webrtc/node_modules/protons-runtime": {
|
|
1541
|
-
"version": "7.
|
|
1542
|
-
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.
|
|
1543
|
-
"integrity": "sha512-
|
|
1541
|
+
"version": "7.1.0",
|
|
1542
|
+
"resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-7.1.0.tgz",
|
|
1543
|
+
"integrity": "sha512-TAL8CpKEUK+k0KKZIQrDTBgyH86zZAjz3ZULcCjxrb9zvkTVEGJyVbATmTV4KpZmFFEH7ERWDNWxfiE+N3bOUQ==",
|
|
1544
1544
|
"license": "Apache-2.0 OR MIT",
|
|
1545
1545
|
"dependencies": {
|
|
1546
1546
|
"uint8-varint": "^3.0.0",
|
|
@@ -1636,13 +1636,13 @@
|
|
|
1636
1636
|
}
|
|
1637
1637
|
},
|
|
1638
1638
|
"node_modules/@msgpack/msgpack": {
|
|
1639
|
-
"version": "
|
|
1640
|
-
"resolved": "https://registry.npmjs.org/@msgpack/msgpack/-/msgpack-
|
|
1641
|
-
"integrity": "sha512-
|
|
1639
|
+
"version": "3.1.3",
|
|
1640
|
+
"resolved": "https://registry.npmjs.org/@msgpack/msgpack/-/msgpack-3.1.3.tgz",
|
|
1641
|
+
"integrity": "sha512-47XIizs9XZXvuJgoaJUIE2lFoID8ugvc0jzSHP+Ptfk8nTbnR8g788wv48N03Kx0UkAv559HWRQ3yzOgzlRNUA==",
|
|
1642
1642
|
"license": "ISC",
|
|
1643
1643
|
"optional": true,
|
|
1644
1644
|
"engines": {
|
|
1645
|
-
"node": ">=
|
|
1645
|
+
"node": ">= 18"
|
|
1646
1646
|
}
|
|
1647
1647
|
},
|
|
1648
1648
|
"node_modules/@multiformats/dns": {
|
|
@@ -2426,12 +2426,12 @@
|
|
|
2426
2426
|
}
|
|
2427
2427
|
},
|
|
2428
2428
|
"node_modules/@types/node": {
|
|
2429
|
-
"version": "
|
|
2430
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-
|
|
2431
|
-
"integrity": "sha512-
|
|
2429
|
+
"version": "22.20.2",
|
|
2430
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.2.tgz",
|
|
2431
|
+
"integrity": "sha512-xlvWf4Vs9n1PEVYwP1n4vvG07M6y8WgvJ2t0vbrWTmijsIHp1cS+uJ2kMIRdY3nHZK0nCYKrPeD171+SzF4/zw==",
|
|
2432
2432
|
"license": "MIT",
|
|
2433
2433
|
"dependencies": {
|
|
2434
|
-
"undici-types": "~
|
|
2434
|
+
"undici-types": "~6.21.0"
|
|
2435
2435
|
}
|
|
2436
2436
|
},
|
|
2437
2437
|
"node_modules/@types/sinon": {
|
|
@@ -5717,20 +5717,20 @@
|
|
|
5717
5717
|
}
|
|
5718
5718
|
},
|
|
5719
5719
|
"node_modules/neovim": {
|
|
5720
|
-
"version": "5.
|
|
5721
|
-
"resolved": "https://registry.npmjs.org/neovim/-/neovim-5.
|
|
5722
|
-
"integrity": "sha512-
|
|
5720
|
+
"version": "5.5.0",
|
|
5721
|
+
"resolved": "https://registry.npmjs.org/neovim/-/neovim-5.5.0.tgz",
|
|
5722
|
+
"integrity": "sha512-B68xdr5OUwLuUgD73aDa3yCg10Lg7gqroIDrSadvDpCJFC52pOD22iOI+omzQi+sgixTl5UyOHqnAd73E5RlEA==",
|
|
5723
5723
|
"license": "MIT",
|
|
5724
5724
|
"optional": true,
|
|
5725
5725
|
"dependencies": {
|
|
5726
|
-
"@msgpack/msgpack": "^
|
|
5726
|
+
"@msgpack/msgpack": "^3.1.3",
|
|
5727
5727
|
"winston": "3.15.0"
|
|
5728
5728
|
},
|
|
5729
5729
|
"bin": {
|
|
5730
5730
|
"neovim-node-host": "bin/cli.js"
|
|
5731
5731
|
},
|
|
5732
5732
|
"engines": {
|
|
5733
|
-
"node": ">=
|
|
5733
|
+
"node": ">=14"
|
|
5734
5734
|
}
|
|
5735
5735
|
},
|
|
5736
5736
|
"node_modules/netmask": {
|
|
@@ -7643,9 +7643,9 @@
|
|
|
7643
7643
|
}
|
|
7644
7644
|
},
|
|
7645
7645
|
"node_modules/undici-types": {
|
|
7646
|
-
"version": "
|
|
7647
|
-
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-
|
|
7648
|
-
"integrity": "sha512-
|
|
7646
|
+
"version": "6.21.0",
|
|
7647
|
+
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
|
|
7648
|
+
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
|
|
7649
7649
|
"license": "MIT"
|
|
7650
7650
|
},
|
|
7651
7651
|
"node_modules/universalify": {
|
|
@@ -8049,9 +8049,9 @@
|
|
|
8049
8049
|
}
|
|
8050
8050
|
},
|
|
8051
8051
|
"node_modules/zod": {
|
|
8052
|
-
"version": "4.
|
|
8053
|
-
"resolved": "https://registry.npmjs.org/zod/-/zod-4.
|
|
8054
|
-
"integrity": "sha512-
|
|
8052
|
+
"version": "4.6.2",
|
|
8053
|
+
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.2.tgz",
|
|
8054
|
+
"integrity": "sha512-lh5RCAGFa1Cm2hjtNwLQhSs/AsqdWnTQaBER9fEwN/88pSh7KOtJavtBx/0VlkN/uFd61SwYmljLMDAsHlvzBQ==",
|
|
8055
8055
|
"license": "MIT",
|
|
8056
8056
|
"funding": {
|
|
8057
8057
|
"url": "https://github.com/sponsors/colinhacks"
|
package/package.json
CHANGED