akemon 0.2.16 → 0.2.17
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/self.js +1 -0
- package/package.json +1 -1
package/dist/self.js
CHANGED
|
@@ -137,6 +137,7 @@ export async function initAgentConfig(workdir, agentName) {
|
|
|
137
137
|
await readFile(p, "utf-8");
|
|
138
138
|
}
|
|
139
139
|
catch {
|
|
140
|
+
await mkdir(join(workdir, ".akemon", "agents", agentName), { recursive: true });
|
|
140
141
|
await writeFile(p, JSON.stringify(DEFAULT_CONFIG, null, 2) + "\n");
|
|
141
142
|
console.log(`[self] Created config.json with defaults`);
|
|
142
143
|
}
|