@nextclaw/server 0.20.5 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -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, AppDataDeleteResult, AppDataEntry, AppDataList, AppDataManager, AppPackageHostTarget, AppPackageList, AppPackageManager, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationStatus, AppPackageOperationView, AppPackageView, InboxDeliveryManager, NextclawKernel, ObservationRelationshipStatus, PanelAppAgentCapability, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppClientGrant, PanelAppEntry, PanelAppList, PanelAppManager, PanelAppPreferencesUpdate, PreferenceJsonValue, PreferenceManager, ProjectRecord, ProjectTemplate, ProjectTemplateId, ServiceAction, ServiceActionGrant, ServiceActionInvokeResult, ServiceAppDeleteResult, ServiceAppList, ServiceAppManager, ServiceAppRecord, SessionTokenUsageSummary } from "@nextclaw/kernel";
4
+ import { AccessManager, AppDataDeleteResult, AppDataEntry, AppDataList, AppDataManager, AppPackageHostTarget, AppPackageList, AppPackageManager, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationStatus, AppPackageOperationView, AppPackageView, InboxDeliveryManager, NextclawKernel, ObservationRelationshipStatus, PanelAppAgentCapability, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppClientGrant, PanelAppEntry, PanelAppList, PanelAppManager, PanelAppPreferencesUpdate, PortableRuntimeAcceptanceContractView, PortableRuntimeAcceptanceManager, PortableRuntimeAcceptanceStatusView, PreferenceJsonValue, PreferenceManager, ProjectRecord, ProjectTemplate, ProjectTemplateId, ServiceAction, ServiceActionGrant, ServiceActionInvokeResult, ServiceAppDeleteResult, ServiceAppJobList, ServiceAppJobView, ServiceAppJobWatch, ServiceAppList, ServiceAppManager, ServiceAppRecord, SessionTokenUsageSummary, VerificationRecordList } 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, McpServerDefinition, ModelThinkingCapability, ThinkingLevel } from "@nextclaw/core";
@@ -817,7 +817,6 @@ type AppDistributionMode = "bundle" | "source";
817
817
  type AppStorageLayout = "legacy" | "instance-v1";
818
818
  //#endregion
819
819
  //#region ../nextclaw-app-runtime/dist/types/app-registry.types.d.ts
820
- //#region src/types/app-registry.types.d.ts
821
820
  type AppInstallSourceKind = "bundle" | "directory" | "registry";
822
821
  //#endregion
823
822
  //#region src/features/service-apps/controllers/service-apps.controller.d.ts
