fix(core): add session correlation header (#36842)
Co-authored-by: Dustin Deus <deusdustin@gmail.com>
This commit is contained in:
parent
9b8282ad3d
commit
aa8fc4234d
3 changed files with 26 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ import type {
|
|||
SkillInfo,
|
||||
OpenCodeEvent,
|
||||
} from "@opencode-ai/client"
|
||||
import type { Data } from "@opencode-ai/plugin/v2/tui/context"
|
||||
import type { Plugin } from "@opencode-ai/plugin/v2/tui"
|
||||
import { createStore, produce, reconcile } from "solid-js/store"
|
||||
import { createSimpleContext } from "./helper"
|
||||
import { useClient } from "./client"
|
||||
|
|
@ -1108,7 +1108,7 @@ export const { use: useData, provider: DataProvider } = createSimpleContext({
|
|||
},
|
||||
},
|
||||
}
|
||||
result satisfies Data
|
||||
result satisfies Plugin.Context["data"]
|
||||
|
||||
async function bootstrap() {
|
||||
if (bootstrapping) return bootstrapping
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue