@townco/cli 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.
- package/dist/commands/run.js +2 -4
- package/package.json +6 -3
package/dist/commands/run.js
CHANGED
|
@@ -105,10 +105,8 @@ export async function runCommand(options) {
|
|
|
105
105
|
}
|
|
106
106
|
// Default: Start TUI interface with the agent
|
|
107
107
|
console.log(`Starting interactive terminal for agent "${name}"...\n`);
|
|
108
|
-
//
|
|
109
|
-
const
|
|
110
|
-
// Run TUI with the agent
|
|
111
|
-
const tuiProcess = spawn("bun", [tuiPath, "--agent", binPath], {
|
|
108
|
+
// Run the agent in stdio mode directly
|
|
109
|
+
const tuiProcess = spawn("bun", [binPath, "stdio"], {
|
|
112
110
|
cwd: agentPath,
|
|
113
111
|
stdio: "inherit",
|
|
114
112
|
env: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@townco/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,10 +23,14 @@
|
|
|
23
23
|
"check": "tsc --noEmit",
|
|
24
24
|
"build": "tsc"
|
|
25
25
|
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"react": ">=19.0.0"
|
|
28
|
+
},
|
|
26
29
|
"devDependencies": {
|
|
27
30
|
"@townco/tsconfig": "^0.1.0",
|
|
28
31
|
"@types/bun": "^1.3.1",
|
|
29
|
-
"@types/react": "^19.2.2"
|
|
32
|
+
"@types/react": "^19.2.2",
|
|
33
|
+
"react": "^19.2.0"
|
|
30
34
|
},
|
|
31
35
|
"dependencies": {
|
|
32
36
|
"@optique/core": "^0.6.2",
|
|
@@ -38,7 +42,6 @@
|
|
|
38
42
|
"ink": "^6.4.0",
|
|
39
43
|
"ink-text-input": "^6.0.0",
|
|
40
44
|
"inquirer": "^12.10.0",
|
|
41
|
-
"react": "^19.2.0",
|
|
42
45
|
"ts-pattern": "^5.9.0"
|
|
43
46
|
}
|
|
44
47
|
}
|