@ha-bits/cortex 1.0.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/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # @ha-bits/cortex
2
+
3
+ Cortex - Habits Workflow Executor CLI
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install -g @ha-bits/cortex
9
+ # or
10
+ npx @ha-bits/cortex
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ Run the CLI:
16
+
17
+ ```bash
18
+ cortex [command] [options]
19
+ # or
20
+ npx @ha-bits/cortex [command] [options]
21
+ ```
22
+
23
+ ### Available Commands
24
+
25
+ - `server` - Start the Cortex server
26
+ - `--config` - Specify a config file path
27
+
28
+ ### Example
29
+
30
+ ```bash
31
+ # Start server with config
32
+ cortex server --config ./config.json
33
+
34
+ # Or with npx
35
+ npx @ha-bits/cortex server --config ./config.json
36
+ ```
37
+
38
+ ## Configuration
39
+
40
+ The CLI requires a configuration file. See the documentation for configuration options.
41
+
42
+ ## License
43
+
44
+ Apache-2.0
45
+
46
+ ## Repository
47
+
48
+ https://github.com/codenteam/habits
package/package.json ADDED
@@ -0,0 +1,76 @@
1
+ {
2
+ "name": "@ha-bits/cortex",
3
+ "version": "1.0.0",
4
+ "description": "Cortex - Habits Workflow Executor CLI",
5
+ "main": "./server/main.cjs",
6
+ "bin": {
7
+ "cortex": "./server/main.cjs",
8
+ "ha-bits-cortex": "./server/main.cjs"
9
+ },
10
+ "files": [
11
+ "server",
12
+ "README.md"
13
+ ],
14
+ "scripts": {
15
+ "start": "node server/main.cjs"
16
+ },
17
+ "keywords": [
18
+ "habits",
19
+ "workflow",
20
+ "executor",
21
+ "automation",
22
+ "cli"
23
+ ],
24
+ "author": "Codenteam",
25
+ "license": "Apache-2.0",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "https://github.com/codenteam/habits.git",
29
+ "directory": "packages/cortex"
30
+ },
31
+ "publishConfig": {
32
+ "access": "public"
33
+ },
34
+ "dependencies": {
35
+ "axios": "^1.6.2",
36
+ "dotenv": "^16.3.1",
37
+ "express": "^4.18.2",
38
+ "form-data": "^4.0.5",
39
+ "qs": "^6.14.0",
40
+ "uuid": "^9.0.1",
41
+ "winston": "^3.19.0",
42
+ "yargs": "^17.7.2"
43
+ },
44
+ "devDependencies": {
45
+ "@types/express": "^4.17.21",
46
+ "@types/node": "^20.10.5",
47
+ "@types/uuid": "^9.0.7",
48
+ "@types/yargs": "^17.0.32",
49
+ "esbuild": "^0.20.0",
50
+ "typescript": "^5.3.3"
51
+ },
52
+ "peerDependencies": {
53
+ "@activepieces/piece-http": "^0.9.5",
54
+ "@activepieces/pieces-common": "^0.10.1",
55
+ "@activepieces/pieces-framework": "^0.22.2",
56
+ "@activepieces/shared": "^0.29.0",
57
+ "n8n-workflow": "^1.19.0"
58
+ },
59
+ "peerDependenciesMeta": {
60
+ "@activepieces/piece-http": {
61
+ "optional": true
62
+ },
63
+ "@activepieces/pieces-common": {
64
+ "optional": true
65
+ },
66
+ "@activepieces/pieces-framework": {
67
+ "optional": true
68
+ },
69
+ "@activepieces/shared": {
70
+ "optional": true
71
+ },
72
+ "n8n-workflow": {
73
+ "optional": true
74
+ }
75
+ }
76
+ }