@nikcli-ai/sdk 1.162.0 → 1.165.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.
@@ -351,29 +351,6 @@ export type SessionInstructionList = Array<{
351
351
  path: string;
352
352
  name: string;
353
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
354
  export type TuiBooleanResult = boolean;
378
355
  export type TuiControlRequest = {
379
356
  path: string;
@@ -420,6 +397,181 @@ export type WorkspaceSessionRestore = {
420
397
  sessions: Array<string>;
421
398
  events: Array<any>;
422
399
  };
400
+ export type SyncOutboxResponse = {
401
+ events: Array<any>;
402
+ hasMore: boolean;
403
+ };
404
+ export type SyncSnapshotResponse = {
405
+ lastSeq: number;
406
+ state: any;
407
+ };
408
+ export type SyncConfigSetResponse = {
409
+ configured: boolean;
410
+ url?: string | undefined;
411
+ source?: "env" | "config" | undefined;
412
+ started: boolean;
413
+ error?: string | undefined;
414
+ };
415
+ export type ConfigReloadResponse = {
416
+ reloaded: boolean;
417
+ directory: string;
418
+ };
419
+ export type SuccessFlag = {
420
+ success: boolean;
421
+ };
422
+ export type SessionPromptResponse = any;
423
+ export type WorkspaceJournalEvent = any;
424
+ export type WorkspaceSessionWarpResponse = {
425
+ sessionID: string;
426
+ workspaceID: string | null;
427
+ };
428
+ export type MobileAuthTokenPublic = {
429
+ id: string;
430
+ name?: string | undefined;
431
+ scope?: string | undefined;
432
+ createdAt?: number | undefined;
433
+ expiresAt?: number | undefined;
434
+ };
435
+ export type MobileProject = any;
436
+ export type MobileCommand = {
437
+ name: string;
438
+ description?: string | undefined;
439
+ agent?: string | undefined;
440
+ model?: string | undefined;
441
+ mcp?: boolean | undefined;
442
+ skill?: boolean | undefined;
443
+ subtask?: boolean | undefined;
444
+ hints: Array<string>;
445
+ };
446
+ export type MobilePromptHistoryEntry = {
447
+ id: string;
448
+ input: string;
449
+ mode?: "normal" | "shell" | undefined;
450
+ partsCount: number;
451
+ };
452
+ export type MobileMemorySearchHit = {
453
+ id: string;
454
+ sessionID: string;
455
+ sessionTitle: string;
456
+ messageID: string;
457
+ role: "user" | "assistant";
458
+ createdAt: number;
459
+ preview: string;
460
+ };
461
+ export type MobilePromptStashEntry = {
462
+ id: string;
463
+ input: string;
464
+ timestamp: number;
465
+ partsCount: number;
466
+ };
467
+ export type MobileSuccess = {
468
+ success: true;
469
+ };
470
+ export type MobileGithubBranch = {
471
+ name: string;
472
+ protected?: boolean | undefined;
473
+ commit: {
474
+ sha: string;
475
+ };
476
+ };
477
+ export type MobileGithubImport = any;
478
+ export type MobileConfigInfo = any;
479
+ export type MobileGithubDeviceAuthStart = {
480
+ deviceCode: string;
481
+ userCode: string;
482
+ verificationUri: string;
483
+ verificationUriComplete?: string | undefined;
484
+ expiresAt: number;
485
+ interval: number;
486
+ };
487
+ export type MobileGithubDeviceAuthPollResult = {
488
+ status: "pending" | "approved" | "denied" | "expired";
489
+ interval?: number | undefined;
490
+ user?: {
491
+ login: string;
492
+ name?: string | null | undefined;
493
+ avatar_url?: string | undefined;
494
+ } | undefined;
495
+ };
496
+ export type MobileProjectInfo = any;
497
+ export type MobileSessionInfo = any;
498
+ export type MobileWorktreeInfo = any;
499
+ export type MobileWorkspaceInfo = any;
500
+ export type MobileGithubPublishResult = {
501
+ commitSha: string;
502
+ branch: string;
503
+ pullRequest: {
504
+ number: number;
505
+ url: string;
506
+ title: string;
507
+ };
508
+ };
509
+ export type MobileTeleportResult = {
510
+ sessionID: string;
511
+ title?: string | undefined;
512
+ messageCount: number;
513
+ directory?: string | undefined;
514
+ workspace: boolean;
515
+ };
516
+ export type MobileGitChange = {
517
+ status: "added" | "modified" | "deleted" | "renamed";
518
+ path: string;
519
+ additions?: number | undefined;
520
+ deletions?: number | undefined;
521
+ oldPath?: string | undefined;
522
+ };
523
+ export type MobileGitFileDiff = {
524
+ file: string;
525
+ oldPath?: string | undefined;
526
+ hunks: Array<{
527
+ header: {
528
+ oldStart: number;
529
+ oldLines: number;
530
+ newStart: number;
531
+ newLines: number;
532
+ };
533
+ lines: Array<{
534
+ type: "add" | "remove" | "context";
535
+ text: string;
536
+ oldLineNumber?: number | undefined;
537
+ newLineNumber?: number | undefined;
538
+ }>;
539
+ }>;
540
+ isBinary: boolean;
541
+ additions: number;
542
+ deletions: number;
543
+ };
544
+ export type MobileGitCommit = {
545
+ sha: string;
546
+ message: string;
547
+ author: {
548
+ name: string;
549
+ email: string;
550
+ };
551
+ timestamp: number;
552
+ filesCount: number;
553
+ additions: number;
554
+ deletions: number;
555
+ };
556
+ export type MobileGitBranch = {
557
+ name: string;
558
+ isCurrent: boolean;
559
+ isProtected: boolean;
560
+ aheadBy: number;
561
+ behindBy: number;
562
+ };
563
+ export type MobileLoop = any;
564
+ export type MobileLoopRuntime = {
565
+ loopID: string;
566
+ status: "idle" | "running" | "paused" | "error" | "cancelling";
567
+ runs: number;
568
+ lastRunAt?: number | undefined;
569
+ lastError?: string | undefined;
570
+ sessionID?: string | undefined;
571
+ };
572
+ export type MobileLoopRun = any;
573
+ export type MobileRoutine = any;
574
+ export type MobilePtyInfo = any;
423
575
  export type ConfigProviders = {
424
576
  providers: Array<Provider>;
425
577
  default: {
@@ -459,10 +611,6 @@ export type QuestionInfo = {
459
611
  custom?: boolean | undefined;
460
612
  };
461
613
  export type PtyList = Array<Pty>;
462
- export type SyncHistoryResponse = {
463
- events: Array<SyncEventRecord>;
464
- hasMore: boolean;
465
- };
466
614
  export type Workspace = {
467
615
  id: string;
468
616
  name: string;
@@ -471,6 +619,77 @@ export type Workspace = {
471
619
  projectID: string;
472
620
  config: WorkspaceConfig;
473
621
  };
622
+ export type MobileBootstrap = {
623
+ version: string;
624
+ auth: {
625
+ bearerEnabled: boolean;
626
+ currentToken?: MobileAuthTokenPublic | undefined;
627
+ };
628
+ currentProject: MobileProject;
629
+ projects: Array<MobileProject>;
630
+ execution: {
631
+ container: {
632
+ available: boolean;
633
+ runtime?: "docker" | "podman" | undefined;
634
+ image: string;
635
+ };
636
+ };
637
+ github: {
638
+ connected: boolean;
639
+ tokenAvailable?: boolean | undefined;
640
+ oauthDeviceEnabled: boolean;
641
+ oauthDeviceConfigured?: boolean | undefined;
642
+ oauthClientSource?: "flag" | "config" | "env" | undefined;
643
+ user?: {
644
+ login: string;
645
+ name?: string | null | undefined;
646
+ avatar_url?: string | undefined;
647
+ } | undefined;
648
+ };
649
+ expo: {
650
+ available: boolean;
651
+ easAvailable: boolean;
652
+ details: Array<string>;
653
+ };
654
+ mobileProject?: {
655
+ detected: boolean;
656
+ platforms?: Array<string> | undefined;
657
+ primaryPlatform?: string | undefined;
658
+ method?: string | undefined;
659
+ root?: string | undefined;
660
+ } | undefined;
661
+ };
662
+ export type MobileSessionSummary = {
663
+ info: MobileSessionInfo;
664
+ status?: any | undefined;
665
+ };
666
+ export type MobileSessionDetail = {
667
+ info: MobileSessionInfo;
668
+ status?: any | undefined;
669
+ messages: Array<any>;
670
+ permissions: Array<any>;
671
+ questions: Array<any>;
672
+ };
673
+ export type MobileGithubSessionCreateResult = {
674
+ session: MobileSessionInfo;
675
+ worktree: MobileWorktreeInfo;
676
+ project: MobileProjectInfo;
677
+ workspace?: MobileWorkspaceInfo | undefined;
678
+ };
679
+ export type MobileGitStatus = {
680
+ branch: string;
681
+ staged: Array<MobileGitChange>;
682
+ unstaged: Array<MobileGitChange>;
683
+ untracked: Array<string>;
684
+ commitsAhead: number;
685
+ commitsBehind: number;
686
+ lastCommit?: {
687
+ sha: string;
688
+ message: string;
689
+ author: string;
690
+ timestamp: number;
691
+ } | undefined;
692
+ };
474
693
  export type QuestionRequest = {
475
694
  id: string;
476
695
  sessionID: string;
@@ -1922,89 +2141,6 @@ export type SessionMonitorCancelInput = {
1922
2141
  }["monitorID"];
1923
2142
  };
1924
2143
  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
2144
  export type TuiAppendPromptInput = {
2009
2145
  readonly payload: unknown;
2010
2146
  };
@@ -2148,3 +2284,1543 @@ export type WorkspaceWarpInput = {
2148
2284
  }["timeoutMs"];
2149
2285
  };
2150
2286
  export type WorkspaceWarpOutput = void;
2287
+ export type SyncEventInput = {
2288
+ readonly event: {
2289
+ readonly event: {
2290
+ readonly id: string;
2291
+ readonly projectId: string;
2292
+ readonly workspaceId?: string | undefined;
2293
+ readonly aggregate: string;
2294
+ readonly seq: number;
2295
+ readonly type: string;
2296
+ readonly data: unknown;
2297
+ readonly timestamp: number;
2298
+ readonly origin?: string | undefined;
2299
+ readonly originSeq?: number | undefined;
2300
+ };
2301
+ readonly projectID: string;
2302
+ }["event"];
2303
+ readonly projectID: {
2304
+ readonly event: {
2305
+ readonly id: string;
2306
+ readonly projectId: string;
2307
+ readonly workspaceId?: string | undefined;
2308
+ readonly aggregate: string;
2309
+ readonly seq: number;
2310
+ readonly type: string;
2311
+ readonly data: unknown;
2312
+ readonly timestamp: number;
2313
+ readonly origin?: string | undefined;
2314
+ readonly originSeq?: number | undefined;
2315
+ };
2316
+ readonly projectID: string;
2317
+ }["projectID"];
2318
+ };
2319
+ export type SyncEventOutput = void;
2320
+ export type SyncOutboxInput = {
2321
+ readonly projectID: {
2322
+ readonly projectID: string;
2323
+ readonly since?: number | undefined;
2324
+ }["projectID"];
2325
+ readonly since?: {
2326
+ readonly projectID: string;
2327
+ readonly since?: number | undefined;
2328
+ }["since"];
2329
+ };
2330
+ export type SyncOutboxOutput = SyncOutboxResponse;
2331
+ export type SyncSnapshotInput = {
2332
+ readonly aggregateID: {
2333
+ readonly aggregateID: string;
2334
+ }["aggregateID"];
2335
+ readonly projectID: {
2336
+ readonly projectID: string;
2337
+ }["projectID"];
2338
+ };
2339
+ export type SyncSnapshotOutput = SyncSnapshotResponse;
2340
+ export type SyncStreamInput = {
2341
+ readonly projectID: {
2342
+ readonly projectID: string;
2343
+ readonly token: string;
2344
+ }["projectID"];
2345
+ readonly token: {
2346
+ readonly projectID: string;
2347
+ readonly token: string;
2348
+ }["token"];
2349
+ };
2350
+ export type SyncStreamOutput = any;
2351
+ export type SyncStatsInput = {
2352
+ readonly projectID?: {
2353
+ readonly projectID?: string | undefined;
2354
+ }["projectID"];
2355
+ };
2356
+ export type SyncStatsOutput = any;
2357
+ export type SyncConfigInput = {
2358
+ readonly url: {
2359
+ readonly url: string;
2360
+ readonly token?: string | undefined;
2361
+ readonly autostart?: boolean | undefined;
2362
+ }["url"];
2363
+ readonly token?: {
2364
+ readonly url: string;
2365
+ readonly token?: string | undefined;
2366
+ readonly autostart?: boolean | undefined;
2367
+ }["token"];
2368
+ readonly autostart?: {
2369
+ readonly url: string;
2370
+ readonly token?: string | undefined;
2371
+ readonly autostart?: boolean | undefined;
2372
+ }["autostart"];
2373
+ };
2374
+ export type SyncConfigOutput = SyncConfigSetResponse;
2375
+ export type SyncConnectOutput = void;
2376
+ export type SyncDisconnectOutput = void;
2377
+ export type SyncDrainOutput = void;
2378
+ export type AuthRemoveInput = {
2379
+ readonly providerID: {
2380
+ readonly providerID: string;
2381
+ }["providerID"];
2382
+ };
2383
+ export type AuthRemoveOutput = boolean;
2384
+ export type ConfigManagementReloadOutput = ConfigReloadResponse;
2385
+ export type ConfigManagementMcpAddInput = {
2386
+ readonly name: {
2387
+ readonly name: string;
2388
+ readonly config: unknown;
2389
+ }["name"];
2390
+ readonly config: {
2391
+ readonly name: string;
2392
+ readonly config: unknown;
2393
+ }["config"];
2394
+ };
2395
+ export type ConfigManagementMcpAddOutput = SuccessFlag;
2396
+ export type ConfigManagementMcpUpdateInput = {
2397
+ readonly name: {
2398
+ readonly name: string;
2399
+ }["name"];
2400
+ readonly payload: {
2401
+ readonly [x: string]: unknown;
2402
+ };
2403
+ };
2404
+ export type ConfigManagementMcpUpdateOutput = SuccessFlag;
2405
+ export type ConfigManagementMcpRemoveInput = {
2406
+ readonly name: {
2407
+ readonly name: string;
2408
+ }["name"];
2409
+ };
2410
+ export type ConfigManagementMcpRemoveOutput = SuccessFlag;
2411
+ export type ConfigManagementProfileCreateInput = {
2412
+ readonly name: {
2413
+ readonly name: string;
2414
+ }["name"];
2415
+ };
2416
+ export type ConfigManagementProfileCreateOutput = SuccessFlag;
2417
+ export type ConfigManagementProfileActivateInput = {
2418
+ readonly name: {
2419
+ readonly name: string;
2420
+ }["name"];
2421
+ };
2422
+ export type ConfigManagementProfileActivateOutput = SuccessFlag;
2423
+ export type SessionPromptPromptInput = {
2424
+ readonly sessionID: {
2425
+ readonly sessionID: string;
2426
+ }["sessionID"];
2427
+ readonly messageID?: {
2428
+ readonly messageID?: string | undefined;
2429
+ readonly model?: {
2430
+ readonly providerID: string;
2431
+ readonly modelID: string;
2432
+ } | undefined;
2433
+ readonly agent?: string | undefined;
2434
+ readonly noReply?: boolean | undefined;
2435
+ readonly tools?: {
2436
+ readonly [x: string]: boolean;
2437
+ } | undefined;
2438
+ readonly format?: unknown | undefined;
2439
+ readonly system?: string | undefined;
2440
+ readonly variant?: string | undefined;
2441
+ readonly parts: ReadonlyArray<unknown>;
2442
+ }["messageID"];
2443
+ readonly model?: {
2444
+ readonly messageID?: string | undefined;
2445
+ readonly model?: {
2446
+ readonly providerID: string;
2447
+ readonly modelID: string;
2448
+ } | undefined;
2449
+ readonly agent?: string | undefined;
2450
+ readonly noReply?: boolean | undefined;
2451
+ readonly tools?: {
2452
+ readonly [x: string]: boolean;
2453
+ } | undefined;
2454
+ readonly format?: unknown | undefined;
2455
+ readonly system?: string | undefined;
2456
+ readonly variant?: string | undefined;
2457
+ readonly parts: ReadonlyArray<unknown>;
2458
+ }["model"];
2459
+ readonly agent?: {
2460
+ readonly messageID?: string | undefined;
2461
+ readonly model?: {
2462
+ readonly providerID: string;
2463
+ readonly modelID: string;
2464
+ } | undefined;
2465
+ readonly agent?: string | undefined;
2466
+ readonly noReply?: boolean | undefined;
2467
+ readonly tools?: {
2468
+ readonly [x: string]: boolean;
2469
+ } | undefined;
2470
+ readonly format?: unknown | undefined;
2471
+ readonly system?: string | undefined;
2472
+ readonly variant?: string | undefined;
2473
+ readonly parts: ReadonlyArray<unknown>;
2474
+ }["agent"];
2475
+ readonly noReply?: {
2476
+ readonly messageID?: string | undefined;
2477
+ readonly model?: {
2478
+ readonly providerID: string;
2479
+ readonly modelID: string;
2480
+ } | undefined;
2481
+ readonly agent?: string | undefined;
2482
+ readonly noReply?: boolean | undefined;
2483
+ readonly tools?: {
2484
+ readonly [x: string]: boolean;
2485
+ } | undefined;
2486
+ readonly format?: unknown | undefined;
2487
+ readonly system?: string | undefined;
2488
+ readonly variant?: string | undefined;
2489
+ readonly parts: ReadonlyArray<unknown>;
2490
+ }["noReply"];
2491
+ readonly tools?: {
2492
+ readonly messageID?: string | undefined;
2493
+ readonly model?: {
2494
+ readonly providerID: string;
2495
+ readonly modelID: string;
2496
+ } | undefined;
2497
+ readonly agent?: string | undefined;
2498
+ readonly noReply?: boolean | undefined;
2499
+ readonly tools?: {
2500
+ readonly [x: string]: boolean;
2501
+ } | undefined;
2502
+ readonly format?: unknown | undefined;
2503
+ readonly system?: string | undefined;
2504
+ readonly variant?: string | undefined;
2505
+ readonly parts: ReadonlyArray<unknown>;
2506
+ }["tools"];
2507
+ readonly format?: {
2508
+ readonly messageID?: string | undefined;
2509
+ readonly model?: {
2510
+ readonly providerID: string;
2511
+ readonly modelID: string;
2512
+ } | undefined;
2513
+ readonly agent?: string | undefined;
2514
+ readonly noReply?: boolean | undefined;
2515
+ readonly tools?: {
2516
+ readonly [x: string]: boolean;
2517
+ } | undefined;
2518
+ readonly format?: unknown | undefined;
2519
+ readonly system?: string | undefined;
2520
+ readonly variant?: string | undefined;
2521
+ readonly parts: ReadonlyArray<unknown>;
2522
+ }["format"];
2523
+ readonly system?: {
2524
+ readonly messageID?: string | undefined;
2525
+ readonly model?: {
2526
+ readonly providerID: string;
2527
+ readonly modelID: string;
2528
+ } | undefined;
2529
+ readonly agent?: string | undefined;
2530
+ readonly noReply?: boolean | undefined;
2531
+ readonly tools?: {
2532
+ readonly [x: string]: boolean;
2533
+ } | undefined;
2534
+ readonly format?: unknown | undefined;
2535
+ readonly system?: string | undefined;
2536
+ readonly variant?: string | undefined;
2537
+ readonly parts: ReadonlyArray<unknown>;
2538
+ }["system"];
2539
+ readonly variant?: {
2540
+ readonly messageID?: string | undefined;
2541
+ readonly model?: {
2542
+ readonly providerID: string;
2543
+ readonly modelID: string;
2544
+ } | undefined;
2545
+ readonly agent?: string | undefined;
2546
+ readonly noReply?: boolean | undefined;
2547
+ readonly tools?: {
2548
+ readonly [x: string]: boolean;
2549
+ } | undefined;
2550
+ readonly format?: unknown | undefined;
2551
+ readonly system?: string | undefined;
2552
+ readonly variant?: string | undefined;
2553
+ readonly parts: ReadonlyArray<unknown>;
2554
+ }["variant"];
2555
+ readonly parts: {
2556
+ readonly messageID?: string | undefined;
2557
+ readonly model?: {
2558
+ readonly providerID: string;
2559
+ readonly modelID: string;
2560
+ } | undefined;
2561
+ readonly agent?: string | undefined;
2562
+ readonly noReply?: boolean | undefined;
2563
+ readonly tools?: {
2564
+ readonly [x: string]: boolean;
2565
+ } | undefined;
2566
+ readonly format?: unknown | undefined;
2567
+ readonly system?: string | undefined;
2568
+ readonly variant?: string | undefined;
2569
+ readonly parts: ReadonlyArray<unknown>;
2570
+ }["parts"];
2571
+ };
2572
+ export type SessionPromptPromptOutput = SessionPromptResponse;
2573
+ export type SessionPromptPromptAsyncInput = {
2574
+ readonly sessionID: {
2575
+ readonly sessionID: string;
2576
+ }["sessionID"];
2577
+ readonly messageID?: {
2578
+ readonly messageID?: string | undefined;
2579
+ readonly model?: {
2580
+ readonly providerID: string;
2581
+ readonly modelID: string;
2582
+ } | undefined;
2583
+ readonly agent?: string | undefined;
2584
+ readonly noReply?: boolean | undefined;
2585
+ readonly tools?: {
2586
+ readonly [x: string]: boolean;
2587
+ } | undefined;
2588
+ readonly format?: unknown | undefined;
2589
+ readonly system?: string | undefined;
2590
+ readonly variant?: string | undefined;
2591
+ readonly parts: ReadonlyArray<unknown>;
2592
+ }["messageID"];
2593
+ readonly model?: {
2594
+ readonly messageID?: string | undefined;
2595
+ readonly model?: {
2596
+ readonly providerID: string;
2597
+ readonly modelID: string;
2598
+ } | undefined;
2599
+ readonly agent?: string | undefined;
2600
+ readonly noReply?: boolean | undefined;
2601
+ readonly tools?: {
2602
+ readonly [x: string]: boolean;
2603
+ } | undefined;
2604
+ readonly format?: unknown | undefined;
2605
+ readonly system?: string | undefined;
2606
+ readonly variant?: string | undefined;
2607
+ readonly parts: ReadonlyArray<unknown>;
2608
+ }["model"];
2609
+ readonly agent?: {
2610
+ readonly messageID?: string | undefined;
2611
+ readonly model?: {
2612
+ readonly providerID: string;
2613
+ readonly modelID: string;
2614
+ } | undefined;
2615
+ readonly agent?: string | undefined;
2616
+ readonly noReply?: boolean | undefined;
2617
+ readonly tools?: {
2618
+ readonly [x: string]: boolean;
2619
+ } | undefined;
2620
+ readonly format?: unknown | undefined;
2621
+ readonly system?: string | undefined;
2622
+ readonly variant?: string | undefined;
2623
+ readonly parts: ReadonlyArray<unknown>;
2624
+ }["agent"];
2625
+ readonly noReply?: {
2626
+ readonly messageID?: string | undefined;
2627
+ readonly model?: {
2628
+ readonly providerID: string;
2629
+ readonly modelID: string;
2630
+ } | undefined;
2631
+ readonly agent?: string | undefined;
2632
+ readonly noReply?: boolean | undefined;
2633
+ readonly tools?: {
2634
+ readonly [x: string]: boolean;
2635
+ } | undefined;
2636
+ readonly format?: unknown | undefined;
2637
+ readonly system?: string | undefined;
2638
+ readonly variant?: string | undefined;
2639
+ readonly parts: ReadonlyArray<unknown>;
2640
+ }["noReply"];
2641
+ readonly tools?: {
2642
+ readonly messageID?: string | undefined;
2643
+ readonly model?: {
2644
+ readonly providerID: string;
2645
+ readonly modelID: string;
2646
+ } | undefined;
2647
+ readonly agent?: string | undefined;
2648
+ readonly noReply?: boolean | undefined;
2649
+ readonly tools?: {
2650
+ readonly [x: string]: boolean;
2651
+ } | undefined;
2652
+ readonly format?: unknown | undefined;
2653
+ readonly system?: string | undefined;
2654
+ readonly variant?: string | undefined;
2655
+ readonly parts: ReadonlyArray<unknown>;
2656
+ }["tools"];
2657
+ readonly format?: {
2658
+ readonly messageID?: string | undefined;
2659
+ readonly model?: {
2660
+ readonly providerID: string;
2661
+ readonly modelID: string;
2662
+ } | undefined;
2663
+ readonly agent?: string | undefined;
2664
+ readonly noReply?: boolean | undefined;
2665
+ readonly tools?: {
2666
+ readonly [x: string]: boolean;
2667
+ } | undefined;
2668
+ readonly format?: unknown | undefined;
2669
+ readonly system?: string | undefined;
2670
+ readonly variant?: string | undefined;
2671
+ readonly parts: ReadonlyArray<unknown>;
2672
+ }["format"];
2673
+ readonly system?: {
2674
+ readonly messageID?: string | undefined;
2675
+ readonly model?: {
2676
+ readonly providerID: string;
2677
+ readonly modelID: string;
2678
+ } | undefined;
2679
+ readonly agent?: string | undefined;
2680
+ readonly noReply?: boolean | undefined;
2681
+ readonly tools?: {
2682
+ readonly [x: string]: boolean;
2683
+ } | undefined;
2684
+ readonly format?: unknown | undefined;
2685
+ readonly system?: string | undefined;
2686
+ readonly variant?: string | undefined;
2687
+ readonly parts: ReadonlyArray<unknown>;
2688
+ }["system"];
2689
+ readonly variant?: {
2690
+ readonly messageID?: string | undefined;
2691
+ readonly model?: {
2692
+ readonly providerID: string;
2693
+ readonly modelID: string;
2694
+ } | undefined;
2695
+ readonly agent?: string | undefined;
2696
+ readonly noReply?: boolean | undefined;
2697
+ readonly tools?: {
2698
+ readonly [x: string]: boolean;
2699
+ } | undefined;
2700
+ readonly format?: unknown | undefined;
2701
+ readonly system?: string | undefined;
2702
+ readonly variant?: string | undefined;
2703
+ readonly parts: ReadonlyArray<unknown>;
2704
+ }["variant"];
2705
+ readonly parts: {
2706
+ readonly messageID?: string | undefined;
2707
+ readonly model?: {
2708
+ readonly providerID: string;
2709
+ readonly modelID: string;
2710
+ } | undefined;
2711
+ readonly agent?: string | undefined;
2712
+ readonly noReply?: boolean | undefined;
2713
+ readonly tools?: {
2714
+ readonly [x: string]: boolean;
2715
+ } | undefined;
2716
+ readonly format?: unknown | undefined;
2717
+ readonly system?: string | undefined;
2718
+ readonly variant?: string | undefined;
2719
+ readonly parts: ReadonlyArray<unknown>;
2720
+ }["parts"];
2721
+ };
2722
+ export type SessionPromptPromptAsyncOutput = void;
2723
+ export type ShareShortInput = {
2724
+ readonly shareID: {
2725
+ readonly shareID: string;
2726
+ }["shareID"];
2727
+ };
2728
+ export type ShareShortOutput = any;
2729
+ export type SharePageInput = {
2730
+ readonly shareID: {
2731
+ readonly shareID: string;
2732
+ }["shareID"];
2733
+ };
2734
+ export type SharePageOutput = any;
2735
+ export type ShareApiInput = {
2736
+ readonly shareID: {
2737
+ readonly shareID: string;
2738
+ }["shareID"];
2739
+ };
2740
+ export type ShareApiOutput = any;
2741
+ export type ShareDataInput = {
2742
+ readonly shareID: {
2743
+ readonly shareID: string;
2744
+ }["shareID"];
2745
+ };
2746
+ export type ShareDataOutput = any;
2747
+ export type EventsSubscribeOutput = any;
2748
+ export type EventsGlobalOutput = any;
2749
+ export type WorkspaceExtraEventsInput = {
2750
+ readonly id: {
2751
+ readonly id: string;
2752
+ }["id"];
2753
+ readonly from?: {
2754
+ readonly from?: number | undefined;
2755
+ }["from"];
2756
+ };
2757
+ export type WorkspaceExtraEventsOutput = Array<WorkspaceJournalEvent>;
2758
+ export type WorkspaceExtraSessionWarpInput = {
2759
+ readonly sessionID: {
2760
+ readonly sessionID: string;
2761
+ }["sessionID"];
2762
+ readonly workspaceID: {
2763
+ readonly workspaceID: string | null;
2764
+ readonly copyChanges?: boolean | undefined;
2765
+ readonly timeoutMs?: number | undefined;
2766
+ }["workspaceID"];
2767
+ readonly copyChanges?: {
2768
+ readonly workspaceID: string | null;
2769
+ readonly copyChanges?: boolean | undefined;
2770
+ readonly timeoutMs?: number | undefined;
2771
+ }["copyChanges"];
2772
+ readonly timeoutMs?: {
2773
+ readonly workspaceID: string | null;
2774
+ readonly copyChanges?: boolean | undefined;
2775
+ readonly timeoutMs?: number | undefined;
2776
+ }["timeoutMs"];
2777
+ };
2778
+ export type WorkspaceExtraSessionWarpOutput = WorkspaceSessionWarpResponse;
2779
+ export type UsersRegisterInput = {
2780
+ readonly username: {
2781
+ readonly username: string;
2782
+ readonly email: string;
2783
+ readonly password: string;
2784
+ readonly displayName?: string | undefined;
2785
+ }["username"];
2786
+ readonly email: {
2787
+ readonly username: string;
2788
+ readonly email: string;
2789
+ readonly password: string;
2790
+ readonly displayName?: string | undefined;
2791
+ }["email"];
2792
+ readonly password: {
2793
+ readonly username: string;
2794
+ readonly email: string;
2795
+ readonly password: string;
2796
+ readonly displayName?: string | undefined;
2797
+ }["password"];
2798
+ readonly displayName?: {
2799
+ readonly username: string;
2800
+ readonly email: string;
2801
+ readonly password: string;
2802
+ readonly displayName?: string | undefined;
2803
+ }["displayName"];
2804
+ };
2805
+ export type UsersRegisterOutput = any;
2806
+ export type UsersLoginInput = {
2807
+ readonly email: {
2808
+ readonly email: string;
2809
+ readonly password: string;
2810
+ }["email"];
2811
+ readonly password: {
2812
+ readonly email: string;
2813
+ readonly password: string;
2814
+ }["password"];
2815
+ };
2816
+ export type UsersLoginOutput = any;
2817
+ export type UsersUpdateInput = {
2818
+ readonly id: {
2819
+ readonly id: string;
2820
+ }["id"];
2821
+ readonly displayName?: {
2822
+ readonly displayName?: string | undefined;
2823
+ readonly password?: string | undefined;
2824
+ readonly role?: "admin" | "user" | undefined;
2825
+ }["displayName"];
2826
+ readonly password?: {
2827
+ readonly displayName?: string | undefined;
2828
+ readonly password?: string | undefined;
2829
+ readonly role?: "admin" | "user" | undefined;
2830
+ }["password"];
2831
+ readonly role?: {
2832
+ readonly displayName?: string | undefined;
2833
+ readonly password?: string | undefined;
2834
+ readonly role?: "admin" | "user" | undefined;
2835
+ }["role"];
2836
+ };
2837
+ export type UsersUpdateOutput = any;
2838
+ export type MobileAuthTokenListOutput = Array<MobileAuthTokenPublic>;
2839
+ export type MobileAuthTokenCreateInput = {
2840
+ readonly name?: {
2841
+ readonly name?: string | undefined;
2842
+ readonly expiresInDays?: number | undefined;
2843
+ }["name"];
2844
+ readonly expiresInDays?: {
2845
+ readonly name?: string | undefined;
2846
+ readonly expiresInDays?: number | undefined;
2847
+ }["expiresInDays"];
2848
+ };
2849
+ export type MobileAuthTokenCreateOutput = {
2850
+ token: string;
2851
+ info: MobileAuthTokenPublic;
2852
+ };
2853
+ export type MobileAuthTokenRevokeInput = {
2854
+ readonly id: {
2855
+ readonly id: string;
2856
+ }["id"];
2857
+ };
2858
+ export type MobileAuthTokenRevokeOutput = {
2859
+ revoked: boolean;
2860
+ };
2861
+ export type MobileBootstrapOutput = MobileBootstrap;
2862
+ export type MobileCommandListOutput = Array<MobileCommand>;
2863
+ export type MobileProjectListOutput = Array<MobileProject>;
2864
+ export type MobileMemoryHistoryOutput = Array<MobilePromptHistoryEntry>;
2865
+ export type MobileMemorySearchInput = {
2866
+ readonly query: {
2867
+ readonly query: string;
2868
+ }["query"];
2869
+ };
2870
+ export type MobileMemorySearchOutput = Array<MobileMemorySearchHit>;
2871
+ export type MobileMemoryStashListOutput = Array<MobilePromptStashEntry>;
2872
+ export type MobileMemoryStashCreateInput = {
2873
+ readonly input: {
2874
+ readonly input: string;
2875
+ }["input"];
2876
+ };
2877
+ export type MobileMemoryStashCreateOutput = MobilePromptStashEntry;
2878
+ export type MobileMemoryStashDeleteInput = {
2879
+ readonly id: {
2880
+ readonly id: string;
2881
+ }["id"];
2882
+ };
2883
+ export type MobileMemoryStashDeleteOutput = MobileSuccess;
2884
+ export type MobileGithubReposOutput = Array<any>;
2885
+ export type MobileGithubBranchesInput = {
2886
+ readonly owner: {
2887
+ readonly owner: string;
2888
+ readonly repo: string;
2889
+ }["owner"];
2890
+ readonly repo: {
2891
+ readonly owner: string;
2892
+ readonly repo: string;
2893
+ }["repo"];
2894
+ };
2895
+ export type MobileGithubBranchesOutput = Array<MobileGithubBranch>;
2896
+ export type MobileGithubImportsOutput = Array<MobileGithubImport>;
2897
+ export type MobileGithubOauthClientInput = {
2898
+ readonly clientId: {
2899
+ readonly clientId: string;
2900
+ }["clientId"];
2901
+ };
2902
+ export type MobileGithubOauthClientOutput = MobileConfigInfo;
2903
+ export type MobileGithubOauthDeviceStartOutput = MobileGithubDeviceAuthStart;
2904
+ export type MobileGithubOauthDevicePollInput = {
2905
+ readonly deviceCode: {
2906
+ readonly deviceCode: string;
2907
+ }["deviceCode"];
2908
+ };
2909
+ export type MobileGithubOauthDevicePollOutput = MobileGithubDeviceAuthPollResult;
2910
+ export type MobileGithubAuthSetInput = {
2911
+ readonly token: {
2912
+ readonly token: string;
2913
+ }["token"];
2914
+ };
2915
+ export type MobileGithubAuthSetOutput = MobileSuccess;
2916
+ export type MobileGithubAuthRemoveOutput = MobileSuccess;
2917
+ export type MobileGithubImportInput = {
2918
+ readonly payload: unknown;
2919
+ };
2920
+ export type MobileGithubImportOutput = {
2921
+ import: MobileGithubImport;
2922
+ project: MobileProjectInfo;
2923
+ };
2924
+ export type MobileGithubSessionCreateInput = {
2925
+ readonly owner: {
2926
+ readonly owner: string;
2927
+ readonly repo: string;
2928
+ readonly cloneUrl: string;
2929
+ readonly htmlUrl?: string | undefined;
2930
+ readonly defaultBranch: string;
2931
+ readonly baseBranch: string;
2932
+ readonly private?: boolean | undefined;
2933
+ readonly title?: string | undefined;
2934
+ readonly executionTarget?: "local" | "container" | undefined;
2935
+ }["owner"];
2936
+ readonly repo: {
2937
+ readonly owner: string;
2938
+ readonly repo: string;
2939
+ readonly cloneUrl: string;
2940
+ readonly htmlUrl?: string | undefined;
2941
+ readonly defaultBranch: string;
2942
+ readonly baseBranch: string;
2943
+ readonly private?: boolean | undefined;
2944
+ readonly title?: string | undefined;
2945
+ readonly executionTarget?: "local" | "container" | undefined;
2946
+ }["repo"];
2947
+ readonly cloneUrl: {
2948
+ readonly owner: string;
2949
+ readonly repo: string;
2950
+ readonly cloneUrl: string;
2951
+ readonly htmlUrl?: string | undefined;
2952
+ readonly defaultBranch: string;
2953
+ readonly baseBranch: string;
2954
+ readonly private?: boolean | undefined;
2955
+ readonly title?: string | undefined;
2956
+ readonly executionTarget?: "local" | "container" | undefined;
2957
+ }["cloneUrl"];
2958
+ readonly htmlUrl?: {
2959
+ readonly owner: string;
2960
+ readonly repo: string;
2961
+ readonly cloneUrl: string;
2962
+ readonly htmlUrl?: string | undefined;
2963
+ readonly defaultBranch: string;
2964
+ readonly baseBranch: string;
2965
+ readonly private?: boolean | undefined;
2966
+ readonly title?: string | undefined;
2967
+ readonly executionTarget?: "local" | "container" | undefined;
2968
+ }["htmlUrl"];
2969
+ readonly defaultBranch: {
2970
+ readonly owner: string;
2971
+ readonly repo: string;
2972
+ readonly cloneUrl: string;
2973
+ readonly htmlUrl?: string | undefined;
2974
+ readonly defaultBranch: string;
2975
+ readonly baseBranch: string;
2976
+ readonly private?: boolean | undefined;
2977
+ readonly title?: string | undefined;
2978
+ readonly executionTarget?: "local" | "container" | undefined;
2979
+ }["defaultBranch"];
2980
+ readonly baseBranch: {
2981
+ readonly owner: string;
2982
+ readonly repo: string;
2983
+ readonly cloneUrl: string;
2984
+ readonly htmlUrl?: string | undefined;
2985
+ readonly defaultBranch: string;
2986
+ readonly baseBranch: string;
2987
+ readonly private?: boolean | undefined;
2988
+ readonly title?: string | undefined;
2989
+ readonly executionTarget?: "local" | "container" | undefined;
2990
+ }["baseBranch"];
2991
+ readonly private?: {
2992
+ readonly owner: string;
2993
+ readonly repo: string;
2994
+ readonly cloneUrl: string;
2995
+ readonly htmlUrl?: string | undefined;
2996
+ readonly defaultBranch: string;
2997
+ readonly baseBranch: string;
2998
+ readonly private?: boolean | undefined;
2999
+ readonly title?: string | undefined;
3000
+ readonly executionTarget?: "local" | "container" | undefined;
3001
+ }["private"];
3002
+ readonly title?: {
3003
+ readonly owner: string;
3004
+ readonly repo: string;
3005
+ readonly cloneUrl: string;
3006
+ readonly htmlUrl?: string | undefined;
3007
+ readonly defaultBranch: string;
3008
+ readonly baseBranch: string;
3009
+ readonly private?: boolean | undefined;
3010
+ readonly title?: string | undefined;
3011
+ readonly executionTarget?: "local" | "container" | undefined;
3012
+ }["title"];
3013
+ readonly executionTarget?: {
3014
+ readonly owner: string;
3015
+ readonly repo: string;
3016
+ readonly cloneUrl: string;
3017
+ readonly htmlUrl?: string | undefined;
3018
+ readonly defaultBranch: string;
3019
+ readonly baseBranch: string;
3020
+ readonly private?: boolean | undefined;
3021
+ readonly title?: string | undefined;
3022
+ readonly executionTarget?: "local" | "container" | undefined;
3023
+ }["executionTarget"];
3024
+ };
3025
+ export type MobileGithubSessionCreateOutput = MobileGithubSessionCreateResult;
3026
+ export type MobileSessionListInput = {
3027
+ readonly limit?: {
3028
+ readonly limit?: number | undefined;
3029
+ readonly search?: string | undefined;
3030
+ }["limit"];
3031
+ readonly search?: {
3032
+ readonly limit?: number | undefined;
3033
+ readonly search?: string | undefined;
3034
+ }["search"];
3035
+ };
3036
+ export type MobileSessionListOutput = Array<MobileSessionSummary>;
3037
+ export type MobileSessionCreateInput = {
3038
+ readonly parentID?: {
3039
+ readonly parentID?: string | undefined;
3040
+ readonly title?: string | undefined;
3041
+ readonly permission?: unknown | undefined;
3042
+ readonly github?: unknown | undefined;
3043
+ readonly executionTarget?: "local" | "container" | undefined;
3044
+ }["parentID"];
3045
+ readonly title?: {
3046
+ readonly parentID?: string | undefined;
3047
+ readonly title?: string | undefined;
3048
+ readonly permission?: unknown | undefined;
3049
+ readonly github?: unknown | undefined;
3050
+ readonly executionTarget?: "local" | "container" | undefined;
3051
+ }["title"];
3052
+ readonly permission?: {
3053
+ readonly parentID?: string | undefined;
3054
+ readonly title?: string | undefined;
3055
+ readonly permission?: unknown | undefined;
3056
+ readonly github?: unknown | undefined;
3057
+ readonly executionTarget?: "local" | "container" | undefined;
3058
+ }["permission"];
3059
+ readonly github?: {
3060
+ readonly parentID?: string | undefined;
3061
+ readonly title?: string | undefined;
3062
+ readonly permission?: unknown | undefined;
3063
+ readonly github?: unknown | undefined;
3064
+ readonly executionTarget?: "local" | "container" | undefined;
3065
+ }["github"];
3066
+ readonly executionTarget?: {
3067
+ readonly parentID?: string | undefined;
3068
+ readonly title?: string | undefined;
3069
+ readonly permission?: unknown | undefined;
3070
+ readonly github?: unknown | undefined;
3071
+ readonly executionTarget?: "local" | "container" | undefined;
3072
+ }["executionTarget"];
3073
+ };
3074
+ export type MobileSessionCreateOutput = MobileSessionInfo;
3075
+ export type MobileSessionDetailInput = {
3076
+ readonly sessionID: {
3077
+ readonly sessionID: string;
3078
+ }["sessionID"];
3079
+ };
3080
+ export type MobileSessionDetailOutput = MobileSessionDetail;
3081
+ export type MobileSessionDeleteInput = {
3082
+ readonly sessionID: {
3083
+ readonly sessionID: string;
3084
+ }["sessionID"];
3085
+ };
3086
+ export type MobileSessionDeleteOutput = MobileSuccess;
3087
+ export type MobileSessionDiffInput = {
3088
+ readonly sessionID: {
3089
+ readonly sessionID: string;
3090
+ readonly messageID: string;
3091
+ }["sessionID"];
3092
+ readonly messageID: {
3093
+ readonly sessionID: string;
3094
+ readonly messageID: string;
3095
+ }["messageID"];
3096
+ };
3097
+ export type MobileSessionDiffOutput = Array<any>;
3098
+ export type MobileSessionCommandListInput = {
3099
+ readonly sessionID: {
3100
+ readonly sessionID: string;
3101
+ }["sessionID"];
3102
+ };
3103
+ export type MobileSessionCommandListOutput = Array<MobileCommand>;
3104
+ export type MobileSessionCommandInput = {
3105
+ readonly sessionID: {
3106
+ readonly sessionID: string;
3107
+ }["sessionID"];
3108
+ readonly command: {
3109
+ readonly command: string;
3110
+ readonly arguments?: string | undefined;
3111
+ readonly agent?: string | undefined;
3112
+ readonly model?: {
3113
+ readonly providerID: string;
3114
+ readonly modelID: string;
3115
+ } | undefined;
3116
+ readonly variant?: string | undefined;
3117
+ }["command"];
3118
+ readonly arguments?: {
3119
+ readonly command: string;
3120
+ readonly arguments?: string | undefined;
3121
+ readonly agent?: string | undefined;
3122
+ readonly model?: {
3123
+ readonly providerID: string;
3124
+ readonly modelID: string;
3125
+ } | undefined;
3126
+ readonly variant?: string | undefined;
3127
+ }["arguments"];
3128
+ readonly agent?: {
3129
+ readonly command: string;
3130
+ readonly arguments?: string | undefined;
3131
+ readonly agent?: string | undefined;
3132
+ readonly model?: {
3133
+ readonly providerID: string;
3134
+ readonly modelID: string;
3135
+ } | undefined;
3136
+ readonly variant?: string | undefined;
3137
+ }["agent"];
3138
+ readonly model?: {
3139
+ readonly command: string;
3140
+ readonly arguments?: string | undefined;
3141
+ readonly agent?: string | undefined;
3142
+ readonly model?: {
3143
+ readonly providerID: string;
3144
+ readonly modelID: string;
3145
+ } | undefined;
3146
+ readonly variant?: string | undefined;
3147
+ }["model"];
3148
+ readonly variant?: {
3149
+ readonly command: string;
3150
+ readonly arguments?: string | undefined;
3151
+ readonly agent?: string | undefined;
3152
+ readonly model?: {
3153
+ readonly providerID: string;
3154
+ readonly modelID: string;
3155
+ } | undefined;
3156
+ readonly variant?: string | undefined;
3157
+ }["variant"];
3158
+ };
3159
+ export type MobileSessionCommandOutput = {
3160
+ info: any;
3161
+ parts: Array<any>;
3162
+ };
3163
+ export type MobileSessionMessageInput = {
3164
+ readonly sessionID: {
3165
+ readonly sessionID: string;
3166
+ }["sessionID"];
3167
+ readonly messageID?: {
3168
+ readonly messageID?: string | undefined;
3169
+ readonly model?: {
3170
+ readonly providerID: string;
3171
+ readonly modelID: string;
3172
+ } | undefined;
3173
+ readonly agent?: string | undefined;
3174
+ readonly noReply?: boolean | undefined;
3175
+ readonly tools?: {
3176
+ readonly [x: string]: boolean;
3177
+ } | undefined;
3178
+ readonly format?: unknown | undefined;
3179
+ readonly system?: string | undefined;
3180
+ readonly variant?: string | undefined;
3181
+ readonly parts: ReadonlyArray<unknown>;
3182
+ }["messageID"];
3183
+ readonly model?: {
3184
+ readonly messageID?: string | undefined;
3185
+ readonly model?: {
3186
+ readonly providerID: string;
3187
+ readonly modelID: string;
3188
+ } | undefined;
3189
+ readonly agent?: string | undefined;
3190
+ readonly noReply?: boolean | undefined;
3191
+ readonly tools?: {
3192
+ readonly [x: string]: boolean;
3193
+ } | undefined;
3194
+ readonly format?: unknown | undefined;
3195
+ readonly system?: string | undefined;
3196
+ readonly variant?: string | undefined;
3197
+ readonly parts: ReadonlyArray<unknown>;
3198
+ }["model"];
3199
+ readonly agent?: {
3200
+ readonly messageID?: string | undefined;
3201
+ readonly model?: {
3202
+ readonly providerID: string;
3203
+ readonly modelID: string;
3204
+ } | undefined;
3205
+ readonly agent?: string | undefined;
3206
+ readonly noReply?: boolean | undefined;
3207
+ readonly tools?: {
3208
+ readonly [x: string]: boolean;
3209
+ } | undefined;
3210
+ readonly format?: unknown | undefined;
3211
+ readonly system?: string | undefined;
3212
+ readonly variant?: string | undefined;
3213
+ readonly parts: ReadonlyArray<unknown>;
3214
+ }["agent"];
3215
+ readonly noReply?: {
3216
+ readonly messageID?: string | undefined;
3217
+ readonly model?: {
3218
+ readonly providerID: string;
3219
+ readonly modelID: string;
3220
+ } | undefined;
3221
+ readonly agent?: string | undefined;
3222
+ readonly noReply?: boolean | undefined;
3223
+ readonly tools?: {
3224
+ readonly [x: string]: boolean;
3225
+ } | undefined;
3226
+ readonly format?: unknown | undefined;
3227
+ readonly system?: string | undefined;
3228
+ readonly variant?: string | undefined;
3229
+ readonly parts: ReadonlyArray<unknown>;
3230
+ }["noReply"];
3231
+ readonly tools?: {
3232
+ readonly messageID?: string | undefined;
3233
+ readonly model?: {
3234
+ readonly providerID: string;
3235
+ readonly modelID: string;
3236
+ } | undefined;
3237
+ readonly agent?: string | undefined;
3238
+ readonly noReply?: boolean | undefined;
3239
+ readonly tools?: {
3240
+ readonly [x: string]: boolean;
3241
+ } | undefined;
3242
+ readonly format?: unknown | undefined;
3243
+ readonly system?: string | undefined;
3244
+ readonly variant?: string | undefined;
3245
+ readonly parts: ReadonlyArray<unknown>;
3246
+ }["tools"];
3247
+ readonly format?: {
3248
+ readonly messageID?: string | undefined;
3249
+ readonly model?: {
3250
+ readonly providerID: string;
3251
+ readonly modelID: string;
3252
+ } | undefined;
3253
+ readonly agent?: string | undefined;
3254
+ readonly noReply?: boolean | undefined;
3255
+ readonly tools?: {
3256
+ readonly [x: string]: boolean;
3257
+ } | undefined;
3258
+ readonly format?: unknown | undefined;
3259
+ readonly system?: string | undefined;
3260
+ readonly variant?: string | undefined;
3261
+ readonly parts: ReadonlyArray<unknown>;
3262
+ }["format"];
3263
+ readonly system?: {
3264
+ readonly messageID?: string | undefined;
3265
+ readonly model?: {
3266
+ readonly providerID: string;
3267
+ readonly modelID: string;
3268
+ } | undefined;
3269
+ readonly agent?: string | undefined;
3270
+ readonly noReply?: boolean | undefined;
3271
+ readonly tools?: {
3272
+ readonly [x: string]: boolean;
3273
+ } | undefined;
3274
+ readonly format?: unknown | undefined;
3275
+ readonly system?: string | undefined;
3276
+ readonly variant?: string | undefined;
3277
+ readonly parts: ReadonlyArray<unknown>;
3278
+ }["system"];
3279
+ readonly variant?: {
3280
+ readonly messageID?: string | undefined;
3281
+ readonly model?: {
3282
+ readonly providerID: string;
3283
+ readonly modelID: string;
3284
+ } | undefined;
3285
+ readonly agent?: string | undefined;
3286
+ readonly noReply?: boolean | undefined;
3287
+ readonly tools?: {
3288
+ readonly [x: string]: boolean;
3289
+ } | undefined;
3290
+ readonly format?: unknown | undefined;
3291
+ readonly system?: string | undefined;
3292
+ readonly variant?: string | undefined;
3293
+ readonly parts: ReadonlyArray<unknown>;
3294
+ }["variant"];
3295
+ readonly parts: {
3296
+ readonly messageID?: string | undefined;
3297
+ readonly model?: {
3298
+ readonly providerID: string;
3299
+ readonly modelID: string;
3300
+ } | undefined;
3301
+ readonly agent?: string | undefined;
3302
+ readonly noReply?: boolean | undefined;
3303
+ readonly tools?: {
3304
+ readonly [x: string]: boolean;
3305
+ } | undefined;
3306
+ readonly format?: unknown | undefined;
3307
+ readonly system?: string | undefined;
3308
+ readonly variant?: string | undefined;
3309
+ readonly parts: ReadonlyArray<unknown>;
3310
+ }["parts"];
3311
+ };
3312
+ export type MobileSessionMessageOutput = any;
3313
+ export type MobileSessionAbortInput = {
3314
+ readonly sessionID: {
3315
+ readonly sessionID: string;
3316
+ }["sessionID"];
3317
+ };
3318
+ export type MobileSessionAbortOutput = MobileSuccess;
3319
+ export type MobilePermissionRespondInput = {
3320
+ readonly sessionID: {
3321
+ readonly sessionID: string;
3322
+ readonly permissionID: string;
3323
+ }["sessionID"];
3324
+ readonly permissionID: {
3325
+ readonly sessionID: string;
3326
+ readonly permissionID: string;
3327
+ }["permissionID"];
3328
+ readonly response: {
3329
+ readonly response: string;
3330
+ }["response"];
3331
+ };
3332
+ export type MobilePermissionRespondOutput = MobileSuccess;
3333
+ export type MobileQuestionRespondInput = {
3334
+ readonly sessionID: {
3335
+ readonly sessionID: string;
3336
+ readonly requestID: string;
3337
+ }["sessionID"];
3338
+ readonly requestID: {
3339
+ readonly sessionID: string;
3340
+ readonly requestID: string;
3341
+ }["requestID"];
3342
+ readonly answers: {
3343
+ readonly answers: ReadonlyArray<ReadonlyArray<string>>;
3344
+ }["answers"];
3345
+ };
3346
+ export type MobileQuestionRespondOutput = MobileSuccess;
3347
+ export type MobileQuestionRejectInput = {
3348
+ readonly sessionID: {
3349
+ readonly sessionID: string;
3350
+ readonly requestID: string;
3351
+ }["sessionID"];
3352
+ readonly requestID: {
3353
+ readonly sessionID: string;
3354
+ readonly requestID: string;
3355
+ }["requestID"];
3356
+ };
3357
+ export type MobileQuestionRejectOutput = MobileSuccess;
3358
+ export type MobileSessionPublishInput = {
3359
+ readonly sessionID: {
3360
+ readonly sessionID: string;
3361
+ }["sessionID"];
3362
+ readonly title?: {
3363
+ readonly title?: string | undefined;
3364
+ readonly body?: string | undefined;
3365
+ readonly commitMessage?: string | undefined;
3366
+ }["title"];
3367
+ readonly body?: {
3368
+ readonly title?: string | undefined;
3369
+ readonly body?: string | undefined;
3370
+ readonly commitMessage?: string | undefined;
3371
+ }["body"];
3372
+ readonly commitMessage?: {
3373
+ readonly title?: string | undefined;
3374
+ readonly body?: string | undefined;
3375
+ readonly commitMessage?: string | undefined;
3376
+ }["commitMessage"];
3377
+ };
3378
+ export type MobileSessionPublishOutput = MobileGithubPublishResult;
3379
+ export type MobileSessionCleanupInput = {
3380
+ readonly sessionID: {
3381
+ readonly sessionID: string;
3382
+ }["sessionID"];
3383
+ };
3384
+ export type MobileSessionCleanupOutput = MobileSuccess;
3385
+ export type MobileSessionStreamInput = {
3386
+ readonly sessionID: {
3387
+ readonly sessionID: string;
3388
+ }["sessionID"];
3389
+ };
3390
+ export type MobileSessionStreamOutput = any;
3391
+ export type MobileSessionRenameInput = {
3392
+ readonly sessionID: {
3393
+ readonly sessionID: string;
3394
+ }["sessionID"];
3395
+ readonly title: {
3396
+ readonly title: string;
3397
+ }["title"];
3398
+ };
3399
+ export type MobileSessionRenameOutput = MobileSuccess;
3400
+ export type MobileTeleportUploadBeginOutput = {
3401
+ uploadID: string;
3402
+ };
3403
+ export type MobileTeleportUploadChunkInput = {
3404
+ readonly uploadID: {
3405
+ readonly uploadID: string;
3406
+ }["uploadID"];
3407
+ };
3408
+ export type MobileTeleportUploadChunkOutput = {
3409
+ ok: boolean;
3410
+ };
3411
+ export type MobileTeleportInInput = {
3412
+ readonly title?: {
3413
+ readonly title?: string | undefined;
3414
+ readonly name?: string | undefined;
3415
+ readonly origin?: string | undefined;
3416
+ readonly permission?: unknown | undefined;
3417
+ readonly messages: ReadonlyArray<unknown>;
3418
+ readonly uploadID?: string | undefined;
3419
+ }["title"];
3420
+ readonly name?: {
3421
+ readonly title?: string | undefined;
3422
+ readonly name?: string | undefined;
3423
+ readonly origin?: string | undefined;
3424
+ readonly permission?: unknown | undefined;
3425
+ readonly messages: ReadonlyArray<unknown>;
3426
+ readonly uploadID?: string | undefined;
3427
+ }["name"];
3428
+ readonly origin?: {
3429
+ readonly title?: string | undefined;
3430
+ readonly name?: string | undefined;
3431
+ readonly origin?: string | undefined;
3432
+ readonly permission?: unknown | undefined;
3433
+ readonly messages: ReadonlyArray<unknown>;
3434
+ readonly uploadID?: string | undefined;
3435
+ }["origin"];
3436
+ readonly permission?: {
3437
+ readonly title?: string | undefined;
3438
+ readonly name?: string | undefined;
3439
+ readonly origin?: string | undefined;
3440
+ readonly permission?: unknown | undefined;
3441
+ readonly messages: ReadonlyArray<unknown>;
3442
+ readonly uploadID?: string | undefined;
3443
+ }["permission"];
3444
+ readonly messages: {
3445
+ readonly title?: string | undefined;
3446
+ readonly name?: string | undefined;
3447
+ readonly origin?: string | undefined;
3448
+ readonly permission?: unknown | undefined;
3449
+ readonly messages: ReadonlyArray<unknown>;
3450
+ readonly uploadID?: string | undefined;
3451
+ }["messages"];
3452
+ readonly uploadID?: {
3453
+ readonly title?: string | undefined;
3454
+ readonly name?: string | undefined;
3455
+ readonly origin?: string | undefined;
3456
+ readonly permission?: unknown | undefined;
3457
+ readonly messages: ReadonlyArray<unknown>;
3458
+ readonly uploadID?: string | undefined;
3459
+ }["uploadID"];
3460
+ };
3461
+ export type MobileTeleportInOutput = MobileTeleportResult;
3462
+ export type MobileTeleportOutInput = {
3463
+ readonly sessionID: {
3464
+ readonly sessionID: string;
3465
+ }["sessionID"];
3466
+ readonly url: {
3467
+ readonly url: string;
3468
+ readonly token: string;
3469
+ readonly content?: boolean | undefined;
3470
+ readonly includeGit?: boolean | undefined;
3471
+ }["url"];
3472
+ readonly token: {
3473
+ readonly url: string;
3474
+ readonly token: string;
3475
+ readonly content?: boolean | undefined;
3476
+ readonly includeGit?: boolean | undefined;
3477
+ }["token"];
3478
+ readonly content?: {
3479
+ readonly url: string;
3480
+ readonly token: string;
3481
+ readonly content?: boolean | undefined;
3482
+ readonly includeGit?: boolean | undefined;
3483
+ }["content"];
3484
+ readonly includeGit?: {
3485
+ readonly url: string;
3486
+ readonly token: string;
3487
+ readonly content?: boolean | undefined;
3488
+ readonly includeGit?: boolean | undefined;
3489
+ }["includeGit"];
3490
+ };
3491
+ export type MobileTeleportOutOutput = MobileTeleportResult;
3492
+ export type MobileWorktreeCreateInput = {
3493
+ readonly payload: unknown;
3494
+ };
3495
+ export type MobileWorktreeCreateOutput = MobileWorktreeInfo;
3496
+ export type MobileWorktreeRemoveInput = {
3497
+ readonly payload: unknown;
3498
+ };
3499
+ export type MobileWorktreeRemoveOutput = MobileSuccess;
3500
+ export type MobileWorktreeResetInput = {
3501
+ readonly payload: unknown;
3502
+ };
3503
+ export type MobileWorktreeResetOutput = MobileSuccess;
3504
+ export type MobileGitStatusOutput = MobileGitStatus;
3505
+ export type MobileGitDiffInput = {
3506
+ readonly file?: {
3507
+ readonly file?: string | undefined;
3508
+ readonly staged?: "true" | "false" | undefined;
3509
+ }["file"];
3510
+ readonly staged?: {
3511
+ readonly file?: string | undefined;
3512
+ readonly staged?: "true" | "false" | undefined;
3513
+ }["staged"];
3514
+ };
3515
+ export type MobileGitDiffOutput = Array<MobileGitFileDiff>;
3516
+ export type MobileGitCommitsInput = {
3517
+ readonly limit?: {
3518
+ readonly limit?: number | undefined;
3519
+ }["limit"];
3520
+ };
3521
+ export type MobileGitCommitsOutput = Array<MobileGitCommit>;
3522
+ export type MobileGitBranchesOutput = Array<MobileGitBranch>;
3523
+ export type MobileGitCommitInput = {
3524
+ readonly message: {
3525
+ readonly message: string;
3526
+ readonly files?: ReadonlyArray<string> | undefined;
3527
+ readonly amend?: boolean | undefined;
3528
+ readonly stagedOnly?: boolean | undefined;
3529
+ }["message"];
3530
+ readonly files?: {
3531
+ readonly message: string;
3532
+ readonly files?: ReadonlyArray<string> | undefined;
3533
+ readonly amend?: boolean | undefined;
3534
+ readonly stagedOnly?: boolean | undefined;
3535
+ }["files"];
3536
+ readonly amend?: {
3537
+ readonly message: string;
3538
+ readonly files?: ReadonlyArray<string> | undefined;
3539
+ readonly amend?: boolean | undefined;
3540
+ readonly stagedOnly?: boolean | undefined;
3541
+ }["amend"];
3542
+ readonly stagedOnly?: {
3543
+ readonly message: string;
3544
+ readonly files?: ReadonlyArray<string> | undefined;
3545
+ readonly amend?: boolean | undefined;
3546
+ readonly stagedOnly?: boolean | undefined;
3547
+ }["stagedOnly"];
3548
+ };
3549
+ export type MobileGitCommitOutput = {
3550
+ sha: string;
3551
+ message: string;
3552
+ };
3553
+ export type MobileGitCheckoutInput = {
3554
+ readonly branch: {
3555
+ readonly branch: string;
3556
+ readonly create?: boolean | undefined;
3557
+ }["branch"];
3558
+ readonly create?: {
3559
+ readonly branch: string;
3560
+ readonly create?: boolean | undefined;
3561
+ }["create"];
3562
+ };
3563
+ export type MobileGitCheckoutOutput = MobileSuccess;
3564
+ export type MobileGitStageInput = {
3565
+ readonly files: {
3566
+ readonly files: ReadonlyArray<string>;
3567
+ }["files"];
3568
+ };
3569
+ export type MobileGitStageOutput = MobileSuccess;
3570
+ export type MobileGitUnstageInput = {
3571
+ readonly files: {
3572
+ readonly files: ReadonlyArray<string>;
3573
+ }["files"];
3574
+ };
3575
+ export type MobileGitUnstageOutput = MobileSuccess;
3576
+ export type MobileGitDiscardInput = {
3577
+ readonly files: {
3578
+ readonly files: ReadonlyArray<string>;
3579
+ }["files"];
3580
+ };
3581
+ export type MobileGitDiscardOutput = MobileSuccess;
3582
+ export type MobileGitPushInput = {
3583
+ readonly upstream?: {
3584
+ readonly upstream?: string | undefined;
3585
+ }["upstream"];
3586
+ };
3587
+ export type MobileGitPushOutput = {
3588
+ success: true;
3589
+ pushed: boolean;
3590
+ };
3591
+ export type MobileGitPullOutput = {
3592
+ success: true;
3593
+ pulled: boolean;
3594
+ conflicts?: Array<string> | undefined;
3595
+ };
3596
+ export type MobileLoopListOutput = {
3597
+ loops: Array<MobileLoop>;
3598
+ runtimes: Array<MobileLoopRuntime>;
3599
+ };
3600
+ export type MobileLoopCreateInput = {
3601
+ readonly payload: unknown;
3602
+ };
3603
+ export type MobileLoopCreateOutput = MobileLoop;
3604
+ export type MobileLoopTemplatesOutput = {
3605
+ templates: Array<any>;
3606
+ };
3607
+ export type MobileLoopGenerateInput = {
3608
+ readonly description: {
3609
+ readonly description: string;
3610
+ readonly model?: string | undefined;
3611
+ }["description"];
3612
+ readonly model?: {
3613
+ readonly description: string;
3614
+ readonly model?: string | undefined;
3615
+ }["model"];
3616
+ };
3617
+ export type MobileLoopGenerateOutput = MobileLoop;
3618
+ export type MobileLoopRunsRecentInput = {
3619
+ readonly limit?: {
3620
+ readonly limit?: number | undefined;
3621
+ }["limit"];
3622
+ };
3623
+ export type MobileLoopRunsRecentOutput = {
3624
+ runs: Array<MobileLoopRun>;
3625
+ };
3626
+ export type MobileLoopGetInput = {
3627
+ readonly id: {
3628
+ readonly id: string;
3629
+ }["id"];
3630
+ };
3631
+ export type MobileLoopGetOutput = {
3632
+ loop: MobileLoop;
3633
+ runtime: MobileLoopRuntime;
3634
+ };
3635
+ export type MobileLoopDeleteInput = {
3636
+ readonly id: {
3637
+ readonly id: string;
3638
+ }["id"];
3639
+ };
3640
+ export type MobileLoopDeleteOutput = MobileSuccess;
3641
+ export type MobileLoopUpdateInput = {
3642
+ readonly id: {
3643
+ readonly id: string;
3644
+ }["id"];
3645
+ readonly payload: unknown;
3646
+ };
3647
+ export type MobileLoopUpdateOutput = MobileLoop;
3648
+ export type MobileLoopRunsInput = {
3649
+ readonly id: {
3650
+ readonly id: string;
3651
+ }["id"];
3652
+ readonly limit?: {
3653
+ readonly limit?: number | undefined;
3654
+ }["limit"];
3655
+ };
3656
+ export type MobileLoopRunsOutput = {
3657
+ runs: Array<MobileLoopRun>;
3658
+ };
3659
+ export type MobileLoopRunInput = {
3660
+ readonly id: {
3661
+ readonly id: string;
3662
+ }["id"];
3663
+ };
3664
+ export type MobileLoopRunOutput = MobileSuccess;
3665
+ export type MobileLoopAbortInput = {
3666
+ readonly id: {
3667
+ readonly id: string;
3668
+ }["id"];
3669
+ };
3670
+ export type MobileLoopAbortOutput = MobileSuccess;
3671
+ export type MobileLoopToggleInput = {
3672
+ readonly id: {
3673
+ readonly id: string;
3674
+ }["id"];
3675
+ readonly enabled: {
3676
+ readonly enabled: boolean;
3677
+ }["enabled"];
3678
+ };
3679
+ export type MobileLoopToggleOutput = MobileLoop;
3680
+ export type MobileLoopPauseInput = {
3681
+ readonly id: {
3682
+ readonly id: string;
3683
+ }["id"];
3684
+ };
3685
+ export type MobileLoopPauseOutput = MobileSuccess;
3686
+ export type MobileLoopResumeInput = {
3687
+ readonly id: {
3688
+ readonly id: string;
3689
+ }["id"];
3690
+ };
3691
+ export type MobileLoopResumeOutput = MobileSuccess;
3692
+ export type MobileRoutineListOutput = Array<MobileRoutine>;
3693
+ export type MobileRoutineCreateInput = {
3694
+ readonly payload: unknown;
3695
+ };
3696
+ export type MobileRoutineCreateOutput = MobileRoutine;
3697
+ export type MobileRoutineGetInput = {
3698
+ readonly id: {
3699
+ readonly id: string;
3700
+ }["id"];
3701
+ };
3702
+ export type MobileRoutineGetOutput = MobileRoutine;
3703
+ export type MobileRoutineDeleteInput = {
3704
+ readonly id: {
3705
+ readonly id: string;
3706
+ }["id"];
3707
+ };
3708
+ export type MobileRoutineDeleteOutput = MobileSuccess;
3709
+ export type MobileRoutineUpdateInput = {
3710
+ readonly id: {
3711
+ readonly id: string;
3712
+ }["id"];
3713
+ readonly payload: unknown;
3714
+ };
3715
+ export type MobileRoutineUpdateOutput = MobileRoutine;
3716
+ export type MobileRoutineRunInput = {
3717
+ readonly id: {
3718
+ readonly id: string;
3719
+ }["id"];
3720
+ readonly text?: {
3721
+ readonly text?: string | undefined;
3722
+ }["text"];
3723
+ };
3724
+ export type MobileRoutineRunOutput = MobileSessionInfo;
3725
+ export type MobileRoutinePauseInput = {
3726
+ readonly id: {
3727
+ readonly id: string;
3728
+ }["id"];
3729
+ };
3730
+ export type MobileRoutinePauseOutput = MobileRoutine;
3731
+ export type MobileRoutineResumeInput = {
3732
+ readonly id: {
3733
+ readonly id: string;
3734
+ }["id"];
3735
+ };
3736
+ export type MobileRoutineResumeOutput = MobileRoutine;
3737
+ export type MobileRoutineTriggerInput = {
3738
+ readonly token: {
3739
+ readonly token: string;
3740
+ }["token"];
3741
+ readonly text?: {
3742
+ readonly text?: string | undefined;
3743
+ }["text"];
3744
+ };
3745
+ export type MobileRoutineTriggerOutput = MobileSessionInfo;
3746
+ export type MobilePtyListOutput = Array<MobilePtyInfo>;
3747
+ export type MobilePtyCreateInput = {
3748
+ readonly command?: {
3749
+ readonly command?: string | undefined;
3750
+ readonly args?: ReadonlyArray<string> | undefined;
3751
+ readonly cwd?: string | undefined;
3752
+ readonly title?: string | undefined;
3753
+ readonly env?: {
3754
+ readonly [x: string]: string;
3755
+ } | undefined;
3756
+ }["command"];
3757
+ readonly args?: {
3758
+ readonly command?: string | undefined;
3759
+ readonly args?: ReadonlyArray<string> | undefined;
3760
+ readonly cwd?: string | undefined;
3761
+ readonly title?: string | undefined;
3762
+ readonly env?: {
3763
+ readonly [x: string]: string;
3764
+ } | undefined;
3765
+ }["args"];
3766
+ readonly cwd?: {
3767
+ readonly command?: string | undefined;
3768
+ readonly args?: ReadonlyArray<string> | undefined;
3769
+ readonly cwd?: string | undefined;
3770
+ readonly title?: string | undefined;
3771
+ readonly env?: {
3772
+ readonly [x: string]: string;
3773
+ } | undefined;
3774
+ }["cwd"];
3775
+ readonly title?: {
3776
+ readonly command?: string | undefined;
3777
+ readonly args?: ReadonlyArray<string> | undefined;
3778
+ readonly cwd?: string | undefined;
3779
+ readonly title?: string | undefined;
3780
+ readonly env?: {
3781
+ readonly [x: string]: string;
3782
+ } | undefined;
3783
+ }["title"];
3784
+ readonly env?: {
3785
+ readonly command?: string | undefined;
3786
+ readonly args?: ReadonlyArray<string> | undefined;
3787
+ readonly cwd?: string | undefined;
3788
+ readonly title?: string | undefined;
3789
+ readonly env?: {
3790
+ readonly [x: string]: string;
3791
+ } | undefined;
3792
+ }["env"];
3793
+ };
3794
+ export type MobilePtyCreateOutput = MobilePtyInfo;
3795
+ export type MobilePtyGetInput = {
3796
+ readonly ptyID: {
3797
+ readonly ptyID: string;
3798
+ }["ptyID"];
3799
+ };
3800
+ export type MobilePtyGetOutput = MobilePtyInfo;
3801
+ export type MobilePtyUpdateInput = {
3802
+ readonly ptyID: {
3803
+ readonly ptyID: string;
3804
+ }["ptyID"];
3805
+ readonly title?: {
3806
+ readonly title?: string | undefined;
3807
+ readonly size?: {
3808
+ readonly rows: number;
3809
+ readonly cols: number;
3810
+ } | undefined;
3811
+ }["title"];
3812
+ readonly size?: {
3813
+ readonly title?: string | undefined;
3814
+ readonly size?: {
3815
+ readonly rows: number;
3816
+ readonly cols: number;
3817
+ } | undefined;
3818
+ }["size"];
3819
+ };
3820
+ export type MobilePtyUpdateOutput = MobilePtyInfo;
3821
+ export type MobilePtyRemoveInput = {
3822
+ readonly ptyID: {
3823
+ readonly ptyID: string;
3824
+ }["ptyID"];
3825
+ };
3826
+ export type MobilePtyRemoveOutput = boolean;