MCPcopy Index your code
hub / github.com/anomalyco/opencode / import.ts

File import.ts

packages/opencode/src/cli/cmd/import.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { Session as SDKSession, Message, Part } from "@opencode-ai/sdk/v2"
2import { SessionV1 } from "@opencode-ai/core/v1/session"
3import { Session } from "@/session/session"
4import { MessageV2 } from "../../session/message-v2"

Callers

nothing calls this directly

Calls 13

effectCmdFunction · 0.90
parseShareUrlFunction · 0.85
tryFetchFunction · 0.85
transformShareDataFunction · 0.85
writeMethod · 0.80
onConflictDoUpdateMethod · 0.80
insertMethod · 0.80
onConflictDoNothingMethod · 0.80
jsonMethod · 0.65
requestMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected