@nextclaw/server 0.19.0 → 0.20.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/index.d.ts CHANGED
@@ -867,6 +867,32 @@ declare class ServiceAppsRoutesController {
867
867
  logsDirectory: string;
868
868
  } | undefined;
869
869
  isolation?: AppRuntimeIsolation | undefined;
870
+ runtimeProfile?: AppRuntimeProfile | undefined;
871
+ permissions?: {
872
+ documentAccess?: {
873
+ id: string;
874
+ mode: AppDocumentAccessMode;
875
+ description?: string | undefined;
876
+ }[] | undefined;
877
+ allowedDomains?: string[] | undefined;
878
+ storage?: boolean | {
879
+ namespace?: string | undefined;
880
+ } | undefined;
881
+ capabilities?: {
882
+ hostBridge?: boolean | undefined;
883
+ nativeProcess?: boolean | undefined;
884
+ } | undefined;
885
+ } | undefined;
886
+ componentPath?: string | undefined;
887
+ providerIds?: string[] | undefined;
888
+ lifecycle?: {
889
+ mode: "action";
890
+ } | {
891
+ mode: "resident";
892
+ eventIntervalMs: number;
893
+ } | {
894
+ mode: "provider";
895
+ } | undefined;
870
896
  }[];
871
897
  diagnostics: {
872
898
  appId: string;
@@ -876,6 +902,15 @@ declare class ServiceAppsRoutesController {
876
902
  };
877
903
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
878
904
  readonly getServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
905
+ ok: boolean;
906
+ error: {
907
+ code: string;
908
+ message: string;
909
+ details: {
910
+ [x: string]: _$hono_utils_types0.JSONValue;
911
+ } | undefined;
912
+ };
913
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
879
914
  ok: boolean;
880
915
  data: {
881
916
  id: string;
@@ -912,17 +947,34 @@ declare class ServiceAppsRoutesController {
912
947
  logsDirectory: string;
913
948
  } | undefined;
914
949
  isolation?: AppRuntimeIsolation | undefined;
915
- };
916
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
917
- ok: boolean;
918
- error: {
919
- code: string;
920
- message: string;
921
- details: {
922
- [x: string]: _$hono_utils_types0.JSONValue;
950
+ runtimeProfile?: AppRuntimeProfile | undefined;
951
+ permissions?: {
952
+ documentAccess?: {
953
+ id: string;
954
+ mode: AppDocumentAccessMode;
955
+ description?: string | undefined;
956
+ }[] | undefined;
957
+ allowedDomains?: string[] | undefined;
958
+ storage?: boolean | {
959
+ namespace?: string | undefined;
960
+ } | undefined;
961
+ capabilities?: {
962
+ hostBridge?: boolean | undefined;
963
+ nativeProcess?: boolean | undefined;
964
+ } | undefined;
965
+ } | undefined;
966
+ componentPath?: string | undefined;
967
+ providerIds?: string[] | undefined;
968
+ lifecycle?: {
969
+ mode: "action";
970
+ } | {
971
+ mode: "resident";
972
+ eventIntervalMs: number;
973
+ } | {
974
+ mode: "provider";
923
975
  } | undefined;
924
976
  };
925
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
977
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
926
978
  ok: boolean;
927
979
  error: {
928
980
  code: string;
@@ -931,7 +983,7 @@ declare class ServiceAppsRoutesController {
931
983
  [x: string]: _$hono_utils_types0.JSONValue;
932
984
  } | undefined;
933
985
  };
934
- }, 500, "json">)>;
986
+ }, 400 | 401 | 403 | 404 | 502, "json">)>;
935
987
  readonly listServiceActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
936
988
  ok: boolean;
937
989
  error: {
@@ -941,7 +993,7 @@ declare class ServiceAppsRoutesController {
941
993
  [x: string]: _$hono_utils_types0.JSONValue;
942
994
  } | undefined;
943
995
  };
944
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
996
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
945
997
  ok: boolean;
946
998
  error: {
947
999
  code: string;
@@ -950,7 +1002,7 @@ declare class ServiceAppsRoutesController {
950
1002
  [x: string]: _$hono_utils_types0.JSONValue;
951
1003
  } | undefined;
952
1004
  };
