Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
c9638c9
Fix default timeout value.
CarloWood Mar 11, 2026
3058271
fix: use z.input for ToastOptions to make duration optional
ariane-emory Mar 18, 2026
a77cf34
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 18, 2026
c8e3919
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 18, 2026
522877c
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 18, 2026
ebb8a2c
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 18, 2026
84fa365
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 18, 2026
df2c307
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 18, 2026
35fc6e4
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 18, 2026
f11c0fc
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 19, 2026
0946665
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 20, 2026
66b991f
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 20, 2026
743d149
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 24, 2026
1a07000
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 24, 2026
661caf7
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Mar 24, 2026
89fdfe7
Merge branch 'dev' into carlowood--CW00-popup-able-to-connect-to-url
ariane-emory Apr 3, 2026
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 packages/opencode/src/cli/cmd/tui/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const TuiEvent = {
title: z.string().optional(),
message: z.string(),
variant: z.enum(["info", "success", "warning", "error"]),
duration: z.number().default(5000).optional().describe("Duration in milliseconds"),
duration: z.number().optional().default(5000).describe("Duration in milliseconds"),
}),
),
SessionSelect: BusEvent.define(
Expand Down
2 changes: 1 addition & 1 deletion packages/opencode/src/cli/cmd/tui/ui/toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TextAttributes } from "@opentui/core"
import z from "zod"
import { TuiEvent } from "../event"

export type ToastOptions = z.infer<typeof TuiEvent.ToastShow.properties>
export type ToastOptions = z.input<typeof TuiEvent.ToastShow.properties>

export function Toast() {
const toast = useToast()
Expand Down