@opencode-ai/client 0.0.0-next-16886 → 0.0.0-next-16892

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -314,6 +314,31 @@ export type Endpoint5_26Input = {
314
314
  readonly follow?: boolean | undefined;
315
315
  };
316
316
  export type Endpoint5_26Output = ({
317
+ readonly id: Event.ID;
318
+ readonly created: DateTime.Utc;
319
+ readonly metadata?: {
320
+ readonly [x: string]: unknown;
321
+ } | undefined;
322
+ readonly type: "session.created";
323
+ readonly durable: {
324
+ readonly aggregateID: string;
325
+ readonly seq: Event.Seq;
326
+ readonly version: Event.Version;
327
+ };
328
+ readonly location?: Location.Ref | undefined;
329
+ readonly data: {
330
+ readonly sessionID: Session.ID;
331
+ readonly projectID: Project.ID;
332
+ readonly location: Location.Ref;
333
+ readonly subpath?: RelativePath | undefined;
334
+ readonly parentID?: Session.ID | undefined;
335
+ readonly slug: string;
336
+ readonly title?: string | undefined;
337
+ readonly agent?: Agent.ID | undefined;
338
+ readonly model?: Model.Ref | undefined;
339
+ readonly version: string;
340
+ };
341
+ } | {
317
342
  readonly id: Event.ID;
318
343
  readonly created: DateTime.Utc;
319
344
  readonly metadata?: {
@@ -2029,18 +2054,37 @@ export interface DebugApi<E = never> {
2029
2054
  readonly evict: DebugLocationEvictOperation<E>;
2030
2055
  };
2031
2056
  }
2032
- export type Endpoint27_0Input = {
2057
+ export type Endpoint27_0Output = {
2058
+ readonly status: "required" | "completed";
2059
+ } | {
2060
+ readonly status: "running";
2061
+ readonly progress: {
2062
+ readonly label: string;
2063
+ readonly numerator?: number | undefined;
2064
+ readonly denominator?: number | undefined;
2065
+ };
2066
+ } | {
2067
+ readonly status: "error";
2068
+ readonly error: string;
2069
+ };
2070
+ export type MigrationV1StatusOperation<E = never> = () => Effect.Effect<Endpoint27_0Output, E>;
2071
+ export interface MigrationApi<E = never> {
2072
+ readonly v1: {
2073
+ readonly status: MigrationV1StatusOperation<E>;
2074
+ };
2075
+ }
2076
+ export type Endpoint28_0Input = {
2033
2077
  readonly location?: {
2034
2078
  readonly directory?: string | undefined;
2035
2079
  readonly workspace?: string | undefined;
2036
2080
  } | undefined;
2037
2081
  };
2038
- export type Endpoint27_0Output = {
2082
+ export type Endpoint28_0Output = {
2039
2083
  readonly location: Location.Info;
2040
2084
  readonly data: ReadonlyArray<WebSearch.Provider>;
2041
2085
  };
2042
- export type WebsearchProvidersOperation<E = never> = (input?: Endpoint27_0Input) => Effect.Effect<Endpoint27_0Output, E>;
2043
- export type Endpoint27_1Input = {
2086
+ export type WebsearchProvidersOperation<E = never> = (input?: Endpoint28_0Input) => Effect.Effect<Endpoint28_0Output, E>;
2087
+ export type Endpoint28_1Input = {
2044
2088
  readonly location?: {
2045
2089
  readonly directory?: string | undefined;
2046
2090
  readonly workspace?: string | undefined;
@@ -2048,11 +2092,11 @@ export type Endpoint27_1Input = {
2048
2092
  readonly query: string;
2049
2093
  readonly providerID?: WebSearch.ID | undefined;
2050
2094
  };
2051
- export type Endpoint27_1Output = {
2095
+ export type Endpoint28_1Output = {
2052
2096
  readonly location: Location.Info;
2053
2097
  readonly data: WebSearch.Response;
2054
2098
  };
2055
- export type WebsearchQueryOperation<E = never> = (input: Endpoint27_1Input) => Effect.Effect<Endpoint27_1Output, E>;
2099
+ export type WebsearchQueryOperation<E = never> = (input: Endpoint28_1Input) => Effect.Effect<Endpoint28_1Output, E>;
2056
2100
  export interface WebsearchApi<E = never> {
2057
2101
  readonly providers: WebsearchProvidersOperation<E>;
2058
2102
  readonly query: WebsearchQueryOperation<E>;
@@ -2085,5 +2129,6 @@ export interface AppApi<E = never> {
2085
2129
  readonly projectCopy: ProjectCopyApi<E>;
2086
2130
  readonly vcs: VcsApi<E>;
2087
2131
  readonly debug: DebugApi<E>;
2132
+ readonly migration: MigrationApi<E>;
2088
2133
  readonly websearch: WebsearchApi<E>;
2089
2134
  }