opencode-sdlc-plugin 1.1.1 → 1.1.3

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
@@ -201,8 +201,7 @@ var FileManager = class {
201
201
  const copiedFiles = [];
202
202
  const modeFileMap = {
203
203
  build: "build.md",
204
- discover: "plan.md",
205
- // Discover mode overrides Plan agent
204
+ discover: "discover.md",
206
205
  model: "model.md",
207
206
  prd: "prd.md",
208
207
  architect: "architect.md",
@@ -291,7 +290,7 @@ var FileManager = class {
291
290
  return false;
292
291
  }
293
292
  const sdlcPlugins = [
294
- "opencode-sdlc",
293
+ "opencode-sdlc-plugin",
295
294
  "oh-my-opencode",
296
295
  "opencode-antigravity-auth",
297
296
  "opencode-openai-codex-auth"
@@ -1590,7 +1589,7 @@ async function generateOpencodeConfig(answers, configDir) {
1590
1589
  } catch {
1591
1590
  }
1592
1591
  }
1593
- const plugins = ["opencode-sdlc/plugin", "oh-my-opencode"];
1592
+ const plugins = ["opencode-sdlc-plugin/plugin", "oh-my-opencode"];
1594
1593
  if (answers.subscriptions.hasGoogle && answers.subscriptions.googleAuth === "antigravity") {
1595
1594
  plugins.push("opencode-antigravity-auth");
1596
1595
  }
@@ -1756,7 +1755,7 @@ async function generateOpencodeConfig(answers, configDir) {
1756
1755
  return config;
1757
1756
  }
1758
1757
  function getRequiredPlugins(answers) {
1759
- const plugins = ["opencode-sdlc", "oh-my-opencode"];
1758
+ const plugins = ["opencode-sdlc-plugin", "oh-my-opencode"];
1760
1759
  if (answers.subscriptions.hasGoogle && answers.subscriptions.googleAuth === "antigravity") {
1761
1760
  plugins.push("opencode-antigravity-auth");
1762
1761
  }
@@ -4592,11 +4591,11 @@ async function upgrade(options) {
4592
4591
  ];
4593
4592
  const updates = [];
4594
4593
  const sdlcChannel = detectReleaseChannel(VERSION);
4595
- const sdlcLatest = await getLatestVersion("opencode-sdlc", sdlcChannel);
4594
+ const sdlcLatest = await getLatestVersion("opencode-sdlc-plugin", sdlcChannel);
4596
4595
  if (sdlcLatest) {
4597
4596
  const sdlcHasUpdate = semver__default.valid(sdlcLatest) && semver__default.valid(VERSION) ? semver__default.gt(sdlcLatest, VERSION) : sdlcLatest !== VERSION;
4598
4597
  updates.push({
4599
- name: "opencode-sdlc",
4598
+ name: "opencode-sdlc-plugin",
4600
4599
  current: VERSION,
4601
4600
  latest: sdlcLatest,
4602
4601
  updateAvailable: sdlcHasUpdate
@@ -4774,34 +4773,34 @@ Current version: ${existingVersion}`));
4774
4773
  writeSpinner.succeed("Configuration files updated");
4775
4774
  logger.section("Updating Packages");
4776
4775
  const fileManager = new FileManager();
4777
- const sdlcUpdate = updatesAvailable.find((u) => u.name === "opencode-sdlc");
4776
+ const sdlcUpdate = updatesAvailable.find((u) => u.name === "opencode-sdlc-plugin");
4778
4777
  if (sdlcUpdate) {
4779
- const sdlcSpinner = ora5("Updating opencode-sdlc...").start();
4778
+ const sdlcSpinner = ora5("Updating opencode-sdlc-plugin...").start();
4780
4779
  try {
4781
4780
  const channel = detectReleaseChannel(VERSION);
4782
- await fileManager.installDependencies([`opencode-sdlc@${channel}`]);
4783
- sdlcSpinner.succeed(`opencode-sdlc updated to ${sdlcUpdate.latest}`);
4781
+ await fileManager.installDependencies([`opencode-sdlc-plugin@${channel}`]);
4782
+ sdlcSpinner.succeed(`opencode-sdlc-plugin updated to ${sdlcUpdate.latest}`);
4784
4783
  } catch (err) {
4785
- sdlcSpinner.fail("Failed to update opencode-sdlc");
4784
+ sdlcSpinner.fail("Failed to update opencode-sdlc-plugin");
4786
4785
  logger.error(err instanceof Error ? err.message : String(err));
4787
4786
  }
4788
4787
  } else {
4789
4788
  const generator = new ConfigGenerator(fullAnswers);
4790
4789
  const packages = generator.getRequiredPackages();
4791
- const sdlcPackage = packages.find((p) => p.startsWith("opencode-sdlc"));
4790
+ const sdlcPackage = packages.find((p) => p.startsWith("opencode-sdlc-plugin"));
4792
4791
  if (sdlcPackage) {
4793
- const sdlcSpinner = ora5("Installing opencode-sdlc...").start();
4792
+ const sdlcSpinner = ora5("Installing opencode-sdlc-plugin...").start();
4794
4793
  try {
4795
4794
  const channel = detectReleaseChannel(VERSION);
4796
- await fileManager.installDependencies([`opencode-sdlc@${channel}`]);
4797
- sdlcSpinner.succeed("opencode-sdlc installed");
4795
+ await fileManager.installDependencies([`opencode-sdlc-plugin@${channel}`]);
4796
+ sdlcSpinner.succeed("opencode-sdlc-plugin installed");
4798
4797
  } catch (err) {
4799
- sdlcSpinner.fail("Failed to install opencode-sdlc");
4798
+ sdlcSpinner.fail("Failed to install opencode-sdlc-plugin");
4800
4799
  logger.error(err instanceof Error ? err.message : String(err));
4801
4800
  }
4802
4801
  }
4803
4802
  }
4804
- const pluginUpdates = updatesAvailable.filter((u) => u.name !== "opencode-sdlc");
4803
+ const pluginUpdates = updatesAvailable.filter((u) => u.name !== "opencode-sdlc-plugin");
4805
4804
  if (pluginUpdates.length > 0) {
4806
4805
  const pluginSpinner = ora5("Updating plugins...").start();
4807
4806
  try {
@@ -4815,7 +4814,7 @@ Current version: ${existingVersion}`));
4815
4814
  } else {
4816
4815
  const generator = new ConfigGenerator(fullAnswers);
4817
4816
  const allPackages = generator.getRequiredPackages();
4818
- const pluginPackages = allPackages.filter((p) => !p.startsWith("opencode-sdlc"));
4817
+ const pluginPackages = allPackages.filter((p) => !p.startsWith("opencode-sdlc-plugin"));
4819
4818
  if (pluginPackages.length > 0) {
4820
4819
  const pluginSpinner = ora5(`Installing plugins: ${pluginPackages.join(", ")}...`).start();
4821
4820
  try {