@nextclaw/server 0.17.3 → 0.18.0-beta.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, 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, PreferenceJsonValue, PreferenceManager, ProjectRecord, ProjectTemplate, ProjectTemplateId, ServiceAction, ServiceActionGrant, ServiceActionInvokeResult, ServiceAppDeleteResult, ServiceAppList, ServiceAppManager, ServiceAppRecord, SessionTokenUsageSummary } from "@nextclaw/kernel";
5
5
  import { FSWatcher } from "node:fs";
6
6
  import * as NextclawCore from "@nextclaw/core";
7
7
  import { Config, ConfigActionExecuteRequest as ConfigActionExecuteRequest$1, ConfigActionExecuteResult as ConfigActionExecuteResult$1, ExtensionChannelBinding, ExtensionUiMetadata, ModelThinkingCapability, ThinkingLevel } from "@nextclaw/core";
@@ -872,6 +872,15 @@ declare class ServiceAppsRoutesController {
872
872
  };
873
873
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
874
874
  readonly getServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
875
+ ok: boolean;
876
+ error: {
877
+ code: string;
878
+ message: string;
879
+ details: {
880
+ [x: string]: _$hono_utils_types0.JSONValue;
881
+ } | undefined;
882
+ };
883
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
875
884
  ok: boolean;
876
885
  data: {
877
886
  id: string;
@@ -918,16 +927,7 @@ declare class ServiceAppsRoutesController {
918
927
  [x: string]: _$hono_utils_types0.JSONValue;
919
928
  } | undefined;
920
929
  };
921
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
922
- ok: boolean;
923
- error: {
924
- code: string;
925
- message: string;
926
- details: {
927
- [x: string]: _$hono_utils_types0.JSONValue;
928
- } | undefined;
929
- };
930
- }, 500, "json">)>;
930
+ }, 400 | 401 | 403 | 404 | 502, "json">)>;
931
931
  readonly listServiceActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
932
932
  ok: boolean;
933
933
  error: {
@@ -937,7 +937,7 @@ declare class ServiceAppsRoutesController {
937
937
  [x: string]: _$hono_utils_types0.JSONValue;
938
938
  } | undefined;
939
939
  };
940
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
940
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
941
941
  ok: boolean;
942
942
  error: {
943
943
  code: string;
@@ -946,7 +946,7 @@ declare class ServiceAppsRoutesController {
946
946
  [x: string]: _$hono_utils_types0.JSONValue;
947
947
  } | undefined;
948
948
  };
949
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
949
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
950
950
  ok: boolean;
