mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
sync
This commit is contained in:
parent
7b5f24e176
commit
0ba4940d28
3 changed files with 2 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"typecheck": "tsc --noEmit",
|
||||
"typecheck": "tsc --noEmit --customConditions development --customConditions browser",
|
||||
"dev": "bun run --conditions=development --conditions=browser ./src/index.ts",
|
||||
"build": "./script/build.ts"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -165,7 +165,6 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
|
|||
function Option(props: { id: string; title: string; description?: string; active?: boolean; current?: boolean }) {
|
||||
return (
|
||||
<box
|
||||
// @ts-expect-error
|
||||
id={props.id}
|
||||
flexDirection="row"
|
||||
backgroundColor={props.active ? Theme.primary : RGBA.fromInts(0, 0, 0, 0)}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ export namespace Plugin {
|
|||
const state = Instance.state(async () => {
|
||||
const client = createOpencodeClient({
|
||||
baseUrl: "http://localhost:4096",
|
||||
// @ts-expect-error
|
||||
// @ts-ignore - fetch type incompatibility
|
||||
fetch: async (...args) => Server.App().fetch(...args),
|
||||
})
|
||||
const config = await Config.get()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue