opencode-agents 1.0.11 → 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
  }
@@ -26062,7 +26062,8 @@ function readlinkCheck(path, name) {
26062
26062
 
26063
26063
  // src/commands/add.ts
26064
26064
  var import_degit = __toESM(require_dist(), 1);
26065
- import { basename as basename4, mkdtempSync as mkdtempSync2, join as join4 } from "path";
26065
+ import { basename as basename4, join as join4 } from "path";
26066
+ import { mkdtempSync as mkdtempSync2 } from "fs";
26066
26067
  async function promptInstallLocation() {
26067
26068
  const answers = await inquirer.prompt([
26068
26069
  {