953
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1005
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
954
1006
  ok: boolean;
955
1007
  data: {
956
1008
  actions: {
@@ -977,7 +1029,7 @@ declare class ServiceAppsRoutesController {
977
1029
  [x: string]: _$hono_utils_types0.JSONValue;
978
1030
  } | undefined;
979
1031
  };
980
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1032
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
981
1033
  ok: boolean;
982
1034
  error: {
983
1035
  code: string;
@@ -986,7 +1038,7 @@ declare class ServiceAppsRoutesController {
986
1038
  [x: string]: _$hono_utils_types0.JSONValue;
987
1039
  } | undefined;
988
1040
  };
989
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1041
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
990
1042
  ok: boolean;
991
1043
  data: {
992
1044
  actions: {
@@ -1013,7 +1065,7 @@ declare class ServiceAppsRoutesController {
1013
1065
  [x: string]: _$hono_utils_types0.JSONValue;
1014
1066
  } | undefined;
1015
1067
  };
1016
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1068
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1017
1069
  ok: boolean;
1018
1070
  error: {
1019
1071
  code: string;
@@ -1022,7 +1074,7 @@ declare class ServiceAppsRoutesController {
1022
1074
  [x: string]: _$hono_utils_types0.JSONValue;
1023
1075
  } | undefined;
1024
1076
  };
1025
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1077
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1026
1078
  ok: boolean;
1027
1079
  data: {
1028
1080
  actionId: string;
@@ -1038,7 +1090,7 @@ declare class ServiceAppsRoutesController {
1038
1090
  [x: string]: _$hono_utils_types0.JSONValue;
1039
1091
  } | undefined;
1040
1092
  };
1041
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1093
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1042
1094
  ok: boolean;
1043
1095
  error: {
1044
1096
  code: string;
@@ -1047,12 +1099,15 @@ declare class ServiceAppsRoutesController {
1047
1099
  [x: string]: _$hono_utils_types0.JSONValue;
1048
1100
  } | undefined;
1049
1101
  };
1050
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1102
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1051
1103
  ok: boolean;
1052
1104
  data: {
1053
1105
  caller: {
1054
1106
  surface: "panel-app";
1055
1107
  appId: string;
1108
+ } | {
1109
+ surface: "agent";
1110
+ agentId: string;
1056
1111
  };
1057
1112
  actionId: string;
1058
1113
  risk: _$_nextclaw_kernel0.ServiceActionRisk;
@@ -1068,7 +1123,33 @@ declare class ServiceAppsRoutesController {
1068
1123
  [x: string]: _$hono_utils_types0.JSONValue;
1069
1124
  } | undefined;
1070
1125
  };
1126
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1127
+ ok: boolean;
1128
+ error: {
1129
+ code: string;
1130
+ message: string;
1131
+ details: {
1132
+ [x: string]: _$hono_utils_types0.JSONValue;
1133
+ } | undefined;
1134
+ };
1071
1135
  }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1136
+ ok: boolean;
1137
+ data: {
1138
+ grants: {
1139
+ caller: {
1140
+ surface: "panel-app";
1141
+ appId: string;
1142
+ } | {
1143
+ surface: "agent";
1144
+ agentId: string;
1145
+ };
1146
+ actionId: string;
1147
+ risk: _$_nextclaw_kernel0.ServiceActionRisk;
1148
+ grantedAt: string;
1149
+ }[];
1150
+ };
1151
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1152
+ readonly grantAgentServiceActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1072
1153
  ok: boolean;
1073
1154
  error: {
1074
1155
  code: string;
@@ -1078,12 +1159,24 @@ declare class ServiceAppsRoutesController {
1078
1159
  } | undefined;
1079
1160
  };
1080
1161
  }, 500, "json">) | (Response & _$hono.TypedResponse<{
1162
+ ok: boolean;
1163
+ error: {
1164
+ code: string;
1165
+ message: string;
1166
+ details: {
1167
+ [x: string]: _$hono_utils_types0.JSONValue;
1168
+ } | undefined;
1169
+ };
1170
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1081
1171
  ok: boolean;
1082
1172
  data: {
1083
1173
  grants: {
1084
1174
  caller: {
1085
1175
  surface: "panel-app";
1086
1176
  appId: string;
1177
+ } | {
1178
+ surface: "agent";
1179
+ agentId: string;
1087
1180
  };
1088
1181
  actionId: string;
1089
1182
  risk: _$_nextclaw_kernel0.ServiceActionRisk;
@@ -1098,6 +1191,9 @@ declare class ServiceAppsRoutesController {
1098
1191
  caller: {
1099
1192
  surface: "panel-app";
1100
1193
  appId: string;
1194
+ } | {
1195
+ surface: "agent";
1196
+ agentId: string;
1101
1197
  };
1102
1198
  actionId: string;
1103
1199
  risk: _$_nextclaw_kernel0.ServiceActionRisk;
@@ -1114,7 +1210,7 @@ declare class ServiceAppsRoutesController {
1114
1210
  [x: string]: _$hono_utils_types0.JSONValue;
1115
1211
  } | undefined;
1116
1212
  };
1117
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1213
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1118
1214
  ok: boolean;
1119
1215
  error: {
1120
1216
  code: string;
@@ -1123,7 +1219,7 @@ declare class ServiceAppsRoutesController {
1123
1219
  [x: string]: _$hono_utils_types0.JSONValue;
1124
1220
  } | undefined;
1125
1221
  };
1126
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1222
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1127
1223
  ok: boolean;
1128
1224
  data: {
1129
1225
  revoked: boolean;
@@ -1138,7 +1234,7 @@ declare class ServiceAppsRoutesController {
1138
1234
  [x: string]: _$hono_utils_types0.JSONValue;
1139
1235
  } | undefined;
1140
1236
  };
1141
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1237
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1142
1238
  ok: boolean;
1143
1239
  error: {
1144
1240
  code: string;
@@ -1147,13 +1243,22 @@ declare class ServiceAppsRoutesController {
1147
1243
  [x: string]: _$hono_utils_types0.JSONValue;
1148
1244
  } | undefined;
1149
1245
  };
1150
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1246
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1151
1247
  ok: boolean;
1152
1248
  data: {
1153
1249
  revoked: boolean;
1154
1250
  };
1155
1251
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1156
1252
  readonly restartServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1253
+ ok: boolean;
1254
+ error: {
1255
+ code: string;
1256
+ message: string;
1257
+ details: {
1258
+ [x: string]: _$hono_utils_types0.JSONValue;
1259
+ } | undefined;
1260
+ };
1261
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1157
1262
  ok: boolean;
1158
1263
  data: {
1159
1264
  id: string;
@@ -1190,17 +1295,34 @@ declare class ServiceAppsRoutesController {
1190
1295
  logsDirectory: string;
1191
1296
  } | undefined;
1192
1297
  isolation?: AppRuntimeIsolation | undefined;
1193
- };
1194
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
1195
- ok: boolean;
1196
- error: {
1197
- code: string;
1198
- message: string;
1199
- details: {
1200
- [x: string]: _$hono_utils_types0.JSONValue;
1298
+ runtimeProfile?: AppRuntimeProfile | undefined;
1299
+ permissions?: {
1300
+ documentAccess?: {
1301
+ id: string;
1302
+ mode: AppDocumentAccessMode;
1303
+ description?: string | undefined;
1304
+ }[] | undefined;
1305
+ allowedDomains?: string[] | undefined;
1306
+ storage?: boolean | {
1307
+ namespace?: string | undefined;
1308
+ } | undefined;
1309
+ capabilities?: {
1310
+ hostBridge?: boolean | undefined;
1311
+ nativeProcess?: boolean | undefined;
1312
+ } | undefined;
1313
+ } | undefined;
1314
+ componentPath?: string | undefined;
1315
+ providerIds?: string[] | undefined;
1316
+ lifecycle?: {
1317
+ mode: "action";
1318
+ } | {
1319
+ mode: "resident";
1320
+ eventIntervalMs: number;
1321
+ } | {
1322
+ mode: "provider";
1201
1323
  } | undefined;
1202
1324
  };
1203
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1325
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
1204
1326
  ok: boolean;
1205
1327
  error: {
1206
1328
  code: string;
@@ -1209,7 +1331,7 @@ declare class ServiceAppsRoutesController {
1209
1331
  [x: string]: _$hono_utils_types0.JSONValue;
1210
1332
  } | undefined;
1211
1333
  };
1212
- }, 500, "json">)>;
1334
+ }, 400 | 401 | 403 | 404 | 502, "json">)>;
1213
1335
  readonly deleteServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1214
1336
  ok: boolean;
1215
1337
  error: {
@@ -1219,7 +1341,7 @@ declare class ServiceAppsRoutesController {
1219
1341
  [x: string]: _$hono_utils_types0.JSONValue;
1220
1342
  } | undefined;
1221
1343
  };
1222
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1344
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1223
1345
  ok: boolean;
1224
1346
  error: {
1225
1347
  code: string;
@@ -1228,7 +1350,7 @@ declare class ServiceAppsRoutesController {
1228
1350
  [x: string]: _$hono_utils_types0.JSONValue;
1229
1351
  } | undefined;
1230
1352
  };
1231
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1353
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1232
1354
  ok: boolean;
1233
1355
  data: {
1234
1356
  deleted: true;
@@ -2378,15 +2500,6 @@ declare class RuntimeControlRoutesController {
2378
2500
  private readonly host;
2379
2501
  constructor(host: UiRuntimeControlHost);
2380
2502
  readonly getControl: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2381
- ok: boolean;
2382
- error: {
2383
- code: string;
2384
- message: string;
2385
- details: {
2386
- [x: string]: _$hono_utils_types0.JSONValue;
2387
- } | undefined;
2388
- };
2389
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
2390
2503
  ok: boolean;
2391
2504
  data: {
2392
2505
  environment: RuntimeControlEnvironment;
@@ -2426,8 +2539,7 @@ declare class RuntimeControlRoutesController {
2426
2539
  managementHint?: string | undefined;
2427
2540
  message?: string | undefined;
2428
2541
  };
2429
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
2430
- readonly restartService: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2542
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
2431
2543
  ok: boolean;
2432
2544
  error: {
2433
2545
  code: string;
@@ -2436,7 +2548,8 @@ declare class RuntimeControlRoutesController {
2436
2548
  [x: string]: _$hono_utils_types0.JSONValue;
2437
2549
  } | undefined;
2438
2550
  };
2439
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
2551
+ }, 500, "json">)>;
2552
+ readonly restartService: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2440
2553
  ok: boolean;
2441
2554
  data: {
2442
2555
  accepted: boolean;
@@ -2444,8 +2557,7 @@ declare class RuntimeControlRoutesController {
2444
2557
  lifecycle: RuntimeLifecycleState;
2445
2558
  message: string;
2446
2559
  };
2447
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
2448
- readonly startService: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2560
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
2449
2561
  ok: boolean;
2450
2562
  error: {
2451
2563
  code: string;
@@ -2454,7 +2566,8 @@ declare class RuntimeControlRoutesController {
2454
2566
  [x: string]: _$hono_utils_types0.JSONValue;
2455
2567
  } | undefined;
2456
2568
  };
2457
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
2569
+ }, 400, "json">)>;
2570
+ readonly startService: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2458
2571
  ok: boolean;
2459
2572
  data: {
2460
2573
  accepted: boolean;
@@ -2462,8 +2575,7 @@ declare class RuntimeControlRoutesController {
2462
2575
  lifecycle: RuntimeLifecycleState;
2463
2576
  message: string;
2464
2577
  };
2465
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
2466
- readonly stopService: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2578
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
2467
2579
  ok: boolean;
2468
2580
  error: {
2469
2581
  code: string;
@@ -2472,7 +2584,8 @@ declare class RuntimeControlRoutesController {
2472
2584
  [x: string]: _$hono_utils_types0.JSONValue;
2473
2585
  } | undefined;
2474
2586
  };
2475
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
2587
+ }, 400, "json">)>;
2588
+ readonly stopService: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2476
2589
  ok: boolean;
