@christianmaf80/agentic-workflow 1.24.0-beta.3 → 1.25.0-beta.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/bin/cli.js +8 -1
  2. package/package.json +2 -1
package/bin/cli.js CHANGED
@@ -1,5 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import { Command } from 'commander';
3
+ import { readFileSync } from 'fs';
4
+ import { fileURLToPath } from 'url';
5
+ import { dirname, join } from 'path';
3
6
  import { initCommand } from '../dist/cli/commands/init.js';
4
7
  import { createCommand } from '../dist/cli/commands/create.js';
5
8
  import { restoreCommand } from '../dist/cli/commands/restore.js';
@@ -7,12 +10,16 @@ import { cleanCommand } from '../dist/cli/commands/clean.js';
7
10
  import { mcpCommand } from '../dist/cli/commands/mcp.js';
8
11
  import { registerMcpCommand } from '../dist/cli/commands/register-mcp.js';
9
12
 
13
+ const __filename = fileURLToPath(import.meta.url);
14
+ const __dirname = dirname(__filename);
15
+ const pkg = JSON.parse(readFileSync(join(__dirname, '..', 'package.json'), 'utf-8'));
16
+
10
17
  const program = new Command();
11
18
 
12
19
  program
13
20
  .name('agentic-workflow')
14
21
  .description('Portable agentic orchestration system')
15
- .version('1.24.0-beta.3');
22
+ .version(pkg.version);
16
23
 
17
24
  program
18
25
  .command('init')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christianmaf80/agentic-workflow",
3
- "version": "1.24.0-beta.3",
3
+ "version": "1.25.0-beta.4",
4
4
  "description": "Portable agentic workflow orchestration system with strict identity and gate discipline",
5
5
  "type": "module",
6
6
  "displayName": "Agentic Workflow",
@@ -83,6 +83,7 @@
83
83
  "author": "Christian Marino Alvarez",
84
84
  "license": "ISC",
85
85
  "dependencies": {
86
+ "@christianmaf80/agentic-workflow": "1.24.0-beta.3",
86
87
  "@clack/prompts": "^0.7.0",
87
88
  "commander": "^11.1.0",
88
89
  "gray-matter": "^4.0.3",