GHHG10's picture
download
raw
748 Bytes
export * as Tool from "./tool"
import { Effect, Scope } from "effect"
import type { AnyTool, RegistrationError } from "../tool/tool"
export { Failure, RegistrationError, make } from "../tool/tool"
export type { AnyTool, Content, Context, Definition } from "../tool/tool"
export interface Interface {
/**
* Register same-process tools on this OpenCode instance for the current Scope.
* Location tools with the same name take precedence where they are installed.
* Closing the Scope removes the tools immediately, so calls that have not
* started settling may fail because the tool is no longer available.
*/
readonly register: (tools: Readonly<Record<string, AnyTool>>) => Effect.Effect<void, RegistrationError, Scope.Scope>
}

Xet Storage Details

Size:
748 Bytes
·
Xet hash:
3af201d60fa004e2a5348cb088bf4cf5bcc3d8e1cde0d2762e1925adf071ad1f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.