busybits 2.4.1 → 2.6.0

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 (29) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +18 -0
  3. package/dist/build.json +2 -2
  4. package/dist/cli/busybits.js +45 -0
  5. package/dist/client/bundle/app-9Vl0ffKz.js +24 -0
  6. package/dist/client/bundle/{app-Cn3BvqjA.css → app-BvE-Y-Qm.css} +1 -1
  7. package/dist/client/bundle/{city-DKO2ZZPJ.js → city-D7fv4nex.js} +1 -1
  8. package/dist/client/bundle/{daystats-CqDMjh5a.js → daystats-CIfvcFQr.js} +1 -1
  9. package/dist/client/bundle/{dom-BnYE5zIh.js → dom-DTQ3fgr0.js} +1 -1
  10. package/dist/client/bundle/{en-BD-d_FWo.js → en-ChmFNZf9.js} +2 -2
  11. package/dist/client/bundle/{es-ZgMlZ_LY.js → es-Dxz3P98Y.js} +2 -2
  12. package/dist/client/bundle/{format-CnTSBxgP.js → format-Cq9YWBaH.js} +1 -1
  13. package/dist/client/bundle/{fr-DOSCFvER.js → fr-CINcBINu.js} +2 -2
  14. package/dist/client/bundle/{main-7JfOGPBD.js → main-CIX7XLHO.js} +2 -2
  15. package/dist/client/bundle/{ptypane-DBg26wgg.js → ptypane-BV4OJmMy.js} +1 -1
  16. package/dist/client/bundle/{room-name-Cb8-ffEK.js → room-name-DwJoEQRB.js} +1 -1
  17. package/dist/client/bundle/{simulator-DeHOlOye.js → simulator-mIkQohaY.js} +1 -1
  18. package/dist/client/bundle/world-model-BCuCi4WK.js +1 -0
  19. package/dist/client/bundle/world-stream-BJwcKXw_.js +1 -0
  20. package/dist/client/index.html +1 -1
  21. package/dist/server/index.js +113 -32
  22. package/mod/habblaud/.claude-plugin/plugin.json +1 -1
  23. package/mod/habblaud-mensagens/.claude-plugin/plugin.json +1 -1
  24. package/mod/habblaud-permissoes/.claude-plugin/plugin.json +1 -1
  25. package/mod/habblaud-pi/package.json +1 -1
  26. package/package.json +2 -1
  27. package/dist/client/bundle/app-B_jk_lPZ.js +0 -24
  28. package/dist/client/bundle/world-model-C3GVcyT7.js +0 -1
  29. package/dist/client/bundle/world-stream-DZkepWt9.js +0 -1
