switchroom 0.14.78 → 0.14.79

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.
@@ -14965,8 +14965,12 @@ async function ensureUserProfileMentalModel(apiUrl, bankId, opts) {
14965
14965
  try {
14966
14966
  const listData = await parseSseOrJson(listResponse);
14967
14967
  const models = listData.result?.content?.[0]?.text;
14968
- if (models && typeof models === "string" && models.includes("user-profile")) {
14969
- return { ok: true };
14968
+ if (models && typeof models === "string") {
14969
+ const parsed = JSON.parse(models);
14970
+ const items = Array.isArray(parsed?.items) ? parsed.items : [];
14971
+ if (items.some((m) => m?.name === "user-profile")) {
14972
+ return { ok: true };
14973
+ }
14970
14974
  }
14971
14975
  } catch {}
14972
14976
  }
@@ -49695,8 +49699,8 @@ var {
49695
49699
  } = import__.default;
49696
49700
 
49697
49701
  // src/build-info.ts
49698
- var VERSION = "0.14.78";
49699
- var COMMIT_SHA = "ac0dae98";
49702
+ var VERSION = "0.14.79";
49703
+ var COMMIT_SHA = "f6c40ab6";
49700
49704
 
49701
49705
  // src/cli/agent.ts
49702
49706
  init_source();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "switchroom",
3
- "version": "0.14.78",
3
+ "version": "0.14.79",
4
4
  "description": "Run Claude Code 24/7 on your Claude Pro/Max subscription over Telegram. Open-source alternative to OpenClaw and NanoClaw — no API keys.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -52821,11 +52821,11 @@ function sweepStaleTurnActiveMarker(stateDir, opts) {
52821
52821
  }
52822
52822
 
52823
52823
  // ../src/build-info.ts
52824
- var VERSION = "0.14.78";
52825
- var COMMIT_SHA = "ac0dae98";
52826
- var COMMIT_DATE = "2026-06-07T09:07:56+10:00";
52824
+ var VERSION = "0.14.79";
52825
+ var COMMIT_SHA = "f6c40ab6";
52826
+ var COMMIT_DATE = "2026-06-07T09:32:15+10:00";
52827
52827
  var LATEST_PR = null;
52828
- var COMMITS_AHEAD_OF_TAG = 3;
52828
+ var COMMITS_AHEAD_OF_TAG = 2;
52829
52829
 
52830
52830
  // gateway/boot-version.ts
52831
52831
  function formatRelativeAgo(iso) {