@@ -826,6 +825,7 @@ declare class ServiceAppsRoutesController {
826
825
  constructor(params: {
827
826
  panelAppManager: PanelAppManager;
828
827
  serviceAppManager: ServiceAppManager;
828
+ portableRuntimeAcceptance: PortableRuntimeAcceptanceManager;
829
829
  });
830
830
  readonly listServiceApps: (c: Context) => Promise<Response & _$hono.TypedResponse<{
831
831
  ok: boolean;
@@ -874,6 +874,12 @@ declare class ServiceAppsRoutesController {
874
874
  mode: AppDocumentAccessMode;
875
875
  description?: string | undefined;
876
876
  }[] | undefined;
877
+ secrets?: {
878
+ id: string;
879
+ title: string;
880
+ description: string;
881
+ required: boolean;
882
+ }[] | undefined;
877
883
  allowedDomains?: string[] | undefined;
878
884
  storage?: boolean | {
879
885
  namespace?: string | undefined;
@@ -900,72 +906,924 @@ declare class ServiceAppsRoutesController {
900
906
  message: string;
901
907
  }[];
902
908
  };
903
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
904
- readonly getServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
909
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
910
+ readonly getServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
911
+ ok: boolean;
912
+ data: {
913
+ id: string;
914
+ title: string;
915
+ description?: string | undefined;
916
+ dirPath: string;
917
+ manifestPath: string;
918
+ command?: string | undefined;
919
+ args?: string[] | undefined;
920
+ cwd: string;
921
+ enabled: boolean;
922
+ protocol: _$_nextclaw_kernel0.ServiceAppProtocol;
923
+ status: _$_nextclaw_kernel0.ServiceAppRuntimeStatus;
924
+ lastError?: string | undefined;
925
+ lastStartedAt?: string | undefined;
926
+ lastReadyAt?: string | undefined;
927
+ lastFailedAt?: string | undefined;
928
+ sourceKind?: "workspace" | "package" | undefined;
929
+ packageId?: string | undefined;
930
+ packageVersion?: string | undefined;
931
+ packageDirectory?: string | undefined;
932
+ dataDirectory?: string | undefined;
933
+ instanceId?: string | undefined;
934
+ storage?: {
935
+ layout: AppStorageLayout;
936
+ layoutVersion: 1;
937
+ instanceId: string;
938
+ instanceDirectory: string;
939
+ dataDirectory: string;
940
+ configDirectory: string;
941
+ stateDirectory: string;
942
+ cacheDirectory: string;
943
+ temporaryDirectory: string;
944
+ logsDirectory: string;
945
+ } | undefined;
946
+ isolation?: AppRuntimeIsolation | undefined;
947
+ runtimeProfile?: AppRuntimeProfile | undefined;
948
+ permissions?: {
949
+ documentAccess?: {
950
+ id: string;
951
+ mode: AppDocumentAccessMode;
952
+ description?: string | undefined;
953
+ }[] | undefined;
954
+ secrets?: {
955
+ id: string;
956
+ title: string;
957
+ description: string;
958
+ required: boolean;
959
+ }[] | undefined;
960
+ allowedDomains?: string[] | undefined;
961
+ storage?: boolean | {
962
+ namespace?: string | undefined;
963
+ } | undefined;
964
+ capabilities?: {
965
+ hostBridge?: boolean | undefined;
966
+ nativeProcess?: boolean | undefined;
967
+ } | undefined;
968
+ } | undefined;
969
+ componentPath?: string | undefined;
970
+ providerIds?: string[] | undefined;
971
+ lifecycle?: {
972
+ mode: "action";
973
+ } | {
974
+ mode: "resident";
975
+ eventIntervalMs: number;
976
+ } | {
977
+ mode: "provider";
978
+ } | undefined;
979
+ };
980
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
981
+ ok: boolean;
982
+ error: {
983
+ code: string;
984
+ message: string;
985
+ details: {
986
+ [x: string]: _$hono_utils_types0.JSONValue;
987
+ } | undefined;
988
+ };
989
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
990
+ ok: boolean;
991
+ error: {
992
+ code: string;
993
+ message: string;
994
+ details: {
995
+ [x: string]: _$hono_utils_types0.JSONValue;
996
+ } | undefined;
997
+ };
998
+ }, 500, "json">)>;
999
+ readonly inspectServiceAppAiCapabilities: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1000
+ ok: boolean;
1001
+ error: {
1002
+ code: string;
1003
+ message: string;
1004
+ details: {
1005
+ [x: string]: _$hono_utils_types0.JSONValue;
1006
+ } | undefined;
1007
+ };
1008
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1009
+ ok: boolean;
1010
+ error: {
1011
+ code: string;
1012
+ message: string;
1013
+ details: {
1014
+ [x: string]: _$hono_utils_types0.JSONValue;
1015
+ } | undefined;
1016
+ };
1017
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1018
+ ok: boolean;
1019
+ data: {
1020
+ ready: boolean;
1021
+ requiredMissing: {
1022
+ kind: "model" | "agent";
1023
+ slotId: string;
1024
+ }[];
1025
+ bindings: {
1026
+ kind: "model" | "agent";
1027
+ slotId: string;
1028
+ targetId: string;
1029
+ grantedAt: string;
1030
+ }[];
1031
+ };
1032
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1033
+ readonly verifyServiceAppAiCapabilities: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1034
+ ok: boolean;
1035
+ error: {
1036
+ code: string;
1037
+ message: string;
1038
+ details: {
1039
+ [x: string]: _$hono_utils_types0.JSONValue;
1040
+ } | undefined;
1041
+ };
1042
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1043
+ ok: boolean;
1044
+ error: {
1045
+ code: string;
1046
+ message: string;
1047
+ details: {
1048
+ [x: string]: _$hono_utils_types0.JSONValue;
1049
+ } | undefined;
1050
+ };
1051
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1052
+ ok: boolean;
1053
+ data: {
1054
+ ready: boolean;
1055
+ requiredMissing: {
1056
+ kind: "model" | "agent";
1057
+ slotId: string;
1058
+ }[];
1059
+ bindings: {
1060
+ kind: "model" | "agent";
1061
+ slotId: string;
1062
+ targetId: string;
1063
+ grantedAt: string;
1064
+ }[];
1065
+ };
1066
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1067
+ readonly bindServiceAppAiCapability: (c: Context) => Promise<(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
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1077
+ ok: boolean;
1078
+ error: {
1079
+ code: string;
1080
+ message: string;
1081
+ details: {
1082
+ [x: string]: _$hono_utils_types0.JSONValue;
1083
+ } | undefined;
1084
+ };
1085
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1086
+ ok: boolean;
1087
+ data: {
1088
+ ready: boolean;
1089
+ requiredMissing: {
1090
+ kind: "model" | "agent";
1091
+ slotId: string;
1092
+ }[];
1093
+ bindings: {
1094
+ kind: "model" | "agent";
1095
+ slotId: string;
1096
+ targetId: string;
1097
+ grantedAt: string;
1098
+ }[];
1099
+ };
1100
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1101
+ readonly unbindServiceAppAiCapability: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1102
+ ok: boolean;
1103
+ error: {
1104
+ code: string;
1105
+ message: string;
1106
+ details: {
1107
+ [x: string]: _$hono_utils_types0.JSONValue;
1108
+ } | undefined;
1109
+ };
1110
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1111
+ ok: boolean;
1112
+ error: {
1113
+ code: string;
1114
+ message: string;
1115
+ details: {
1116
+ [x: string]: _$hono_utils_types0.JSONValue;
1117
+ } | undefined;
1118
+ };
1119
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1120
+ ok: boolean;
1121
+ data: {
1122
+ ready: boolean;
1123
+ requiredMissing: {
1124
+ kind: "model" | "agent";
1125
+ slotId: string;
1126
+ }[];
1127
+ bindings: {
1128
+ kind: "model" | "agent";
1129
+ slotId: string;
1130
+ targetId: string;
1131
+ grantedAt: string;
1132
+ }[];
1133
+ };
1134
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1135
+ readonly listServiceActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1136
+ ok: boolean;
1137
+ error: {
1138
+ code: string;
1139
+ message: string;
1140
+ details: {
1141
+ [x: string]: _$hono_utils_types0.JSONValue;
1142
+ } | undefined;
1143
+ };
1144
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1145
+ ok: boolean;
1146
+ error: {
1147
+ code: string;
1148
+ message: string;
1149
+ details: {
1150
+ [x: string]: _$hono_utils_types0.JSONValue;
1151
+ } | undefined;
1152
+ };
1153
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1154
+ ok: boolean;
1155
+ data: {
1156
+ actions: {
1157
+ id: string;
1158
+ appId: string;
1159
+ name: string;
1160
+ title?: string | undefined;
1161
+ description?: string | undefined;
1162
+ inputSchema?: {
1163
+ [x: string]: _$hono_utils_types0.JSONValue;
1164
+ } | undefined;
1165
+ risk: _$_nextclaw_kernel0.ServiceActionRisk;
1166
+ runtimeState?: _$_nextclaw_kernel0.ServiceActionRuntimeState | undefined;
1167
+ grantState?: _$_nextclaw_kernel0.ServiceActionGrantState | undefined;
1168
+ }[];
1169
+ };
1170
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1171
+ readonly discoverServiceAppActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1172
+ ok: boolean;
1173
+ error: {
1174
+ code: string;
1175
+ message: string;
1176
+ details: {
1177
+ [x: string]: _$hono_utils_types0.JSONValue;
1178
+ } | undefined;
1179
+ };
1180
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1181
+ ok: boolean;
1182
+ error: {
1183
+ code: string;
1184
+ message: string;
1185
+ details: {
1186
+ [x: string]: _$hono_utils_types0.JSONValue;
1187
+ } | undefined;
1188
+ };
1189
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1190
+ ok: boolean;
1191
+ data: {
1192
+ actions: {
1193
+ id: string;
1194
+ appId: string;
1195
+ name: string;
1196
+ title?: string | undefined;
1197
+ description?: string | undefined;
1198
+ inputSchema?: {
1199
+ [x: string]: _$hono_utils_types0.JSONValue;
1200
+ } | undefined;
1201
+ risk: _$_nextclaw_kernel0.ServiceActionRisk;
1202
+ runtimeState?: _$_nextclaw_kernel0.ServiceActionRuntimeState | undefined;
1203
+ grantState?: _$_nextclaw_kernel0.ServiceActionGrantState | undefined;
1204
+ }[];
1205
+ };
1206
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1207
+ readonly invokeServiceAction: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1208
+ ok: boolean;
1209
+ error: {
1210
+ code: string;
1211
+ message: string;
1212
+ details: {
1213
+ [x: string]: _$hono_utils_types0.JSONValue;
1214
+ } | undefined;
1215
+ };
1216
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1217
+ ok: boolean;
1218
+ error: {
1219
+ code: string;
1220
+ message: string;
1221
+ details: {
1222
+ [x: string]: _$hono_utils_types0.JSONValue;
1223
+ } | undefined;
1224
+ };
1225
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1226
+ ok: boolean;
1227
+ data: {
1228
+ actionId: string;
1229
+ result: _$hono_utils_types0.JSONValue;
1230
+ invocation?: {
1231
+ callId: string;
1232
+ traceId: string;
1233
+ dataVersion: string;
1234
+ verificationRunId: string;
1235
+ } | undefined;
1236
+ };
1237
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1238
+ readonly invokeInstalledServiceAction: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1239
+ ok: boolean;
1240
+ error: {
1241
+ code: string;
1242
+ message: string;
1243
+ details: {
1244
+ [x: string]: _$hono_utils_types0.JSONValue;
1245
+ } | undefined;
1246
+ };
1247
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1248
+ ok: boolean;
1249
+ error: {
1250
+ code: string;
1251
+ message: string;
1252
+ details: {
1253
+ [x: string]: _$hono_utils_types0.JSONValue;
1254
+ } | undefined;
1255
+ };
1256
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1257
+ ok: boolean;
1258
+ data: {
1259
+ actionId: string;
1260
+ result: _$hono_utils_types0.JSONValue;
1261
+ invocation?: {
1262
+ callId: string;
1263
+ traceId: string;
1264
+ dataVersion: string;
1265
+ verificationRunId: string;
1266
+ } | undefined;
1267
+ };
1268
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1269
+ /**
1270
+ * Agent tool providers call the same manager method. This explicit endpoint
1271
+ * is the non-LLM integration/diagnostic surface: it still requires a real
1272
+ * configured Agent and its explicit Service Action grant, so it cannot
1273
+ * impersonate either a Panel bridge or an arbitrary Agent.
1274
+ */
1275
+ readonly invokeAgentServiceAction: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1276
+ ok: boolean;
1277
+ error: {
1278
+ code: string;
1279
+ message: string;
1280
+ details: {
1281
+ [x: string]: _$hono_utils_types0.JSONValue;
1282
+ } | undefined;
1283
+ };
1284
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1285
+ ok: boolean;
1286
+ error: {
1287
+ code: string;
1288
+ message: string;
1289
+ details: {
1290
+ [x: string]: _$hono_utils_types0.JSONValue;
1291
+ } | undefined;
1292
+ };
1293
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1294
+ ok: boolean;
1295
+ data: {
1296
+ actionId: string;
1297
+ result: _$hono_utils_types0.JSONValue;
1298
+ invocation?: {
1299
+ callId: string;
1300
+ traceId: string;
1301
+ dataVersion: string;
1302
+ verificationRunId: string;
1303
+ } | undefined;
1304
+ };
1305
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1306
+ readonly listVerificationRecords: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1307
+ ok: boolean;
1308
+ error: {
1309
+ code: string;
1310
+ message: string;
1311
+ details: {
1312
+ [x: string]: _$hono_utils_types0.JSONValue;
1313
+ } | undefined;
1314
+ };
1315
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1316
+ ok: boolean;
1317
+ error: {
1318
+ code: string;
1319
+ message: string;
1320
+ details: {
1321
+ [x: string]: _$hono_utils_types0.JSONValue;
1322
+ } | undefined;
1323
+ };
1324
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1325
+ ok: boolean;
1326
+ data: {
1327
+ entries: ({
1328
+ evidenceSchemaVersion: 2;
1329
+ evidenceSource: _$_nextclaw_kernel0.PortableRuntimeAcceptanceEvidenceSource;
1330
+ verificationRunId: string;
1331
+ acceptanceId: string;
1332
+ scenarioVersion: string;
1333
+ productVersion: string;
1334
+ runtimeVersion: string;
1335
+ implementationFingerprint: string;
1336
+ status: _$_nextclaw_kernel0.VerificationRecordStatus;
1337
+ startedAt: string;
1338
+ finishedAt: string;
1339
+ environment: string;
1340
+ appId: string;
1341
+ componentId: string;
1342
+ role: _$_nextclaw_kernel0.VerificationRecordRole;
1343
+ entrySurface: _$_nextclaw_kernel0.VerificationRecordEntrySurface;
1344
+ instanceId?: string | undefined;
1345
+ actionOrEvent: string;
1346
+ callId: string;
1347
+ traceId: string;
1348
+ capabilityDecisions: string[];
1349
+ inputDigest: string;
1350
+ outputDigest?: string | undefined;
1351
+ dataVersion: string;
1352
+ observation?: {
1353
+ durationMs?: number | undefined;
1354
+ runnerPid?: number | null | undefined;
1355
+ memory?: {
1356
+ rssBytes: number | null;
1357
+ pssBytes: number | null;
1358
+ } | null | undefined;
1359
+ } | undefined;
1360
+ error?: {
1361
+ code?: string | undefined;
1362
+ message: string;
1363
+ } | undefined;
1364
+ recovery?: string | undefined;
1365
+ evidenceRefs: string[];
1366
+ } | {
1367
+ status: _$_nextclaw_kernel0.VerificationRecordStatus;
1368
+ appId: string;
1369
+ error?: {
1370
+ code?: string | undefined;
1371
+ message: string;
1372
+ } | undefined;
1373
+ instanceId?: string | undefined;
1374
+ componentId: string;
1375
+ role: _$_nextclaw_kernel0.VerificationRecordRole;
1376
+ callId: string;
1377
+ traceId: string;
1378
+ dataVersion: string;
1379
+ verificationRunId: string;
1380
+ acceptanceId: string;
1381
+ scenarioVersion: string;
1382
+ startedAt: string;
1383
+ finishedAt: string;
1384
+ environment: string;
1385
+ entrySurface: _$_nextclaw_kernel0.VerificationRecordEntrySurface;
1386
+ actionOrEvent: string;
1387
+ capabilityDecisions: string[];
1388
+ inputDigest: string;
1389
+ outputDigest?: string | undefined;
1390
+ observation?: {
1391
+ durationMs?: number | undefined;
1392
+ runnerPid?: number | null | undefined;
1393
+ memory?: {
1394
+ rssBytes: number | null;
1395
+ pssBytes: number | null;
1396
+ } | null | undefined;
1397
+ } | undefined;
1398
+ recovery?: string | undefined;
1399
+ evidenceRefs: string[];
1400
+ evidenceSchemaVersion: 1;
1401
+ })[];
1402
+ };
1403
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1404
+ /** Stable read-only projection of the single portable-runtime acceptance registry. */
1405
+ readonly getPortableRuntimeAcceptanceContract: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1406
+ ok: boolean;
1407
+ error: {
1408
+ code: string;
1409
+ message: string;
1410
+ details: {
1411
+ [x: string]: _$hono_utils_types0.JSONValue;
1412
+ } | undefined;
1413
+ };
1414
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1415
+ ok: boolean;
1416
+ error: {
1417
+ code: string;
1418
+ message: string;
1419
+ details: {
1420
+ [x: string]: _$hono_utils_types0.JSONValue;
1421
+ } | undefined;
1422
+ };
1423
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1424
+ ok: boolean;
1425
+ data: {
1426
+ contractFingerprint: string;
1427
+ locale: _$_nextclaw_kernel0.PortableRuntimeAcceptanceLocale;
1428
+ definitions: {
1429
+ id: string;
1430
+ titleKey: string;
1431
+ descriptionKey: string;
1432
+ checkerKey: string;
1433
+ category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
1434
+ required: boolean;
1435
+ scenarioVersion: string;
1436
+ evidenceSource: _$_nextclaw_kernel0.PortableRuntimeAcceptanceEvidenceSource;
1437
+ platforms: readonly _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform[];
1438
+ presentation: {
1439
+ title: string;
1440
+ description: string;
1441
+ };
1442
+ }[];
1443
+ };
1444
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1445
+ readonly getPortableRuntimeAcceptanceStatus: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1446
+ ok: boolean;
1447
+ error: {
1448
+ code: string;
1449
+ message: string;
1450
+ details: {
1451
+ [x: string]: _$hono_utils_types0.JSONValue;
1452
+ } | undefined;
1453
+ };
1454
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1455
+ ok: boolean;
1456
+ error: {
1457
+ code: string;
1458
+ message: string;
1459
+ details: {
1460
+ [x: string]: _$hono_utils_types0.JSONValue;
1461
+ } | undefined;
1462
+ };
1463
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1464
+ ok: boolean;
1465
+ data: {
1466
+ schemaVersion: 1;
1467
+ contract: {
1468
+ contractFingerprint: string;
1469
+ locale: _$_nextclaw_kernel0.PortableRuntimeAcceptanceLocale;
1470
+ definitions: {
1471
+ id: string;
1472
+ titleKey: string;
1473
+ descriptionKey: string;
1474
+ checkerKey: string;
1475
+ category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
1476
+ required: boolean;
1477
+ scenarioVersion: string;
1478
+ evidenceSource: _$_nextclaw_kernel0.PortableRuntimeAcceptanceEvidenceSource;
1479
+ platforms: readonly _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform[];
1480
+ presentation: {
1481
+ title: string;
1482
+ description: string;
1483
+ };
1484
+ }[];
1485
+ };
1486
+ appId: string;
1487
+ identity: {
1488
+ available: true;
1489
+ context: {
1490
+ appId: string;
1491
+ environment: _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform;
1492
+ productVersion: string;
1493
+ runtimeVersion: string;
1494
+ implementationFingerprint: string;
1495
+ contractFingerprint: string;
1496
+ };
1497
+ runtimeVersionSource: "configured" | "product-version-fallback";
1498
+ runnerFingerprint: string;
1499
+ } | {
1500
+ available: false;
1501
+ reason: string;
1502
+ environment: _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform | null;
1503
+ productVersion: string | null;
1504
+ runtimeVersion: string | null;
1505
+ runtimeVersionSource: "configured" | "product-version-fallback" | null;
1506
+ };
1507
+ entries: {
1508
+ id: string;
1509
+ titleKey: string;
1510
+ descriptionKey: string;
1511
+ checkerKey: string;
1512
+ category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
1513
+ required: boolean;
1514
+ scenarioVersion: string;
1515
+ evidenceSource: _$_nextclaw_kernel0.PortableRuntimeAcceptanceEvidenceSource;
1516
+ platforms: readonly _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform[];
1517
+ presentation: {
1518
+ title: string;
1519
+ description: string;
1520
+ };
1521
+ result: {
1522
+ status: _$_nextclaw_kernel0.PortableRuntimeAcceptanceResultStatus;
1523
+ required: boolean;
1524
+ acceptanceId: string;
1525
+ latestRecord?: {
1526
+ evidenceSchemaVersion: 2;
1527
+ evidenceSource: _$_nextclaw_kernel0.PortableRuntimeAcceptanceEvidenceSource;
1528
+ verificationRunId: string;
1529
+ acceptanceId: string;
1530
+ scenarioVersion: string;
1531
+ productVersion: string;
1532
+ runtimeVersion: string;
1533
+ implementationFingerprint: string;
1534
+ status: _$_nextclaw_kernel0.VerificationRecordStatus;
1535
+ startedAt: string;
1536
+ finishedAt: string;
1537
+ environment: string;
1538
+ appId: string;
1539
+ componentId: string;
1540
+ role: _$_nextclaw_kernel0.VerificationRecordRole;
1541
+ entrySurface: _$_nextclaw_kernel0.VerificationRecordEntrySurface;
1542
+ instanceId?: string | undefined;
1543
+ actionOrEvent: string;
1544
+ callId: string;
1545
+ traceId: string;
1546
+ capabilityDecisions: string[];
1547
+ inputDigest: string;
1548
+ outputDigest?: string | undefined;
1549
+ dataVersion: string;
1550
+ observation?: {
1551
+ durationMs?: number | undefined;
1552
+ runnerPid?: number | null | undefined;
1553
+ memory?: {
1554
+ rssBytes: number | null;
1555
+ pssBytes: number | null;
1556
+ } | null | undefined;
1557
+ } | undefined;
1558
+ error?: {
1559
+ code?: string | undefined;
1560
+ message: string;
1561
+ } | undefined;
1562
+ recovery?: string | undefined;
1563
+ evidenceRefs: string[];
1564
+ } | {
1565
+ status: _$_nextclaw_kernel0.VerificationRecordStatus;
1566
+ appId: string;
1567
+ error?: {
1568
+ code?: string | undefined;
1569
+ message: string;
1570
+ } | undefined;
1571
+ instanceId?: string | undefined;
1572
+ componentId: string;
1573
+ role: _$_nextclaw_kernel0.VerificationRecordRole;
1574
+ callId: string;
1575
+ traceId: string;
1576
+ dataVersion: string;
1577
+ verificationRunId: string;
1578
+ acceptanceId: string;
1579
+ scenarioVersion: string;
1580
+ startedAt: string;
1581
+ finishedAt: string;
1582
+ environment: string;
1583
+ entrySurface: _$_nextclaw_kernel0.VerificationRecordEntrySurface;
1584
+ actionOrEvent: string;
1585
+ capabilityDecisions: string[];
1586
+ inputDigest: string;
1587
+ outputDigest?: string | undefined;
1588
+ observation?: {
1589
+ durationMs?: number | undefined;
1590
+ runnerPid?: number | null | undefined;
1591
+ memory?: {
1592
+ rssBytes: number | null;
1593
+ pssBytes: number | null;
1594
+ } | null | undefined;
1595
+ } | undefined;
1596
+ recovery?: string | undefined;
1597
+ evidenceRefs: string[];
1598
+ evidenceSchemaVersion: 1;
1599
+ } | undefined;
1600
+ environment: _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform | null;
1601
+ };
1602
+ }[];
1603
+ summary: {
1604
+ failed: number;
1605
+ missing: number;
1606
+ "current-passed": number;
1607
+ stale: number;
1608
+ "not-applicable": number;
1609
+ };
1610
+ };
1611
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1612
+ readonly exportPortableRuntimeAcceptance: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1613
+ ok: boolean;
1614
+ error: {
1615
+ code: string;
1616
+ message: string;
1617
+ details: {
1618
+ [x: string]: _$hono_utils_types0.JSONValue;
1619
+ } | undefined;
1620
+ };
1621
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1622
+ ok: boolean;
1623
+ error: {
1624
+ code: string;
1625
+ message: string;
1626
+ details: {
1627
+ [x: string]: _$hono_utils_types0.JSONValue;
1628
+ } | undefined;
1629
+ };
1630
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1631
+ ok: boolean;
1632
+ data: {
1633
+ schemaVersion: 1;
1634
+ contract: {
1635
+ contractFingerprint: string;
1636
+ locale: _$_nextclaw_kernel0.PortableRuntimeAcceptanceLocale;
1637
+ definitions: {
1638
+ id: string;
1639
+ titleKey: string;
1640
+ descriptionKey: string;
1641
+ checkerKey: string;
1642
+ category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
1643
+ required: boolean;
1644
+ scenarioVersion: string;
1645
+ evidenceSource: _$_nextclaw_kernel0.PortableRuntimeAcceptanceEvidenceSource;
1646
+ platforms: readonly _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform[];
1647
+ presentation: {
1648
+ title: string;
1649
+ description: string;
1650
+ };
1651
+ }[];
1652
+ };
1653
+ appId: string;
1654
+ identity: {
1655
+ available: true;
1656
+ context: {
1657
+ appId: string;
1658
+ environment: _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform;
1659
+ productVersion: string;
1660
+ runtimeVersion: string;
1661
+ implementationFingerprint: string;
1662
+ contractFingerprint: string;
1663
+ };
1664
+ runtimeVersionSource: "configured" | "product-version-fallback";
1665
+ runnerFingerprint: string;
1666
+ } | {
1667
+ available: false;
1668
+ reason: string;
1669
+ environment: _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform | null;
1670
+ productVersion: string | null;
1671
+ runtimeVersion: string | null;
1672
+ runtimeVersionSource: "configured" | "product-version-fallback" | null;
1673
+ };
1674
+ entries: {
1675
+ id: string;
1676
+ titleKey: string;
1677
+ descriptionKey: string;
1678
+ checkerKey: string;
1679
+ category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
1680
+ required: boolean;
1681
+ scenarioVersion: string;
1682
+ evidenceSource: _$_nextclaw_kernel0.PortableRuntimeAcceptanceEvidenceSource;
1683
+ platforms: readonly _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform[];
1684
+ presentation: {
1685
+ title: string;
1686
+ description: string;
1687
+ };
1688
+ result: {
1689
+ status: _$_nextclaw_kernel0.PortableRuntimeAcceptanceResultStatus;
1690
+ required: boolean;
1691
+ acceptanceId: string;
1692
+ latestRecord?: {
1693
+ evidenceSchemaVersion: 2;
1694
+ evidenceSource: _$_nextclaw_kernel0.PortableRuntimeAcceptanceEvidenceSource;
1695
+ verificationRunId: string;
1696
+ acceptanceId: string;
1697
+ scenarioVersion: string;
1698
+ productVersion: string;
1699
+ runtimeVersion: string;
1700
+ implementationFingerprint: string;
1701
+ status: _$_nextclaw_kernel0.VerificationRecordStatus;
1702
+ startedAt: string;
1703
+ finishedAt: string;
1704
+ environment: string;
1705
+ appId: string;
1706
+ componentId: string;
1707
+ role: _$_nextclaw_kernel0.VerificationRecordRole;
1708
+ entrySurface: _$_nextclaw_kernel0.VerificationRecordEntrySurface;
1709
+ instanceId?: string | undefined;
1710
+ actionOrEvent: string;
1711
+ callId: string;
1712
+ traceId: string;
1713
+ capabilityDecisions: string[];
1714
+ inputDigest: string;
1715
+ outputDigest?: string | undefined;
1716
+ dataVersion: string;
1717
+ observation?: {
1718
+ durationMs?: number | undefined;
1719
+ runnerPid?: number | null | undefined;
1720
+ memory?: {
1721
+ rssBytes: number | null;
1722
+ pssBytes: number | null;
1723
+ } | null | undefined;
1724
+ } | undefined;
1725
+ error?: {
1726
+ code?: string | undefined;
1727
+ message: string;
1728
+ } | undefined;
1729
+ recovery?: string | undefined;
1730
+ evidenceRefs: string[];
1731
+ } | {
1732
+ status: _$_nextclaw_kernel0.VerificationRecordStatus;
1733
+ appId: string;
1734
+ error?: {
1735
+ code?: string | undefined;
1736
+ message: string;
1737
+ } | undefined;
1738
+ instanceId?: string | undefined;
1739
+ componentId: string;
1740
+ role: _$_nextclaw_kernel0.VerificationRecordRole;
1741
+ callId: string;
1742
+ traceId: string;
1743
+ dataVersion: string;
1744
+ verificationRunId: string;
1745
+ acceptanceId: string;
1746
+ scenarioVersion: string;
1747
+ startedAt: string;
1748
+ finishedAt: string;
1749
+ environment: string;
1750
+ entrySurface: _$_nextclaw_kernel0.VerificationRecordEntrySurface;
1751
+ actionOrEvent: string;
1752
+ capabilityDecisions: string[];
1753
+ inputDigest: string;
1754
+ outputDigest?: string | undefined;
1755
+ observation?: {
1756
+ durationMs?: number | undefined;
1757
+ runnerPid?: number | null | undefined;
1758
+ memory?: {
1759
+ rssBytes: number | null;
1760
+ pssBytes: number | null;
1761
+ } | null | undefined;
1762
+ } | undefined;
1763
+ recovery?: string | undefined;
1764
+ evidenceRefs: string[];
1765
+ evidenceSchemaVersion: 1;
1766
+ } | undefined;
1767
+ environment: _$_nextclaw_kernel0.PortableRuntimeAcceptancePlatform | null;
1768
+ };
1769
+ }[];
1770
+ summary: {
1771
+ failed: number;
1772
+ missing: number;
1773
+ "current-passed": number;
1774
+ stale: number;
1775
+ "not-applicable": number;
1776
+ };
1777
+ };
1778
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1779
+ readonly listServiceAppJobs: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1780
+ ok: boolean;
1781
+ error: {
1782
+ code: string;
1783
+ message: string;
1784
+ details: {
1785
+ [x: string]: _$hono_utils_types0.JSONValue;
1786
+ } | undefined;
1787
+ };
1788
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1789
+ ok: boolean;
1790
+ error: {
1791
+ code: string;
1792
+ message: string;
1793
+ details: {
1794
+ [x: string]: _$hono_utils_types0.JSONValue;
1795
+ } | undefined;
1796
+ };
1797
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
905
1798
  ok: boolean;
906
1799
  data: {
907
- id: string;
908
- title: string;
909
- description?: string | undefined;
910
- dirPath: string;
911
- manifestPath: string;
912
- command?: string | undefined;
913
- args?: string[] | undefined;
914
- cwd: string;
915
- enabled: boolean;
916
- protocol: _$_nextclaw_kernel0.ServiceAppProtocol;
917
- status: _$_nextclaw_kernel0.ServiceAppRuntimeStatus;
918
- lastError?: string | undefined;
919
- lastStartedAt?: string | undefined;
920
- lastReadyAt?: string | undefined;
921
- lastFailedAt?: string | undefined;
922
- sourceKind?: "workspace" | "package" | undefined;
923
- packageId?: string | undefined;
924
- packageVersion?: string | undefined;
925
- packageDirectory?: string | undefined;
926
- dataDirectory?: string | undefined;
927
- instanceId?: string | undefined;
928
- storage?: {
929
- layout: AppStorageLayout;
930
- layoutVersion: 1;
1800
+ entries: {
1801
+ id: string;
1802
+ appId: string;
931
1803
  instanceId: string;
932
- instanceDirectory: string;
933
- dataDirectory: string;
934
- configDirectory: string;
935
- stateDirectory: string;
936
- cacheDirectory: string;
937
- temporaryDirectory: string;
938
- logsDirectory: string;
939
- } | undefined;
940
- isolation?: AppRuntimeIsolation | undefined;
941
- runtimeProfile?: AppRuntimeProfile | undefined;
942
- permissions?: {
943
- documentAccess?: {
944
- id: string;
945
- mode: AppDocumentAccessMode;
946
- description?: string | undefined;
947
- }[] | undefined;
948
- allowedDomains?: string[] | undefined;
949
- storage?: boolean | {
950
- namespace?: string | undefined;
1804
+ componentId: string;
1805
+ actionName: string;
1806
+ status: _$_nextclaw_kernel0.ServiceAppJobStatus;
1807
+ createdAt: string;
1808
+ updatedAt: string;
1809
+ startedAt?: string | undefined;
1810
+ completedAt?: string | undefined;
1811
+ cancelRequestedAt?: string | undefined;
1812
+ retryOf?: string | undefined;
1813
+ callId: string;
1814
+ traceId: string;
1815
+ caller?: {
1816
+ surface: "panel" | "agent" | "installed-app-cli";
1817
+ id?: string | undefined;
951
1818
  } | undefined;
952
- capabilities?: {
953
- hostBridge?: boolean | undefined;
954
- nativeProcess?: boolean | undefined;
1819
+ error?: {
1820
+ code?: string | undefined;
1821
+ message: string;
955
1822
  } | undefined;
956
- } | undefined;
957
- componentPath?: string | undefined;
958
- providerIds?: string[] | undefined;
959
- lifecycle?: {
960
- mode: "action";
961
- } | {
962
- mode: "resident";
963
- eventIntervalMs: number;
964
- } | {
965
- mode: "provider";
966
- } | undefined;
1823
+ }[];
967
1824
  };
968
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
1825
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1826
+ readonly getServiceAppJob: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
969
1827
  ok: boolean;
970
1828
  error: {
971
1829
  code: string;
@@ -983,8 +1841,35 @@ declare class ServiceAppsRoutesController {
983
1841
  [x: string]: _$hono_utils_types0.JSONValue;
984
1842
  } | undefined;
985
1843
  };
986
- }, 500, "json">)>;
987
- readonly listServiceActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1844
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1845
+ ok: boolean;
1846
+ data: {
1847
+ id: string;
1848
+ appId: string;
1849
+ instanceId: string;
1850
+ componentId: string;
1851
+ actionName: string;
1852
+ status: _$_nextclaw_kernel0.ServiceAppJobStatus;
1853
+ createdAt: string;
1854
+ updatedAt: string;
1855
+ startedAt?: string | undefined;
1856
+ completedAt?: string | undefined;
1857
+ cancelRequestedAt?: string | undefined;
1858
+ retryOf?: string | undefined;
1859
+ callId: string;
1860
+ traceId: string;
1861
+ caller?: {
1862
+ surface: "panel" | "agent" | "installed-app-cli";
1863
+ id?: string | undefined;
1864
+ } | undefined;
1865
+ error?: {
1866
+ code?: string | undefined;
1867
+ message: string;
1868
+ } | undefined;
1869
+ };
1870
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1871
+ /** Cursor replay only; a disconnected client never changes Job execution. */
1872
+ readonly watchServiceAppJob: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
988
1873
  ok: boolean;
989
1874
  error: {
990
1875
  code: string;
@@ -1005,22 +1890,56 @@ declare class ServiceAppsRoutesController {
1005
1890
  }, 500, "json">) | (Response & _$hono.TypedResponse<{
1006
1891
  ok: boolean;
1007
1892
  data: {
1008
- actions: {
1893
+ job: {
1009
1894
  id: string;
1010
1895
  appId: string;
1011
- name: string;
1012
- title?: string | undefined;
1013
- description?: string | undefined;
1014
- inputSchema?: {
1015
- [x: string]: _$hono_utils_types0.JSONValue;
1896
+ instanceId: string;
1897
+ componentId: string;
1898
+ actionName: string;
1899
+ status: _$_nextclaw_kernel0.ServiceAppJobStatus;
1900
+ createdAt: string;
1901
+ updatedAt: string;
1902
+ startedAt?: string | undefined;
1903
+ completedAt?: string | undefined;
1904
+ cancelRequestedAt?: string | undefined;
1905
+ retryOf?: string | undefined;
1906
+ callId: string;
1907
+ traceId: string;
1908
+ caller?: {
1909
+ surface: "panel" | "agent" | "installed-app-cli";
1910
+ id?: string | undefined;
1016
1911
  } | undefined;
1017
- risk: _$_nextclaw_kernel0.ServiceActionRisk;
1018
- runtimeState?: _$_nextclaw_kernel0.ServiceActionRuntimeState | undefined;
1019
- grantState?: _$_nextclaw_kernel0.ServiceActionGrantState | undefined;
1020
- }[];
1912
+ error?: {
1913
+ code?: string | undefined;
1914
+ message: string;
1915
+ } | undefined;
1916
+ };
1917
+ events: ({
1918
+ sequence: number;
1919
+ timestamp: string;
1920
+ type: "progress";
1921
+ current?: number | undefined;
1922
+ total?: number | undefined;
1923
+ message?: string | undefined;
1924
+ } | {
1925
+ sequence: number;
1926
+ timestamp: string;
1927
+ type: "stream-chunk";
1928
+ content: string;
1929
+ } | {
1930
+ sequence: number;
1931
+ timestamp: string;
1932
+ type: "terminal";
1933
+ status: _$_nextclaw_kernel0.ServiceAppTerminalJobStatus;
1934
+ error?: {
1935
+ code?: string | undefined;
1936
+ message: string;
1937
+ } | undefined;
1938
+ })[];
1939
+ cursor: number;
1021
1940
  };
1022
1941
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1023
- readonly discoverServiceAppActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1942
+ readonly cancelServiceAppJob: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1024
1943
  ok: boolean;
1025
1944
  error: {
1026
1945
  code: string;
@@ -1041,22 +1960,80 @@ declare class ServiceAppsRoutesController {
1041
1960
  }, 500, "json">) | (Response & _$hono.TypedResponse<{
1042
1961
  ok: boolean;
1043
1962
  data: {
1044
- actions: {
1963
+ id: string;
1964
+ appId: string;
1965
+ instanceId: string;
1966
+ componentId: string;
1967
+ actionName: string;
1968
+ status: _$_nextclaw_kernel0.ServiceAppJobStatus;
1969
+ createdAt: string;
1970
+ updatedAt: string;
1971
+ startedAt?: string | undefined;
1972
+ completedAt?: string | undefined;
1973
+ cancelRequestedAt?: string | undefined;
1974
+ retryOf?: string | undefined;
1975
+ callId: string;
1976
+ traceId: string;
1977
+ caller?: {
1978
+ surface: "panel" | "agent" | "installed-app-cli";
1979
+ id?: string | undefined;
1980
+ } | undefined;
1981
+ error?: {
1982
+ code?: string | undefined;
1983
+ message: string;
1984
+ } | undefined;
1985
+ };
1986
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1987
+ /** Inspect durable Resident delivery facts; payload stays private to the instance journal. */
1988
+ readonly listResidentInbox: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1989
+ ok: boolean;
1990
+ error: {
1991
+ code: string;
1992
+ message: string;
1993
+ details: {
1994
+ [x: string]: _$hono_utils_types0.JSONValue;
1995
+ } | undefined;
1996
+ };
1997
+ }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1998
+ ok: boolean;
1999
+ error: {
2000
+ code: string;
2001
+ message: string;
2002
+ details: {
2003
+ [x: string]: _$hono_utils_types0.JSONValue;
2004
+ } | undefined;
2005
+ };
2006
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
2007
+ ok: boolean;
2008
+ data: {
2009
+ entries: {
1045
2010
  id: string;
1046
2011
  appId: string;
1047
- name: string;
1048
- title?: string | undefined;
1049
- description?: string | undefined;
1050
- inputSchema?: {
1051
- [x: string]: _$hono_utils_types0.JSONValue;
2012
+ instanceId: string;
2013
+ componentId: string;
2014
+ eventId: string;
2015
+ streamKey: string;
2016
+ sequence: number;
2017
+ status: _$_nextclaw_kernel0.ServiceAppResidentEventStatus;
2018
+ receivedAt: string;
2019
+ updatedAt: string;
2020
+ attempt: number;
2021
+ leaseExpiresAt?: string | undefined;
2022
+ nextAttemptAt?: string | undefined;
2023
+ ackedAt?: string | undefined;
2024
+ deadLetteredAt?: string | undefined;
2025
+ lastError?: {
2026
+ code?: string | undefined;
2027
+ message: string;
1052
2028
  } | undefined;
1053
- risk: _$_nextclaw_kernel0.ServiceActionRisk;
1054
- runtimeState?: _$_nextclaw_kernel0.ServiceActionRuntimeState | undefined;
1055
- grantState?: _$_nextclaw_kernel0.ServiceActionGrantState | undefined;
1056
2029
  }[];
2030
+ cursors: {
2031
+ [x: string]: number;
2032
+ };
2033
+ frozen: boolean;
1057
2034
  };
1058
2035
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1059
- readonly invokeServiceAction: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2036
+ readonly replayResidentDeadLetter: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1060
2037
  ok: boolean;
1061
2038
  error: {
1062
2039
  code: string;
@@ -1077,8 +2054,25 @@ declare class ServiceAppsRoutesController {
1077
2054
  }, 500, "json">) | (Response & _$hono.TypedResponse<{
1078
2055
  ok: boolean;
1079
2056
  data: {
1080
- actionId: string;
1081
- result: _$hono_utils_types0.JSONValue;
2057
+ id: string;
2058
+ appId: string;
2059
+ instanceId: string;
2060
+ componentId: string;
2061
+ eventId: string;
2062
+ streamKey: string;
2063
+ sequence: number;
2064
+ status: _$_nextclaw_kernel0.ServiceAppResidentEventStatus;
2065
+ receivedAt: string;
2066
+ updatedAt: string;
2067
+ attempt: number;
2068
+ leaseExpiresAt?: string | undefined;
2069
+ nextAttemptAt?: string | undefined;
2070
+ ackedAt?: string | undefined;
2071
+ deadLetteredAt?: string | undefined;
2072
+ lastError?: {
2073
+ code?: string | undefined;
2074
+ message: string;
2075
+ } | undefined;
1082
2076
  };
1083
2077
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1084
2078
  readonly grantServiceAction: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -1293,6 +2287,12 @@ declare class ServiceAppsRoutesController {
1293
2287
  mode: AppDocumentAccessMode;
1294
2288
  description?: string | undefined;
1295
2289
  }[] | undefined;
2290
+ secrets?: {
2291
+ id: string;
2292
+ title: string;
2293
+ description: string;
2294
+ required: boolean;
2295
+ }[] | undefined;
1296
2296
  allowedDomains?: string[] | undefined;
1297
2297
  storage?: boolean | {
1298
2298
  namespace?: string | undefined;
@@ -1361,6 +2361,10 @@ declare class ServiceAppsRoutesController {
1361
2361
  private requireBridgeSession;
1362
2362
  private readOptionalBridgeSession;
1363
2363
  private readCallerQuery;
2364
+ private readOptionalQuery;
2365
+ private readLocale;
2366
+ private readLimit;
2367
+ private readAfterSequence;
1364
2368
  private handleServiceAppError;
1365
2369
  }
1366
2370
  //#endregion
@@ -1383,6 +2387,13 @@ type ServiceActionGrantBatchRequestView = {
1383
2387
  type ServiceActionGrantListView = {
1384
2388
  grants: ServiceActionGrantView[];
1385
2389
  };
2390
+ type ServiceAppJobListView = ServiceAppJobList;
2391
+ type ServiceAppJobViewResponse = ServiceAppJobView;
2392
+ type ServiceAppJobWatchView = ServiceAppJobWatch;
2393
+ type RuntimeVerificationRecordListView = VerificationRecordList;
2394
+ type PortableRuntimeAcceptanceContractApiView = PortableRuntimeAcceptanceContractView;
2395
+ type PortableRuntimeAcceptanceStatusApiView = PortableRuntimeAcceptanceStatusView;
2396
+ type PortableRuntimeAcceptanceExportApiView = PortableRuntimeAcceptanceStatusView;
1386
2397
  //#endregion
1387
2398
  //#region src/features/sessions/types/session-observation-api.types.d.ts
1388
2399
  type UiNcpSessionObservationKind = "context" | "events";
@@ -2659,7 +3670,7 @@ type UiExtensionHost = {
2659
3670
  getChannelBindings: () => ExtensionChannelBinding[];
2660
3671
  getUiMetadata: () => ExtensionUiMetadata[];
2661
3672
  };
2662
- type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "systemObjectReferenceManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "appPackageManager" | "appDataManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "observations" | "extensions" | "capabilityGrants" | "featureControls" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
3673
+ type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "systemObjectReferenceManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "appPackageManager" | "appDataManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "observations" | "extensions" | "capabilityGrants" | "featureControls" | "portableRuntimeAcceptance" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
2663
3674
  accessManager?: NextclawKernel["accessManager"];
2664
3675
  };
2665
3676
  type UiCronHost = {
@@ -3328,7 +4339,7 @@ declare class ConfigRoutesController {
3328
4339
  [x: string]: _$hono_utils_types0.JSONValue;
3329
4340
  } | undefined;
3330
4341
  };
3331
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4342
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3332
4343
  ok: boolean;
3333
4344
  error: {
3334
4345
  code: string;
@@ -3337,7 +4348,7 @@ declare class ConfigRoutesController {
3337
4348
  [x: string]: _$hono_utils_types0.JSONValue;
3338
4349
  } | undefined;
3339
4350
  };
3340
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4351
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3341
4352
  ok: boolean;
3342
4353
  data: {
3343
4354
  providerId: string;
@@ -3441,7 +4452,7 @@ declare class ConfigRoutesController {
3441
4452
  [x: string]: _$hono_utils_types0.JSONValue;
3442
4453
  } | undefined;
3443
4454
  };
3444
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4455
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3445
4456
  ok: boolean;
3446
4457
  error: {
3447
4458
  code: string;
@@ -3450,7 +4461,7 @@ declare class ConfigRoutesController {
3450
4461
  [x: string]: _$hono_utils_types0.JSONValue;
3451
4462
  } | undefined;
3452
4463
  };
3453
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4464
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3454
4465
  ok: boolean;
3455
4466
  data: {
3456
4467
  success: boolean;
@@ -3469,7 +4480,7 @@ declare class ConfigRoutesController {
3469
4480
  [x: string]: _$hono_utils_types0.JSONValue;
3470
4481
  } | undefined;
3471
4482
  };
3472
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4483
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3473
4484
  ok: boolean;
3474
4485
  error: {
3475
4486
  code: string;
@@ -3478,7 +4489,7 @@ declare class ConfigRoutesController {
3478
4489
  [x: string]: _$hono_utils_types0.JSONValue;
3479
4490
  } | undefined;
3480
4491
  };
3481
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4492
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3482
4493
  ok: boolean;
3483
4494
  data: {
3484
4495
  provider: string;
@@ -3505,7 +4516,7 @@ declare class ConfigRoutesController {
3505
4516
  [x: string]: _$hono_utils_types0.JSONValue;
3506
4517
  } | undefined;
3507
4518
  };
3508
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4519
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3509
4520
  ok: boolean;
3510
4521
  error: {
3511
4522
  code: string;
@@ -3514,7 +4525,7 @@ declare class ConfigRoutesController {
3514
4525
  [x: string]: _$hono_utils_types0.JSONValue;
3515
4526
  } | undefined;
3516
4527
  };
3517
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4528
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3518
4529
  ok: boolean;
3519
4530
  data: {
3520
4531
  provider: string;
@@ -3537,7 +4548,7 @@ declare class ConfigRoutesController {
3537
4548
  [x: string]: _$hono_utils_types0.JSONValue;
3538
4549
  } | undefined;
3539
4550
  };
3540
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4551
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3541
4552
  ok: boolean;
3542
4553
  error: {
3543
4554
  code: string;
@@ -3546,7 +4557,7 @@ declare class ConfigRoutesController {
3546
4557
  [x: string]: _$hono_utils_types0.JSONValue;
3547
4558
  } | undefined;
3548
4559
  };
3549
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4560
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3550
4561
  ok: boolean;
3551
4562
  data: {
3552
4563
  provider: string;
@@ -3564,7 +4575,7 @@ declare class ConfigRoutesController {
3564
4575
  [x: string]: _$hono_utils_types0.JSONValue;
3565
4576
  } | undefined;
3566
4577
  };
3567
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4578
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3568
4579
  ok: boolean;
3569
4580
  error: {
3570
4581
  code: string;
@@ -3573,7 +4584,7 @@ declare class ConfigRoutesController {
3573
4584
  [x: string]: _$hono_utils_types0.JSONValue;
3574
4585
  } | undefined;
3575
4586
  };
3576
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4587
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3577
4588
  ok: boolean;
3578
4589
  data: {
3579
4590
  provider: string;
@@ -3591,7 +4602,7 @@ declare class ConfigRoutesController {
3591
4602
  [x: string]: _$hono_utils_types0.JSONValue;
3592
4603
  } | undefined;
3593
4604
  };
3594
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4605
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3595
4606
  ok: boolean;
3596
4607
  error: {
3597
4608
  code: string;
@@ -3600,7 +4611,7 @@ declare class ConfigRoutesController {
3600
4611
  [x: string]: _$hono_utils_types0.JSONValue;
3601
4612
  } | undefined;
3602
4613
  };
3603
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4614
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3604
4615
  ok: boolean;
3605
4616
  data: {
3606
4617
  [x: string]: _$hono_utils_types0.JSONValue;
@@ -3615,7 +4626,7 @@ declare class ConfigRoutesController {
3615
4626
  [x: string]: _$hono_utils_types0.JSONValue;
3616
4627
  } | undefined;
3617
4628
  };
3618
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4629
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3619
4630
  ok: boolean;
3620
4631
  error: {
3621
4632
  code: string;
@@ -3624,7 +4635,7 @@ declare class ConfigRoutesController {
3624
4635
  [x: string]: _$hono_utils_types0.JSONValue;
3625
4636
  } | undefined;
3626
4637
  };
3627
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4638
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3628
4639
  ok: boolean;
3629
4640
  data: {
3630
4641
  channel: string;
@@ -3646,7 +4657,7 @@ declare class ConfigRoutesController {
3646
4657
  [x: string]: _$hono_utils_types0.JSONValue;
3647
4658
  } | undefined;
3648
4659
  };
3649
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4660
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3650
4661
  ok: boolean;
3651
4662
  error: {
3652
4663
  code: string;
@@ -3655,7 +4666,7 @@ declare class ConfigRoutesController {
3655
4666
  [x: string]: _$hono_utils_types0.JSONValue;
3656
4667
  } | undefined;
3657
4668
  };
3658
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4669
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3659
4670
  ok: boolean;
3660
4671
  data: {
3661
4672
  channel: string;
@@ -3675,7 +4686,7 @@ declare class ConfigRoutesController {
3675
4686
  [x: string]: _$hono_utils_types0.JSONValue;
3676
4687
  } | undefined;
3677
4688
  };
3678
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4689
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3679
4690
  ok: boolean;
3680
4691
  error: {
3681
4692
  code: string;
@@ -3684,7 +4695,7 @@ declare class ConfigRoutesController {
3684
4695
  [x: string]: _$hono_utils_types0.JSONValue;
3685
4696
  } | undefined;
3686
4697
  };
3687
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4698
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3688
4699
  ok: boolean;
3689
4700
  data: {
3690
4701
  channel: string;
@@ -3985,6 +4996,12 @@ declare class AppPackagesRoutesController {
3985
4996
  mode: AppDocumentAccessMode;
3986
4997
  description?: string | undefined;
3987
4998
  }[] | undefined;
4999
+ secrets?: {
5000
+ id: string;
5001
+ title: string;
5002
+ description: string;
5003
+ required: boolean;
5004
+ }[] | undefined;
3988
5005
  allowedDomains?: string[] | undefined;
3989
5006
  storage?: boolean | {
3990
5007
  namespace?: string | undefined;
@@ -4045,6 +5062,36 @@ declare class AppPackagesRoutesController {
4045
5062
  } | undefined;
4046
5063
  }[];
4047
5064
  };
5065
+ secrets: {
5066
+ readiness: {
5067
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
5068
+ requirements: {
5069
+ componentId: string;
5070
+ kind: "capability" | "configuration";
5071
+ id: string;
5072
+ title: string;
5073
+ description?: string | undefined;
5074
+ remediation?: {
5075
+ kind: "agent-setup";
5076
+ summary: string;
5077
+ requiresUserAction?: boolean | undefined;
5078
+ } | undefined;
5079
+ }[];
5080
+ };
5081
+ slots: {
5082
+ id: string;
5083
+ description: string;
5084
+ title: string;
5085
+ required: boolean;
5086
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
5087
+ binding?: {
5088
+ source: "env" | "file" | "exec";
5089
+ provider?: string | undefined;
5090
+ id: string;
5091
+ } | undefined;
5092
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
5093
+ }[];
5094
+ };
4048
5095
  dependencies: {
4049
5096
  readiness: {
4050
5097
  status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
@@ -4088,12 +5135,25 @@ declare class AppPackagesRoutesController {
4088
5135
  id: string;
4089
5136
  version?: string | undefined;
4090
5137
  resourceTypes?: string[] | undefined;
5138
+ wit?: {
5139
+ package: string;
5140
+ interface: string;
5141
+ version: string;
5142
+ } | undefined;
4091
5143
  }[];
4092
5144
  }[];
4093
5145
  }[];
4094
5146
  resolvedProviderIds: {
4095
5147
  [x: string]: string[];
4096
5148
  };
5149
+ diagnostics: {
5150
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
5151
+ componentId: string;
5152
+ requirementKind: "capability" | "resource";
5153
+ requirementId: string;
5154
+ providerId?: string | undefined;
5155
+ message: string;
5156
+ }[];
4097
5157
  };
4098
5158
  }[];
4099
5159
  hostTarget?: {
@@ -4131,15 +5191,6 @@ declare class AppPackagesRoutesController {
4131
5191
  };
4132
5192
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
4133
5193
  readonly startInstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4134
- ok: boolean;
4135
- error: {
4136
- code: string;
4137
- message: string;
4138
- details: {
4139
- [x: string]: _$hono_utils_types0.JSONValue;
4140
- } | undefined;
4141
- };
4142
- }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
4143
5194
  ok: boolean;
4144
5195
  data: {
4145
5196
  id: string;
@@ -4162,8 +5213,7 @@ declare class AppPackagesRoutesController {
4162
5213
  dataRemoved?: boolean | undefined;
4163
5214
  } | undefined;
4164
5215
  };
4165
- }, 202, "json">)>;
4166
- readonly startUpdateOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5216
+ }, 202, "json">) | (Response & _$hono.TypedResponse<{
4167
5217
  ok: boolean;
4168
5218
  error: {
4169
5219
  code: string;
@@ -4172,7 +5222,8 @@ declare class AppPackagesRoutesController {
4172
5222
  [x: string]: _$hono_utils_types0.JSONValue;
4173
5223
  } | undefined;
4174
5224
  };
4175
- }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
5225
+ }, 400 | 404 | 409, "json">)>;
5226
+ readonly startUpdateOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4176
5227
  ok: boolean;
4177
5228
  data: {
4178
5229
  id: string;
@@ -4195,8 +5246,7 @@ declare class AppPackagesRoutesController {
4195
5246
  dataRemoved?: boolean | undefined;
4196
5247
  } | undefined;
4197
5248
  };
4198
- }, 202, "json">)>;
4199
- readonly startRollbackOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5249
+ }, 202, "json">) | (Response & _$hono.TypedResponse<{
4200
5250
  ok: boolean;
4201
5251
  error: {
4202
5252
  code: string;
@@ -4205,7 +5255,8 @@ declare class AppPackagesRoutesController {
4205
5255
  [x: string]: _$hono_utils_types0.JSONValue;
4206
5256
  } | undefined;
4207
5257
  };
4208
- }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
5258
+ }, 400 | 404 | 409, "json">)>;
5259
+ readonly startRollbackOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4209
5260
  ok: boolean;
