feat: migrate to OpenCode SDK v2
Update all import statements to use @opencode-ai/sdk/v2 Modify Vite configurations to alias new SDK path Update API client method signatures for SDK v2 compatibility
This commit is contained in:
@@ -12,7 +12,7 @@ import { useSessionStore } from '@/stores/useSessionStore';
|
||||
import { useMessageStore } from '@/stores/messageStore';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { RiLoader4Line, RiSearchLine, RiTimeLine, RiGitBranchLine } from '@remixicon/react';
|
||||
import type { Part } from '@opencode-ai/sdk';
|
||||
import type { Part } from '@opencode-ai/sdk/v2';
|
||||
|
||||
interface TimelineDialogProps {
|
||||
open: boolean;
|
||||
|
||||
Reference in New Issue
Block a user