Commit 931784d3d529cdfe3a00335b265364c1fdbfa5bd
1 parent
bdd98a4a
fix: migrate remote-added idearuncreate template to system/ and fix remaining path reference
Showing
11 changed files
with
1 additions
and
1 deletions
server/routes/company.js
| ... | ... | @@ -243,7 +243,7 @@ router.post('/templates/:templateId/skills/upload', skillUpload.array('files', 5 |
| 243 | 243 | try { |
| 244 | 244 | const { templateId } = req.params; |
| 245 | 245 | const targetSubdir = req.body.targetDir || '.claude/skills'; // default to .claude/skills/ (Claude Code ACP reads from here) |
| 246 | - const TEMPLATES_DIR = path.resolve(__dirname, '../../data/system/templates'); | |
| 246 | + const TEMPLATES_DIR = path.resolve(__dirname, '../../system/templates'); | |
| 247 | 247 | const templateDir = path.join(TEMPLATES_DIR, templateId); |
| 248 | 248 | |
| 249 | 249 | if (!fs.existsSync(templateDir)) { | ... | ... |
data/system/templates/idearuncreate/agent.md renamed to system/templates/idearuncreate/agent.md
data/system/templates/idearuncreate/config.json renamed to system/templates/idearuncreate/config.json
data/system/templates/idearuncreate/cron.json renamed to system/templates/idearuncreate/cron.json
data/system/templates/idearuncreate/heartbeat.md renamed to system/templates/idearuncreate/heartbeat.md
data/system/templates/idearuncreate/identity.md renamed to system/templates/idearuncreate/identity.md
data/system/templates/idearuncreate/plan.md renamed to system/templates/idearuncreate/plan.md
data/system/templates/idearuncreate/soul.md renamed to system/templates/idearuncreate/soul.md
data/system/templates/idearuncreate/todo.md renamed to system/templates/idearuncreate/todo.md
data/system/templates/idearuncreate/tools.md renamed to system/templates/idearuncreate/tools.md
data/system/templates/idearuncreate/user.md renamed to system/templates/idearuncreate/user.md