@nikcli-ai/sdk 0.0.8 → 1.8.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.
- package/dist/v2/gen/sdk.gen.d.ts +311 -72
- package/dist/v2/gen/sdk.gen.js +642 -136
- package/dist/v2/gen/types.gen.d.ts +916 -294
- package/package.json +34 -10
|
@@ -65,12 +65,6 @@ export type EventLspUpdated = {
|
|
|
65
65
|
[key: string]: unknown;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
export type EventFileEdited = {
|
|
69
|
-
type: "file.edited";
|
|
70
|
-
properties: {
|
|
71
|
-
file: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
68
|
export type OutputFormatText = {
|
|
75
69
|
type: "text";
|
|
76
70
|
};
|
|
@@ -85,10 +79,12 @@ export type OutputFormatJsonSchema = {
|
|
|
85
79
|
export type OutputFormat = OutputFormatText | OutputFormatJsonSchema;
|
|
86
80
|
export type FileDiff = {
|
|
87
81
|
file: string;
|
|
88
|
-
|
|
89
|
-
after: string;
|
|
82
|
+
patch: string;
|
|
90
83
|
additions: number;
|
|
91
84
|
deletions: number;
|
|
85
|
+
status?: "added" | "deleted" | "modified";
|
|
86
|
+
before: string;
|
|
87
|
+
after: string;
|
|
92
88
|
};
|
|
93
89
|
export type UserMessage = {
|
|
94
90
|
id: string;
|
|
@@ -244,6 +240,7 @@ export type SubtaskPart = {
|
|
|
244
240
|
modelID: string;
|
|
245
241
|
};
|
|
246
242
|
command?: string;
|
|
243
|
+
background?: boolean;
|
|
247
244
|
};
|
|
248
245
|
export type ReasoningPart = {
|
|
249
246
|
id: string;
|
|
@@ -505,9 +502,6 @@ export type EventSessionIdle = {
|
|
|
505
502
|
};
|
|
506
503
|
};
|
|
507
504
|
export type QuestionOption = {
|
|
508
|
-
/**
|
|
509
|
-
* Display text (1-5 words, concise)
|
|
510
|
-
*/
|
|
511
505
|
label: string;
|
|
512
506
|
/**
|
|
513
507
|
* Explanation of choice
|
|
@@ -519,9 +513,6 @@ export type QuestionInfo = {
|
|
|
519
513
|
* Complete question
|
|
520
514
|
*/
|
|
521
515
|
question: string;
|
|
522
|
-
/**
|
|
523
|
-
* Very short label (max 30 chars)
|
|
524
|
-
*/
|
|
525
516
|
header: string;
|
|
526
517
|
/**
|
|
527
518
|
* Available choices
|
|
@@ -665,12 +656,37 @@ export type EventMonitorCompleted = {
|
|
|
665
656
|
wake: boolean;
|
|
666
657
|
};
|
|
667
658
|
};
|
|
659
|
+
export type EventFileEdited = {
|
|
660
|
+
type: "file.edited";
|
|
661
|
+
properties: {
|
|
662
|
+
file: string;
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
export type EventWorkspaceReady = {
|
|
666
|
+
type: "workspace.ready";
|
|
667
|
+
properties: {
|
|
668
|
+
name: string;
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
export type EventWorkspaceFailed = {
|
|
672
|
+
type: "workspace.failed";
|
|
673
|
+
properties: {
|
|
674
|
+
message: string;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
export type EventWorkspaceStatus = {
|
|
678
|
+
type: "workspace.status";
|
|
679
|
+
properties: {
|
|
680
|
+
workspaceID: string;
|
|
681
|
+
status: "connecting" | "connected" | "disconnected" | "error";
|
|
682
|
+
};
|
|
683
|
+
};
|
|
668
684
|
export type EventDelegationCompleted = {
|
|
669
685
|
type: "delegation.completed";
|
|
670
686
|
properties: {
|
|
671
687
|
delegationID: string;
|
|
672
688
|
parentSessionID: string;
|
|
673
|
-
status: "running" | "complete" | "error" | "timeout" | "cancelled";
|
|
689
|
+
status: "running" | "complete" | "error" | "timeout" | "cancelled" | "orphaned";
|
|
674
690
|
title: string;
|
|
675
691
|
};
|
|
676
692
|
};
|
|
@@ -884,18 +900,6 @@ export type EventVcsBranchUpdated = {
|
|
|
884
900
|
branch?: string;
|
|
885
901
|
};
|
|
886
902
|
};
|
|
887
|
-
export type EventWorkspaceReady = {
|
|
888
|
-
type: "workspace.ready";
|
|
889
|
-
properties: {
|
|
890
|
-
name: string;
|
|
891
|
-
};
|
|
892
|
-
};
|
|
893
|
-
export type EventWorkspaceFailed = {
|
|
894
|
-
type: "workspace.failed";
|
|
895
|
-
properties: {
|
|
896
|
-
message: string;
|
|
897
|
-
};
|
|
898
|
-
};
|
|
899
903
|
export type Pty = {
|
|
900
904
|
id: string;
|
|
901
905
|
title: string;
|
|
@@ -930,103 +934,14 @@ export type EventPtyDeleted = {
|
|
|
930
934
|
id: string;
|
|
931
935
|
};
|
|
932
936
|
};
|
|
933
|
-
export type
|
|
934
|
-
id: string;
|
|
935
|
-
sessionID: string;
|
|
936
|
-
type: "db_create" | "db_edit" | "db_query";
|
|
937
|
-
filePath: string;
|
|
938
|
-
schema?: {
|
|
939
|
-
tables: Array<{
|
|
940
|
-
name: string;
|
|
941
|
-
columns: Array<{
|
|
942
|
-
name: string;
|
|
943
|
-
type: string;
|
|
944
|
-
notNull: boolean;
|
|
945
|
-
defaultValue?: string;
|
|
946
|
-
primaryKey: boolean;
|
|
947
|
-
}>;
|
|
948
|
-
primaryKey: Array<string>;
|
|
949
|
-
foreignKeys?: Array<{
|
|
950
|
-
table: string;
|
|
951
|
-
column: string;
|
|
952
|
-
referencedTable: string;
|
|
953
|
-
referencedColumn: string;
|
|
954
|
-
onDelete: "CASCADE" | "RESTRICT" | "SET NULL" | "NO ACTION";
|
|
955
|
-
}>;
|
|
956
|
-
rowCount?: number;
|
|
957
|
-
sql?: string;
|
|
958
|
-
}>;
|
|
959
|
-
views?: Array<{
|
|
960
|
-
name: string;
|
|
961
|
-
sql: string;
|
|
962
|
-
}>;
|
|
963
|
-
indexes?: Array<{
|
|
964
|
-
name: string;
|
|
965
|
-
tableName: string;
|
|
966
|
-
columns: Array<string>;
|
|
967
|
-
unique: boolean;
|
|
968
|
-
}>;
|
|
969
|
-
};
|
|
970
|
-
preview?: Array<{
|
|
971
|
-
tableName: string;
|
|
972
|
-
columns: Array<{
|
|
973
|
-
name: string;
|
|
974
|
-
type: string;
|
|
975
|
-
notNull: boolean;
|
|
976
|
-
defaultValue?: string;
|
|
977
|
-
primaryKey: boolean;
|
|
978
|
-
}>;
|
|
979
|
-
sampleData: Array<{
|
|
980
|
-
[key: string]: unknown;
|
|
981
|
-
}>;
|
|
982
|
-
rowCount: number;
|
|
983
|
-
}>;
|
|
984
|
-
changes?: Array<{
|
|
985
|
-
type: "add_table" | "drop_table" | "add_column" | "drop_column" | "modify_column";
|
|
986
|
-
tableName: string;
|
|
987
|
-
columnName?: string;
|
|
988
|
-
oldDefinition?: {
|
|
989
|
-
name: string;
|
|
990
|
-
type: string;
|
|
991
|
-
notNull: boolean;
|
|
992
|
-
defaultValue?: string;
|
|
993
|
-
primaryKey: boolean;
|
|
994
|
-
};
|
|
995
|
-
newDefinition?: {
|
|
996
|
-
name: string;
|
|
997
|
-
type: string;
|
|
998
|
-
notNull: boolean;
|
|
999
|
-
defaultValue?: string;
|
|
1000
|
-
primaryKey: boolean;
|
|
1001
|
-
};
|
|
1002
|
-
}>;
|
|
1003
|
-
sql?: string;
|
|
1004
|
-
always: Array<string>;
|
|
1005
|
-
tool?: {
|
|
1006
|
-
messageID: string;
|
|
1007
|
-
callID: string;
|
|
1008
|
-
};
|
|
1009
|
-
};
|
|
1010
|
-
export type EventDbeditAsked = {
|
|
1011
|
-
type: "dbedit.asked";
|
|
1012
|
-
properties: DbEditRequest;
|
|
1013
|
-
};
|
|
1014
|
-
export type EventDbeditReplied = {
|
|
1015
|
-
type: "dbedit.replied";
|
|
1016
|
-
properties: {
|
|
1017
|
-
sessionID: string;
|
|
1018
|
-
requestID: string;
|
|
1019
|
-
reply: "accept" | "edit" | "reject";
|
|
1020
|
-
};
|
|
1021
|
-
};
|
|
1022
|
-
export type Event = EventProjectUpdated | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventFileEdited | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventDelegationCompleted | EventTodoUpdated | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventDbeditAsked | EventDbeditReplied;
|
|
937
|
+
export type Event = EventProjectUpdated | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventFileEdited | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventDelegationCompleted | EventTodoUpdated | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted;
|
|
1023
938
|
export type GlobalEvent = {
|
|
1024
939
|
directory: string;
|
|
1025
940
|
payload: Event;
|
|
1026
941
|
};
|
|
1027
942
|
export type BadRequestError = {
|
|
1028
|
-
|
|
1029
|
-
errors
|
|
943
|
+
message: string;
|
|
944
|
+
errors?: Array<{
|
|
1030
945
|
[key: string]: unknown;
|
|
1031
946
|
}>;
|
|
1032
947
|
success: false;
|
|
@@ -1515,6 +1430,16 @@ export type RemoteConfig = {
|
|
|
1515
1430
|
*/
|
|
1516
1431
|
askOnExistingSession?: boolean;
|
|
1517
1432
|
};
|
|
1433
|
+
export type ReferenceConfig = {
|
|
1434
|
+
type: "git";
|
|
1435
|
+
repository: string;
|
|
1436
|
+
branch?: string;
|
|
1437
|
+
description?: string;
|
|
1438
|
+
} | {
|
|
1439
|
+
type: "local";
|
|
1440
|
+
path: string;
|
|
1441
|
+
description?: string;
|
|
1442
|
+
};
|
|
1518
1443
|
export type PermissionActionConfig = "ask" | "allow" | "deny";
|
|
1519
1444
|
export type PermissionObjectConfig = {
|
|
1520
1445
|
[key: string]: PermissionActionConfig;
|
|
@@ -1556,6 +1481,8 @@ export type PermissionConfig = {
|
|
|
1556
1481
|
webfetch?: PermissionActionConfig;
|
|
1557
1482
|
websearch?: PermissionActionConfig;
|
|
1558
1483
|
codesearch?: PermissionActionConfig;
|
|
1484
|
+
repo_clone?: PermissionActionConfig;
|
|
1485
|
+
repo_overview?: PermissionActionConfig;
|
|
1559
1486
|
speak?: PermissionRuleConfig;
|
|
1560
1487
|
lsp?: PermissionRuleConfig;
|
|
1561
1488
|
doom_loop?: PermissionActionConfig;
|
|
@@ -1602,6 +1529,14 @@ export type AgentConfig = {
|
|
|
1602
1529
|
*/
|
|
1603
1530
|
maxSteps?: number;
|
|
1604
1531
|
permission?: PermissionConfig;
|
|
1532
|
+
/**
|
|
1533
|
+
* Advisor model in provider/model format (e.g. anthropic/claude-opus-4-6). Invoked by the executor for strategic guidance.
|
|
1534
|
+
*/
|
|
1535
|
+
advisor?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Max advisor invocations per request (default: 3).
|
|
1538
|
+
*/
|
|
1539
|
+
advisor_max_uses?: number;
|
|
1605
1540
|
[key: string]: unknown | string | number | {
|
|
1606
1541
|
[key: string]: boolean;
|
|
1607
1542
|
} | boolean | "subagent" | "primary" | "all" | {
|
|
@@ -1923,6 +1858,18 @@ export type Config = {
|
|
|
1923
1858
|
* Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column
|
|
1924
1859
|
*/
|
|
1925
1860
|
diff_style?: "auto" | "stacked";
|
|
1861
|
+
/**
|
|
1862
|
+
* Enable or disable mouse capture (default: true)
|
|
1863
|
+
*/
|
|
1864
|
+
mouse?: boolean;
|
|
1865
|
+
/**
|
|
1866
|
+
* Enable or disable ambient sound feedback (default: false)
|
|
1867
|
+
*/
|
|
1868
|
+
sound?: boolean;
|
|
1869
|
+
/**
|
|
1870
|
+
* Enable animated background pulse behind the home logo (default: false)
|
|
1871
|
+
*/
|
|
1872
|
+
bg_pulse?: boolean;
|
|
1926
1873
|
};
|
|
1927
1874
|
ads?: AdsConfig;
|
|
1928
1875
|
server?: ServerConfig;
|
|
@@ -1939,6 +1886,12 @@ export type Config = {
|
|
|
1939
1886
|
subtask?: boolean;
|
|
1940
1887
|
};
|
|
1941
1888
|
};
|
|
1889
|
+
/**
|
|
1890
|
+
* Named external repositories or local directories exposed as read-only reference agents.
|
|
1891
|
+
*/
|
|
1892
|
+
reference?: {
|
|
1893
|
+
[key: string]: ReferenceConfig;
|
|
1894
|
+
};
|
|
1942
1895
|
watcher?: {
|
|
1943
1896
|
ignore?: Array<string>;
|
|
1944
1897
|
};
|
|
@@ -1996,6 +1949,7 @@ export type Config = {
|
|
|
1996
1949
|
build?: AgentConfig;
|
|
1997
1950
|
general?: AgentConfig;
|
|
1998
1951
|
explore?: AgentConfig;
|
|
1952
|
+
scout?: AgentConfig;
|
|
1999
1953
|
title?: AgentConfig;
|
|
2000
1954
|
summary?: AgentConfig;
|
|
2001
1955
|
compaction?: AgentConfig;
|
|
@@ -2425,6 +2379,7 @@ export type Workspace = {
|
|
|
2425
2379
|
config: {
|
|
2426
2380
|
directory: string;
|
|
2427
2381
|
type: "worktree";
|
|
2382
|
+
eventLimit?: number;
|
|
2428
2383
|
} | {
|
|
2429
2384
|
directory: string;
|
|
2430
2385
|
type: "container";
|
|
@@ -2433,8 +2388,20 @@ export type Workspace = {
|
|
|
2433
2388
|
containerName: string;
|
|
2434
2389
|
port: number;
|
|
2435
2390
|
serverUrl: string;
|
|
2391
|
+
eventLimit?: number;
|
|
2436
2392
|
};
|
|
2437
2393
|
};
|
|
2394
|
+
export type WorkspaceRestore = {
|
|
2395
|
+
workspaceID: string;
|
|
2396
|
+
sessions?: Array<string>;
|
|
2397
|
+
events?: Array<unknown>;
|
|
2398
|
+
};
|
|
2399
|
+
export type WorkspaceSessionRestore = {
|
|
2400
|
+
workspaceID: string;
|
|
2401
|
+
sessions?: Array<string>;
|
|
2402
|
+
events?: Array<unknown>;
|
|
2403
|
+
sessionID: string;
|
|
2404
|
+
};
|
|
2438
2405
|
export type WorktreeRemoveInput = {
|
|
2439
2406
|
directory: string;
|
|
2440
2407
|
};
|
|
@@ -2491,6 +2458,7 @@ export type SubtaskPartInput = {
|
|
|
2491
2458
|
modelID: string;
|
|
2492
2459
|
};
|
|
2493
2460
|
command?: string;
|
|
2461
|
+
background?: boolean;
|
|
2494
2462
|
};
|
|
2495
2463
|
export type ProviderAuthMethod = {
|
|
2496
2464
|
type: "oauth" | "api";
|
|
@@ -2526,16 +2494,6 @@ export type MobileProject = {
|
|
|
2526
2494
|
sandboxes: Array<string>;
|
|
2527
2495
|
current: boolean;
|
|
2528
2496
|
};
|
|
2529
|
-
export type MobileTophatStatus = {
|
|
2530
|
-
available: boolean;
|
|
2531
|
-
providers: Array<{
|
|
2532
|
-
id: string;
|
|
2533
|
-
}>;
|
|
2534
|
-
devices: Array<{
|
|
2535
|
-
name: string;
|
|
2536
|
-
platform: string;
|
|
2537
|
-
}>;
|
|
2538
|
-
};
|
|
2539
2497
|
export type MobileProjectType = {
|
|
2540
2498
|
detected: boolean;
|
|
2541
2499
|
platforms?: Array<string>;
|
|
@@ -2560,6 +2518,7 @@ export type MobileBootstrap = {
|
|
|
2560
2518
|
};
|
|
2561
2519
|
github: {
|
|
2562
2520
|
connected: boolean;
|
|
2521
|
+
tokenAvailable?: boolean;
|
|
2563
2522
|
oauthDeviceEnabled: boolean;
|
|
2564
2523
|
oauthDeviceConfigured?: boolean;
|
|
2565
2524
|
oauthClientSource?: "flag" | "config" | "env";
|
|
@@ -2569,7 +2528,11 @@ export type MobileBootstrap = {
|
|
|
2569
2528
|
avatar_url?: string;
|
|
2570
2529
|
};
|
|
2571
2530
|
};
|
|
2572
|
-
|
|
2531
|
+
expo: {
|
|
2532
|
+
available: boolean;
|
|
2533
|
+
easAvailable: boolean;
|
|
2534
|
+
details: Array<string>;
|
|
2535
|
+
};
|
|
2573
2536
|
mobileProject?: MobileProjectType;
|
|
2574
2537
|
};
|
|
2575
2538
|
export type MobilePromptHistoryEntry = {
|
|
@@ -2689,6 +2652,7 @@ export type MobileSessionDetail = {
|
|
|
2689
2652
|
parts: Array<Part>;
|
|
2690
2653
|
}>;
|
|
2691
2654
|
permissions: Array<PermissionRequest>;
|
|
2655
|
+
questions: Array<QuestionRequest>;
|
|
2692
2656
|
};
|
|
2693
2657
|
export type MobileSessionCommandInput = {
|
|
2694
2658
|
command: string;
|
|
@@ -2713,12 +2677,74 @@ export type MobileGithubPublishInput = {
|
|
|
2713
2677
|
body?: string;
|
|
2714
2678
|
commitMessage?: string;
|
|
2715
2679
|
};
|
|
2680
|
+
export type RoutineTriggerSchedule = {
|
|
2681
|
+
type: "schedule";
|
|
2682
|
+
cron: string;
|
|
2683
|
+
enabled: boolean;
|
|
2684
|
+
};
|
|
2685
|
+
export type RoutineTriggerApi = {
|
|
2686
|
+
type: "api";
|
|
2687
|
+
token: string;
|
|
2688
|
+
enabled: boolean;
|
|
2689
|
+
};
|
|
2690
|
+
export type RoutineTrigger = RoutineTriggerSchedule | RoutineTriggerApi;
|
|
2691
|
+
export type MobileRoutine = {
|
|
2692
|
+
id: string;
|
|
2693
|
+
name: string;
|
|
2694
|
+
prompt: string;
|
|
2695
|
+
triggers: Array<RoutineTrigger>;
|
|
2696
|
+
model?: {
|
|
2697
|
+
providerID: string;
|
|
2698
|
+
modelID: string;
|
|
2699
|
+
};
|
|
2700
|
+
paused: boolean;
|
|
2701
|
+
projectID: string;
|
|
2702
|
+
directory: string;
|
|
2703
|
+
createdAt: number;
|
|
2704
|
+
updatedAt: number;
|
|
2705
|
+
lastRunAt?: number;
|
|
2706
|
+
lastSessionID?: string;
|
|
2707
|
+
};
|
|
2708
|
+
export type MobileRoutineCreateInput = {
|
|
2709
|
+
name: string;
|
|
2710
|
+
prompt: string;
|
|
2711
|
+
triggers?: Array<RoutineTrigger>;
|
|
2712
|
+
model?: {
|
|
2713
|
+
providerID: string;
|
|
2714
|
+
modelID: string;
|
|
2715
|
+
};
|
|
2716
|
+
};
|
|
2717
|
+
export type MobileRoutineUpdateInput = {
|
|
2718
|
+
name?: string;
|
|
2719
|
+
prompt?: string;
|
|
2720
|
+
triggers?: Array<RoutineTrigger>;
|
|
2721
|
+
model?: {
|
|
2722
|
+
providerID: string;
|
|
2723
|
+
modelID: string;
|
|
2724
|
+
};
|
|
2725
|
+
paused?: boolean;
|
|
2726
|
+
};
|
|
2727
|
+
export type MobileRoutineRunInput = {
|
|
2728
|
+
text?: string;
|
|
2729
|
+
};
|
|
2730
|
+
export type MobileRoutineTriggerInput = {
|
|
2731
|
+
text?: string;
|
|
2732
|
+
};
|
|
2716
2733
|
export type Symbol = {
|
|
2717
2734
|
name: string;
|
|
2718
2735
|
kind: number;
|
|
2719
2736
|
location: {
|
|
2720
2737
|
uri: string;
|
|
2721
|
-
range:
|
|
2738
|
+
range: {
|
|
2739
|
+
start: {
|
|
2740
|
+
line: number;
|
|
2741
|
+
character: number;
|
|
2742
|
+
};
|
|
2743
|
+
end: {
|
|
2744
|
+
line: number;
|
|
2745
|
+
character: number;
|
|
2746
|
+
};
|
|
2747
|
+
};
|
|
2722
2748
|
};
|
|
2723
2749
|
};
|
|
2724
2750
|
export type FileNode = {
|
|
@@ -2817,11 +2843,18 @@ export type Agent = {
|
|
|
2817
2843
|
topP?: number;
|
|
2818
2844
|
temperature?: number;
|
|
2819
2845
|
color?: string;
|
|
2820
|
-
permission:
|
|
2846
|
+
permission: Array<PermissionRule>;
|
|
2821
2847
|
model?: {
|
|
2822
2848
|
modelID: string;
|
|
2823
2849
|
providerID: string;
|
|
2824
2850
|
};
|
|
2851
|
+
advisor?: {
|
|
2852
|
+
model: {
|
|
2853
|
+
modelID: string;
|
|
2854
|
+
providerID: string;
|
|
2855
|
+
};
|
|
2856
|
+
maxUses?: number;
|
|
2857
|
+
};
|
|
2825
2858
|
variant?: string;
|
|
2826
2859
|
prompt?: string;
|
|
2827
2860
|
options: {
|
|
@@ -3335,6 +3368,27 @@ export type WorktreeCreateResponses = {
|
|
|
3335
3368
|
200: Worktree;
|
|
3336
3369
|
};
|
|
3337
3370
|
export type WorktreeCreateResponse = WorktreeCreateResponses[keyof WorktreeCreateResponses];
|
|
3371
|
+
export type ExperimentalWorkspaceAdaptorListData = {
|
|
3372
|
+
body?: never;
|
|
3373
|
+
path?: never;
|
|
3374
|
+
query?: {
|
|
3375
|
+
directory?: string;
|
|
3376
|
+
workspace?: string;
|
|
3377
|
+
};
|
|
3378
|
+
url: "/experimental/workspace/adaptor";
|
|
3379
|
+
};
|
|
3380
|
+
export type ExperimentalWorkspaceAdaptorListResponses = {
|
|
3381
|
+
/**
|
|
3382
|
+
* Available adaptors
|
|
3383
|
+
*/
|
|
3384
|
+
200: Array<{
|
|
3385
|
+
type: string;
|
|
3386
|
+
name: string;
|
|
3387
|
+
description: string;
|
|
3388
|
+
available?: boolean;
|
|
3389
|
+
}>;
|
|
3390
|
+
};
|
|
3391
|
+
export type ExperimentalWorkspaceAdaptorListResponse = ExperimentalWorkspaceAdaptorListResponses[keyof ExperimentalWorkspaceAdaptorListResponses];
|
|
3338
3392
|
export type ExperimentalWorkspaceRemoveData = {
|
|
3339
3393
|
body?: never;
|
|
3340
3394
|
path: {
|
|
@@ -3366,6 +3420,7 @@ export type ExperimentalWorkspaceCreateData = {
|
|
|
3366
3420
|
config: {
|
|
3367
3421
|
directory: string;
|
|
3368
3422
|
type: "worktree";
|
|
3423
|
+
eventLimit?: number;
|
|
3369
3424
|
} | {
|
|
3370
3425
|
directory: string;
|
|
3371
3426
|
type: "container";
|
|
@@ -3374,6 +3429,7 @@ export type ExperimentalWorkspaceCreateData = {
|
|
|
3374
3429
|
containerName: string;
|
|
3375
3430
|
port: number;
|
|
3376
3431
|
serverUrl: string;
|
|
3432
|
+
eventLimit?: number;
|
|
3377
3433
|
};
|
|
3378
3434
|
};
|
|
3379
3435
|
path: {
|
|
@@ -3399,6 +3455,67 @@ export type ExperimentalWorkspaceCreateResponses = {
|
|
|
3399
3455
|
200: Workspace;
|
|
3400
3456
|
};
|
|
3401
3457
|
export type ExperimentalWorkspaceCreateResponse = ExperimentalWorkspaceCreateResponses[keyof ExperimentalWorkspaceCreateResponses];
|
|
3458
|
+
export type ExperimentalWorkspaceRestoreData = {
|
|
3459
|
+
body?: never;
|
|
3460
|
+
path: {
|
|
3461
|
+
id: string;
|
|
3462
|
+
};
|
|
3463
|
+
query?: {
|
|
3464
|
+
directory?: string;
|
|
3465
|
+
workspace?: string;
|
|
3466
|
+
timeoutMs?: number;
|
|
3467
|
+
};
|
|
3468
|
+
url: "/experimental/workspace/{id}/restore";
|
|
3469
|
+
};
|
|
3470
|
+
export type ExperimentalWorkspaceRestoreErrors = {
|
|
3471
|
+
/**
|
|
3472
|
+
* Bad request
|
|
3473
|
+
*/
|
|
3474
|
+
400: BadRequestError;
|
|
3475
|
+
/**
|
|
3476
|
+
* Not found
|
|
3477
|
+
*/
|
|
3478
|
+
404: NotFoundError;
|
|
3479
|
+
};
|
|
3480
|
+
export type ExperimentalWorkspaceRestoreError = ExperimentalWorkspaceRestoreErrors[keyof ExperimentalWorkspaceRestoreErrors];
|
|
3481
|
+
export type ExperimentalWorkspaceRestoreResponses = {
|
|
3482
|
+
/**
|
|
3483
|
+
* Workspace restored
|
|
3484
|
+
*/
|
|
3485
|
+
200: WorkspaceRestore;
|
|
3486
|
+
};
|
|
3487
|
+
export type ExperimentalWorkspaceRestoreResponse = ExperimentalWorkspaceRestoreResponses[keyof ExperimentalWorkspaceRestoreResponses];
|
|
3488
|
+
export type ExperimentalWorkspaceSessionRestoreData = {
|
|
3489
|
+
body?: never;
|
|
3490
|
+
path: {
|
|
3491
|
+
id: string;
|
|
3492
|
+
sessionID: string;
|
|
3493
|
+
};
|
|
3494
|
+
query?: {
|
|
3495
|
+
directory?: string;
|
|
3496
|
+
workspace?: string;
|
|
3497
|
+
timeoutMs?: number;
|
|
3498
|
+
};
|
|
3499
|
+
url: "/experimental/workspace/{id}/session/{sessionID}/restore";
|
|
3500
|
+
};
|
|
3501
|
+
export type ExperimentalWorkspaceSessionRestoreErrors = {
|
|
3502
|
+
/**
|
|
3503
|
+
* Bad request
|
|
3504
|
+
*/
|
|
3505
|
+
400: BadRequestError;
|
|
3506
|
+
/**
|
|
3507
|
+
* Not found
|
|
3508
|
+
*/
|
|
3509
|
+
404: NotFoundError;
|
|
3510
|
+
};
|
|
3511
|
+
export type ExperimentalWorkspaceSessionRestoreError = ExperimentalWorkspaceSessionRestoreErrors[keyof ExperimentalWorkspaceSessionRestoreErrors];
|
|
3512
|
+
export type ExperimentalWorkspaceSessionRestoreResponses = {
|
|
3513
|
+
/**
|
|
3514
|
+
* Session restored
|
|
3515
|
+
*/
|
|
3516
|
+
200: WorkspaceSessionRestore;
|
|
3517
|
+
};
|
|
3518
|
+
export type ExperimentalWorkspaceSessionRestoreResponse = ExperimentalWorkspaceSessionRestoreResponses[keyof ExperimentalWorkspaceSessionRestoreResponses];
|
|
3402
3519
|
export type ExperimentalWorkspaceListData = {
|
|
3403
3520
|
body?: never;
|
|
3404
3521
|
path?: never;
|
|
@@ -3755,7 +3872,7 @@ export type SessionForkResponses = {
|
|
|
3755
3872
|
200: Session;
|
|
3756
3873
|
};
|
|
3757
3874
|
export type SessionForkResponse = SessionForkResponses[keyof SessionForkResponses];
|
|
3758
|
-
export type
|
|
3875
|
+
export type SessionBackgroundData = {
|
|
3759
3876
|
body?: never;
|
|
3760
3877
|
path: {
|
|
3761
3878
|
sessionID: string;
|
|
@@ -3764,9 +3881,9 @@ export type SessionAbortData = {
|
|
|
3764
3881
|
directory?: string;
|
|
3765
3882
|
workspace?: string;
|
|
3766
3883
|
};
|
|
3767
|
-
url: "/session/{sessionID}/
|
|
3884
|
+
url: "/session/{sessionID}/background";
|
|
3768
3885
|
};
|
|
3769
|
-
export type
|
|
3886
|
+
export type SessionBackgroundErrors = {
|
|
3770
3887
|
/**
|
|
3771
3888
|
* Bad request
|
|
3772
3889
|
*/
|
|
@@ -3776,26 +3893,45 @@ export type SessionAbortErrors = {
|
|
|
3776
3893
|
*/
|
|
3777
3894
|
404: NotFoundError;
|
|
3778
3895
|
};
|
|
3779
|
-
export type
|
|
3780
|
-
export type
|
|
3896
|
+
export type SessionBackgroundError = SessionBackgroundErrors[keyof SessionBackgroundErrors];
|
|
3897
|
+
export type SessionBackgroundResponses = {
|
|
3781
3898
|
/**
|
|
3782
|
-
*
|
|
3899
|
+
* Background jobs
|
|
3783
3900
|
*/
|
|
3784
|
-
200:
|
|
3901
|
+
200: Array<{
|
|
3902
|
+
jobID: string;
|
|
3903
|
+
rootDelegationID: string;
|
|
3904
|
+
parentSessionID: string;
|
|
3905
|
+
title: string;
|
|
3906
|
+
agent: string;
|
|
3907
|
+
status: "running" | "synthesizing" | "complete" | "error" | "timeout" | "cancelled" | "orphaned";
|
|
3908
|
+
source?: string;
|
|
3909
|
+
workerSessionID?: string;
|
|
3910
|
+
delegatorID?: string;
|
|
3911
|
+
delegatorSessionID?: string;
|
|
3912
|
+
createdAt: number;
|
|
3913
|
+
updatedAt: number;
|
|
3914
|
+
completedAt?: number;
|
|
3915
|
+
lastActivityAt?: number;
|
|
3916
|
+
progressSummary?: string;
|
|
3917
|
+
resultSummary?: string;
|
|
3918
|
+
error?: string;
|
|
3919
|
+
}>;
|
|
3785
3920
|
};
|
|
3786
|
-
export type
|
|
3787
|
-
export type
|
|
3921
|
+
export type SessionBackgroundResponse = SessionBackgroundResponses[keyof SessionBackgroundResponses];
|
|
3922
|
+
export type SessionBackgroundInspectData = {
|
|
3788
3923
|
body?: never;
|
|
3789
3924
|
path: {
|
|
3790
3925
|
sessionID: string;
|
|
3926
|
+
delegationID: string;
|
|
3791
3927
|
};
|
|
3792
3928
|
query?: {
|
|
3793
3929
|
directory?: string;
|
|
3794
3930
|
workspace?: string;
|
|
3795
3931
|
};
|
|
3796
|
-
url: "/session/{sessionID}/
|
|
3932
|
+
url: "/session/{sessionID}/background/{delegationID}";
|
|
3797
3933
|
};
|
|
3798
|
-
export type
|
|
3934
|
+
export type SessionBackgroundInspectErrors = {
|
|
3799
3935
|
/**
|
|
3800
3936
|
* Bad request
|
|
3801
3937
|
*/
|
|
@@ -3805,26 +3941,45 @@ export type SessionUnshareErrors = {
|
|
|
3805
3941
|
*/
|
|
3806
3942
|
404: NotFoundError;
|
|
3807
3943
|
};
|
|
3808
|
-
export type
|
|
3809
|
-
export type
|
|
3944
|
+
export type SessionBackgroundInspectError = SessionBackgroundInspectErrors[keyof SessionBackgroundInspectErrors];
|
|
3945
|
+
export type SessionBackgroundInspectResponses = {
|
|
3810
3946
|
/**
|
|
3811
|
-
*
|
|
3947
|
+
* Background job
|
|
3812
3948
|
*/
|
|
3813
|
-
200:
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3949
|
+
200: {
|
|
3950
|
+
jobID: string;
|
|
3951
|
+
rootDelegationID: string;
|
|
3952
|
+
parentSessionID: string;
|
|
3953
|
+
title: string;
|
|
3954
|
+
agent: string;
|
|
3955
|
+
status: "running" | "synthesizing" | "complete" | "error" | "timeout" | "cancelled" | "orphaned";
|
|
3956
|
+
source?: string;
|
|
3957
|
+
workerSessionID?: string;
|
|
3958
|
+
delegatorID?: string;
|
|
3959
|
+
delegatorSessionID?: string;
|
|
3960
|
+
createdAt: number;
|
|
3961
|
+
updatedAt: number;
|
|
3962
|
+
completedAt?: number;
|
|
3963
|
+
lastActivityAt?: number;
|
|
3964
|
+
progressSummary?: string;
|
|
3965
|
+
resultSummary?: string;
|
|
3966
|
+
error?: string;
|
|
3967
|
+
} | null;
|
|
3968
|
+
};
|
|
3969
|
+
export type SessionBackgroundInspectResponse = SessionBackgroundInspectResponses[keyof SessionBackgroundInspectResponses];
|
|
3970
|
+
export type SessionBackgroundReadData = {
|
|
3817
3971
|
body?: never;
|
|
3818
3972
|
path: {
|
|
3819
3973
|
sessionID: string;
|
|
3974
|
+
delegationID: string;
|
|
3820
3975
|
};
|
|
3821
3976
|
query?: {
|
|
3822
3977
|
directory?: string;
|
|
3823
3978
|
workspace?: string;
|
|
3824
3979
|
};
|
|
3825
|
-
url: "/session/{sessionID}/
|
|
3980
|
+
url: "/session/{sessionID}/background/{delegationID}/read";
|
|
3826
3981
|
};
|
|
3827
|
-
export type
|
|
3982
|
+
export type SessionBackgroundReadErrors = {
|
|
3828
3983
|
/**
|
|
3829
3984
|
* Bad request
|
|
3830
3985
|
*/
|
|
@@ -3834,31 +3989,148 @@ export type SessionShareErrors = {
|
|
|
3834
3989
|
*/
|
|
3835
3990
|
404: NotFoundError;
|
|
3836
3991
|
};
|
|
3837
|
-
export type
|
|
3838
|
-
export type
|
|
3992
|
+
export type SessionBackgroundReadError = SessionBackgroundReadErrors[keyof SessionBackgroundReadErrors];
|
|
3993
|
+
export type SessionBackgroundReadResponses = {
|
|
3839
3994
|
/**
|
|
3840
|
-
*
|
|
3995
|
+
* Background job output
|
|
3841
3996
|
*/
|
|
3842
|
-
200:
|
|
3997
|
+
200: string;
|
|
3843
3998
|
};
|
|
3844
|
-
export type
|
|
3845
|
-
export type
|
|
3999
|
+
export type SessionBackgroundReadResponse = SessionBackgroundReadResponses[keyof SessionBackgroundReadResponses];
|
|
4000
|
+
export type SessionBackgroundCancelData = {
|
|
3846
4001
|
body?: never;
|
|
3847
4002
|
path: {
|
|
3848
4003
|
sessionID: string;
|
|
4004
|
+
delegationID: string;
|
|
3849
4005
|
};
|
|
3850
4006
|
query?: {
|
|
3851
4007
|
directory?: string;
|
|
3852
4008
|
workspace?: string;
|
|
3853
|
-
messageID?: string;
|
|
3854
4009
|
};
|
|
3855
|
-
url: "/session/{sessionID}/
|
|
4010
|
+
url: "/session/{sessionID}/background/{delegationID}/cancel";
|
|
3856
4011
|
};
|
|
3857
|
-
export type
|
|
4012
|
+
export type SessionBackgroundCancelErrors = {
|
|
3858
4013
|
/**
|
|
3859
|
-
*
|
|
4014
|
+
* Bad request
|
|
3860
4015
|
*/
|
|
3861
|
-
|
|
4016
|
+
400: BadRequestError;
|
|
4017
|
+
/**
|
|
4018
|
+
* Not found
|
|
4019
|
+
*/
|
|
4020
|
+
404: NotFoundError;
|
|
4021
|
+
};
|
|
4022
|
+
export type SessionBackgroundCancelError = SessionBackgroundCancelErrors[keyof SessionBackgroundCancelErrors];
|
|
4023
|
+
export type SessionBackgroundCancelResponses = {
|
|
4024
|
+
/**
|
|
4025
|
+
* Cancelled background job
|
|
4026
|
+
*/
|
|
4027
|
+
200: boolean;
|
|
4028
|
+
};
|
|
4029
|
+
export type SessionBackgroundCancelResponse = SessionBackgroundCancelResponses[keyof SessionBackgroundCancelResponses];
|
|
4030
|
+
export type SessionAbortData = {
|
|
4031
|
+
body?: never;
|
|
4032
|
+
path: {
|
|
4033
|
+
sessionID: string;
|
|
4034
|
+
};
|
|
4035
|
+
query?: {
|
|
4036
|
+
directory?: string;
|
|
4037
|
+
workspace?: string;
|
|
4038
|
+
};
|
|
4039
|
+
url: "/session/{sessionID}/abort";
|
|
4040
|
+
};
|
|
4041
|
+
export type SessionAbortErrors = {
|
|
4042
|
+
/**
|
|
4043
|
+
* Bad request
|
|
4044
|
+
*/
|
|
4045
|
+
400: BadRequestError;
|
|
4046
|
+
/**
|
|
4047
|
+
* Not found
|
|
4048
|
+
*/
|
|
4049
|
+
404: NotFoundError;
|
|
4050
|
+
};
|
|
4051
|
+
export type SessionAbortError = SessionAbortErrors[keyof SessionAbortErrors];
|
|
4052
|
+
export type SessionAbortResponses = {
|
|
4053
|
+
/**
|
|
4054
|
+
* Aborted session
|
|
4055
|
+
*/
|
|
4056
|
+
200: boolean;
|
|
4057
|
+
};
|
|
4058
|
+
export type SessionAbortResponse = SessionAbortResponses[keyof SessionAbortResponses];
|
|
4059
|
+
export type SessionUnshareData = {
|
|
4060
|
+
body?: never;
|
|
4061
|
+
path: {
|
|
4062
|
+
sessionID: string;
|
|
4063
|
+
};
|
|
4064
|
+
query?: {
|
|
4065
|
+
directory?: string;
|
|
4066
|
+
workspace?: string;
|
|
4067
|
+
};
|
|
4068
|
+
url: "/session/{sessionID}/share";
|
|
4069
|
+
};
|
|
4070
|
+
export type SessionUnshareErrors = {
|
|
4071
|
+
/**
|
|
4072
|
+
* Bad request
|
|
4073
|
+
*/
|
|
4074
|
+
400: BadRequestError;
|
|
4075
|
+
/**
|
|
4076
|
+
* Not found
|
|
4077
|
+
*/
|
|
4078
|
+
404: NotFoundError;
|
|
4079
|
+
};
|
|
4080
|
+
export type SessionUnshareError = SessionUnshareErrors[keyof SessionUnshareErrors];
|
|
4081
|
+
export type SessionUnshareResponses = {
|
|
4082
|
+
/**
|
|
4083
|
+
* Successfully unshared session
|
|
4084
|
+
*/
|
|
4085
|
+
200: Session;
|
|
4086
|
+
};
|
|
4087
|
+
export type SessionUnshareResponse = SessionUnshareResponses[keyof SessionUnshareResponses];
|
|
4088
|
+
export type SessionShareData = {
|
|
4089
|
+
body?: never;
|
|
4090
|
+
path: {
|
|
4091
|
+
sessionID: string;
|
|
4092
|
+
};
|
|
4093
|
+
query?: {
|
|
4094
|
+
directory?: string;
|
|
4095
|
+
workspace?: string;
|
|
4096
|
+
};
|
|
4097
|
+
url: "/session/{sessionID}/share";
|
|
4098
|
+
};
|
|
4099
|
+
export type SessionShareErrors = {
|
|
4100
|
+
/**
|
|
4101
|
+
* Bad request
|
|
4102
|
+
*/
|
|
4103
|
+
400: BadRequestError;
|
|
4104
|
+
/**
|
|
4105
|
+
* Not found
|
|
4106
|
+
*/
|
|
4107
|
+
404: NotFoundError;
|
|
4108
|
+
};
|
|
4109
|
+
export type SessionShareError = SessionShareErrors[keyof SessionShareErrors];
|
|
4110
|
+
export type SessionShareResponses = {
|
|
4111
|
+
/**
|
|
4112
|
+
* Successfully shared session
|
|
4113
|
+
*/
|
|
4114
|
+
200: Session;
|
|
4115
|
+
};
|
|
4116
|
+
export type SessionShareResponse = SessionShareResponses[keyof SessionShareResponses];
|
|
4117
|
+
export type SessionDiffData = {
|
|
4118
|
+
body?: never;
|
|
4119
|
+
path: {
|
|
4120
|
+
sessionID: string;
|
|
4121
|
+
};
|
|
4122
|
+
query?: {
|
|
4123
|
+
directory?: string;
|
|
4124
|
+
workspace?: string;
|
|
4125
|
+
messageID?: string;
|
|
4126
|
+
};
|
|
4127
|
+
url: "/session/{sessionID}/diff";
|
|
4128
|
+
};
|
|
4129
|
+
export type SessionDiffResponses = {
|
|
4130
|
+
/**
|
|
4131
|
+
* Successfully retrieved diff
|
|
4132
|
+
*/
|
|
4133
|
+
200: Array<FileDiff>;
|
|
3862
4134
|
};
|
|
3863
4135
|
export type SessionDiffResponse = SessionDiffResponses[keyof SessionDiffResponses];
|
|
3864
4136
|
export type SessionSummarizeData = {
|
|
@@ -4494,55 +4766,6 @@ export type PermissionListResponses = {
|
|
|
4494
4766
|
200: Array<PermissionRequest>;
|
|
4495
4767
|
};
|
|
4496
4768
|
export type PermissionListResponse = PermissionListResponses[keyof PermissionListResponses];
|
|
4497
|
-
export type DbeditReplyData = {
|
|
4498
|
-
body?: {
|
|
4499
|
-
reply: "accept" | "edit" | "reject";
|
|
4500
|
-
modified?: DbEditRequest;
|
|
4501
|
-
message?: string;
|
|
4502
|
-
};
|
|
4503
|
-
path: {
|
|
4504
|
-
requestID: string;
|
|
4505
|
-
};
|
|
4506
|
-
query?: {
|
|
4507
|
-
directory?: string;
|
|
4508
|
-
workspace?: string;
|
|
4509
|
-
};
|
|
4510
|
-
url: "/dbedit/{requestID}/reply";
|
|
4511
|
-
};
|
|
4512
|
-
export type DbeditReplyErrors = {
|
|
4513
|
-
/**
|
|
4514
|
-
* Bad request
|
|
4515
|
-
*/
|
|
4516
|
-
400: BadRequestError;
|
|
4517
|
-
/**
|
|
4518
|
-
* Not found
|
|
4519
|
-
*/
|
|
4520
|
-
404: NotFoundError;
|
|
4521
|
-
};
|
|
4522
|
-
export type DbeditReplyError = DbeditReplyErrors[keyof DbeditReplyErrors];
|
|
4523
|
-
export type DbeditReplyResponses = {
|
|
4524
|
-
/**
|
|
4525
|
-
* DB edit processed successfully
|
|
4526
|
-
*/
|
|
4527
|
-
200: boolean;
|
|
4528
|
-
};
|
|
4529
|
-
export type DbeditReplyResponse = DbeditReplyResponses[keyof DbeditReplyResponses];
|
|
4530
|
-
export type DbeditListData = {
|
|
4531
|
-
body?: never;
|
|
4532
|
-
path?: never;
|
|
4533
|
-
query?: {
|
|
4534
|
-
directory?: string;
|
|
4535
|
-
workspace?: string;
|
|
4536
|
-
};
|
|
4537
|
-
url: "/dbedit";
|
|
4538
|
-
};
|
|
4539
|
-
export type DbeditListResponses = {
|
|
4540
|
-
/**
|
|
4541
|
-
* List of pending DB edits
|
|
4542
|
-
*/
|
|
4543
|
-
200: Array<DbEditRequest>;
|
|
4544
|
-
};
|
|
4545
|
-
export type DbeditListResponse = DbeditListResponses[keyof DbeditListResponses];
|
|
4546
4769
|
export type QuestionListData = {
|
|
4547
4770
|
body?: never;
|
|
4548
4771
|
path?: never;
|
|
@@ -4853,7 +5076,7 @@ export type PostUserRegisterData = {
|
|
|
4853
5076
|
body?: {
|
|
4854
5077
|
username: string;
|
|
4855
5078
|
email: string;
|
|
4856
|
-
password:
|
|
5079
|
+
password: unknown & unknown & unknown;
|
|
4857
5080
|
displayName?: string;
|
|
4858
5081
|
};
|
|
4859
5082
|
path?: never;
|
|
@@ -4973,69 +5196,6 @@ export type MobileBootstrapResponses = {
|
|
|
4973
5196
|
200: MobileBootstrap;
|
|
4974
5197
|
};
|
|
4975
5198
|
export type MobileBootstrapResponse = MobileBootstrapResponses[keyof MobileBootstrapResponses];
|
|
4976
|
-
export type MobileTophatStatusData = {
|
|
4977
|
-
body?: never;
|
|
4978
|
-
path?: never;
|
|
4979
|
-
query?: {
|
|
4980
|
-
directory?: string;
|
|
4981
|
-
workspace?: string;
|
|
4982
|
-
};
|
|
4983
|
-
url: "/mobile/tophat/status";
|
|
4984
|
-
};
|
|
4985
|
-
export type MobileTophatStatusResponses = {
|
|
4986
|
-
/**
|
|
4987
|
-
* Tophat status
|
|
4988
|
-
*/
|
|
4989
|
-
200: MobileTophatStatus;
|
|
4990
|
-
};
|
|
4991
|
-
export type MobileTophatStatusResponse = MobileTophatStatusResponses[keyof MobileTophatStatusResponses];
|
|
4992
|
-
export type MobileTophatInstallUrlData = {
|
|
4993
|
-
body?: never;
|
|
4994
|
-
path?: never;
|
|
4995
|
-
query: {
|
|
4996
|
-
directory?: string;
|
|
4997
|
-
workspace?: string;
|
|
4998
|
-
url: string;
|
|
4999
|
-
platform?: "ios" | "android";
|
|
5000
|
-
};
|
|
5001
|
-
url: "/mobile/tophat/install-url";
|
|
5002
|
-
};
|
|
5003
|
-
export type MobileTophatInstallUrlErrors = {
|
|
5004
|
-
/**
|
|
5005
|
-
* Bad request
|
|
5006
|
-
*/
|
|
5007
|
-
400: BadRequestError;
|
|
5008
|
-
};
|
|
5009
|
-
export type MobileTophatInstallUrlError = MobileTophatInstallUrlErrors[keyof MobileTophatInstallUrlErrors];
|
|
5010
|
-
export type MobileTophatInstallUrlResponses = {
|
|
5011
|
-
/**
|
|
5012
|
-
* Install URLs
|
|
5013
|
-
*/
|
|
5014
|
-
200: {
|
|
5015
|
-
deepLink: string;
|
|
5016
|
-
localLink: string;
|
|
5017
|
-
};
|
|
5018
|
-
};
|
|
5019
|
-
export type MobileTophatInstallUrlResponse = MobileTophatInstallUrlResponses[keyof MobileTophatInstallUrlResponses];
|
|
5020
|
-
export type MobileExpoStatusData = {
|
|
5021
|
-
body?: never;
|
|
5022
|
-
path?: never;
|
|
5023
|
-
query?: {
|
|
5024
|
-
directory?: string;
|
|
5025
|
-
workspace?: string;
|
|
5026
|
-
};
|
|
5027
|
-
url: "/mobile/expo/status";
|
|
5028
|
-
};
|
|
5029
|
-
export type MobileExpoStatusResponses = {
|
|
5030
|
-
/**
|
|
5031
|
-
* Expo status
|
|
5032
|
-
*/
|
|
5033
|
-
200: {
|
|
5034
|
-
available: boolean;
|
|
5035
|
-
details: Array<string>;
|
|
5036
|
-
};
|
|
5037
|
-
};
|
|
5038
|
-
export type MobileExpoStatusResponse = MobileExpoStatusResponses[keyof MobileExpoStatusResponses];
|
|
5039
5199
|
export type MobileMemoryHistoryData = {
|
|
5040
5200
|
body?: never;
|
|
5041
5201
|
path?: never;
|
|
@@ -5218,6 +5378,31 @@ export type MobileGithubImportsResponses = {
|
|
|
5218
5378
|
200: Array<MobileGithubImport>;
|
|
5219
5379
|
};
|
|
5220
5380
|
export type MobileGithubImportsResponse = MobileGithubImportsResponses[keyof MobileGithubImportsResponses];
|
|
5381
|
+
export type MobileGithubOauthClientIdSetData = {
|
|
5382
|
+
body?: {
|
|
5383
|
+
clientId: string;
|
|
5384
|
+
};
|
|
5385
|
+
path?: never;
|
|
5386
|
+
query?: {
|
|
5387
|
+
directory?: string;
|
|
5388
|
+
workspace?: string;
|
|
5389
|
+
};
|
|
5390
|
+
url: "/mobile/github/oauth/client";
|
|
5391
|
+
};
|
|
5392
|
+
export type MobileGithubOauthClientIdSetErrors = {
|
|
5393
|
+
/**
|
|
5394
|
+
* Bad request
|
|
5395
|
+
*/
|
|
5396
|
+
400: BadRequestError;
|
|
5397
|
+
};
|
|
5398
|
+
export type MobileGithubOauthClientIdSetError = MobileGithubOauthClientIdSetErrors[keyof MobileGithubOauthClientIdSetErrors];
|
|
5399
|
+
export type MobileGithubOauthClientIdSetResponses = {
|
|
5400
|
+
/**
|
|
5401
|
+
* Updated host configuration
|
|
5402
|
+
*/
|
|
5403
|
+
200: Config;
|
|
5404
|
+
};
|
|
5405
|
+
export type MobileGithubOauthClientIdSetResponse = MobileGithubOauthClientIdSetResponses[keyof MobileGithubOauthClientIdSetResponses];
|
|
5221
5406
|
export type MobileGithubOauthDeviceStartData = {
|
|
5222
5407
|
body?: never;
|
|
5223
5408
|
path?: never;
|
|
@@ -5399,6 +5584,37 @@ export type MobileSessionCreateResponses = {
|
|
|
5399
5584
|
200: Session;
|
|
5400
5585
|
};
|
|
5401
5586
|
export type MobileSessionCreateResponse = MobileSessionCreateResponses[keyof MobileSessionCreateResponses];
|
|
5587
|
+
export type MobileSessionDeleteData = {
|
|
5588
|
+
body?: never;
|
|
5589
|
+
path: {
|
|
5590
|
+
sessionID: string;
|
|
5591
|
+
};
|
|
5592
|
+
query?: {
|
|
5593
|
+
directory?: string;
|
|
5594
|
+
workspace?: string;
|
|
5595
|
+
};
|
|
5596
|
+
url: "/mobile/session/{sessionID}";
|
|
5597
|
+
};
|
|
5598
|
+
export type MobileSessionDeleteErrors = {
|
|
5599
|
+
/**
|
|
5600
|
+
* Bad request
|
|
5601
|
+
*/
|
|
5602
|
+
400: BadRequestError;
|
|
5603
|
+
/**
|
|
5604
|
+
* Not found
|
|
5605
|
+
*/
|
|
5606
|
+
404: NotFoundError;
|
|
5607
|
+
};
|
|
5608
|
+
export type MobileSessionDeleteError = MobileSessionDeleteErrors[keyof MobileSessionDeleteErrors];
|
|
5609
|
+
export type MobileSessionDeleteResponses = {
|
|
5610
|
+
/**
|
|
5611
|
+
* Session deleted
|
|
5612
|
+
*/
|
|
5613
|
+
200: {
|
|
5614
|
+
success: true;
|
|
5615
|
+
};
|
|
5616
|
+
};
|
|
5617
|
+
export type MobileSessionDeleteResponse = MobileSessionDeleteResponses[keyof MobileSessionDeleteResponses];
|
|
5402
5618
|
export type MobileSessionDetailData = {
|
|
5403
5619
|
body?: never;
|
|
5404
5620
|
path: {
|
|
@@ -5592,35 +5808,79 @@ export type MobilePermissionRespondResponses = {
|
|
|
5592
5808
|
};
|
|
5593
5809
|
};
|
|
5594
5810
|
export type MobilePermissionRespondResponse = MobilePermissionRespondResponses[keyof MobilePermissionRespondResponses];
|
|
5595
|
-
export type
|
|
5596
|
-
body?:
|
|
5811
|
+
export type MobileQuestionRejectData = {
|
|
5812
|
+
body?: never;
|
|
5597
5813
|
path: {
|
|
5598
5814
|
sessionID: string;
|
|
5815
|
+
requestID: string;
|
|
5599
5816
|
};
|
|
5600
5817
|
query?: {
|
|
5601
5818
|
directory?: string;
|
|
5602
5819
|
workspace?: string;
|
|
5603
5820
|
};
|
|
5604
|
-
url: "/mobile/session/{sessionID}/
|
|
5605
|
-
};
|
|
5606
|
-
export type MobileGithubSessionPublishErrors = {
|
|
5607
|
-
/**
|
|
5608
|
-
* Bad request
|
|
5609
|
-
*/
|
|
5610
|
-
400: BadRequestError;
|
|
5611
|
-
/**
|
|
5612
|
-
* Not found
|
|
5613
|
-
*/
|
|
5614
|
-
404: NotFoundError;
|
|
5821
|
+
url: "/mobile/session/{sessionID}/question/{requestID}";
|
|
5615
5822
|
};
|
|
5616
|
-
export type
|
|
5617
|
-
export type MobileGithubSessionPublishResponses = {
|
|
5823
|
+
export type MobileQuestionRejectResponses = {
|
|
5618
5824
|
/**
|
|
5619
|
-
*
|
|
5825
|
+
* Question rejected
|
|
5620
5826
|
*/
|
|
5621
|
-
200:
|
|
5827
|
+
200: {
|
|
5828
|
+
success: true;
|
|
5829
|
+
};
|
|
5622
5830
|
};
|
|
5623
|
-
export type
|
|
5831
|
+
export type MobileQuestionRejectResponse = MobileQuestionRejectResponses[keyof MobileQuestionRejectResponses];
|
|
5832
|
+
export type MobileQuestionRespondData = {
|
|
5833
|
+
body?: {
|
|
5834
|
+
answers: Array<Array<string>>;
|
|
5835
|
+
};
|
|
5836
|
+
path: {
|
|
5837
|
+
sessionID: string;
|
|
5838
|
+
requestID: string;
|
|
5839
|
+
};
|
|
5840
|
+
query?: {
|
|
5841
|
+
directory?: string;
|
|
5842
|
+
workspace?: string;
|
|
5843
|
+
};
|
|
5844
|
+
url: "/mobile/session/{sessionID}/question/{requestID}";
|
|
5845
|
+
};
|
|
5846
|
+
export type MobileQuestionRespondResponses = {
|
|
5847
|
+
/**
|
|
5848
|
+
* Question answered
|
|
5849
|
+
*/
|
|
5850
|
+
200: {
|
|
5851
|
+
success: true;
|
|
5852
|
+
};
|
|
5853
|
+
};
|
|
5854
|
+
export type MobileQuestionRespondResponse = MobileQuestionRespondResponses[keyof MobileQuestionRespondResponses];
|
|
5855
|
+
export type MobileGithubSessionPublishData = {
|
|
5856
|
+
body?: MobileGithubPublishInput;
|
|
5857
|
+
path: {
|
|
5858
|
+
sessionID: string;
|
|
5859
|
+
};
|
|
5860
|
+
query?: {
|
|
5861
|
+
directory?: string;
|
|
5862
|
+
workspace?: string;
|
|
5863
|
+
};
|
|
5864
|
+
url: "/mobile/session/{sessionID}/publish";
|
|
5865
|
+
};
|
|
5866
|
+
export type MobileGithubSessionPublishErrors = {
|
|
5867
|
+
/**
|
|
5868
|
+
* Bad request
|
|
5869
|
+
*/
|
|
5870
|
+
400: BadRequestError;
|
|
5871
|
+
/**
|
|
5872
|
+
* Not found
|
|
5873
|
+
*/
|
|
5874
|
+
404: NotFoundError;
|
|
5875
|
+
};
|
|
5876
|
+
export type MobileGithubSessionPublishError = MobileGithubSessionPublishErrors[keyof MobileGithubSessionPublishErrors];
|
|
5877
|
+
export type MobileGithubSessionPublishResponses = {
|
|
5878
|
+
/**
|
|
5879
|
+
* Published pull request
|
|
5880
|
+
*/
|
|
5881
|
+
200: MobileGithubPublishResult;
|
|
5882
|
+
};
|
|
5883
|
+
export type MobileGithubSessionPublishResponse = MobileGithubSessionPublishResponses[keyof MobileGithubSessionPublishResponses];
|
|
5624
5884
|
export type MobileGithubSessionCleanupData = {
|
|
5625
5885
|
body?: never;
|
|
5626
5886
|
path: {
|
|
@@ -5820,6 +6080,7 @@ export type MobileGitDiffData = {
|
|
|
5820
6080
|
directory?: string;
|
|
5821
6081
|
workspace?: string;
|
|
5822
6082
|
file?: string;
|
|
6083
|
+
staged?: "true" | "false";
|
|
5823
6084
|
};
|
|
5824
6085
|
url: "/mobile/git/diff";
|
|
5825
6086
|
};
|
|
@@ -5905,6 +6166,7 @@ export type MobileGitCommitData = {
|
|
|
5905
6166
|
message: string;
|
|
5906
6167
|
files?: Array<string>;
|
|
5907
6168
|
amend?: boolean;
|
|
6169
|
+
stagedOnly?: boolean;
|
|
5908
6170
|
};
|
|
5909
6171
|
path?: never;
|
|
5910
6172
|
query?: {
|
|
@@ -6072,6 +6334,257 @@ export type MobileGitPullResponses = {
|
|
|
6072
6334
|
};
|
|
6073
6335
|
};
|
|
6074
6336
|
export type MobileGitPullResponse = MobileGitPullResponses[keyof MobileGitPullResponses];
|
|
6337
|
+
export type MobileRoutineListData = {
|
|
6338
|
+
body?: never;
|
|
6339
|
+
path?: never;
|
|
6340
|
+
query?: {
|
|
6341
|
+
directory?: string;
|
|
6342
|
+
workspace?: string;
|
|
6343
|
+
};
|
|
6344
|
+
url: "/mobile/routines";
|
|
6345
|
+
};
|
|
6346
|
+
export type MobileRoutineListErrors = {
|
|
6347
|
+
/**
|
|
6348
|
+
* Bad request
|
|
6349
|
+
*/
|
|
6350
|
+
400: BadRequestError;
|
|
6351
|
+
};
|
|
6352
|
+
export type MobileRoutineListError = MobileRoutineListErrors[keyof MobileRoutineListErrors];
|
|
6353
|
+
export type MobileRoutineListResponses = {
|
|
6354
|
+
/**
|
|
6355
|
+
* Routine list
|
|
6356
|
+
*/
|
|
6357
|
+
200: Array<MobileRoutine>;
|
|
6358
|
+
};
|
|
6359
|
+
export type MobileRoutineListResponse = MobileRoutineListResponses[keyof MobileRoutineListResponses];
|
|
6360
|
+
export type MobileRoutineCreateData = {
|
|
6361
|
+
body?: MobileRoutineCreateInput;
|
|
6362
|
+
path?: never;
|
|
6363
|
+
query?: {
|
|
6364
|
+
directory?: string;
|
|
6365
|
+
workspace?: string;
|
|
6366
|
+
};
|
|
6367
|
+
url: "/mobile/routines";
|
|
6368
|
+
};
|
|
6369
|
+
export type MobileRoutineCreateErrors = {
|
|
6370
|
+
/**
|
|
6371
|
+
* Bad request
|
|
6372
|
+
*/
|
|
6373
|
+
400: BadRequestError;
|
|
6374
|
+
};
|
|
6375
|
+
export type MobileRoutineCreateError = MobileRoutineCreateErrors[keyof MobileRoutineCreateErrors];
|
|
6376
|
+
export type MobileRoutineCreateResponses = {
|
|
6377
|
+
/**
|
|
6378
|
+
* Created routine
|
|
6379
|
+
*/
|
|
6380
|
+
200: MobileRoutine;
|
|
6381
|
+
};
|
|
6382
|
+
export type MobileRoutineCreateResponse = MobileRoutineCreateResponses[keyof MobileRoutineCreateResponses];
|
|
6383
|
+
export type MobileRoutineDeleteData = {
|
|
6384
|
+
body?: never;
|
|
6385
|
+
path: {
|
|
6386
|
+
id: string;
|
|
6387
|
+
};
|
|
6388
|
+
query?: {
|
|
6389
|
+
directory?: string;
|
|
6390
|
+
workspace?: string;
|
|
6391
|
+
};
|
|
6392
|
+
url: "/mobile/routines/{id}";
|
|
6393
|
+
};
|
|
6394
|
+
export type MobileRoutineDeleteErrors = {
|
|
6395
|
+
/**
|
|
6396
|
+
* Bad request
|
|
6397
|
+
*/
|
|
6398
|
+
400: BadRequestError;
|
|
6399
|
+
/**
|
|
6400
|
+
* Not found
|
|
6401
|
+
*/
|
|
6402
|
+
404: NotFoundError;
|
|
6403
|
+
};
|
|
6404
|
+
export type MobileRoutineDeleteError = MobileRoutineDeleteErrors[keyof MobileRoutineDeleteErrors];
|
|
6405
|
+
export type MobileRoutineDeleteResponses = {
|
|
6406
|
+
/**
|
|
6407
|
+
* Deletion result
|
|
6408
|
+
*/
|
|
6409
|
+
200: {
|
|
6410
|
+
success: true;
|
|
6411
|
+
};
|
|
6412
|
+
};
|
|
6413
|
+
export type MobileRoutineDeleteResponse = MobileRoutineDeleteResponses[keyof MobileRoutineDeleteResponses];
|
|
6414
|
+
export type MobileRoutineGetData = {
|
|
6415
|
+
body?: never;
|
|
6416
|
+
path: {
|
|
6417
|
+
id: string;
|
|
6418
|
+
};
|
|
6419
|
+
query?: {
|
|
6420
|
+
directory?: string;
|
|
6421
|
+
workspace?: string;
|
|
6422
|
+
};
|
|
6423
|
+
url: "/mobile/routines/{id}";
|
|
6424
|
+
};
|
|
6425
|
+
export type MobileRoutineGetErrors = {
|
|
6426
|
+
/**
|
|
6427
|
+
* Bad request
|
|
6428
|
+
*/
|
|
6429
|
+
400: BadRequestError;
|
|
6430
|
+
/**
|
|
6431
|
+
* Not found
|
|
6432
|
+
*/
|
|
6433
|
+
404: NotFoundError;
|
|
6434
|
+
};
|
|
6435
|
+
export type MobileRoutineGetError = MobileRoutineGetErrors[keyof MobileRoutineGetErrors];
|
|
6436
|
+
export type MobileRoutineGetResponses = {
|
|
6437
|
+
/**
|
|
6438
|
+
* Routine
|
|
6439
|
+
*/
|
|
6440
|
+
200: MobileRoutine;
|
|
6441
|
+
};
|
|
6442
|
+
export type MobileRoutineGetResponse = MobileRoutineGetResponses[keyof MobileRoutineGetResponses];
|
|
6443
|
+
export type MobileRoutineUpdateData = {
|
|
6444
|
+
body?: MobileRoutineUpdateInput;
|
|
6445
|
+
path: {
|
|
6446
|
+
id: string;
|
|
6447
|
+
};
|
|
6448
|
+
query?: {
|
|
6449
|
+
directory?: string;
|
|
6450
|
+
workspace?: string;
|
|
6451
|
+
};
|
|
6452
|
+
url: "/mobile/routines/{id}";
|
|
6453
|
+
};
|
|
6454
|
+
export type MobileRoutineUpdateErrors = {
|
|
6455
|
+
/**
|
|
6456
|
+
* Bad request
|
|
6457
|
+
*/
|
|
6458
|
+
400: BadRequestError;
|
|
6459
|
+
/**
|
|
6460
|
+
* Not found
|
|
6461
|
+
*/
|
|
6462
|
+
404: NotFoundError;
|
|
6463
|
+
};
|
|
6464
|
+
export type MobileRoutineUpdateError = MobileRoutineUpdateErrors[keyof MobileRoutineUpdateErrors];
|
|
6465
|
+
export type MobileRoutineUpdateResponses = {
|
|
6466
|
+
/**
|
|
6467
|
+
* Updated routine
|
|
6468
|
+
*/
|
|
6469
|
+
200: MobileRoutine;
|
|
6470
|
+
};
|
|
6471
|
+
export type MobileRoutineUpdateResponse = MobileRoutineUpdateResponses[keyof MobileRoutineUpdateResponses];
|
|
6472
|
+
export type MobileRoutineRunData = {
|
|
6473
|
+
body?: MobileRoutineRunInput;
|
|
6474
|
+
path: {
|
|
6475
|
+
id: string;
|
|
6476
|
+
};
|
|
6477
|
+
query?: {
|
|
6478
|
+
directory?: string;
|
|
6479
|
+
workspace?: string;
|
|
6480
|
+
};
|
|
6481
|
+
url: "/mobile/routines/{id}/run";
|
|
6482
|
+
};
|
|
6483
|
+
export type MobileRoutineRunErrors = {
|
|
6484
|
+
/**
|
|
6485
|
+
* Bad request
|
|
6486
|
+
*/
|
|
6487
|
+
400: BadRequestError;
|
|
6488
|
+
/**
|
|
6489
|
+
* Not found
|
|
6490
|
+
*/
|
|
6491
|
+
404: NotFoundError;
|
|
6492
|
+
};
|
|
6493
|
+
export type MobileRoutineRunError = MobileRoutineRunErrors[keyof MobileRoutineRunErrors];
|
|
6494
|
+
export type MobileRoutineRunResponses = {
|
|
6495
|
+
/**
|
|
6496
|
+
* Created session
|
|
6497
|
+
*/
|
|
6498
|
+
200: Session;
|
|
6499
|
+
};
|
|
6500
|
+
export type MobileRoutineRunResponse = MobileRoutineRunResponses[keyof MobileRoutineRunResponses];
|
|
6501
|
+
export type MobileRoutinePauseData = {
|
|
6502
|
+
body?: never;
|
|
6503
|
+
path: {
|
|
6504
|
+
id: string;
|
|
6505
|
+
};
|
|
6506
|
+
query?: {
|
|
6507
|
+
directory?: string;
|
|
6508
|
+
workspace?: string;
|
|
6509
|
+
};
|
|
6510
|
+
url: "/mobile/routines/{id}/pause";
|
|
6511
|
+
};
|
|
6512
|
+
export type MobileRoutinePauseErrors = {
|
|
6513
|
+
/**
|
|
6514
|
+
* Bad request
|
|
6515
|
+
*/
|
|
6516
|
+
400: BadRequestError;
|
|
6517
|
+
/**
|
|
6518
|
+
* Not found
|
|
6519
|
+
*/
|
|
6520
|
+
404: NotFoundError;
|
|
6521
|
+
};
|
|
6522
|
+
export type MobileRoutinePauseError = MobileRoutinePauseErrors[keyof MobileRoutinePauseErrors];
|
|
6523
|
+
export type MobileRoutinePauseResponses = {
|
|
6524
|
+
/**
|
|
6525
|
+
* Updated routine
|
|
6526
|
+
*/
|
|
6527
|
+
200: MobileRoutine;
|
|
6528
|
+
};
|
|
6529
|
+
export type MobileRoutinePauseResponse = MobileRoutinePauseResponses[keyof MobileRoutinePauseResponses];
|
|
6530
|
+
export type MobileRoutineResumeData = {
|
|
6531
|
+
body?: never;
|
|
6532
|
+
path: {
|
|
6533
|
+
id: string;
|
|
6534
|
+
};
|
|
6535
|
+
query?: {
|
|
6536
|
+
directory?: string;
|
|
6537
|
+
workspace?: string;
|
|
6538
|
+
};
|
|
6539
|
+
url: "/mobile/routines/{id}/resume";
|
|
6540
|
+
};
|
|
6541
|
+
export type MobileRoutineResumeErrors = {
|
|
6542
|
+
/**
|
|
6543
|
+
* Bad request
|
|
6544
|
+
*/
|
|
6545
|
+
400: BadRequestError;
|
|
6546
|
+
/**
|
|
6547
|
+
* Not found
|
|
6548
|
+
*/
|
|
6549
|
+
404: NotFoundError;
|
|
6550
|
+
};
|
|
6551
|
+
export type MobileRoutineResumeError = MobileRoutineResumeErrors[keyof MobileRoutineResumeErrors];
|
|
6552
|
+
export type MobileRoutineResumeResponses = {
|
|
6553
|
+
/**
|
|
6554
|
+
* Updated routine
|
|
6555
|
+
*/
|
|
6556
|
+
200: MobileRoutine;
|
|
6557
|
+
};
|
|
6558
|
+
export type MobileRoutineResumeResponse = MobileRoutineResumeResponses[keyof MobileRoutineResumeResponses];
|
|
6559
|
+
export type MobileRoutineTriggerData = {
|
|
6560
|
+
body?: MobileRoutineTriggerInput;
|
|
6561
|
+
path: {
|
|
6562
|
+
token: string;
|
|
6563
|
+
};
|
|
6564
|
+
query?: {
|
|
6565
|
+
directory?: string;
|
|
6566
|
+
workspace?: string;
|
|
6567
|
+
};
|
|
6568
|
+
url: "/mobile/routines/trigger/{token}";
|
|
6569
|
+
};
|
|
6570
|
+
export type MobileRoutineTriggerErrors = {
|
|
6571
|
+
/**
|
|
6572
|
+
* Bad request
|
|
6573
|
+
*/
|
|
6574
|
+
400: BadRequestError;
|
|
6575
|
+
/**
|
|
6576
|
+
* Not found
|
|
6577
|
+
*/
|
|
6578
|
+
404: NotFoundError;
|
|
6579
|
+
};
|
|
6580
|
+
export type MobileRoutineTriggerError = MobileRoutineTriggerErrors[keyof MobileRoutineTriggerErrors];
|
|
6581
|
+
export type MobileRoutineTriggerResponses = {
|
|
6582
|
+
/**
|
|
6583
|
+
* Created session
|
|
6584
|
+
*/
|
|
6585
|
+
200: Session;
|
|
6586
|
+
};
|
|
6587
|
+
export type MobileRoutineTriggerResponse = MobileRoutineTriggerResponses[keyof MobileRoutineTriggerResponses];
|
|
6075
6588
|
export type FindTextData = {
|
|
6076
6589
|
body?: never;
|
|
6077
6590
|
path?: never;
|
|
@@ -6176,6 +6689,27 @@ export type FileReadResponses = {
|
|
|
6176
6689
|
200: FileContent;
|
|
6177
6690
|
};
|
|
6178
6691
|
export type FileReadResponse = FileReadResponses[keyof FileReadResponses];
|
|
6692
|
+
export type FileWriteData = {
|
|
6693
|
+
body?: {
|
|
6694
|
+
path: string;
|
|
6695
|
+
content: string;
|
|
6696
|
+
};
|
|
6697
|
+
path?: never;
|
|
6698
|
+
query?: {
|
|
6699
|
+
directory?: string;
|
|
6700
|
+
workspace?: string;
|
|
6701
|
+
};
|
|
6702
|
+
url: "/file/content";
|
|
6703
|
+
};
|
|
6704
|
+
export type FileWriteResponses = {
|
|
6705
|
+
/**
|
|
6706
|
+
* Write result
|
|
6707
|
+
*/
|
|
6708
|
+
200: {
|
|
6709
|
+
success: boolean;
|
|
6710
|
+
};
|
|
6711
|
+
};
|
|
6712
|
+
export type FileWriteResponse = FileWriteResponses[keyof FileWriteResponses];
|
|
6179
6713
|
export type FileStatusData = {
|
|
6180
6714
|
body?: never;
|
|
6181
6715
|
path?: never;
|
|
@@ -6788,6 +7322,94 @@ export type TuiControlResponseResponses = {
|
|
|
6788
7322
|
200: boolean;
|
|
6789
7323
|
};
|
|
6790
7324
|
export type TuiControlResponseResponse = TuiControlResponseResponses[keyof TuiControlResponseResponses];
|
|
7325
|
+
export type AnalyticsGlobalData = {
|
|
7326
|
+
body?: never;
|
|
7327
|
+
path?: never;
|
|
7328
|
+
query?: {
|
|
7329
|
+
directory?: string;
|
|
7330
|
+
workspace?: string;
|
|
7331
|
+
};
|
|
7332
|
+
url: "/analytics/global";
|
|
7333
|
+
};
|
|
7334
|
+
export type AnalyticsGlobalResponses = {
|
|
7335
|
+
/**
|
|
7336
|
+
* Global analytics
|
|
7337
|
+
*/
|
|
7338
|
+
200: unknown;
|
|
7339
|
+
};
|
|
7340
|
+
export type AnalyticsDailyData = {
|
|
7341
|
+
body?: never;
|
|
7342
|
+
path?: never;
|
|
7343
|
+
query?: {
|
|
7344
|
+
directory?: string;
|
|
7345
|
+
workspace?: string;
|
|
7346
|
+
from?: string;
|
|
7347
|
+
to?: string;
|
|
7348
|
+
days?: string;
|
|
7349
|
+
};
|
|
7350
|
+
url: "/analytics/daily";
|
|
7351
|
+
};
|
|
7352
|
+
export type AnalyticsDailyResponses = {
|
|
7353
|
+
/**
|
|
7354
|
+
* Daily analytics
|
|
7355
|
+
*/
|
|
7356
|
+
200: Array<unknown>;
|
|
7357
|
+
};
|
|
7358
|
+
export type AnalyticsDailyResponse = AnalyticsDailyResponses[keyof AnalyticsDailyResponses];
|
|
7359
|
+
export type AnalyticsSessionData = {
|
|
7360
|
+
body?: never;
|
|
7361
|
+
path: {
|
|
7362
|
+
sessionID: string;
|
|
7363
|
+
};
|
|
7364
|
+
query?: {
|
|
7365
|
+
directory?: string;
|
|
7366
|
+
workspace?: string;
|
|
7367
|
+
};
|
|
7368
|
+
url: "/analytics/session/{sessionID}";
|
|
7369
|
+
};
|
|
7370
|
+
export type AnalyticsSessionErrors = {
|
|
7371
|
+
/**
|
|
7372
|
+
* Session not found
|
|
7373
|
+
*/
|
|
7374
|
+
404: unknown;
|
|
7375
|
+
};
|
|
7376
|
+
export type AnalyticsSessionResponses = {
|
|
7377
|
+
/**
|
|
7378
|
+
* Session analytics
|
|
7379
|
+
*/
|
|
7380
|
+
200: unknown;
|
|
7381
|
+
};
|
|
7382
|
+
export type AnalyticsSessionsData = {
|
|
7383
|
+
body?: never;
|
|
7384
|
+
path?: never;
|
|
7385
|
+
query?: {
|
|
7386
|
+
directory?: string;
|
|
7387
|
+
workspace?: string;
|
|
7388
|
+
};
|
|
7389
|
+
url: "/analytics/sessions";
|
|
7390
|
+
};
|
|
7391
|
+
export type AnalyticsSessionsResponses = {
|
|
7392
|
+
/**
|
|
7393
|
+
* Session analytics list
|
|
7394
|
+
*/
|
|
7395
|
+
200: Array<unknown>;
|
|
7396
|
+
};
|
|
7397
|
+
export type AnalyticsSessionsResponse = AnalyticsSessionsResponses[keyof AnalyticsSessionsResponses];
|
|
7398
|
+
export type AnalyticsLeaderboardData = {
|
|
7399
|
+
body?: never;
|
|
7400
|
+
path?: never;
|
|
7401
|
+
query?: {
|
|
7402
|
+
directory?: string;
|
|
7403
|
+
workspace?: string;
|
|
7404
|
+
};
|
|
7405
|
+
url: "/analytics/leaderboard";
|
|
7406
|
+
};
|
|
7407
|
+
export type AnalyticsLeaderboardResponses = {
|
|
7408
|
+
/**
|
|
7409
|
+
* Leaderboard data
|
|
7410
|
+
*/
|
|
7411
|
+
200: unknown;
|
|
7412
|
+
};
|
|
6791
7413
|
export type InstanceDisposeData = {
|
|
6792
7414
|
body?: never;
|
|
6793
7415
|
path?: never;
|