Skip to content

Feat/offline web static serve#18506

Closed
DroganC wants to merge 2 commits intoanomalyco:devfrom
DroganC:feat/offline-web-static-serve
Closed

Feat/offline web static serve#18506
DroganC wants to merge 2 commits intoanomalyco:devfrom
DroganC:feat/offline-web-static-serve

Conversation

@DroganC
Copy link

@DroganC DroganC commented Mar 21, 2026

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

chenlong added 2 commits March 21, 2026 17:24
- Add OPENCODE_APP_DIST and fallback to packages/app/dist when index.html exists
- Fall back to app.opencode.ai proxy when no local build
- Use same-origin changelog and favicon assets in the app
- Document env vars and workflow in docs/OFFLINE_WEB.md
- Ignore offline/ for local models-api.json mirrors

Made-with: Cursor
- Document OPENCODE_APP_DIST in Flag; log once when serving local dist
- Rewrite OFFLINE_WEB.md in English; note issue-first policy for PRs
- Link air-gapped web flow from CONTRIBUTING.md

Made-with: Cursor
@DroganC DroganC requested a review from adamdotdevin as a code owner March 21, 2026 09:29
@github-actions github-actions bot added the needs:compliance This means the issue will auto-close after 2 hours. label Mar 21, 2026
@github-actions
Copy link
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • No "Type of change" checkbox is checked. Please select at least one.
  • No issue referenced. Please add Closes #<number> linking to the relevant issue.
  • "How did you verify your code works?" section is empty. Please explain how you tested.
  • Not all checklist items are checked. Please confirm you have tested locally and have not included unrelated changes.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions
Copy link
Contributor

Hey! Your PR title Feat/offline web static serve doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search results, I found a potential duplicate:

Related PR

PR #15721: "feat(server): embed web UI assets in binary and serve locally"
#15721

Why it might be related:

This PR appears to address a very similar feature - embedding and serving web UI assets locally. Both PRs seem focused on enabling offline web static serving capabilities, which is a closely related functionality. You should check if PR #15721 has already been merged or if it's addressing the same use case.

I'd recommend reviewing PR #15721 to confirm whether your current PR (18506) is addressing the same issue or if it's a complementary feature.

@DroganC DroganC closed this Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:compliance This means the issue will auto-close after 2 hours. needs:title

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant