ventureos 1.0.3 → 1.0.4

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/install.js +17 -52
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -102,8 +102,8 @@ output_folder: "_ventures"
102
102
  # deep = exhaustive multi-source research with cross-validation
103
103
  research_depth: "${researchDepth}"
104
104
 
105
- # Your primary AI tool
106
- # Options: claude-code | cursor | windsurf | other
105
+ # Your AI provider
106
+ # Options: anthropic | openai | gemini
107
107
  llm: "${llm}"
108
108
 
109
109
  # Execution mode for workflows
@@ -113,35 +113,12 @@ default_mode: "${defaultMode}"
113
113
  `;
114
114
  }
115
115
 
116
- function showNextSteps(llm, ventureOSDir, targetDir) {
117
- const rel = path.relative(targetDir, ventureOSDir);
118
-
116
+ function showNextSteps(ventureOSDir, targetDir) {
119
117
  console.log('\n' + line());
120
118
  console.log(' How to start VentureOS');
121
119
  console.log(line() + '\n');
122
-
123
- if (llm === 'claude-code') {
124
- console.log(' Option A — In Claude Code:\n');
125
- console.log(` @${rel}/venture-master.md\n`);
126
- console.log(' Option B — Terminal chat:\n');
127
- console.log(` npx ventureos start\n`);
128
- } else if (llm === 'cursor') {
129
- console.log(' Option A — In Cursor, attach the file in chat:\n');
130
- console.log(` Click paperclip → select ${rel}/venture-master.md\n`);
131
- console.log(' Option B — Terminal chat:\n');
132
- console.log(` npx ventureos start\n`);
133
- } else if (llm === 'windsurf') {
134
- console.log(' Option A — In Windsurf Cascade:\n');
135
- console.log(` Load ${rel}/venture-master.md\n`);
136
- console.log(' Option B — Terminal chat:\n');
137
- console.log(` npx ventureos start\n`);
138
- } else {
139
- console.log(' Start VentureOS from the terminal:\n');
140
- console.log(` npx ventureos start\n`);
141
- console.log(' Connects directly to Claude, ChatGPT, or Gemini — no copy-pasting.\n');
142
- }
143
-
144
- console.log(line());
120
+ console.log(' Run this command from your project folder:\n');
121
+ console.log(' npx ventureos start\n');
145
122
  console.log(' Victor (your VentureOS orchestrator) will:');
146
123
  console.log(line() + '\n');
147
124
  console.log(' 1. Read your config and venture state');
@@ -193,15 +170,14 @@ async function install() {
193
170
  const nameInput = await rl.question(' 👤 Your name: ');
194
171
  const userName = nameInput.trim() || 'Founder';
195
172
 
196
- // Step 3: AI tool
197
- console.log('\n 🤖 Which AI tool do you use for coding?\n');
198
- console.log(' 1. Claude Code (recommended)');
199
- console.log(' 2. Cursor');
200
- console.log(' 3. Windsurf');
201
- console.log(' 4. Other\n');
202
- const llmInput = await rl.question(' Select [1-4]: ');
203
- const llmMap = { '1': 'claude-code', '2': 'cursor', '3': 'windsurf', '4': 'other' };
204
- const llm = llmMap[llmInput.trim()] ?? 'claude-code';
173
+ // Step 3: AI provider
174
+ console.log('\n 🤖 Which AI provider do you use?\n');
175
+ console.log(' 1. Claude (Anthropic) (recommended)');
176
+ console.log(' 2. ChatGPT (OpenAI)');
177
+ console.log(' 3. Gemini (Google)\n');
178
+ const llmInput = await rl.question(' Select [1-3]: ');
179
+ const llmMap = { '1': 'anthropic', '2': 'openai', '3': 'gemini' };
180
+ const llm = llmMap[llmInput.trim()] ?? 'anthropic';
205
181
 
206
182
  // Step 4: Research depth
207
183
  console.log('\n 🔍 Research depth for market and domain analysis?\n');
@@ -250,7 +226,7 @@ async function install() {
250
226
  console.log(' ✅ VentureOS is ready!');
251
227
  console.log(line());
252
228
 
253
- showNextSteps(llm, ventureOSDir, targetDir);
229
+ showNextSteps(ventureOSDir, targetDir);
254
230
 
255
231
  } catch (err) {
256
232
  rl.close();
@@ -300,19 +276,8 @@ async function startChat() {
300
276
  const config = parseSimpleYaml(fs.readFileSync(configPath, 'utf8'));
301
277
  const rl = readline.createInterface({ input, output });
302
278
 
303
- // ── Select provider ────────────────────────────────────────────────────────
304
- let providerKey;
305
- if (config.llm === 'claude-code') {
306
- providerKey = 'anthropic';
307
- } else {
308
- console.log(' 🤖 Which AI provider do you want to use?\n');
309
- console.log(' 1. Claude (Anthropic)');
310
- console.log(' 2. ChatGPT (OpenAI)');
311
- console.log(' 3. Gemini (Google)\n');
312
- const choice = await rl.question(' Select [1-3]: ');
313
- providerKey = ({ '1': 'anthropic', '2': 'openai', '3': 'gemini' })[choice.trim()] ?? 'anthropic';
314
- }
315
-
279
+ // ── Select provider from config ────────────────────────────────────────────
280
+ const providerKey = PROVIDERS[config.llm] ? config.llm : 'anthropic';
316
281
  const provider = PROVIDERS[providerKey];
317
282
 
318
283
  // ── Get API key ────────────────────────────────────────────────────────────
@@ -334,7 +299,7 @@ async function startChat() {
334
299
  .replace(/\{project-root\}/g, projectRoot)
335
300
  .replace(/\{communication_language\}/g, 'English')
336
301
  .replace(/\{user_name\}/g, config.user_name || 'Founder')
337
- .replace(/\{llm\}/g, config.llm || 'other')
302
+ .replace(/\{llm\}/g, config.llm || 'anthropic')
338
303
  .replace(/\{research_depth\}/g, config.research_depth || 'standard')
339
304
  .replace(/\{default_mode\}/g, config.default_mode || 'guided')
340
305
  .replace(/\{output_folder\}/g, config.output_folder || '_ventures');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ventureos",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "VentureOS — AI-powered venture building framework. From raw idea to investor-ready pitch in 12 structured weeks.",
5
5
  "type": "module",
6
6
  "bin": {