@mingxy/opencode-mascot 0.4.21 → 0.4.23

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.21",
3
+ "version": "0.4.23",
4
4
  "description": "OpenCode TUI mascot plugin framework - customizable ASCII mascots for your terminal",
5
5
  "author": "mingxy",
6
6
  "license": "MIT",
@@ -189,6 +189,7 @@ export function SidebarMascot(props: SidebarMascotProps): JSX.Element {
189
189
  <box
190
190
  overflow="hidden"
191
191
  width="100%"
192
+ height="100%"
192
193
  ref={(node: any) => {
193
194
  if (node) {
194
195
  setContainerWidth(node.width || 0);
@@ -11,7 +11,7 @@ const require = createRequire(import.meta.url);
11
11
 
12
12
  const PKG_NAME = "@mingxy/opencode-mascot";
13
13
  const LOCK_FILE = join(tmpdir(), "mascot-update.lock");
14
- const STALE_LOCK_MS = 5 * 60 * 1000;
14
+ const STALE_LOCK_MS = 30 * 1000;
15
15
  let lockFd: number | null = null;
16
16
 
17
17
  async function getLatestVersion(): Promise<string | null> {