@phi-code-admin/phi-code 0.60.0 → 0.60.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phi-code-admin/phi-code",
3
- "version": "0.60.0",
3
+ "version": "0.60.1",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "piConfig": {
@@ -58,6 +58,16 @@ for (const pkg of sigmaPackages) {
58
58
  createLink(srcPkg, destLink, pkg);
59
59
  }
60
60
 
61
+ // 3. Create default settings.json with quietStartup if it doesn't exist
62
+ const settingsPath = join(agentDir, "settings.json");
63
+ if (!existsSync(settingsPath)) {
64
+ try {
65
+ const defaults = { quietStartup: true };
66
+ require("fs").writeFileSync(settingsPath, JSON.stringify(defaults, null, 2), "utf-8");
67
+ console.log(` Φ Created settings.json (quietStartup: true)`);
68
+ } catch { /* skip */ }
69
+ }
70
+
61
71
  function createLink(src, dest, name) {
62
72
  try {
63
73
  // Remove existing (symlink or directory)