the-frame-ai 0.10.1 → 0.10.2

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/package.json +1 -1
  2. package/src/update.js +8 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "the-frame-ai",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "FRAME — Framework for AI-Assisted Solo Development",
5
5
  "type": "module",
6
6
  "bin": {
package/src/update.js CHANGED
@@ -101,14 +101,17 @@ export async function update(target, flags = {}) {
101
101
  }
102
102
 
103
103
  // 5. Update Playwright MCP (frontend projects)
104
- if (config.frontend === undefined || config.frontend === false) {
104
+ if (!config.frontend) {
105
105
  if (process.stdin.isTTY && !flags.yes) {
106
106
  const frontend = await promptFrontend(false);
107
- config.frontend = frontend;
108
- writeFileSync(join(target, '.frame', 'config.json'), JSON.stringify(config, null, 2), 'utf-8');
107
+ if (frontend) {
108
+ config.frontend = true;
109
+ writeFileSync(join(target, '.frame', 'config.json'), JSON.stringify(config, null, 2), 'utf-8');
110
+ mergeClaudeSettings(join(target, '.claude', 'settings.json'));
111
+ if (config.copilot) mergeVscodeMcp(join(target, '.vscode', 'mcp.json'));
112
+ }
109
113
  }
110
- }
111
- if (config.frontend) {
114
+ } else {
112
115
  mergeClaudeSettings(join(target, '.claude', 'settings.json'));
113
116
  if (config.copilot) mergeVscodeMcp(join(target, '.vscode', 'mcp.json'));
114
117
  }