billion-context-omp 0.3.2-pr.144.9 → 0.3.3-pr.145.10
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 +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5940,7 +5940,7 @@ async function statusReport(runtime, ctx) {
|
|
|
5940
5940
|
const coveredIds = collectCoveredMessageIds(state);
|
|
5941
5941
|
const sentTokens = estimateTokens(coreMessages, coveredIds) + systemPromptTokens;
|
|
5942
5942
|
const turn = runtime.core.processTurn({ messages: coreMessages, state, config, tokenCount: sentTokens });
|
|
5943
|
-
const versionStr = "0.3.
|
|
5943
|
+
const versionStr = "0.3.3" ? `billion-context-omp@${"0.3.3"}` : void 0;
|
|
5944
5944
|
return buildStatusPanel({
|
|
5945
5945
|
version: versionStr,
|
|
5946
5946
|
tokenCount: sessionTokens,
|
|
@@ -6291,7 +6291,7 @@ async function autoInstallLatest(latest, npmDirOverride) {
|
|
|
6291
6291
|
logWarn("update", { event: "install-abort", reason: "npmroot-not-found", extDir });
|
|
6292
6292
|
return "failed";
|
|
6293
6293
|
}
|
|
6294
|
-
const prevVersion = (await readPackageJson(join4(npmDir, "node_modules", PACKAGE_NAME, "package.json")))?.version ?? "0.3.
|
|
6294
|
+
const prevVersion = (await readPackageJson(join4(npmDir, "node_modules", PACKAGE_NAME, "package.json")))?.version ?? "0.3.3";
|
|
6295
6295
|
try {
|
|
6296
6296
|
const keepAlive = setInterval(() => {
|
|
6297
6297
|
}, 500);
|
|
@@ -6303,7 +6303,7 @@ async function autoInstallLatest(latest, npmDirOverride) {
|
|
|
6303
6303
|
}
|
|
6304
6304
|
const verify = await verifyInstall(npmDir, latest);
|
|
6305
6305
|
if (!verify.ok) {
|
|
6306
|
-
const rollbackTo = SEMVER_RE.test(prevVersion) ? prevVersion : "0.3.
|
|
6306
|
+
const rollbackTo = SEMVER_RE.test(prevVersion) ? prevVersion : "0.3.3";
|
|
6307
6307
|
logWarn("update", { event: "auto-install-verify-failed", latest, reason: verify.reason, rollbackTo });
|
|
6308
6308
|
const rb = await runNpm(installArgs(rollbackTo), npmDir);
|
|
6309
6309
|
logInfo("update", { event: "rollback", from: latest, to: rollbackTo, ok: rb.code === 0 });
|
|
@@ -6343,7 +6343,7 @@ async function checkForUpdate(autoUpdate, notify) {
|
|
|
6343
6343
|
const data = await res.json();
|
|
6344
6344
|
const latest = data.version;
|
|
6345
6345
|
if (!latest) return;
|
|
6346
|
-
const current = runtimeVersion ?? "0.3.
|
|
6346
|
+
const current = runtimeVersion ?? "0.3.3";
|
|
6347
6347
|
const hasUpdate = isNewer(latest, current);
|
|
6348
6348
|
debug.event("update-check", {
|
|
6349
6349
|
current,
|
|
@@ -6598,7 +6598,7 @@ function wireSessionLifecycle(pi, runtime) {
|
|
|
6598
6598
|
pi.on("session_start", async (_event, ctx) => {
|
|
6599
6599
|
const sid = ctx.sessionManager.getSessionId();
|
|
6600
6600
|
const modelInfo = ctx.model;
|
|
6601
|
-
logInfo("session", { event: "start", sid, cwd: ctx.cwd, debug: runtime.adapter.debug ?? null, version: true ? "0.3.
|
|
6601
|
+
logInfo("session", { event: "start", sid, cwd: ctx.cwd, debug: runtime.adapter.debug ?? null, version: true ? "0.3.3" : null, model: modelInfo?.id ?? null, modelApi: modelInfo?.api ?? null, contextWindow: modelInfo?.contextWindow ?? null });
|
|
6602
6602
|
if (!hostMeetsMinimum()) {
|
|
6603
6603
|
logWarn("session", { event: "host-too-old", version: VERSION2, min: MIN_HOST_VERSION.join(".") });
|
|
6604
6604
|
try {
|
|
@@ -6609,7 +6609,7 @@ function wireSessionLifecycle(pi, runtime) {
|
|
|
6609
6609
|
}
|
|
6610
6610
|
}
|
|
6611
6611
|
const selfPath = import.meta.url;
|
|
6612
|
-
const conflict = stampAndDetect(selfPath, true ? "0.3.
|
|
6612
|
+
const conflict = stampAndDetect(selfPath, true ? "0.3.3" : null);
|
|
6613
6613
|
if (conflict) {
|
|
6614
6614
|
logWarn("instance", { event: "dual-instance", self: selfPath, other: conflict.path, otherPid: conflict.pid, otherVersion: conflict.version });
|
|
6615
6615
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "billion-context-omp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3-pr.145.10",
|
|
4
4
|
"description": "One billion, not one million. Model-driven context management for the oh-my-pi (omp) coding agent.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|