Skip to content

Commit d080ce7

Browse files
committed
lint
1 parent 7bfb6d8 commit d080ce7

3 files changed

Lines changed: 32 additions & 28 deletions

File tree

apps/twig/src/renderer/features/message-editor/components/MessageEditor.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,11 @@ export const MessageEditor = forwardRef<EditorHandle, MessageEditorProps>(
206206
</Flex>
207207
</Flex>
208208
{onModeChange && currentMode && (
209-
<ModeIndicatorInput mode={currentMode} onModeChange={onModeChange} taskId={taskId} />
209+
<ModeIndicatorInput
210+
mode={currentMode}
211+
onModeChange={onModeChange}
212+
taskId={taskId}
213+
/>
210214
)}
211215
</Flex>
212216
);

apps/twig/src/renderer/features/message-editor/components/ModeIndicatorInput.tsx

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import {
77
Pencil,
88
ShieldCheck,
99
} from "@phosphor-icons/react";
10-
import { trpcVanilla } from "@renderer/trpc";
11-
import { useQuery } from "@tanstack/react-query";
1210
import { Flex, Select, Text } from "@radix-ui/themes";
11+
import { trpcVanilla } from "@renderer/trpc";
1312
import { EXECUTION_MODES } from "@shared/constants";
13+
import { useQuery } from "@tanstack/react-query";
1414

1515
interface ModeIndicatorInputProps {
1616
mode: ExecutionMode;
@@ -98,30 +98,30 @@ export function ModeIndicatorInput({
9898
>
9999
(shift+tab to cycle)
100100
</Text>
101-
{hasDiffStats && (
102-
<Text
103-
size="1"
104-
style={{
105-
color: "var(--gray-9)",
106-
fontFamily: "monospace",
107-
display: "flex",
108-
alignItems: "center",
109-
gap: "6px",
110-
}}
111-
>
112-
<Circle size={4} weight="fill" style={{ margin: "0 4px" }} />
113-
<span style={{ color: "var(--gray-11)" }}>
114-
{diffStats.filesChanged}{" "}
115-
{diffStats.filesChanged === 1 ? "file" : "files"}
116-
</span>
117-
<span style={{ color: "var(--green-9)" }}>
118-
+{diffStats.linesAdded}
119-
</span>
120-
<span style={{ color: "var(--red-9)" }}>
121-
-{diffStats.linesRemoved}
122-
</span>
123-
</Text>
124-
)}
101+
{hasDiffStats && (
102+
<Text
103+
size="1"
104+
style={{
105+
color: "var(--gray-9)",
106+
fontFamily: "monospace",
107+
display: "flex",
108+
alignItems: "center",
109+
gap: "6px",
110+
}}
111+
>
112+
<Circle size={4} weight="fill" style={{ margin: "0 4px" }} />
113+
<span style={{ color: "var(--gray-11)" }}>
114+
{diffStats.filesChanged}{" "}
115+
{diffStats.filesChanged === 1 ? "file" : "files"}
116+
</span>
117+
<span style={{ color: "var(--green-9)" }}>
118+
+{diffStats.linesAdded}
119+
</span>
120+
<span style={{ color: "var(--red-9)" }}>
121+
-{diffStats.linesRemoved}
122+
</span>
123+
</Text>
124+
)}
125125
</Flex>
126126
</Select.Trigger>
127127
<Select.Content>

packages/agent/src/adapters/claude/mcp-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ Output: Create directory 'foo'`),
355355
command: input.command,
356356
env: [{ name: "CLAUDECODE", value: "1" }],
357357
sessionId,
358-
outputByteLimit: 32_000n,
358+
outputByteLimit: 32_000,
359359
});
360360

361361
await agent.client.sessionUpdate({

0 commit comments

Comments
 (0)