diff --git a/package-lock.json b/package-lock.json index 279725b..fac0879 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,16 @@ { "name": "@withone/cli", - "version": "1.17.1", + "version": "1.17.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@withone/cli", +<<<<<<< HEAD + "version": "1.17.2", +======= "version": "1.17.1", +>>>>>>> origin/main "dependencies": { "@clack/prompts": "^0.9.1", "commander": "^13.1.0", diff --git a/package.json b/package.json index 5c45a47..387e892 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@withone/cli", - "version": "1.17.1", + "version": "1.17.2", "description": "CLI for managing One", "type": "module", "files": [ diff --git a/src/commands/init.ts b/src/commands/init.ts index beed56f..8e23ffe 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -71,7 +71,7 @@ async function handleExistingConfig( console.log(); // Build action menu - type Action = 'install-skills' | 'show-prompt' | 'add-connection' | 'update-key' | 'access-control' | 'install-mcp' | 'start-fresh'; + type Action = 'install-skills' | 'show-prompt' | 'add-connection' | 'update-key' | 'access-control' | 'start-fresh'; const actionOptions: { value: Action; label: string; hint?: string }[] = []; actionOptions.push({ @@ -103,12 +103,6 @@ async function handleExistingConfig( hint: 'permissions, connections, actions', }); - actionOptions.push({ - value: 'install-mcp', - label: 'Install MCP server', - hint: 'not recommended — use skills instead', - }); - actionOptions.push({ value: 'start-fresh', label: 'Start fresh (reconfigure everything)', @@ -149,10 +143,6 @@ async function handleExistingConfig( case 'access-control': await configCommand(); break; - case 'install-mcp': - await promptAndInstallMcp(apiKey, options); - p.outro('Done.'); - break; case 'start-fresh': await freshSetup({ yes: true }); break; @@ -733,16 +723,6 @@ async function freshSetup(options: { yes?: boolean; global?: boolean; project?: // Step 3: Connect integrations await promptConnectIntegrations(apiKey); - // Step 4: Optional MCP install (not recommended) - const installMcp = await p.confirm({ - message: 'Install One MCP server to your AI agents? (not recommended)', - initialValue: false, - }); - - if (!p.isCancel(installMcp) && installMcp) { - await promptAndInstallMcp(apiKey, options); - } - p.note( `Config saved to: ${pc.dim(getConfigPath())}`, 'Setup Complete'