Buckets:
| /** @jsxImportSource @opentui/solid */ | |
| import { | |
| TuiPathsProvider, | |
| TuiStartupProvider, | |
| TuiTerminalEnvironmentProvider, | |
| type TuiPaths, | |
| } from "../../src/context/runtime" | |
| import type { ParentProps } from "solid-js" | |
| export function TestTuiContexts( | |
| props: ParentProps<{ | |
| cwd?: string | |
| directory?: string | |
| paths?: Partial<TuiPaths> | |
| }>, | |
| ) { | |
| return ( | |
| <TuiPathsProvider | |
| value={{ | |
| cwd: props.cwd ?? props.directory ?? "/tmp/opencode/packages/tui", | |
| home: "/tmp/opencode/home", | |
| state: "/tmp/opencode/state", | |
| worktree: "/tmp/opencode", | |
| ...props.paths, | |
| }} | |
| > | |
| <TuiTerminalEnvironmentProvider value={{ platform: "linux" }}> | |
| <TuiStartupProvider value={{ skipInitialLoading: false }}>{props.children}</TuiStartupProvider> | |
| </TuiTerminalEnvironmentProvider> | |
| </TuiPathsProvider> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 871 Bytes
- Xet hash:
- 9c9bc59a2c2f00e637193310d4100ebdd2e84ea6bdd1a03f11738108c713992d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.