2477
2590
  data: {
2478
2591
  accepted: boolean;
@@ -2480,7 +2593,16 @@ declare class RuntimeControlRoutesController {
2480
2593
  lifecycle: RuntimeLifecycleState;
2481
2594
  message: string;
2482
2595
  };
2483
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
2596
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
2597
+ ok: boolean;
2598
+ error: {
2599
+ code: string;
2600
+ message: string;
2601
+ details: {
2602
+ [x: string]: _$hono_utils_types0.JSONValue;
2603
+ } | undefined;
2604
+ };
2605
+ }, 400, "json">)>;
2484
2606
  }
2485
2607
  //#endregion
2486
2608
  //#region src/features/runtime-control/types/runtime-control.types.d.ts
@@ -3862,6 +3984,21 @@ declare class AppPackagesRoutesController {
3862
3984
  };
3863
3985
  runtimeProfile: AppRuntimeProfile;
3864
3986
  isolation: AppRuntimeIsolation;
3987
+ permissions: {
3988
+ documentAccess?: {
3989
+ id: string;
3990
+ mode: AppDocumentAccessMode;
3991
+ description?: string | undefined;
3992
+ }[] | undefined;
3993
+ allowedDomains?: string[] | undefined;
3994
+ storage?: boolean | {
3995
+ namespace?: string | undefined;
3996
+ } | undefined;
3997
+ capabilities?: {
3998
+ hostBridge?: boolean | undefined;
3999
+ nativeProcess?: boolean | undefined;
4000
+ } | undefined;
4001
+ };
3865
4002
  title?: string | undefined;
