billion-context-pi 0.1.47 → 0.1.48

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11465,7 +11465,7 @@ async function statusReport(runtime, ctx) {
11465
11465
  const modelId = ctx.model?.id ?? "default";
11466
11466
  const sentTokens = estimateTokens(coreMessages, coveredIds) + systemPromptTokens;
11467
11467
  const turn = runtime.core.processTurn({ messages: coreMessages, state, config, tokenCount: calibrateTokens(sentTokens, runtime.density.densityFor(modelId)) });
11468
- const versionStr = "0.1.47" ? `billion-context-pi@${"0.1.47"}` : void 0;
11468
+ const versionStr = "0.1.48" ? `billion-context-pi@${"0.1.48"}` : void 0;
11469
11469
  let text = buildStatusPanel({
11470
11470
  version: versionStr,
11471
11471
  tokenCount: sessionTokens,
@@ -11826,7 +11826,7 @@ async function autoInstallLatest(latest, extDirOverride) {
11826
11826
  "--no-fund",
11827
11827
  "--no-save"
11828
11828
  ];
11829
- const prevVersion = (await readPackageJson(join8(extDir, "package.json")))?.version ?? "0.1.47";
11829
+ const prevVersion = (await readPackageJson(join8(extDir, "package.json")))?.version ?? "0.1.48";
11830
11830
  const { code, stderr } = await runNpmImpl(installArgs(latest), { cwd: npmDir, timeout: 6e4 });
11831
11831
  if (code !== 0) {
11832
11832
  logWarn("update", {
@@ -11839,7 +11839,7 @@ async function autoInstallLatest(latest, extDirOverride) {
11839
11839
  }
11840
11840
  const verify = await verifyInstall(npmDir, latest);
11841
11841
  if (!verify.ok) {
11842
- const rollbackTo = SEMVER_RE.test(prevVersion) ? prevVersion : "0.1.47";
11842
+ const rollbackTo = SEMVER_RE.test(prevVersion) ? prevVersion : "0.1.48";
11843
11843
  logWarn("update", { event: "auto-install-verify-failed", latest, reason: verify.reason, rollbackTo });
11844
11844
  const rb = await runNpmImpl(installArgs(rollbackTo), { cwd: npmDir, timeout: 6e4 });
11845
11845
  logInfo("update", { event: "rollback", from: latest, to: rollbackTo, ok: rb.code === 0 });
@@ -11900,7 +11900,7 @@ async function checkForUpdate(autoUpdate, notify) {
11900
11900
  const runtimeVersion = await getRuntimeVersion();
11901
11901
  const latest = await fetchLatestVersion();
11902
11902
  if (!latest) return;
11903
- const current = runtimeVersion ?? "0.1.47";
11903
+ const current = runtimeVersion ?? "0.1.48";
11904
11904
  const hasUpdate = isNewer(latest, current);
11905
11905
  debug.event("update-check", {
11906
11906
  current,
@@ -11979,7 +11979,7 @@ function wireSessionLifecycle(pi, runtime) {
11979
11979
  const sid = ctx.sessionManager.getSessionId();
11980
11980
  runtime.clearSessionTracking(sid);
11981
11981
  const modelInfo = ctx.model;
11982
- logInfo("session", { event: "start", sid, cwd: ctx.cwd, debug: runtime.adapter.debug ?? null, version: true ? "0.1.47" : null, model: modelInfo?.id ?? null, modelApi: modelInfo?.api ?? null, contextWindow: modelInfo?.contextWindow ?? null });
11982
+ logInfo("session", { event: "start", sid, cwd: ctx.cwd, debug: runtime.adapter.debug ?? null, version: true ? "0.1.48" : null, model: modelInfo?.id ?? null, modelApi: modelInfo?.api ?? null, contextWindow: modelInfo?.contextWindow ?? null });
11983
11983
  try {
11984
11984
  await runtime.reloadConfig(ctx.cwd);
11985
11985
  setDelegateDisplayUsage(resolveDelegate(runtime.adapter).displayUsage);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "billion-context-pi",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
4
4
  "description": "One billion, not one million. Model-driven context management for the Pi coding agent.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",