feat(desktop): show write tool output

This commit is contained in:
Adam 2025-12-16 10:49:22 -06:00
parent ebefb26e8f
commit ff690350b1
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
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