@nextclaw/server 0.17.1 → 0.17.3
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 +208 -100
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
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:
|
|
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?:
|
|
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:
|
|
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?:
|
|
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:
|
|
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?:
|
|
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">)
|
|
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: {
|
|
@@ -3021,7 +3129,7 @@ declare class ConfigRoutesController {
|
|
|
3021
3129
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3022
3130
|
} | undefined;
|
|
3023
3131
|
};
|
|
3024
|
-
},
|
|
3132
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3025
3133
|
ok: boolean;
|
|
3026
3134
|
error: {
|
|
3027
3135
|
code: string;
|
|
@@ -3030,7 +3138,7 @@ declare class ConfigRoutesController {
|
|
|
3030
3138
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3031
3139
|
} | undefined;
|
|
3032
3140
|
};
|
|
3033
|
-
},
|
|
3141
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3034
3142
|
ok: boolean;
|
|
3035
3143
|
data: {
|
|
3036
3144
|
providerId: string;
|
|
@@ -3134,7 +3242,7 @@ declare class ConfigRoutesController {
|
|
|
3134
3242
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3135
3243
|
} | undefined;
|
|
3136
3244
|
};
|
|
3137
|
-
},
|
|
3245
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3138
3246
|
ok: boolean;
|
|
3139
3247
|
error: {
|
|
3140
3248
|
code: string;
|
|
@@ -3143,7 +3251,7 @@ declare class ConfigRoutesController {
|
|
|
3143
3251
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3144
3252
|
} | undefined;
|
|
3145
3253
|
};
|
|
3146
|
-
},
|
|
3254
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3147
3255
|
ok: boolean;
|
|
3148
3256
|
data: {
|
|
3149
3257
|
success: boolean;
|
|
@@ -3162,7 +3270,7 @@ declare class ConfigRoutesController {
|
|
|
3162
3270
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3163
3271
|
} | undefined;
|
|
3164
3272
|
};
|
|
3165
|
-
},
|
|
3273
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3166
3274
|
ok: boolean;
|
|
3167
3275
|
error: {
|
|
3168
3276
|
code: string;
|
|
@@ -3171,7 +3279,7 @@ declare class ConfigRoutesController {
|
|
|
3171
3279
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3172
3280
|
} | undefined;
|
|
3173
3281
|
};
|
|
3174
|
-
},
|
|
3282
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3175
3283
|
ok: boolean;
|
|
3176
3284
|
data: {
|
|
3177
3285
|
provider: string;
|
|
@@ -3198,7 +3306,7 @@ declare class ConfigRoutesController {
|
|
|
3198
3306
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3199
3307
|
} | undefined;
|
|
3200
3308
|
};
|
|
3201
|
-
},
|
|
3309
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3202
3310
|
ok: boolean;
|
|
3203
3311
|
error: {
|
|
3204
3312
|
code: string;
|
|
@@ -3207,7 +3315,7 @@ declare class ConfigRoutesController {
|
|
|
3207
3315
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3208
3316
|
} | undefined;
|
|
3209
3317
|
};
|
|
3210
|
-
},
|
|
3318
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3211
3319
|
ok: boolean;
|
|
3212
3320
|
data: {
|
|
3213
3321
|
provider: string;
|
|
@@ -3230,7 +3338,7 @@ declare class ConfigRoutesController {
|
|
|
3230
3338
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3231
3339
|
} | undefined;
|
|
3232
3340
|
};
|
|
3233
|
-
},
|
|
3341
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3234
3342
|
ok: boolean;
|
|
3235
3343
|
error: {
|
|
3236
3344
|
code: string;
|
|
@@ -3239,7 +3347,7 @@ declare class ConfigRoutesController {
|
|
|
3239
3347
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3240
3348
|
} | undefined;
|
|
3241
3349
|
};
|
|
3242
|
-
},
|
|
3350
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3243
3351
|
ok: boolean;
|
|
3244
3352
|
data: {
|
|
3245
3353
|
provider: string;
|
|
@@ -3257,7 +3365,7 @@ declare class ConfigRoutesController {
|
|
|
3257
3365
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3258
3366
|
} | undefined;
|
|
3259
3367
|
};
|
|
3260
|
-
},
|
|
3368
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3261
3369
|
ok: boolean;
|
|
3262
3370
|
error: {
|
|
3263
3371
|
code: string;
|
|
@@ -3266,7 +3374,7 @@ declare class ConfigRoutesController {
|
|
|
3266
3374
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3267
3375
|
} | undefined;
|
|
3268
3376
|
};
|
|
3269
|
-
},
|
|
3377
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3270
3378
|
ok: boolean;
|
|
3271
3379
|
data: {
|
|
3272
3380
|
provider: string;
|
|
@@ -3284,7 +3392,7 @@ declare class ConfigRoutesController {
|
|
|
3284
3392
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3285
3393
|
} | undefined;
|
|
3286
3394
|
};
|
|
3287
|
-
},
|
|
3395
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3288
3396
|
ok: boolean;
|
|
3289
3397
|
error: {
|
|
3290
3398
|
code: string;
|
|
@@ -3293,7 +3401,7 @@ declare class ConfigRoutesController {
|
|
|
3293
3401
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3294
3402
|
} | undefined;
|
|
3295
3403
|
};
|
|
3296
|
-
},
|
|
3404
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3297
3405
|
ok: boolean;
|
|
3298
3406
|
data: {
|
|
3299
3407
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
@@ -3308,7 +3416,7 @@ declare class ConfigRoutesController {
|
|
|
3308
3416
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3309
3417
|
} | undefined;
|
|
3310
3418
|
};
|
|
3311
|
-
},
|
|
3419
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3312
3420
|
ok: boolean;
|
|
3313
3421
|
error: {
|
|
3314
3422
|
code: string;
|
|
@@ -3317,7 +3425,7 @@ declare class ConfigRoutesController {
|
|
|
3317
3425
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3318
3426
|
} | undefined;
|
|
3319
3427
|
};
|
|
3320
|
-
},
|
|
3428
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3321
3429
|
ok: boolean;
|
|
3322
3430
|
data: {
|
|
3323
3431
|
channel: string;
|
|
@@ -3339,7 +3447,7 @@ declare class ConfigRoutesController {
|
|
|
3339
3447
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3340
3448
|
} | undefined;
|
|
3341
3449
|
};
|
|
3342
|
-
},
|
|
3450
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3343
3451
|
ok: boolean;
|
|
3344
3452
|
error: {
|
|
3345
3453
|
code: string;
|
|
@@ -3348,7 +3456,7 @@ declare class ConfigRoutesController {
|
|
|
3348
3456
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3349
3457
|
} | undefined;
|
|
3350
3458
|
};
|
|
3351
|
-
},
|
|
3459
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3352
3460
|
ok: boolean;
|
|
3353
3461
|
data: {
|
|
3354
3462
|
channel: string;
|
|
@@ -3368,7 +3476,7 @@ declare class ConfigRoutesController {
|
|
|
3368
3476
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3369
3477
|
} | undefined;
|
|
3370
3478
|
};
|
|
3371
|
-
},
|
|
3479
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3372
3480
|
ok: boolean;
|
|
3373
3481
|
error: {
|
|
3374
3482
|
code: string;
|
|
@@ -3377,7 +3485,7 @@ declare class ConfigRoutesController {
|
|
|
3377
3485
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3378
3486
|
} | undefined;
|
|
3379
3487
|
};
|
|
3380
|
-
},
|
|
3488
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3381
3489
|
ok: boolean;
|
|
3382
3490
|
data: {
|
|
3383
3491
|
channel: string;
|
|
@@ -3660,7 +3768,7 @@ declare class AppPackagesRoutesController {
|
|
|
3660
3768
|
dataDirectory: string;
|
|
3661
3769
|
instanceId: string;
|
|
3662
3770
|
storage: {
|
|
3663
|
-
layout:
|
|
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:
|
|
3675
|
-
isolation:
|
|
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:
|
|
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:
|
|
3710
|
-
isolation:
|
|
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:
|
|
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:
|
|
3927
|
-
isolation:
|
|
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:
|
|
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:
|
|
3962
|
-
isolation:
|
|
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:
|
|
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:
|
|
4014
|
-
isolation:
|
|
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:
|
|
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:
|
|
4049
|
-
isolation:
|
|
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:
|
|
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:
|
|
4101
|
-
isolation:
|
|
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:
|
|
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:
|
|
4136
|
-
isolation:
|
|
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:
|
|
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:
|
|
4188
|
-
isolation:
|
|
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:
|
|
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:
|
|
4223
|
-
isolation:
|
|
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:
|
|
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:
|
|
4276
|
-
isolation:
|
|
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:
|
|
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:
|
|
4311
|
-
isolation:
|
|
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:
|
|
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:
|
|
4340
|
-
distributionMode?:
|
|
4447
|
+
sourceKind: AppInstallSourceKind;
|
|
4448
|
+
distributionMode?: AppDistributionMode | undefined;
|
|
4341
4449
|
sourceRef: string;
|
|
4342
4450
|
permissions: {
|
|
4343
4451
|
documentAccess?: {
|
|
4344
4452
|
id: string;
|
|
4345
|
-
mode:
|
|
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:
|
|
4473
|
+
arch: AppArtifactArchitecture;
|
|
4366
4474
|
} | {
|
|
4367
4475
|
kind: "native";
|
|
4368
4476
|
os: "linux";
|
|
4369
|
-
arch:
|
|
4477
|
+
arch: AppArtifactArchitecture;
|
|
4370
4478
|
abi: "gnu" | "musl";
|
|
4371
4479
|
} | {
|
|
4372
4480
|
kind: "native";
|
|
4373
4481
|
os: "win32";
|
|
4374
|
-
arch:
|
|
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:
|
|
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:
|
|
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:
|
|
4447
|
-
isolation:
|
|
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:
|
|
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:
|
|
4482
|
-
isolation:
|
|
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:
|
|
4637
|
+
layout: AppStorageLayout;
|
|
4530
4638
|
layoutVersion: 1;
|
|
4531
4639
|
instanceId: string;
|
|
4532
4640
|
instanceDirectory: string;
|
|
@@ -4611,15 +4719,6 @@ declare class InboxDeliveriesRoutesController {
|
|
|
4611
4719
|
};
|
|
4612
4720
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
4613
4721
|
readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4614
|
-
ok: boolean;
|
|
4615
|
-
error: {
|
|
4616
|
-
code: string;
|
|
4617
|
-
message: string;
|
|
4618
|
-
details: {
|
|
4619
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4620
|
-
} | undefined;
|
|
4621
|
-
};
|
|
4622
|
-
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
4623
4722
|
ok: boolean;
|
|
4624
4723
|
data: {
|
|
4625
4724
|
id: string;
|
|
@@ -4640,7 +4739,16 @@ declare class InboxDeliveriesRoutesController {
|
|
|
4640
4739
|
readAt: string | null;
|
|
4641
4740
|
archivedAt: string | null;
|
|
4642
4741
|
};
|
|
4643
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)
|
|
4742
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
4743
|
+
ok: boolean;
|
|
4744
|
+
error: {
|
|
4745
|
+
code: string;
|
|
4746
|
+
message: string;
|
|
4747
|
+
details: {
|
|
4748
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4749
|
+
} | undefined;
|
|
4750
|
+
};
|
|
4751
|
+
}, 404, "json">)>;
|
|
4644
4752
|
readonly updateState: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4645
4753
|
ok: boolean;
|
|
4646
4754
|
data: _$hono_utils_types0.JSONValue;
|