@nextclaw/server 0.17.1 → 0.17.2

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
@@ -10,7 +10,6 @@ import { NcpMessage, NcpSessionApi, NcpSessionMessagePageInfo, NcpSessionStatus,
10
10
  import * as _$hono_utils_http_status0 from "hono/utils/http-status";
11
11
  import * as _$hono_utils_types0 from "hono/utils/types";
12
12
  import { IncomingMessage } from "node:http";
13
- import * as _$_nextclaw_app_runtime0 from "@nextclaw/app-runtime";
14
13
 
15
14
  //#region ../nextclaw-shared/src/types/typed-key.types.d.ts
16
15
  type TypedKey<T = unknown> = {
@@ -798,6 +797,25 @@ type PreferenceDeleteResult = {
798
797
  deleted: boolean;
799
798
  };
800
799
  //#endregion
800
+ //#region ../nextclaw-app-runtime/dist/types/app-manifest.types.d.ts
801
+ //#region src/types/app-manifest.types.d.ts
802
+ type AppDocumentAccessMode = "read" | "read-write";
803
+ type AppRuntimeProfile = "panel-only" | "wasi" | "native-process";
804
+ type AppRuntimeIsolation = "sandboxed" | "host-mediated" | "full-user";
805
+ type AppArtifactArchitecture = "x64" | "arm64";
806
+ type AppComponentKind = "panel" | "service";
807
+ //#endregion
808
+ //#region ../nextclaw-app-runtime/dist/types/app-bundle.types.d.ts
809
+ //#region src/types/app-bundle.types.d.ts
810
+ type AppDistributionMode = "bundle" | "source";
811
+ //#endregion
812
+ //#region ../nextclaw-app-runtime/dist/types/app-storage.types.d.ts
813
+ type AppStorageLayout = "legacy" | "instance-v1";
814
+ //#endregion
815
+ //#region ../nextclaw-app-runtime/dist/types/app-registry.types.d.ts
816
+ //#region src/types/app-registry.types.d.ts
817
+ type AppInstallSourceKind = "bundle" | "directory" | "registry";
818
+ //#endregion
801
819
  //#region src/features/service-apps/controllers/service-apps.controller.d.ts
802
820
  declare class ServiceAppsRoutesController {
803
821
  private readonly params;
@@ -833,7 +851,7 @@ declare class ServiceAppsRoutesController {
833
851
  dataDirectory?: string | undefined;
834
852
  instanceId?: string | undefined;
835
853
  storage?: {
836
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
854
+ layout: AppStorageLayout;
837
855
  layoutVersion: 1;
838
856
  instanceId: string;
839
857
  instanceDirectory: string;
@@ -844,7 +862,7 @@ declare class ServiceAppsRoutesController {
844
862
  temporaryDirectory: string;
845
863
  logsDirectory: string;
846
864
  } | undefined;
847
- isolation?: _$_nextclaw_app_runtime0.AppRuntimeIsolation | undefined;
865
+ isolation?: AppRuntimeIsolation | undefined;
848
866
  }[];
849
867
  diagnostics: {
850
868
  appId: string;
@@ -878,7 +896,7 @@ declare class ServiceAppsRoutesController {
878
896
  dataDirectory?: string | undefined;
879
897
  instanceId?: string | undefined;
880
898
  storage?: {
881
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
899
+ layout: AppStorageLayout;
882
900
  layoutVersion: 1;
883
901
  instanceId: string;
884
902
  instanceDirectory: string;
@@ -889,7 +907,7 @@ declare class ServiceAppsRoutesController {
889
907
  temporaryDirectory: string;
890
908
  logsDirectory: string;
891
909
  } | undefined;
892
- isolation?: _$_nextclaw_app_runtime0.AppRuntimeIsolation | undefined;
910
+ isolation?: AppRuntimeIsolation | undefined;
893
911
  };
894
912
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
895
913
  ok: boolean;
@@ -900,7 +918,16 @@ declare class ServiceAppsRoutesController {
900
918
  [x: string]: _$hono_utils_types0.JSONValue;
901
919
  } | undefined;
902
920
  };
903
- }, 400 | 401 | 403 | 404 | 502, "json">)>;
921
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
922
+ ok: boolean;
923
+ error: {
924
+ code: string;
925
+ message: string;
926
+ details: {
927
+ [x: string]: _$hono_utils_types0.JSONValue;
928
+ } | undefined;
929
+ };
930
+ }, 500, "json">)>;
904
931
  readonly listServiceActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
905
932
  ok: boolean;
906
933
  error: {
@@ -911,6 +938,15 @@ declare class ServiceAppsRoutesController {
911
938
  } | undefined;
912
939
  };
913
940
  }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
941
+ ok: boolean;
942
+ error: {
943
+ code: string;
944
+ message: string;
945
+ details: {
946
+ [x: string]: _$hono_utils_types0.JSONValue;
947
+ } | undefined;
948
+ };
949
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
914
950
  ok: boolean;
915
951
  data: {
916
952
  actions: {
@@ -938,6 +974,15 @@ declare class ServiceAppsRoutesController {
938
974
  } | undefined;
939
975
  };
940
976
  }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
977
+ ok: boolean;
978
+ error: {
979
+ code: string;
980
+ message: string;
981
+ details: {
982
+ [x: string]: _$hono_utils_types0.JSONValue;
983
+ } | undefined;
984
+ };
985
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
941
986
  ok: boolean;
942
987
  data: {
943
988
  actions: {
@@ -965,6 +1010,15 @@ declare class ServiceAppsRoutesController {
965
1010
  } | undefined;
966
1011
  };
967
1012
  }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1013
+ ok: boolean;
1014
+ error: {
1015
+ code: string;
1016
+ message: string;
1017
+ details: {
1018
+ [x: string]: _$hono_utils_types0.JSONValue;
1019
+ } | undefined;
1020
+ };
1021
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
968
1022
  ok: boolean;
969
1023
  data: {
970
1024
  actionId: string;
@@ -981,6 +1035,15 @@ declare class ServiceAppsRoutesController {
981
1035
  } | undefined;
982
1036
  };
983
1037
  }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1038
+ ok: boolean;
1039
+ error: {
1040
+ code: string;
1041
+ message: string;
1042
+ details: {
1043
+ [x: string]: _$hono_utils_types0.JSONValue;
1044
+ } | undefined;
1045
+ };
1046
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
984
1047
  ok: boolean;
985
1048
  data: {
986
1049
  caller: {
@@ -1002,6 +1065,15 @@ declare class ServiceAppsRoutesController {
1002
1065
  } | undefined;
1003
1066
  };
1004
1067
  }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1068
+ ok: boolean;
1069
+ error: {
1070
+ code: string;
1071
+ message: string;
1072
+ details: {
1073
+ [x: string]: _$hono_utils_types0.JSONValue;
1074
+ } | undefined;
1075
+ };
1076
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1005
1077
  ok: boolean;
1006
1078
  data: {
1007
1079
  grants: {
@@ -1039,6 +1111,15 @@ declare class ServiceAppsRoutesController {
1039
1111
  } | undefined;
1040
1112
  };
1041
1113
  }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1114
+ ok: boolean;
1115
+ error: {
1116
+ code: string;
1117
+ message: string;
1118
+ details: {
1119
+ [x: string]: _$hono_utils_types0.JSONValue;
1120
+ } | undefined;
1121
+ };
1122
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1042
1123
  ok: boolean;
1043
1124
  data: {
1044
1125
  revoked: boolean;
@@ -1054,6 +1135,15 @@ declare class ServiceAppsRoutesController {
1054
1135
  } | undefined;
1055
1136
  };
1056
1137
  }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1138
+ ok: boolean;
1139
+ error: {
1140
+ code: string;
1141
+ message: string;
1142
+ details: {
1143
+ [x: string]: _$hono_utils_types0.JSONValue;
1144
+ } | undefined;
1145
+ };
1146
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1057
1147
  ok: boolean;
1058
1148
  data: {
1059
1149
  revoked: boolean;
@@ -1084,7 +1174,7 @@ declare class ServiceAppsRoutesController {
1084
1174
  dataDirectory?: string | undefined;
1085
1175
  instanceId?: string | undefined;
1086
1176
  storage?: {
1087
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
1177
+ layout: AppStorageLayout;
1088
1178
  layoutVersion: 1;
1089
1179
  instanceId: string;
1090
1180
  instanceDirectory: string;
@@ -1095,7 +1185,7 @@ declare class ServiceAppsRoutesController {
1095
1185
  temporaryDirectory: string;
1096
1186
  logsDirectory: string;
1097
1187
  } | undefined;
1098
- isolation?: _$_nextclaw_app_runtime0.AppRuntimeIsolation | undefined;
1188
+ isolation?: AppRuntimeIsolation | undefined;
1099
1189
  };
1100
1190
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
1101
1191
  ok: boolean;
@@ -1106,7 +1196,16 @@ declare class ServiceAppsRoutesController {
1106
1196
  [x: string]: _$hono_utils_types0.JSONValue;
1107
1197
  } | undefined;
1108
1198
  };
1109
- }, 400 | 401 | 403 | 404 | 502, "json">)>;
1199
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1200
+ ok: boolean;
1201
+ error: {
1202
+ code: string;
1203
+ message: string;
1204
+ details: {
1205
+ [x: string]: _$hono_utils_types0.JSONValue;
1206
+ } | undefined;
1207
+ };
1208
+ }, 500, "json">)>;
1110
1209
  readonly deleteServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1111
1210
  ok: boolean;
1112
1211
  error: {
@@ -1117,6 +1216,15 @@ declare class ServiceAppsRoutesController {
1117
1216
  } | undefined;
1118
1217
  };
1119
1218
  }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1219
+ ok: boolean;
1220
+ error: {
1221
+ code: string;
1222
+ message: string;
1223
+ details: {
1224
+ [x: string]: _$hono_utils_types0.JSONValue;
1225
+ } | undefined;
1226
+ };
1227
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1120
1228
  ok: boolean;
1121
1229
  data: {
1122
1230
  deleted: true;
@@ -2203,6 +2311,15 @@ declare class RuntimeControlRoutesController {
2203
2311
  private readonly host;
2204
2312
  constructor(host: UiRuntimeControlHost);
2205
2313
  readonly getControl: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2314
+ ok: boolean;
2315
+ error: {
2316
+ code: string;
2317
+ message: string;
2318
+ details: {
2319
+ [x: string]: _$hono_utils_types0.JSONValue;
2320
+ } | undefined;
2321
+ };
2322
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
2206
2323
  ok: boolean;
2207
2324
  data: {
2208
2325
  environment: RuntimeControlEnvironment;
@@ -2242,16 +2359,7 @@ declare class RuntimeControlRoutesController {
2242
2359
  managementHint?: string | undefined;
2243
2360
  message?: string | undefined;
2244
2361
  };
2245
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
2246
- ok: boolean;
2247
- error: {
2248
- code: string;
2249
- message: string;
2250
- details: {
2251
- [x: string]: _$hono_utils_types0.JSONValue;
2252
- } | undefined;
2253
- };
2254
- }, 500, "json">)>;
2362
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
2255
2363
  readonly restartService: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2256
2364
  ok: boolean;
2257
2365
  error: {
@@ -3660,7 +3768,7 @@ declare class AppPackagesRoutesController {
3660
3768
  dataDirectory: string;
3661
3769
  instanceId: string;
3662
3770
  storage: {
3663
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
3771
+ layout: AppStorageLayout;
3664
3772
  layoutVersion: 1;
3665
3773
  instanceId: string;
3666
3774
  instanceDirectory: string;
@@ -3671,8 +3779,8 @@ declare class AppPackagesRoutesController {
3671
3779
  temporaryDirectory: string;
3672
3780
  logsDirectory: string;
3673
3781
  };
3674
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3675
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
3782
+ runtimeProfile: AppRuntimeProfile;
3783
+ isolation: AppRuntimeIsolation;
3676
3784
  title?: string | undefined;
3677
3785
  description?: string | undefined;
3678
3786
  icon?: string | undefined;
@@ -3686,7 +3794,7 @@ declare class AppPackagesRoutesController {
3686
3794
  dataDirectory: string;
3687
3795
  instanceId: string;
3688
3796
  storage: {
3689
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
3797
+ layout: AppStorageLayout;
3690
3798
  layoutVersion: 1;
3691
3799
  instanceId: string;
3692
3800
  instanceDirectory: string;
@@ -3706,8 +3814,8 @@ declare class AppPackagesRoutesController {
3706
3814
  logsBytes: number;
3707
3815
  totalBytes: number;
3708
3816
  } | undefined;
3709
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3710
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
3817
+ runtimeProfile: AppRuntimeProfile;
3818
+ isolation: AppRuntimeIsolation;
3711
3819
  }[];
3712
3820
  hostTarget?: {
3713
3821
  key: string;
@@ -3912,7 +4020,7 @@ declare class AppPackagesRoutesController {
3912
4020
  dataDirectory: string;
3913
4021
  instanceId: string;
3914
4022
  storage: {
3915
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4023
+ layout: AppStorageLayout;
3916
4024
  layoutVersion: 1;
3917
4025
  instanceId: string;
3918
4026
  instanceDirectory: string;
@@ -3923,8 +4031,8 @@ declare class AppPackagesRoutesController {
3923
4031
  temporaryDirectory: string;
3924
4032
  logsDirectory: string;
3925
4033
  };
3926
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3927
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4034
+ runtimeProfile: AppRuntimeProfile;
4035
+ isolation: AppRuntimeIsolation;
3928
4036
  title?: string | undefined;
3929
4037
  description?: string | undefined;
3930
4038
  icon?: string | undefined;
@@ -3938,7 +4046,7 @@ declare class AppPackagesRoutesController {
3938
4046
  dataDirectory: string;
3939
4047
  instanceId: string;
3940
4048
  storage: {
3941
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4049
+ layout: AppStorageLayout;
3942
4050
  layoutVersion: 1;
3943
4051
  instanceId: string;
3944
4052
  instanceDirectory: string;
@@ -3958,8 +4066,8 @@ declare class AppPackagesRoutesController {
3958
4066
  logsBytes: number;
3959
4067
  totalBytes: number;
3960
4068
  } | undefined;
3961
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3962
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4069
+ runtimeProfile: AppRuntimeProfile;
4070
+ isolation: AppRuntimeIsolation;
3963
4071
  };
3964
4072
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
3965
4073
  readonly install: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -3999,7 +4107,7 @@ declare class AppPackagesRoutesController {
3999
4107
  dataDirectory: string;
4000
4108
  instanceId: string;
4001
4109
  storage: {
4002
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4110
+ layout: AppStorageLayout;
4003
4111
  layoutVersion: 1;
4004
4112
  instanceId: string;
4005
4113
  instanceDirectory: string;
@@ -4010,8 +4118,8 @@ declare class AppPackagesRoutesController {
4010
4118
  temporaryDirectory: string;
4011
4119
  logsDirectory: string;
4012
4120
  };
4013
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4014
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4121
+ runtimeProfile: AppRuntimeProfile;
4122
+ isolation: AppRuntimeIsolation;
4015
4123
  title?: string | undefined;
4016
4124
  description?: string | undefined;
4017
4125
  icon?: string | undefined;
@@ -4025,7 +4133,7 @@ declare class AppPackagesRoutesController {
4025
4133
  dataDirectory: string;
4026
4134
  instanceId: string;
4027
4135
  storage: {
4028
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4136
+ layout: AppStorageLayout;
4029
4137
  layoutVersion: 1;
4030
4138
  instanceId: string;
4031
4139
  instanceDirectory: string;
@@ -4045,8 +4153,8 @@ declare class AppPackagesRoutesController {
4045
4153
  logsBytes: number;
4046
4154
  totalBytes: number;
4047
4155
  } | undefined;
4048
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4049
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4156
+ runtimeProfile: AppRuntimeProfile;
4157
+ isolation: AppRuntimeIsolation;
4050
4158
  };
4051
4159
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4052
4160
  readonly enable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -4086,7 +4194,7 @@ declare class AppPackagesRoutesController {
4086
4194
  dataDirectory: string;
4087
4195
  instanceId: string;
4088
4196
  storage: {
4089
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4197
+ layout: AppStorageLayout;
4090
4198
  layoutVersion: 1;
4091
4199
  instanceId: string;
4092
4200
  instanceDirectory: string;
@@ -4097,8 +4205,8 @@ declare class AppPackagesRoutesController {
4097
4205
  temporaryDirectory: string;
4098
4206
  logsDirectory: string;
4099
4207
  };
4100
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4101
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4208
+ runtimeProfile: AppRuntimeProfile;
4209
+ isolation: AppRuntimeIsolation;
4102
4210
  title?: string | undefined;
4103
4211
  description?: string | undefined;
4104
4212
  icon?: string | undefined;
@@ -4112,7 +4220,7 @@ declare class AppPackagesRoutesController {
4112
4220
  dataDirectory: string;
4113
4221
  instanceId: string;
4114
4222
  storage: {
4115
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4223
+ layout: AppStorageLayout;
4116
4224
  layoutVersion: 1;
4117
4225
  instanceId: string;
4118
4226
  instanceDirectory: string;
@@ -4132,8 +4240,8 @@ declare class AppPackagesRoutesController {
4132
4240
  logsBytes: number;
4133
4241
  totalBytes: number;
4134
4242
  } | undefined;
4135
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4136
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4243
+ runtimeProfile: AppRuntimeProfile;
4244
+ isolation: AppRuntimeIsolation;
4137
4245
  };
4138
4246
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4139
4247
  readonly disable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -4173,7 +4281,7 @@ declare class AppPackagesRoutesController {
4173
4281
  dataDirectory: string;
4174
4282
  instanceId: string;
4175
4283
  storage: {
4176
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4284
+ layout: AppStorageLayout;
4177
4285
  layoutVersion: 1;
4178
4286
  instanceId: string;
4179
4287
  instanceDirectory: string;
@@ -4184,8 +4292,8 @@ declare class AppPackagesRoutesController {
4184
4292
  temporaryDirectory: string;
4185
4293
  logsDirectory: string;
4186
4294
  };
4187
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4188
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4295
+ runtimeProfile: AppRuntimeProfile;
4296
+ isolation: AppRuntimeIsolation;
4189
4297
  title?: string | undefined;
4190
4298
  description?: string | undefined;
4191
4299
  icon?: string | undefined;
@@ -4199,7 +4307,7 @@ declare class AppPackagesRoutesController {
4199
4307
  dataDirectory: string;
4200
4308
  instanceId: string;
4201
4309
  storage: {
4202
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4310
+ layout: AppStorageLayout;
4203
4311
  layoutVersion: 1;
4204
4312
  instanceId: string;
4205
4313
  instanceDirectory: string;
@@ -4219,8 +4327,8 @@ declare class AppPackagesRoutesController {
4219
4327
  logsBytes: number;
4220
4328
  totalBytes: number;
4221
4329
  } | undefined;
4222
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4223
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4330
+ runtimeProfile: AppRuntimeProfile;
4331
+ isolation: AppRuntimeIsolation;
4224
4332
  };
4225
4333
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4226
4334
  readonly update: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -4261,7 +4369,7 @@ declare class AppPackagesRoutesController {
4261
4369
  dataDirectory: string;
4262
4370
  instanceId: string;
4263
4371
  storage: {
4264
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4372
+ layout: AppStorageLayout;
4265
4373
  layoutVersion: 1;
4266
4374
  instanceId: string;
4267
4375
  instanceDirectory: string;
@@ -4272,8 +4380,8 @@ declare class AppPackagesRoutesController {
4272
4380
  temporaryDirectory: string;
4273
4381
  logsDirectory: string;
4274
4382
  };
4275
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4276
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4383
+ runtimeProfile: AppRuntimeProfile;
4384
+ isolation: AppRuntimeIsolation;
4277
4385
  title?: string | undefined;
4278
4386
  description?: string | undefined;
4279
4387
  icon?: string | undefined;
@@ -4287,7 +4395,7 @@ declare class AppPackagesRoutesController {
4287
4395
  dataDirectory: string;
4288
4396
  instanceId: string;
4289
4397
  storage: {
4290
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4398
+ layout: AppStorageLayout;
4291
4399
  layoutVersion: 1;
4292
4400
  instanceId: string;
4293
4401
  instanceDirectory: string;
@@ -4307,8 +4415,8 @@ declare class AppPackagesRoutesController {
4307
4415
  logsBytes: number;
4308
4416
  totalBytes: number;
4309
4417
  } | undefined;
4310
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4311
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4418
+ runtimeProfile: AppRuntimeProfile;
4419
+ isolation: AppRuntimeIsolation;
4312
4420
  };
4313
4421
  result: {
4314
4422
  appId: string;
@@ -4320,7 +4428,7 @@ declare class AppPackagesRoutesController {
4320
4428
  id: string;
4321
4429
  publisherId?: string | undefined;
4322
4430
  storage: {
4323
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4431
+ layout: AppStorageLayout;
4324
4432
  layoutVersion: 1;
4325
4433
  instanceId: string;
4326
4434
  instanceDirectory: string;
@@ -4336,13 +4444,13 @@ declare class AppPackagesRoutesController {
4336
4444
  migratedAt?: string | undefined;
4337
4445
  legacyDataDirectory?: string | undefined;
4338
4446
  };
4339
- sourceKind: _$_nextclaw_app_runtime0.AppInstallSourceKind;
4340
- distributionMode?: _$_nextclaw_app_runtime0.AppDistributionMode | undefined;
4447
+ sourceKind: AppInstallSourceKind;
4448
+ distributionMode?: AppDistributionMode | undefined;
4341
4449
  sourceRef: string;
4342
4450
  permissions: {
4343
4451
  documentAccess?: {
4344
4452
  id: string;
4345
- mode: _$_nextclaw_app_runtime0.AppDocumentAccessMode;
4453
+ mode: AppDocumentAccessMode;
4346
4454
  description?: string | undefined;
4347
4455
  }[] | undefined;
4348
4456
  allowedDomains?: string[] | undefined;
@@ -4362,16 +4470,16 @@ declare class AppPackagesRoutesController {
4362
4470
  } | {
4363
4471
  kind: "native";
4364
4472
  os: "darwin";
4365
- arch: _$_nextclaw_app_runtime0.AppArtifactArchitecture;
4473
+ arch: AppArtifactArchitecture;
4366
4474
  } | {
4367
4475
  kind: "native";
4368
4476
  os: "linux";
4369
- arch: _$_nextclaw_app_runtime0.AppArtifactArchitecture;
4477
+ arch: AppArtifactArchitecture;
4370
4478
  abi: "gnu" | "musl";
4371
4479
  } | {
4372
4480
  kind: "native";
4373
4481
  os: "win32";
4374
- arch: _$_nextclaw_app_runtime0.AppArtifactArchitecture;
4482
+ arch: AppArtifactArchitecture;
4375
4483
  abi: "msvc";
4376
4484
  } | undefined;
4377
4485
  publisher?: {
@@ -4382,7 +4490,7 @@ declare class AppPackagesRoutesController {
4382
4490
  enabled: boolean;
4383
4491
  manifestSchemaVersion: 1 | 2;
4384
4492
  components?: {
4385
- kind: _$_nextclaw_app_runtime0.AppComponentKind;
4493
+ kind: AppComponentKind;
4386
4494
  path: string;
4387
4495
  id: string;
4388
4496
  componentDirectory: string;
@@ -4432,7 +4540,7 @@ declare class AppPackagesRoutesController {
4432
4540
  dataDirectory: string;
4433
4541
  instanceId: string;
4434
4542
  storage: {
4435
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4543
+ layout: AppStorageLayout;
4436
4544
  layoutVersion: 1;
4437
4545
  instanceId: string;
4438
4546
  instanceDirectory: string;
@@ -4443,8 +4551,8 @@ declare class AppPackagesRoutesController {
4443
4551
  temporaryDirectory: string;
4444
4552
  logsDirectory: string;
4445
4553
  };
4446
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4447
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4554
+ runtimeProfile: AppRuntimeProfile;
4555
+ isolation: AppRuntimeIsolation;
4448
4556
  title?: string | undefined;
4449
4557
  description?: string | undefined;
4450
4558
  icon?: string | undefined;
@@ -4458,7 +4566,7 @@ declare class AppPackagesRoutesController {
4458
4566
  dataDirectory: string;
4459
4567
  instanceId: string;
4460
4568
  storage: {
4461
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4569
+ layout: AppStorageLayout;
4462
4570
  layoutVersion: 1;
4463
4571
  instanceId: string;
4464
4572
  instanceDirectory: string;
@@ -4478,8 +4586,8 @@ declare class AppPackagesRoutesController {
4478
4586
  logsBytes: number;
4479
4587
  totalBytes: number;
4480
4588
  } | undefined;
4481
- runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4482
- isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4589
+ runtimeProfile: AppRuntimeProfile;
4590
+ isolation: AppRuntimeIsolation;
4483
4591
  };
4484
4592
  result: {
4485
4593
  appId: string;
@@ -4526,7 +4634,7 @@ declare class AppDataRoutesController {
4526
4634
  source: _$_nextclaw_kernel0.AppDataSource;
4527
4635
  lifecycle: _$_nextclaw_kernel0.AppDataLifecycle;
4528
4636
  storage: {
4529
- layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4637
+ layout: AppStorageLayout;
4530
4638
  layoutVersion: 1;
4531
4639
  instanceId: string;
4532
4640
  instanceDirectory: string;