Skip to content

Commit 5477a90

Browse files
committed
chore: add semi
1 parent 9c4760e commit 5477a90

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

src/commands/ultraplan.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ const call: LocalJSXCommandCall = async (onDone, context, args) => {
512512
// adds the real /ultraplan echo + launch confirmation.
513513
onDone(undefined, { display: 'skip' });
514514
return null;
515-
}
515+
};
516516

517517
export default {
518518
type: 'local-jsx',

src/components/ultraplan/UltraplanChoiceDialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import figures from 'figures';
55
import { Box, Text, useInput, wrapText } from '@anthropic/ink';
66
import { useTerminalSize } from '../../hooks/useTerminalSize.js';
77
import { Select } from '../CustomSelect/select.js';
8-
import { Dialog } from '../design-system/Dialog.js'
8+
import { Dialog } from '../design-system/Dialog.js';
99
import { useSetAppState } from '../../state/AppState.js';
1010
import type { AppState } from '../../state/AppStateStore.js';
1111
import type { Message } from '../../types/message.js';
@@ -19,8 +19,8 @@ import { getCwd } from '../../utils/cwd.js';
1919
import { toRelativePath } from '../../utils/path.js';
2020
import type { UUID } from 'crypto';
2121
import type { FileStateCache } from '../../utils/fileStateCache.js';
22-
import { getTranscriptPath } from 'src/utils/sessionStorage.js'
23-
import { useRegisterOverlay } from 'src/context/overlayContext.js'
22+
import { getTranscriptPath } from 'src/utils/sessionStorage.js';
23+
import { useRegisterOverlay } from 'src/context/overlayContext.js';
2424

2525
/** Maximum visible lines for the plan preview. */
2626
const MAX_VISIBLE_LINES = 24;

src/components/ultraplan/UltraplanLaunchDialog.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import * as React from 'react';
22
import { Box, Text, Link } from '@anthropic/ink';
33
import { Select } from '../CustomSelect/select.js';
4-
import { Dialog } from '../design-system/Dialog.js'
4+
import { Dialog } from '../design-system/Dialog.js';
55
import { useAppState, useSetAppState } from '../../state/AppState.js';
66
import { getGlobalConfig, saveGlobalConfig } from '../../utils/config.js';
77
import { CCR_TERMS_URL } from '../../commands/ultraplan.js';
8-
import { getPromptIdentifier, getDialogConfig, type PromptIdentifier } from 'src/utils/ultraplan/prompt.js'
8+
import { getPromptIdentifier, getDialogConfig, type PromptIdentifier } from 'src/utils/ultraplan/prompt.js';
99

1010
// ---------------------------------------------------------------------------
1111
// Types
@@ -24,11 +24,11 @@ interface UltraplanLaunchDialogProps {
2424
}
2525

2626
function dispatchShowTermsLink(){
27-
return !getGlobalConfig().hasSeenUltraplanTerms
27+
return !getGlobalConfig().hasSeenUltraplanTerms;
2828
}
2929

3030
function dispatchPromptIdentifier() {
31-
return getPromptIdentifier()
31+
return getPromptIdentifier();
3232
}
3333

3434
export function UltraplanLaunchDialog({ onChoice }: UltraplanLaunchDialogProps): React.ReactNode {
@@ -40,7 +40,7 @@ export function UltraplanLaunchDialog({ onChoice }: UltraplanLaunchDialogProps):
4040

4141
// Dialog copy derived from the prompt identifier
4242
const dialogConfig = React.useMemo(() => {
43-
return getDialogConfig(promptIdentifier)
43+
return getDialogConfig(promptIdentifier);
4444
}, [promptIdentifier])
4545

4646
// Whether the remote-control bridge is currently active
@@ -55,28 +55,28 @@ export function UltraplanLaunchDialog({ onChoice }: UltraplanLaunchDialogProps):
5555
const handleChoice = React.useCallback((value: ChoiceValue) => {
5656
// If the user chose "run" while the bridge is enabled, disconnect it
5757
// first so the ultraplan session doesn't collide with remote control.
58-
const disconnectedBridge = value === 'run' && isBridgeEnabled
58+
const disconnectedBridge = value === 'run' && isBridgeEnabled;
5959

6060
if (disconnectedBridge) {
6161
setAppState((prev) => {
6262
if (!prev.replBridgeEnabled) {
63-
return prev
63+
return prev;
6464
}
6565
return {
6666
...prev,
6767
replBridgeEnabled: false,
6868
replBridgeExplicit: false,
6969
replBridgeOutboundOnly: false,
70-
}
71-
})
70+
};
71+
});
7272
}
7373

7474
// Persist that the user has now seen the ultraplan terms
7575
if (value !== 'cancel' && showTermsLink) {
76-
saveGlobalConfig(prev => (prev.hasSeenUltraplanTerms ? prev : { ...prev, hasSeenUltraplanTerms: true }))
76+
saveGlobalConfig(prev => (prev.hasSeenUltraplanTerms ? prev : { ...prev, hasSeenUltraplanTerms: true }));
7777
}
7878

79-
onChoice(value, { disconnectedBridge, promptIdentifier})
79+
onChoice(value, { disconnectedBridge, promptIdentifier});
8080
},
8181
[onChoice, isBridgeEnabled, setAppState, showTermsLink],
8282
)
@@ -96,7 +96,7 @@ export function UltraplanLaunchDialog({ onChoice }: UltraplanLaunchDialogProps):
9696
description: runDescription,
9797
},
9898
{ label: 'Not now', value: 'cancel' as const },
99-
]
99+
];
100100

101101
return (
102102
<Dialog

0 commit comments

Comments
 (0)