chore: generate

This commit is contained in:
opencode-agent[bot]
2026-03-02 22:25:39 +00:00
parent 9d7852b5c3
commit b5dc6e670a
6 changed files with 84 additions and 31 deletions

View File

@@ -256,10 +256,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
pendingAutoAccept: false,
})
const buttonsSpring = useSpring(
() => (store.mode === "normal" ? 1 : 0),
{ visualDuration: 0.2, bounce: 0 },
)
const buttonsSpring = useSpring(() => (store.mode === "normal" ? 1 : 0), { visualDuration: 0.2, bounce: 0 })
const commentCount = createMemo(() => {
if (store.mode === "shell") return 0

View File

@@ -73,10 +73,7 @@ export function SessionComposerRegion(props: {
bounce: props.dockCloseBounce ?? props.bounce ?? 0,
},
)
const progress = useSpring(
() => (open() ? 1 : 0),
config,
)
const progress = useSpring(() => (open() ? 1 : 0), config)
const value = createMemo(() => Math.max(0, Math.min(1, progress())))
const [height, setHeight] = createSignal(320)
const dock = createMemo(() => props.state.dock() || value() > 0.001)

View File

@@ -29,11 +29,7 @@ export function createSessionComposerBlocked() {
})
}
export function createSessionComposerState(
options?: {
closeMs?: number | (() => number)
},
) {
export function createSessionComposerState(options?: { closeMs?: number | (() => number) }) {
const params = useParams()
const sdk = useSDK()
const sync = useSync()