@defai.digital/automatosx 8.3.2 → 8.4.0

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23110,9 +23110,10 @@ init_esm_shims();
23110
23110
  init_logger();
23111
23111
  var __filename5 = fileURLToPath(import.meta.url);
23112
23112
  var __dirname6 = dirname(__filename5);
23113
- async function listAvailableTemplates() {
23113
+ async function listAvailableTemplates(baseDir) {
23114
23114
  const templates = [];
23115
- const projectTemplatesDir = join(process.cwd(), ".automatosx", "templates");
23115
+ const projectDir = process.cwd();
23116
+ const projectTemplatesDir = join(projectDir, ".automatosx", "templates");
23116
23117
  if (existsSync(projectTemplatesDir)) {
23117
23118
  try {
23118
23119
  const files = await readdir(projectTemplatesDir);
@@ -23160,7 +23161,7 @@ async function listAvailableTemplates() {
23160
23161
  }
23161
23162
  return templates.sort((a, b) => a.name.localeCompare(b.name));
23162
23163
  }
23163
- async function listAvailableTeams() {
23164
+ async function listAvailableTeams(baseDir) {
23164
23165
  const projectDir = process.cwd();
23165
23166
  const teamsDir = join(projectDir, ".automatosx", "teams");
23166
23167
  const teamManager = new TeamManager(teamsDir);
@@ -23221,7 +23222,7 @@ function isValidAgentName(name) {
23221
23222
  }
23222
23223
  return { valid: true };
23223
23224
  }
23224
- async function checkDisplayNameConflict(displayName, excludeAgentName) {
23225
+ async function checkDisplayNameConflict(displayName, excludeAgentName, baseDir) {
23225
23226
  if (!displayName) {
23226
23227
  return void 0;
23227
23228
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defai.digital/automatosx",
3
- "version": "8.3.2",
3
+ "version": "8.4.0",
4
4
  "description": "AI Agent Orchestration Platform",
5
5
  "type": "module",
6
6
  "publishConfig": {