Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nibras-enterprises/opencode-systemd
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: MajaAgent/opencode-systemd
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 2 files changed
  • 1 contributor

Commits on Jul 16, 2026

  1. fix: redirect log output to stderr in download_wizard

    The download_wizard function was outputting log messages to stdout
    along with the wizard path. When captured with $(download_wizard),
    the wizard_path variable contained all stdout output, causing
    install_services to fail when trying to execute the wizard.
    
    Redirect all log messages in download_wizard to stderr so only
    the wizard path is captured on stdout.
    MajaAgent committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    b263482 View commit details
    Browse the repository at this point in the history
  2. fix: update web service configuration for opencode web

    - Change ExecStart from non-existent opencode-web-service to
      'opencode web --hostname --port' which is the actual command
    - Change WorkingDirectory from %h/.opencode to %h (user home dir)
    - Remove ExecStartPre upgrade step (upgrade is handled by timer,
      and GitHub API rate limits can cause service startup failures)
    - Add OPENCODE_DISABLE_FFF=1 to work around folder picker bug
      in opencode web UI (see anomalyco/opencode#34675)
    MajaAgent committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    e80cbc6 View commit details
    Browse the repository at this point in the history
  3. fix: read actual config from generated service files

    After installation, read the actual host and upgrade time from the
    generated service and timer files instead of using the default
    values. This ensures the final success message displays the
    correct configuration that the user selected through the wizard.
    MajaAgent committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    2a227de View commit details
    Browse the repository at this point in the history
  4. fix: resolve uninstall issues in wizard

    - Fix double uninstall execution when using --yes flag by removing
      redundant do_uninstall --keep-files call
    - Add removal of wizard binary and symlink during uninstall to ensure
      complete cleanup of all installed components
    MajaAgent committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    0506ff1 View commit details
    Browse the repository at this point in the history
  5. refactor: move stderr redirect to log functions

    Instead of adding >&2 to each log call in download_wizard, modify
    the log functions themselves to output to stderr. This is cleaner
    and ensures all log messages consistently go to stderr, keeping
    stdout free for data capture.
    MajaAgent committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    9986555 View commit details
    Browse the repository at this point in the history
Loading