CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
68 lines
2.9 KiB
Diff
68 lines
2.9 KiB
Diff
diff --git a/packages/opencode/src/cli/cmd/uninstall.ts b/packages/opencode/src/cli/cmd/uninstall.ts
|
|
index c0517d491..29592a6b6 100644
|
|
--- a/packages/opencode/src/cli/cmd/uninstall.ts
|
|
+++ b/packages/opencode/src/cli/cmd/uninstall.ts
|
|
@@ -25,7 +25,7 @@ interface RemovalTargets {
|
|
|
|
export const UninstallCommand = {
|
|
command: "uninstall",
|
|
- describe: "uninstall opencode and remove all related files",
|
|
+ describe: "uninstall AMD ROCm PerfXpert / opencode engine and remove all related files",
|
|
builder: (yargs: Argv) =>
|
|
yargs
|
|
.option("keep-config", {
|
|
@@ -56,7 +56,7 @@ export const UninstallCommand = {
|
|
UI.empty()
|
|
UI.println(UI.logo(" "))
|
|
UI.empty()
|
|
- prompts.intro("Uninstall OpenCode")
|
|
+ prompts.intro("Uninstall AMD ROCm PerfXpert")
|
|
|
|
const method = await AppRuntime.runPromise(Installation.Service.use((svc) => svc.method()))
|
|
prompts.log.info(`Installation method: ${method}`)
|
|
@@ -230,7 +230,7 @@ async function executeUninstall(method: Installation.Method, targets: RemovalTar
|
|
}
|
|
|
|
UI.empty()
|
|
- prompts.log.success("Thank you for using OpenCode!")
|
|
+ prompts.log.success("Thank you for using AMD ROCm PerfXpert!")
|
|
}
|
|
|
|
async function getShellConfigFile(): Promise<string | null> {
|
|
diff --git a/packages/opencode/src/cli/cmd/upgrade.ts b/packages/opencode/src/cli/cmd/upgrade.ts
|
|
index b80648c24..ffe3dd7e2 100644
|
|
--- a/packages/opencode/src/cli/cmd/upgrade.ts
|
|
+++ b/packages/opencode/src/cli/cmd/upgrade.ts
|
|
@@ -7,7 +7,7 @@ import { InstallationVersion } from "../../installation/version"
|
|
|
|
export const UpgradeCommand = {
|
|
command: "upgrade [target]",
|
|
- describe: "upgrade opencode to the latest or a specific version",
|
|
+ describe: "upgrade AMD ROCm PerfXpert (opencode engine) to the latest or a specific version",
|
|
builder: (yargs: Argv) => {
|
|
return yargs
|
|
.positional("target", {
|
|
@@ -25,11 +25,11 @@ export const UpgradeCommand = {
|
|
UI.empty()
|
|
UI.println(UI.logo(" "))
|
|
UI.empty()
|
|
- prompts.intro("Upgrade")
|
|
+ prompts.intro("Upgrade AMD ROCm PerfXpert")
|
|
const detectedMethod = await AppRuntime.runPromise(Installation.Service.use((svc) => svc.method()))
|
|
const method = (args.method as Installation.Method) ?? detectedMethod
|
|
if (method === "unknown") {
|
|
- prompts.log.error(`opencode is installed to ${process.execPath} and may be managed by a package manager`)
|
|
+ prompts.log.error(`PerfXpert (opencode engine) is installed to ${process.execPath} and may be managed by a package manager`)
|
|
const install = await prompts.select({
|
|
message: "Install anyways?",
|
|
options: [
|
|
@@ -49,7 +49,7 @@ export const UpgradeCommand = {
|
|
: await AppRuntime.runPromise(Installation.Service.use((svc) => svc.latest()))
|
|
|
|
if (InstallationVersion === target) {
|
|
- prompts.log.warn(`opencode upgrade skipped: ${target} is already installed`)
|
|
+ prompts.log.warn(`PerfXpert upgrade skipped: ${target} is already installed`)
|
|
prompts.outro("Done")
|
|
return
|
|
}
|