ERROR Bad substitution: subIdx - while editing code in approval mode to full-auto

Resolved 💬 5 comments Opened Apr 16, 2025 by mathusiast Closed Apr 16, 2025
    thinking for 60s

    command

    $ sed -n '1070,1130p' client/src/components/AudioPlayer.tsx

    command.stdout (code: 0, duration: 0s)

       AudioPlayer Main Component
       ----------------------------------------------------------------------- */

    interface AudioPlayerProps {
    ... (58 more lines)

    thinking for 71s

    thinking for 71s

    thinking for 71s

    thinking for 71s

    thinking for 71s

    command

    $ sed -n '1,80p' client/src/components/AudioPlayer.tsx

    command.stdout (code: 0, duration: 0s)

    import React, {
      useRef,
      useEffect,
      useMemo,
    ... (77 more lines)

    thinking for 87s

  ERROR  Bad substitution: subIdx

 file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:1900

 - w (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:1900)
 -  (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:2484)
 -     at Array.map (<anonymous>)
 - t0e (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:1639)
 - zU.exports (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:182:2622)
 - m0e (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:251:2844)
 - CT (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:251:2270)
 - R5e (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:322:2182)
 - nA (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:92:383)
 - ede (file:///opt/homebrew/lib/node_modules/@openai/codex/dist/cli.js:108:9945)

<img width="728" alt="Image" src="https://github.com/user-attachments/assets/91f8e378-eba5-43fc-88f3-eca549db279b" />

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