@comfanion/workflow 4.22.0 → 4.23.0

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/bin/cli.js CHANGED
@@ -379,7 +379,20 @@ program
379
379
  }
380
380
  }
381
381
 
382
- spinner.succeed(chalk.green('OpenCode Workflow initialized!'));
382
+ // Install plugin dependencies
383
+ spinner.text = 'Installing plugin dependencies...';
384
+ try {
385
+ execSync('bun install', {
386
+ cwd: targetDir,
387
+ stdio: 'pipe',
388
+ timeout: 60000
389
+ });
390
+ spinner.succeed(chalk.green('OpenCode Workflow initialized!'));
391
+ console.log(chalk.green('✅ Plugin dependencies installed'));
392
+ } catch (e) {
393
+ spinner.succeed(chalk.green('OpenCode Workflow initialized!'));
394
+ console.log(chalk.yellow('⚠️ Plugin dependencies: run `cd .opencode && bun install`'));
395
+ }
383
396
 
384
397
  // Show what was preserved
385
398
  if (hadVectorizer) {
@@ -540,6 +553,18 @@ program
540
553
  spinner.text = 'Restoring config.yaml...';
541
554
  await fs.writeFile(configPath, configBackup);
542
555
 
556
+ // Install plugin dependencies
557
+ spinner.text = 'Installing plugin dependencies...';
558
+ try {
559
+ execSync('bun install', {
560
+ cwd: targetDir,
561
+ stdio: 'pipe',
562
+ timeout: 60000
563
+ });
564
+ } catch (e) {
565
+ // Ignore errors, will show warning below
566
+ }
567
+
543
568
  spinner.succeed(chalk.green('OpenCode Workflow updated!'));
544
569
 
545
570
  if (options.backup !== false) {
@@ -548,6 +573,7 @@ program
548
573
  }
549
574
 
550
575
  console.log(chalk.green('✅ Your config.yaml was preserved.'));
576
+ console.log(chalk.green('✅ Plugin dependencies installed.'));
551
577
  if (hasVectorizer) {
552
578
  console.log(chalk.green('✅ Vectorizer updated (node_modules preserved).'));
553
579
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfanion/workflow",
3
- "version": "4.22.0",
3
+ "version": "4.23.0",
4
4
  "description": "Initialize OpenCode Workflow system for AI-assisted development with semantic code search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "3.0.0",
3
- "buildDate": "2026-01-24T11:24:58.085Z",
3
+ "buildDate": "2026-01-24T11:27:29.244Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",