GeezerVison is showing github.com — Revert "deps: update OpenTUI to 0.4.2 (#33610)" (#33842) · moonug/opencode@98dcea0
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: bun.lock +20-18Lines changed: 20 additions & 18 deletions Collapse file Copy file name to clipboardExpand all lines: package.json +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 39 | 39 | "@octokit/rest": "22.0.0", | 40 | 40 | "@hono/standard-validator": "0.2.0", | 41 | 41 | "@hono/zod-validator": "0.4.2", | 42 | | - "@opentui/core": "0.4.2", | 43 | | - "@opentui/keymap": "0.4.2", | 44 | | - "@opentui/solid": "0.4.2", | | 42 | + "@opentui/core": "0.3.4", | | 43 | + "@opentui/keymap": "0.3.4", | | 44 | + "@opentui/solid": "0.3.4", | 45 | 45 | "@tanstack/solid-virtual": "3.13.28", | 46 | 46 | "@shikijs/stream": "4.2.0", | 47 | 47 | "ulid": "3.0.1", | |
Collapse file Copy file name to clipboardExpand all lines: packages/plugin/package.json +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 27 | 27 | "zod": "catalog:" | 28 | 28 | }, | 29 | 29 | "peerDependencies": { | 30 | | - "@opentui/core": ">=0.4.2", | 31 | | - "@opentui/keymap": ">=0.4.2", | 32 | | - "@opentui/solid": ">=0.4.2" | | 30 | + "@opentui/core": ">=0.3.4", | | 31 | + "@opentui/keymap": ">=0.3.4", | | 32 | + "@opentui/solid": ">=0.3.4" | 33 | 33 | }, | 34 | 34 | "peerDependenciesMeta": { | 35 | 35 | "@opentui/core": { | |
Collapse file Copy file name to clipboardExpand all lines: packages/tui/src/component/dialog-provider.tsx +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -366,8 +366,8 @@ function ApiMethod(props: ApiMethodProps) { | 366 | 366 | <DialogPrompt | 367 | 367 | title={props.title} | 368 | 368 | placeholder="API key" | 369 | | - description={() => | 370 | | - ({ | | 369 | + description={ | | 370 | + { | 371 | 371 | opencode: ( | 372 | 372 | <box gap={1}> | 373 | 373 | <text fg={theme.textMuted}> | @@ -390,7 +390,7 @@ function ApiMethod(props: ApiMethodProps) { | 390 | 390 | </text> | 391 | 391 | </box> | 392 | 392 | ), | 393 | | - })[props.providerID] ?? undefined | | 393 | + }[props.providerID] ?? undefined | 394 | 394 | } | 395 | 395 | onConfirm={async (value) => { | 396 | 396 | if (!value) return | |
Collapse file Copy file name to clipboardExpand all lines: packages/tui/src/routes/session/index.tsx +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1528,7 +1528,7 @@ function AssistantMessage(props: { message: AssistantMessage; parts: Part[]; las | 1528 | 1528 | customBorderChars={SplitBorder.customBorderChars} | 1529 | 1529 | borderColor={theme.error} | 1530 | 1530 | > | 1531 | | - <text fg={theme.textMuted}>{errorMessage(props.message.error)}</text> | | 1531 | + <text fg={theme.textMuted}>{props.message.error?.data.message}</text> | 1532 | 1532 | </box> | 1533 | 1533 | </Show> | 1534 | 1534 | <Switch> | |
Collapse file Copy file name to clipboardExpand all lines: packages/tui/src/ui/dialog-prompt.tsx +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -83,7 +83,7 @@ export function DialogPrompt(props: DialogPromptProps) { | 83 | 83 | </text> | 84 | 84 | </box> | 85 | 85 | <box gap={1}> | 86 | | - {props.description?.()} | | 86 | + {props.description} | 87 | 87 | <textarea | 88 | 88 | height={3} | 89 | 89 | ref={(val: TextareaRenderable) => { | |
|