@mingxy/opencode-mascot 0.4.31 → 0.4.33

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.31",
3
+ "version": "0.4.33",
4
4
  "description": "OpenCode TUI mascot plugin framework - customizable ASCII mascots for your terminal",
5
5
  "author": "mingxy",
6
6
  "license": "MIT",
@@ -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
 
@@ -22,7 +22,7 @@ export function HomeMascot(props: HomeMascotProps): JSX.Element {
22
22
  const cw = (typeof process !== "undefined" && process.stdout?.columns) || 80;
23
23
 
24
24
  const initX = Math.floor((Math.random() - 0.5) * Math.max(0, cw - 20));
25
- const initY = -(Math.floor(Math.random() * 8) + 2);
25
+ const initY = -(Math.floor(Math.random() * 4) + 1);
26
26
 
27
27
  const [currentName, setCurrentName] = createSignal(initialName);
28
28
  const [zBoost, setZBoost] = createSignal(false);