Skip to content

RangeError: Invalid count value: -1 #2

@Gurpartap

Description

@Gurpartap

It's a dispatch mode shell. Not sure how exactly to reproduce.

 interactive_shell
 Session fresh-mist running (1m 7s)

 Output:



 › hello
  ╭─────────────────────────────────────────────────────────────────────────────╮
  │ codex                                                            PID: 40133 │
 •│ 🤖 Hands-free (1m 49s) • Type anything to take over                         │
  ├─────────────────────────────────────────────────────────────────────────────┤
  │                                                                             │
  │ • Going fine. I’m here and ready whenever you want to try something (code   │
 ›│   changes, debugging, or just Q&A).                                         │
  │                                                                             │
  │                                                                             │
  │ › Summarize recent commits                                                  │
  │                                                                             │
  │   ? for shortcuts                                        99% context left   │
  │                                                                             │
  │                                                                             │
 i├─────────────────────────────────────────────────────────────────────────────┤
 S│ 🤖 Agent controlling • Type to take over • Ctrl+T transfer • Ctrl+B backgroun
  │                                                                             │
  │                                                                             │
  │                                                                             │
 i│                                                                             │
 S│                                                                             │
  ╰─────────────────────────────────────────────────────────────────────────────╯


 interactive_shell


 ⠋ Working...

────────────────────────────────────────────────────────────────────────────────────

────────────────────────────────────────────────────────────────────────────────────
 ● swift-trail  codex
   running 36m 9s · Launch Codex TUI and send/opt/homebrew/lib/node_modules/pi-interactive-shell/overlay-component.ts:1053$    lines.push(border("╭" + "─".repeat(width - 2) + "╮"));ki                                ^

RangeError: Invalid count value: -1
    at String.repeat (<anonymous>)
    at InteractiveShellOverlay.render (/opt/homebrew/lib/node_modules/pi-interactive-shell/overlay-component.ts:1053:33)
    at TUI.compositeOverlays (file:///opt/homebrew/lib/node_modules/@mariozechner/pi-coding-agent/node_modules/@mariozechner/pi-tui/dist/tui.js:492:42)
    at TUI.doRender (file:///opt/homebrew/lib/node_modules/@mariozechner/pi-coding-agent/node_modules/@mariozechner/pi-tui/dist/tui.js:629:29)
    at file:///opt/homebrew/lib/node_modules/@mariozechner/pi-coding-agent/node_modules/@mariozechner/pi-tui/dist/tui.js:271:18
    at process.processTicksAndRejections (node:internal/process/task_queues:85:11)

Node.js v25.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions