Buckets:
| export * as SessionRunner from "./index" | |
| import type { LLMError } from "@opencode-ai/llm" | |
| import { Context, Effect, Schema } from "effect" | |
| import { SessionSchema } from "../schema" | |
| import type { ContextSnapshotDecodeError, MessageDecodeError } from "../error" | |
| import { SessionRunnerModel } from "./model" | |
| import type { SystemContext } from "../../system-context/index" | |
| import type { SessionContextEpoch } from "../context-epoch" | |
| import type { ToolOutputStore } from "../../tool-output-store" | |
| export class StepLimitExceededError extends Schema.TaggedErrorClass<StepLimitExceededError>()( | |
| "SessionRunner.StepLimitExceededError", | |
| { | |
| sessionID: SessionSchema.ID, | |
| limit: Schema.Int, | |
| }, | |
| ) {} | |
| export type RunError = | |
| | LLMError | |
| | SessionRunnerModel.Error | |
| | MessageDecodeError | |
| | ContextSnapshotDecodeError | |
| | StepLimitExceededError | |
| | SystemContext.InitializationBlocked | |
| | SessionContextEpoch.AgentReplacementBlocked | |
| | ToolOutputStore.Error | |
| /** Runs one local continuation from already-recorded Session history. */ | |
| export interface Interface { | |
| /** Drains eligible durable work. Explicit runs perform one provider attempt even when no work is eligible. */ | |
| readonly run: (input: { | |
| readonly sessionID: SessionSchema.ID | |
| readonly force?: boolean | |
| }) => Effect.Effect<void, RunError> | |
| } | |
| export class Service extends Context.Service<Service, Interface>()("@opencode/v2/SessionRunner") {} | |
Xet Storage Details
- Size:
- 1.42 kB
- Xet hash:
- 7a48aba6b62d8d541c1f5598d54cecc948219760ab7638b68c80a177015315fb
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.