4210
5261
  data: {
4211
5262
  id: string;
@@ -4228,8 +5279,7 @@ declare class AppPackagesRoutesController {
4228
5279
  dataRemoved?: boolean | undefined;
4229
5280
  } | undefined;
4230
5281
  };
4231
- }, 202, "json">)>;
4232
- readonly startUninstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5282
+ }, 202, "json">) | (Response & _$hono.TypedResponse<{
4233
5283
  ok: boolean;
4234
5284
  error: {
4235
5285
  code: string;
@@ -4238,7 +5288,8 @@ declare class AppPackagesRoutesController {
4238
5288
  [x: string]: _$hono_utils_types0.JSONValue;
4239
5289
  } | undefined;
4240
5290
  };
4241
- }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
5291
+ }, 400 | 404 | 409, "json">)>;
5292
+ readonly startUninstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4242
5293
  ok: boolean;
4243
5294
  data: {
4244
5295
  id: string;
@@ -4261,7 +5312,16 @@ declare class AppPackagesRoutesController {
4261
5312
  dataRemoved?: boolean | undefined;
4262
5313
  } | undefined;
4263
5314
  };
4264
- }, 202, "json">)>;
5315
+ }, 202, "json">) | (Response & _$hono.TypedResponse<{
5316
+ ok: boolean;
5317
+ error: {
5318
+ code: string;
5319
+ message: string;
5320
+ details: {
5321
+ [x: string]: _$hono_utils_types0.JSONValue;
5322
+ } | undefined;
5323
+ };
5324
+ }, 400 | 404 | 409, "json">)>;
4265
5325
  readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4266
5326
  ok: boolean;
4267
5327
  error: {
@@ -4318,6 +5378,12 @@ declare class AppPackagesRoutesController {
4318
5378
  mode: AppDocumentAccessMode;
4319
5379
  description?: string | undefined;
4320
5380
  }[] | undefined;
5381
+ secrets?: {
5382
+ id: string;
5383
+ title: string;
5384
+ description: string;
5385
+ required: boolean;
5386
+ }[] | undefined;
4321
5387
  allowedDomains?: string[] | undefined;
4322
5388
  storage?: boolean | {
4323
5389
  namespace?: string | undefined;
@@ -4378,6 +5444,36 @@ declare class AppPackagesRoutesController {
4378
5444
  } | undefined;
4379
5445
  }[];
4380
5446
  };
5447
+ secrets: {
5448
+ readiness: {
5449
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
5450
+ requirements: {
5451
+ componentId: string;
5452
+ kind: "capability" | "configuration";
5453
+ id: string;
5454
+ title: string;
5455
+ description?: string | undefined;
5456
+ remediation?: {
5457
+ kind: "agent-setup";
5458
+ summary: string;
5459
+ requiresUserAction?: boolean | undefined;
5460
+ } | undefined;
5461
+ }[];
5462
+ };
5463
+ slots: {
5464
+ id: string;
5465
+ description: string;
5466
+ title: string;
5467
+ required: boolean;
5468
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
5469
+ binding?: {
5470
+ source: "env" | "file" | "exec";
5471
+ provider?: string | undefined;
5472
+ id: string;
5473
+ } | undefined;
5474
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
5475
+ }[];
5476
+ };
4381
5477
  dependencies: {
4382
5478
  readiness: {
4383
5479
  status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
@@ -4421,12 +5517,25 @@ declare class AppPackagesRoutesController {
4421
5517
  id: string;
4422
5518
  version?: string | undefined;
4423
5519
  resourceTypes?: string[] | undefined;
5520
+ wit?: {
5521
+ package: string;
5522
+ interface: string;
5523
+ version: string;
5524
+ } | undefined;
4424
5525
  }[];
4425
5526
  }[];
4426
5527
  }[];
4427
5528
  resolvedProviderIds: {
4428
5529
  [x: string]: string[];
4429
5530
  };
5531
+ diagnostics: {
5532
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
5533
+ componentId: string;
5534
+ requirementKind: "capability" | "resource";
5535
+ requirementId: string;
5536
+ providerId?: string | undefined;
5537
+ message: string;
5538
+ }[];
4430
5539
  };
4431
5540
  };
4432
5541
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
@@ -4484,12 +5593,25 @@ declare class AppPackagesRoutesController {
4484
5593
  id: string;
4485
5594
  version?: string | undefined;
4486
5595
  resourceTypes?: string[] | undefined;
5596
+ wit?: {
5597
+ package: string;
5598
+ interface: string;
5599
+ version: string;
5600
+ } | undefined;
4487
5601
  }[];
4488
5602
  }[];
4489
5603
  }[];
4490
5604
  resolvedProviderIds: {
4491
5605
  [x: string]: string[];
4492
5606
  };
5607
+ diagnostics: {
5608
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
5609
+ componentId: string;
5610
+ requirementKind: "capability" | "resource";
5611
+ requirementId: string;
5612
+ providerId?: string | undefined;
5613
+ message: string;
5614
+ }[];
4493
5615
  };
4494
5616
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4495
5617
  readonly verifyDependencies: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -4546,12 +5668,25 @@ declare class AppPackagesRoutesController {
4546
5668
  id: string;
4547
5669
  version?: string | undefined;
4548
5670
  resourceTypes?: string[] | undefined;
5671
+ wit?: {
5672
+ package: string;
5673
+ interface: string;
5674
+ version: string;
5675
+ } | undefined;
4549
5676
  }[];
