Repository navigation
feat(github): rebrand the GitHub Action and drop upstream artifacts - #39
Merged
Merged
Conversation
The artifacts/ tree is upstream's Remotion marketing-video project (glm52-rise-video) with rendered MP4/PNG binaries committed; nothing in the fork references it and it bloats every clone. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The composite action now installs the fork's codev-code npm package (version resolved from the npm registry, cached under ~/.codev-code) and runs codev github run. The trigger mention defaults to /codev, share defaults to false (the fork's share service defaults off), and use_github_token defaults to true since the fork has no GitHub App. index.ts (the local-dev variant) spawns codev serve, matches /codev, creates codev/* branches, and rebrands visible strings. The README setup targets quickbeard/codev-code/github@main with GITHUB_TOKEN auth. Functional upstream endpoints stay: api.opencode.ai token exchange, the opencode-github-action OIDC audience, opencode.ai share URLs, and the @opencode-ai/sdk import. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The hub repo was renamed quickbeard/codev -> quickbeard/codev-hub. bun run dev and bun run typecheck work from the repo root; only bun test requires a package directory (root has a deliberate guard). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
What
artifacts/— upstream's Remotion marketing-video project (glm52-rise-video) with rendered MP4/PNG binaries committed. Nothing references it and it bloats every clone.github/(the composite GitHub Action):codev-codenpm package (version resolved from the npm registry, cached under~/.codev-code) and runscodev github runinstead of curling upstream's install script and runningopencode github run./codev(action.ymlmentionsdefault; index.ts matcher likewise).use_github_tokendefaults totrue— the fork has no GitHub App, so upstream's OIDC token exchange can't work out of the box.sharedefaults tofalse— the fork's server defaultssharetodisabled, so an unset SHARE on a public repo would have failed the run trying to share.index.ts(the local-dev variant) spawnscodev serve, createscodev/*branches, and rebrands visible strings.quickbeard/codev-code/github@mainwithGITHUB_TOKENauth; mock-event examples use/codev.api.opencode.aiexchange endpoints, theopencode-github-actionOIDC audience,opencode.aishare URLs, the social-cards URL,@opencode-ai/sdkimport, and internal identifiers.Known gaps (documented in DIVERGENCES.md)
codev github run's real logic lives inpackages/opencode/src/cli/cmd/github.handler.ts, which still posts upstream-branded comment footers and createsopencode/*branches;codev github installstill scaffolds upstream's workflow + GitHub App (README points at manual setup instead).latest(1.17.16) was published from a pre-rename tree and still ships thecodev-codebin, so the action'scodevinvocation needs the next release to work.Testing
action.ymlvalidated as YAML; the npm registry version-lookup step verified locally (resolves1.17.16)./codev fix this, bare/codev, and non-matches (/codevx,a/codev).🤖 Generated with Claude Code
Follow-up in this PR
bun run dev/bun run typecheckfrom the repo root (onlybun testneeds a package dir — the root test script is a deliberate guard).