Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ async function main() {
console.log("\n[metrics]", harness.metricsLine());
process.exit(0);
} else {
// CLI Interactive Session (like Claude Code)
// CLI Interactive Session (like Claude Code) is now the default!
const readline = await import("node:readline");
const rl = readline.createInterface({
input: process.stdin,
Expand Down
3 changes: 1 addition & 2 deletions src/tui/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { useCallback, useEffect, useMemo, useState } from "react";
import { Box, Text, useApp, useInput, useStdout } from "ink";
import fs from "node:fs";
import type {
ArrowConfig,
AgentId,
Expand Down Expand Up @@ -315,7 +316,6 @@ export function App(props: {
break;
case "run_start":
setRunActive(true);
setLayoutMode("classic");
setFinalText("");
setSystemLine(`Running: ${e.prompt.slice(0, 80)}`);
harness.sessionLog.push("user", e.prompt.slice(0, 200));
Expand Down Expand Up @@ -442,7 +442,6 @@ export function App(props: {
const filePath = line.slice(5).trim();
try {
const absolutePath = harness.workspace.resolve(filePath, { mustExist: true });
const fs = require("node:fs");
const content = fs.readFileSync(absolutePath, "utf8");
const lineCount = content.split("\n").length;
setAttachedFiles((prev) => [...prev, { path: filePath, content }]);
Expand Down
Loading