opencode-sdlc-plugin 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -291,7 +291,7 @@ var FileManager = class {
291
291
  return false;
292
292
  }
293
293
  const sdlcPlugins = [
294
- "opencode-sdlc",
294
+ "opencode-sdlc-plugin",
295
295
  "oh-my-opencode",
296
296
  "opencode-antigravity-auth",
297
297
  "opencode-openai-codex-auth"
@@ -1590,7 +1590,7 @@ async function generateOpencodeConfig(answers, configDir) {
1590
1590
  } catch {
1591
1591
  }
1592
1592
  }
1593
- const plugins = ["opencode-sdlc/plugin", "oh-my-opencode"];
1593
+ const plugins = ["opencode-sdlc-plugin/plugin", "oh-my-opencode"];
1594
1594
  if (answers.subscriptions.hasGoogle && answers.subscriptions.googleAuth === "antigravity") {
1595
1595
  plugins.push("opencode-antigravity-auth");
1596
1596
  }
@@ -1756,7 +1756,7 @@ async function generateOpencodeConfig(answers, configDir) {
1756
1756
  return config;
1757
1757
  }
1758
1758
  function getRequiredPlugins(answers) {
1759
- const plugins = ["opencode-sdlc", "oh-my-opencode"];
1759
+ const plugins = ["opencode-sdlc-plugin", "oh-my-opencode"];
1760
1760
  if (answers.subscriptions.hasGoogle && answers.subscriptions.googleAuth === "antigravity") {
1761
1761
  plugins.push("opencode-antigravity-auth");
1762
1762
  }
@@ -4592,11 +4592,11 @@ async function upgrade(options) {
4592
4592
  ];
4593
4593
  const updates = [];
4594
4594
  const sdlcChannel = detectReleaseChannel(VERSION);
4595
- const sdlcLatest = await getLatestVersion("opencode-sdlc", sdlcChannel);
4595
+ const sdlcLatest = await getLatestVersion("opencode-sdlc-plugin", sdlcChannel);
4596
4596
  if (sdlcLatest) {
4597
4597
  const sdlcHasUpdate = semver__default.valid(sdlcLatest) && semver__default.valid(VERSION) ? semver__default.gt(sdlcLatest, VERSION) : sdlcLatest !== VERSION;
4598
4598
  updates.push({
4599
- name: "opencode-sdlc",
4599
+ name: "opencode-sdlc-plugin",
4600
4600
  current: VERSION,
4601
4601
  latest: sdlcLatest,
4602
4602
  updateAvailable: sdlcHasUpdate
@@ -4774,34 +4774,34 @@ Current version: ${existingVersion}`));
4774
4774
  writeSpinner.succeed("Configuration files updated");
4775
4775
  logger.section("Updating Packages");
4776
4776
  const fileManager = new FileManager();
4777
- const sdlcUpdate = updatesAvailable.find((u) => u.name === "opencode-sdlc");
4777
+ const sdlcUpdate = updatesAvailable.find((u) => u.name === "opencode-sdlc-plugin");
4778
4778
  if (sdlcUpdate) {
4779
- const sdlcSpinner = ora5("Updating opencode-sdlc...").start();
4779
+ const sdlcSpinner = ora5("Updating opencode-sdlc-plugin...").start();
4780
4780
  try {
4781
4781
  const channel = detectReleaseChannel(VERSION);
4782
- await fileManager.installDependencies([`opencode-sdlc@${channel}`]);
4783
- sdlcSpinner.succeed(`opencode-sdlc updated to ${sdlcUpdate.latest}`);
4782
+ await fileManager.installDependencies([`opencode-sdlc-plugin@${channel}`]);
4783
+ sdlcSpinner.succeed(`opencode-sdlc-plugin updated to ${sdlcUpdate.latest}`);
4784
4784
  } catch (err) {
4785
- sdlcSpinner.fail("Failed to update opencode-sdlc");
4785
+ sdlcSpinner.fail("Failed to update opencode-sdlc-plugin");
4786
4786
  logger.error(err instanceof Error ? err.message : String(err));
4787
4787
  }
4788
4788
  } else {
4789
4789
  const generator = new ConfigGenerator(fullAnswers);
4790
4790
  const packages = generator.getRequiredPackages();
4791
- const sdlcPackage = packages.find((p) => p.startsWith("opencode-sdlc"));
4791
+ const sdlcPackage = packages.find((p) => p.startsWith("opencode-sdlc-plugin"));
4792
4792
  if (sdlcPackage) {
4793
- const sdlcSpinner = ora5("Installing opencode-sdlc...").start();
4793
+ const sdlcSpinner = ora5("Installing opencode-sdlc-plugin...").start();
4794
4794
  try {
4795
4795
  const channel = detectReleaseChannel(VERSION);
4796
- await fileManager.installDependencies([`opencode-sdlc@${channel}`]);
4797
- sdlcSpinner.succeed("opencode-sdlc installed");
4796
+ await fileManager.installDependencies([`opencode-sdlc-plugin@${channel}`]);
4797
+ sdlcSpinner.succeed("opencode-sdlc-plugin installed");
4798
4798
  } catch (err) {
4799
- sdlcSpinner.fail("Failed to install opencode-sdlc");
4799
+ sdlcSpinner.fail("Failed to install opencode-sdlc-plugin");
4800
4800
  logger.error(err instanceof Error ? err.message : String(err));
4801
4801
  }
4802
4802
  }
4803
4803
  }
4804
- const pluginUpdates = updatesAvailable.filter((u) => u.name !== "opencode-sdlc");
4804
+ const pluginUpdates = updatesAvailable.filter((u) => u.name !== "opencode-sdlc-plugin");
4805
4805
  if (pluginUpdates.length > 0) {
4806
4806
  const pluginSpinner = ora5("Updating plugins...").start();
4807
4807
  try {
@@ -4815,7 +4815,7 @@ Current version: ${existingVersion}`));
4815
4815
  } else {
4816
4816
  const generator = new ConfigGenerator(fullAnswers);
4817
4817
  const allPackages = generator.getRequiredPackages();
4818
- const pluginPackages = allPackages.filter((p) => !p.startsWith("opencode-sdlc"));
4818
+ const pluginPackages = allPackages.filter((p) => !p.startsWith("opencode-sdlc-plugin"));
4819
4819
  if (pluginPackages.length > 0) {
4820
4820
  const pluginSpinner = ora5(`Installing plugins: ${pluginPackages.join(", ")}...`).start();
4821
4821
  try {