• Stefy Lanza (nextime / spora )'s avatar
    launcher: image auto-resolution, --user in-place config persistence, --debug... · 293fb57f
    Stefy Lanza (nextime / spora ) authored
    launcher: image auto-resolution, --user in-place config persistence, --debug SPEC, install/uninstall image handling
    
    run_oci.sh:
    - Resolve the installed coderai image when none is given (single -> use it,
      several -> menu); no longer hardcodes a possibly-wrong tag.
    - --debug accepts SPEC as the next token (not just --debug=SPEC) and won't
      swallow an image-looking arg, fixing "image: <debug spec>" mishaps.
    - --local puts the runtime dir under ~/.config/coderai-runtime (override
      --data-dir).
    - New --user[=UID[:GID]]: run as that user and switch a config dir to an
      IN-PLACE mount so the app's config edits persist (owned by you). Without
      --user, --local/--config-dir stay a throwaway copy. Banner shows user.
    
    Non-destructive config persistence (no startup rewrite):
    - codai/cli.py: new --host/--port that override config.server in memory only.
    - codai/main.py: apply those overrides right after config load (never written
      to config.json).
    - coderai-oci: pass --host/--port to the server and stop rewriting an existing
      config.json (only create one on true first run) — so an in-place-mounted
      config dir is never modified at startup.
    
    install.sh / uninstall.sh:
    - install: after loading, offer to remove OTHER coderai images (default no);
      no auto-launch.
    - uninstall: resolve the installed coderai image(s) to remove (single ->
      confirm, several -> menu / all / none) instead of a hardcoded tag.
    Co-Authored-By: 's avatarClaude Opus 4.8 <noreply@anthropic.com>
    293fb57f
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...