@comfanion/workflow 4.5.1 → 4.5.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.
package/bin/cli.js CHANGED
@@ -15,6 +15,10 @@ const OPENCODE_SRC = path.join(PACKAGE_DIR, 'src', 'opencode');
15
15
  const REPO_TEMPLATES_SRC = path.join(PACKAGE_DIR, 'src', 'repo-structure');
16
16
  const VECTORIZER_SRC = path.join(PACKAGE_DIR, 'src', 'vectorizer');
17
17
 
18
+ // Read version from package.json
19
+ const packageJson = JSON.parse(fs.readFileSync(path.join(PACKAGE_DIR, 'package.json'), 'utf8'));
20
+ const VERSION = packageJson.version;
21
+
18
22
  /**
19
23
  * Install vectorizer module with dependencies
20
24
  */
@@ -70,7 +74,7 @@ const program = new Command();
70
74
  program
71
75
  .name('create-opencode-workflow')
72
76
  .description('Initialize OpenCode Workflow system for AI-assisted development')
73
- .version('3.7.1');
77
+ .version(VERSION);
74
78
 
75
79
  program
76
80
  .command('init')
@@ -82,7 +86,7 @@ program
82
86
  .option('--full', 'Create full repo structure')
83
87
  .option('--vectorizer', 'Install vectorizer for semantic code search')
84
88
  .action(async (options) => {
85
- console.log(chalk.blue.bold('\nšŸš€ OpenCode Workflow v3.7\n'));
89
+ console.log(chalk.blue.bold(`\nšŸš€ OpenCode Workflow v${VERSION}\n`));
86
90
 
87
91
  const targetDir = path.join(process.cwd(), '.opencode');
88
92
  const existingConfigPath = path.join(targetDir, 'config.yaml');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfanion/workflow",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
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-24T09:17:28.192Z",
3
+ "buildDate": "2026-01-24T09:18:56.694Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",