octie-cli 1.0.0 → 1.0.1

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/octie.js +21 -0
  2. package/package.json +2 -9
package/bin/octie.js ADDED
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Octie CLI - Graph-based task management system
4
+ * Main entry point
5
+ */
6
+ import { spawn } from 'child_process';
7
+ import { fileURLToPath } from 'url';
8
+ import { dirname, join } from 'path';
9
+
10
+ const __filename = fileURLToPath(import.meta.url);
11
+ const __dirname = dirname(__filename);
12
+
13
+ const cliPath = join(__dirname, '..', 'dist', 'cli', 'index.js');
14
+ const child = spawn(process.execPath, [cliPath, ...process.argv.slice(2)], {
15
+ stdio: 'inherit',
16
+ cwd: process.cwd()
17
+ });
18
+
19
+ child.on('exit', (code) => {
20
+ process.exit(code || 0);
21
+ });
package/package.json CHANGED
@@ -1,15 +1,13 @@
1
1
  {
2
2
  "name": "octie-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A graph-based task management system with CLI and web UI for atomic, verifiable tasks",
5
5
  "main": "dist/core/index.js",
6
6
  "types": "dist/core/index.d.ts",
7
7
  "type": "module",
8
- "bin": {
9
- "octie": "./dist/cli/index.js"
10
- },
11
8
  "files": [
12
9
  "dist",
10
+ "bin",
13
11
  "README.md",
14
12
  "LICENSE"
15
13
  ],
@@ -62,16 +60,11 @@
62
60
  "node": ">=20.0.0"
63
61
  },
64
62
  "dependencies": {
65
- "archy": "^1.0.0",
66
63
  "chalk": "^5.3.0",
67
64
  "cli-table3": "^0.6.3",
68
65
  "commander": "^12.0.0",
69
- "date-fns": "^3.0.0",
70
66
  "express": "^4.18.0",
71
- "inquirer": "^9.2.0",
72
- "ora": "^8.0.0",
73
67
  "uuid": "^9.0.0",
74
- "ws": "^8.16.0",
75
68
  "zod": "^3.22.0"
76
69
  },
77
70
  "devDependencies": {