4550
5677
  }[];
4551
5678
  }[];
4552
5679
  resolvedProviderIds: {
4553
5680
  [x: string]: string[];
4554
5681
  };
5682
+ diagnostics: {
5683
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
5684
+ componentId: string;
5685
+ requirementKind: "capability" | "resource";
5686
+ requirementId: string;
5687
+ providerId?: string | undefined;
5688
+ message: string;
5689
+ }[];
4555
5690
  };
4556
5691
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4557
5692
  readonly setupDependencies: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -4608,15 +5743,220 @@ declare class AppPackagesRoutesController {
4608
5743
  id: string;
4609
5744
  version?: string | undefined;
4610
5745
  resourceTypes?: string[] | undefined;
5746
+ wit?: {
5747
+ package: string;
5748
+ interface: string;
5749
+ version: string;
5750
+ } | undefined;
5751
+ }[];
5752
+ }[];
5753
+ }[];
5754
+ resolvedProviderIds: {
5755
+ [x: string]: string[];
5756
+ };
5757
+ diagnostics: {
5758
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
5759
+ componentId: string;
5760
+ requirementKind: "capability" | "resource";
5761
+ requirementId: string;
5762
+ providerId?: string | undefined;
5763
+ message: string;
5764
+ }[];
5765
+ };
5766
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
5767
+ readonly bindDependency: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5768
+ ok: boolean;
5769
+ error: {
5770
+ code: string;
5771
+ message: string;
5772
+ details: {
5773
+ [x: string]: _$hono_utils_types0.JSONValue;
5774
+ } | undefined;
5775
+ };
5776
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
5777
+ ok: boolean;
5778
+ data: {
5779
+ readiness: {
5780
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
5781
+ requirements: {
5782
+ componentId: string;
5783
+ kind: "capability" | "configuration";
5784
+ id: string;
5785
+ title: string;
5786
+ description?: string | undefined;
5787
+ remediation?: {
5788
+ kind: "agent-setup";
5789
+ summary: string;
5790
+ requiresUserAction?: boolean | undefined;
5791
+ } | undefined;
5792
+ }[];
5793
+ };
5794
+ bindings: {
5795
+ componentId: string;
5796
+ requirementKind: "capability" | "resource";
5797
+ requirementId: string;
5798
+ providerId: string;
5799
+ }[];
5800
+ candidates: {
5801
+ requirement: {
5802
+ componentId: string;
5803
+ kind: "capability" | "configuration";
5804
+ id: string;
5805
+ title: string;
5806
+ description?: string | undefined;
5807
+ remediation?: {
5808
+ kind: "agent-setup";
5809
+ summary: string;
5810
+ requiresUserAction?: boolean | undefined;
5811
+ } | undefined;
5812
+ };
5813
+ providers: {
5814
+ providerId: string;
5815
+ appId: string;
5816
+ componentId: string;
5817
+ capabilities: {
5818
+ id: string;
5819
+ version?: string | undefined;
5820
+ resourceTypes?: string[] | undefined;
5821
+ wit?: {
5822
+ package: string;
5823
+ interface: string;
5824
+ version: string;
5825
+ } | undefined;
5826
+ }[];
5827
+ }[];
5828
+ }[];
5829
+ resolvedProviderIds: {
5830
+ [x: string]: string[];
5831
+ };
5832
+ diagnostics: {
5833
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
5834
+ componentId: string;
5835
+ requirementKind: "capability" | "resource";
5836
+ requirementId: string;
5837
+ providerId?: string | undefined;
5838
+ message: string;
5839
+ }[];
5840
+ };
5841
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
5842
+ readonly unbindDependency: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5843
+ ok: boolean;
5844
+ error: {
5845
+ code: string;
5846
+ message: string;
5847
+ details: {
5848
+ [x: string]: _$hono_utils_types0.JSONValue;
5849
+ } | undefined;
5850
+ };
5851
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
5852
+ ok: boolean;
5853
+ data: {
5854
+ readiness: {
5855
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
5856
+ requirements: {
5857
+ componentId: string;
5858
+ kind: "capability" | "configuration";
5859
+ id: string;
5860
+ title: string;
5861
+ description?: string | undefined;
5862
+ remediation?: {
5863
+ kind: "agent-setup";
5864
+ summary: string;
5865
+ requiresUserAction?: boolean | undefined;
5866
+ } | undefined;
5867
+ }[];
5868
+ };
5869
+ bindings: {
5870
+ componentId: string;
5871
+ requirementKind: "capability" | "resource";
5872
+ requirementId: string;
5873
+ providerId: string;
5874
+ }[];
5875
+ candidates: {
5876
+ requirement: {
5877
+ componentId: string;
5878
+ kind: "capability" | "configuration";
5879
+ id: string;
5880
+ title: string;
5881
+ description?: string | undefined;
5882
+ remediation?: {
5883
+ kind: "agent-setup";
5884
+ summary: string;
5885
+ requiresUserAction?: boolean | undefined;
5886
+ } | undefined;
5887
+ };
5888
+ providers: {
5889
+ providerId: string;
5890
+ appId: string;
5891
+ componentId: string;
5892
+ capabilities: {
5893
+ id: string;
5894
+ version?: string | undefined;
5895
+ resourceTypes?: string[] | undefined;
5896
+ wit?: {
5897
+ package: string;
5898
+ interface: string;
5899
+ version: string;
5900
+ } | undefined;
4611
5901
  }[];
4612
5902
  }[];
4613
5903
  }[];
4614
5904
  resolvedProviderIds: {
4615
5905
  [x: string]: string[];
4616
5906
  };
5907
+ diagnostics: {
5908
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
5909
+ componentId: string;
5910
+ requirementKind: "capability" | "resource";
5911
+ requirementId: string;
5912
+ providerId?: string | undefined;
5913
+ message: string;
5914
+ }[];
5915
+ };
5916
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
5917
+ readonly inspectSecrets: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5918
+ ok: boolean;
5919
+ error: {
5920
+ code: string;
5921
+ message: string;
5922
+ details: {
5923
+ [x: string]: _$hono_utils_types0.JSONValue;
5924
+ } | undefined;
5925
+ };
5926
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
5927
+ ok: boolean;
5928
+ data: {
5929
+ readiness: {
5930
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
5931
+ requirements: {
5932
+ componentId: string;
5933
+ kind: "capability" | "configuration";
5934
+ id: string;
5935
+ title: string;
5936
+ description?: string | undefined;
5937
+ remediation?: {
5938
+ kind: "agent-setup";
5939
+ summary: string;
5940
+ requiresUserAction?: boolean | undefined;
5941
+ } | undefined;
5942
+ }[];
5943
+ };
5944
+ slots: {
5945
+ id: string;
5946
+ description: string;
5947
+ title: string;
5948
+ required: boolean;
5949
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
5950
+ binding?: {
5951
+ source: "env" | "file" | "exec";
5952
+ provider?: string | undefined;
5953
+ id: string;
5954
+ } | undefined;
5955
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
5956
+ }[];
4617
5957
  };
