codeharbor 0.1.0 → 0.1.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.
Files changed (4) hide show
  1. package/.env.example +78 -0
  2. package/README.md +229 -2
  3. package/dist/cli.js +2792 -49
  4. package/package.json +18 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeharbor",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Instant-messaging bridge for Codex CLI sessions",
5
5
  "license": "MIT",
6
6
  "main": "dist/cli.js",
@@ -17,6 +17,7 @@
17
17
  },
18
18
  "files": [
19
19
  "dist",
20
+ ".env.example",
20
21
  "README.md",
21
22
  "LICENSE"
22
23
  ],
@@ -39,7 +40,7 @@
39
40
  "access": "public"
40
41
  },
41
42
  "engines": {
42
- "node": ">=20"
43
+ "node": ">=22"
43
44
  },
44
45
  "scripts": {
45
46
  "build": "tsup src/cli.ts --format cjs --dts --clean",
@@ -48,12 +49,18 @@
48
49
  "doctor": "node dist/cli.js doctor",
49
50
  "replay:cli-compat": "tsx scripts/replay-cli-compat.ts",
50
51
  "typecheck": "tsc --noEmit",
51
- "test": "vitest run",
52
- "test:watch": "vitest",
52
+ "test": "vitest run test",
53
+ "test:e2e": "playwright test",
54
+ "test:e2e:ui": "playwright test --ui",
55
+ "e2e:install": "playwright install chromium",
56
+ "test:watch": "vitest test",
53
57
  "test:legacy": ".venv/bin/python -m pytest -q tests",
54
58
  "prepare": "npm run build",
55
59
  "prepack": "npm run build",
56
- "prepublishOnly": "npm run typecheck && npm test && npm run build"
60
+ "prepublishOnly": "npm run typecheck && npm run lint && npm run test:coverage && npm run build",
61
+ "lint": "eslint .",
62
+ "lint:fix": "eslint . --fix",
63
+ "test:coverage": "vitest run test --coverage"
57
64
  },
58
65
  "dependencies": {
59
66
  "async-mutex": "^0.5.0",
@@ -63,10 +70,16 @@
63
70
  "zod": "^4.1.12"
64
71
  },
65
72
  "devDependencies": {
73
+ "@eslint/js": "^10.0.1",
74
+ "@playwright/test": "^1.58.2",
66
75
  "@types/node": "^24.4.0",
76
+ "@vitest/coverage-v8": "^3.2.4",
77
+ "eslint": "^10.0.2",
78
+ "globals": "^17.4.0",
67
79
  "tsup": "^8.5.0",
68
80
  "tsx": "^4.20.5",
69
81
  "typescript": "^5.9.2",
82
+ "typescript-eslint": "^8.56.1",
70
83
  "vitest": "^3.2.4"
71
84
  }
72
85
  }