feat(add package): opencode#1857
Open
mvanhorn wants to merge 1 commit intowimpysworld:mainfrom
Open
Conversation
Resolves wimpysworld#1856. opencode is an open source coding agent that publishes signed .deb packages for amd64 and arm64 to GitHub Releases at anomalyco/opencode. Package definition based on @zackattackz's draft in wimpysworld#1856.
Contributor
There was a problem hiding this comment.
1 issue found across 1 file
Confidence score: 3/5
- There is a concrete integration risk: the new package in
01-main/packages/opencodeis not registered in01-main/manifest, so manifest-driven discovery flows may not find it at runtime. - Given the high severity/confidence signal (7/10, 9/10), this looks user-impacting rather than a minor housekeeping gap, which is why the score is moderate instead of merge-safe.
- This is likely straightforward to fix before merge by adding the required manifest registration, which should reduce regression risk quickly.
- Pay close attention to
01-main/packages/opencode,01-main/manifest- missing registration can make the package undiscoverable in manifest-based paths.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="01-main/packages/opencode">
<violation number="1" location="01-main/packages/opencode:1">
P1: New package definition is missing required registration in `01-main/manifest`, which can make it undiscoverable to manifest-driven flows.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
| @@ -0,0 +1,10 @@ | |||
| DEFVER=1 | |||
Contributor
There was a problem hiding this comment.
P1: New package definition is missing required registration in 01-main/manifest, which can make it undiscoverable to manifest-driven flows.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At 01-main/packages/opencode, line 1:
<comment>New package definition is missing required registration in `01-main/manifest`, which can make it undiscoverable to manifest-driven flows.</comment>
<file context>
@@ -0,0 +1,10 @@
+DEFVER=1
+ARCHS_SUPPORTED="amd64 arm64"
+get_github_releases "anomalyco/opencode" "latest"
</file context>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #1856.
opencode is an open source coding agent that publishes authoritative
.debpackages foramd64andarm64from GitHub Releases atanomalyco/opencode(the new home ofsst/opencode; the old URL 301-redirects to the new one).Package definition derived from @zackattackz's draft in #1856.
Validation
Verified the URL extraction logic against the live JSON for
v1.14.25(pretty-printed viajq, asget_github_releasesdoes):The grep pattern terminates with
\.deb"so it does not match the.deb.sigsignature assets, theopencode-electron-linux-*.debElectron variants, or the.rpmFedora assets in the same release.