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

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.
@@ -494,231 +494,6 @@ export type SkillInfo = {
494
494
  location: string;
495
495
  content: string;
496
496
  };
497
- export type FileDiffLegacyInfo = {
498
- file?: string;
499
- patch?: string;
500
- additions: number;
501
- deletions: number;
502
- status?: "added" | "deleted" | "modified";
503
- };
504
- export type PermissionV1Action = "allow" | "deny" | "ask";
505
- export type SessionV1JSONSchema = {
506
- [x: string]: any;
507
- };
508
- export type ProviderAuthError = {
509
- name: "ProviderAuthError";
510
- data: {
511
- providerID: string;
512
- message: string;
513
- };
514
- };
515
- export type UnknownError2 = {
516
- name: "UnknownError";
517
- data: {
518
- message: string;
519
- ref?: string | undefined;
520
- };
521
- };
522
- export type MessageOutputLengthError = {
523
- name: "MessageOutputLengthError";
524
- data: {};
525
- };
526
- export type MessageAbortedError = {
527
- name: "MessageAbortedError";
528
- data: {
529
- message: string;
530
- };
531
- };
532
- export type StructuredOutputError = {
533
- name: "StructuredOutputError";
534
- data: {
535
- message: string;
536
- retries: number;
537
- };
538
- };
539
- export type ContextOverflowError = {
540
- name: "ContextOverflowError";
541
- data: {
542
- message: string;
543
- responseBody?: string | undefined;
544
- };
545
- };
546
- export type ContentFilterError = {
547
- name: "ContentFilterError";
548
- data: {
549
- message: string;
550
- };
551
- };
552
- export type APIError = {
553
- name: "APIError";
554
- data: {
555
- message: string;
556
- statusCode?: number | undefined;
557
- isRetryable: boolean;
558
- responseHeaders?: {
559
- [x: string]: string;
560
- } | undefined;
561
- responseBody?: string | undefined;
562
- metadata?: {
563
- [x: string]: string;
564
- } | undefined;
565
- };
566
- };
567
- export type SessionV1TextPart = {
568
- id: string;
569
- sessionID: string;
570
- messageID: string;
571
- type: "text";
572
- text: string;
573
- synthetic?: boolean | undefined;
574
- ignored?: boolean | undefined;
575
- time?: {
576
- start: number;
577
- end?: number | undefined;
578
- } | undefined;
579
- metadata?: {
580
- [x: string]: any;
581
- } | undefined;
582
- };
583
- export type SessionV1SubtaskPart = {
584
- id: string;
585
- sessionID: string;
586
- messageID: string;
587
- type: "subtask";
588
- prompt: string;
589
- description: string;
590
- agent: string;
591
- model?: {
592
- providerID: string;
593
- modelID: string;
594
- } | undefined;
595
- command?: string | undefined;
596
- };
597
- export type SessionV1ReasoningPart = {
598
- id: string;
599
- sessionID: string;
600
- messageID: string;
601
- type: "reasoning";
602
- text: string;
603
- metadata?: {
604
- [x: string]: any;
605
- } | undefined;
606
- time: {
607
- start: number;
608
- end?: number | undefined;
609
- };
610
- };
611
- export type SessionV1FilePartSourceText = {
612
- value: string;
613
- start: number;
614
- end: number;
615
- };
616
- export type SessionV1Range = {
617
- start: {
618
- line: number;
619
- character: number;
620
- };
621
- end: {
622
- line: number;
623
- character: number;
624
- };
625
- };
626
- export type SessionV1ToolStatePending = {
627
- status: "pending";
628
- input: {
629
- [x: string]: any;
630
- };
631
- raw: string;
632
- };
633
- export type SessionV1ToolStateRunning = {
634
- status: "running";
635
- input: {
636
- [x: string]: any;
637
- };
638
- title?: string | undefined;
639
- metadata?: {
640
- [x: string]: any;
641
- } | undefined;
642
- time: {
643
- start: number;
644
- };
645
- };
646
- export type SessionV1ToolStateError = {
647
- status: "error";
648
- input: {
649
- [x: string]: any;
650
- };
651
- error: string;
652
- metadata?: {
653
- [x: string]: any;
654
- } | undefined;
655
- time: {
656
- start: number;
657
- end: number;
658
- };
659
- };
660
- export type SessionV1StepStartPart = {
661
- id: string;
662
- sessionID: string;
663
- messageID: string;
664
- type: "step-start";
665
- snapshot?: string | undefined;
666
- };
667
- export type SessionV1StepFinishPart = {
668
- id: string;
669
- sessionID: string;
670
- messageID: string;
671
- type: "step-finish";
672
- reason: string;
673
- snapshot?: string | undefined;
674
- cost: number;
675
- tokens: {
676
- total?: number | undefined;
677
- input: number;
678
- output: number;
679
- reasoning: number;
680
- cache: {
681
- read: number;
682
- write: number;
683
- };
684
- };
685
- };
686
- export type SessionV1SnapshotPart = {
687
- id: string;
688
- sessionID: string;
689
- messageID: string;
690
- type: "snapshot";
691
- snapshot: string;
692
- };
693
- export type SessionV1PatchPart = {
694
- id: string;
695
- sessionID: string;
696
- messageID: string;
697
- type: "patch";
698
- hash: string;
699
- files: Array<string>;
700
- };
701
- export type SessionV1AgentPart = {
702
- id: string;
703
- sessionID: string;
704
- messageID: string;
705
- type: "agent";
706
- name: string;
707
- source?: {
708
- value: string;
709
- start: number;
710
- end: number;
711
- } | undefined;
712
- };
713
- export type SessionV1CompactionPart = {
714
- id: string;
715
- sessionID: string;
716
- messageID: string;
717
- type: "compaction";
718
- auto: boolean;
719
- overflow?: boolean | undefined;
720
- tail_start_id?: string | undefined;
721
- };
722
497
  export type PermissionReply = "once" | "always" | "reject";