3866
4003
  description?: string | undefined;
3867
4004
  icon?: string | undefined;
@@ -3933,6 +4070,15 @@ declare class AppPackagesRoutesController {
3933
4070
  };
3934
4071
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
3935
4072
  readonly startInstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4073
+ ok: boolean;
4074
+ error: {
4075
+ code: string;
4076
+ message: string;
4077
+ details: {
4078
+ [x: string]: _$hono_utils_types0.JSONValue;
4079
+ } | undefined;
4080
+ };
4081
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
3936
4082
  ok: boolean;
3937
4083
  data: {
3938
4084
  id: string;
@@ -3955,7 +4101,8 @@ declare class AppPackagesRoutesController {
3955
4101
  dataRemoved?: boolean | undefined;
3956
4102
  } | undefined;
3957
4103
  };
3958
- }, 202, "json">) | (Response & _$hono.TypedResponse<{
4104
+ }, 202, "json">)>;
4105
+ readonly startUpdateOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3959
4106
  ok: boolean;
3960
4107
  error: {
3961
4108
  code: string;
@@ -3964,8 +4111,7 @@ declare class AppPackagesRoutesController {
3964
4111
  [x: string]: _$hono_utils_types0.JSONValue;
3965
4112
  } | undefined;
3966
4113
  };
