@nikcli-ai/sdk 1.191.0 → 1.192.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.
@@ -10748,1648 +10748,6 @@ export type DoctorRunResponses = {
10748
10748
  200: DoctorReport;
10749
10749
  };
10750
10750
  export type DoctorRunResponse = DoctorRunResponses[keyof DoctorRunResponses];
10751
- export type NativeUiCapabilitiesData = {
10752
- body?: never;
10753
- path?: never;
10754
- query?: {
10755
- directory?: string;
10756
- workspace?: string;
10757
- };
10758
- url: "/native-ui/capabilities";
10759
- };
10760
- export type NativeUiCapabilitiesResponses = {
10761
- /**
10762
- * Native UI capabilities
10763
- */
10764
- 200: {
10765
- version: 1;
10766
- surfaces: Array<"dialog" | "popover" | "notification" | "menu">;
10767
- controls: Array<"button" | "link" | "text-input" | "select" | "checkbox" | "progress" | "metric" | "section" | "separator">;
10768
- actions: Array<"dismiss-surface" | "invoke" | "open-url" | "update-control">;
10769
- maxSurfaces?: number;
10770
- };
10771
- };
10772
- export type NativeUiCapabilitiesResponse = NativeUiCapabilitiesResponses[keyof NativeUiCapabilitiesResponses];
10773
- export type NativeUiListData = {
10774
- body?: never;
10775
- path?: never;
10776
- query?: {
10777
- directory?: string;
10778
- workspace?: string;
10779
- };
10780
- url: "/native-ui/surfaces";
10781
- };
10782
- export type NativeUiListResponses = {
10783
- /**
10784
- * Native UI surfaces
10785
- */
10786
- 200: Array<{
10787
- id: string;
10788
- title: string;
10789
- body?: string;
10790
- controls?: Array<{
10791
- type: "button";
10792
- id: string;
10793
- label: string;
10794
- action: string;
10795
- disabled?: boolean;
10796
- destructive?: boolean;
10797
- } | {
10798
- type: "link";
10799
- id: string;
10800
- label: string;
10801
- url: string;
10802
- disabled?: boolean;
10803
- } | {
10804
- type: "text-input";
10805
- id: string;
10806
- label?: string;
10807
- value?: string;
10808
- placeholder?: string;
10809
- secure?: boolean;
10810
- multiline?: boolean;
10811
- required?: boolean;
10812
- } | {
10813
- type: "select";
10814
- id: string;
10815
- label: string;
10816
- value?: string;
10817
- options: Array<{
10818
- id: string;
10819
- label: string;
10820
- disabled?: boolean;
10821
- }>;
10822
- } | {
10823
- type: "checkbox";
10824
- id: string;
10825
- label: string;
10826
- checked: boolean;
10827
- disabled?: boolean;
10828
- } | {
10829
- type: "progress";
10830
- id: string;
10831
- label?: string;
10832
- value: number;
10833
- detail?: string;
10834
- indeterminate?: boolean;
10835
- } | {
10836
- type: "metric";
10837
- id: string;
10838
- label: string;
10839
- value: string;
10840
- detail?: string;
10841
- trend?: string;
10842
- tone?: "neutral" | "info" | "success" | "warning" | "error";
10843
- } | {
10844
- type: "section";
10845
- id: string;
10846
- label: string;
10847
- detail?: string;
10848
- } | {
10849
- type: "separator";
10850
- id?: string;
10851
- }>;
10852
- dismissible?: boolean;
10853
- metadata?: {
10854
- [key: string]: unknown;
10855
- };
10856
- kind: "dialog";
10857
- modal?: boolean;
10858
- width?: "small" | "medium" | "large";
10859
- layout?: "stack" | "dashboard";
10860
- } | {
10861
- id: string;
10862
- title: string;
10863
- body?: string;
10864
- controls?: Array<{
10865
- type: "button";
10866
- id: string;
10867
- label: string;
10868
- action: string;
10869
- disabled?: boolean;
10870
- destructive?: boolean;
10871
- } | {
10872
- type: "link";
10873
- id: string;
10874
- label: string;
10875
- url: string;
10876
- disabled?: boolean;
10877
- } | {
10878
- type: "text-input";
10879
- id: string;
10880
- label?: string;
10881
- value?: string;
10882
- placeholder?: string;
10883
- secure?: boolean;
10884
- multiline?: boolean;
10885
- required?: boolean;
10886
- } | {
10887
- type: "select";
10888
- id: string;
10889
- label: string;
10890
- value?: string;
10891
- options: Array<{
10892
- id: string;
10893
- label: string;
10894
- disabled?: boolean;
10895
- }>;
10896
- } | {
10897
- type: "checkbox";
10898
- id: string;
10899
- label: string;
10900
- checked: boolean;
10901
- disabled?: boolean;
10902
- } | {
10903
- type: "progress";
10904
- id: string;
10905
- label?: string;
10906
- value: number;
10907
- detail?: string;
10908
- indeterminate?: boolean;
10909
- } | {
10910
- type: "metric";
10911
- id: string;
10912
- label: string;
10913
- value: string;
10914
- detail?: string;
10915
- trend?: string;
10916
- tone?: "neutral" | "info" | "success" | "warning" | "error";
10917
- } | {
10918
- type: "section";
10919
- id: string;
10920
- label: string;
10921
- detail?: string;
10922
- } | {
10923
- type: "separator";
10924
- id?: string;
10925
- }>;
10926
- dismissible?: boolean;
10927
- metadata?: {
10928
- [key: string]: unknown;
10929
- };
10930
- kind: "popover";
10931
- anchor: {
10932
- x: number;
10933
- y: number;
10934
- width: number;
10935
- height: number;
10936
- };
10937
- placement?: "top" | "right" | "bottom" | "left";
10938
- } | {
10939
- id: string;
10940
- title: string;
10941
- body?: string;
10942
- controls?: Array<{
10943
- type: "button";
10944
- id: string;
10945
- label: string;
10946
- action: string;
10947
- disabled?: boolean;
10948
- destructive?: boolean;
10949
- } | {
10950
- type: "link";
10951
- id: string;
10952
- label: string;
10953
- url: string;
10954
- disabled?: boolean;
10955
- } | {
10956
- type: "text-input";
10957
- id: string;
10958
- label?: string;
10959
- value?: string;
10960
- placeholder?: string;
10961
- secure?: boolean;
10962
- multiline?: boolean;
10963
- required?: boolean;
10964
- } | {
10965
- type: "select";
10966
- id: string;
10967
- label: string;
10968
- value?: string;
10969
- options: Array<{
10970
- id: string;
10971
- label: string;
10972
- disabled?: boolean;
10973
- }>;
10974
- } | {
10975
- type: "checkbox";
10976
- id: string;
10977
- label: string;
10978
- checked: boolean;
10979
- disabled?: boolean;
10980
- } | {
10981
- type: "progress";
10982
- id: string;
10983
- label?: string;
10984
- value: number;
10985
- detail?: string;
10986
- indeterminate?: boolean;
10987
- } | {
10988
- type: "metric";
10989
- id: string;
10990
- label: string;
10991
- value: string;
10992
- detail?: string;
10993
- trend?: string;
10994
- tone?: "neutral" | "info" | "success" | "warning" | "error";
10995
- } | {
10996
- type: "section";
10997
- id: string;
10998
- label: string;
10999
- detail?: string;
11000
- } | {
11001
- type: "separator";
11002
- id?: string;
11003
- }>;
11004
- dismissible?: boolean;
11005
- metadata?: {
11006
- [key: string]: unknown;
11007
- };
11008
- kind: "notification";
11009
- severity?: "info" | "success" | "warning" | "error";
11010
- durationMs?: number;
11011
- } | {
11012
- id: string;
11013
- title: string;
11014
- body?: string;
11015
- controls?: Array<{
11016
- type: "button";
11017
- id: string;
11018
- label: string;
11019
- action: string;
11020
- disabled?: boolean;
11021
- destructive?: boolean;
11022
- } | {
11023
- type: "link";
11024
- id: string;
11025
- label: string;
11026
- url: string;
11027
- disabled?: boolean;
11028
- } | {
11029
- type: "text-input";
11030
- id: string;
11031
- label?: string;
11032
- value?: string;
11033
- placeholder?: string;
11034
- secure?: boolean;
11035
- multiline?: boolean;
11036
- required?: boolean;
11037
- } | {
11038
- type: "select";
11039
- id: string;
11040
- label: string;
11041
- value?: string;
11042
- options: Array<{
11043
- id: string;
11044
- label: string;
11045
- disabled?: boolean;
11046
- }>;
11047
- } | {
11048
- type: "checkbox";
11049
- id: string;
11050
- label: string;
11051
- checked: boolean;
11052
- disabled?: boolean;
11053
- } | {
11054
- type: "progress";
11055
- id: string;
11056
- label?: string;
11057
- value: number;
11058
- detail?: string;
11059
- indeterminate?: boolean;
11060
- } | {
11061
- type: "metric";
11062
- id: string;
11063
- label: string;
11064
- value: string;
11065
- detail?: string;
11066
- trend?: string;
11067
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11068
- } | {
11069
- type: "section";
11070
- id: string;
11071
- label: string;
11072
- detail?: string;
11073
- } | {
11074
- type: "separator";
11075
- id?: string;
11076
- }>;
11077
- dismissible?: boolean;
11078
- metadata?: {
11079
- [key: string]: unknown;
11080
- };
11081
- kind: "menu";
11082
- items: Array<{
11083
- id: string;
11084
- label: string;
11085
- action?: string;
11086
- disabled?: boolean;
11087
- checked?: boolean;
11088
- }>;
11089
- }>;
11090
- };
11091
- export type NativeUiListResponse = NativeUiListResponses[keyof NativeUiListResponses];
11092
- export type PostNativeUiSurfacesData = {
11093
- body?: {
11094
- id: string;
11095
- title: string;
11096
- body?: string;
11097
- controls?: Array<{
11098
- type: "button";
11099
- id: string;
11100
- label: string;
11101
- action: string;
11102
- disabled?: boolean;
11103
- destructive?: boolean;
11104
- } | {
11105
- type: "link";
11106
- id: string;
11107
- label: string;
11108
- url: string;
11109
- disabled?: boolean;
11110
- } | {
11111
- type: "text-input";
11112
- id: string;
11113
- label?: string;
11114
- value?: string;
11115
- placeholder?: string;
11116
- secure?: boolean;
11117
- multiline?: boolean;
11118
- required?: boolean;
11119
- } | {
11120
- type: "select";
11121
- id: string;
11122
- label: string;
11123
- value?: string;
11124
- options: Array<{
11125
- id: string;
11126
- label: string;
11127
- disabled?: boolean;
11128
- }>;
11129
- } | {
11130
- type: "checkbox";
11131
- id: string;
11132
- label: string;
11133
- checked: boolean;
11134
- disabled?: boolean;
11135
- } | {
11136
- type: "progress";
11137
- id: string;
11138
- label?: string;
11139
- value: number;
11140
- detail?: string;
11141
- indeterminate?: boolean;
11142
- } | {
11143
- type: "metric";
11144
- id: string;
11145
- label: string;
11146
- value: string;
11147
- detail?: string;
11148
- trend?: string;
11149
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11150
- } | {
11151
- type: "section";
11152
- id: string;
11153
- label: string;
11154
- detail?: string;
11155
- } | {
11156
- type: "separator";
11157
- id?: string;
11158
- }>;
11159
- dismissible?: boolean;
11160
- metadata?: {
11161
- [key: string]: unknown;
11162
- };
11163
- kind: "dialog";
11164
- modal?: boolean;
11165
- width?: "small" | "medium" | "large";
11166
- layout?: "stack" | "dashboard";
11167
- } | {
11168
- id: string;
11169
- title: string;
11170
- body?: string;
11171
- controls?: Array<{
11172
- type: "button";
11173
- id: string;
11174
- label: string;
11175
- action: string;
11176
- disabled?: boolean;
11177
- destructive?: boolean;
11178
- } | {
11179
- type: "link";
11180
- id: string;
11181
- label: string;
11182
- url: string;
11183
- disabled?: boolean;
11184
- } | {
11185
- type: "text-input";
11186
- id: string;
11187
- label?: string;
11188
- value?: string;
11189
- placeholder?: string;
11190
- secure?: boolean;
11191
- multiline?: boolean;
11192
- required?: boolean;
11193
- } | {
11194
- type: "select";
11195
- id: string;
11196
- label: string;
11197
- value?: string;
11198
- options: Array<{
11199
- id: string;
11200
- label: string;
11201
- disabled?: boolean;
11202
- }>;
11203
- } | {
11204
- type: "checkbox";
11205
- id: string;
11206
- label: string;
11207
- checked: boolean;
11208
- disabled?: boolean;
11209
- } | {
11210
- type: "progress";
11211
- id: string;
11212
- label?: string;
11213
- value: number;
11214
- detail?: string;
11215
- indeterminate?: boolean;
11216
- } | {
11217
- type: "metric";
11218
- id: string;
11219
- label: string;
11220
- value: string;
11221
- detail?: string;
11222
- trend?: string;
11223
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11224
- } | {
11225
- type: "section";
11226
- id: string;
11227
- label: string;
11228
- detail?: string;
11229
- } | {
11230
- type: "separator";
11231
- id?: string;
11232
- }>;
11233
- dismissible?: boolean;
11234
- metadata?: {
11235
- [key: string]: unknown;
11236
- };
11237
- kind: "popover";
11238
- anchor: {
11239
- x: number;
11240
- y: number;
11241
- width: number;
11242
- height: number;
11243
- };
11244
- placement?: "top" | "right" | "bottom" | "left";
11245
- } | {
11246
- id: string;
11247
- title: string;
11248
- body?: string;
11249
- controls?: Array<{
11250
- type: "button";
11251
- id: string;
11252
- label: string;
11253
- action: string;
11254
- disabled?: boolean;
11255
- destructive?: boolean;
11256
- } | {
11257
- type: "link";
11258
- id: string;
11259
- label: string;
11260
- url: string;
11261
- disabled?: boolean;
11262
- } | {
11263
- type: "text-input";
11264
- id: string;
11265
- label?: string;
11266
- value?: string;
11267
- placeholder?: string;
11268
- secure?: boolean;
11269
- multiline?: boolean;
11270
- required?: boolean;
11271
- } | {
11272
- type: "select";
11273
- id: string;
11274
- label: string;
11275
- value?: string;
11276
- options: Array<{
11277
- id: string;
11278
- label: string;
11279
- disabled?: boolean;
11280
- }>;
11281
- } | {
11282
- type: "checkbox";
11283
- id: string;
11284
- label: string;
11285
- checked: boolean;
11286
- disabled?: boolean;
11287
- } | {
11288
- type: "progress";
11289
- id: string;
11290
- label?: string;
11291
- value: number;
11292
- detail?: string;
11293
- indeterminate?: boolean;
11294
- } | {
11295
- type: "metric";
11296
- id: string;
11297
- label: string;
11298
- value: string;
11299
- detail?: string;
11300
- trend?: string;
11301
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11302
- } | {
11303
- type: "section";
11304
- id: string;
11305
- label: string;
11306
- detail?: string;
11307
- } | {
11308
- type: "separator";
11309
- id?: string;
11310
- }>;
11311
- dismissible?: boolean;
11312
- metadata?: {
11313
- [key: string]: unknown;
11314
- };
11315
- kind: "notification";
11316
- severity?: "info" | "success" | "warning" | "error";
11317
- durationMs?: number;
11318
- } | {
11319
- id: string;
11320
- title: string;
11321
- body?: string;
11322
- controls?: Array<{
11323
- type: "button";
11324
- id: string;
11325
- label: string;
11326
- action: string;
11327
- disabled?: boolean;
11328
- destructive?: boolean;
11329
- } | {
11330
- type: "link";
11331
- id: string;
11332
- label: string;
11333
- url: string;
11334
- disabled?: boolean;
11335
- } | {
11336
- type: "text-input";
11337
- id: string;
11338
- label?: string;
11339
- value?: string;
11340
- placeholder?: string;
11341
- secure?: boolean;
11342
- multiline?: boolean;
11343
- required?: boolean;
11344
- } | {
11345
- type: "select";
11346
- id: string;
11347
- label: string;
11348
- value?: string;
11349
- options: Array<{
11350
- id: string;
11351
- label: string;
11352
- disabled?: boolean;
11353
- }>;
11354
- } | {
11355
- type: "checkbox";
11356
- id: string;
11357
- label: string;
11358
- checked: boolean;
11359
- disabled?: boolean;
11360
- } | {
11361
- type: "progress";
11362
- id: string;
11363
- label?: string;
11364
- value: number;
11365
- detail?: string;
11366
- indeterminate?: boolean;
11367
- } | {
11368
- type: "metric";
11369
- id: string;
11370
- label: string;
11371
- value: string;
11372
- detail?: string;
11373
- trend?: string;
11374
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11375
- } | {
11376
- type: "section";
11377
- id: string;
11378
- label: string;
11379
- detail?: string;
11380
- } | {
11381
- type: "separator";
11382
- id?: string;
11383
- }>;
11384
- dismissible?: boolean;
11385
- metadata?: {
11386
- [key: string]: unknown;
11387
- };
11388
- kind: "menu";
11389
- items: Array<{
11390
- id: string;
11391
- label: string;
11392
- action?: string;
11393
- disabled?: boolean;
11394
- checked?: boolean;
11395
- }>;
11396
- };
11397
- path?: never;
11398
- query?: {
11399
- directory?: string;
11400
- workspace?: string;
11401
- };
11402
- url: "/native-ui/surfaces";
11403
- };
11404
- export type PostNativeUiSurfacesResponses = {
11405
- 200: unknown;
11406
- };
11407
- export type DeleteNativeUiSurfacesIdData = {
11408
- body?: never;
11409
- path: {
11410
- id: string;
11411
- };
11412
- query?: {
11413
- directory?: string;
11414
- workspace?: string;
11415
- };
11416
- url: "/native-ui/surfaces/{id}";
11417
- };
11418
- export type DeleteNativeUiSurfacesIdResponses = {
11419
- 200: unknown;
11420
- };
11421
- export type PutNativeUiSurfacesIdData = {
11422
- body?: {
11423
- id: string;
11424
- title: string;
11425
- body?: string;
11426
- controls?: Array<{
11427
- type: "button";
11428
- id: string;
11429
- label: string;
11430
- action: string;
11431
- disabled?: boolean;
11432
- destructive?: boolean;
11433
- } | {
11434
- type: "link";
11435
- id: string;
11436
- label: string;
11437
- url: string;
11438
- disabled?: boolean;
11439
- } | {
11440
- type: "text-input";
11441
- id: string;
11442
- label?: string;
11443
- value?: string;
11444
- placeholder?: string;
11445
- secure?: boolean;
11446
- multiline?: boolean;
11447
- required?: boolean;
11448
- } | {
11449
- type: "select";
11450
- id: string;
11451
- label: string;
11452
- value?: string;
11453
- options: Array<{
11454
- id: string;
11455
- label: string;
11456
- disabled?: boolean;
11457
- }>;
11458
- } | {
11459
- type: "checkbox";
11460
- id: string;
11461
- label: string;
11462
- checked: boolean;
11463
- disabled?: boolean;
11464
- } | {
11465
- type: "progress";
11466
- id: string;
11467
- label?: string;
11468
- value: number;
11469
- detail?: string;
11470
- indeterminate?: boolean;
11471
- } | {
11472
- type: "metric";
11473
- id: string;
11474
- label: string;
11475
- value: string;
11476
- detail?: string;
11477
- trend?: string;
11478
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11479
- } | {
11480
- type: "section";
11481
- id: string;
11482
- label: string;
11483
- detail?: string;
11484
- } | {
11485
- type: "separator";
11486
- id?: string;
11487
- }>;
11488
- dismissible?: boolean;
11489
- metadata?: {
11490
- [key: string]: unknown;
11491
- };
11492
- kind: "dialog";
11493
- modal?: boolean;
11494
- width?: "small" | "medium" | "large";
11495
- layout?: "stack" | "dashboard";
11496
- } | {
11497
- id: string;
11498
- title: string;
11499
- body?: string;
11500
- controls?: Array<{
11501
- type: "button";
11502
- id: string;
11503
- label: string;
11504
- action: string;
11505
- disabled?: boolean;
11506
- destructive?: boolean;
11507
- } | {
11508
- type: "link";
11509
- id: string;
11510
- label: string;
11511
- url: string;
11512
- disabled?: boolean;
11513
- } | {
11514
- type: "text-input";
11515
- id: string;
11516
- label?: string;
11517
- value?: string;
11518
- placeholder?: string;
11519
- secure?: boolean;
11520
- multiline?: boolean;
11521
- required?: boolean;
11522
- } | {
11523
- type: "select";
11524
- id: string;
11525
- label: string;
11526
- value?: string;
11527
- options: Array<{
11528
- id: string;
11529
- label: string;
11530
- disabled?: boolean;
11531
- }>;
11532
- } | {
11533
- type: "checkbox";
11534
- id: string;
11535
- label: string;
11536
- checked: boolean;
11537
- disabled?: boolean;
11538
- } | {
11539
- type: "progress";
11540
- id: string;
11541
- label?: string;
11542
- value: number;
11543
- detail?: string;
11544
- indeterminate?: boolean;
11545
- } | {
11546
- type: "metric";
11547
- id: string;
11548
- label: string;
11549
- value: string;
11550
- detail?: string;
11551
- trend?: string;
11552
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11553
- } | {
11554
- type: "section";
11555
- id: string;
11556
- label: string;
11557
- detail?: string;
11558
- } | {
11559
- type: "separator";
11560
- id?: string;
11561
- }>;
11562
- dismissible?: boolean;
11563
- metadata?: {
11564
- [key: string]: unknown;
11565
- };
11566
- kind: "popover";
11567
- anchor: {
11568
- x: number;
11569
- y: number;
11570
- width: number;
11571
- height: number;
11572
- };
11573
- placement?: "top" | "right" | "bottom" | "left";
11574
- } | {
11575
- id: string;
11576
- title: string;
11577
- body?: string;
11578
- controls?: Array<{
11579
- type: "button";
11580
- id: string;
11581
- label: string;
11582
- action: string;
11583
- disabled?: boolean;
11584
- destructive?: boolean;
11585
- } | {
11586
- type: "link";
11587
- id: string;
11588
- label: string;
11589
- url: string;
11590
- disabled?: boolean;
11591
- } | {
11592
- type: "text-input";
11593
- id: string;
11594
- label?: string;
11595
- value?: string;
11596
- placeholder?: string;
11597
- secure?: boolean;
11598
- multiline?: boolean;
11599
- required?: boolean;
11600
- } | {
11601
- type: "select";
11602
- id: string;
11603
- label: string;
11604
- value?: string;
11605
- options: Array<{
11606
- id: string;
11607
- label: string;
11608
- disabled?: boolean;
11609
- }>;
11610
- } | {
11611
- type: "checkbox";
11612
- id: string;
11613
- label: string;
11614
- checked: boolean;
11615
- disabled?: boolean;
11616
- } | {
11617
- type: "progress";
11618
- id: string;
11619
- label?: string;
11620
- value: number;
11621
- detail?: string;
11622
- indeterminate?: boolean;
11623
- } | {
11624
- type: "metric";
11625
- id: string;
11626
- label: string;
11627
- value: string;
11628
- detail?: string;
11629
- trend?: string;
11630
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11631
- } | {
11632
- type: "section";
11633
- id: string;
11634
- label: string;
11635
- detail?: string;
11636
- } | {
11637
- type: "separator";
11638
- id?: string;
11639
- }>;
11640
- dismissible?: boolean;
11641
- metadata?: {
11642
- [key: string]: unknown;
11643
- };
11644
- kind: "notification";
11645
- severity?: "info" | "success" | "warning" | "error";
11646
- durationMs?: number;
11647
- } | {
11648
- id: string;
11649
- title: string;
11650
- body?: string;
11651
- controls?: Array<{
11652
- type: "button";
11653
- id: string;
11654
- label: string;
11655
- action: string;
11656
- disabled?: boolean;
11657
- destructive?: boolean;
11658
- } | {
11659
- type: "link";
11660
- id: string;
11661
- label: string;
11662
- url: string;
11663
- disabled?: boolean;
11664
- } | {
11665
- type: "text-input";
11666
- id: string;
11667
- label?: string;
11668
- value?: string;
11669
- placeholder?: string;
11670
- secure?: boolean;
11671
- multiline?: boolean;
11672
- required?: boolean;
11673
- } | {
11674
- type: "select";
11675
- id: string;
11676
- label: string;
11677
- value?: string;
11678
- options: Array<{
11679
- id: string;
11680
- label: string;
11681
- disabled?: boolean;
11682
- }>;
11683
- } | {
11684
- type: "checkbox";
11685
- id: string;
11686
- label: string;
11687
- checked: boolean;
11688
- disabled?: boolean;
11689
- } | {
11690
- type: "progress";
11691
- id: string;
11692
- label?: string;
11693
- value: number;
11694
- detail?: string;
11695
- indeterminate?: boolean;
11696
- } | {
11697
- type: "metric";
11698
- id: string;
11699
- label: string;
11700
- value: string;
11701
- detail?: string;
11702
- trend?: string;
11703
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11704
- } | {
11705
- type: "section";
11706
- id: string;
11707
- label: string;
11708
- detail?: string;
11709
- } | {
11710
- type: "separator";
11711
- id?: string;
11712
- }>;
11713
- dismissible?: boolean;
11714
- metadata?: {
11715
- [key: string]: unknown;
11716
- };
11717
- kind: "menu";
11718
- items: Array<{
11719
- id: string;
11720
- label: string;
11721
- action?: string;
11722
- disabled?: boolean;
11723
- checked?: boolean;
11724
- }>;
11725
- };
11726
- path: {
11727
- id: string;
11728
- };
11729
- query?: {
11730
- directory?: string;
11731
- workspace?: string;
11732
- };
11733
- url: "/native-ui/surfaces/{id}";
11734
- };
11735
- export type PutNativeUiSurfacesIdResponses = {
11736
- 200: unknown;
11737
- };
11738
- export type PostNativeUiEventsData = {
11739
- body?: {
11740
- type: "surface-opened";
11741
- surface: {
11742
- id: string;
11743
- title: string;
11744
- body?: string;
11745
- controls?: Array<{
11746
- type: "button";
11747
- id: string;
11748
- label: string;
11749
- action: string;
11750
- disabled?: boolean;
11751
- destructive?: boolean;
11752
- } | {
11753
- type: "link";
11754
- id: string;
11755
- label: string;
11756
- url: string;
11757
- disabled?: boolean;
11758
- } | {
11759
- type: "text-input";
11760
- id: string;
11761
- label?: string;
11762
- value?: string;
11763
- placeholder?: string;
11764
- secure?: boolean;
11765
- multiline?: boolean;
11766
- required?: boolean;
11767
- } | {
11768
- type: "select";
11769
- id: string;
11770
- label: string;
11771
- value?: string;
11772
- options: Array<{
11773
- id: string;
11774
- label: string;
11775
- disabled?: boolean;
11776
- }>;
11777
- } | {
11778
- type: "checkbox";
11779
- id: string;
11780
- label: string;
11781
- checked: boolean;
11782
- disabled?: boolean;
11783
- } | {
11784
- type: "progress";
11785
- id: string;
11786
- label?: string;
11787
- value: number;
11788
- detail?: string;
11789
- indeterminate?: boolean;
11790
- } | {
11791
- type: "metric";
11792
- id: string;
11793
- label: string;
11794
- value: string;
11795
- detail?: string;
11796
- trend?: string;
11797
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11798
- } | {
11799
- type: "section";
11800
- id: string;
11801
- label: string;
11802
- detail?: string;
11803
- } | {
11804
- type: "separator";
11805
- id?: string;
11806
- }>;
11807
- dismissible?: boolean;
11808
- metadata?: {
11809
- [key: string]: unknown;
11810
- };
11811
- kind: "dialog";
11812
- modal?: boolean;
11813
- width?: "small" | "medium" | "large";
11814
- layout?: "stack" | "dashboard";
11815
- } | {
11816
- id: string;
11817
- title: string;
11818
- body?: string;
11819
- controls?: Array<{
11820
- type: "button";
11821
- id: string;
11822
- label: string;
11823
- action: string;
11824
- disabled?: boolean;
11825
- destructive?: boolean;
11826
- } | {
11827
- type: "link";
11828
- id: string;
11829
- label: string;
11830
- url: string;
11831
- disabled?: boolean;
11832
- } | {
11833
- type: "text-input";
11834
- id: string;
11835
- label?: string;
11836
- value?: string;
11837
- placeholder?: string;
11838
- secure?: boolean;
11839
- multiline?: boolean;
11840
- required?: boolean;
11841
- } | {
11842
- type: "select";
11843
- id: string;
11844
- label: string;
11845
- value?: string;
11846
- options: Array<{
11847
- id: string;
11848
- label: string;
11849
- disabled?: boolean;
11850
- }>;
11851
- } | {
11852
- type: "checkbox";
11853
- id: string;
11854
- label: string;
11855
- checked: boolean;
11856
- disabled?: boolean;
11857
- } | {
11858
- type: "progress";
11859
- id: string;
11860
- label?: string;
11861
- value: number;
11862
- detail?: string;
11863
- indeterminate?: boolean;
11864
- } | {
11865
- type: "metric";
11866
- id: string;
11867
- label: string;
11868
- value: string;
11869
- detail?: string;
11870
- trend?: string;
11871
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11872
- } | {
11873
- type: "section";
11874
- id: string;
11875
- label: string;
11876
- detail?: string;
11877
- } | {
11878
- type: "separator";
11879
- id?: string;
11880
- }>;
11881
- dismissible?: boolean;
11882
- metadata?: {
11883
- [key: string]: unknown;
11884
- };
11885
- kind: "popover";
11886
- anchor: {
11887
- x: number;
11888
- y: number;
11889
- width: number;
11890
- height: number;
11891
- };
11892
- placement?: "top" | "right" | "bottom" | "left";
11893
- } | {
11894
- id: string;
11895
- title: string;
11896
- body?: string;
11897
- controls?: Array<{
11898
- type: "button";
11899
- id: string;
11900
- label: string;
11901
- action: string;
11902
- disabled?: boolean;
11903
- destructive?: boolean;
11904
- } | {
11905
- type: "link";
11906
- id: string;
11907
- label: string;
11908
- url: string;
11909
- disabled?: boolean;
11910
- } | {
11911
- type: "text-input";
11912
- id: string;
11913
- label?: string;
11914
- value?: string;
11915
- placeholder?: string;
11916
- secure?: boolean;
11917
- multiline?: boolean;
11918
- required?: boolean;
11919
- } | {
11920
- type: "select";
11921
- id: string;
11922
- label: string;
11923
- value?: string;
11924
- options: Array<{
11925
- id: string;
11926
- label: string;
11927
- disabled?: boolean;
11928
- }>;
11929
- } | {
11930
- type: "checkbox";
11931
- id: string;
11932
- label: string;
11933
- checked: boolean;
11934
- disabled?: boolean;
11935
- } | {
11936
- type: "progress";
11937
- id: string;
11938
- label?: string;
11939
- value: number;
11940
- detail?: string;
11941
- indeterminate?: boolean;
11942
- } | {
11943
- type: "metric";
11944
- id: string;
11945
- label: string;
11946
- value: string;
11947
- detail?: string;
11948
- trend?: string;
11949
- tone?: "neutral" | "info" | "success" | "warning" | "error";
11950
- } | {
11951
- type: "section";
11952
- id: string;
11953
- label: string;
11954
- detail?: string;
11955
- } | {
11956
- type: "separator";
11957
- id?: string;
11958
- }>;
11959
- dismissible?: boolean;
11960
- metadata?: {
11961
- [key: string]: unknown;
11962
- };
11963
- kind: "notification";
11964
- severity?: "info" | "success" | "warning" | "error";
11965
- durationMs?: number;
11966
- } | {
11967
- id: string;
11968
- title: string;
11969
- body?: string;
11970
- controls?: Array<{
11971
- type: "button";
11972
- id: string;
11973
- label: string;
11974
- action: string;
11975
- disabled?: boolean;
11976
- destructive?: boolean;
11977
- } | {
11978
- type: "link";
11979
- id: string;
11980
- label: string;
11981
- url: string;
11982
- disabled?: boolean;
11983
- } | {
11984
- type: "text-input";
11985
- id: string;
11986
- label?: string;
11987
- value?: string;
11988
- placeholder?: string;
11989
- secure?: boolean;
11990
- multiline?: boolean;
11991
- required?: boolean;
11992
- } | {
11993
- type: "select";
11994
- id: string;
11995
- label: string;
11996
- value?: string;
11997
- options: Array<{
11998
- id: string;
11999
- label: string;
12000
- disabled?: boolean;
12001
- }>;
12002
- } | {
12003
- type: "checkbox";
12004
- id: string;
12005
- label: string;
12006
- checked: boolean;
12007
- disabled?: boolean;
12008
- } | {
12009
- type: "progress";
12010
- id: string;
12011
- label?: string;
12012
- value: number;
12013
- detail?: string;
12014
- indeterminate?: boolean;
12015
- } | {
12016
- type: "metric";
12017
- id: string;
12018
- label: string;
12019
- value: string;
12020
- detail?: string;
12021
- trend?: string;
12022
- tone?: "neutral" | "info" | "success" | "warning" | "error";
12023
- } | {
12024
- type: "section";
12025
- id: string;
12026
- label: string;
12027
- detail?: string;
12028
- } | {
12029
- type: "separator";
12030
- id?: string;
12031
- }>;
12032
- dismissible?: boolean;
12033
- metadata?: {
12034
- [key: string]: unknown;
12035
- };
12036
- kind: "menu";
12037
- items: Array<{
12038
- id: string;
12039
- label: string;
12040
- action?: string;
12041
- disabled?: boolean;
12042
- checked?: boolean;
12043
- }>;
12044
- };
12045
- } | {
12046
- type: "surface-updated";
12047
- surface: {
12048
- id: string;
12049
- title: string;
12050
- body?: string;
12051
- controls?: Array<{
12052
- type: "button";
12053
- id: string;
12054
- label: string;
12055
- action: string;
12056
- disabled?: boolean;
12057
- destructive?: boolean;
12058
- } | {
12059
- type: "link";
12060
- id: string;
12061
- label: string;
12062
- url: string;
12063
- disabled?: boolean;
12064
- } | {
12065
- type: "text-input";
12066
- id: string;
12067
- label?: string;
12068
- value?: string;
12069
- placeholder?: string;
12070
- secure?: boolean;
12071
- multiline?: boolean;
12072
- required?: boolean;
12073
- } | {
12074
- type: "select";
12075
- id: string;
12076
- label: string;
12077
- value?: string;
12078
- options: Array<{
12079
- id: string;
12080
- label: string;
12081
- disabled?: boolean;
12082
- }>;
12083
- } | {
12084
- type: "checkbox";
12085
- id: string;
12086
- label: string;
12087
- checked: boolean;
12088
- disabled?: boolean;
12089
- } | {
12090
- type: "progress";
12091
- id: string;
12092
- label?: string;
12093
- value: number;
12094
- detail?: string;
12095
- indeterminate?: boolean;
12096
- } | {
12097
- type: "metric";
12098
- id: string;
12099
- label: string;
12100
- value: string;
12101
- detail?: string;
12102
- trend?: string;
12103
- tone?: "neutral" | "info" | "success" | "warning" | "error";
12104
- } | {
12105
- type: "section";
12106
- id: string;
12107
- label: string;
12108
- detail?: string;
12109
- } | {
12110
- type: "separator";
12111
- id?: string;
12112
- }>;
12113
- dismissible?: boolean;
12114
- metadata?: {
12115
- [key: string]: unknown;
12116
- };
12117
- kind: "dialog";
12118
- modal?: boolean;
12119
- width?: "small" | "medium" | "large";
12120
- layout?: "stack" | "dashboard";
12121
- } | {
12122
- id: string;
12123
- title: string;
12124
- body?: string;
12125
- controls?: Array<{
12126
- type: "button";
12127
- id: string;
12128
- label: string;
12129
- action: string;
12130
- disabled?: boolean;
12131
- destructive?: boolean;
12132
- } | {
12133
- type: "link";
12134
- id: string;
12135
- label: string;
12136
- url: string;
12137
- disabled?: boolean;
12138
- } | {
12139
- type: "text-input";
12140
- id: string;
12141
- label?: string;
12142
- value?: string;
12143
- placeholder?: string;
12144
- secure?: boolean;
12145
- multiline?: boolean;
12146
- required?: boolean;
12147
- } | {
12148
- type: "select";
12149
- id: string;
12150
- label: string;
12151
- value?: string;
12152
- options: Array<{
12153
- id: string;
12154
- label: string;
12155
- disabled?: boolean;
12156
- }>;
12157
- } | {
12158
- type: "checkbox";
12159
- id: string;
12160
- label: string;
12161
- checked: boolean;
12162
- disabled?: boolean;
12163
- } | {
12164
- type: "progress";
12165
- id: string;
12166
- label?: string;
12167
- value: number;
12168
- detail?: string;
12169
- indeterminate?: boolean;
12170
- } | {
12171
- type: "metric";
12172
- id: string;
12173
- label: string;
12174
- value: string;
12175
- detail?: string;
12176
- trend?: string;
12177
- tone?: "neutral" | "info" | "success" | "warning" | "error";
12178
- } | {
12179
- type: "section";
12180
- id: string;
12181
- label: string;
12182
- detail?: string;
12183
- } | {
12184
- type: "separator";
12185
- id?: string;
12186
- }>;
12187
- dismissible?: boolean;
12188
- metadata?: {
12189
- [key: string]: unknown;
12190
- };
12191
- kind: "popover";
12192
- anchor: {
12193
- x: number;
12194
- y: number;
12195
- width: number;
12196
- height: number;
12197
- };
12198
- placement?: "top" | "right" | "bottom" | "left";
12199
- } | {
12200
- id: string;
12201
- title: string;
12202
- body?: string;
12203
- controls?: Array<{
12204
- type: "button";
12205
- id: string;
12206
- label: string;
12207
- action: string;
12208
- disabled?: boolean;
12209
- destructive?: boolean;
12210
- } | {
12211
- type: "link";
12212
- id: string;
12213
- label: string;
12214
- url: string;
12215
- disabled?: boolean;
12216
- } | {
12217
- type: "text-input";
12218
- id: string;
12219
- label?: string;
12220
- value?: string;
12221
- placeholder?: string;
12222
- secure?: boolean;
12223
- multiline?: boolean;
12224
- required?: boolean;
12225
- } | {
12226
- type: "select";
12227
- id: string;
12228
- label: string;
12229
- value?: string;
12230
- options: Array<{
12231
- id: string;
12232
- label: string;
12233
- disabled?: boolean;
12234
- }>;
12235
- } | {
12236
- type: "checkbox";
12237
- id: string;
12238
- label: string;
12239
- checked: boolean;
12240
- disabled?: boolean;
12241
- } | {
12242
- type: "progress";
12243
- id: string;
12244
- label?: string;
12245
- value: number;
12246
- detail?: string;
12247
- indeterminate?: boolean;
12248
- } | {
12249
- type: "metric";
12250
- id: string;
12251
- label: string;
12252
- value: string;
12253
- detail?: string;
12254
- trend?: string;
12255
- tone?: "neutral" | "info" | "success" | "warning" | "error";
12256
- } | {
12257
- type: "section";
12258
- id: string;
12259
- label: string;
12260
- detail?: string;
12261
- } | {
12262
- type: "separator";
12263
- id?: string;
12264
- }>;
12265
- dismissible?: boolean;
12266
- metadata?: {
12267
- [key: string]: unknown;
12268
- };
12269
- kind: "notification";
12270
- severity?: "info" | "success" | "warning" | "error";
12271
- durationMs?: number;
12272
- } | {
12273
- id: string;
12274
- title: string;
12275
- body?: string;
12276
- controls?: Array<{
12277
- type: "button";
12278
- id: string;
12279
- label: string;
12280
- action: string;
12281
- disabled?: boolean;
12282
- destructive?: boolean;
12283
- } | {
12284
- type: "link";
12285
- id: string;
12286
- label: string;
12287
- url: string;
12288
- disabled?: boolean;
12289
- } | {
12290
- type: "text-input";
12291
- id: string;
12292
- label?: string;
12293
- value?: string;
12294
- placeholder?: string;
12295
- secure?: boolean;
12296
- multiline?: boolean;
12297
- required?: boolean;
12298
- } | {
12299
- type: "select";
12300
- id: string;
12301
- label: string;
12302
- value?: string;
12303
- options: Array<{
12304
- id: string;
12305
- label: string;
12306
- disabled?: boolean;
12307
- }>;
12308
- } | {
12309
- type: "checkbox";
12310
- id: string;
12311
- label: string;
12312
- checked: boolean;
12313
- disabled?: boolean;
12314
- } | {
12315
- type: "progress";
12316
- id: string;
12317
- label?: string;
12318
- value: number;
12319
- detail?: string;
12320
- indeterminate?: boolean;
12321
- } | {
12322
- type: "metric";
12323
- id: string;
12324
- label: string;
12325
- value: string;
12326
- detail?: string;
12327
- trend?: string;
12328
- tone?: "neutral" | "info" | "success" | "warning" | "error";
12329
- } | {
12330
- type: "section";
12331
- id: string;
12332
- label: string;
12333
- detail?: string;
12334
- } | {
12335
- type: "separator";
12336
- id?: string;
12337
- }>;
12338
- dismissible?: boolean;
12339
- metadata?: {
12340
- [key: string]: unknown;
12341
- };
12342
- kind: "menu";
12343
- items: Array<{
12344
- id: string;
12345
- label: string;
12346
- action?: string;
12347
- disabled?: boolean;
12348
- checked?: boolean;
12349
- }>;
12350
- };
12351
- } | {
12352
- type: "surface-closed";
12353
- surfaceId: string;
12354
- reason: "dismissed" | "action" | "replaced" | "system";
12355
- } | {
12356
- type: "control-activated";
12357
- surfaceId: string;
12358
- controlId: string;
12359
- action: {
12360
- type: "dismiss-surface";
12361
- surfaceId: string;
12362
- } | {
12363
- type: "invoke";
12364
- action: string;
12365
- payload?: {
12366
- [key: string]: unknown;
12367
- };
12368
- } | {
12369
- type: "open-url";
12370
- url: string;
12371
- } | {
12372
- type: "update-control";
12373
- surfaceId: string;
12374
- controlId: string;
12375
- value: unknown;
12376
- };
12377
- } | {
12378
- type: "control-changed";
12379
- surfaceId: string;
12380
- controlId: string;
12381
- value: unknown;
12382
- };
12383
- path?: never;
12384
- query?: {
12385
- directory?: string;
12386
- workspace?: string;
12387
- };
12388
- url: "/native-ui/events";
12389
- };
12390
- export type PostNativeUiEventsResponses = {
12391
- 200: unknown;
12392
- };
12393
10751
  export type InstanceDisposeData = {
12394
10752
  body?: never;
12395
10753
  path?: never;