951
951
  data: {
952
952
  actions: {
@@ -973,7 +973,7 @@ declare class ServiceAppsRoutesController {
973
973
  [x: string]: _$hono_utils_types0.JSONValue;
974
974
  } | undefined;
975
975
  };
976
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
976
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
977
977
  ok: boolean;
978
978
  error: {
979
979
  code: string;
@@ -982,7 +982,7 @@ declare class ServiceAppsRoutesController {
982
982
  [x: string]: _$hono_utils_types0.JSONValue;
983
983
  } | undefined;
984
984
  };
985
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
985
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
986
986
  ok: boolean;
987
987
  data: {
988
988
  actions: {
@@ -1009,7 +1009,7 @@ declare class ServiceAppsRoutesController {
1009
1009
  [x: string]: _$hono_utils_types0.JSONValue;
1010
1010
  } | undefined;
1011
1011
  };
1012
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1012
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1013
1013
  ok: boolean;
1014
1014
  error: {
1015
1015
  code: string;
@@ -1018,7 +1018,7 @@ declare class ServiceAppsRoutesController {
1018
1018
  [x: string]: _$hono_utils_types0.JSONValue;
1019
1019
  } | undefined;
1020
1020
  };
1021
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1021
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1022
1022
  ok: boolean;
1023
1023
  data: {
1024
1024
  actionId: string;
@@ -1034,7 +1034,7 @@ declare class ServiceAppsRoutesController {
1034
1034
  [x: string]: _$hono_utils_types0.JSONValue;
1035
1035
  } | undefined;
1036
1036
  };
1037
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1037
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1038
1038
  ok: boolean;
1039
1039
  error: {
1040
1040
  code: string;
@@ -1043,7 +1043,7 @@ declare class ServiceAppsRoutesController {
1043
1043
  [x: string]: _$hono_utils_types0.JSONValue;
1044
1044
  } | undefined;
1045
1045
  };
1046
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1046
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1047
1047
  ok: boolean;
1048
1048
  data: {
1049
1049
  caller: {
@@ -1064,7 +1064,7 @@ declare class ServiceAppsRoutesController {
1064
1064
  [x: string]: _$hono_utils_types0.JSONValue;
1065
1065
  } | undefined;
1066
1066
  };
1067
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1067
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1068
1068
  ok: boolean;
1069
1069
  error: {
1070
1070
  code: string;
@@ -1073,7 +1073,7 @@ declare class ServiceAppsRoutesController {
1073
1073
  [x: string]: _$hono_utils_types0.JSONValue;
1074
1074
  } | undefined;
1075
1075
  };
1076
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1076
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1077
1077
  ok: boolean;
1078
1078
  data: {
1079
1079
  grants: {
@@ -1110,7 +1110,7 @@ declare class ServiceAppsRoutesController {
1110
1110
  [x: string]: _$hono_utils_types0.JSONValue;
1111
1111
  } | undefined;
1112
1112
  };
1113
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1113
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1114
1114
  ok: boolean;
1115
1115
  error: {
1116
1116
  code: string;
@@ -1119,7 +1119,7 @@ declare class ServiceAppsRoutesController {
1119
1119
  [x: string]: _$hono_utils_types0.JSONValue;
1120
1120
  } | undefined;
1121
1121
  };
1122
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1122
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1123
1123
  ok: boolean;
1124
1124
  data: {
1125
1125
  revoked: boolean;
@@ -1134,7 +1134,7 @@ declare class ServiceAppsRoutesController {
1134
1134
  [x: string]: _$hono_utils_types0.JSONValue;
1135
1135
  } | undefined;
1136
1136
  };
1137
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1137
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1138
1138
  ok: boolean;
1139
1139
  error: {
1140
1140
  code: string;
@@ -1143,13 +1143,22 @@ declare class ServiceAppsRoutesController {
1143
1143
  [x: string]: _$hono_utils_types0.JSONValue;
1144
1144
  } | undefined;
1145
1145
  };
1146
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1146
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1147
1147
  ok: boolean;
1148
1148
  data: {
1149
1149
  revoked: boolean;
1150
1150
  };
1151
1151
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
1152
1152
  readonly restartServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1153
+ ok: boolean;
1154
+ error: {
1155
+ code: string;
1156
+ message: string;
1157
+ details: {
1158
+ [x: string]: _$hono_utils_types0.JSONValue;
1159
+ } | undefined;
1160
+ };
1161
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1153
1162
  ok: boolean;
1154
1163
  data: {
1155
1164
  id: string;
@@ -1196,16 +1205,7 @@ declare class ServiceAppsRoutesController {
1196
1205
  [x: string]: _$hono_utils_types0.JSONValue;
1197
1206
  } | undefined;
1198
1207
  };
1199
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1200
- ok: boolean;
1201
- error: {
1202
- code: string;
1203
- message: string;
1204
- details: {
1205
- [x: string]: _$hono_utils_types0.JSONValue;
1206
- } | undefined;
1207
- };
1208
- }, 500, "json">)>;
1208
+ }, 400 | 401 | 403 | 404 | 502, "json">)>;
1209
1209
  readonly deleteServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
1210
1210
  ok: boolean;
1211
1211
  error: {
@@ -1215,7 +1215,7 @@ declare class ServiceAppsRoutesController {
1215
1215
  [x: string]: _$hono_utils_types0.JSONValue;
1216
1216
  } | undefined;
1217
1217
  };