4618
5958
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4619
- readonly bindDependency: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5959
+ readonly verifySecrets: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4620
5960
  ok: boolean;
4621
5961
  error: {
4622
5962
  code: string;
@@ -4643,42 +5983,22 @@ declare class AppPackagesRoutesController {
4643
5983
  } | undefined;
4644
5984
  }[];
4645
5985
  };
4646
- bindings: {
4647
- componentId: string;
4648
- requirementKind: "capability" | "resource";
4649
- requirementId: string;
4650
- providerId: string;
4651
- }[];
4652
- candidates: {
4653
- requirement: {
4654
- componentId: string;
4655
- kind: "capability" | "configuration";
5986
+ slots: {
5987
+ id: string;
5988
+ description: string;
5989
+ title: string;
5990
+ required: boolean;
5991
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
5992
+ binding?: {
5993
+ source: "env" | "file" | "exec";
5994
+ provider?: string | undefined;
4656
5995
  id: string;
4657
- title: string;
4658
- description?: string | undefined;
4659
- remediation?: {
4660
- kind: "agent-setup";
4661
- summary: string;
4662
- requiresUserAction?: boolean | undefined;
4663
- } | undefined;
4664
- };
4665
- providers: {
4666
- providerId: string;
4667
- appId: string;
4668
- componentId: string;
4669
- capabilities: {
4670
- id: string;
4671
- version?: string | undefined;
4672
- resourceTypes?: string[] | undefined;
4673
- }[];
4674
- }[];
5996
+ } | undefined;
5997
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
4675
5998
  }[];
4676
- resolvedProviderIds: {
4677
- [x: string]: string[];
4678
- };
4679
5999
  };
4680
6000
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4681
- readonly unbindDependency: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
6001
+ readonly bindSecret: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4682
6002
  ok: boolean;
4683
6003
  error: {
4684
6004
  code: string;
@@ -4705,14 +6025,36 @@ declare class AppPackagesRoutesController {
4705
6025
  } | undefined;
4706
6026
  }[];
4707
6027
  };
4708
- bindings: {
4709
- componentId: string;
4710
- requirementKind: "capability" | "resource";
4711
- requirementId: string;
4712
- providerId: string;
6028
+ slots: {
6029
+ id: string;
6030
+ description: string;
6031
+ title: string;
6032
+ required: boolean;
6033
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6034
+ binding?: {
6035
+ source: "env" | "file" | "exec";
6036
+ provider?: string | undefined;
6037
+ id: string;
6038
+ } | undefined;
6039
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
4713
6040
  }[];
4714
- candidates: {
4715
- requirement: {
6041
+ };
6042
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
6043
+ readonly unbindSecret: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
6044
+ ok: boolean;
6045
+ error: {
6046
+ code: string;
6047
+ message: string;
6048
+ details: {
6049
+ [x: string]: _$hono_utils_types0.JSONValue;
6050
+ } | undefined;
6051
+ };
6052
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
6053
+ ok: boolean;
6054
+ data: {
6055
+ readiness: {
6056
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
6057
+ requirements: {
4716
6058
  componentId: string;
4717
6059
  kind: "capability" | "configuration";
4718
6060
  id: string;
@@ -4723,21 +6065,21 @@ declare class AppPackagesRoutesController {
4723
6065
  summary: string;
4724
6066
  requiresUserAction?: boolean | undefined;
4725
6067
  } | undefined;
4726
- };
4727
- providers: {
4728
- providerId: string;
4729
- appId: string;
4730
- componentId: string;
4731
- capabilities: {
4732
- id: string;
4733
- version?: string | undefined;
4734
- resourceTypes?: string[] | undefined;
4735
- }[];
4736
6068
  }[];
4737
- }[];
4738
- resolvedProviderIds: {
4739
- [x: string]: string[];
4740
6069
  };
6070
+ slots: {
6071
+ id: string;
6072
+ description: string;
6073
+ title: string;
6074
+ required: boolean;
6075
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6076
+ binding?: {
6077
+ source: "env" | "file" | "exec";
6078
+ provider?: string | undefined;
6079
+ id: string;
6080
+ } | undefined;
6081
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
6082
+ }[];
4741
6083
  };
4742
6084
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4743
6085
  readonly install: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -4796,6 +6138,12 @@ declare class AppPackagesRoutesController {
4796
6138
  mode: AppDocumentAccessMode;
4797
6139
  description?: string | undefined;
4798
6140
  }[] | undefined;
6141
+ secrets?: {
6142
+ id: string;
6143
+ title: string;
6144
+ description: string;
6145
+ required: boolean;
6146
+ }[] | undefined;
4799
6147
  allowedDomains?: string[] | undefined;
4800
6148
  storage?: boolean | {
4801
6149
  namespace?: string | undefined;
@@ -4856,6 +6204,36 @@ declare class AppPackagesRoutesController {
4856
6204
  } | undefined;
4857
6205
  }[];
4858
6206
  };
6207
+ secrets: {
6208
+ readiness: {
6209
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
6210
+ requirements: {
6211
+ componentId: string;
6212
+ kind: "capability" | "configuration";
6213
+ id: string;
6214
+ title: string;
6215
+ description?: string | undefined;
6216
+ remediation?: {
6217
+ kind: "agent-setup";
6218
+ summary: string;
6219
+ requiresUserAction?: boolean | undefined;
6220
+ } | undefined;
6221
+ }[];
6222
+ };
6223
+ slots: {
6224
+ id: string;
6225
+ description: string;
6226
+ title: string;
6227
+ required: boolean;
6228
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6229
+ binding?: {
6230
+ source: "env" | "file" | "exec";
6231
+ provider?: string | undefined;
6232
+ id: string;
6233
+ } | undefined;
6234
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
6235
+ }[];
6236
+ };
4859
6237
  dependencies: {
4860
6238
  readiness: {
4861
6239
  status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
@@ -4899,12 +6277,25 @@ declare class AppPackagesRoutesController {
4899
6277
  id: string;
4900
6278
  version?: string | undefined;
4901
6279
  resourceTypes?: string[] | undefined;
6280
+ wit?: {
6281
+ package: string;
6282
+ interface: string;
6283
+ version: string;
6284
+ } | undefined;
4902
6285
  }[];
4903
6286
  }[];
4904
6287
  }[];
4905
6288
  resolvedProviderIds: {
4906
6289
  [x: string]: string[];
4907
6290
  };
6291
+ diagnostics: {
6292
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
6293
+ componentId: string;
6294
+ requirementKind: "capability" | "resource";
6295
+ requirementId: string;
6296
+ providerId?: string | undefined;
6297
+ message: string;
6298
+ }[];
4908
6299
  };
4909
6300
  };
4910
6301
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
@@ -4964,6 +6355,12 @@ declare class AppPackagesRoutesController {
4964
6355
  mode: AppDocumentAccessMode;
4965
6356
  description?: string | undefined;
4966
6357
  }[] | undefined;
6358
+ secrets?: {
6359
+ id: string;
6360
+ title: string;
6361
+ description: string;
6362
+ required: boolean;
6363
+ }[] | undefined;
4967
6364
  allowedDomains?: string[] | undefined;
4968
6365
  storage?: boolean | {
4969
6366
  namespace?: string | undefined;
@@ -5024,6 +6421,36 @@ declare class AppPackagesRoutesController {
5024
6421
  } | undefined;
5025
6422
  }[];
5026
6423
  };
6424
+ secrets: {
6425
+ readiness: {
6426
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
6427
+ requirements: {
6428
+ componentId: string;
6429
+ kind: "capability" | "configuration";
6430
+ id: string;
6431
+ title: string;
6432
+ description?: string | undefined;
6433
+ remediation?: {
6434
+ kind: "agent-setup";
6435
+ summary: string;
6436
+ requiresUserAction?: boolean | undefined;
6437
+ } | undefined;
6438
+ }[];
6439
+ };
6440
+ slots: {
6441
+ id: string;
6442
+ description: string;
6443
+ title: string;
6444
+ required: boolean;
6445
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6446
+ binding?: {
6447
+ source: "env" | "file" | "exec";
6448
+ provider?: string | undefined;
6449
+ id: string;
6450
+ } | undefined;
6451
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
6452
+ }[];
6453
+ };
5027
6454
  dependencies: {
5028
6455
  readiness: {
5029
6456
  status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
@@ -5067,12 +6494,25 @@ declare class AppPackagesRoutesController {
5067
6494
  id: string;
5068
6495
  version?: string | undefined;
5069
6496
  resourceTypes?: string[] | undefined;
6497
+ wit?: {
6498
+ package: string;
6499
+ interface: string;
6500
+ version: string;
6501
+ } | undefined;
5070
6502
  }[];
5071
6503
  }[];
5072
6504
  }[];
5073
6505
  resolvedProviderIds: {
5074
6506
  [x: string]: string[];
5075
6507
  };
6508
+ diagnostics: {
6509
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
6510
+ componentId: string;
6511
+ requirementKind: "capability" | "resource";
6512
+ requirementId: string;
6513
+ providerId?: string | undefined;
6514
+ message: string;
6515
+ }[];
5076
6516
  };
5077
6517
  };
5078
6518
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
@@ -5132,6 +6572,12 @@ declare class AppPackagesRoutesController {
5132
6572
  mode: AppDocumentAccessMode;
5133
6573
  description?: string | undefined;
5134
6574
  }[] | undefined;
6575
+ secrets?: {
6576
+ id: string;
6577
+ title: string;
6578
+ description: string;
6579
+ required: boolean;
6580
+ }[] | undefined;
5135
6581
  allowedDomains?: string[] | undefined;
5136
6582
  storage?: boolean | {
5137
6583
  namespace?: string | undefined;
@@ -5192,6 +6638,36 @@ declare class AppPackagesRoutesController {
5192
6638
  } | undefined;
5193
6639
  }[];
5194
6640
  };
6641
+ secrets: {
6642
+ readiness: {
6643
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
6644
+ requirements: {
6645
+ componentId: string;
6646
+ kind: "capability" | "configuration";
6647
+ id: string;
6648
+ title: string;
6649
+ description?: string | undefined;
6650
+ remediation?: {
6651
+ kind: "agent-setup";
6652
+ summary: string;
6653
+ requiresUserAction?: boolean | undefined;
6654
+ } | undefined;
6655
+ }[];
6656
+ };
6657
+ slots: {
6658
+ id: string;
6659
+ description: string;
6660
+ title: string;
6661
+ required: boolean;
6662
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6663
+ binding?: {
6664
+ source: "env" | "file" | "exec";
6665
+ provider?: string | undefined;
6666
+ id: string;
6667
+ } | undefined;
6668
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
6669
+ }[];
6670
+ };
5195
6671
  dependencies: {
5196
6672
  readiness: {
5197
6673
  status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
@@ -5235,12 +6711,25 @@ declare class AppPackagesRoutesController {
5235
6711
  id: string;
5236
6712
  version?: string | undefined;
5237
6713
  resourceTypes?: string[] | undefined;
6714
+ wit?: {
6715
+ package: string;
6716
+ interface: string;
6717
+ version: string;
6718
+ } | undefined;
5238
6719
  }[];
5239
6720
  }[];
5240
6721
  }[];
