@townco/cli 0.1.1 → 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.
@@ -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
- // Get path to TUI app
109
- const tuiPath = join(process.cwd(), "apps", "tui", "src", "index.tsx");
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.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",