1218
- }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1218
+ }, 500, "json">) | (Response & _$hono.TypedResponse<{
1219
1219
  ok: boolean;
1220
1220
  error: {
1221
1221
  code: string;
@@ -1224,7 +1224,7 @@ declare class ServiceAppsRoutesController {
1224
1224
  [x: string]: _$hono_utils_types0.JSONValue;
1225
1225
  } | undefined;
1226
1226
  };
1227
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
1227
+ }, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
1228
1228
  ok: boolean;
1229
1229
  data: {
1230
1230
  deleted: true;
@@ -1258,6 +1258,40 @@ type ServiceActionGrantListView = {
1258
1258
  grants: ServiceActionGrantView[];
1259
1259
  };
1260
1260
  //#endregion
1261
+ //#region src/features/sessions/types/session-observation-api.types.d.ts
1262
+ type UiNcpSessionObservationKind = "context" | "events";
1263
+ type UiNcpSessionObservationView = {
1264
+ id: string;
1265
+ kind: UiNcpSessionObservationKind;
1266
+ extensionId: string;
1267
+ title: string;
1268
+ description?: string;
1269
+ status: ObservationRelationshipStatus;
1270
+ statusReason?: string;
1271
+ createdAt: string;
1272
+ expiresAt?: string;
1273
+ lastReadAt?: string;
1274
+ safeConfigPreview?: string;
1275
+ pendingCount?: number;
1276
+ suppressedCount?: number;
1277
+ deliveryFailureCount?: number;
1278
+ lastSuppressionReason?: string;
1279
+ lastGapAt?: string;
1280
+ gapReason?: string;
1281
+ delivery?: "queue" | "prefer-steer";
1282
+ };
1283
+ type UiNcpSessionObservationsView = {
1284
+ sessionId: string;
1285
+ bindings: UiNcpSessionObservationView[];
1286
+ subscriptions: UiNcpSessionObservationView[];
1287
+ counts: {
1288
+ total: number;
1289
+ context: number;
1290
+ events: number;
1291
+ needsAttention: number;
1292
+ };
1293
+ };
1294
+ //#endregion
1261
1295
  //#region src/shared/types/server-api-cron.types.d.ts
1262
1296
  type CronScheduleView = {
1263
1297
  kind: "at";
@@ -2311,15 +2345,6 @@ declare class RuntimeControlRoutesController {
2311
2345
  private readonly host;
2312
2346
  constructor(host: UiRuntimeControlHost);
2313
2347
  readonly getControl: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2314
- ok: boolean;
2315
- error: {
2316
- code: string;
2317
- message: string;
2318
- details: {
2319
- [x: string]: _$hono_utils_types0.JSONValue;
2320
- } | undefined;
2321
- };
2322
- }, 500, "json">) | (Response & _$hono.TypedResponse<{
2323
2348
  ok: boolean;
2324
2349
  data: {
2325
2350
  environment: RuntimeControlEnvironment;
@@ -2359,7 +2384,16 @@ declare class RuntimeControlRoutesController {
2359
2384
  managementHint?: string | undefined;
2360
2385
  message?: string | undefined;
2361
2386
  };
2362
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
2387
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
2388
+ ok: boolean;
2389
+ error: {
2390
+ code: string;
2391
+ message: string;
2392
+ details: {
2393
+ [x: string]: _$hono_utils_types0.JSONValue;
2394
+ } | undefined;
2395
+ };
2396
+ }, 500, "json">)>;
2363
2397
  readonly restartService: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
2364
2398
  ok: boolean;
2365
2399
  error: {
@@ -2469,10 +2503,9 @@ type UiExtensionHost = {
2469
2503
  generation: string;
2470
2504
  } | null;
2471
2505
  getChannelBindings: () => ExtensionChannelBinding[];
2472
- getRuntimeStatus?: () => ReturnType<NextclawKernel["extensions"]["getRuntimeStatus"]>;
2473
2506
  getUiMetadata: () => ExtensionUiMetadata[];
2474
2507
  };
2475
- type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "systemObjectReferenceManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "appPackageManager" | "appDataManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
2508
+ type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "systemObjectReferenceManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "appPackageManager" | "appDataManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "observations" | "extensions" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
2476
2509
  accessManager?: NextclawKernel["accessManager"];
2477
2510
  };
2478
2511
  type UiCronHost = {
@@ -3129,7 +3162,7 @@ declare class ConfigRoutesController {
3129
3162
  [x: string]: _$hono_utils_types0.JSONValue;
3130
3163
  } | undefined;
3131
3164
  };
3132
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3165
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3133
3166
  ok: boolean;
3134
3167
  error: {
3135
3168
  code: string;
@@ -3138,7 +3171,7 @@ declare class ConfigRoutesController {
3138
3171
  [x: string]: _$hono_utils_types0.JSONValue;
3139
3172
  } | undefined;
3140
3173
  };
3141
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3174
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3142
3175
  ok: boolean;
3143
3176
  data: {
3144
3177
  providerId: string;
@@ -3242,7 +3275,7 @@ declare class ConfigRoutesController {
3242
3275
  [x: string]: _$hono_utils_types0.JSONValue;
3243
3276
  } | undefined;
3244
3277
  };
3245
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3278
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3246
3279
  ok: boolean;
3247
3280
  error: {
3248
3281
  code: string;
@@ -3251,7 +3284,7 @@ declare class ConfigRoutesController {
3251
3284
  [x: string]: _$hono_utils_types0.JSONValue;
3252
3285
  } | undefined;
3253
3286
  };
3254
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3287
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3255
3288
  ok: boolean;
3256
3289
  data: {
3257
3290
  success: boolean;
@@ -3270,7 +3303,7 @@ declare class ConfigRoutesController {
3270
3303
  [x: string]: _$hono_utils_types0.JSONValue;
3271
3304
  } | undefined;
3272
3305
  };
3273
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3306
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3274
3307
  ok: boolean;
3275
3308
  error: {
3276
3309
  code: string;
@@ -3279,7 +3312,7 @@ declare class ConfigRoutesController {
3279
3312
  [x: string]: _$hono_utils_types0.JSONValue;
3280
3313
  } | undefined;
3281
3314
  };
3282
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3315
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3283
3316
  ok: boolean;
3284
3317
  data: {
3285
3318
  provider: string;
@@ -3306,7 +3339,7 @@ declare class ConfigRoutesController {
3306
3339
  [x: string]: _$hono_utils_types0.JSONValue;
3307
3340
  } | undefined;
3308
3341
  };
3309
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3342
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3310
3343
  ok: boolean;
3311
3344
  error: {
3312
3345
  code: string;
@@ -3315,7 +3348,7 @@ declare class ConfigRoutesController {
3315
3348
  [x: string]: _$hono_utils_types0.JSONValue;
3316
3349
  } | undefined;
3317
3350
  };
3318
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3351
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3319
3352
  ok: boolean;
3320
3353
  data: {
3321
3354
  provider: string;
@@ -3338,7 +3371,7 @@ declare class ConfigRoutesController {
3338
3371
  [x: string]: _$hono_utils_types0.JSONValue;
3339
3372
  } | undefined;
3340
3373
  };
3341
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3374
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3342
3375
  ok: boolean;
3343
3376
  error: {
3344
3377
  code: string;
@@ -3347,7 +3380,7 @@ declare class ConfigRoutesController {
3347
3380
  [x: string]: _$hono_utils_types0.JSONValue;
3348
3381
  } | undefined;
3349
3382
  };
3350
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3383
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3351
3384
  ok: boolean;
3352
3385
  data: {
3353
3386
  provider: string;
@@ -3365,7 +3398,7 @@ declare class ConfigRoutesController {
3365
3398
  [x: string]: _$hono_utils_types0.JSONValue;
3366
3399
  } | undefined;
3367
3400
  };
3368
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3401
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3369
3402
  ok: boolean;
3370
3403
  error: {
3371
3404
  code: string;
@@ -3374,7 +3407,7 @@ declare class ConfigRoutesController {
3374
3407
  [x: string]: _$hono_utils_types0.JSONValue;
3375
3408
  } | undefined;
3376
3409
  };
3377
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3410
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3378
3411
  ok: boolean;
3379
3412
  data: {
3380
3413
  provider: string;
@@ -3392,7 +3425,7 @@ declare class ConfigRoutesController {
3392
3425
  [x: string]: _$hono_utils_types0.JSONValue;
3393
3426
  } | undefined;
3394
3427
  };
3395
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3428
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3396
3429
  ok: boolean;
3397
3430
  error: {
3398
3431
  code: string;
@@ -3401,7 +3434,7 @@ declare class ConfigRoutesController {
3401
3434
  [x: string]: _$hono_utils_types0.JSONValue;
3402
3435
  } | undefined;
3403
3436
  };
3404
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3437
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3405
3438
  ok: boolean;
3406
3439
  data: {
3407
3440
  [x: string]: _$hono_utils_types0.JSONValue;
@@ -3416,7 +3449,7 @@ declare class ConfigRoutesController {
3416
3449
  [x: string]: _$hono_utils_types0.JSONValue;
3417
3450
  } | undefined;
3418
3451
  };
3419
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3452
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3420
3453
  ok: boolean;
3421
3454
  error: {
3422
3455
  code: string;
@@ -3425,7 +3458,7 @@ declare class ConfigRoutesController {
3425
3458
  [x: string]: _$hono_utils_types0.JSONValue;
3426
3459
  } | undefined;
3427
3460
  };
3428
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3461
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3429
3462
  ok: boolean;
3430
3463
  data: {
3431
3464
  channel: string;
@@ -3447,7 +3480,7 @@ declare class ConfigRoutesController {
3447
3480
  [x: string]: _$hono_utils_types0.JSONValue;
3448
3481
  } | undefined;
3449
3482
  };
3450
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3483
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3451
3484
  ok: boolean;
3452
3485
  error: {
3453
3486
  code: string;
@@ -3456,7 +3489,7 @@ declare class ConfigRoutesController {
3456
3489
  [x: string]: _$hono_utils_types0.JSONValue;
3457
3490
  } | undefined;
3458
3491
  };
3459
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3492
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3460
3493
  ok: boolean;
3461
3494
  data: {
3462
3495
  channel: string;
@@ -3476,7 +3509,7 @@ declare class ConfigRoutesController {
3476
3509
  [x: string]: _$hono_utils_types0.JSONValue;
3477
3510
  } | undefined;
3478
3511
  };
3479
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
3512
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
3480
3513
  ok: boolean;
3481
3514
  error: {
3482
3515
  code: string;
@@ -3485,7 +3518,7 @@ declare class ConfigRoutesController {
3485
3518
  [x: string]: _$hono_utils_types0.JSONValue;
3486
3519
  } | undefined;
3487
3520
  };
3488
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
3521
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
3489
3522
  ok: boolean;
3490
3523
  data: {
3491
3524
  channel: string;
@@ -4719,6 +4752,15 @@ declare class InboxDeliveriesRoutesController {
4719
4752
  };
4720
4753
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
4721
4754
  readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4755
+ ok: boolean;
4756
+ error: {
4757
+ code: string;
4758
+ message: string;
4759
+ details: {
4760
+ [x: string]: _$hono_utils_types0.JSONValue;
4761
+ } | undefined;
4762
+ };
4763
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4722
4764
  ok: boolean;
4723
4765
  data: {
4724
4766
  id: string;
@@ -4739,16 +4781,7 @@ declare class InboxDeliveriesRoutesController {
4739
4781
  readAt: string | null;
4740
4782
  archivedAt: string | null;
4741
4783
  };
4742
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
4743
- ok: boolean;
4744
- error: {
4745
- code: string;
4746
- message: string;
4747
- details: {
4748
- [x: string]: _$hono_utils_types0.JSONValue;
4749
- } | undefined;
4750
- };
4751
- }, 404, "json">)>;
4784
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4752
4785
  readonly updateState: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4753
4786
  ok: boolean;
4754
4787
  data: _$hono_utils_types0.JSONValue;
@@ -4781,5 +4814,5 @@ declare class InboxDeliveriesRoutesController {
4781
4814
  private handleManagerAction;
4782
4815
  }
4783
4816
  //#endregion
4784
- 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, NcpAssetRoutesController, NcpSessionContextCompactionView, NcpSessionSkillsView, PanelAppAgentCapabilityView, PanelAppAgentGenerateObjectRequestView, PanelAppAgentGenerateObjectResultView, PanelAppAgentSendRequestView, PanelAppAgentSendResultView, PanelAppBridgeSessionCreateRequest, PanelAppBridgeSessionView, PanelAppCapabilityGrantView, PanelAppClientGrantView, PanelAppDeleteResultView, PanelAppEntryView, PanelAppListView, PanelAppPreferencesUpdateView, PanelAppsRoutesController, PreferenceDeleteResult, PreferenceEntryView, PreferenceUpdateRequest, PreferencesRoutesController, ProductAnalyticsAudience, ProductAnalyticsConfigUpdate, 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, 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 };
4817
+ 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, NcpAssetRoutesController, NcpSessionContextCompactionView, NcpSessionSkillsView, PanelAppAgentCapabilityView, PanelAppAgentGenerateObjectRequestView, PanelAppAgentGenerateObjectResultView, PanelAppAgentSendRequestView, PanelAppAgentSendResultView, PanelAppBridgeSessionCreateRequest, PanelAppBridgeSessionView, PanelAppCapabilityGrantView, PanelAppClientGrantView, PanelAppDeleteResultView, PanelAppEntryView, PanelAppListView, PanelAppPreferencesUpdateView, PanelAppsRoutesController, PreferenceDeleteResult, PreferenceEntryView, PreferenceUpdateRequest, PreferencesRoutesController, ProductAnalyticsAudience, ProductAnalyticsConfigUpdate, 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 };
4785
4818
  //# sourceMappingURL=index.d.ts.map