feat(app): add prompt input story (#32308)

This commit is contained in:
Brendan Allan
2026-06-14 13:40:09 +00:00
committed by GitHub
parent 3e523d506c
commit d37ddc501c
15 changed files with 501 additions and 228 deletions
@@ -12,14 +12,16 @@ const make = (directory: string) => ({
})
const root = "/tmp/story"
const sdk = {
directory: root,
scope: "story-server",
url: "http://localhost:4096",
client: make(root),
createClient(input: { directory: string }) {
return make(input.directory)
},
}
export function useSDK() {
return {
directory: root,
url: "http://localhost:4096",
client: make(root),
createClient(input: { directory: string }) {
return make(input.directory)
},
}
return () => sdk
}