command-code 0.10.5 → 0.10.7

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.5",
3
+ "version": "0.10.7",
4
4
  "description": "Command Code, coding agent that continuously learns your coding taste",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -49,6 +49,7 @@
49
49
  "ink-gradient": "^3.0.0",
50
50
  "ink-select-input": "^6.2.0",
51
51
  "ink-spinner": "^5.0.0",
52
+ "ink-text-input": "^6.0.0",
52
53
  "log-symbols": "^7.0.1",
53
54
  "marked": "^15.0.12",
54
55
  "marked-terminal": "^7.3.0",
@@ -76,7 +77,6 @@
76
77
  "@types/shell-quote": "^1.7.5",
77
78
  "ink-testing-library": "^4.0.0",
78
79
  "javascript-obfuscator": "^4.1.1",
79
- "node-pty": "^1.0.0",
80
80
  "pkg": "^5.8.1",
81
81
  "rollup-plugin-obfuscator": "^1.1.0",
82
82
  "terser": "^5.43.1",
@@ -84,6 +84,15 @@
84
84
  "tsx": "^4.20.3",
85
85
  "vitest": "^3.2.4"
86
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
+ },
87
96
  "scripts": {
88
97
  "build": "tsup",
89
98
  "build:obfuscated": "tsup --config tsup.config.obfuscated.ts",
@@ -99,6 +108,9 @@
99
108
  "test": "vitest run",
100
109
  "test:taste": "vitest run tests/taste 2>&1 | tee tests/taste/test-output.log",
101
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",
102
114
  "publish:prod": "pnpm run build:obfuscated && npm publish --access public",
103
115
  "test:watch": "vitest",
104
116
  "test:coverage": "vitest run --coverage"