723
498
  export type Pty = {
724
499
  id: string;
@@ -854,6 +629,32 @@ export type PermissionRule = {
854
629
  resource: string;
855
630
  effect: PermissionEffect;
856
631
  };
632
+ export type SessionCreated = {
633
+ id: string;
634
+ created: number;
635
+ metadata?: {
636
+ [x: string]: any;
637
+ };
638
+ type: "session.created";
639
+ durable: {
640
+ aggregateID: string;
641
+ seq: number;
642
+ version: 1;
643
+ };
644
+ location?: LocationRef;
645
+ data: {
646
+ sessionID: string;
647
+ projectID: string;
648
+ location: LocationRef;
649
+ subpath?: string;
650
+ parentID?: string;
651
+ slug: string;
652
+ title?: string;
653
+ agent?: string;
654
+ model?: ModelRef;
655
+ version: string;
656
+ };
657
+ };
857
658
  export type SessionAgentSelected = {
858
659
  id: string;
859
660
  created: number;
@@ -1368,43 +1169,6 @@ export type AgentUpdated = {
1368
1169
  location?: LocationRef;
1369
1170
  data: {};
1370
1171
  };
1371
- export type MessageRemoved = {
1372
- id: string;
1373
- created: number;
1374
- metadata?: {
1375
- [x: string]: any;
1376
- };
1377
- type: "message.removed";
1378
- durable: {
1379
- aggregateID: string;
1380
- seq: number;
1381
- version: 1;
1382
- };
1383
- location?: LocationRef;
1384
- data: {
1385
- sessionID: string;
1386
- messageID: string;
1387
- };
1388
- };
1389
- export type MessagePartRemoved = {
1390
- id: string;
1391
- created: number;
1392
- metadata?: {
1393
- [x: string]: any;
1394
- };
1395
- type: "message.part.removed";
1396
- durable: {
1397
- aggregateID: string;
1398
- seq: number;
1399
- version: 1;
1400
- };
1401
- location?: LocationRef;
1402
- data: {
1403
- sessionID: string;
1404
- messageID: string;
1405
- partID: string;
1406
- };
1407
- };
1408
1172
  export type SessionUsageUpdated = {
1409
1173
  id: string;
1410
1174
  created: number;
@@ -2239,95 +2003,6 @@ export type PermissionAsked = {
2239
2003
  source?: PermissionSource;
2240
2004
  };
2241
2005
  };
2242
- export type PermissionV1Rule = {
2243
- permission: string;
2244
- pattern: string;
2245
- action: PermissionV1Action;
2246
- };
2247
- export type SessionV1OutputFormat = {
2248
- type: "text";
2249
- } | {
2250
- type: "json_schema";
2251
- schema: SessionV1JSONSchema;
2252
- retryCount?: number | undefined | undefined;
2253
- };
2254
- export type SessionV1AssistantMessage = {
2255
- id: string;
2256
- sessionID: string;
2257
- role: "assistant";
2258
- time: {
2259
- created: number;
2260
- completed?: number | undefined;
2261
- };
2262
- error?: ProviderAuthError | UnknownError2 | MessageOutputLengthError | MessageAbortedError | StructuredOutputError | ContextOverflowError | ContentFilterError | APIError | undefined;
2263
- parentID: string;
2264
- modelID: string;
2265
- providerID: string;
2266
- mode: string;
2267
- agent: string;
2268
- path: {
2269
- cwd: string;
2270
- root: string;
2271
- };
2272
- summary?: boolean | undefined;
2273
- cost: number;
2274
- tokens: {
2275
- total?: number | undefined;
2276
- input: number;
2277
- output: number;
2278
- reasoning: number;
2279
- cache: {
2280
- read: number;
2281
- write: number;
2282
- };
2283
- };
2284
- structured?: any | undefined;
2285
- variant?: string | undefined;
2286
- finish?: string | undefined;
2287
- };
2288
- export type SessionV1RetryPart = {
2289
- id: string;
2290
- sessionID: string;
2291
- messageID: string;
2292
- type: "retry";
2293
- attempt: number;
2294
- error: APIError;
2295
- time: {
2296
- created: number;
2297
- };
2298
- };
2299
- export type SessionError = {
2300
- id: string;
2301
- created: number;
2302
- metadata?: {
2303
- [x: string]: any;
2304
- };
2305
- type: "session.error";
2306
- location?: LocationRef;
2307
- data: {
2308
- sessionID?: string | undefined;
2309
- error?: ProviderAuthError | UnknownError2 | MessageOutputLengthError | MessageAbortedError | StructuredOutputError | ContextOverflowError | ContentFilterError | APIError | undefined;
2310
- };
2311
- };
2312
- export type SessionV1FileSource = {
2313
- text: SessionV1FilePartSourceText;
2314
- type: "file";
2315
- path: string;
2316
- };
2317
- export type SessionV1ResourceSource = {
2318
- text: SessionV1FilePartSourceText;
2319
- type: "resource";
2320
- clientName: string;
2321
- uri: string;
2322
- };
2323
- export type SessionV1SymbolSource = {
2324
- text: SessionV1FilePartSourceText;
2325
- type: "symbol";
2326
- path: string;
2327
- range: SessionV1Range;
2328
- name: string;
2329
- kind: number;
2330
- };
2331
2006
  export type PermissionReplied = {
2332
2007
  id: string;
2333
2008
  created: number;
@@ -2667,32 +2342,6 @@ export type FormReplied = {
2667
2342
  answer: FormAnswer;
2668
2343
  };
2669
2344
  };
2670
- export type PermissionV1Ruleset = Array<PermissionV1Rule>;
2671
- export type SessionV1UserMessage = {
2672
- id: string;
2673
- sessionID: string;
2674
- role: "user";
2675
- time: {
2676
- created: number;
2677
- };
2678
- format?: SessionV1OutputFormat | undefined;
2679
- summary?: {
2680
- title?: string | undefined;
2681
- body?: string | undefined;
2682
- diffs: Array<FileDiffLegacyInfo>;
2683
- } | undefined;
2684
- agent: string;
2685
- model: {
2686
- providerID: string;
2687
- modelID: string;
2688
- variant?: string | undefined;
2689
- };
2690
- system?: string | undefined;
2691
- tools?: {
2692
- [x: string]: boolean;
2693
- } | undefined;
2694
- };
2695
- export type SessionV1FilePartSource = SessionV1FileSource | SessionV1SymbolSource | SessionV1ResourceSource;
2696
2345
  export type QuestionAsked = {
2697
2346
  id: string;
2698
2347
  created: number;
@@ -2771,69 +2420,6 @@ export type SessionMessageAssistantTool = {
2771
2420
  };
2772
2421
  export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
2773
2422
  export type FormFields = [FormField, ...Array<FormField>];
2774
- export type SessionV1Info = {
2775
- id: string;
2776
- slug: string;
2777
- projectID: string;
2778
- workspaceID?: string;
2779
- directory: string;
2780
- path?: string;
2781
- parentID?: string;
2782
- summary?: {
2783
- additions: number;
2784
- deletions: number;
2785
- files: number;
2786
- diffs?: Array<FileDiffLegacyInfo>;
2787
- };
2788
- cost?: number;
2789
- tokens?: {
2790
- input: number;
2791
- output: number;
2792
- reasoning: number;
2793
- cache: {
2794
- read: number;
2795
- write: number;
2796
- };
2797
- };
2798
- share?: {
2799
- url: string;
2800
- };
2801
- title?: string;
2802
- agent?: string;
2803
- model?: {
2804
- id: string;
2805
- providerID: string;
2806
- variant?: string;
2807
- };
2808
- version: string;
2809
- metadata?: {
2810
- [x: string]: any;
2811
- };
2812
- time: {
2813
- created: number;
2814
- updated: number;
2815
- compacting?: number;
2816
- archived?: number;
2817
- };
2818
- permission?: PermissionV1Ruleset;
2819
- revert?: {
2820
- messageID: string;
2821
- partID?: string;
2822
- snapshot?: string;
2823
- diff?: string;
2824
- };
2825
- };
2826
- export type SessionV1Message = SessionV1UserMessage | SessionV1AssistantMessage;
2827
- export type SessionV1FilePart = {
2828
- id: string;
2829
- sessionID: string;
2830
- messageID: string;
2831
- type: "file";
2832
- mime: string;
2833
- filename?: string | undefined;
2834
- url: string;
2835
- source?: SessionV1FilePartSource | undefined;
2836
- };
2837
2423
  export type FormFields1 = [FormField1, ...Array<FormField1>];
2838
2424
  export type SessionPendingInfo = SessionPendingUser | SessionPendingSynthetic | SessionPendingCompaction;
2839
2425
  export type SessionPendingMessage = SessionPendingUserMessage | SessionPendingSyntheticMessage;
@@ -2874,95 +2460,6 @@ export type FormInfo = {
2874
2460
  metadata?: FormMetadata;
2875
2461
  fields: FormFields;
2876
2462
  };
2877
- export type SessionCreated = {
2878
- id: string;
2879
- created: number;
2880
- metadata?: {
2881
- [x: string]: any;
2882
- };
2883
- type: "session.created";
2884
- durable: {
2885
- aggregateID: string;
2886
- seq: number;
2887
- version: 1;
2888
- };
2889
- location?: LocationRef;
2890
- data: {
2891
- sessionID: string;
2892
- info: SessionV1Info;
2893
- };
2894
- };
2895
- export type SessionUpdated = {
2896
- id: string;
2897
- created: number;
2898
- metadata?: {
2899
- [x: string]: any;
2900
- };
2901
- type: "session.updated";
2902
- durable: {
2903
- aggregateID: string;
2904
- seq: number;
2905
- version: 1;
2906
- };
2907
- location?: LocationRef;
2908
- data: {
2909
- sessionID: string;
2910
- info: SessionV1Info;
2911
- };
2912
- };
2913
- export type SessionDeleted1 = {
2914
- id: string;
2915
- created: number;
2916
- metadata?: {
2917
- [x: string]: any;
2918
- };
2919
- type: "session.deleted";
2920
- durable: {
2921
- aggregateID: string;
2922
- seq: number;
2923
- version: 1;
2924
- };
2925
- location?: LocationRef;
2926
- data: {
2927
- sessionID: string;
2928
- info: SessionV1Info;
2929
- };
2930
- };
2931
- export type MessageUpdated = {
2932
- id: string;
2933
- created: number;
2934
- metadata?: {
2935
- [x: string]: any;
2936
- };
2937
- type: "message.updated";
2938
- durable: {
2939
- aggregateID: string;
2940
- seq: number;
2941
- version: 1;
2942
- };
2943
- location?: LocationRef;
2944
- data: {
2945
- sessionID: string;
2946
- info: SessionV1Message;
2947
- };
2948
- };
2949
- export type SessionV1ToolStateCompleted = {
2950
- status: "completed";
2951
- input: {
2952
- [x: string]: any;
2953
- };
2954
- output: string;
2955
- title: string;
2956
- metadata: {
2957
- [x: string]: any;
2958
- };
2959
- time: {
2960
- start: number;
2961
- end: number;
2962
- compacted?: number | undefined;
2963
- };
2964
- attachments?: Array<SessionV1FilePart> | undefined;
2965
- };
2966
2463
  export type FormInfo1 = {
2967
2464
  id: string;
2968
2465
  sessionID: string;
@@ -2990,7 +2487,6 @@ export type SessionInputAdmitted = {
2990
2487
  };
2991
2488
  };
2992
2489
  export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
2993
- export type SessionV1ToolState = SessionV1ToolStatePending | SessionV1ToolStateRunning | SessionV1ToolStateCompleted | SessionV1ToolStateError;
2994
2490
  export type FormCreated = {
2995
2491
  id: string;
2996
2492
  created: number;
@@ -3003,7 +2499,7 @@ export type FormCreated = {
3003
2499
  form: FormInfo1;
3004
2500
  };
3005
2501
  };
3006
- export type SessionEventDurable = SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded;
2502
+ export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded;
3007
2503
  export type SessionMessagesResponse = {
3008
2504
  data: Array<SessionMessageInfo>;
3009
2505
  cursor: {
@@ -3011,40 +2507,8 @@ export type SessionMessagesResponse = {
3011
2507
  next?: string | null;
3012
2508
  };
3013
2509
  };
3014
- export type SessionV1ToolPart = {
3015
- id: string;
3016
- sessionID: string;
3017
- messageID: string;
3018
- type: "tool";
3019
- callID: string;
3020
- tool: string;
3021
- state: SessionV1ToolState;
3022
- metadata?: {
3023
- [x: string]: any;
3024
- } | undefined;
3025
- };
2510
+ export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionAsked | QuestionReplied | QuestionRejected | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
3026
2511
  export type SessionLogItem = SessionEventDurable | EventLogSynced;
3027
- export type SessionV1Part = SessionV1TextPart | SessionV1SubtaskPart | SessionV1ReasoningPart | SessionV1FilePart | SessionV1ToolPart | SessionV1StepStartPart | SessionV1StepFinishPart | SessionV1SnapshotPart | SessionV1PatchPart | SessionV1AgentPart | SessionV1RetryPart | SessionV1CompactionPart;
3028
- export type MessagePartUpdated = {
3029
- id: string;
3030
- created: number;
3031
- metadata?: {
3032
- [x: string]: any;
3033
- };
3034
- type: "message.part.updated";
3035
- durable: {
3036
- aggregateID: string;
3037
- seq: number;
3038
- version: 1;
3039
- };
3040
- location?: LocationRef;
3041
- data: {
3042
- sessionID: string;
3043
- part: SessionV1Part;
3044
- time: number;
3045
- };
3046
- };
3047
- export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted1 | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionAsked | QuestionReplied | QuestionRejected | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | SessionError | V2EventServerConnected;
3048
2512
  export type UnauthorizedError = {
3049
2513
  readonly _tag: "UnauthorizedError";
3050
2514
  readonly message: string;
@@ -6560,6 +6024,19 @@ export type DebugLocationEvictInput = {
6560
6024
  }["location"];
6561
6025
  };
6562
6026
  export type DebugLocationEvictOutput = void;
6027
+ export type MigrationV1StatusOutput = {
6028
+ status: "required" | "completed";
6029
+ } | {
6030
+ status: "running";
6031
+ progress: {
6032
+ label: string;
6033
+ numerator?: number | undefined;
6034
+ denominator?: number | undefined;
6035
+ };
6036
+ } | {
6037
+ status: "error";
6038
+ error: string;
6039
+ };
6563
6040
  export type WebsearchProvidersInput = {
6564
6041
  readonly location?: {
6565
6042
  readonly location?: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/client",
4
- "version": "0.0.0-next-16886",
4
+ "version": "0.0.0-next-16893",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -53,8 +53,8 @@
53
53
  "typecheck": "tsgo --noEmit"
54
54
  },
55
55
  "dependencies": {
56
- "@opencode-ai/schema": "0.0.0-next-16886",
57
- "@opencode-ai/protocol": "0.0.0-next-16886"
56
+ "@opencode-ai/schema": "0.0.0-next-16893",
57
+ "@opencode-ai/protocol": "0.0.0-next-16893"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "effect": "4.0.0-beta.101"
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@effect/platform-node": "4.0.0-beta.101",
69
- "@opencode-ai/httpapi-codegen": "0.0.0-next-16886",
69
+ "@opencode-ai/httpapi-codegen": "0.0.0-next-16893",
70
70
  "@tsconfig/bun": "1.0.9",
71
71
  "@types/bun": "1.3.13",
72
72
  "@typescript/native-preview": "7.0.0-dev.20251207.1",