feat(desktop): show write tool output

This commit is contained in:
Adam
2025-12-16 10:49:22 -06:00
parent ebefb26e8f
commit ff690350b1
6 changed files with 311 additions and 277 deletions

View File

@@ -0,0 +1,10 @@
import type { ValidComponent } from "solid-js"
import { createSimpleContext } from "./helper"
const ctx = createSimpleContext<ValidComponent, { component: ValidComponent }>({
name: "CodeComponent",
init: (props) => props.component,
})
export const CodeComponentProvider = ctx.provider
export const useCodeComponent = ctx.use