anomalyco / anomalyco/opencode

chore(drive): transfer npm ownership and trusted publishing

Open
#42,137 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Problem

The adopted opencode-drive package remains independently versioned at 1.4.3, but cannot safely publish from anomalyco/opencode yet.

Current facts:

  • npm has one maintainer: jlongster.
  • Trusted publishing/provenance points to anomalyco/opencode-drive/.github/workflows/publish.yml.
  • The first destination release is 1.4.4 (pending special-key patch after 1.4.3).
  • Bare v1.4.4 tags collide with OpenCode tags; use opencode-drive-v1.4.4.
  • Packed @opencode-ai/client: workspace:* currently rewrites to a version that must exist publicly before consumers can install Drive.
  • OpenCode's global publisher must never rewrite Drive's independent version.

The workspace package is intentionally marked private until these gates are complete. See packages/drive/RELEASING.md.

Acceptance

  • James adds the destination operator as npm owner, or updates trust himself.
  • npm trusted publisher targets anomalyco/opencode and dedicated publish-drive.yml.
  • Dedicated workflow uses GitHub-hosted runner, Node 24, npm OIDC, id-token: write, and namespaced tags.
  • @opencode-ai/client packed dependency is available on npm.
  • Packed tarball installs in a clean consumer; every export and installed CLI are verified.
  • opencode-drive@1.4.4 provenance points to the destination repository/workflow.
  • Old workflow is disabled after successful cutover.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with packages/drive/RELEASING.md and inspect the existing Drive publishing workflow before creating or reviewing dedicated publish-drive.yml. Verify the listed npm ownership, OIDC, namespaced-tag, dependency, tarball, provenance, and old-workflow cutover requirements; the work is done when opencode-drive@1.4.4 publishes successfully from the destination repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, nodejs, typescript
Domain
ci-cd, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.