fix(release): revert package identity to oh-my-opencode
Keep installer, config detection, schema generation, and publish workflows aligned with the long-lived oh-my-opencode package so this release does not split across two npm names. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { fetchNpmDistTags } from "./npm-dist-tags"
|
||||
|
||||
const DEFAULT_PACKAGE_NAME = "oh-my-opencode"
|
||||
const NEW_PACKAGE_NAME = "oh-my-openagent"
|
||||
const PRIORITIZED_TAGS = ["latest", "beta", "next"] as const
|
||||
|
||||
function getFallbackEntry(version: string, packageName: string): string {
|
||||
@@ -17,7 +16,7 @@ export async function getPluginNameWithVersion(
|
||||
currentVersion: string,
|
||||
packageName: string = DEFAULT_PACKAGE_NAME
|
||||
): Promise<string> {
|
||||
const distTags = await fetchNpmDistTags(NEW_PACKAGE_NAME)
|
||||
const distTags = await fetchNpmDistTags(packageName)
|
||||
|
||||
|
||||
if (distTags) {
|
||||
|
||||
Reference in New Issue
Block a user