command-code 0.10.6 → 0.10.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "command-code",
3
- "version": "0.10.6",
3
+ "version": "0.10.8",
4
4
  "description": "Command Code, coding agent that continuously learns your coding taste",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -77,7 +77,6 @@
77
77
  "@types/shell-quote": "^1.7.5",
78
78
  "ink-testing-library": "^4.0.0",
79
79
  "javascript-obfuscator": "^4.1.1",
80
- "node-pty": "^1.0.0",
81
80
  "pkg": "^5.8.1",
82
81
  "rollup-plugin-obfuscator": "^1.1.0",
83
82
  "terser": "^5.43.1",
@@ -85,6 +84,15 @@
85
84
  "tsx": "^4.20.3",
86
85
  "vitest": "^3.2.4"
87
86
  },
87
+ "optionalDependencies": {
88
+ "@lydell/node-pty": "1.1.0",
89
+ "@lydell/node-pty-darwin-arm64": "1.1.0",
90
+ "@lydell/node-pty-darwin-x64": "1.1.0",
91
+ "@lydell/node-pty-linux-x64": "1.1.0",
92
+ "@lydell/node-pty-win32-arm64": "1.1.0",
93
+ "@lydell/node-pty-win32-x64": "1.1.0",
94
+ "node-pty": "^1.0.0"
95
+ },
88
96
  "scripts": {
89
97
  "build": "tsup",
90
98
  "build:obfuscated": "tsup --config tsup.config.obfuscated.ts",
@@ -100,6 +108,9 @@
100
108
  "test": "vitest run",
101
109
  "test:taste": "vitest run tests/taste 2>&1 | tee tests/taste/test-output.log",
102
110
  "test:taste:debug": "DEBUG=true vitest run tests/taste 2>&1 | tee tests/taste/test-output-debug.log",
111
+ "test:integration": "vitest run --config tests/integration/vitest.config.ts",
112
+ "test:integration:verbose": "VERBOSE=true KEEP_OUTPUT=true vitest run --config tests/integration/vitest.config.ts",
113
+ "test:all": "pnpm test && pnpm test:integration",
103
114
  "publish:prod": "pnpm run build:obfuscated && npm publish --access public",
104
115
  "test:watch": "vitest",
105
116
  "test:coverage": "vitest run --coverage"