@@ -848,6 +848,8 @@ var EN = {
848
848
  "S\xF3 os seus prompts e as respostas finais do agente": "Only your prompts and the agent's final replies",
849
849
  "Sem ferramentas": "No tools",
850
850
  "Esconde as ferramentas e os resultados": "Hides tools and their results",
851
+ "Ferramentas resumidas": "Compact tools",
852
+ "Junta cada sequ\xEAncia de ferramentas numa linha; clique para abrir": "Joins each run of tools into one line; click to expand",
851
853
  // client/src/ui/timelapse.ts
852
854
  "Reproduzir": "Play",
853
855
  "Dia gravado": "Recorded day",
@@ -2607,6 +2609,19 @@ var EN = {
2607
2609
  "N\xE3o combina com este cabelo": "Doesn't go with this hair",
2608
2610
  "N\xE3o combina com o bon\xE9 ou o gorro": "Doesn't go with the cap or beanie",
2609
2611
  "N\xE3o combina com o la\xE7o": "Doesn't go with the bow",
2612
+ "N\xE3o combina com o capuz": "Doesn't go with the hood",
2613
+ "N\xE3o combina com a m\xE1scara": "Doesn't go with the mask",
2614
+ "N\xE3o combina com os \xF3culos": "Doesn't go with the glasses",
2615
+ "M\xE1scara": "Mask",
2616
+ "Moletom com capuz": "Hoodie, hood up",
2617
+ "Fone gamer": "Gamer headset",
2618
+ "Nenhuma": "None",
2619
+ "M\xE1scara de LED": "LED mask",
2620
+ "Bandana": "Bandana",
2621
+ "Respirador": "Respirator",
2622
+ "Viseira neon": "Neon visor",
2623
+ "Mon\xF3culo AR": "AR monocle",
2624
+ "M\xE1scara sorridente": "Smile mask",
2610
2625
  // shared/world/intro.ts
2611
2626
  "Codo de madrugada": "I code late at night",
2612
2627
  "Acordo cedo para codar": "I get up early to code",
@@ -4572,6 +4587,8 @@ var ES = {
4572
4587
  "S\xF3 os seus prompts e as respostas finais do agente": "Solo tus prompts y las respuestas finales del agente",
4573
4588
  "Sem ferramentas": "Sin herramientas",
4574
4589
  "Esconde as ferramentas e os resultados": "Oculta las herramientas y los resultados",
4590
+ "Ferramentas resumidas": "Herramientas resumidas",
4591
+ "Junta cada sequ\xEAncia de ferramentas numa linha; clique para abrir": "Junta cada secuencia de herramientas en una l\xEDnea; haz clic para abrir",
4575
4592
  // client/src/ui/timelapse.ts
4576
4593
  "Reproduzir": "Reproducir",
4577
4594
  "Dia gravado": "D\xEDa grabado",
@@ -6331,6 +6348,19 @@ var ES = {
6331
6348
  "N\xE3o combina com este cabelo": "No combina con este pelo",
6332
6349
  "N\xE3o combina com o bon\xE9 ou o gorro": "No combina con la gorra o el gorro",
6333
6350
  "N\xE3o combina com o la\xE7o": "No combina con el lazo",
6351
+ "N\xE3o combina com o capuz": "No combina con la capucha",
6352
+ "N\xE3o combina com a m\xE1scara": "No combina con la m\xE1scara",
6353
+ "N\xE3o combina com os \xF3culos": "No combina con las gafas",
6354
+ "M\xE1scara": "M\xE1scara",
6355
+ "Moletom com capuz": "Sudadera con capucha puesta",
6356
+ "Fone gamer": "Auriculares gamer",
6357
+ "Nenhuma": "Ninguna",
6358
+ "M\xE1scara de LED": "M\xE1scara LED",
6359
+ "Bandana": "Bandana",
6360
+ "Respirador": "Respirador",
6361
+ "Viseira neon": "Visor ne\xF3n",
6362
+ "Mon\xF3culo AR": "Mon\xF3culo AR",
6363
+ "M\xE1scara sorridente": "M\xE1scara sonriente",
6334
6364
  // shared/world/intro.ts
6335
6365
  "Codo de madrugada": "Programo de madrugada",
6336
6366
  "Acordo cedo para codar": "Madrugo para programar",
@@ -8247,6 +8277,8 @@ var FR = {
8247
8277
  "S\xF3 os seus prompts e as respostas finais do agente": "Seulement vos prompts et les r\xE9ponses finales de l'agent",
8248
8278
  "Sem ferramentas": "Sans outils",
8249
8279
  "Esconde as ferramentas e os resultados": "Masque les outils et les r\xE9sultats",
8280
+ "Ferramentas resumidas": "Outils r\xE9sum\xE9s",
8281
+ "Junta cada sequ\xEAncia de ferramentas numa linha; clique para abrir": "Regroupe chaque s\xE9rie d'outils en une ligne ; cliquez pour ouvrir",
8250
8282
  // client/src/ui/timelapse.ts
8251
8283
  "Reproduzir": "Lire",
8252
8284
  "Dia gravado": "Jour enregistr\xE9",
@@ -10063,6 +10095,19 @@ var FR = {
10063
10095
  "N\xE3o combina com este cabelo": "Ne va pas avec cette coiffure",
10064
10096
  "N\xE3o combina com o bon\xE9 ou o gorro": "Ne va pas avec la casquette ou le bonnet",
10065
10097
  "N\xE3o combina com o la\xE7o": "Ne va pas avec le n\u0153ud",
10098
+ "N\xE3o combina com o capuz": "Ne va pas avec la capuche",
10099
+ "N\xE3o combina com a m\xE1scara": "Ne va pas avec le masque",
10100
+ "N\xE3o combina com os \xF3culos": "Ne va pas avec les lunettes",
10101
+ "M\xE1scara": "Masque",
10102
+ "Moletom com capuz": "Sweat \xE0 capuche relev\xE9e",
10103
+ "Fone gamer": "Casque gamer",
10104
+ "Nenhuma": "Aucun",
10105
+ "M\xE1scara de LED": "Masque LED",
10106
+ "Bandana": "Bandana",
10107
+ "Respirador": "Respirateur",
10108
+ "Viseira neon": "Visi\xE8re n\xE9on",
10109
+ "Mon\xF3culo AR": "Monocle RA",
10110
+ "M\xE1scara sorridente": "Masque souriant",
10066
10111
  // shared/world/intro.ts
10067
10112
  "Codo de madrugada": "Je code la nuit",
10068
10113
  "Acordo cedo para codar": "Je me l\xE8ve t\xF4t pour coder",
@@ -12900,7 +12945,10 @@ var HAIR_STYLES = [
12900
12945
  "wavy"
12901
12946
  ];
12902
12947
  var TOP_STYLES = ["tshirt", "hoodie", "shirt_tie", "sweater", "jacket", "blouse", "polo"];
12948
+ var ALL_TOP_STYLES = [...TOP_STYLES, "hoodie_up"];
12903
12949
  var ACCESSORIES = ["none", "glasses", "sunglasses", "headphones", "cap", "beanie", "earrings", "bow"];
12950
+ var ALL_ACCESSORIES = [...ACCESSORIES, "gamer_headphones"];
12951
+ var FACE_ITEMS = ["none", "led_mask", "bandana", "respirator", "visor", "ar_monocle", "smile_mask"];
12904
12952
  var FACIAL_HAIR = ["none", "stubble", "beard", "mustache", "goatee"];
12905
12953
  var BOTTOM_STYLES = ["pants", "shorts", "skirt"];
12906
12954
  var PART_KEYS = [
@@ -12918,31 +12966,45 @@ var PART_KEYS = [
12918
12966
  "accessoryColor",
12919
12967
  "facialHair"
12920
12968
  ];
12969
+ var LOCAL_PART_KEYS = ["face", "faceColor"];
12970
+ var ALL_PART_KEYS = [...PART_KEYS, ...LOCAL_PART_KEYS];
12971
+ var WORLD_VALUE = { hoodie_up: "hoodie", gamer_headphones: "headphones" };
12972
+ function worldValue(value) {
12973
+ return WORLD_VALUE[value] ?? value;
12974
+ }
12921
12975
  var STYLE_VALUES = {
12922
12976
  hairStyle: HAIR_STYLES,
12923
- topStyle: TOP_STYLES,
12977
+ topStyle: ALL_TOP_STYLES,
12924
12978
  bottomStyle: BOTTOM_STYLES,
12925
- accessory: ACCESSORIES,
12926
- facialHair: FACIAL_HAIR
12979
+ accessory: ALL_ACCESSORIES,
12980
+ facialHair: FACIAL_HAIR,
12981
+ face: FACE_ITEMS
12927
12982
  };
12928
12983
  var COLOR = /^#[0-9a-f]{6}$/i;
12929
12984
  var CONTROL = /[\p{Cc}\u2028\u2029\u200e\u200f\u202a-\u202e\u2066-\u2069]/u;
12930
12985
  var NAME_MAX = 24;
12931
- function parseAppearanceParts(raw) {
12986
+ var WORLD_UNKNOWN = Object.keys(WORLD_VALUE);
12987
+ function parseParts(raw, keys, allowedOf) {
12932
12988
  if (!raw || typeof raw !== "object" || Array.isArray(raw)) return null;
12933
12989
  const src = raw;
12934
- for (const k of Object.keys(src)) if (!PART_KEYS.includes(k)) return null;
12990
+ for (const k of Object.keys(src)) if (!keys.includes(k)) return null;
12935
12991
  const out = {};
12936
- for (const k of PART_KEYS) {
12992
+ for (const k of keys) {
12937
12993
  const v = src[k];
12938
12994
  if (v === void 0) continue;
12939
12995
  if (typeof v !== "string") return null;
12940
- const allowed = STYLE_VALUES[k];
12996
+ const allowed = allowedOf(k);
12941
12997
  if (allowed ? !allowed.includes(v) : !COLOR.test(v)) return null;
12942
12998
  out[k] = allowed ? v : v.toLowerCase();
12943
12999
  }
12944
13000
  return out;
12945
13001
  }
13002
+ function parseAppearanceParts(raw) {
13003
+ return parseParts(raw, PART_KEYS, (k) => STYLE_VALUES[k]?.filter((v) => !WORLD_UNKNOWN.includes(v)));
13004
+ }
13005
+ function parseLocalAppearanceParts(raw) {
13006
+ return parseParts(raw, ALL_PART_KEYS, (k) => STYLE_VALUES[k]);
13007
+ }
12946
13008
  function parseCharacterName(raw) {
12947
13009
  if (typeof raw !== "string") return null;
12948
13010
  const name = raw.normalize("NFC").replace(/\s+/g, " ").trim();
@@ -16170,6 +16232,13 @@ import { join as join6 } from "node:path";
16170
16232
  function str7(v) {
16171
16233
  return typeof v === "string" && v.trim() ? v.trim() : void 0;
16172
16234
  }
16235
+ function int(v) {
16236
+ return typeof v === "number" && Number.isInteger(v) && v >= 0 ? v : void 0;
16237
+ }
16238
+ function ticks(v) {
16239
+ if (typeof v === "string") return /^\d{1,15}$/.test(v) ? Number(v) : void 0;
16240
+ return int(v);
16241
+ }
16173
16242
  function num3(v) {
16174
16243
  return typeof v === "number" && Number.isFinite(v) ? v : void 0;
16175
16244
  }
@@ -16188,6 +16257,7 @@ function parseRegistryEntry(raw) {
16188
16257
  const e = { pid, sessionId, cwd };
16189
16258
  const optional = [
16190
16259
  ["startedAt", num3(j.startedAt)],
16260
+ ["procStart", ticks(j.procStart)],
16191
16261
  ["version", str7(j.version)],
16192
16262
  ["kind", str7(j.kind)],
16193
16263
  ["entrypoint", str7(j.entrypoint)],
@@ -16238,17 +16308,27 @@ var realProc = {
16238
16308
  var CLK_TCK = 100;
16239
16309
  var START_SLACK_MS = 5e3;
16240
16310
  var LONG_LIVED_MS = 10 * 6e4;
16241
- function processStartMs(pid, proc) {
16311
+ function processStartTicks(pid, proc) {
16242
16312
  const stat3 = proc.stat(pid);
16243
- const sys = proc.sysStat();
16244
- if (!stat3 || !sys) return void 0;
16313
+ if (!stat3) return void 0;
16245
16314
  const rest = stat3.slice(stat3.lastIndexOf(")") + 1).trim().split(/\s+/);
16246
- const ticks = Number.parseInt(rest[19] ?? "", 10);
16315
+ const ticks2 = Number.parseInt(rest[19] ?? "", 10);
16316
+ return Number.isFinite(ticks2) ? ticks2 : void 0;
16317
+ }
16318
+ function processStartMs(pid, proc) {
16319
+ const ticks2 = processStartTicks(pid, proc);
16320
+ const sys = proc.sysStat();
16321
+ if (ticks2 === void 0 || !sys) return void 0;
16247
16322
  const btime = /^btime\s+(\d+)/m.exec(sys)?.[1];
16248
- if (!Number.isFinite(ticks) || !btime) return void 0;
16249
- return (Number.parseInt(btime, 10) + ticks / CLK_TCK) * 1e3;
16323
+ if (!btime) return void 0;
16324
+ return (Number.parseInt(btime, 10) + ticks2 / CLK_TCK) * 1e3;
16250
16325
  }
16251
- function sameProcess(pid, startedAt2, proc) {
16326
+ function sameProcess(pid, startedAt2, proc, procStart) {
16327
+ if (procStart !== void 0) {
16328
+ const ticks2 = processStartTicks(pid, proc);
16329
+ if (ticks2 !== void 0) return ticks2 === procStart;
16330
+ }
16331
+ if (startedAt2 === void 0) return void 0;
16252
16332
  const start = processStartMs(pid, proc);
16253
16333
  if (start === void 0) return void 0;
16254
16334
  if (start > startedAt2 + START_SLACK_MS) return false;
@@ -16258,16 +16338,16 @@ function sameProcess(pid, startedAt2, proc) {
16258
16338
  return /claude/i.test(cmd);
16259
16339
  }
16260
16340
  var reusedCache = /* @__PURE__ */ new Map();
16261
- function pidAlive(pid, startedAt2, proc = realProc) {
16341
+ function pidAlive(pid, startedAt2, proc = realProc, procStart) {
16262
16342
  try {
16263
16343
  process.kill(pid, 0);
16264
16344
  } catch (err) {
16265
16345
  if (err.code === "ESRCH") return false;
16266
16346
  }
16267
- if (startedAt2 === void 0) return true;
16268
- const key = `${pid}:${startedAt2}`;
16347
+ if (startedAt2 === void 0 && procStart === void 0) return true;
16348
+ const key = `${pid}:${startedAt2}:${procStart}`;
16269
16349
  if (reusedCache.has(key)) return false;
16270
- if (sameProcess(pid, startedAt2, proc) === false) {
16350
+ if (sameProcess(pid, startedAt2, proc, procStart) === false) {
16271
16351
  if (reusedCache.size > 5e3) reusedCache.clear();
16272
16352
  reusedCache.set(key, true);
16273
16353
  return false;
@@ -16279,7 +16359,7 @@ var RegistryReader = class {
16279
16359
  this.configDir = configDir;
16280
16360
  this.opts = opts;
16281
16361
  this.sessionsDir = join6(configDir, "sessions");
16282
- this.isAlive = opts.isAlive ?? pidAlive;
16362
+ this.isAlive = opts.isAlive ?? ((pid, startedAt2, procStart) => pidAlive(pid, startedAt2, realProc, procStart));
16283
16363
  }
16284
16364
  configDir;
16285
16365
  opts;
@@ -16321,7 +16401,7 @@ var RegistryReader = class {
16321
16401
  }
16322
16402
  const e = cached.entry;
16323
16403
  if (!e) continue;
16324
- if (this.opts.checkPid && !this.isAlive(e.pid, e.startedAt)) continue;
16404
+ if (this.opts.checkPid && !this.isAlive(e.pid, e.startedAt, e.procStart)) continue;
16325
16405
  entries.push(e);
16326
16406
  }
16327
16407
  for (const file of [...this.cache.keys()]) if (!seen.has(file)) this.cache.delete(file);
@@ -19903,7 +19983,7 @@ function createApiHandler(deps) {
19903
19983
  const body2 = await readJson(req);
19904
19984
  const name = parseCharacterName(body2?.name);
19905
19985
  const seed = parseSeed(body2?.seed);
19906
- const parts = parseAppearanceParts(body2?.parts);
19986
+ const parts = parseLocalAppearanceParts(body2?.parts);
19907
19987
  if (!name || seed === null || !parts) {
19908
19988
  throw new HttpError(400, tr("esperado {name: texto de 1 a {0} caracteres, seed: inteiro de 0 a 4294967295, parts: pe\xE7as da apar\xEAncia}", [NAME_MAX]));
19909
19989
  }
@@ -27858,7 +27938,7 @@ function parseStoredCharacter(raw) {
27858
27938
  const v = raw;
27859
27939
  const name = parseCharacterName(v.name);
27860
27940
  const seed = parseSeed(v.seed);
27861
- const parts = v.parts === void 0 ? {} : parseAppearanceParts(v.parts);
27941
+ const parts = v.parts === void 0 ? {} : parseLocalAppearanceParts(v.parts);
27862
27942
  if (!name || seed === null || v.look !== "f" && v.look !== "m" || !parts) return null;
27863
27943
  const c = { name, look: v.look, seed, at: typeof v.at === "number" ? v.at : 0 };
27864
27944
  if (Object.keys(parts).length) c.parts = parts;
@@ -28071,7 +28151,7 @@ function parseDefaultLookPayload(raw, fallbackSince) {
28071
28151
  for (const k of Object.keys(r)) {
28072
28152
  if (k !== "parts" && k !== "since" && k !== "applyToAll") return null;
28073
28153
  }
28074
- const parts = r.parts === void 0 ? {} : parseAppearanceParts(r.parts);
28154
+ const parts = r.parts === void 0 ? {} : parseLocalAppearanceParts(r.parts);
28075
28155
  if (!parts) return null;
28076
28156
  let since;
28077
28157
  if (r.applyToAll === true) {
@@ -28124,7 +28204,7 @@ var DefaultLookStore = class {
28124
28204
  const candidate = j.defaultLook ?? j;
28125
28205
  if (!candidate || typeof candidate !== "object") return null;
28126
28206
  const c = candidate;
28127
- const parts = c.parts === void 0 ? {} : parseAppearanceParts(c.parts);
28207
+ const parts = c.parts === void 0 ? {} : parseLocalAppearanceParts(c.parts);
28128
28208
  if (!parts) return null;
28129
28209
  const since = typeof c.since === "number" && Number.isFinite(c.since) && c.since >= 0 ? c.since : 0;
28130
28210
  return { parts, since };
@@ -29854,7 +29934,7 @@ function parseAvatarLook(raw) {
29854
29934
  if (name === null || seed === null || r.look !== "f" && r.look !== "m") return null;
29855
29935
  const out = { name, look: r.look, seed };
29856
29936
  if (r.parts !== void 0) {
29857
- const parts = parseAppearanceParts(r.parts);
29937
+ const parts = parseLocalAppearanceParts(r.parts);
29858
29938
  if (!parts) return null;
29859
29939
  out.parts = parts;
29860
29940
  }
@@ -38527,7 +38607,8 @@ var ACC_COLORS = {
38527
38607
  cap: ["#e2604f", "#4a86d8", "#2b2b33", "#4bab72", "#efb54a", "#f1efe9", "#2f4c7d"],
38528
38608
  beanie: ["#e2604f", "#efb54a", "#4bab72", "#8d66cf", "#3d4352", "#36b0b0"],
38529
38609
  earrings: ["#f2c14e", "#d9dde3"],
38530
- bow: ["#e2604f", "#e47aa8", "#efb54a", "#4a86d8", "#8d66cf"]
38610
+ bow: ["#e2604f", "#e47aa8", "#efb54a", "#4a86d8", "#8d66cf"],
38611
+ gamer_headphones: ["#2b2b33", "#f1efe9", "#8d66cf", "#e2604f", "#4a86d8"]
38531
38612
  };
38532
38613
  var LANYARDS = ["#f2b33d", "#e2604f", "#4a86d8", "#4bab72", "#8d66cf", "#36b0b0"];
38533
38614
  var HAIR_W = {
@@ -38565,12 +38646,12 @@ var HAIR_W = {
38565
38646
  }
38566
38647
  };
38567
38648
  var TOP_W = {
38568
- m: { tshirt: 20, hoodie: 16, shirt_tie: 10, sweater: 13, jacket: 13, blouse: 2, polo: 14 },
38569
- f: { tshirt: 17, hoodie: 14, shirt_tie: 5, sweater: 14, jacket: 12, blouse: 20, polo: 8 }
38649
+ m: { tshirt: 20, hoodie: 16, shirt_tie: 10, sweater: 13, jacket: 13, blouse: 2, hoodie_up: 0, polo: 14 },
38650
+ f: { tshirt: 17, hoodie: 14, shirt_tie: 5, sweater: 14, jacket: 12, blouse: 20, hoodie_up: 0, polo: 8 }
38570
38651
  };
38571
38652
  var ACC_W = {
38572
- m: { none: 40, glasses: 18, sunglasses: 4, headphones: 13, cap: 7, beanie: 6, earrings: 2, bow: 0.3 },
38573
- f: { none: 36, glasses: 16, sunglasses: 4, headphones: 11, cap: 4, beanie: 5, earrings: 13, bow: 7 }
38653
+ m: { none: 40, glasses: 18, sunglasses: 4, headphones: 13, cap: 7, beanie: 6, earrings: 2, gamer_headphones: 0, bow: 0.3 },
38654
+ f: { none: 36, glasses: 16, sunglasses: 4, headphones: 11, cap: 4, beanie: 5, earrings: 13, gamer_headphones: 0, bow: 7 }
38574
38655
  };
38575
38656
  var FACIAL_W = { none: 62, stubble: 12, beard: 13, mustache: 7, goatee: 6 };
38576
38657
  var BOTTOM_W = {
@@ -38658,7 +38739,7 @@ function appearanceFromSeed(seed, opts = {}) {
38658
38739
  };
38659
38740
  const parts = opts.parts;
38660
38741
  if (!parts) return a;
38661
- const chosen = Object.fromEntries(PART_KEYS.filter((k) => parts[k] !== void 0).map((k) => [k, parts[k]]));
38742
+ const chosen = Object.fromEntries(ALL_PART_KEYS.filter((k) => parts[k] !== void 0).map((k) => [k, parts[k]]));
38662
38743
  return { ...a, ...chosen };
38663
38744
  }
38664
38745
  function flattenAppearance(seed, parts, look) {
@@ -38666,7 +38747,7 @@ function flattenAppearance(seed, parts, look) {
38666
38747
  const out = {};
38667
38748
  for (const k of PART_KEYS) {
38668
38749
  const v = a[k];
38669
- if (v !== void 0) out[k] = v;
38750
+ if (v !== void 0) out[k] = worldValue(v);
38670
38751
  }
38671
38752
  return out;
38672
38753
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "busybits",
3
3
  "displayName": "Busybits",
4
- "version": "2.4.1",
4
+ "version": "2.6.0",
5
5
  "description": "Connects the session to Busybits: records plan usage (5h and weekly) for the office, shows a line under the prompt when another session needs you, and adds the /busybits command.",
6
6
  "author": { "name": "Márcio Junior", "url": "https://github.com/marmottajr" },
7
7
  "homepage": "https://github.com/marmottajr/habblaud#readme",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "busybits-messages",
3
3
  "displayName": "Busybits: messages from the office",
4
- "version": "2.4.1",
4
+ "version": "2.6.0",
5
5
  "description": "Delivers to the Claude Code session the messages you type in Busybits (agent panel or terminal), as if you had typed them in the terminal.",
6
6
  "author": { "name": "Márcio Junior", "url": "https://github.com/marmottajr" },
7
7
  "homepage": "https://github.com/marmottajr/habblaud#readme",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "busybits-permissions",
3
3
  "displayName": "Busybits: permissions from the office",
4
- "version": "2.4.1",
4
+ "version": "2.6.0",
5
5
  "description": "PermissionRequest hook that lets you approve or deny Claude Code permission requests and answer AskUserQuestion prompts from Busybits; the dialog stays in the terminal and whichever answer comes first wins.",
6
6
  "author": { "name": "Márcio Junior", "url": "https://github.com/marmottajr" },
7
7
  "homepage": "https://github.com/marmottajr/habblaud#readme",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "habblaud-pi",
3
- "version": "2.4.1",
3
+ "version": "2.6.0",
4
4
  "private": true,
5
5
  "description": "Extensão do Pi / Gentle Shell para o Habblaud: recebe as mensagens do escritório e mostra quando o agente precisa de você.",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "busybits",
3
- "version": "2.4.1",
3
+ "version": "2.6.0",
4
4
  "description": "Animated pixel-art office that shows what your Claude Code, Codex and Pi agents are doing, live.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -42,6 +42,7 @@
42
42
  "build:server": "node scripts/build-server.mjs",
43
43
  "build:cli": "node scripts/build-cli.mjs",
44
44
  "start": "node dist/server/index.js",
45
+ "protocol:check": "node scripts/protocol-check.mjs",
45
46
  "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p server/tsconfig.json && tsc --noEmit -p client/.storybook/tsconfig.json",
46
47
  "test": "vitest run",
47
48
  "i18n:check": "tsx scripts/i18n-check.ts",