@nextclaw/server 0.15.29 → 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 +195 -137
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +39 -5
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _$hono from "hono";
|
|
2
2
|
import { Context, Hono } from "hono";
|
|
3
3
|
import * as _$_nextclaw_kernel0 from "@nextclaw/kernel";
|
|
4
|
-
import { AccessManager, AppPackageList, AppPackageManager, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationStatus, AppPackageOperationView, AppPackageView, InboxDeliveryManager, NextclawKernel, PanelAppAgentCapability, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppClientGrant, PanelAppEntry, PanelAppList, PanelAppManager, PanelAppPreferencesUpdate, PreferenceJsonValue, PreferenceManager, ProjectRecord, ProjectTemplate, ProjectTemplateId, ServiceAction, ServiceActionGrant, ServiceActionInvokeResult, ServiceAppDeleteResult, ServiceAppList, ServiceAppManager, ServiceAppRecord } from "@nextclaw/kernel";
|
|
4
|
+
import { AccessManager, AppDataDeleteResult, AppDataEntry, AppDataList, AppDataManager, AppPackageList, AppPackageManager, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationStatus, AppPackageOperationView, AppPackageView, InboxDeliveryManager, NextclawKernel, PanelAppAgentCapability, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppClientGrant, PanelAppEntry, PanelAppList, PanelAppManager, PanelAppPreferencesUpdate, PreferenceJsonValue, PreferenceManager, ProjectRecord, ProjectTemplate, ProjectTemplateId, ServiceAction, ServiceActionGrant, ServiceActionInvokeResult, ServiceAppDeleteResult, ServiceAppList, ServiceAppManager, ServiceAppRecord } from "@nextclaw/kernel";
|
|
5
5
|
import { FSWatcher } from "node:fs";
|
|
6
6
|
import * as NextclawCore from "@nextclaw/core";
|
|
7
7
|
import { Config, ConfigActionExecuteRequest as ConfigActionExecuteRequest$1, ConfigActionExecuteResult as ConfigActionExecuteResult$1, ExtensionChannelBinding, ExtensionUiMetadata, ModelThinkingCapability, ThinkingLevel } from "@nextclaw/core";
|
|
@@ -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;
|
|
@@ -1125,6 +1113,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1125
1113
|
data: {
|
|
1126
1114
|
deleted: true;
|
|
1127
1115
|
id: string;
|
|
1116
|
+
dataRemoved: boolean;
|
|
1128
1117
|
};
|
|
1129
1118
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1130
1119
|
private requireBridgeSession;
|
|
@@ -2351,7 +2340,7 @@ type UiExtensionHost = {
|
|
|
2351
2340
|
getRuntimeStatus?: () => ReturnType<NextclawKernel["extensions"]["getRuntimeStatus"]>;
|
|
2352
2341
|
getUiMetadata: () => ExtensionUiMetadata[];
|
|
2353
2342
|
};
|
|
2354
|
-
type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "systemObjectReferenceManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "appPackageManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
|
|
2343
|
+
type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "systemObjectReferenceManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "appPackageManager" | "appDataManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
|
|
2355
2344
|
accessManager?: NextclawKernel["accessManager"];
|
|
2356
2345
|
};
|
|
2357
2346
|
type UiCronHost = {
|
|
@@ -3004,7 +2993,7 @@ declare class ConfigRoutesController {
|
|
|
3004
2993
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3005
2994
|
} | undefined;
|
|
3006
2995
|
};
|
|
3007
|
-
},
|
|
2996
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3008
2997
|
ok: boolean;
|
|
3009
2998
|
error: {
|
|
3010
2999
|
code: string;
|
|
@@ -3013,7 +3002,7 @@ declare class ConfigRoutesController {
|
|
|
3013
3002
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3014
3003
|
} | undefined;
|
|
3015
3004
|
};
|
|
3016
|
-
},
|
|
3005
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3017
3006
|
ok: boolean;
|
|
3018
3007
|
data: {
|
|
3019
3008
|
providerId: string;
|
|
@@ -3117,7 +3106,7 @@ declare class ConfigRoutesController {
|
|
|
3117
3106
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3118
3107
|
} | undefined;
|
|
3119
3108
|
};
|
|
3120
|
-
},
|
|
3109
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3121
3110
|
ok: boolean;
|
|
3122
3111
|
error: {
|
|
3123
3112
|
code: string;
|
|
@@ -3126,7 +3115,7 @@ declare class ConfigRoutesController {
|
|
|
3126
3115
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3127
3116
|
} | undefined;
|
|
3128
3117
|
};
|
|
3129
|
-
},
|
|
3118
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3130
3119
|
ok: boolean;
|
|
3131
3120
|
data: {
|
|
3132
3121
|
success: boolean;
|
|
@@ -3145,7 +3134,7 @@ declare class ConfigRoutesController {
|
|
|
3145
3134
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3146
3135
|
} | undefined;
|
|
3147
3136
|
};
|
|
3148
|
-
},
|
|
3137
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3149
3138
|
ok: boolean;
|
|
3150
3139
|
error: {
|
|
3151
3140
|
code: string;
|
|
@@ -3154,7 +3143,7 @@ declare class ConfigRoutesController {
|
|
|
3154
3143
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3155
3144
|
} | undefined;
|
|
3156
3145
|
};
|
|
3157
|
-
},
|
|
3146
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3158
3147
|
ok: boolean;
|
|
3159
3148
|
data: {
|
|
3160
3149
|
provider: string;
|
|
@@ -3181,7 +3170,7 @@ declare class ConfigRoutesController {
|
|
|
3181
3170
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3182
3171
|
} | undefined;
|
|
3183
3172
|
};
|
|
3184
|
-
},
|
|
3173
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3185
3174
|
ok: boolean;
|
|
3186
3175
|
error: {
|
|
3187
3176
|
code: string;
|
|
@@ -3190,7 +3179,7 @@ declare class ConfigRoutesController {
|
|
|
3190
3179
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3191
3180
|
} | undefined;
|
|
3192
3181
|
};
|
|
3193
|
-
},
|
|
3182
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3194
3183
|
ok: boolean;
|
|
3195
3184
|
data: {
|
|
3196
3185
|
provider: string;
|
|
@@ -3213,7 +3202,7 @@ declare class ConfigRoutesController {
|
|
|
3213
3202
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3214
3203
|
} | undefined;
|
|
3215
3204
|
};
|
|
3216
|
-
},
|
|
3205
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3217
3206
|
ok: boolean;
|
|
3218
3207
|
error: {
|
|
3219
3208
|
code: string;
|
|
@@ -3222,7 +3211,7 @@ declare class ConfigRoutesController {
|
|
|
3222
3211
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3223
3212
|
} | undefined;
|
|
3224
3213
|
};
|
|
3225
|
-
},
|
|
3214
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3226
3215
|
ok: boolean;
|
|
3227
3216
|
data: {
|
|
3228
3217
|
provider: string;
|
|
@@ -3240,7 +3229,7 @@ declare class ConfigRoutesController {
|
|
|
3240
3229
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3241
3230
|
} | undefined;
|
|
3242
3231
|
};
|
|
3243
|
-
},
|
|
3232
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3244
3233
|
ok: boolean;
|
|
3245
3234
|
error: {
|
|
3246
3235
|
code: string;
|
|
@@ -3249,7 +3238,7 @@ declare class ConfigRoutesController {
|
|
|
3249
3238
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3250
3239
|
} | undefined;
|
|
3251
3240
|
};
|
|
3252
|
-
},
|
|
3241
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3253
3242
|
ok: boolean;
|
|
3254
3243
|
data: {
|
|
3255
3244
|
provider: string;
|
|
@@ -3267,7 +3256,7 @@ declare class ConfigRoutesController {
|
|
|
3267
3256
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3268
3257
|
} | undefined;
|
|
3269
3258
|
};
|
|
3270
|
-
},
|
|
3259
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3271
3260
|
ok: boolean;
|
|
3272
3261
|
error: {
|
|
3273
3262
|
code: string;
|
|
@@ -3276,7 +3265,7 @@ declare class ConfigRoutesController {
|
|
|
3276
3265
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3277
3266
|
} | undefined;
|
|
3278
3267
|
};
|
|
3279
|
-
},
|
|
3268
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3280
3269
|
ok: boolean;
|
|
3281
3270
|
data: {
|
|
3282
3271
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
@@ -3291,7 +3280,7 @@ declare class ConfigRoutesController {
|
|
|
3291
3280
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3292
3281
|
} | undefined;
|
|
3293
3282
|
};
|
|
3294
|
-
},
|
|
3283
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3295
3284
|
ok: boolean;
|
|
3296
3285
|
error: {
|
|
3297
3286
|
code: string;
|
|
@@ -3300,7 +3289,7 @@ declare class ConfigRoutesController {
|
|
|
3300
3289
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3301
3290
|
} | undefined;
|
|
3302
3291
|
};
|
|
3303
|
-
},
|
|
3292
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3304
3293
|
ok: boolean;
|
|
3305
3294
|
data: {
|
|
3306
3295
|
channel: string;
|
|
@@ -3322,7 +3311,7 @@ declare class ConfigRoutesController {
|
|
|
3322
3311
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3323
3312
|
} | undefined;
|
|
3324
3313
|
};
|
|
3325
|
-
},
|
|
3314
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3326
3315
|
ok: boolean;
|
|
3327
3316
|
error: {
|
|
3328
3317
|
code: string;
|
|
@@ -3331,7 +3320,7 @@ declare class ConfigRoutesController {
|
|
|
3331
3320
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3332
3321
|
} | undefined;
|
|
3333
3322
|
};
|
|
3334
|
-
},
|
|
3323
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3335
3324
|
ok: boolean;
|
|
3336
3325
|
data: {
|
|
3337
3326
|
channel: string;
|
|
@@ -3351,7 +3340,7 @@ declare class ConfigRoutesController {
|
|
|
3351
3340
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3352
3341
|
} | undefined;
|
|
3353
3342
|
};
|
|
3354
|
-
},
|
|
3343
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3355
3344
|
ok: boolean;
|
|
3356
3345
|
error: {
|
|
3357
3346
|
code: string;
|
|
@@ -3360,7 +3349,7 @@ declare class ConfigRoutesController {
|
|
|
3360
3349
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3361
3350
|
} | undefined;
|
|
3362
3351
|
};
|
|
3363
|
-
},
|
|
3352
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3364
3353
|
ok: boolean;
|
|
3365
3354
|
data: {
|
|
3366
3355
|
channel: string;
|
|
@@ -3626,7 +3615,7 @@ declare class AppPackagesRoutesController {
|
|
|
3626
3615
|
dataDirectory: string;
|
|
3627
3616
|
instanceId: string;
|
|
3628
3617
|
storage: {
|
|
3629
|
-
layout: AppStorageLayout;
|
|
3618
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
3630
3619
|
layoutVersion: 1;
|
|
3631
3620
|
instanceId: string;
|
|
3632
3621
|
instanceDirectory: string;
|
|
@@ -3637,8 +3626,8 @@ declare class AppPackagesRoutesController {
|
|
|
3637
3626
|
temporaryDirectory: string;
|
|
3638
3627
|
logsDirectory: string;
|
|
3639
3628
|
};
|
|
3640
|
-
runtimeProfile: AppRuntimeProfile;
|
|
3641
|
-
isolation: AppRuntimeIsolation;
|
|
3629
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
3630
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
3642
3631
|
title?: string | undefined;
|
|
3643
3632
|
description?: string | undefined;
|
|
3644
3633
|
icon?: string | undefined;
|
|
@@ -3652,7 +3641,7 @@ declare class AppPackagesRoutesController {
|
|
|
3652
3641
|
dataDirectory: string;
|
|
3653
3642
|
instanceId: string;
|
|
3654
3643
|
storage: {
|
|
3655
|
-
layout: AppStorageLayout;
|
|
3644
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
3656
3645
|
layoutVersion: 1;
|
|
3657
3646
|
instanceId: string;
|
|
3658
3647
|
instanceDirectory: string;
|
|
@@ -3663,7 +3652,7 @@ declare class AppPackagesRoutesController {
|
|
|
3663
3652
|
temporaryDirectory: string;
|
|
3664
3653
|
logsDirectory: string;
|
|
3665
3654
|
};
|
|
3666
|
-
storageUsage
|
|
3655
|
+
storageUsage?: {
|
|
3667
3656
|
dataBytes: number;
|
|
3668
3657
|
configBytes: number;
|
|
3669
3658
|
stateBytes: number;
|
|
@@ -3671,9 +3660,9 @@ declare class AppPackagesRoutesController {
|
|
|
3671
3660
|
temporaryBytes: number;
|
|
3672
3661
|
logsBytes: number;
|
|
3673
3662
|
totalBytes: number;
|
|
3674
|
-
};
|
|
3675
|
-
runtimeProfile: AppRuntimeProfile;
|
|
3676
|
-
isolation: AppRuntimeIsolation;
|
|
3663
|
+
} | undefined;
|
|
3664
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
3665
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
3677
3666
|
}[];
|
|
3678
3667
|
};
|
|
3679
3668
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
@@ -3704,6 +3693,15 @@ declare class AppPackagesRoutesController {
|
|
|
3704
3693
|
};
|
|
3705
3694
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
3706
3695
|
readonly startInstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3696
|
+
ok: boolean;
|
|
3697
|
+
error: {
|
|
3698
|
+
code: string;
|
|
3699
|
+
message: string;
|
|
3700
|
+
details: {
|
|
3701
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3702
|
+
} | undefined;
|
|
3703
|
+
};
|
|
3704
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
3707
3705
|
ok: boolean;
|
|
3708
3706
|
data: {
|
|
3709
3707
|
id: string;
|
|
@@ -3726,7 +3724,8 @@ declare class AppPackagesRoutesController {
|
|
|
3726
3724
|
dataRemoved?: boolean | undefined;
|
|
3727
3725
|
} | undefined;
|
|
3728
3726
|
};
|
|
3729
|
-
}, 202, "json">)
|
|
3727
|
+
}, 202, "json">)>;
|
|
3728
|
+
readonly startUpdateOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3730
3729
|
ok: boolean;
|
|
3731
3730
|
error: {
|
|
3732
3731
|
code: string;
|
|
@@ -3735,8 +3734,7 @@ declare class AppPackagesRoutesController {
|
|
|
3735
3734
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3736
3735
|
} | undefined;
|
|
3737
3736
|
};
|
|
3738
|
-
}, 400 | 404 | 409, "json">)
|
|
3739
|
-
readonly startUpdateOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3737
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
3740
3738
|
ok: boolean;
|
|
3741
3739
|
data: {
|
|
3742
3740
|
id: string;
|
|
@@ -3759,7 +3757,8 @@ declare class AppPackagesRoutesController {
|
|
|
3759
3757
|
dataRemoved?: boolean | undefined;
|
|
3760
3758
|
} | undefined;
|
|
3761
3759
|
};
|
|
3762
|
-
}, 202, "json">)
|
|
3760
|
+
}, 202, "json">)>;
|
|
3761
|
+
readonly startRollbackOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3763
3762
|
ok: boolean;
|
|
3764
3763
|
error: {
|
|
3765
3764
|
code: string;
|
|
@@ -3768,8 +3767,7 @@ declare class AppPackagesRoutesController {
|
|
|
3768
3767
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3769
3768
|
} | undefined;
|
|
3770
3769
|
};
|
|
3771
|
-
}, 400 | 404 | 409, "json">)
|
|
3772
|
-
readonly startRollbackOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3770
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
3773
3771
|
ok: boolean;
|
|
3774
3772
|
data: {
|
|
3775
3773
|
id: string;
|
|
@@ -3792,7 +3790,8 @@ declare class AppPackagesRoutesController {
|
|
|
3792
3790
|
dataRemoved?: boolean | undefined;
|
|
3793
3791
|
} | undefined;
|
|
3794
3792
|
};
|
|
3795
|
-
}, 202, "json">)
|
|
3793
|
+
}, 202, "json">)>;
|
|
3794
|
+
readonly startUninstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3796
3795
|
ok: boolean;
|
|
3797
3796
|
error: {
|
|
3798
3797
|
code: string;
|
|
@@ -3801,8 +3800,7 @@ declare class AppPackagesRoutesController {
|
|
|
3801
3800
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3802
3801
|
} | undefined;
|
|
3803
3802
|
};
|
|
3804
|
-
}, 400 | 404 | 409, "json">)
|
|
3805
|
-
readonly startUninstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3803
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
3806
3804
|
ok: boolean;
|
|
3807
3805
|
data: {
|
|
3808
3806
|
id: string;
|
|
@@ -3825,16 +3823,7 @@ declare class AppPackagesRoutesController {
|
|
|
3825
3823
|
dataRemoved?: boolean | undefined;
|
|
3826
3824
|
} | undefined;
|
|
3827
3825
|
};
|
|
3828
|
-
}, 202, "json">)
|
|
3829
|
-
ok: boolean;
|
|
3830
|
-
error: {
|
|
3831
|
-
code: string;
|
|
3832
|
-
message: string;
|
|
3833
|
-
details: {
|
|
3834
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3835
|
-
} | undefined;
|
|
3836
|
-
};
|
|
3837
|
-
}, 400 | 404 | 409, "json">)>;
|
|
3826
|
+
}, 202, "json">)>;
|
|
3838
3827
|
readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3839
3828
|
ok: boolean;
|
|
3840
3829
|
error: {
|
|
@@ -3872,7 +3861,7 @@ declare class AppPackagesRoutesController {
|
|
|
3872
3861
|
dataDirectory: string;
|
|
3873
3862
|
instanceId: string;
|
|
3874
3863
|
storage: {
|
|
3875
|
-
layout: AppStorageLayout;
|
|
3864
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
3876
3865
|
layoutVersion: 1;
|
|
3877
3866
|
instanceId: string;
|
|
3878
3867
|
instanceDirectory: string;
|
|
@@ -3883,8 +3872,8 @@ declare class AppPackagesRoutesController {
|
|
|
3883
3872
|
temporaryDirectory: string;
|
|
3884
3873
|
logsDirectory: string;
|
|
3885
3874
|
};
|
|
3886
|
-
runtimeProfile: AppRuntimeProfile;
|
|
3887
|
-
isolation: AppRuntimeIsolation;
|
|
3875
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
3876
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
3888
3877
|
title?: string | undefined;
|
|
3889
3878
|
description?: string | undefined;
|
|
3890
3879
|
icon?: string | undefined;
|
|
@@ -3898,7 +3887,7 @@ declare class AppPackagesRoutesController {
|
|
|
3898
3887
|
dataDirectory: string;
|
|
3899
3888
|
instanceId: string;
|
|
3900
3889
|
storage: {
|
|
3901
|
-
layout: AppStorageLayout;
|
|
3890
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
3902
3891
|
layoutVersion: 1;
|
|
3903
3892
|
instanceId: string;
|
|
3904
3893
|
instanceDirectory: string;
|
|
@@ -3909,7 +3898,7 @@ declare class AppPackagesRoutesController {
|
|
|
3909
3898
|
temporaryDirectory: string;
|
|
3910
3899
|
logsDirectory: string;
|
|
3911
3900
|
};
|
|
3912
|
-
storageUsage
|
|
3901
|
+
storageUsage?: {
|
|
3913
3902
|
dataBytes: number;
|
|
3914
3903
|
configBytes: number;
|
|
3915
3904
|
stateBytes: number;
|
|
@@ -3917,9 +3906,9 @@ declare class AppPackagesRoutesController {
|
|
|
3917
3906
|
temporaryBytes: number;
|
|
3918
3907
|
logsBytes: number;
|
|
3919
3908
|
totalBytes: number;
|
|
3920
|
-
};
|
|
3921
|
-
runtimeProfile: AppRuntimeProfile;
|
|
3922
|
-
isolation: AppRuntimeIsolation;
|
|
3909
|
+
} | undefined;
|
|
3910
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
3911
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
3923
3912
|
};
|
|
3924
3913
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3925
3914
|
readonly install: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
@@ -3959,7 +3948,7 @@ declare class AppPackagesRoutesController {
|
|
|
3959
3948
|
dataDirectory: string;
|
|
3960
3949
|
instanceId: string;
|
|
3961
3950
|
storage: {
|
|
3962
|
-
layout: AppStorageLayout;
|
|
3951
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
3963
3952
|
layoutVersion: 1;
|
|
3964
3953
|
instanceId: string;
|
|
3965
3954
|
instanceDirectory: string;
|
|
@@ -3970,8 +3959,8 @@ declare class AppPackagesRoutesController {
|
|
|
3970
3959
|
temporaryDirectory: string;
|
|
3971
3960
|
logsDirectory: string;
|
|
3972
3961
|
};
|
|
3973
|
-
runtimeProfile: AppRuntimeProfile;
|
|
3974
|
-
isolation: AppRuntimeIsolation;
|
|
3962
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
3963
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
3975
3964
|
title?: string | undefined;
|
|
3976
3965
|
description?: string | undefined;
|
|
3977
3966
|
icon?: string | undefined;
|
|
@@ -3985,7 +3974,7 @@ declare class AppPackagesRoutesController {
|
|
|
3985
3974
|
dataDirectory: string;
|
|
3986
3975
|
instanceId: string;
|
|
3987
3976
|
storage: {
|
|
3988
|
-
layout: AppStorageLayout;
|
|
3977
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
3989
3978
|
layoutVersion: 1;
|
|
3990
3979
|
instanceId: string;
|
|
3991
3980
|
instanceDirectory: string;
|
|
@@ -3996,7 +3985,7 @@ declare class AppPackagesRoutesController {
|
|
|
3996
3985
|
temporaryDirectory: string;
|
|
3997
3986
|
logsDirectory: string;
|
|
3998
3987
|
};
|
|
3999
|
-
storageUsage
|
|
3988
|
+
storageUsage?: {
|
|
4000
3989
|
dataBytes: number;
|
|
4001
3990
|
configBytes: number;
|
|
4002
3991
|
stateBytes: number;
|
|
@@ -4004,9 +3993,9 @@ declare class AppPackagesRoutesController {
|
|
|
4004
3993
|
temporaryBytes: number;
|
|
4005
3994
|
logsBytes: number;
|
|
4006
3995
|
totalBytes: number;
|
|
4007
|
-
};
|
|
4008
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4009
|
-
isolation: AppRuntimeIsolation;
|
|
3996
|
+
} | undefined;
|
|
3997
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
3998
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
4010
3999
|
};
|
|
4011
4000
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4012
4001
|
readonly enable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
@@ -4046,7 +4035,7 @@ declare class AppPackagesRoutesController {
|
|
|
4046
4035
|
dataDirectory: string;
|
|
4047
4036
|
instanceId: string;
|
|
4048
4037
|
storage: {
|
|
4049
|
-
layout: AppStorageLayout;
|
|
4038
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4050
4039
|
layoutVersion: 1;
|
|
4051
4040
|
instanceId: string;
|
|
4052
4041
|
instanceDirectory: string;
|
|
@@ -4057,8 +4046,8 @@ declare class AppPackagesRoutesController {
|
|
|
4057
4046
|
temporaryDirectory: string;
|
|
4058
4047
|
logsDirectory: string;
|
|
4059
4048
|
};
|
|
4060
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4061
|
-
isolation: AppRuntimeIsolation;
|
|
4049
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
4050
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
4062
4051
|
title?: string | undefined;
|
|
4063
4052
|
description?: string | undefined;
|
|
4064
4053
|
icon?: string | undefined;
|
|
@@ -4072,7 +4061,7 @@ declare class AppPackagesRoutesController {
|
|
|
4072
4061
|
dataDirectory: string;
|
|
4073
4062
|
instanceId: string;
|
|
4074
4063
|
storage: {
|
|
4075
|
-
layout: AppStorageLayout;
|
|
4064
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4076
4065
|
layoutVersion: 1;
|
|
4077
4066
|
instanceId: string;
|
|
4078
4067
|
instanceDirectory: string;
|
|
@@ -4083,7 +4072,7 @@ declare class AppPackagesRoutesController {
|
|
|
4083
4072
|
temporaryDirectory: string;
|
|
4084
4073
|
logsDirectory: string;
|
|
4085
4074
|
};
|
|
4086
|
-
storageUsage
|
|
4075
|
+
storageUsage?: {
|
|
4087
4076
|
dataBytes: number;
|
|
4088
4077
|
configBytes: number;
|
|
4089
4078
|
stateBytes: number;
|
|
@@ -4091,9 +4080,9 @@ declare class AppPackagesRoutesController {
|
|
|
4091
4080
|
temporaryBytes: number;
|
|
4092
4081
|
logsBytes: number;
|
|
4093
4082
|
totalBytes: number;
|
|
4094
|
-
};
|
|
4095
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4096
|
-
isolation: AppRuntimeIsolation;
|
|
4083
|
+
} | undefined;
|
|
4084
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
4085
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
4097
4086
|
};
|
|
4098
4087
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4099
4088
|
readonly disable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
@@ -4133,7 +4122,7 @@ declare class AppPackagesRoutesController {
|
|
|
4133
4122
|
dataDirectory: string;
|
|
4134
4123
|
instanceId: string;
|
|
4135
4124
|
storage: {
|
|
4136
|
-
layout: AppStorageLayout;
|
|
4125
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4137
4126
|
layoutVersion: 1;
|
|
4138
4127
|
instanceId: string;
|
|
4139
4128
|
instanceDirectory: string;
|
|
@@ -4144,8 +4133,8 @@ declare class AppPackagesRoutesController {
|
|
|
4144
4133
|
temporaryDirectory: string;
|
|
4145
4134
|
logsDirectory: string;
|
|
4146
4135
|
};
|
|
4147
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4148
|
-
isolation: AppRuntimeIsolation;
|
|
4136
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
4137
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
4149
4138
|
title?: string | undefined;
|
|
4150
4139
|
description?: string | undefined;
|
|
4151
4140
|
icon?: string | undefined;
|
|
@@ -4159,7 +4148,7 @@ declare class AppPackagesRoutesController {
|
|
|
4159
4148
|
dataDirectory: string;
|
|
4160
4149
|
instanceId: string;
|
|
4161
4150
|
storage: {
|
|
4162
|
-
layout: AppStorageLayout;
|
|
4151
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4163
4152
|
layoutVersion: 1;
|
|
4164
4153
|
instanceId: string;
|
|
4165
4154
|
instanceDirectory: string;
|
|
@@ -4170,7 +4159,7 @@ declare class AppPackagesRoutesController {
|
|
|
4170
4159
|
temporaryDirectory: string;
|
|
4171
4160
|
logsDirectory: string;
|
|
4172
4161
|
};
|
|
4173
|
-
storageUsage
|
|
4162
|
+
storageUsage?: {
|
|
4174
4163
|
dataBytes: number;
|
|
4175
4164
|
configBytes: number;
|
|
4176
4165
|
stateBytes: number;
|
|
@@ -4178,9 +4167,9 @@ declare class AppPackagesRoutesController {
|
|
|
4178
4167
|
temporaryBytes: number;
|
|
4179
4168
|
logsBytes: number;
|
|
4180
4169
|
totalBytes: number;
|
|
4181
|
-
};
|
|
4182
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4183
|
-
isolation: AppRuntimeIsolation;
|
|
4170
|
+
} | undefined;
|
|
4171
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
4172
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
4184
4173
|
};
|
|
4185
4174
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4186
4175
|
readonly update: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
@@ -4221,7 +4210,7 @@ declare class AppPackagesRoutesController {
|
|
|
4221
4210
|
dataDirectory: string;
|
|
4222
4211
|
instanceId: string;
|
|
4223
4212
|
storage: {
|
|
4224
|
-
layout: AppStorageLayout;
|
|
4213
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4225
4214
|
layoutVersion: 1;
|
|
4226
4215
|
instanceId: string;
|
|
4227
4216
|
instanceDirectory: string;
|
|
@@ -4232,8 +4221,8 @@ declare class AppPackagesRoutesController {
|
|
|
4232
4221
|
temporaryDirectory: string;
|
|
4233
4222
|
logsDirectory: string;
|
|
4234
4223
|
};
|
|
4235
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4236
|
-
isolation: AppRuntimeIsolation;
|
|
4224
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
4225
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
4237
4226
|
title?: string | undefined;
|
|
4238
4227
|
description?: string | undefined;
|
|
4239
4228
|
icon?: string | undefined;
|
|
@@ -4247,7 +4236,7 @@ declare class AppPackagesRoutesController {
|
|
|
4247
4236
|
dataDirectory: string;
|
|
4248
4237
|
instanceId: string;
|
|
4249
4238
|
storage: {
|
|
4250
|
-
layout: AppStorageLayout;
|
|
4239
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4251
4240
|
layoutVersion: 1;
|
|
4252
4241
|
instanceId: string;
|
|
4253
4242
|
instanceDirectory: string;
|
|
@@ -4258,7 +4247,7 @@ declare class AppPackagesRoutesController {
|
|
|
4258
4247
|
temporaryDirectory: string;
|
|
4259
4248
|
logsDirectory: string;
|
|
4260
4249
|
};
|
|
4261
|
-
storageUsage
|
|
4250
|
+
storageUsage?: {
|
|
4262
4251
|
dataBytes: number;
|
|
4263
4252
|
configBytes: number;
|
|
4264
4253
|
stateBytes: number;
|
|
@@ -4266,9 +4255,9 @@ declare class AppPackagesRoutesController {
|
|
|
4266
4255
|
temporaryBytes: number;
|
|
4267
4256
|
logsBytes: number;
|
|
4268
4257
|
totalBytes: number;
|
|
4269
|
-
};
|
|
4270
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4271
|
-
isolation: AppRuntimeIsolation;
|
|
4258
|
+
} | undefined;
|
|
4259
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
4260
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
4272
4261
|
};
|
|
4273
4262
|
result: {
|
|
4274
4263
|
appId: string;
|
|
@@ -4280,7 +4269,7 @@ declare class AppPackagesRoutesController {
|
|
|
4280
4269
|
id: string;
|
|
4281
4270
|
publisherId?: string | undefined;
|
|
4282
4271
|
storage: {
|
|
4283
|
-
layout: AppStorageLayout;
|
|
4272
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4284
4273
|
layoutVersion: 1;
|
|
4285
4274
|
instanceId: string;
|
|
4286
4275
|
instanceDirectory: string;
|
|
@@ -4296,13 +4285,13 @@ declare class AppPackagesRoutesController {
|
|
|
4296
4285
|
migratedAt?: string | undefined;
|
|
4297
4286
|
legacyDataDirectory?: string | undefined;
|
|
4298
4287
|
};
|
|
4299
|
-
sourceKind: AppInstallSourceKind;
|
|
4300
|
-
distributionMode?: AppDistributionMode | undefined;
|
|
4288
|
+
sourceKind: _$_nextclaw_app_runtime0.AppInstallSourceKind;
|
|
4289
|
+
distributionMode?: _$_nextclaw_app_runtime0.AppDistributionMode | undefined;
|
|
4301
4290
|
sourceRef: string;
|
|
4302
4291
|
permissions: {
|
|
4303
4292
|
documentAccess?: {
|
|
4304
4293
|
id: string;
|
|
4305
|
-
mode: AppDocumentAccessMode;
|
|
4294
|
+
mode: _$_nextclaw_app_runtime0.AppDocumentAccessMode;
|
|
4306
4295
|
description?: string | undefined;
|
|
4307
4296
|
}[] | undefined;
|
|
4308
4297
|
allowedDomains?: string[] | undefined;
|
|
@@ -4325,7 +4314,7 @@ declare class AppPackagesRoutesController {
|
|
|
4325
4314
|
enabled: boolean;
|
|
4326
4315
|
manifestSchemaVersion: 1 | 2;
|
|
4327
4316
|
components?: {
|
|
4328
|
-
kind: AppComponentKind;
|
|
4317
|
+
kind: _$_nextclaw_app_runtime0.AppComponentKind;
|
|
4329
4318
|
path: string;
|
|
4330
4319
|
id: string;
|
|
4331
4320
|
componentDirectory: string;
|
|
@@ -4375,7 +4364,7 @@ declare class AppPackagesRoutesController {
|
|
|
4375
4364
|
dataDirectory: string;
|
|
4376
4365
|
instanceId: string;
|
|
4377
4366
|
storage: {
|
|
4378
|
-
layout: AppStorageLayout;
|
|
4367
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4379
4368
|
layoutVersion: 1;
|
|
4380
4369
|
instanceId: string;
|
|
4381
4370
|
instanceDirectory: string;
|
|
@@ -4386,8 +4375,8 @@ declare class AppPackagesRoutesController {
|
|
|
4386
4375
|
temporaryDirectory: string;
|
|
4387
4376
|
logsDirectory: string;
|
|
4388
4377
|
};
|
|
4389
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4390
|
-
isolation: AppRuntimeIsolation;
|
|
4378
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
4379
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
4391
4380
|
title?: string | undefined;
|
|
4392
4381
|
description?: string | undefined;
|
|
4393
4382
|
icon?: string | undefined;
|
|
@@ -4401,7 +4390,7 @@ declare class AppPackagesRoutesController {
|
|
|
4401
4390
|
dataDirectory: string;
|
|
4402
4391
|
instanceId: string;
|
|
4403
4392
|
storage: {
|
|
4404
|
-
layout: AppStorageLayout;
|
|
4393
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4405
4394
|
layoutVersion: 1;
|
|
4406
4395
|
instanceId: string;
|
|
4407
4396
|
instanceDirectory: string;
|
|
@@ -4412,7 +4401,7 @@ declare class AppPackagesRoutesController {
|
|
|
4412
4401
|
temporaryDirectory: string;
|
|
4413
4402
|
logsDirectory: string;
|
|
4414
4403
|
};
|
|
4415
|
-
storageUsage
|
|
4404
|
+
storageUsage?: {
|
|
4416
4405
|
dataBytes: number;
|
|
4417
4406
|
configBytes: number;
|
|
4418
4407
|
stateBytes: number;
|
|
@@ -4420,9 +4409,9 @@ declare class AppPackagesRoutesController {
|
|
|
4420
4409
|
temporaryBytes: number;
|
|
4421
4410
|
logsBytes: number;
|
|
4422
4411
|
totalBytes: number;
|
|
4423
|
-
};
|
|
4424
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4425
|
-
isolation: AppRuntimeIsolation;
|
|
4412
|
+
} | undefined;
|
|
4413
|
+
runtimeProfile: _$_nextclaw_app_runtime0.AppRuntimeProfile;
|
|
4414
|
+
isolation: _$_nextclaw_app_runtime0.AppRuntimeIsolation;
|
|
4426
4415
|
};
|
|
4427
4416
|
result: {
|
|
4428
4417
|
appId: string;
|
|
@@ -4453,6 +4442,75 @@ declare class AppPackagesRoutesController {
|
|
|
4453
4442
|
private handleError;
|
|
4454
4443
|
}
|
|
4455
4444
|
//#endregion
|
|
4445
|
+
//#region src/features/app-data/controllers/app-data.controller.d.ts
|
|
4446
|
+
declare class AppDataRoutesController {
|
|
4447
|
+
private readonly manager;
|
|
4448
|
+
constructor(manager: AppDataManager);
|
|
4449
|
+
readonly list: (c: Context) => Promise<Response & _$hono.TypedResponse<{
|
|
4450
|
+
ok: boolean;
|
|
4451
|
+
data: {
|
|
4452
|
+
entries: {
|
|
4453
|
+
id: string;
|
|
4454
|
+
appId: string;
|
|
4455
|
+
instanceId: string;
|
|
4456
|
+
publisherId?: string | undefined;
|
|
4457
|
+
displayName: string;
|
|
4458
|
+
source: _$_nextclaw_kernel0.AppDataSource;
|
|
4459
|
+
lifecycle: _$_nextclaw_kernel0.AppDataLifecycle;
|
|
4460
|
+
storage: {
|
|
4461
|
+
layout: _$_nextclaw_app_runtime0.AppStorageLayout;
|
|
4462
|
+
layoutVersion: 1;
|
|
4463
|
+
instanceId: string;
|
|
4464
|
+
instanceDirectory: string;
|
|
4465
|
+
dataDirectory: string;
|
|
4466
|
+
configDirectory: string;
|
|
4467
|
+
stateDirectory: string;
|
|
4468
|
+
cacheDirectory: string;
|
|
4469
|
+
temporaryDirectory: string;
|
|
4470
|
+
logsDirectory: string;
|
|
4471
|
+
};
|
|
4472
|
+
usage: {
|
|
4473
|
+
dataBytes: number;
|
|
4474
|
+
configBytes: number;
|
|
4475
|
+
stateBytes: number;
|
|
4476
|
+
cacheBytes: number;
|
|
4477
|
+
temporaryBytes: number;
|
|
4478
|
+
logsBytes: number;
|
|
4479
|
+
totalBytes: number;
|
|
4480
|
+
};
|
|
4481
|
+
createdAt: string;
|
|
4482
|
+
migratedAt?: string | undefined;
|
|
4483
|
+
actions: {
|
|
4484
|
+
deleteRetainedData: boolean;
|
|
4485
|
+
};
|
|
4486
|
+
}[];
|
|
4487
|
+
diagnostics: {
|
|
4488
|
+
source: _$_nextclaw_kernel0.AppDataSource;
|
|
4489
|
+
instanceDirectory: string;
|
|
4490
|
+
message: string;
|
|
4491
|
+
}[];
|
|
4492
|
+
};
|
|
4493
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
4494
|
+
readonly deleteRetained: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4495
|
+
ok: boolean;
|
|
4496
|
+
data: {
|
|
4497
|
+
deleted: true;
|
|
4498
|
+
id: string;
|
|
4499
|
+
appId: string;
|
|
4500
|
+
instanceId: string;
|
|
4501
|
+
};
|
|
4502
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
4503
|
+
ok: boolean;
|
|
4504
|
+
error: {
|
|
4505
|
+
code: string;
|
|
4506
|
+
message: string;
|
|
4507
|
+
details: {
|
|
4508
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4509
|
+
} | undefined;
|
|
4510
|
+
};
|
|
4511
|
+
}, 400 | 404 | 409, "json">)>;
|
|
4512
|
+
}
|
|
4513
|
+
//#endregion
|
|
4456
4514
|
//#region src/features/inbox-deliveries/controllers/inbox-deliveries.controller.d.ts
|
|
4457
4515
|
declare class InboxDeliveriesRoutesController {
|
|
4458
4516
|
private readonly manager;
|
|
@@ -4485,15 +4543,6 @@ declare class InboxDeliveriesRoutesController {
|
|
|
4485
4543
|
};
|
|
4486
4544
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
4487
4545
|
readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4488
|
-
ok: boolean;
|
|
4489
|
-
error: {
|
|
4490
|
-
code: string;
|
|
4491
|
-
message: string;
|
|
4492
|
-
details: {
|
|
4493
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4494
|
-
} | undefined;
|
|
4495
|
-
};
|
|
4496
|
-
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
4497
4546
|
ok: boolean;
|
|
4498
4547
|
data: {
|
|
4499
4548
|
id: string;
|
|
@@ -4514,7 +4563,16 @@ declare class InboxDeliveriesRoutesController {
|
|
|
4514
4563
|
readAt: string | null;
|
|
4515
4564
|
archivedAt: string | null;
|
|
4516
4565
|
};
|
|
4517
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)
|
|
4566
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
4567
|
+
ok: boolean;
|
|
4568
|
+
error: {
|
|
4569
|
+
code: string;
|
|
4570
|
+
message: string;
|
|
4571
|
+
details: {
|
|
4572
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4573
|
+
} | undefined;
|
|
4574
|
+
};
|
|
4575
|
+
}, 404, "json">)>;
|
|
4518
4576
|
readonly updateState: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4519
4577
|
ok: boolean;
|
|
4520
4578
|
data: _$hono_utils_types0.JSONValue;
|
|
@@ -4547,5 +4605,5 @@ declare class InboxDeliveriesRoutesController {
|
|
|
4547
4605
|
private handleManagerAction;
|
|
4548
4606
|
}
|
|
4549
4607
|
//#endregion
|
|
4550
|
-
export { AgentBindingView, type AgentCreateRequest, type AgentDeleteResult, type AgentProfileView, type AgentUpdateRequest, ApiError, ApiResponse, AppMetaView, type AppPackageList, type AppPackageOperationInput, type AppPackageOperationList, type AppPackageOperationStatus, type AppPackageOperationView, type AppPackageView, AppPackagesRoutesController, AuthEnabledUpdateRequest, AuthLoginRequest, AuthPasswordUpdateRequest, AuthSetupRequest, AuthStatusView, BindingPeerView, BochaFreshnessValue, BootstrapPhase, BootstrapRemoteState, BootstrapStageState, BootstrapStatusView, ChannelAuthConnectRequest, ChannelAuthConnectResult, ChannelAuthPollRequest, ChannelAuthPollResult, ChannelAuthStartRequest, ChannelAuthStartResult, ChannelSpecView, type ChatSessionTypeCtaView, type ChatSessionTypeOptionView, type ChatSessionTypesView, ConfigActionExecuteRequest, ConfigActionExecuteResult, ConfigActionManifest, ConfigActionType, ConfigMetaView, ConfigRoutesController, ConfigSchemaResponse, ConfigUiHint, ConfigUiHints, ConfigView, CronActionResult, CronCreateRequest, CronCreateResult, CronEnableRequest, CronJobStateView, CronJobView, CronListQuery, CronListStatus, CronListSummaryView, CronListView, CronPayloadView, CronRunRequest, CronScheduleView, InboxDeliveriesRoutesController, MarketplaceApiConfig, MarketplaceInstallKind, MarketplaceInstallRequest, MarketplaceInstallResult, MarketplaceInstallSkillParams, MarketplaceInstallSpec, MarketplaceInstalledRecord, MarketplaceInstalledView, MarketplaceInstaller, MarketplaceItemSummary, MarketplaceItemType, MarketplaceItemView, MarketplaceListView, MarketplaceLocalizedTextMap, MarketplaceManageAction, MarketplaceManageRequest, MarketplaceManageResult, MarketplaceMcpContentView, MarketplaceMcpDoctorResult, MarketplaceMcpInstallKind, MarketplaceMcpInstallRequest, MarketplaceMcpInstallResult, MarketplaceMcpInstallSpec, MarketplaceMcpManageAction, MarketplaceMcpManageRequest, MarketplaceMcpManageResult, MarketplaceMcpTemplateInput, MarketplaceRecommendationView, MarketplaceSceneView, MarketplaceScenesView, MarketplaceSkillContentView, MarketplaceSkillInstallKind, MarketplaceSkillInstallRequest, MarketplaceSkillInstallResult, MarketplaceSkillManageAction, MarketplaceSkillManageRequest, MarketplaceSkillManageResult, MarketplaceSort, NcpAssetRoutesController, NcpSessionContextCompactionView, NcpSessionSkillsView, PanelAppAgentCapabilityView, PanelAppAgentGenerateObjectRequestView, PanelAppAgentGenerateObjectResultView, PanelAppAgentSendRequestView, PanelAppAgentSendResultView, PanelAppBridgeSessionCreateRequest, PanelAppBridgeSessionView, PanelAppCapabilityGrantView, PanelAppClientGrantView, PanelAppDeleteResultView, PanelAppEntryView, PanelAppListView, PanelAppPreferencesUpdateView, PanelAppsRoutesController, PreferenceDeleteResult, PreferenceEntryView, PreferenceUpdateRequest, PreferencesRoutesController, type ProjectAddExistingRequest, type ProjectCreateRequest, type ProjectListView, type ProjectTemplateView, type ProjectView, ProviderAuthImportResult, ProviderAuthPollRequest, ProviderAuthPollResult, ProviderAuthStartRequest, ProviderAuthStartResult, ProviderConfigUpdate, ProviderConfigView, ProviderConnectionTestRequest, ProviderConnectionTestResult, ProviderCreateRequest, ProviderCreateResult, ProviderDeleteResult, ProviderInstanceView, ProviderModelCatalogView, ProviderModelDiscoveryRequest, ProviderModelDiscoveryResult, ProviderTemplateView, ProviderTemplatesView, ProvidersView, RemoteAccessView, RemoteAccountProfileUpdateRequest, RemoteAccountView, RemoteBrowserAuthPollRequest, RemoteBrowserAuthPollResult, RemoteBrowserAuthStartRequest, RemoteBrowserAuthStartResult, RemoteConnectionDiagnosticsView, RemoteDisconnectView, RemoteDoctorCheckView, RemoteDoctorView, RemoteLoginRequest, RemoteRuntimeView, RemoteServiceAction, RemoteServiceActionResult, RemoteServiceView, RemoteSettingsUpdateRequest, RemoteSettingsView, RuntimeActionCapability, RuntimeActionImpact, RuntimeConfigUpdate, RuntimeControlAction, RuntimeControlActionResult, RuntimeControlEnvironment, RuntimeControlRoutesController, RuntimeControlView, RuntimeEntryView, RuntimeLifecycleState, RuntimePendingRestart, RuntimeServiceState, SearchConfigUpdate, SearchConfigView, SearchProviderConfigView, SearchProviderName, SearchProviderSpecView, SecretProviderEnvView, SecretProviderExecView, SecretProviderFileView, SecretProviderView, SecretRefView, SecretSourceView, SecretsConfigUpdate, SecretsView, ServerPathBreadcrumbView, ServerPathBrowseView, ServerPathDirectoryCreateRequest, ServerPathDirectoryCreateView, ServerPathEntryDeleteView, ServerPathEntryRenameRequest, ServerPathEntryRenameView, ServerPathEntryView, ServerPathFileCreateRequest, ServerPathFileCreateView, ServerPathFilesUploadView, ServerPathLocationView, ServerPathReadView, ServerPathSearchEntryView, ServerPathSearchView, ServerPathWatchRequest, ServerPathWatchView, ServiceActionGrantBatchRequestView, ServiceActionGrantListView, ServiceActionGrantView, ServiceActionInvokeRequestView, ServiceActionInvokeResultView, ServiceActionListView, ServiceActionView, ServiceAppDeleteResultView, ServiceAppListView, ServiceAppRecordView, ServiceAppsRoutesController, SessionConfigView, SessionEntryView, SessionEventView, SessionHistoryView, SessionMessageView, SessionPatchUpdate, SessionSkillEntryView, SessionTypeDescribeParams, SessionsListView, TavilySearchDepthValue, UiNcpAssetPutView, UiNcpAssetService, UiNcpAssetView, UiNcpSessionListView, UiNcpSessionMessagesView, UiNcpSessionQueuedInputView, UiNcpSessionQueuedInputsView, UiNcpSessionService, UiNcpStoredAssetRecord, type UiRemoteAccessHost, type UiRouterOptions, type UiRuntimeControlHost, type UiRuntimeUpdateHost, UiServerEvent, UiServerHandle, buildConfigMeta, buildConfigSchemaView, buildConfigView, buildProviderTemplatesView, buildProvidersView, createProvider, createUiRouter, deleteProvider, ensureUiBridgeSecret, executeConfigAction, getUiBridgeSecretPath, loadConfigOrDefault, readUiBridgeSecret, startUiServer, updateChannel, updateModel, updateProvider, updateRuntime, updateSearch, updateSecrets };
|
|
4608
|
+
export { AgentBindingView, type AgentCreateRequest, type AgentDeleteResult, type AgentProfileView, type AgentUpdateRequest, ApiError, ApiResponse, type AppDataDeleteResult, type AppDataEntry, type AppDataList, AppDataRoutesController, AppMetaView, type AppPackageList, type AppPackageOperationInput, type AppPackageOperationList, type AppPackageOperationStatus, type AppPackageOperationView, type AppPackageView, AppPackagesRoutesController, AuthEnabledUpdateRequest, AuthLoginRequest, AuthPasswordUpdateRequest, AuthSetupRequest, AuthStatusView, BindingPeerView, BochaFreshnessValue, BootstrapPhase, BootstrapRemoteState, BootstrapStageState, BootstrapStatusView, ChannelAuthConnectRequest, ChannelAuthConnectResult, ChannelAuthPollRequest, ChannelAuthPollResult, ChannelAuthStartRequest, ChannelAuthStartResult, ChannelSpecView, type ChatSessionTypeCtaView, type ChatSessionTypeOptionView, type ChatSessionTypesView, ConfigActionExecuteRequest, ConfigActionExecuteResult, ConfigActionManifest, ConfigActionType, ConfigMetaView, ConfigRoutesController, ConfigSchemaResponse, ConfigUiHint, ConfigUiHints, ConfigView, CronActionResult, CronCreateRequest, CronCreateResult, CronEnableRequest, CronJobStateView, CronJobView, CronListQuery, CronListStatus, CronListSummaryView, CronListView, CronPayloadView, CronRunRequest, CronScheduleView, InboxDeliveriesRoutesController, MarketplaceApiConfig, MarketplaceInstallKind, MarketplaceInstallRequest, MarketplaceInstallResult, MarketplaceInstallSkillParams, MarketplaceInstallSpec, MarketplaceInstalledRecord, MarketplaceInstalledView, MarketplaceInstaller, MarketplaceItemSummary, MarketplaceItemType, MarketplaceItemView, MarketplaceListView, MarketplaceLocalizedTextMap, MarketplaceManageAction, MarketplaceManageRequest, MarketplaceManageResult, MarketplaceMcpContentView, MarketplaceMcpDoctorResult, MarketplaceMcpInstallKind, MarketplaceMcpInstallRequest, MarketplaceMcpInstallResult, MarketplaceMcpInstallSpec, MarketplaceMcpManageAction, MarketplaceMcpManageRequest, MarketplaceMcpManageResult, MarketplaceMcpTemplateInput, MarketplaceRecommendationView, MarketplaceSceneView, MarketplaceScenesView, MarketplaceSkillContentView, MarketplaceSkillInstallKind, MarketplaceSkillInstallRequest, MarketplaceSkillInstallResult, MarketplaceSkillManageAction, MarketplaceSkillManageRequest, MarketplaceSkillManageResult, MarketplaceSort, NcpAssetRoutesController, NcpSessionContextCompactionView, NcpSessionSkillsView, PanelAppAgentCapabilityView, PanelAppAgentGenerateObjectRequestView, PanelAppAgentGenerateObjectResultView, PanelAppAgentSendRequestView, PanelAppAgentSendResultView, PanelAppBridgeSessionCreateRequest, PanelAppBridgeSessionView, PanelAppCapabilityGrantView, PanelAppClientGrantView, PanelAppDeleteResultView, PanelAppEntryView, PanelAppListView, PanelAppPreferencesUpdateView, PanelAppsRoutesController, PreferenceDeleteResult, PreferenceEntryView, PreferenceUpdateRequest, PreferencesRoutesController, type ProjectAddExistingRequest, type ProjectCreateRequest, type ProjectListView, type ProjectTemplateView, type ProjectView, ProviderAuthImportResult, ProviderAuthPollRequest, ProviderAuthPollResult, ProviderAuthStartRequest, ProviderAuthStartResult, ProviderConfigUpdate, ProviderConfigView, ProviderConnectionTestRequest, ProviderConnectionTestResult, ProviderCreateRequest, ProviderCreateResult, ProviderDeleteResult, ProviderInstanceView, ProviderModelCatalogView, ProviderModelDiscoveryRequest, ProviderModelDiscoveryResult, ProviderTemplateView, ProviderTemplatesView, ProvidersView, RemoteAccessView, RemoteAccountProfileUpdateRequest, RemoteAccountView, RemoteBrowserAuthPollRequest, RemoteBrowserAuthPollResult, RemoteBrowserAuthStartRequest, RemoteBrowserAuthStartResult, RemoteConnectionDiagnosticsView, RemoteDisconnectView, RemoteDoctorCheckView, RemoteDoctorView, RemoteLoginRequest, RemoteRuntimeView, RemoteServiceAction, RemoteServiceActionResult, RemoteServiceView, RemoteSettingsUpdateRequest, RemoteSettingsView, RuntimeActionCapability, RuntimeActionImpact, RuntimeConfigUpdate, RuntimeControlAction, RuntimeControlActionResult, RuntimeControlEnvironment, RuntimeControlRoutesController, RuntimeControlView, RuntimeEntryView, RuntimeLifecycleState, RuntimePendingRestart, RuntimeServiceState, SearchConfigUpdate, SearchConfigView, SearchProviderConfigView, SearchProviderName, SearchProviderSpecView, SecretProviderEnvView, SecretProviderExecView, SecretProviderFileView, SecretProviderView, SecretRefView, SecretSourceView, SecretsConfigUpdate, SecretsView, ServerPathBreadcrumbView, ServerPathBrowseView, ServerPathDirectoryCreateRequest, ServerPathDirectoryCreateView, ServerPathEntryDeleteView, ServerPathEntryRenameRequest, ServerPathEntryRenameView, ServerPathEntryView, ServerPathFileCreateRequest, ServerPathFileCreateView, ServerPathFilesUploadView, ServerPathLocationView, ServerPathReadView, ServerPathSearchEntryView, ServerPathSearchView, ServerPathWatchRequest, ServerPathWatchView, ServiceActionGrantBatchRequestView, ServiceActionGrantListView, ServiceActionGrantView, ServiceActionInvokeRequestView, ServiceActionInvokeResultView, ServiceActionListView, ServiceActionView, ServiceAppDeleteResultView, ServiceAppListView, ServiceAppRecordView, ServiceAppsRoutesController, SessionConfigView, SessionEntryView, SessionEventView, SessionHistoryView, SessionMessageView, SessionPatchUpdate, SessionSkillEntryView, SessionTypeDescribeParams, SessionsListView, TavilySearchDepthValue, UiNcpAssetPutView, UiNcpAssetService, UiNcpAssetView, UiNcpSessionListView, UiNcpSessionMessagesView, UiNcpSessionQueuedInputView, UiNcpSessionQueuedInputsView, UiNcpSessionService, UiNcpStoredAssetRecord, type UiRemoteAccessHost, type UiRouterOptions, type UiRuntimeControlHost, type UiRuntimeUpdateHost, UiServerEvent, UiServerHandle, buildConfigMeta, buildConfigSchemaView, buildConfigView, buildProviderTemplatesView, buildProvidersView, createProvider, createUiRouter, deleteProvider, ensureUiBridgeSecret, executeConfigAction, getUiBridgeSecretPath, loadConfigOrDefault, readUiBridgeSecret, startUiServer, updateChannel, updateModel, updateProvider, updateRuntime, updateSearch, updateSecrets };
|
|
4551
4609
|
//# sourceMappingURL=index.d.ts.map
|