@mingxy/opencode-mascot 0.4.30 → 0.4.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mingxy/opencode-mascot",
3
- "version": "0.4.30",
3
+ "version": "0.4.32",
4
4
  "description": "OpenCode TUI mascot plugin framework - customizable ASCII mascots for your terminal",
5
5
  "author": "mingxy",
6
6
  "license": "MIT",
@@ -52,17 +52,6 @@ const baoziEffects: MascotPack["effects"] = {
52
52
  lines[0] = STEAM_PATTERNS[steamPhase];
53
53
  }
54
54
 
55
- if (ctx.state === "sleeping") {
56
- const zzzPhase = ((ctx.get("steamPhase") as number) % 3) + 1;
57
- for (let i = 0; i < lines.length; i++) {
58
- if (lines[i].includes("-.-")) {
59
- const padded = lines[i].padEnd(10);
60
- lines[i] = padded + " " + "Z" + "z".repeat(zzzPhase - 1);
61
- break;
62
- }
63
- }
64
- }
65
-
66
55
  if (ctx.state === "busy" || ctx.state === "thinking") {
67
56
  const idx = ctx.get("bubbleIdx") as number;
68
57
  if (lines.length > 0) {
@@ -141,7 +141,7 @@ const yueerEffects: MascotPack["effects"] = {
141
141
  const ahogeIdx = result.findIndex((l) => l.includes("☆") || l.includes("★"));
142
142
  if (ahogeIdx >= 0) {
143
143
  const mark = result[ahogeIdx].includes("★") ? "★" : "☆";
144
- result[ahogeIdx] = waveSide ? " " + mark : " " + mark;
144
+ result[ahogeIdx] = waveSide ? " " + mark : " " + mark;
145
145
  }
146
146
  }
147
147