the-frame-ai 0.10.0 → 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 +11 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "the-frame-ai",
3
- "version": "0.10.0",
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,12 +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) {
105
- const frontend = await promptFrontend(flags.yes);
106
- config.frontend = frontend;
107
- writeFileSync(join(target, '.frame', 'config.json'), JSON.stringify(config, null, 2), 'utf-8');
108
- }
109
- if (config.frontend) {
104
+ if (!config.frontend) {
105
+ if (process.stdin.isTTY && !flags.yes) {
106
+ const frontend = await promptFrontend(false);
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
+ }
113
+ }
114
+ } else {
110
115
  mergeClaudeSettings(join(target, '.claude', 'settings.json'));
111
116
  if (config.copilot) mergeVscodeMcp(join(target, '.vscode', 'mcp.json'));
112
117
  }