• Stefy Lanza (nextime / spora )'s avatar
    runner: pass per-tool args from coderai-docker; video editor --session on by default · b56ca99e
    Stefy Lanza (nextime / spora ) authored
    * coderai-docker (run_oci.sh): new --tool-arg TOOL VAL (one token) and
      --tool-args TOOL STR (whitespace string), repeatable, for video-editor |
      videogen | township | parler. They accumulate into CODERAI_<TOOL>_ARGS env vars
      that supervisord appends to each tool's command line. Documented in --help
      (plus the --map dir-or-file note and bring-your-config examples), and shown on
      the startup banner (tool-args:).
    * entrypoint: default+export the four CODERAI_*_ARGS (empty) so supervisord's
      %(ENV_...)s never fails on an undefined var; pre-create /cache/video_editor/sessions.
    * supervisord: append %(ENV_CODERAI_*_ARGS)s to all four tool launchers; the video
      editor now runs with --session --session-dir /cache/video_editor/sessions so
      editor-state recovery is ON by default and persists on the cache volume.
    * video_editor.py: new --session-dir to place session state/assets at a
      persistent/mapped path (defaults to ~/.cache/... when omitted).
    
    Bump version to 0.1.6.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01RdMufYvtTbtGDWsiZVoXce
    b56ca99e
video_editor.py 187 KB