MCPcopy Create free account
hub / github.com/arctic-cli/interface / fork

Method fork

packages/sdk/js/src/gen/sdk.gen.ts:537–546  ·  view source on GitHub ↗

* Fork an existing session at a specific message

(options: Options<SessionForkData, ThrowOnError>)

Source from the content-addressed store, hash-verified

535 * Fork an existing session at a specific message
536 */
537 public fork<ThrowOnError extends boolean = false>(options: Options<SessionForkData, ThrowOnError>) {
538 return (options.client ?? this._client).post<SessionForkResponses, unknown, ThrowOnError>({
539 url: "/session/{id}/fork",
540 ...options,
541 headers: {
542 "Content-Type": "application/json",
543 ...options.headers,
544 },
545 })
546 }
547
548 /**
549 * Abort a session

Callers 3

session.tsFile · 0.45
DialogMessageFunction · 0.45
server.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected