@nextclaw/server 0.16.0 → 0.16.1

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
@@ -9,6 +9,7 @@ import { NcpMessage, NcpSessionApi, NcpSessionMessagePageInfo, NcpSessionStatus,
9
9
  import * as _$hono_utils_http_status0 from "hono/utils/http-status";
10
10
  import * as _$hono_utils_types0 from "hono/utils/types";
11
11
  import { IncomingMessage } from "node:http";
12
+ import * as _$_nextclaw_app_runtime0 from "@nextclaw/app-runtime";
12
13
 
13
14
  //#region ../nextclaw-shared/src/types/typed-key.types.d.ts
14
15
  type TypedKey<T = unknown> = {
@@ -789,24 +790,6 @@ type PreferenceDeleteResult = {
789
790
  deleted: boolean;
790
791
  };
791
792
  //#endregion
792
- //#region ../nextclaw-app-runtime/dist/types/app-bundle.types.d.ts
793
- //#region src/types/app-bundle.types.d.ts
794
- type AppDistributionMode = "bundle" | "source";
795
- //#endregion
796
- //#region ../nextclaw-app-runtime/dist/types/app-manifest.types.d.ts
797
- //#region src/types/app-manifest.types.d.ts
798
- type AppDocumentAccessMode = "read" | "read-write";
799
- type AppRuntimeProfile = "panel-only" | "wasi" | "native-process";
800
- type AppRuntimeIsolation = "sandboxed" | "host-mediated" | "full-user";
801
- type AppComponentKind = "panel" | "service";
802
- //#endregion
803
- //#region ../nextclaw-app-runtime/dist/types/app-storage.types.d.ts
804
- type AppStorageLayout = "legacy" | "instance-v1";
805
- //#endregion
806
- //#region ../nextclaw-app-runtime/dist/types/app-registry.types.d.ts
807
- //#region src/types/app-registry.types.d.ts
808
- type AppInstallSourceKind = "bundle" | "directory" | "registry";
809
- //#endregion
810
793
  //#region src/features/service-apps/controllers/service-apps.controller.d.ts
811
794
  declare class ServiceAppsRoutesController {
812
795
  private readonly params;
@@ -842,7 +825,7 @@ declare class ServiceAppsRoutesController {
842
825
  dataDirectory?: string | undefined;
843
826
  instanceId?: string | undefined;
844
827
  storage?: {
845
- layout: AppStorageLayout;
828
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
846
829
  layoutVersion: 1;
847
830
  instanceId: string;
848
831
  instanceDirectory: string;
@@ -853,7 +836,12 @@ declare class ServiceAppsRoutesController {
853
836
  temporaryDirectory: string;
854
837
  logsDirectory: string;
855
838
  } | undefined;
856
- isolation?: AppRuntimeIsolation | undefined;
839
+ isolation?: _$_nextclaw_app_runtime0.AppRuntimeIsolation | undefined;
840
+ }[];
841
+ diagnostics: {
842
+ appId: string;
843
+ stagedPath: string;
844
+ message: string;
857
845
  }[];
858
846
  };
859
847
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
@@ -882,7 +870,7 @@ declare class ServiceAppsRoutesController {
882
870
  dataDirectory?: string | undefined;
883
871
  instanceId?: string | undefined;
884
872
  storage?: {
885
- layout: AppStorageLayout;
873
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
886
874
  layoutVersion: 1;
887
875
  instanceId: string;
888
876
  instanceDirectory: string;
@@ -893,7 +881,7 @@ declare class ServiceAppsRoutesController {
893
881
  temporaryDirectory: string;
894
882
  logsDirectory: string;
895
883
  } | undefined;
896
- isolation?: AppRuntimeIsolation | undefined;
884
+ isolation?: _$_nextclaw_app_runtime0.AppRuntimeIsolation | undefined;
897
885
  };
898
886
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
899
887
  ok: boolean;
@@ -1088,7 +1076,7 @@ declare class ServiceAppsRoutesController {
1088
1076
  dataDirectory?: string | undefined;
1089
1077
  instanceId?: string | undefined;
1090
1078
  storage?: {
1091
- layout: AppStorageLayout;
1079
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
1092
1080
  layoutVersion: 1;
1093
1081
  instanceId: string;
1094
1082
  instanceDirectory: string;
@@ -1099,7 +1087,7 @@ declare class ServiceAppsRoutesController {
1099
1087
  temporaryDirectory: string;
1100
1088
  logsDirectory: string;
1101
1089
  } | undefined;
1102
- isolation?: AppRuntimeIsolation | undefined;
1090
+ isolation?: _$_nextclaw_app_runtime0.AppRuntimeIsolation | undefined;
1103
1091
  };
1104
1092
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
1105
1093
  ok: boolean;
@@ -3005,7 +2993,7 @@ declare class ConfigRoutesController {
3005
2993
  [x: string]: _$hono_utils_types0.JSONValue;
3006
2994
  } | undefined;
3007
2995
  };
3008
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
2996
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3009
2997
  ok: boolean;
3010
2998
  error: {
3011
2999
  code: string;
@@ -3014,7 +3002,7 @@ declare class ConfigRoutesController {
3014
3002
  [x: string]: _$hono_utils_types0.JSONValue;
3015
3003
  } | undefined;
3016
3004
  };
3017
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3005
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3018
3006
  ok: boolean;
3019
3007
  data: {
3020
3008
  providerId: string;
@@ -3118,7 +3106,7 @@ declare class ConfigRoutesController {
3118
3106
  [x: string]: _$hono_utils_types0.JSONValue;
3119
3107
  } | undefined;
3120
3108
  };
3121
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3109
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3122
3110
  ok: boolean;
3123
3111
  error: {
3124
3112
  code: string;
@@ -3127,7 +3115,7 @@ declare class ConfigRoutesController {
3127
3115
  [x: string]: _$hono_utils_types0.JSONValue;
3128
3116
  } | undefined;
3129
3117
  };
3130
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3118
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3131
3119
  ok: boolean;
3132
3120
  data: {
3133
3121
  success: boolean;
@@ -3146,7 +3134,7 @@ declare class ConfigRoutesController {
3146
3134
  [x: string]: _$hono_utils_types0.JSONValue;
3147
3135
  } | undefined;
3148
3136
  };
3149
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3137
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3150
3138
  ok: boolean;
3151
3139
  error: {
3152
3140
  code: string;
@@ -3155,7 +3143,7 @@ declare class ConfigRoutesController {
3155
3143
  [x: string]: _$hono_utils_types0.JSONValue;
3156
3144
  } | undefined;
3157
3145
  };
3158
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3146
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3159
3147
  ok: boolean;
3160
3148
  data: {
3161
3149
  provider: string;
@@ -3182,7 +3170,7 @@ declare class ConfigRoutesController {
3182
3170
  [x: string]: _$hono_utils_types0.JSONValue;
3183
3171
  } | undefined;
3184
3172
  };
3185
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3173
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3186
3174
  ok: boolean;
3187
3175
  error: {
3188
3176
  code: string;
@@ -3191,7 +3179,7 @@ declare class ConfigRoutesController {
3191
3179
  [x: string]: _$hono_utils_types0.JSONValue;
3192
3180
  } | undefined;
3193
3181
  };
3194
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3182
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3195
3183
  ok: boolean;
3196
3184
  data: {
3197
3185
  provider: string;
@@ -3214,7 +3202,7 @@ declare class ConfigRoutesController {
3214
3202
  [x: string]: _$hono_utils_types0.JSONValue;
3215
3203
  } | undefined;
3216
3204
  };
3217
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3205
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3218
3206
  ok: boolean;
3219
3207
  error: {
3220
3208
  code: string;
@@ -3223,7 +3211,7 @@ declare class ConfigRoutesController {
3223
3211
  [x: string]: _$hono_utils_types0.JSONValue;
3224
3212
  } | undefined;
3225
3213
  };
3226
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3214
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3227
3215
  ok: boolean;
3228
3216
  data: {
3229
3217
  provider: string;
@@ -3241,7 +3229,7 @@ declare class ConfigRoutesController {
3241
3229
  [x: string]: _$hono_utils_types0.JSONValue;
3242
3230
  } | undefined;
3243
3231
  };
3244
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3232
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3245
3233
  ok: boolean;
3246
3234
  error: {
3247
3235
  code: string;
@@ -3250,7 +3238,7 @@ declare class ConfigRoutesController {
3250
3238
  [x: string]: _$hono_utils_types0.JSONValue;
3251
3239
  } | undefined;
3252
3240
  };
3253
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3241
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3254
3242
  ok: boolean;
3255
3243
  data: {
3256
3244
  provider: string;
@@ -3268,7 +3256,7 @@ declare class ConfigRoutesController {
3268
3256
  [x: string]: _$hono_utils_types0.JSONValue;
3269
3257
  } | undefined;
3270
3258
  };
3271
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3259
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3272
3260
  ok: boolean;
3273
3261
  error: {
3274
3262
  code: string;
@@ -3277,7 +3265,7 @@ declare class ConfigRoutesController {
3277
3265
  [x: string]: _$hono_utils_types0.JSONValue;
3278
3266
  } | undefined;
3279
3267
  };
3280
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3268
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3281
3269
  ok: boolean;
3282
3270
  data: {
3283
3271
  [x: string]: _$hono_utils_types0.JSONValue;
@@ -3292,7 +3280,7 @@ declare class ConfigRoutesController {
3292
3280
  [x: string]: _$hono_utils_types0.JSONValue;
3293
3281
  } | undefined;
3294
3282
  };
3295
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3283
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3296
3284
  ok: boolean;
3297
3285
  error: {
3298
3286
  code: string;
@@ -3301,7 +3289,7 @@ declare class ConfigRoutesController {
3301
3289
  [x: string]: _$hono_utils_types0.JSONValue;
3302
3290
  } | undefined;
3303
3291
  };
3304
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3292
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3305
3293
  ok: boolean;
3306
3294
  data: {
3307
3295
  channel: string;
@@ -3323,7 +3311,7 @@ declare class ConfigRoutesController {
3323
3311
  [x: string]: _$hono_utils_types0.JSONValue;
3324
3312
  } | undefined;
3325
3313
  };
3326
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3314
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3327
3315
  ok: boolean;
3328
3316
  error: {
3329
3317
  code: string;
@@ -3332,7 +3320,7 @@ declare class ConfigRoutesController {
3332
3320
  [x: string]: _$hono_utils_types0.JSONValue;
3333
3321
  } | undefined;
3334
3322
  };
3335
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3323
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3336
3324
  ok: boolean;
3337
3325
  data: {
3338
3326
  channel: string;
@@ -3352,7 +3340,7 @@ declare class ConfigRoutesController {
3352
3340
  [x: string]: _$hono_utils_types0.JSONValue;
3353
3341
  } | undefined;
3354
3342
  };
3355
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3343
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3356
3344
  ok: boolean;
3357
3345
  error: {
3358
3346
  code: string;
@@ -3361,7 +3349,7 @@ declare class ConfigRoutesController {
3361
3349
  [x: string]: _$hono_utils_types0.JSONValue;
3362
3350
  } | undefined;
3363
3351
  };
3364
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3352
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3365
3353
  ok: boolean;
3366
3354
  data: {
3367
3355
  channel: string;
@@ -3627,7 +3615,7 @@ declare class AppPackagesRoutesController {
3627
3615
  dataDirectory: string;
3628
3616
  instanceId: string;
3629
3617
  storage: {
3630
- layout: AppStorageLayout;
3618
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
3631
3619
  layoutVersion: 1;
3632
3620
  instanceId: string;
3633
3621
  instanceDirectory: string;
@@ -3638,8 +3626,8 @@ declare class AppPackagesRoutesController {
3638
3626
  temporaryDirectory: string;
3639
3627
  logsDirectory: string;
3640
3628
  };
3641
- runtimeProfile: AppRuntimeProfile;
3642
- isolation: AppRuntimeIsolation;
3629
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3630
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
3643
3631
  title?: string | undefined;
3644
3632
  description?: string | undefined;
3645
3633
  icon?: string | undefined;
@@ -3653,7 +3641,7 @@ declare class AppPackagesRoutesController {
3653
3641
  dataDirectory: string;
3654
3642
  instanceId: string;
3655
3643
  storage: {
3656
- layout: AppStorageLayout;
3644
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
3657
3645
  layoutVersion: 1;
3658
3646
  instanceId: string;
3659
3647
  instanceDirectory: string;
@@ -3664,7 +3652,7 @@ declare class AppPackagesRoutesController {
3664
3652
  temporaryDirectory: string;
3665
3653
  logsDirectory: string;
3666
3654
  };
3667
- storageUsage: {
3655
+ storageUsage?: {
3668
3656
  dataBytes: number;
3669
3657
  configBytes: number;
3670
3658
  stateBytes: number;
@@ -3672,9 +3660,9 @@ declare class AppPackagesRoutesController {
3672
3660
  temporaryBytes: number;
3673
3661
  logsBytes: number;
3674
3662
  totalBytes: number;
3675
- };
3676
- runtimeProfile: AppRuntimeProfile;
3677
- isolation: AppRuntimeIsolation;
3663
+ } | undefined;
3664
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3665
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
3678
3666
  }[];
3679
3667
  };
3680
3668
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
@@ -3873,7 +3861,7 @@ declare class AppPackagesRoutesController {
3873
3861
  dataDirectory: string;
3874
3862
  instanceId: string;
3875
3863
  storage: {
3876
- layout: AppStorageLayout;
3864
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
3877
3865
  layoutVersion: 1;
3878
3866
  instanceId: string;
3879
3867
  instanceDirectory: string;
@@ -3884,8 +3872,8 @@ declare class AppPackagesRoutesController {
3884
3872
  temporaryDirectory: string;
3885
3873
  logsDirectory: string;
3886
3874
  };
3887
- runtimeProfile: AppRuntimeProfile;
3888
- isolation: AppRuntimeIsolation;
3875
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3876
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
3889
3877
  title?: string | undefined;
3890
3878
  description?: string | undefined;
3891
3879
  icon?: string | undefined;
@@ -3899,7 +3887,7 @@ declare class AppPackagesRoutesController {
3899
3887
  dataDirectory: string;
3900
3888
  instanceId: string;
3901
3889
  storage: {
3902
- layout: AppStorageLayout;
3890
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
3903
3891
  layoutVersion: 1;
3904
3892
  instanceId: string;
3905
3893
  instanceDirectory: string;
@@ -3910,7 +3898,7 @@ declare class AppPackagesRoutesController {
3910
3898
  temporaryDirectory: string;
3911
3899
  logsDirectory: string;
3912
3900
  };
3913
- storageUsage: {
3901
+ storageUsage?: {
3914
3902
  dataBytes: number;
3915
3903
  configBytes: number;
3916
3904
  stateBytes: number;
@@ -3918,9 +3906,9 @@ declare class AppPackagesRoutesController {
3918
3906
  temporaryBytes: number;
3919
3907
  logsBytes: number;
3920
3908
  totalBytes: number;
3921
- };
3922
- runtimeProfile: AppRuntimeProfile;
3923
- isolation: AppRuntimeIsolation;
3909
+ } | undefined;
3910
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3911
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
3924
3912
  };
3925
3913
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
3926
3914
  readonly install: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -3960,7 +3948,7 @@ declare class AppPackagesRoutesController {
3960
3948
  dataDirectory: string;
3961
3949
  instanceId: string;
3962
3950
  storage: {
3963
- layout: AppStorageLayout;
3951
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
3964
3952
  layoutVersion: 1;
3965
3953
  instanceId: string;
3966
3954
  instanceDirectory: string;
@@ -3971,8 +3959,8 @@ declare class AppPackagesRoutesController {
3971
3959
  temporaryDirectory: string;
3972
3960
  logsDirectory: string;
3973
3961
  };
3974
- runtimeProfile: AppRuntimeProfile;
3975
- isolation: AppRuntimeIsolation;
3962
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3963
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
3976
3964
  title?: string | undefined;
3977
3965
  description?: string | undefined;
3978
3966
  icon?: string | undefined;
@@ -3986,7 +3974,7 @@ declare class AppPackagesRoutesController {
3986
3974
  dataDirectory: string;
3987
3975
  instanceId: string;
3988
3976
  storage: {
3989
- layout: AppStorageLayout;
3977
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
3990
3978
  layoutVersion: 1;
3991
3979
  instanceId: string;
3992
3980
  instanceDirectory: string;
@@ -3997,7 +3985,7 @@ declare class AppPackagesRoutesController {
3997
3985
  temporaryDirectory: string;
3998
3986
  logsDirectory: string;
3999
3987
  };
4000
- storageUsage: {
3988
+ storageUsage?: {
4001
3989
  dataBytes: number;
4002
3990
  configBytes: number;
4003
3991
  stateBytes: number;
@@ -4005,9 +3993,9 @@ declare class AppPackagesRoutesController {
4005
3993
  temporaryBytes: number;
4006
3994
  logsBytes: number;
4007
3995
  totalBytes: number;
4008
- };
4009
- runtimeProfile: AppRuntimeProfile;
4010
- isolation: AppRuntimeIsolation;
3996
+ } | undefined;
3997
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
3998
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4011
3999
  };
4012
4000
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4013
4001
  readonly enable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -4047,7 +4035,7 @@ declare class AppPackagesRoutesController {
4047
4035
  dataDirectory: string;
4048
4036
  instanceId: string;
4049
4037
  storage: {
4050
- layout: AppStorageLayout;
4038
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4051
4039
  layoutVersion: 1;
4052
4040
  instanceId: string;
4053
4041
  instanceDirectory: string;
@@ -4058,8 +4046,8 @@ declare class AppPackagesRoutesController {
4058
4046
  temporaryDirectory: string;
4059
4047
  logsDirectory: string;
4060
4048
  };
4061
- runtimeProfile: AppRuntimeProfile;
4062
- isolation: AppRuntimeIsolation;
4049
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4050
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4063
4051
  title?: string | undefined;
4064
4052
  description?: string | undefined;
4065
4053
  icon?: string | undefined;
@@ -4073,7 +4061,7 @@ declare class AppPackagesRoutesController {
4073
4061
  dataDirectory: string;
4074
4062
  instanceId: string;
4075
4063
  storage: {
4076
- layout: AppStorageLayout;
4064
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4077
4065
  layoutVersion: 1;
4078
4066
  instanceId: string;
4079
4067
  instanceDirectory: string;
@@ -4084,7 +4072,7 @@ declare class AppPackagesRoutesController {
4084
4072
  temporaryDirectory: string;
4085
4073
  logsDirectory: string;
4086
4074
  };
4087
- storageUsage: {
4075
+ storageUsage?: {
4088
4076
  dataBytes: number;
4089
4077
  configBytes: number;
4090
4078
  stateBytes: number;
@@ -4092,9 +4080,9 @@ declare class AppPackagesRoutesController {
4092
4080
  temporaryBytes: number;
4093
4081
  logsBytes: number;
4094
4082
  totalBytes: number;
4095
- };
4096
- runtimeProfile: AppRuntimeProfile;
4097
- isolation: AppRuntimeIsolation;
4083
+ } | undefined;
4084
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4085
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4098
4086
  };
4099
4087
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4100
4088
  readonly disable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -4134,7 +4122,7 @@ declare class AppPackagesRoutesController {
4134
4122
  dataDirectory: string;
4135
4123
  instanceId: string;
4136
4124
  storage: {
4137
- layout: AppStorageLayout;
4125
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4138
4126
  layoutVersion: 1;
4139
4127
  instanceId: string;
4140
4128
  instanceDirectory: string;
@@ -4145,8 +4133,8 @@ declare class AppPackagesRoutesController {
4145
4133
  temporaryDirectory: string;
4146
4134
  logsDirectory: string;
4147
4135
  };
4148
- runtimeProfile: AppRuntimeProfile;
4149
- isolation: AppRuntimeIsolation;
4136
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4137
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4150
4138
  title?: string | undefined;
4151
4139
  description?: string | undefined;
4152
4140
  icon?: string | undefined;
@@ -4160,7 +4148,7 @@ declare class AppPackagesRoutesController {
4160
4148
  dataDirectory: string;
4161
4149
  instanceId: string;
4162
4150
  storage: {
4163
- layout: AppStorageLayout;
4151
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4164
4152
  layoutVersion: 1;
4165
4153
  instanceId: string;
4166
4154
  instanceDirectory: string;
@@ -4171,7 +4159,7 @@ declare class AppPackagesRoutesController {
4171
4159
  temporaryDirectory: string;
4172
4160
  logsDirectory: string;
4173
4161
  };
4174
- storageUsage: {
4162
+ storageUsage?: {
4175
4163
  dataBytes: number;
4176
4164
  configBytes: number;
4177
4165
  stateBytes: number;
@@ -4179,9 +4167,9 @@ declare class AppPackagesRoutesController {
4179
4167
  temporaryBytes: number;
4180
4168
  logsBytes: number;
4181
4169
  totalBytes: number;
4182
- };
4183
- runtimeProfile: AppRuntimeProfile;
4184
- isolation: AppRuntimeIsolation;
4170
+ } | undefined;
4171
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4172
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4185
4173
  };
4186
4174
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4187
4175
  readonly update: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -4222,7 +4210,7 @@ declare class AppPackagesRoutesController {
4222
4210
  dataDirectory: string;
4223
4211
  instanceId: string;
4224
4212
  storage: {
4225
- layout: AppStorageLayout;
4213
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4226
4214
  layoutVersion: 1;
4227
4215
  instanceId: string;
4228
4216
  instanceDirectory: string;
@@ -4233,8 +4221,8 @@ declare class AppPackagesRoutesController {
4233
4221
  temporaryDirectory: string;
4234
4222
  logsDirectory: string;
4235
4223
  };
4236
- runtimeProfile: AppRuntimeProfile;
4237
- isolation: AppRuntimeIsolation;
4224
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4225
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4238
4226
  title?: string | undefined;
4239
4227
  description?: string | undefined;
4240
4228
  icon?: string | undefined;
@@ -4248,7 +4236,7 @@ declare class AppPackagesRoutesController {
4248
4236
  dataDirectory: string;
4249
4237
  instanceId: string;
4250
4238
  storage: {
4251
- layout: AppStorageLayout;
4239
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4252
4240
  layoutVersion: 1;
4253
4241
  instanceId: string;
4254
4242
  instanceDirectory: string;
@@ -4259,7 +4247,7 @@ declare class AppPackagesRoutesController {
4259
4247
  temporaryDirectory: string;
4260
4248
  logsDirectory: string;
4261
4249
  };
4262
- storageUsage: {
4250
+ storageUsage?: {
4263
4251
  dataBytes: number;
4264
4252
  configBytes: number;
4265
4253
  stateBytes: number;
@@ -4267,9 +4255,9 @@ declare class AppPackagesRoutesController {
4267
4255
  temporaryBytes: number;
4268
4256
  logsBytes: number;
4269
4257
  totalBytes: number;
4270
- };
4271
- runtimeProfile: AppRuntimeProfile;
4272
- isolation: AppRuntimeIsolation;
4258
+ } | undefined;
4259
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4260
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4273
4261
  };
4274
4262
  result: {
4275
4263
  appId: string;
@@ -4281,7 +4269,7 @@ declare class AppPackagesRoutesController {
4281
4269
  id: string;
4282
4270
  publisherId?: string | undefined;
4283
4271
  storage: {
4284
- layout: AppStorageLayout;
4272
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4285
4273
  layoutVersion: 1;
4286
4274
  instanceId: string;
4287
4275
  instanceDirectory: string;
@@ -4297,13 +4285,13 @@ declare class AppPackagesRoutesController {
4297
4285
  migratedAt?: string | undefined;
4298
4286
  legacyDataDirectory?: string | undefined;
4299
4287
  };
4300
- sourceKind: AppInstallSourceKind;
4301
- distributionMode?: AppDistributionMode | undefined;
4288
+ sourceKind: _$_nextclaw_app_runtime0.AppInstallSourceKind;
4289
+ distributionMode?: _$_nextclaw_app_runtime0.AppDistributionMode | undefined;
4302
4290
  sourceRef: string;
4303
4291
  permissions: {
4304
4292
  documentAccess?: {
4305
4293
  id: string;
4306
- mode: AppDocumentAccessMode;
4294
+ mode: _$_nextclaw_app_runtime0.AppDocumentAccessMode;
4307
4295
  description?: string | undefined;
4308
4296
  }[] | undefined;
4309
4297
  allowedDomains?: string[] | undefined;
@@ -4326,7 +4314,7 @@ declare class AppPackagesRoutesController {
4326
4314
  enabled: boolean;
4327
4315
  manifestSchemaVersion: 1 | 2;
4328
4316
  components?: {
4329
- kind: AppComponentKind;
4317
+ kind: _$_nextclaw_app_runtime0.AppComponentKind;
4330
4318
  path: string;
4331
4319
  id: string;
4332
4320
  componentDirectory: string;
@@ -4376,7 +4364,7 @@ declare class AppPackagesRoutesController {
4376
4364
  dataDirectory: string;
4377
4365
  instanceId: string;
4378
4366
  storage: {
4379
- layout: AppStorageLayout;
4367
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4380
4368
  layoutVersion: 1;
4381
4369
  instanceId: string;
4382
4370
  instanceDirectory: string;
@@ -4387,8 +4375,8 @@ declare class AppPackagesRoutesController {
4387
4375
  temporaryDirectory: string;
4388
4376
  logsDirectory: string;
4389
4377
  };
4390
- runtimeProfile: AppRuntimeProfile;
4391
- isolation: AppRuntimeIsolation;
4378
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4379
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4392
4380
  title?: string | undefined;
4393
4381
  description?: string | undefined;
4394
4382
  icon?: string | undefined;
@@ -4402,7 +4390,7 @@ declare class AppPackagesRoutesController {
4402
4390
  dataDirectory: string;
4403
4391
  instanceId: string;
4404
4392
  storage: {
4405
- layout: AppStorageLayout;
4393
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4406
4394
  layoutVersion: 1;
4407
4395
  instanceId: string;
4408
4396
  instanceDirectory: string;
@@ -4413,7 +4401,7 @@ declare class AppPackagesRoutesController {
4413
4401
  temporaryDirectory: string;
4414
4402
  logsDirectory: string;
4415
4403
  };
4416
- storageUsage: {
4404
+ storageUsage?: {
4417
4405
  dataBytes: number;
4418
4406
  configBytes: number;
4419
4407
  stateBytes: number;
@@ -4421,9 +4409,9 @@ declare class AppPackagesRoutesController {
4421
4409
  temporaryBytes: number;
4422
4410
  logsBytes: number;
4423
4411
  totalBytes: number;
4424
- };
4425
- runtimeProfile: AppRuntimeProfile;
4426
- isolation: AppRuntimeIsolation;
4412
+ } | undefined;
4413
+ runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
4414
+ isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
4427
4415
  };
4428
4416
  result: {
4429
4417
  appId: string;
@@ -4470,7 +4458,7 @@ declare class AppDataRoutesController {
4470
4458
  source: _$_nextclaw_kernel0.AppDataSource;
4471
4459
  lifecycle: _$_nextclaw_kernel0.AppDataLifecycle;
4472
4460
  storage: {
4473
- layout: AppStorageLayout;
4461
+ layout: _$_nextclaw_app_runtime0.AppStorageLayout;
4474
4462
  layoutVersion: 1;
4475
4463
  instanceId: string;
4476
4464
  instanceDirectory: string;