@marktoflow/marktoflow 2.0.1 → 2.0.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/marktoflow.js +24 -0
- package/package.json +10 -6
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// Wrapper to execute @marktoflow/cli from the metapackage
|
|
4
|
+
import { createRequire } from 'module';
|
|
5
|
+
import { fileURLToPath } from 'url';
|
|
6
|
+
import { dirname, join } from 'path';
|
|
7
|
+
|
|
8
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
9
|
+
const __dirname = dirname(__filename);
|
|
10
|
+
|
|
11
|
+
const require = createRequire(import.meta.url);
|
|
12
|
+
|
|
13
|
+
// Find the CLI package
|
|
14
|
+
try {
|
|
15
|
+
const cliPath = require.resolve('@marktoflow/cli');
|
|
16
|
+
const cliDir = dirname(cliPath);
|
|
17
|
+
const cliIndexPath = join(cliDir, 'index.js');
|
|
18
|
+
|
|
19
|
+
// Import and run the CLI
|
|
20
|
+
await import(cliIndexPath);
|
|
21
|
+
} catch (error) {
|
|
22
|
+
console.error('Error loading @marktoflow/cli:', error.message);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marktoflow/marktoflow",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Complete marktoflow installation - agent automation framework with native MCP support",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"marktoflow": "./bin/marktoflow.js"
|
|
8
|
+
},
|
|
6
9
|
"repository": {
|
|
7
10
|
"type": "git",
|
|
8
11
|
"url": "git+https://github.com/marktoflow/marktoflow.git",
|
|
@@ -14,13 +17,14 @@
|
|
|
14
17
|
},
|
|
15
18
|
"scripts": {},
|
|
16
19
|
"dependencies": {
|
|
17
|
-
"@marktoflow/cli": "2.0.
|
|
18
|
-
"@marktoflow/core": "2.0.
|
|
19
|
-
"@marktoflow/gui": "2.0.
|
|
20
|
-
"@marktoflow/integrations": "2.0.
|
|
20
|
+
"@marktoflow/cli": "2.0.2",
|
|
21
|
+
"@marktoflow/core": "2.0.2",
|
|
22
|
+
"@marktoflow/gui": "2.0.2",
|
|
23
|
+
"@marktoflow/integrations": "2.0.2"
|
|
21
24
|
},
|
|
22
25
|
"files": [
|
|
23
|
-
"README.md"
|
|
26
|
+
"README.md",
|
|
27
|
+
"bin"
|
|
24
28
|
],
|
|
25
29
|
"keywords": [
|
|
26
30
|
"marktoflow",
|