3967
- }, 400 | 404 | 409, "json">)>;
3968
- readonly startUpdateOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4114
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
3969
4115
  ok: boolean;
3970
4116
  data: {
3971
4117
  id: string;
@@ -3988,7 +4134,8 @@ declare class AppPackagesRoutesController {
3988
4134
  dataRemoved?: boolean | undefined;
3989
4135
  } | undefined;
3990
4136
  };
3991
- }, 202, "json">) | (Response & _$hono.TypedResponse<{
4137
+ }, 202, "json">)>;
4138
+ readonly startRollbackOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3992
4139
  ok: boolean;
3993
4140
  error: {
3994
4141
  code: string;
@@ -3997,8 +4144,7 @@ declare class AppPackagesRoutesController {
3997
4144
  [x: string]: _$hono_utils_types0.JSONValue;
3998
4145
  } | undefined;
3999
4146
  };
4000
- }, 400 | 404 | 409, "json">)>;
4001
- readonly startRollbackOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4147
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
4002
4148
  ok: boolean;
4003
4149
  data: {
4004
4150
  id: string;
@@ -4021,7 +4167,8 @@ declare class AppPackagesRoutesController {
4021
4167
  dataRemoved?: boolean | undefined;
4022
4168
  } | undefined;
4023
4169
  };
