@nikcli-ai/sdk 1.160.0 → 1.162.0

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.
@@ -0,0 +1,2150 @@
1
+ export type InstanceDisposeResult = boolean;
2
+ export type Path = {
3
+ home: string;
4
+ state: string;
5
+ config: string;
6
+ worktree: string;
7
+ directory: string;
8
+ };
9
+ export type VcsInfo = {
10
+ branch?: string | undefined;
11
+ };
12
+ export type VcsFileStatus = {
13
+ file: string;
14
+ additions: number;
15
+ deletions: number;
16
+ status: "added" | "deleted" | "modified";
17
+ };
18
+ export type VcsApplyResult = {
19
+ applied: boolean;
20
+ };
21
+ export type Command = {
22
+ name: string;
23
+ description?: string | undefined;
24
+ agent?: string | undefined;
25
+ model?: string | undefined;
26
+ mcp?: boolean | undefined;
27
+ skill?: boolean | undefined;
28
+ template: any;
29
+ subtask?: boolean | undefined;
30
+ hints: Array<string>;
31
+ };
32
+ export type Agent = {
33
+ name: string;
34
+ description?: string | undefined;
35
+ mode: "subagent" | "primary" | "all";
36
+ native?: boolean | undefined;
37
+ hidden?: boolean | undefined;
38
+ topP?: number | undefined;
39
+ temperature?: number | undefined;
40
+ color?: string | undefined;
41
+ permission: Array<{
42
+ permission: string;
43
+ pattern: string;
44
+ action: "allow" | "deny" | "ask";
45
+ }>;
46
+ model?: {
47
+ modelID: string;
48
+ providerID: string;
49
+ } | undefined;
50
+ advisor?: {
51
+ model: {
52
+ modelID: string;
53
+ providerID: string;
54
+ };
55
+ maxUses?: number | undefined;
56
+ } | undefined;
57
+ variant?: string | undefined;
58
+ prompt?: string | undefined;
59
+ options: {
60
+ [x: string]: any;
61
+ };
62
+ steps?: number | undefined;
63
+ };
64
+ export type Skill = {
65
+ name: string;
66
+ description: string;
67
+ location: string;
68
+ category?: string | undefined;
69
+ tags?: Array<string> | undefined;
70
+ version?: string | undefined;
71
+ };
72
+ export type LSPStatus = {
73
+ id: string;
74
+ name: string;
75
+ root: string;
76
+ status: "connected" | "error";
77
+ };
78
+ export type FormatterStatus = {
79
+ name: string;
80
+ extensions: Array<string>;
81
+ enabled: boolean;
82
+ };
83
+ export type AppSkillInfo = {
84
+ name: string;
85
+ description: string;
86
+ location: string;
87
+ category?: string | undefined;
88
+ tags?: Array<string> | undefined;
89
+ version?: string | undefined;
90
+ };
91
+ export type BrainStatus = {
92
+ enabled: boolean;
93
+ memoryEnabled: boolean;
94
+ minHours: number;
95
+ minSessions: number;
96
+ lastBrainAt: number;
97
+ hoursSinceLastBrain: number;
98
+ sessionsSinceLastBrain: number;
99
+ shouldTrigger: boolean;
100
+ model?: {
101
+ providerID: string;
102
+ modelID: string;
103
+ } | undefined;
104
+ };
105
+ export type BrainResult = {
106
+ success: boolean;
107
+ sessionsReviewed: number;
108
+ hoursSinceLastBrain: number;
109
+ error?: string | undefined;
110
+ sessionID?: string | undefined;
111
+ };
112
+ export type Config = {
113
+ [x: string]: any;
114
+ };
115
+ export type Provider = {
116
+ id: string;
117
+ name: string;
118
+ source: "env" | "config" | "custom" | "api";
119
+ env: Array<string>;
120
+ key?: string | undefined;
121
+ options: {
122
+ [x: string]: any;
123
+ };
124
+ models: {
125
+ [x: string]: {
126
+ id: string;
127
+ providerID?: string | undefined;
128
+ name: string;
129
+ family?: string | undefined;
130
+ cost?: any | undefined;
131
+ limit?: any | undefined;
132
+ api?: any | undefined;
133
+ status?: string | undefined;
134
+ options: {
135
+ [x: string]: any;
136
+ };
137
+ headers: {
138
+ [x: string]: string;
139
+ };
140
+ release_date: string;
141
+ variants?: {
142
+ [x: string]: any;
143
+ } | undefined;
144
+ };
145
+ };
146
+ };
147
+ export type ConnectorsSuccess = {
148
+ success: true;
149
+ };
150
+ export type DoctorCheck = {
151
+ ok: boolean;
152
+ label: string;
153
+ detail?: string | undefined;
154
+ fix?: string | undefined;
155
+ };
156
+ export type ToolIDs = Array<string>;
157
+ export type ToolListItem = {
158
+ id: string;
159
+ description: string;
160
+ parameters: any;
161
+ };
162
+ export type Worktree = {
163
+ name: string;
164
+ branch?: string | undefined;
165
+ directory: string;
166
+ };
167
+ export type WorktreeList = Array<string>;
168
+ export type McpResource = {
169
+ name: string;
170
+ uri: string;
171
+ description?: string | undefined;
172
+ mimeType?: string | undefined;
173
+ client: string;
174
+ };
175
+ export type ManagedWorktreeInfo = {
176
+ id: string;
177
+ parentId: string | null;
178
+ name: string;
179
+ branch: string;
180
+ directory: string;
181
+ createdAt: number;
182
+ };
183
+ export type SearchMatch = {
184
+ path: {
185
+ text: string;
186
+ };
187
+ lines: {
188
+ text: string;
189
+ };
190
+ line_number: number;
191
+ absolute_offset: number;
192
+ submatches: Array<{
193
+ match: {
194
+ text: string;
195
+ };
196
+ start: number;
197
+ end: number;
198
+ }>;
199
+ };
200
+ export type Symbol = {
201
+ name: string;
202
+ kind: number;
203
+ location: {
204
+ uri: string;
205
+ range: {
206
+ start: {
207
+ line: number;
208
+ character: number;
209
+ };
210
+ end: {
211
+ line: number;
212
+ character: number;
213
+ };
214
+ };
215
+ };
216
+ };
217
+ export type FileNode = {
218
+ name: string;
219
+ path: string;
220
+ absolute: string;
221
+ type: "file" | "directory";
222
+ ignored: boolean;
223
+ };
224
+ export type FileContent = {
225
+ type: "text";
226
+ content: string;
227
+ diff?: string | undefined;
228
+ patch?: {
229
+ oldFileName: string;
230
+ newFileName: string;
231
+ oldHeader?: string | undefined;
232
+ newHeader?: string | undefined;
233
+ hunks: Array<{
234
+ oldStart: number;
235
+ oldLines: number;
236
+ newStart: number;
237
+ newLines: number;
238
+ lines: Array<string>;
239
+ }>;
240
+ index?: string | undefined;
241
+ } | undefined;
242
+ encoding?: "base64" | undefined;
243
+ mimeType?: string | undefined;
244
+ };
245
+ export type FileWriteResult = {
246
+ success: boolean;
247
+ };
248
+ export type File = {
249
+ path: string;
250
+ added: number;
251
+ removed: number;
252
+ status: "added" | "deleted" | "modified";
253
+ };
254
+ export type GlobalHealth = {
255
+ healthy: true;
256
+ version: string;
257
+ };
258
+ export type MCPStatus = {
259
+ status: "connected";
260
+ } | {
261
+ status: "disabled";
262
+ } | {
263
+ status: "failed";
264
+ error: string;
265
+ } | {
266
+ status: "needs_auth";
267
+ } | {
268
+ status: "needs_client_registration";
269
+ error: string;
270
+ };
271
+ export type McpStartAuthResponse = {
272
+ authorizationUrl: string;
273
+ };
274
+ export type McpMutationSuccess = {
275
+ success: true;
276
+ };
277
+ export type MissionBooleanResult = boolean;
278
+ export type Project = {
279
+ id: string;
280
+ worktree: string;
281
+ vcs?: "git" | undefined;
282
+ name?: string | undefined;
283
+ icon?: {
284
+ url?: string | undefined;
285
+ override?: string | undefined;
286
+ color?: string | undefined;
287
+ } | undefined;
288
+ time: {
289
+ created: number;
290
+ updated: number;
291
+ initialized?: number | undefined;
292
+ };
293
+ sandboxes: Array<string>;
294
+ };
295
+ export type ProviderAuthMethod = {
296
+ type: "oauth" | "api";
297
+ label: string;
298
+ };
299
+ export type ProviderMutationSuccess = {
300
+ success: true;
301
+ };
302
+ export type ProviderOAuthAuthorization = {
303
+ url: string;
304
+ method: "auto" | "code" | "auto-code";
305
+ instructions: string;
306
+ };
307
+ export type QuestionOption = {
308
+ label: string;
309
+ description: string;
310
+ };
311
+ export type PermissionRequest = {
312
+ id: string;
313
+ sessionID: string;
314
+ permission: string;
315
+ patterns: Array<string>;
316
+ metadata: {
317
+ [x: string]: any;
318
+ };
319
+ always: Array<string>;
320
+ tool?: {
321
+ messageID: string;
322
+ callID: string;
323
+ } | undefined;
324
+ };
325
+ export type Pty = {
326
+ id: string;
327
+ title: string;
328
+ command: string;
329
+ args: Array<string>;
330
+ cwd: string;
331
+ status: "running" | "exited";
332
+ pid: number;
333
+ };
334
+ export type LoopBooleanResult = boolean;
335
+ export type SessionList = Array<any>;
336
+ export type SessionInfo = any;
337
+ export type SessionStatusMap = {
338
+ [x: string]: any;
339
+ };
340
+ export type BooleanResult = boolean;
341
+ export type MessageWithParts = any;
342
+ export type AssistantMessage = any;
343
+ export type TodoList = Array<any>;
344
+ export type FileDiffList = Array<any>;
345
+ export type MessageList = Array<any>;
346
+ export type MessagePart = any;
347
+ export type SessionV2EntryList = Array<any>;
348
+ export type SessionV2State = any;
349
+ export type SessionV2EventList = Array<any>;
350
+ export type SessionInstructionList = Array<{
351
+ path: string;
352
+ name: string;
353
+ }>;
354
+ export type SyncStartResponse = {
355
+ started: boolean;
356
+ error?: string | undefined;
357
+ };
358
+ export type SyncReplayResponse = {
359
+ accepted: true;
360
+ };
361
+ export type SyncEventRecord = {
362
+ id: string;
363
+ projectId: string;
364
+ workspaceId?: string | undefined;
365
+ aggregate: string;
366
+ seq: number;
367
+ type: string;
368
+ data: any;
369
+ timestamp: number;
370
+ origin?: string | undefined;
371
+ originSeq?: number | undefined;
372
+ };
373
+ export type SyncSnapshotResponse = {
374
+ lastSeq: number;
375
+ state: any;
376
+ } | null;
377
+ export type TuiBooleanResult = boolean;
378
+ export type TuiControlRequest = {
379
+ path: string;
380
+ body: any;
381
+ };
382
+ export type WorkspaceAdaptorInfo = {
383
+ type: string;
384
+ name: string;
385
+ description: string;
386
+ available?: boolean | undefined;
387
+ };
388
+ export type WorkspaceConnectionStatus = {
389
+ workspaceID: string;
390
+ status: "connected" | "connecting" | "disconnected" | "error";
391
+ };
392
+ export type WorkspaceConfig = {
393
+ type: "worktree";
394
+ directory: string;
395
+ strategy?: "git" | "cow" | undefined;
396
+ eventLimit?: number | undefined;
397
+ } | {
398
+ type: "container";
399
+ directory: string;
400
+ runtime: "docker" | "podman";
401
+ image: string;
402
+ containerName: string;
403
+ port: number;
404
+ serverUrl: string;
405
+ eventLimit?: number | undefined;
406
+ } | {
407
+ type: "branch";
408
+ directory: string;
409
+ branch?: string | undefined;
410
+ eventLimit?: number | undefined;
411
+ };
412
+ export type WorkspaceRestore = {
413
+ workspaceID: string;
414
+ sessions: Array<string>;
415
+ events: Array<any>;
416
+ };
417
+ export type WorkspaceSessionRestore = {
418
+ workspaceID: string;
419
+ sessionID: string;
420
+ sessions: Array<string>;
421
+ events: Array<any>;
422
+ };
423
+ export type ConfigProviders = {
424
+ providers: Array<Provider>;
425
+ default: {
426
+ [x: string]: string;
427
+ };
428
+ };
429
+ export type ProviderList = {
430
+ all: Array<Provider>;
431
+ default: {
432
+ [x: string]: string;
433
+ };
434
+ connected: Array<string>;
435
+ };
436
+ export type DoctorReport = {
437
+ ok: boolean;
438
+ version: string;
439
+ channel: string;
440
+ failures: number;
441
+ results: Array<DoctorCheck>;
442
+ };
443
+ export type ToolList = Array<ToolListItem>;
444
+ export type McpResourceMap = {
445
+ [x: string]: McpResource;
446
+ };
447
+ export type ManagedWorktreeList = Array<ManagedWorktreeInfo>;
448
+ export type MCPStatusMap = {
449
+ [x: string]: MCPStatus;
450
+ };
451
+ export type ProviderAuthMethods = {
452
+ [x: string]: Array<ProviderAuthMethod>;
453
+ };
454
+ export type QuestionInfo = {
455
+ question: string;
456
+ header: string;
457
+ options: Array<QuestionOption>;
458
+ multiple?: boolean | undefined;
459
+ custom?: boolean | undefined;
460
+ };
461
+ export type PtyList = Array<Pty>;
462
+ export type SyncHistoryResponse = {
463
+ events: Array<SyncEventRecord>;
464
+ hasMore: boolean;
465
+ };
466
+ export type Workspace = {
467
+ id: string;
468
+ name: string;
469
+ timeUsed: number;
470
+ branch: string | null;
471
+ projectID: string;
472
+ config: WorkspaceConfig;
473
+ };
474
+ export type QuestionRequest = {
475
+ id: string;
476
+ sessionID: string;
477
+ questions: Array<QuestionInfo>;
478
+ tool?: {
479
+ messageID: string;
480
+ callID: string;
481
+ } | undefined;
482
+ };
483
+ export type OptionalWorkspace = Workspace | null;
484
+ export type VcsApplyError = {
485
+ readonly name: "VcsApplyError";
486
+ readonly data: {
487
+ readonly message: string;
488
+ readonly reason: string;
489
+ };
490
+ };
491
+ export type AnalyticsSessionNotFound = {
492
+ readonly error: "Session not found";
493
+ };
494
+ export type ConfigUpdateError = {
495
+ readonly name: string;
496
+ readonly data: {
497
+ readonly [x: string]: unknown;
498
+ };
499
+ };
500
+ export type ConnectorsValidationError = {
501
+ readonly name: "ValidationError";
502
+ readonly data: {
503
+ readonly [x: string]: unknown;
504
+ };
505
+ };
506
+ export type McpOAuthUnsupportedError = {
507
+ readonly error: string;
508
+ };
509
+ export type MissionValidationError = {
510
+ readonly name: "ValidationError";
511
+ readonly data: {
512
+ readonly [x: string]: unknown;
513
+ };
514
+ };
515
+ export type MissionNotFound = {
516
+ readonly name: "NotFound";
517
+ readonly data: {
518
+ readonly [x: string]: unknown;
519
+ };
520
+ };
521
+ export type PtyCreateErrorBody = {
522
+ readonly name: "PtyCreateError";
523
+ readonly data: {
524
+ readonly [x: string]: unknown;
525
+ };
526
+ };
527
+ export type PtyNotFoundError = {
528
+ readonly name: "NotFoundError";
529
+ readonly data: {
530
+ readonly [x: string]: unknown;
531
+ };
532
+ };
533
+ export type LoopValidationError = {
534
+ readonly name: "ValidationError";
535
+ readonly data: {
536
+ readonly [x: string]: unknown;
537
+ };
538
+ };
539
+ export type LoopNotFound = {
540
+ readonly name: "NotFound";
541
+ readonly data: {
542
+ readonly [x: string]: unknown;
543
+ };
544
+ };
545
+ export type SessionNotFoundError = {
546
+ readonly name: "NotFoundError";
547
+ readonly data: {
548
+ readonly [x: string]: unknown;
549
+ };
550
+ };
551
+ export type SessionBusyErrorBody = {
552
+ readonly name: "SessionBusyError";
553
+ readonly data: {
554
+ readonly [x: string]: unknown;
555
+ };
556
+ };
557
+ export type SessionBackgroundNotFound = {
558
+ readonly error: "Session not found";
559
+ };
560
+ export type TuiValidationError = {
561
+ readonly data: unknown;
562
+ readonly error: unknown;
563
+ readonly success: false;
564
+ };
565
+ export type TuiNotFoundError = {
566
+ readonly name: "NotFoundError";
567
+ readonly data: {
568
+ readonly [x: string]: unknown;
569
+ };
570
+ };
571
+ export type TopLevelDisposeOutput = InstanceDisposeResult;
572
+ export type TopLevelPathOutput = Path;
573
+ export type TopLevelVcsOutput = VcsInfo;
574
+ export type TopLevelVcsStatusOutput = Array<VcsFileStatus>;
575
+ export type TopLevelVcsDiffRawOutput = string;
576
+ export type TopLevelVcsApplyInput = {
577
+ readonly patch: {
578
+ readonly patch: string;
579
+ }["patch"];
580
+ };
581
+ export type TopLevelVcsApplyOutput = VcsApplyResult;
582
+ export type TopLevelCommandOutput = Array<Command>;
583
+ export type TopLevelAgentOutput = Array<Agent>;
584
+ export type TopLevelSkillOutput = Array<Skill>;
585
+ export type TopLevelLspOutput = Array<LSPStatus>;
586
+ export type TopLevelFormatterOutput = Array<FormatterStatus>;
587
+ export type AnalyticsGlobalOutput = any;
588
+ export type AnalyticsDailyInput = {
589
+ readonly from?: {
590
+ readonly from?: string | undefined;
591
+ readonly to?: string | undefined;
592
+ readonly days?: string | undefined;
593
+ }["from"];
594
+ readonly to?: {
595
+ readonly from?: string | undefined;
596
+ readonly to?: string | undefined;
597
+ readonly days?: string | undefined;
598
+ }["to"];
599
+ readonly days?: {
600
+ readonly from?: string | undefined;
601
+ readonly to?: string | undefined;
602
+ readonly days?: string | undefined;
603
+ }["days"];
604
+ };
605
+ export type AnalyticsDailyOutput = any;
606
+ export type AnalyticsSessionInput = {
607
+ readonly sessionID: {
608
+ readonly sessionID: string;
609
+ }["sessionID"];
610
+ };
611
+ export type AnalyticsSessionOutput = any;
612
+ export type AnalyticsSessionsOutput = any;
613
+ export type AnalyticsLeaderboardOutput = any;
614
+ export type AppLogInput = {
615
+ readonly service: {
616
+ readonly service: string;
617
+ readonly level: "debug" | "info" | "error" | "warn";
618
+ readonly message: string;
619
+ readonly extra?: {
620
+ readonly [x: string]: unknown;
621
+ } | undefined;
622
+ }["service"];
623
+ readonly level: {
624
+ readonly service: string;
625
+ readonly level: "debug" | "info" | "error" | "warn";
626
+ readonly message: string;
627
+ readonly extra?: {
628
+ readonly [x: string]: unknown;
629
+ } | undefined;
630
+ }["level"];
631
+ readonly message: {
632
+ readonly service: string;
633
+ readonly level: "debug" | "info" | "error" | "warn";
634
+ readonly message: string;
635
+ readonly extra?: {
636
+ readonly [x: string]: unknown;
637
+ } | undefined;
638
+ }["message"];
639
+ readonly extra?: {
640
+ readonly service: string;
641
+ readonly level: "debug" | "info" | "error" | "warn";
642
+ readonly message: string;
643
+ readonly extra?: {
644
+ readonly [x: string]: unknown;
645
+ } | undefined;
646
+ }["extra"];
647
+ };
648
+ export type AppLogOutput = boolean;
649
+ export type AppSkillCreateInput = {
650
+ readonly name: {
651
+ readonly name: string;
652
+ readonly description: string;
653
+ readonly category?: string | undefined;
654
+ readonly tags?: ReadonlyArray<string> | undefined;
655
+ readonly content?: string | undefined;
656
+ readonly scope?: "workspace" | "global" | undefined;
657
+ }["name"];
658
+ readonly description: {
659
+ readonly name: string;
660
+ readonly description: string;
661
+ readonly category?: string | undefined;
662
+ readonly tags?: ReadonlyArray<string> | undefined;
663
+ readonly content?: string | undefined;
664
+ readonly scope?: "workspace" | "global" | undefined;
665
+ }["description"];
666
+ readonly category?: {
667
+ readonly name: string;
668
+ readonly description: string;
669
+ readonly category?: string | undefined;
670
+ readonly tags?: ReadonlyArray<string> | undefined;
671
+ readonly content?: string | undefined;
672
+ readonly scope?: "workspace" | "global" | undefined;
673
+ }["category"];
674
+ readonly tags?: {
675
+ readonly name: string;
676
+ readonly description: string;
677
+ readonly category?: string | undefined;
678
+ readonly tags?: ReadonlyArray<string> | undefined;
679
+ readonly content?: string | undefined;
680
+ readonly scope?: "workspace" | "global" | undefined;
681
+ }["tags"];
682
+ readonly content?: {
683
+ readonly name: string;
684
+ readonly description: string;
685
+ readonly category?: string | undefined;
686
+ readonly tags?: ReadonlyArray<string> | undefined;
687
+ readonly content?: string | undefined;
688
+ readonly scope?: "workspace" | "global" | undefined;
689
+ }["content"];
690
+ readonly scope?: {
691
+ readonly name: string;
692
+ readonly description: string;
693
+ readonly category?: string | undefined;
694
+ readonly tags?: ReadonlyArray<string> | undefined;
695
+ readonly content?: string | undefined;
696
+ readonly scope?: "workspace" | "global" | undefined;
697
+ }["scope"];
698
+ };
699
+ export type AppSkillCreateOutput = AppSkillInfo;
700
+ export type AppSkillDeleteInput = {
701
+ readonly name: {
702
+ readonly name: string;
703
+ }["name"];
704
+ };
705
+ export type AppSkillDeleteOutput = boolean;
706
+ export type BrainStatusOutput = BrainStatus;
707
+ export type BrainTriggerInput = {
708
+ readonly force?: {
709
+ readonly force?: boolean | undefined;
710
+ }["force"];
711
+ };
712
+ export type BrainTriggerOutput = BrainResult;
713
+ export type ConfigGetOutput = Config;
714
+ export type ConfigUpdateInput = {
715
+ readonly payload: {
716
+ readonly [x: string]: unknown;
717
+ };
718
+ };
719
+ export type ConfigUpdateOutput = Config;
720
+ export type ConfigProvidersOutput = ConfigProviders;
721
+ export type ConnectorsStatusOutput = any;
722
+ export type ConnectorsAuthSetInput = {
723
+ readonly name: {
724
+ readonly name: string;
725
+ }["name"];
726
+ readonly payload: unknown;
727
+ };
728
+ export type ConnectorsAuthSetOutput = ConnectorsSuccess;
729
+ export type ConnectorsAuthRemoveInput = {
730
+ readonly name: {
731
+ readonly name: string;
732
+ }["name"];
733
+ };
734
+ export type ConnectorsAuthRemoveOutput = ConnectorsSuccess;
735
+ export type ConnectorsInvalidateInput = {
736
+ readonly name?: {
737
+ readonly name?: string | undefined;
738
+ }["name"];
739
+ };
740
+ export type ConnectorsInvalidateOutput = ConnectorsSuccess;
741
+ export type DoctorRunOutput = DoctorReport;
742
+ export type ExperimentalToolIDsOutput = ToolIDs;
743
+ export type ExperimentalToolsInput = {
744
+ readonly provider: {
745
+ readonly provider: string;
746
+ readonly model: string;
747
+ }["provider"];
748
+ readonly model: {
749
+ readonly provider: string;
750
+ readonly model: string;
751
+ }["model"];
752
+ };
753
+ export type ExperimentalToolsOutput = ToolList;
754
+ export type ExperimentalWorktreeCreateInput = {
755
+ readonly name?: {
756
+ readonly name?: string | undefined;
757
+ readonly branch?: string | undefined;
758
+ readonly branchPrefix?: string | undefined;
759
+ readonly baseBranch?: string | undefined;
760
+ readonly remote?: string | undefined;
761
+ readonly startCommand?: string | undefined;
762
+ }["name"];
763
+ readonly branch?: {
764
+ readonly name?: string | undefined;
765
+ readonly branch?: string | undefined;
766
+ readonly branchPrefix?: string | undefined;
767
+ readonly baseBranch?: string | undefined;
768
+ readonly remote?: string | undefined;
769
+ readonly startCommand?: string | undefined;
770
+ }["branch"];
771
+ readonly branchPrefix?: {
772
+ readonly name?: string | undefined;
773
+ readonly branch?: string | undefined;
774
+ readonly branchPrefix?: string | undefined;
775
+ readonly baseBranch?: string | undefined;
776
+ readonly remote?: string | undefined;
777
+ readonly startCommand?: string | undefined;
778
+ }["branchPrefix"];
779
+ readonly baseBranch?: {
780
+ readonly name?: string | undefined;
781
+ readonly branch?: string | undefined;
782
+ readonly branchPrefix?: string | undefined;
783
+ readonly baseBranch?: string | undefined;
784
+ readonly remote?: string | undefined;
785
+ readonly startCommand?: string | undefined;
786
+ }["baseBranch"];
787
+ readonly remote?: {
788
+ readonly name?: string | undefined;
789
+ readonly branch?: string | undefined;
790
+ readonly branchPrefix?: string | undefined;
791
+ readonly baseBranch?: string | undefined;
792
+ readonly remote?: string | undefined;
793
+ readonly startCommand?: string | undefined;
794
+ }["remote"];
795
+ readonly startCommand?: {
796
+ readonly name?: string | undefined;
797
+ readonly branch?: string | undefined;
798
+ readonly branchPrefix?: string | undefined;
799
+ readonly baseBranch?: string | undefined;
800
+ readonly remote?: string | undefined;
801
+ readonly startCommand?: string | undefined;
802
+ }["startCommand"];
803
+ };
804
+ export type ExperimentalWorktreeCreateOutput = Worktree;
805
+ export type ExperimentalWorktreeOutput = WorktreeList;
806
+ export type ExperimentalWorktreeRemoveInput = {
807
+ readonly directory: {
808
+ readonly directory: string;
809
+ }["directory"];
810
+ };
811
+ export type ExperimentalWorktreeRemoveOutput = boolean;
812
+ export type ExperimentalWorktreeResetInput = {
813
+ readonly directory: {
814
+ readonly directory: string;
815
+ }["directory"];
816
+ };
817
+ export type ExperimentalWorktreeResetOutput = boolean;
818
+ export type ExperimentalResourceOutput = McpResourceMap;
819
+ export type ExperimentalManagedWorktreeCreateInput = {
820
+ readonly from: {
821
+ readonly from: string;
822
+ readonly name?: string | undefined;
823
+ readonly into?: string | undefined;
824
+ }["from"];
825
+ readonly name?: {
826
+ readonly from: string;
827
+ readonly name?: string | undefined;
828
+ readonly into?: string | undefined;
829
+ }["name"];
830
+ readonly into?: {
831
+ readonly from: string;
832
+ readonly name?: string | undefined;
833
+ readonly into?: string | undefined;
834
+ }["into"];
835
+ };
836
+ export type ExperimentalManagedWorktreeCreateOutput = ManagedWorktreeInfo;
837
+ export type ExperimentalManagedWorktreeRemoveInput = {
838
+ readonly at: {
839
+ readonly at: string;
840
+ }["at"];
841
+ };
842
+ export type ExperimentalManagedWorktreeRemoveOutput = null;
843
+ export type ExperimentalManagedWorktreeLinkInput = {
844
+ readonly at: {
845
+ readonly at: string;
846
+ readonly to?: string | undefined;
847
+ }["at"];
848
+ readonly to?: {
849
+ readonly at: string;
850
+ readonly to?: string | undefined;
851
+ }["to"];
852
+ };
853
+ export type ExperimentalManagedWorktreeLinkOutput = ManagedWorktreeInfo;
854
+ export type ExperimentalManagedWorktreeChildrenInput = {
855
+ readonly of: {
856
+ readonly of: string;
857
+ }["of"];
858
+ };
859
+ export type ExperimentalManagedWorktreeChildrenOutput = ManagedWorktreeList;
860
+ export type ExperimentalManagedWorktreeAncestorsInput = {
861
+ readonly of: {
862
+ readonly of: string;
863
+ }["of"];
864
+ };
865
+ export type ExperimentalManagedWorktreeAncestorsOutput = ManagedWorktreeList;
866
+ export type ExperimentalManagedWorktreeListOutput = ManagedWorktreeList;
867
+ export type FileFindTextInput = {
868
+ readonly pattern: {
869
+ readonly pattern: string;
870
+ }["pattern"];
871
+ };
872
+ export type FileFindTextOutput = Array<SearchMatch>;
873
+ export type FileFindFileInput = {
874
+ readonly query: {
875
+ readonly query: string;
876
+ readonly dirs?: "true" | "false" | undefined;
877
+ readonly type?: "file" | "directory" | undefined;
878
+ readonly limit?: number | undefined;
879
+ }["query"];
880
+ readonly dirs?: {
881
+ readonly query: string;
882
+ readonly dirs?: "true" | "false" | undefined;
883
+ readonly type?: "file" | "directory" | undefined;
884
+ readonly limit?: number | undefined;
885
+ }["dirs"];
886
+ readonly type?: {
887
+ readonly query: string;
888
+ readonly dirs?: "true" | "false" | undefined;
889
+ readonly type?: "file" | "directory" | undefined;
890
+ readonly limit?: number | undefined;
891
+ }["type"];
892
+ readonly limit?: {
893
+ readonly query: string;
894
+ readonly dirs?: "true" | "false" | undefined;
895
+ readonly type?: "file" | "directory" | undefined;
896
+ readonly limit?: number | undefined;
897
+ }["limit"];
898
+ };
899
+ export type FileFindFileOutput = Array<string>;
900
+ export type FileFindSymbolInput = {
901
+ readonly query: {
902
+ readonly query: string;
903
+ }["query"];
904
+ };
905
+ export type FileFindSymbolOutput = Array<Symbol>;
906
+ export type FileListInput = {
907
+ readonly path: {
908
+ readonly path: string;
909
+ }["path"];
910
+ };
911
+ export type FileListOutput = Array<FileNode>;
912
+ export type FileContentInput = {
913
+ readonly path: {
914
+ readonly path: string;
915
+ }["path"];
916
+ };
917
+ export type FileContentOutput = FileContent;
918
+ export type FileWriteInput = {
919
+ readonly path: {
920
+ readonly path: string;
921
+ readonly content: string;
922
+ }["path"];
923
+ readonly content: {
924
+ readonly path: string;
925
+ readonly content: string;
926
+ }["content"];
927
+ };
928
+ export type FileWriteOutput = FileWriteResult;
929
+ export type FileStatusOutput = Array<File>;
930
+ export type GlobalHealthOutput = GlobalHealth;
931
+ export type GlobalDisposeOutput = boolean;
932
+ export type McpStatusOutput = MCPStatusMap;
933
+ export type McpAddInput = {
934
+ readonly name: {
935
+ readonly name: string;
936
+ readonly config: {
937
+ readonly type: "local";
938
+ readonly command: ReadonlyArray<string>;
939
+ readonly environment?: {
940
+ readonly [x: string]: string;
941
+ } | undefined;
942
+ readonly enabled?: boolean | undefined;
943
+ readonly timeout?: number | undefined;
944
+ } | {
945
+ readonly type: "remote";
946
+ readonly url: string;
947
+ readonly enabled?: boolean | undefined;
948
+ readonly headers?: {
949
+ readonly [x: string]: string;
950
+ } | undefined;
951
+ readonly oauth?: {
952
+ readonly clientId?: string | undefined;
953
+ readonly clientSecret?: string | undefined;
954
+ readonly scope?: string | undefined;
955
+ } | false | undefined;
956
+ readonly timeout?: number | undefined;
957
+ };
958
+ }["name"];
959
+ readonly config: {
960
+ readonly name: string;
961
+ readonly config: {
962
+ readonly type: "local";
963
+ readonly command: ReadonlyArray<string>;
964
+ readonly environment?: {
965
+ readonly [x: string]: string;
966
+ } | undefined;
967
+ readonly enabled?: boolean | undefined;
968
+ readonly timeout?: number | undefined;
969
+ } | {
970
+ readonly type: "remote";
971
+ readonly url: string;
972
+ readonly enabled?: boolean | undefined;
973
+ readonly headers?: {
974
+ readonly [x: string]: string;
975
+ } | undefined;
976
+ readonly oauth?: {
977
+ readonly clientId?: string | undefined;
978
+ readonly clientSecret?: string | undefined;
979
+ readonly scope?: string | undefined;
980
+ } | false | undefined;
981
+ readonly timeout?: number | undefined;
982
+ };
983
+ }["config"];
984
+ };
985
+ export type McpAddOutput = MCPStatusMap;
986
+ export type McpStartAuthInput = {
987
+ readonly name: {
988
+ readonly name: string;
989
+ }["name"];
990
+ };
991
+ export type McpStartAuthOutput = McpStartAuthResponse;
992
+ export type McpAuthCallbackInput = {
993
+ readonly name: {
994
+ readonly name: string;
995
+ }["name"];
996
+ readonly code: {
997
+ readonly code: string;
998
+ }["code"];
999
+ };
1000
+ export type McpAuthCallbackOutput = MCPStatus;
1001
+ export type McpAuthenticateInput = {
1002
+ readonly name: {
1003
+ readonly name: string;
1004
+ }["name"];
1005
+ };
1006
+ export type McpAuthenticateOutput = MCPStatus;
1007
+ export type McpRemoveAuthInput = {
1008
+ readonly name: {
1009
+ readonly name: string;
1010
+ }["name"];
1011
+ };
1012
+ export type McpRemoveAuthOutput = McpMutationSuccess;
1013
+ export type McpConnectInput = {
1014
+ readonly name: {
1015
+ readonly name: string;
1016
+ }["name"];
1017
+ };
1018
+ export type McpConnectOutput = boolean;
1019
+ export type McpDisconnectInput = {
1020
+ readonly name: {
1021
+ readonly name: string;
1022
+ }["name"];
1023
+ };
1024
+ export type McpDisconnectOutput = boolean;
1025
+ export type McpToggleInput = {
1026
+ readonly name: {
1027
+ readonly name: string;
1028
+ }["name"];
1029
+ readonly enabled: {
1030
+ readonly enabled: boolean;
1031
+ }["enabled"];
1032
+ };
1033
+ export type McpToggleOutput = MCPStatusMap;
1034
+ export type MissionListOutput = any;
1035
+ export type MissionTemplatesOutput = any;
1036
+ export type MissionGenerateInput = {
1037
+ readonly description: {
1038
+ readonly description: string;
1039
+ readonly model?: string | undefined;
1040
+ readonly agent?: string | undefined;
1041
+ }["description"];
1042
+ readonly model?: {
1043
+ readonly description: string;
1044
+ readonly model?: string | undefined;
1045
+ readonly agent?: string | undefined;
1046
+ }["model"];
1047
+ readonly agent?: {
1048
+ readonly description: string;
1049
+ readonly model?: string | undefined;
1050
+ readonly agent?: string | undefined;
1051
+ }["agent"];
1052
+ };
1053
+ export type MissionGenerateOutput = any;
1054
+ export type MissionRecentExecsInput = {
1055
+ readonly limit?: {
1056
+ readonly limit?: number | undefined;
1057
+ }["limit"];
1058
+ };
1059
+ export type MissionRecentExecsOutput = any;
1060
+ export type MissionGetInput = {
1061
+ readonly id: {
1062
+ readonly id: string;
1063
+ }["id"];
1064
+ };
1065
+ export type MissionGetOutput = any;
1066
+ export type MissionUpsertInput = {
1067
+ readonly payload: unknown;
1068
+ };
1069
+ export type MissionUpsertOutput = any;
1070
+ export type MissionUpdateInput = {
1071
+ readonly id: {
1072
+ readonly id: string;
1073
+ }["id"];
1074
+ readonly payload: unknown;
1075
+ };
1076
+ export type MissionUpdateOutput = any;
1077
+ export type MissionRemoveInput = {
1078
+ readonly id: {
1079
+ readonly id: string;
1080
+ }["id"];
1081
+ };
1082
+ export type MissionRemoveOutput = MissionBooleanResult;
1083
+ export type MissionStartInput = {
1084
+ readonly id: {
1085
+ readonly id: string;
1086
+ }["id"];
1087
+ };
1088
+ export type MissionStartOutput = MissionBooleanResult;
1089
+ export type MissionPauseInput = {
1090
+ readonly id: {
1091
+ readonly id: string;
1092
+ }["id"];
1093
+ };
1094
+ export type MissionPauseOutput = MissionBooleanResult;
1095
+ export type MissionCancelInput = {
1096
+ readonly id: {
1097
+ readonly id: string;
1098
+ }["id"];
1099
+ };
1100
+ export type MissionCancelOutput = MissionBooleanResult;
1101
+ export type MissionFeatureMutateInput = {
1102
+ readonly id: {
1103
+ readonly id: string;
1104
+ readonly featureID: string;
1105
+ }["id"];
1106
+ readonly featureID: {
1107
+ readonly id: string;
1108
+ readonly featureID: string;
1109
+ }["featureID"];
1110
+ readonly status?: {
1111
+ readonly status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error" | undefined;
1112
+ readonly error?: string | undefined;
1113
+ readonly appendDependsOn?: ReadonlyArray<string> | undefined;
1114
+ }["status"];
1115
+ readonly error?: {
1116
+ readonly status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error" | undefined;
1117
+ readonly error?: string | undefined;
1118
+ readonly appendDependsOn?: ReadonlyArray<string> | undefined;
1119
+ }["error"];
1120
+ readonly appendDependsOn?: {
1121
+ readonly status?: "pending" | "running" | "done" | "blocked" | "skipped" | "error" | undefined;
1122
+ readonly error?: string | undefined;
1123
+ readonly appendDependsOn?: ReadonlyArray<string> | undefined;
1124
+ }["appendDependsOn"];
1125
+ };
1126
+ export type MissionFeatureMutateOutput = any;
1127
+ export type MissionExecsInput = {
1128
+ readonly id: {
1129
+ readonly id: string;
1130
+ }["id"];
1131
+ readonly limit?: {
1132
+ readonly limit?: number | undefined;
1133
+ }["limit"];
1134
+ };
1135
+ export type MissionExecsOutput = any;
1136
+ export type ProjectListOutput = Array<Project>;
1137
+ export type ProjectCurrentOutput = Project;
1138
+ export type ProjectUpdateInput = {
1139
+ readonly projectID: {
1140
+ readonly projectID: string;
1141
+ }["projectID"];
1142
+ readonly name?: {
1143
+ readonly name?: string | undefined;
1144
+ readonly icon?: {
1145
+ readonly url?: string | undefined;
1146
+ readonly override?: string | undefined;
1147
+ readonly color?: string | undefined;
1148
+ } | undefined;
1149
+ }["name"];
1150
+ readonly icon?: {
1151
+ readonly name?: string | undefined;
1152
+ readonly icon?: {
1153
+ readonly url?: string | undefined;
1154
+ readonly override?: string | undefined;
1155
+ readonly color?: string | undefined;
1156
+ } | undefined;
1157
+ }["icon"];
1158
+ };
1159
+ export type ProjectUpdateOutput = Project;
1160
+ export type ProviderListOutput = ProviderList;
1161
+ export type ProviderAuthOutput = ProviderAuthMethods;
1162
+ export type ProviderApiInput = {
1163
+ readonly providerID: {
1164
+ readonly providerID: string;
1165
+ }["providerID"];
1166
+ readonly key: {
1167
+ readonly key: string;
1168
+ }["key"];
1169
+ };
1170
+ export type ProviderApiOutput = ProviderMutationSuccess;
1171
+ export type ProviderRemoveAuthInput = {
1172
+ readonly providerID: {
1173
+ readonly providerID: string;
1174
+ }["providerID"];
1175
+ };
1176
+ export type ProviderRemoveAuthOutput = ProviderMutationSuccess;
1177
+ export type ProviderOauthAuthorizeInput = {
1178
+ readonly providerID: {
1179
+ readonly providerID: string;
1180
+ }["providerID"];
1181
+ readonly method: {
1182
+ readonly method: number;
1183
+ }["method"];
1184
+ };
1185
+ export type ProviderOauthAuthorizeOutput = ProviderOAuthAuthorization | null;
1186
+ export type ProviderOauthCallbackInput = {
1187
+ readonly providerID: {
1188
+ readonly providerID: string;
1189
+ }["providerID"];
1190
+ readonly method: {
1191
+ readonly method: number;
1192
+ readonly code?: string | undefined;
1193
+ }["method"];
1194
+ readonly code?: {
1195
+ readonly method: number;
1196
+ readonly code?: string | undefined;
1197
+ }["code"];
1198
+ };
1199
+ export type ProviderOauthCallbackOutput = boolean;
1200
+ export type QuestionListOutput = Array<QuestionRequest>;
1201
+ export type QuestionReplyInput = {
1202
+ readonly requestID: {
1203
+ readonly requestID: string;
1204
+ }["requestID"];
1205
+ readonly answers: {
1206
+ readonly answers: ReadonlyArray<ReadonlyArray<string>>;
1207
+ }["answers"];
1208
+ };
1209
+ export type QuestionReplyOutput = boolean;
1210
+ export type QuestionRejectInput = {
1211
+ readonly requestID: {
1212
+ readonly requestID: string;
1213
+ }["requestID"];
1214
+ };
1215
+ export type QuestionRejectOutput = boolean;
1216
+ export type PermissionListOutput = Array<PermissionRequest>;
1217
+ export type PermissionReplyInput = {
1218
+ readonly requestID: {
1219
+ readonly requestID: string;
1220
+ }["requestID"];
1221
+ readonly reply: {
1222
+ readonly reply: "once" | "always" | "reject";
1223
+ readonly message?: string | undefined;
1224
+ }["reply"];
1225
+ readonly message?: {
1226
+ readonly reply: "once" | "always" | "reject";
1227
+ readonly message?: string | undefined;
1228
+ }["message"];
1229
+ };
1230
+ export type PermissionReplyOutput = boolean;
1231
+ export type PtyListOutput = PtyList;
1232
+ export type PtyCreateInput = {
1233
+ readonly command?: {
1234
+ readonly command?: string | undefined;
1235
+ readonly args?: ReadonlyArray<string> | undefined;
1236
+ readonly cwd?: string | undefined;
1237
+ readonly title?: string | undefined;
1238
+ readonly env?: {
1239
+ readonly [x: string]: string;
1240
+ } | undefined;
1241
+ }["command"];
1242
+ readonly args?: {
1243
+ readonly command?: string | undefined;
1244
+ readonly args?: ReadonlyArray<string> | undefined;
1245
+ readonly cwd?: string | undefined;
1246
+ readonly title?: string | undefined;
1247
+ readonly env?: {
1248
+ readonly [x: string]: string;
1249
+ } | undefined;
1250
+ }["args"];
1251
+ readonly cwd?: {
1252
+ readonly command?: string | undefined;
1253
+ readonly args?: ReadonlyArray<string> | undefined;
1254
+ readonly cwd?: string | undefined;
1255
+ readonly title?: string | undefined;
1256
+ readonly env?: {
1257
+ readonly [x: string]: string;
1258
+ } | undefined;
1259
+ }["cwd"];
1260
+ readonly title?: {
1261
+ readonly command?: string | undefined;
1262
+ readonly args?: ReadonlyArray<string> | undefined;
1263
+ readonly cwd?: string | undefined;
1264
+ readonly title?: string | undefined;
1265
+ readonly env?: {
1266
+ readonly [x: string]: string;
1267
+ } | undefined;
1268
+ }["title"];
1269
+ readonly env?: {
1270
+ readonly command?: string | undefined;
1271
+ readonly args?: ReadonlyArray<string> | undefined;
1272
+ readonly cwd?: string | undefined;
1273
+ readonly title?: string | undefined;
1274
+ readonly env?: {
1275
+ readonly [x: string]: string;
1276
+ } | undefined;
1277
+ }["env"];
1278
+ };
1279
+ export type PtyCreateOutput = Pty;
1280
+ export type PtyGetInput = {
1281
+ readonly ptyID: {
1282
+ readonly ptyID: string;
1283
+ }["ptyID"];
1284
+ };
1285
+ export type PtyGetOutput = Pty;
1286
+ export type PtyUpdateInput = {
1287
+ readonly ptyID: {
1288
+ readonly ptyID: string;
1289
+ }["ptyID"];
1290
+ readonly title?: {
1291
+ readonly title?: string | undefined;
1292
+ readonly size?: {
1293
+ readonly rows: number;
1294
+ readonly cols: number;
1295
+ } | undefined;
1296
+ }["title"];
1297
+ readonly size?: {
1298
+ readonly title?: string | undefined;
1299
+ readonly size?: {
1300
+ readonly rows: number;
1301
+ readonly cols: number;
1302
+ } | undefined;
1303
+ }["size"];
1304
+ };
1305
+ export type PtyUpdateOutput = Pty;
1306
+ export type PtyRemoveInput = {
1307
+ readonly ptyID: {
1308
+ readonly ptyID: string;
1309
+ }["ptyID"];
1310
+ };
1311
+ export type PtyRemoveOutput = boolean;
1312
+ export type LoopListOutput = any;
1313
+ export type LoopTemplatesOutput = any;
1314
+ export type LoopGenerateInput = {
1315
+ readonly description: {
1316
+ readonly description: string;
1317
+ readonly model?: string | undefined;
1318
+ readonly agent?: string | undefined;
1319
+ }["description"];
1320
+ readonly model?: {
1321
+ readonly description: string;
1322
+ readonly model?: string | undefined;
1323
+ readonly agent?: string | undefined;
1324
+ }["model"];
1325
+ readonly agent?: {
1326
+ readonly description: string;
1327
+ readonly model?: string | undefined;
1328
+ readonly agent?: string | undefined;
1329
+ }["agent"];
1330
+ };
1331
+ export type LoopGenerateOutput = any;
1332
+ export type LoopRecentRunsInput = {
1333
+ readonly limit?: {
1334
+ readonly limit?: number | undefined;
1335
+ }["limit"];
1336
+ };
1337
+ export type LoopRecentRunsOutput = any;
1338
+ export type LoopGetInput = {
1339
+ readonly id: {
1340
+ readonly id: string;
1341
+ }["id"];
1342
+ };
1343
+ export type LoopGetOutput = any;
1344
+ export type LoopUpsertInput = {
1345
+ readonly payload: unknown;
1346
+ };
1347
+ export type LoopUpsertOutput = any;
1348
+ export type LoopUpdateInput = {
1349
+ readonly id: {
1350
+ readonly id: string;
1351
+ }["id"];
1352
+ readonly payload: unknown;
1353
+ };
1354
+ export type LoopUpdateOutput = any;
1355
+ export type LoopRemoveInput = {
1356
+ readonly id: {
1357
+ readonly id: string;
1358
+ }["id"];
1359
+ };
1360
+ export type LoopRemoveOutput = LoopBooleanResult;
1361
+ export type LoopToggleInput = {
1362
+ readonly id: {
1363
+ readonly id: string;
1364
+ }["id"];
1365
+ readonly enabled: {
1366
+ readonly enabled: boolean;
1367
+ }["enabled"];
1368
+ };
1369
+ export type LoopToggleOutput = any;
1370
+ export type LoopRunInput = {
1371
+ readonly id: {
1372
+ readonly id: string;
1373
+ }["id"];
1374
+ };
1375
+ export type LoopRunOutput = LoopBooleanResult;
1376
+ export type LoopAbortInput = {
1377
+ readonly id: {
1378
+ readonly id: string;
1379
+ }["id"];
1380
+ };
1381
+ export type LoopAbortOutput = LoopBooleanResult;
1382
+ export type LoopPauseInput = {
1383
+ readonly id: {
1384
+ readonly id: string;
1385
+ }["id"];
1386
+ };
1387
+ export type LoopPauseOutput = LoopBooleanResult;
1388
+ export type LoopResumeInput = {
1389
+ readonly id: {
1390
+ readonly id: string;
1391
+ }["id"];
1392
+ };
1393
+ export type LoopResumeOutput = LoopBooleanResult;
1394
+ export type LoopRunsInput = {
1395
+ readonly id: {
1396
+ readonly id: string;
1397
+ }["id"];
1398
+ readonly limit?: {
1399
+ readonly limit?: number | undefined;
1400
+ }["limit"];
1401
+ };
1402
+ export type LoopRunsOutput = any;
1403
+ export type SessionListInput = {
1404
+ readonly directory?: {
1405
+ readonly directory?: string | undefined;
1406
+ readonly roots?: boolean | undefined;
1407
+ readonly start?: number | undefined;
1408
+ readonly search?: string | undefined;
1409
+ readonly limit?: number | undefined;
1410
+ }["directory"];
1411
+ readonly roots?: {
1412
+ readonly directory?: string | undefined;
1413
+ readonly roots?: boolean | undefined;
1414
+ readonly start?: number | undefined;
1415
+ readonly search?: string | undefined;
1416
+ readonly limit?: number | undefined;
1417
+ }["roots"];
1418
+ readonly start?: {
1419
+ readonly directory?: string | undefined;
1420
+ readonly roots?: boolean | undefined;
1421
+ readonly start?: number | undefined;
1422
+ readonly search?: string | undefined;
1423
+ readonly limit?: number | undefined;
1424
+ }["start"];
1425
+ readonly search?: {
1426
+ readonly directory?: string | undefined;
1427
+ readonly roots?: boolean | undefined;
1428
+ readonly start?: number | undefined;
1429
+ readonly search?: string | undefined;
1430
+ readonly limit?: number | undefined;
1431
+ }["search"];
1432
+ readonly limit?: {
1433
+ readonly directory?: string | undefined;
1434
+ readonly roots?: boolean | undefined;
1435
+ readonly start?: number | undefined;
1436
+ readonly search?: string | undefined;
1437
+ readonly limit?: number | undefined;
1438
+ }["limit"];
1439
+ };
1440
+ export type SessionListOutput = SessionList;
1441
+ export type SessionCreateInput = {
1442
+ readonly parentID?: {
1443
+ readonly parentID?: string | undefined;
1444
+ readonly title?: string | undefined;
1445
+ readonly permission?: ReadonlyArray<unknown> | undefined;
1446
+ readonly skills?: ReadonlyArray<string> | undefined;
1447
+ readonly github?: unknown | undefined;
1448
+ readonly workspaceID?: string | undefined;
1449
+ }["parentID"];
1450
+ readonly title?: {
1451
+ readonly parentID?: string | undefined;
1452
+ readonly title?: string | undefined;
1453
+ readonly permission?: ReadonlyArray<unknown> | undefined;
1454
+ readonly skills?: ReadonlyArray<string> | undefined;
1455
+ readonly github?: unknown | undefined;
1456
+ readonly workspaceID?: string | undefined;
1457
+ }["title"];
1458
+ readonly permission?: {
1459
+ readonly parentID?: string | undefined;
1460
+ readonly title?: string | undefined;
1461
+ readonly permission?: ReadonlyArray<unknown> | undefined;
1462
+ readonly skills?: ReadonlyArray<string> | undefined;
1463
+ readonly github?: unknown | undefined;
1464
+ readonly workspaceID?: string | undefined;
1465
+ }["permission"];
1466
+ readonly skills?: {
1467
+ readonly parentID?: string | undefined;
1468
+ readonly title?: string | undefined;
1469
+ readonly permission?: ReadonlyArray<unknown> | undefined;
1470
+ readonly skills?: ReadonlyArray<string> | undefined;
1471
+ readonly github?: unknown | undefined;
1472
+ readonly workspaceID?: string | undefined;
1473
+ }["skills"];
1474
+ readonly github?: {
1475
+ readonly parentID?: string | undefined;
1476
+ readonly title?: string | undefined;
1477
+ readonly permission?: ReadonlyArray<unknown> | undefined;
1478
+ readonly skills?: ReadonlyArray<string> | undefined;
1479
+ readonly github?: unknown | undefined;
1480
+ readonly workspaceID?: string | undefined;
1481
+ }["github"];
1482
+ readonly workspaceID?: {
1483
+ readonly parentID?: string | undefined;
1484
+ readonly title?: string | undefined;
1485
+ readonly permission?: ReadonlyArray<unknown> | undefined;
1486
+ readonly skills?: ReadonlyArray<string> | undefined;
1487
+ readonly github?: unknown | undefined;
1488
+ readonly workspaceID?: string | undefined;
1489
+ }["workspaceID"];
1490
+ };
1491
+ export type SessionCreateOutput = SessionInfo;
1492
+ export type SessionStatusOutput = SessionStatusMap;
1493
+ export type SessionGetInput = {
1494
+ readonly sessionID: {
1495
+ readonly sessionID: string;
1496
+ }["sessionID"];
1497
+ };
1498
+ export type SessionGetOutput = SessionInfo;
1499
+ export type SessionRemoveInput = {
1500
+ readonly sessionID: {
1501
+ readonly sessionID: string;
1502
+ }["sessionID"];
1503
+ };
1504
+ export type SessionRemoveOutput = BooleanResult;
1505
+ export type SessionUpdateInput = {
1506
+ readonly sessionID: {
1507
+ readonly sessionID: string;
1508
+ }["sessionID"];
1509
+ readonly title?: {
1510
+ readonly title?: string | undefined;
1511
+ readonly time?: {
1512
+ readonly archived?: number | undefined;
1513
+ } | undefined;
1514
+ }["title"];
1515
+ readonly time?: {
1516
+ readonly title?: string | undefined;
1517
+ readonly time?: {
1518
+ readonly archived?: number | undefined;
1519
+ } | undefined;
1520
+ }["time"];
1521
+ };
1522
+ export type SessionUpdateOutput = SessionInfo;
1523
+ export type SessionForkInput = {
1524
+ readonly sessionID: {
1525
+ readonly sessionID: string;
1526
+ }["sessionID"];
1527
+ readonly messageID?: {
1528
+ readonly messageID?: string | undefined;
1529
+ }["messageID"];
1530
+ };
1531
+ export type SessionForkOutput = SessionInfo;
1532
+ export type SessionAbortInput = {
1533
+ readonly sessionID: {
1534
+ readonly sessionID: string;
1535
+ }["sessionID"];
1536
+ };
1537
+ export type SessionAbortOutput = BooleanResult;
1538
+ export type SessionRevertInput = {
1539
+ readonly sessionID: {
1540
+ readonly sessionID: string;
1541
+ }["sessionID"];
1542
+ readonly messageID: {
1543
+ readonly messageID: string;
1544
+ readonly partID?: string | undefined;
1545
+ }["messageID"];
1546
+ readonly partID?: {
1547
+ readonly messageID: string;
1548
+ readonly partID?: string | undefined;
1549
+ }["partID"];
1550
+ };
1551
+ export type SessionRevertOutput = SessionInfo;
1552
+ export type SessionUnrevertInput = {
1553
+ readonly sessionID: {
1554
+ readonly sessionID: string;
1555
+ }["sessionID"];
1556
+ };
1557
+ export type SessionUnrevertOutput = SessionInfo;
1558
+ export type SessionShareInput = {
1559
+ readonly sessionID: {
1560
+ readonly sessionID: string;
1561
+ }["sessionID"];
1562
+ };
1563
+ export type SessionShareOutput = SessionInfo;
1564
+ export type SessionUnshareInput = {
1565
+ readonly sessionID: {
1566
+ readonly sessionID: string;
1567
+ }["sessionID"];
1568
+ };
1569
+ export type SessionUnshareOutput = SessionInfo;
1570
+ export type SessionSummarizeInput = {
1571
+ readonly sessionID: {
1572
+ readonly sessionID: string;
1573
+ }["sessionID"];
1574
+ readonly providerID: {
1575
+ readonly providerID: string;
1576
+ readonly modelID: string;
1577
+ readonly auto?: boolean | undefined;
1578
+ }["providerID"];
1579
+ readonly modelID: {
1580
+ readonly providerID: string;
1581
+ readonly modelID: string;
1582
+ readonly auto?: boolean | undefined;
1583
+ }["modelID"];
1584
+ readonly auto?: {
1585
+ readonly providerID: string;
1586
+ readonly modelID: string;
1587
+ readonly auto?: boolean | undefined;
1588
+ }["auto"];
1589
+ };
1590
+ export type SessionSummarizeOutput = BooleanResult;
1591
+ export type SessionCommandInput = {
1592
+ readonly sessionID: {
1593
+ readonly sessionID: string;
1594
+ }["sessionID"];
1595
+ readonly messageID?: {
1596
+ readonly messageID?: string | undefined;
1597
+ readonly agent?: string | undefined;
1598
+ readonly model?: string | undefined;
1599
+ readonly arguments: string;
1600
+ readonly command: string;
1601
+ readonly variant?: string | undefined;
1602
+ readonly parts?: ReadonlyArray<unknown> | undefined;
1603
+ }["messageID"];
1604
+ readonly agent?: {
1605
+ readonly messageID?: string | undefined;
1606
+ readonly agent?: string | undefined;
1607
+ readonly model?: string | undefined;
1608
+ readonly arguments: string;
1609
+ readonly command: string;
1610
+ readonly variant?: string | undefined;
1611
+ readonly parts?: ReadonlyArray<unknown> | undefined;
1612
+ }["agent"];
1613
+ readonly model?: {
1614
+ readonly messageID?: string | undefined;
1615
+ readonly agent?: string | undefined;
1616
+ readonly model?: string | undefined;
1617
+ readonly arguments: string;
1618
+ readonly command: string;
1619
+ readonly variant?: string | undefined;
1620
+ readonly parts?: ReadonlyArray<unknown> | undefined;
1621
+ }["model"];
1622
+ readonly arguments: {
1623
+ readonly messageID?: string | undefined;
1624
+ readonly agent?: string | undefined;
1625
+ readonly model?: string | undefined;
1626
+ readonly arguments: string;
1627
+ readonly command: string;
1628
+ readonly variant?: string | undefined;
1629
+ readonly parts?: ReadonlyArray<unknown> | undefined;
1630
+ }["arguments"];
1631
+ readonly command: {
1632
+ readonly messageID?: string | undefined;
1633
+ readonly agent?: string | undefined;
1634
+ readonly model?: string | undefined;
1635
+ readonly arguments: string;
1636
+ readonly command: string;
1637
+ readonly variant?: string | undefined;
1638
+ readonly parts?: ReadonlyArray<unknown> | undefined;
1639
+ }["command"];
1640
+ readonly variant?: {
1641
+ readonly messageID?: string | undefined;
1642
+ readonly agent?: string | undefined;
1643
+ readonly model?: string | undefined;
1644
+ readonly arguments: string;
1645
+ readonly command: string;
1646
+ readonly variant?: string | undefined;
1647
+ readonly parts?: ReadonlyArray<unknown> | undefined;
1648
+ }["variant"];
1649
+ readonly parts?: {
1650
+ readonly messageID?: string | undefined;
1651
+ readonly agent?: string | undefined;
1652
+ readonly model?: string | undefined;
1653
+ readonly arguments: string;
1654
+ readonly command: string;
1655
+ readonly variant?: string | undefined;
1656
+ readonly parts?: ReadonlyArray<unknown> | undefined;
1657
+ }["parts"];
1658
+ };
1659
+ export type SessionCommandOutput = MessageWithParts;
1660
+ export type SessionShellInput = {
1661
+ readonly sessionID: {
1662
+ readonly sessionID: string;
1663
+ }["sessionID"];
1664
+ readonly agent: {
1665
+ readonly agent: string;
1666
+ readonly model?: {
1667
+ readonly providerID: string;
1668
+ readonly modelID: string;
1669
+ } | undefined;
1670
+ readonly command: string;
1671
+ }["agent"];
1672
+ readonly model?: {
1673
+ readonly agent: string;
1674
+ readonly model?: {
1675
+ readonly providerID: string;
1676
+ readonly modelID: string;
1677
+ } | undefined;
1678
+ readonly command: string;
1679
+ }["model"];
1680
+ readonly command: {
1681
+ readonly agent: string;
1682
+ readonly model?: {
1683
+ readonly providerID: string;
1684
+ readonly modelID: string;
1685
+ } | undefined;
1686
+ readonly command: string;
1687
+ }["command"];
1688
+ };
1689
+ export type SessionShellOutput = AssistantMessage;
1690
+ export type SessionPermissionRespondInput = {
1691
+ readonly sessionID: {
1692
+ readonly sessionID: string;
1693
+ readonly permissionID: string;
1694
+ }["sessionID"];
1695
+ readonly permissionID: {
1696
+ readonly sessionID: string;
1697
+ readonly permissionID: string;
1698
+ }["permissionID"];
1699
+ readonly response: {
1700
+ readonly response: "once" | "always" | "reject";
1701
+ }["response"];
1702
+ };
1703
+ export type SessionPermissionRespondOutput = BooleanResult;
1704
+ export type SessionChildrenInput = {
1705
+ readonly sessionID: {
1706
+ readonly sessionID: string;
1707
+ }["sessionID"];
1708
+ };
1709
+ export type SessionChildrenOutput = SessionList;
1710
+ export type SessionTodoInput = {
1711
+ readonly sessionID: {
1712
+ readonly sessionID: string;
1713
+ }["sessionID"];
1714
+ };
1715
+ export type SessionTodoOutput = TodoList;
1716
+ export type SessionDiffInput = {
1717
+ readonly sessionID: {
1718
+ readonly sessionID: string;
1719
+ }["sessionID"];
1720
+ readonly messageID?: {
1721
+ readonly messageID?: string | undefined;
1722
+ }["messageID"];
1723
+ };
1724
+ export type SessionDiffOutput = FileDiffList;
1725
+ export type SessionMessagesInput = {
1726
+ readonly sessionID: {
1727
+ readonly sessionID: string;
1728
+ }["sessionID"];
1729
+ readonly limit?: {
1730
+ readonly limit?: number | undefined;
1731
+ }["limit"];
1732
+ };
1733
+ export type SessionMessagesOutput = MessageList;
1734
+ export type SessionMessageInput = {
1735
+ readonly sessionID: {
1736
+ readonly sessionID: string;
1737
+ readonly messageID: string;
1738
+ }["sessionID"];
1739
+ readonly messageID: {
1740
+ readonly sessionID: string;
1741
+ readonly messageID: string;
1742
+ }["messageID"];
1743
+ };
1744
+ export type SessionMessageOutput = MessageWithParts;
1745
+ export type SessionMessageRemoveInput = {
1746
+ readonly sessionID: {
1747
+ readonly sessionID: string;
1748
+ readonly messageID: string;
1749
+ }["sessionID"];
1750
+ readonly messageID: {
1751
+ readonly sessionID: string;
1752
+ readonly messageID: string;
1753
+ }["messageID"];
1754
+ };
1755
+ export type SessionMessageRemoveOutput = BooleanResult;
1756
+ export type SessionPartRemoveInput = {
1757
+ readonly sessionID: {
1758
+ readonly sessionID: string;
1759
+ readonly messageID: string;
1760
+ readonly partID: string;
1761
+ }["sessionID"];
1762
+ readonly messageID: {
1763
+ readonly sessionID: string;
1764
+ readonly messageID: string;
1765
+ readonly partID: string;
1766
+ }["messageID"];
1767
+ readonly partID: {
1768
+ readonly sessionID: string;
1769
+ readonly messageID: string;
1770
+ readonly partID: string;
1771
+ }["partID"];
1772
+ };
1773
+ export type SessionPartRemoveOutput = BooleanResult;
1774
+ export type SessionPartUpdateInput = {
1775
+ readonly sessionID: {
1776
+ readonly sessionID: string;
1777
+ readonly messageID: string;
1778
+ readonly partID: string;
1779
+ }["sessionID"];
1780
+ readonly messageID: {
1781
+ readonly sessionID: string;
1782
+ readonly messageID: string;
1783
+ readonly partID: string;
1784
+ }["messageID"];
1785
+ readonly partID: {
1786
+ readonly sessionID: string;
1787
+ readonly messageID: string;
1788
+ readonly partID: string;
1789
+ }["partID"];
1790
+ readonly payload: unknown;
1791
+ };
1792
+ export type SessionPartUpdateOutput = MessagePart;
1793
+ export type SessionV2EntriesInput = {
1794
+ readonly sessionID: {
1795
+ readonly sessionID: string;
1796
+ }["sessionID"];
1797
+ };
1798
+ export type SessionV2EntriesOutput = SessionV2EntryList;
1799
+ export type SessionV2StateInput = {
1800
+ readonly sessionID: {
1801
+ readonly sessionID: string;
1802
+ }["sessionID"];
1803
+ };
1804
+ export type SessionV2StateOutput = SessionV2State;
1805
+ export type SessionV2EventsInput = {
1806
+ readonly sessionID: {
1807
+ readonly sessionID: string;
1808
+ }["sessionID"];
1809
+ };
1810
+ export type SessionV2EventsOutput = SessionV2EventList;
1811
+ export type SessionInstructionsInput = {
1812
+ readonly sessionID: {
1813
+ readonly sessionID: string;
1814
+ }["sessionID"];
1815
+ };
1816
+ export type SessionInstructionsOutput = SessionInstructionList;
1817
+ export type SessionContextBreakdownInput = {
1818
+ readonly sessionID: {
1819
+ readonly sessionID: string;
1820
+ }["sessionID"];
1821
+ };
1822
+ export type SessionContextBreakdownOutput = any;
1823
+ export type SessionContextToggleInput = {
1824
+ readonly sessionID: {
1825
+ readonly sessionID: string;
1826
+ }["sessionID"];
1827
+ readonly kind: {
1828
+ readonly kind: "mcp" | "skill" | "instruction" | "tool";
1829
+ readonly key: string;
1830
+ readonly enabled: boolean;
1831
+ }["kind"];
1832
+ readonly key: {
1833
+ readonly kind: "mcp" | "skill" | "instruction" | "tool";
1834
+ readonly key: string;
1835
+ readonly enabled: boolean;
1836
+ }["key"];
1837
+ readonly enabled: {
1838
+ readonly kind: "mcp" | "skill" | "instruction" | "tool";
1839
+ readonly key: string;
1840
+ readonly enabled: boolean;
1841
+ }["enabled"];
1842
+ };
1843
+ export type SessionContextToggleOutput = any;
1844
+ export type SessionGoalInput = {
1845
+ readonly sessionID: {
1846
+ readonly sessionID: string;
1847
+ }["sessionID"];
1848
+ };
1849
+ export type SessionGoalOutput = any;
1850
+ export type SessionBackgroundInput = {
1851
+ readonly sessionID: {
1852
+ readonly sessionID: string;
1853
+ }["sessionID"];
1854
+ };
1855
+ export type SessionBackgroundOutput = any;
1856
+ export type SessionBackgroundInspectInput = {
1857
+ readonly sessionID: {
1858
+ readonly sessionID: string;
1859
+ readonly delegationID: string;
1860
+ }["sessionID"];
1861
+ readonly delegationID: {
1862
+ readonly sessionID: string;
1863
+ readonly delegationID: string;
1864
+ }["delegationID"];
1865
+ };
1866
+ export type SessionBackgroundInspectOutput = any;
1867
+ export type SessionBackgroundReadInput = {
1868
+ readonly sessionID: {
1869
+ readonly sessionID: string;
1870
+ readonly delegationID: string;
1871
+ }["sessionID"];
1872
+ readonly delegationID: {
1873
+ readonly sessionID: string;
1874
+ readonly delegationID: string;
1875
+ }["delegationID"];
1876
+ };
1877
+ export type SessionBackgroundReadOutput = string;
1878
+ export type SessionBackgroundCancelInput = {
1879
+ readonly sessionID: {
1880
+ readonly sessionID: string;
1881
+ readonly delegationID: string;
1882
+ }["sessionID"];
1883
+ readonly delegationID: {
1884
+ readonly sessionID: string;
1885
+ readonly delegationID: string;
1886
+ }["delegationID"];
1887
+ };
1888
+ export type SessionBackgroundCancelOutput = boolean;
1889
+ export type SessionMonitorInput = {
1890
+ readonly sessionID: {
1891
+ readonly sessionID: string;
1892
+ readonly monitorID: string;
1893
+ }["sessionID"];
1894
+ readonly monitorID: {
1895
+ readonly sessionID: string;
1896
+ readonly monitorID: string;
1897
+ }["monitorID"];
1898
+ };
1899
+ export type SessionMonitorOutput = any;
1900
+ export type SessionMonitorLogInput = {
1901
+ readonly sessionID: {
1902
+ readonly sessionID: string;
1903
+ readonly monitorID: string;
1904
+ }["sessionID"];
1905
+ readonly monitorID: {
1906
+ readonly sessionID: string;
1907
+ readonly monitorID: string;
1908
+ }["monitorID"];
1909
+ readonly lines?: {
1910
+ readonly lines?: number | undefined;
1911
+ }["lines"];
1912
+ };
1913
+ export type SessionMonitorLogOutput = any;
1914
+ export type SessionMonitorCancelInput = {
1915
+ readonly sessionID: {
1916
+ readonly sessionID: string;
1917
+ readonly monitorID: string;
1918
+ }["sessionID"];
1919
+ readonly monitorID: {
1920
+ readonly sessionID: string;
1921
+ readonly monitorID: string;
1922
+ }["monitorID"];
1923
+ };
1924
+ export type SessionMonitorCancelOutput = any;
1925
+ export type SyncStartInput = {
1926
+ readonly url: {
1927
+ readonly url: string;
1928
+ readonly token: string;
1929
+ readonly projectID: string;
1930
+ }["url"];
1931
+ readonly token: {
1932
+ readonly url: string;
1933
+ readonly token: string;
1934
+ readonly projectID: string;
1935
+ }["token"];
1936
+ readonly projectID: {
1937
+ readonly url: string;
1938
+ readonly token: string;
1939
+ readonly projectID: string;
1940
+ }["projectID"];
1941
+ };
1942
+ export type SyncStartOutput = SyncStartResponse;
1943
+ export type SyncReplayInput = {
1944
+ readonly projectID: {
1945
+ readonly projectID: string;
1946
+ readonly aggregate: string;
1947
+ readonly data: unknown;
1948
+ readonly origin?: string | undefined;
1949
+ }["projectID"];
1950
+ readonly aggregate: {
1951
+ readonly projectID: string;
1952
+ readonly aggregate: string;
1953
+ readonly data: unknown;
1954
+ readonly origin?: string | undefined;
1955
+ }["aggregate"];
1956
+ readonly data: {
1957
+ readonly projectID: string;
1958
+ readonly aggregate: string;
1959
+ readonly data: unknown;
1960
+ readonly origin?: string | undefined;
1961
+ }["data"];
1962
+ readonly origin?: {
1963
+ readonly projectID: string;
1964
+ readonly aggregate: string;
1965
+ readonly data: unknown;
1966
+ readonly origin?: string | undefined;
1967
+ }["origin"];
1968
+ };
1969
+ export type SyncReplayOutput = SyncReplayResponse;
1970
+ export type SyncHistoryInput = {
1971
+ readonly projectID: {
1972
+ readonly projectID: string;
1973
+ readonly aggregate: string;
1974
+ readonly since?: number | undefined;
1975
+ readonly limit?: number | undefined;
1976
+ }["projectID"];
1977
+ readonly aggregate: {
1978
+ readonly projectID: string;
1979
+ readonly aggregate: string;
1980
+ readonly since?: number | undefined;
1981
+ readonly limit?: number | undefined;
1982
+ }["aggregate"];
1983
+ readonly since?: {
1984
+ readonly projectID: string;
1985
+ readonly aggregate: string;
1986
+ readonly since?: number | undefined;
1987
+ readonly limit?: number | undefined;
1988
+ }["since"];
1989
+ readonly limit?: {
1990
+ readonly projectID: string;
1991
+ readonly aggregate: string;
1992
+ readonly since?: number | undefined;
1993
+ readonly limit?: number | undefined;
1994
+ }["limit"];
1995
+ };
1996
+ export type SyncHistoryOutput = SyncHistoryResponse;
1997
+ export type SyncSnapshotInput = {
1998
+ readonly projectID: {
1999
+ readonly projectID: string;
2000
+ readonly aggregate: string;
2001
+ }["projectID"];
2002
+ readonly aggregate: {
2003
+ readonly projectID: string;
2004
+ readonly aggregate: string;
2005
+ }["aggregate"];
2006
+ };
2007
+ export type SyncSnapshotOutput = SyncSnapshotResponse;
2008
+ export type TuiAppendPromptInput = {
2009
+ readonly payload: unknown;
2010
+ };
2011
+ export type TuiAppendPromptOutput = TuiBooleanResult;
2012
+ export type TuiOpenHelpOutput = TuiBooleanResult;
2013
+ export type TuiOpenSessionsOutput = TuiBooleanResult;
2014
+ export type TuiOpenThemesOutput = TuiBooleanResult;
2015
+ export type TuiOpenModelsOutput = TuiBooleanResult;
2016
+ export type TuiSubmitPromptOutput = TuiBooleanResult;
2017
+ export type TuiClearPromptOutput = TuiBooleanResult;
2018
+ export type TuiExecuteCommandInput = {
2019
+ readonly payload: unknown;
2020
+ };
2021
+ export type TuiExecuteCommandOutput = TuiBooleanResult;
2022
+ export type TuiShowToastInput = {
2023
+ readonly payload: unknown;
2024
+ };
2025
+ export type TuiShowToastOutput = TuiBooleanResult;
2026
+ export type TuiPublishInput = {
2027
+ readonly payload: unknown;
2028
+ };
2029
+ export type TuiPublishOutput = TuiBooleanResult;
2030
+ export type TuiSelectSessionInput = {
2031
+ readonly payload: unknown;
2032
+ };
2033
+ export type TuiSelectSessionOutput = TuiBooleanResult;
2034
+ export type TuiControlNextOutput = TuiControlRequest;
2035
+ export type TuiControlResponseInput = {
2036
+ readonly payload: unknown;
2037
+ };
2038
+ export type TuiControlResponseOutput = TuiBooleanResult;
2039
+ export type WorkspaceAdaptorsOutput = Array<WorkspaceAdaptorInfo>;
2040
+ export type WorkspaceSyncListOutput = void;
2041
+ export type WorkspaceStatusOutput = Array<WorkspaceConnectionStatus>;
2042
+ export type WorkspaceCreateInput = {
2043
+ readonly id: {
2044
+ readonly id: string;
2045
+ }["id"];
2046
+ readonly branch: {
2047
+ readonly branch: string | null;
2048
+ readonly config: {
2049
+ readonly type: "worktree";
2050
+ readonly directory: string;
2051
+ readonly strategy?: "git" | "cow" | undefined;
2052
+ readonly eventLimit?: number | undefined;
2053
+ } | {
2054
+ readonly type: "container";
2055
+ readonly directory: string;
2056
+ readonly runtime: "docker" | "podman";
2057
+ readonly image: string;
2058
+ readonly containerName: string;
2059
+ readonly port: number;
2060
+ readonly serverUrl: string;
2061
+ readonly eventLimit?: number | undefined;
2062
+ } | {
2063
+ readonly type: "branch";
2064
+ readonly directory: string;
2065
+ readonly branch?: string | undefined;
2066
+ readonly eventLimit?: number | undefined;
2067
+ };
2068
+ }["branch"];
2069
+ readonly config: {
2070
+ readonly branch: string | null;
2071
+ readonly config: {
2072
+ readonly type: "worktree";
2073
+ readonly directory: string;
2074
+ readonly strategy?: "git" | "cow" | undefined;
2075
+ readonly eventLimit?: number | undefined;
2076
+ } | {
2077
+ readonly type: "container";
2078
+ readonly directory: string;
2079
+ readonly runtime: "docker" | "podman";
2080
+ readonly image: string;
2081
+ readonly containerName: string;
2082
+ readonly port: number;
2083
+ readonly serverUrl: string;
2084
+ readonly eventLimit?: number | undefined;
2085
+ } | {
2086
+ readonly type: "branch";
2087
+ readonly directory: string;
2088
+ readonly branch?: string | undefined;
2089
+ readonly eventLimit?: number | undefined;
2090
+ };
2091
+ }["config"];
2092
+ };
2093
+ export type WorkspaceCreateOutput = Workspace;
2094
+ export type WorkspaceListOutput = Array<Workspace>;
2095
+ export type WorkspaceRemoveInput = {
2096
+ readonly id: {
2097
+ readonly id: string;
2098
+ }["id"];
2099
+ };
2100
+ export type WorkspaceRemoveOutput = OptionalWorkspace;
2101
+ export type WorkspaceRestoreInput = {
2102
+ readonly id: {
2103
+ readonly id: string;
2104
+ }["id"];
2105
+ readonly timeoutMs?: {
2106
+ readonly timeoutMs?: number | undefined;
2107
+ }["timeoutMs"];
2108
+ };
2109
+ export type WorkspaceRestoreOutput = WorkspaceRestore;
2110
+ export type WorkspaceSessionRestoreInput = {
2111
+ readonly id: {
2112
+ readonly id: string;
2113
+ readonly sessionID: string;
2114
+ }["id"];
2115
+ readonly sessionID: {
2116
+ readonly id: string;
2117
+ readonly sessionID: string;
2118
+ }["sessionID"];
2119
+ readonly timeoutMs?: {
2120
+ readonly timeoutMs?: number | undefined;
2121
+ }["timeoutMs"];
2122
+ };
2123
+ export type WorkspaceSessionRestoreOutput = WorkspaceSessionRestore;
2124
+ export type WorkspaceWarpInput = {
2125
+ readonly id: {
2126
+ readonly id: string | null;
2127
+ readonly sessionID: string;
2128
+ readonly copyChanges?: boolean | undefined;
2129
+ readonly timeoutMs?: number | undefined;
2130
+ }["id"];
2131
+ readonly sessionID: {
2132
+ readonly id: string | null;
2133
+ readonly sessionID: string;
2134
+ readonly copyChanges?: boolean | undefined;
2135
+ readonly timeoutMs?: number | undefined;
2136
+ }["sessionID"];
2137
+ readonly copyChanges?: {
2138
+ readonly id: string | null;
2139
+ readonly sessionID: string;
2140
+ readonly copyChanges?: boolean | undefined;
2141
+ readonly timeoutMs?: number | undefined;
2142
+ }["copyChanges"];
2143
+ readonly timeoutMs?: {
2144
+ readonly id: string | null;
2145
+ readonly sessionID: string;
2146
+ readonly copyChanges?: boolean | undefined;
2147
+ readonly timeoutMs?: number | undefined;
2148
+ }["timeoutMs"];
2149
+ };
2150
+ export type WorkspaceWarpOutput = void;