create-lore 0.12.1 → 0.12.3

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/SECURITY.md CHANGED
@@ -21,4 +21,4 @@ We will acknowledge receipt within 48 hours and provide a timeline for a fix.
21
21
 
22
22
  | Version | Supported |
23
23
  | ------- | --------- |
24
- | 0.12.x | Yes |
24
+ | 0.12.x | Yes |
@@ -161,6 +161,12 @@ fs.writeFileSync(
161
161
  fs.readFileSync(path.join(tplDir, 'memory-local.md'), 'utf8'),
162
162
  );
163
163
 
164
+ // -- Write .env for docker compose project naming --
165
+ // docker compose reads .env from the project directory (where the command runs),
166
+ // not from the directory containing the compose file.
167
+ const envContent = fs.readFileSync(path.join(tplDir, 'env.template'), 'utf8').replace('{{name}}', projectName);
168
+ fs.writeFileSync(path.join(targetDir, '.env'), envContent);
169
+
164
170
  // -- Initialize git --
165
171
  execSync('git init -b main', { cwd: targetDir, stdio: 'pipe' });
166
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-lore",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "description": "Create a new Lore knowledge-persistent agent repo",
5
5
  "bin": {
6
6
  "create-lore": "bin/create-lore.js"