4024
- }, 202, "json">) | (Response & _$hono.TypedResponse<{
4170
+ }, 202, "json">)>;
4171
+ readonly startUninstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4025
4172
  ok: boolean;
4026
4173
  error: {
4027
4174
  code: string;
@@ -4030,8 +4177,7 @@ declare class AppPackagesRoutesController {
4030
4177
  [x: string]: _$hono_utils_types0.JSONValue;
4031
4178
  } | undefined;
4032
4179
  };
4033
- }, 400 | 404 | 409, "json">)>;
4034
- readonly startUninstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4180
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
4035
4181
  ok: boolean;
4036
4182
  data: {
4037
4183
  id: string;
@@ -4054,16 +4200,7 @@ declare class AppPackagesRoutesController {
4054
4200
  dataRemoved?: boolean | undefined;
4055
4201
  } | undefined;
4056
4202
  };
4057
- }, 202, "json">) | (Response & _$hono.TypedResponse<{
4058
- ok: boolean;
4059
- error: {
4060
- code: string;
4061
- message: string;
4062
- details: {
4063
- [x: string]: _$hono_utils_types0.JSONValue;
4064
- } | undefined;
4065
- };
4066
- }, 400 | 404 | 409, "json">)>;
4203
+ }, 202, "json">)>;
4067
4204
  readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4068
4205
  ok: boolean;
