• Stefy Lanza (nextime / spora )'s avatar
    township: auto-load mapped township_config.json in the bundled launcher · fadc340d
    Stefy Lanza (nextime / spora ) authored
    The bundled township tool (supervisord [program:township]) launched without
    -c/--config, so a township_config.json bind-mounted via --map into
    /cache/township_output was never read — the web UI came up with blank API key /
    league upload credentials / options every restart.
    
    * supervisord: pass --config /cache/township_output/township_config.json so a
      mapped config auto-loads. Map the bare-metal dir with
        coderai-docker --map /path/to/township_output:/cache/township_output
      and the saved settings + credentials come up automatically.
    * gen_township_fighters.py: a MISSING --config file is no longer fatal (fresh
      install with no mapped dir) — fall back to defaults and start normally; a
      malformed config still errors. The web UI's Save already writes back to
      <out-dir>/township_config.json, so first-run saves persist into the mapped dir.
    
    Bump version to 0.1.4.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01RdMufYvtTbtGDWsiZVoXce
    fadc340d
Name
Last commit
Last update
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...
video_editor.config.json Loading commit data...