chore: generate
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
import type {
|
import type { AgentSideConnection, PermissionOption, RequestPermissionResponse } from "@agentclientprotocol/sdk"
|
||||||
AgentSideConnection,
|
|
||||||
PermissionOption,
|
|
||||||
RequestPermissionResponse,
|
|
||||||
} from "@agentclientprotocol/sdk"
|
|
||||||
import * as Log from "@opencode-ai/core/util/log"
|
import * as Log from "@opencode-ai/core/util/log"
|
||||||
import type { Event, OpencodeClient } from "@opencode-ai/sdk/v2"
|
import type { Event, OpencodeClient } from "@opencode-ai/sdk/v2"
|
||||||
import { applyPatch } from "diff"
|
import { applyPatch } from "diff"
|
||||||
|
|||||||
@@ -71,7 +71,12 @@ async function createSession(session: ACPNextSession.Interface, sessionId: strin
|
|||||||
await Effect.runPromise(session.create({ id: sessionId, cwd }))
|
await Effect.runPromise(session.create({ id: sessionId, cwd }))
|
||||||
}
|
}
|
||||||
|
|
||||||
async function createKnownTextPart(session: ACPNextSession.Interface, sessionId: string, messageId: string, partId: string) {
|
async function createKnownTextPart(
|
||||||
|
session: ACPNextSession.Interface,
|
||||||
|
sessionId: string,
|
||||||
|
messageId: string,
|
||||||
|
partId: string,
|
||||||
|
) {
|
||||||
await Effect.runPromise(
|
await Effect.runPromise(
|
||||||
session.recordPartMetadata({
|
session.recordPartMetadata({
|
||||||
sessionId,
|
sessionId,
|
||||||
|
|||||||
Reference in New Issue
Block a user