4069
4206
  error: {
@@ -4114,6 +4251,21 @@ declare class AppPackagesRoutesController {
4114
4251
  };
4115
4252
  runtimeProfile: AppRuntimeProfile;
4116
4253
  isolation: AppRuntimeIsolation;
4254
+ permissions: {
4255
+ documentAccess?: {
4256
+ id: string;
4257
+ mode: AppDocumentAccessMode;
4258
+ description?: string | undefined;
4259
+ }[] | undefined;
4260
+ allowedDomains?: string[] | undefined;
4261
+ storage?: boolean | {
4262
+ namespace?: string | undefined;
4263
+ } | undefined;
4264
+ capabilities?: {
4265
+ hostBridge?: boolean | undefined;
4266
+ nativeProcess?: boolean | undefined;
4267
+ } | undefined;
4268
+ };
4117
4269
  title?: string | undefined;
4118
4270
  description?: string | undefined;
4119
4271
  icon?: string | undefined;
@@ -4201,6 +4353,21 @@ declare class AppPackagesRoutesController {
4201
4353
  };
4202
4354
  runtimeProfile: AppRuntimeProfile;
4203
4355
  isolation: AppRuntimeIsolation;
4356
+ permissions: {
4357
+ documentAccess?: {
4358
+ id: string;
4359
+ mode: AppDocumentAccessMode;
4360
+ description?: string | undefined;
4361
+ }[] | undefined;
4362
+ allowedDomains?: string[] | undefined;
4363
+ storage?: boolean | {
4364
+ namespace?: string | undefined;
4365
+ } | undefined;
4366
+ capabilities?: {
4367
+ hostBridge?: boolean | undefined;
4368
+ nativeProcess?: boolean | undefined;
4369
+ } | undefined;
4370
+ };
4204
4371
  title?: string | undefined;
4205
4372
  description?: string | undefined;
4206
4373
  icon?: string | undefined;
@@ -4288,6 +4455,21 @@ declare class AppPackagesRoutesController {
4288
4455
  };
4289
4456
  runtimeProfile: AppRuntimeProfile;
4290
4457
  isolation: AppRuntimeIsolation;
4458
+ permissions: {
4459
+ documentAccess?: {
4460
+ id: string;
4461
+ mode: AppDocumentAccessMode;
4462
+ description?: string | undefined;
4463
+ }[] | undefined;
4464
+ allowedDomains?: string[] | undefined;
4465
+ storage?: boolean | {
4466
+ namespace?: string | undefined;
4467
+ } | undefined;
4468
+ capabilities?: {
4469
+ hostBridge?: boolean | undefined;
4470
+ nativeProcess?: boolean | undefined;
4471
+ } | undefined;
4472
+ };
4291
4473
  title?: string | undefined;
4292
4474
  description?: string | undefined;
4293
4475
  icon?: string | undefined;
@@ -4375,6 +4557,21 @@ declare class AppPackagesRoutesController {
4375
4557
  };
4376
4558
  runtimeProfile: AppRuntimeProfile;
4377
4559
  isolation: AppRuntimeIsolation;
4560
+ permissions: {
4561
+ documentAccess?: {
4562
+ id: string;
4563
+ mode: AppDocumentAccessMode;
4564
+ description?: string | undefined;
4565
+ }[] | undefined;
4566
+ allowedDomains?: string[] | undefined;
4567
+ storage?: boolean | {
4568
+ namespace?: string | undefined;
4569
+ } | undefined;
4570
+ capabilities?: {
4571
+ hostBridge?: boolean | undefined;
4572
+ nativeProcess?: boolean | undefined;
4573
+ } | undefined;
4574
+ };
4378
4575
  title?: string | undefined;
4379
4576
  description?: string | undefined;
4380
4577
  icon?: string | undefined;
@@ -4463,6 +4660,21 @@ declare class AppPackagesRoutesController {
4463
4660
  };
4464
4661
  runtimeProfile: AppRuntimeProfile;
4465
4662
  isolation: AppRuntimeIsolation;
4663
+ permissions: {
4664
+ documentAccess?: {
4665
+ id: string;
4666
+ mode: AppDocumentAccessMode;
4667
+ description?: string | undefined;
4668
+ }[] | undefined;
4669
+ allowedDomains?: string[] | undefined;
4670
+ storage?: boolean | {
4671
+ namespace?: string | undefined;
4672
+ } | undefined;
4673
+ capabilities?: {
4674
+ hostBridge?: boolean | undefined;
4675
+ nativeProcess?: boolean | undefined;
4676
+ } | undefined;
4677
+ };
4466
4678
  title?: string | undefined;
4467
4679
  description?: string | undefined;
4468
4680
  icon?: string | undefined;
@@ -4634,6 +4846,21 @@ declare class AppPackagesRoutesController {
4634
4846
  };
4635
4847
  runtimeProfile: AppRuntimeProfile;
4636
4848
  isolation: AppRuntimeIsolation;
4849
+ permissions: {
4850
+ documentAccess?: {
4851
+ id: string;
4852
+ mode: AppDocumentAccessMode;
4853
+ description?: string | undefined;
4854
+ }[] | undefined;
4855
+ allowedDomains?: string[] | undefined;
4856
+ storage?: boolean | {
4857
+ namespace?: string | undefined;
4858
+ } | undefined;
4859
+ capabilities?: {
4860
+ hostBridge?: boolean | undefined;
4861
+ nativeProcess?: boolean | undefined;
4862
+ } | undefined;
4863
+ };
4637
4864
  title?: string | undefined;
4638
4865
  description?: string | undefined;
4639
4866
  icon?: string | undefined;
@@ -4749,6 +4976,14 @@ declare class AppDataRoutesController {
4749
4976
  };
4750
4977
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
4751
4978
  readonly deleteRetained: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4979
+ ok: boolean;
4980
+ data: {
4981
+ deleted: true;
4982
+ id: string;
4983
+ appId: string;
4984
+ instanceId: string;
4985
+ };
4986
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
4752
4987
  ok: boolean;
4753
4988
  error: {
4754
4989
  code: string;
@@ -4757,15 +4992,7 @@ declare class AppDataRoutesController {
4757
4992
  [x: string]: _$hono_utils_types0.JSONValue;
4758
4993
  } | undefined;
4759
4994
  };
4760
- }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
4761
- ok: boolean;
4762
- data: {
4763
- deleted: true;
4764
- id: string;
4765
- appId: string;
4766
- instanceId: string;
4767
- };
4768
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4995
+ }, 400 | 404 | 409, "json">)>;
4769
4996
  }
4770
4997
  //#endregion
4771
4998
  //#region src/features/inbox-deliveries/controllers/inbox-deliveries.controller.d.ts