5241
6722
  resolvedProviderIds: {
5242
6723
  [x: string]: string[];
5243
6724
  };
6725
+ diagnostics: {
6726
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
6727
+ componentId: string;
6728
+ requirementKind: "capability" | "resource";
6729
+ requirementId: string;
6730
+ providerId?: string | undefined;
6731
+ message: string;
6732
+ }[];
5244
6733
  };
5245
6734
  };
5246
6735
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
@@ -5301,6 +6790,12 @@ declare class AppPackagesRoutesController {
5301
6790
  mode: AppDocumentAccessMode;
5302
6791
  description?: string | undefined;
5303
6792
  }[] | undefined;
6793
+ secrets?: {
6794
+ id: string;
6795
+ title: string;
6796
+ description: string;
6797
+ required: boolean;
6798
+ }[] | undefined;
5304
6799
  allowedDomains?: string[] | undefined;
5305
6800
  storage?: boolean | {
5306
6801
  namespace?: string | undefined;
@@ -5361,6 +6856,36 @@ declare class AppPackagesRoutesController {
5361
6856
  } | undefined;
5362
6857
  }[];
5363
6858
  };
6859
+ secrets: {
6860
+ readiness: {
6861
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
6862
+ requirements: {
6863
+ componentId: string;
6864
+ kind: "capability" | "configuration";
6865
+ id: string;
6866
+ title: string;
6867
+ description?: string | undefined;
6868
+ remediation?: {
6869
+ kind: "agent-setup";
6870
+ summary: string;
6871
+ requiresUserAction?: boolean | undefined;
6872
+ } | undefined;
6873
+ }[];
6874
+ };
6875
+ slots: {
6876
+ id: string;
6877
+ description: string;
6878
+ title: string;
6879
+ required: boolean;
6880
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6881
+ binding?: {
6882
+ source: "env" | "file" | "exec";
6883
+ provider?: string | undefined;
6884
+ id: string;
6885
+ } | undefined;
6886
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
6887
+ }[];
6888
+ };
5364
6889
  dependencies: {
5365
6890
  readiness: {
5366
6891
  status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
@@ -5404,12 +6929,25 @@ declare class AppPackagesRoutesController {
5404
6929
  id: string;
5405
6930
  version?: string | undefined;
5406
6931
  resourceTypes?: string[] | undefined;
6932
+ wit?: {
6933
+ package: string;
6934
+ interface: string;
6935
+ version: string;
6936
+ } | undefined;
5407
6937
  }[];
5408
6938
  }[];
5409
6939
  }[];
5410
6940
  resolvedProviderIds: {
5411
6941
  [x: string]: string[];
5412
6942
  };
6943
+ diagnostics: {
6944
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
6945
+ componentId: string;
6946
+ requirementKind: "capability" | "resource";
6947
+ requirementId: string;
6948
+ providerId?: string | undefined;
6949
+ message: string;
6950
+ }[];
5413
6951
  };
5414
6952
  };
5415
6953
  result: {
@@ -5447,6 +6985,12 @@ declare class AppPackagesRoutesController {
5447
6985
  mode: AppDocumentAccessMode;
5448
6986
  description?: string | undefined;
5449
6987
  }[] | undefined;
6988
+ secrets?: {
6989
+ id: string;
6990
+ title: string;
6991
+ description: string;
6992
+ required: boolean;
6993
+ }[] | undefined;
5450
6994
  allowedDomains?: string[] | undefined;
5451
6995
  storage?: boolean | {
5452
6996
  namespace?: string | undefined;
@@ -5553,6 +7097,12 @@ declare class AppPackagesRoutesController {
5553
7097
  mode: AppDocumentAccessMode;
5554
7098
  description?: string | undefined;
5555
7099
  }[] | undefined;
7100
+ secrets?: {
7101
+ id: string;
7102
+ title: string;
7103
+ description: string;
7104
+ required: boolean;
7105
+ }[] | undefined;
5556
7106
  allowedDomains?: string[] | undefined;
5557
7107
  storage?: boolean | {
5558
7108
  namespace?: string | undefined;
@@ -5613,6 +7163,36 @@ declare class AppPackagesRoutesController {
5613
7163
  } | undefined;
5614
7164
  }[];
5615
7165
  };
7166
+ secrets: {
7167
+ readiness: {
7168
+ status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
7169
+ requirements: {
7170
+ componentId: string;
7171
+ kind: "capability" | "configuration";
7172
+ id: string;
7173
+ title: string;
7174
+ description?: string | undefined;
7175
+ remediation?: {
7176
+ kind: "agent-setup";
7177
+ summary: string;
7178
+ requiresUserAction?: boolean | undefined;
7179
+ } | undefined;
7180
+ }[];
7181
+ };
7182
+ slots: {
7183
+ id: string;
7184
+ description: string;
7185
+ title: string;
7186
+ required: boolean;
7187
+ status: _$_nextclaw_kernel0.AppPackageSecretStatus;
7188
+ binding?: {
7189
+ source: "env" | "file" | "exec";
7190
+ provider?: string | undefined;
7191
+ id: string;
7192
+ } | undefined;
7193
+ errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
7194
+ }[];
7195
+ };
5616
7196
  dependencies: {
5617
7197
  readiness: {
5618
7198
  status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
@@ -5656,12 +7236,25 @@ declare class AppPackagesRoutesController {
5656
7236
  id: string;
5657
7237
  version?: string | undefined;
5658
7238
  resourceTypes?: string[] | undefined;
7239
+ wit?: {
7240
+ package: string;
7241
+ interface: string;
7242
+ version: string;
7243
+ } | undefined;
5659
7244
  }[];
5660
7245
  }[];
5661
7246
  }[];
5662
7247
  resolvedProviderIds: {
5663
7248
  [x: string]: string[];
5664
7249
  };
7250
+ diagnostics: {
7251
+ code: _$_nextclaw_kernel0.AppPackageDependencyDiagnosticCode;
7252
+ componentId: string;
7253
+ requirementKind: "capability" | "resource";
7254
+ requirementId: string;
7255
+ providerId?: string | undefined;
7256
+ message: string;
7257
+ }[];
5665
7258
  };
5666
7259
  };
5667
7260
  result: {
@@ -5743,14 +7336,6 @@ declare class AppDataRoutesController {
5743
7336
  };
5744
7337
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
5745
7338
  readonly deleteRetained: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5746
- ok: boolean;
5747
- data: {
5748
- deleted: true;
5749
- id: string;
5750
- appId: string;
5751
- instanceId: string;
5752
- };
5753
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
5754
7339
  ok: boolean;
5755
7340
  error: {
5756
7341
  code: string;
@@ -5759,7 +7344,15 @@ declare class AppDataRoutesController {
5759
7344
  [x: string]: _$hono_utils_types0.JSONValue;
5760
7345
  } | undefined;
5761
7346
  };
5762
- }, 400 | 404 | 409, "json">)>;
7347
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
7348
+ ok: boolean;
7349
+ data: {
7350
+ deleted: true;
7351
+ id: string;
7352
+ appId: string;
7353
+ instanceId: string;
7354
+ };
7355
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
5763
7356
  }
5764
7357
  //#endregion
5765
7358
  //#region src/features/inbox-deliveries/controllers/inbox-deliveries.controller.d.ts
@@ -5856,5 +7449,5 @@ declare class InboxDeliveriesRoutesController {
5856
7449
  private handleManagerAction;
5857
7450
  }
5858
7451
  //#endregion
5859
- export { AgentBindingView, type AgentCreateRequest, type AgentDeleteResult, type AgentProfileView, type AgentUpdateRequest, ApiError, ApiResponse, type AppDataDeleteResult, type AppDataEntry, type AppDataList, AppDataRoutesController, AppMetaView, type AppPackageHostTarget, 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, McpConnectionCreateResult, McpConnectionRequest, McpConnectionTestResult, NcpAssetRoutesController, NcpSessionContextCompactionView, NcpSessionSkillsView, PanelAppAgentCapabilityView, PanelAppAgentGenerateObjectRequestView, PanelAppAgentGenerateObjectResultView, PanelAppAgentSendRequestView, PanelAppAgentSendResultView, PanelAppBridgeSessionCreateRequest, PanelAppBridgeSessionView, PanelAppCapabilityGrantView, PanelAppClientGrantView, PanelAppDeleteResultView, PanelAppEntryView, PanelAppListView, PanelAppPreferencesUpdateView, PanelAppsRoutesController, PreferenceDeleteResult, PreferenceEntryView, PreferenceUpdateRequest, PreferencesRoutesController, ProductAnalyticsAudience, ProductAnalyticsConfigUpdate, type ProductAnalyticsStatusView, ProductAnalyticsView, 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, UiNcpSessionObservationKind, UiNcpSessionObservationView, UiNcpSessionObservationsView, UiNcpSessionPendingInputView, UiNcpSessionPendingInputsView, UiNcpSessionQueuedInputView, UiNcpSessionQueuedInputsView, UiNcpSessionService, UiNcpSessionTokenUsageView, 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, updateProductAnalytics, updateProvider, updateRuntime, updateSearch, updateSecrets };
7452
+ export { AgentBindingView, type AgentCreateRequest, type AgentDeleteResult, type AgentProfileView, type AgentUpdateRequest, ApiError, ApiResponse, type AppDataDeleteResult, type AppDataEntry, type AppDataList, AppDataRoutesController, AppMetaView, type AppPackageHostTarget, 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, McpConnectionCreateResult, McpConnectionRequest, McpConnectionTestResult, NcpAssetRoutesController, NcpSessionContextCompactionView, NcpSessionSkillsView, PanelAppAgentCapabilityView, PanelAppAgentGenerateObjectRequestView, PanelAppAgentGenerateObjectResultView, PanelAppAgentSendRequestView, PanelAppAgentSendResultView, PanelAppBridgeSessionCreateRequest, PanelAppBridgeSessionView, PanelAppCapabilityGrantView, PanelAppClientGrantView, PanelAppDeleteResultView, PanelAppEntryView, PanelAppListView, PanelAppPreferencesUpdateView, PanelAppsRoutesController, PortableRuntimeAcceptanceContractApiView, PortableRuntimeAcceptanceExportApiView, PortableRuntimeAcceptanceStatusApiView, PreferenceDeleteResult, PreferenceEntryView, PreferenceUpdateRequest, PreferencesRoutesController, ProductAnalyticsAudience, ProductAnalyticsConfigUpdate, type ProductAnalyticsStatusView, ProductAnalyticsView, 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, RuntimeVerificationRecordListView, 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, ServiceAppJobListView, ServiceAppJobViewResponse, ServiceAppJobWatchView, ServiceAppListView, ServiceAppRecordView, ServiceAppsRoutesController, SessionConfigView, SessionEntryView, SessionEventView, SessionHistoryView, SessionMessageView, SessionPatchUpdate, SessionSkillEntryView, SessionTypeDescribeParams, SessionsListView, TavilySearchDepthValue, UiNcpAssetPutView, UiNcpAssetService, UiNcpAssetView, UiNcpSessionListView, UiNcpSessionMessagesView, UiNcpSessionObservationKind, UiNcpSessionObservationView, UiNcpSessionObservationsView, UiNcpSessionPendingInputView, UiNcpSessionPendingInputsView, UiNcpSessionQueuedInputView, UiNcpSessionQueuedInputsView, UiNcpSessionService, UiNcpSessionTokenUsageView, 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, updateProductAnalytics, updateProvider, updateRuntime, updateSearch, updateSecrets };
5860
7453
  //# sourceMappingURL=index.d.ts.map