opencode-agents 1.0.12 → 1.0.13

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/index.js CHANGED
@@ -25959,8 +25959,8 @@ async function installAgent(options2) {
25959
25959
  logger.success(`Symlinked agent "${name}" to ${finalPath}`);
25960
25960
  } catch (err) {
25961
25961
  logger.warn(`Failed to create symlink, copying instead: ${err}`);
25962
- copyDirectory(sourcePath2, join3(targetPath, name));
25963
- logger.success(`Copied agent "${name}" to ${targetPath}`);
25962
+ copyFileSync2(sourcePath2, finalPath);
25963
+ logger.success(`Copied agent "${name}" to ${finalPath}`);
25964
25964
  }
25965
25965
  }
25966
25966
  }