Update @opencode-ai/plugin and SDK to v1.2.x and align system transform handler signature

- Bump @opencode-ai/plugin ^1.1.19 → ^1.2.16, @opencode-ai/sdk ^1.1.19 → ^1.2.17
- Update system-transform handler input type to match new plugin contract (optional sessionID, required model)
- Add @opencode-ai/sdk override in bun.lock

🤖 Generated with assistance of [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2026-03-05 11:18:12 +09:00
parent 539314653e
commit 646a0d70aa
3 changed files with 46 additions and 38 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
export function createSystemTransformHandler(): (
input: { sessionID: string },
input: { sessionID?: string; model: { id: string; providerID: string; [key: string]: unknown } },
output: { system: string[] },
) => Promise<void> {
return async (): Promise<void> => {}