@nextclaw/server 0.21.0 → 0.22.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -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, PortableRuntimeAcceptanceContractView, PortableRuntimeAcceptanceManager, PortableRuntimeAcceptanceStatusView, PreferenceJsonValue, PreferenceManager, ProjectRecord, ProjectTemplate, ProjectTemplateId, ServiceAction, ServiceActionGrant, ServiceActionInvokeResult, ServiceAppDeleteResult, ServiceAppJobList, ServiceAppJobView, ServiceAppJobWatch, ServiceAppList, ServiceAppManager, ServiceAppRecord, SessionTokenUsageSummary, VerificationRecordList } from "@nextclaw/kernel";
4
+ import { AccessManager, AppDataDeleteResult, AppDataEntry, AppDataList, AppDataManager, AppDocumentGrantMutationResult, AppInstalledPermissionState, AppPackageHostTarget, AppPackageList, AppPackageManager, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationStatus, AppPackageOperationView, AppPackageView, CreateProjectWorkItemInput, CreateProjectWorkStateInput, InboxDeliveryManager, NextclawKernel, ObservationRelationshipStatus, ObservedRequest, ObservedWorkItem, ObservedWorkflow, PanelAppAgentCapability, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppClientGrant, PanelAppEntry, PanelAppList, PanelAppManager, PanelAppPreferencesUpdate, PortableRuntimeAcceptanceContractView, PortableRuntimeAcceptanceManager, PortableRuntimeAcceptanceStatusView, PreferenceJsonValue, PreferenceManager, ProjectObservationSnapshot, ProjectRecord, ProjectTemplate, ProjectTemplateId, ProjectWorkActivity, ProjectWorkActivityPage, ProjectWorkArtifactLink, ProjectWorkAttention, ProjectWorkItemDetail, ProjectWorkList, ProjectWorkState, ProjectWorkStateCategory, ProjectWorkSummary, ServiceAction, ServiceActionGrant, ServiceActionInvokeResult, ServiceAppDeleteResult, ServiceAppJobList, ServiceAppJobView, ServiceAppJobWatch, ServiceAppList, ServiceAppManager, ServiceAppRecord, SessionTokenUsageSummary, UpdateProjectWorkItemInput, UpdateProjectWorkStateInput, 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";
@@ -986,7 +986,7 @@ declare class ServiceAppsRoutesController {
986
986
  [x: string]: _$hono_utils_types0.JSONValue;
987
987
  } | undefined;
988
988
  };
989
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
989
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
990
990
  ok: boolean;
991
991
  error: {
992
992
  code: string;
@@ -1005,7 +1005,7 @@ declare class ServiceAppsRoutesController {
1005
1005
  [x: string]: _$hono_utils_types0.JSONValue;
1006
1006
  } | undefined;
1007
1007
  };
1008
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1008
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1009
1009
  ok: boolean;
1010
1010
  error: {
1011
1011
  code: string;
@@ -1039,7 +1039,7 @@ declare class ServiceAppsRoutesController {
1039
1039
  [x: string]: _$hono_utils_types0.JSONValue;
1040
1040
  } | undefined;
1041
1041
  };
1042
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1042
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1043
1043
  ok: boolean;
1044
1044
  error: {
1045
1045
  code: string;
@@ -1073,7 +1073,7 @@ declare class ServiceAppsRoutesController {
1073
1073
  [x: string]: _$hono_utils_types0.JSONValue;
1074
1074
  } | undefined;
1075
1075
  };
1076
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1076
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1077
1077
  ok: boolean;
1078
1078
  error: {
1079
1079
  code: string;
@@ -1107,7 +1107,7 @@ declare class ServiceAppsRoutesController {
1107
1107
  [x: string]: _$hono_utils_types0.JSONValue;
1108
1108
  } | undefined;
1109
1109
  };
1110
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1110
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1111
1111
  ok: boolean;
1112
1112
  error: {
1113
1113
  code: string;
@@ -1141,7 +1141,7 @@ declare class ServiceAppsRoutesController {
1141
1141
  [x: string]: _$hono_utils_types0.JSONValue;
1142
1142
  } | undefined;
1143
1143
  };
1144
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1144
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1145
1145
  ok: boolean;
1146
1146
  error: {
1147
1147
  code: string;
@@ -1177,7 +1177,7 @@ declare class ServiceAppsRoutesController {
1177
1177
  [x: string]: _$hono_utils_types0.JSONValue;
1178
1178
  } | undefined;
1179
1179
  };
1180
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1180
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1181
1181
  ok: boolean;
1182
1182
  error: {
1183
1183
  code: string;
@@ -1213,7 +1213,7 @@ declare class ServiceAppsRoutesController {
1213
1213
  [x: string]: _$hono_utils_types0.JSONValue;
1214
1214
  } | undefined;
1215
1215
  };
1216
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1216
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1217
1217
  ok: boolean;
1218
1218
  error: {
1219
1219
  code: string;
@@ -1244,7 +1244,7 @@ declare class ServiceAppsRoutesController {
1244
1244
  [x: string]: _$hono_utils_types0.JSONValue;
1245
1245
  } | undefined;
1246
1246
  };
1247
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1247
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1248
1248
  ok: boolean;
1249
1249
  error: {
1250
1250
  code: string;
@@ -1281,7 +1281,7 @@ declare class ServiceAppsRoutesController {
1281
1281
  [x: string]: _$hono_utils_types0.JSONValue;
1282
1282
  } | undefined;
1283
1283
  };
1284
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1284
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1285
1285
  ok: boolean;
1286
1286
  error: {
1287
1287
  code: string;
@@ -1312,7 +1312,7 @@ declare class ServiceAppsRoutesController {
1312
1312
  [x: string]: _$hono_utils_types0.JSONValue;
1313
1313
  } | undefined;
1314
1314
  };
1315
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1315
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1316
1316
  ok: boolean;
1317
1317
  error: {
1318
1318
  code: string;
@@ -1364,14 +1364,14 @@ declare class ServiceAppsRoutesController {
1364
1364
  recovery?: string | undefined;
1365
1365
  evidenceRefs: string[];
1366
1366
  } | {
1367
- status: _$_nextclaw_kernel0.VerificationRecordStatus;
1368
- appId: string;
1369
1367
  error?: {
1370
1368
  code?: string | undefined;
1371
1369
  message: string;
1372
1370
  } | undefined;
1373
1371
  instanceId?: string | undefined;
1372
+ status: _$_nextclaw_kernel0.VerificationRecordStatus;
1374
1373
  componentId: string;
1374
+ appId: string;
1375
1375
  role: _$_nextclaw_kernel0.VerificationRecordRole;
1376
1376
  callId: string;
1377
1377
  traceId: string;
@@ -1411,7 +1411,7 @@ declare class ServiceAppsRoutesController {
1411
1411
  [x: string]: _$hono_utils_types0.JSONValue;
1412
1412
  } | undefined;
1413
1413
  };
1414
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1414
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1415
1415
  ok: boolean;
1416
1416
  error: {
1417
1417
  code: string;
@@ -1451,7 +1451,7 @@ declare class ServiceAppsRoutesController {
1451
1451
  [x: string]: _$hono_utils_types0.JSONValue;
1452
1452
  } | undefined;
1453
1453
  };
1454
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1454
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1455
1455
  ok: boolean;
1456
1456
  error: {
1457
1457
  code: string;
@@ -1519,8 +1519,8 @@ declare class ServiceAppsRoutesController {
1519
1519
  description: string;
1520
1520
  };
1521
1521
  result: {
1522
- status: _$_nextclaw_kernel0.PortableRuntimeAcceptanceResultStatus;
1523
1522
  required: boolean;
1523
+ status: _$_nextclaw_kernel0.PortableRuntimeAcceptanceResultStatus;
1524
1524
  acceptanceId: string;
1525
1525
  latestRecord?: {
1526
1526
  evidenceSchemaVersion: 2;
@@ -1562,14 +1562,14 @@ declare class ServiceAppsRoutesController {
1562
1562
  recovery?: string | undefined;
1563
1563
  evidenceRefs: string[];
1564
1564
  } | {
1565
- status: _$_nextclaw_kernel0.VerificationRecordStatus;
1566
- appId: string;
1567
1565
  error?: {
1568
1566
  code?: string | undefined;
1569
1567
  message: string;
1570
1568
  } | undefined;
1571
1569
  instanceId?: string | undefined;
1570
+ status: _$_nextclaw_kernel0.VerificationRecordStatus;
1572
1571
  componentId: string;
1572
+ appId: string;
1573
1573
  role: _$_nextclaw_kernel0.VerificationRecordRole;
1574
1574
  callId: string;
1575
1575
  traceId: string;
@@ -1618,7 +1618,7 @@ declare class ServiceAppsRoutesController {
1618
1618
  [x: string]: _$hono_utils_types0.JSONValue;
1619
1619
  } | undefined;
1620
1620
  };
1621
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1621
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1622
1622
  ok: boolean;
1623
1623
  error: {
1624
1624
  code: string;
@@ -1686,8 +1686,8 @@ declare class ServiceAppsRoutesController {
1686
1686
  description: string;
1687
1687
  };
1688
1688
  result: {
1689
- status: _$_nextclaw_kernel0.PortableRuntimeAcceptanceResultStatus;
1690
1689
  required: boolean;
1690
+ status: _$_nextclaw_kernel0.PortableRuntimeAcceptanceResultStatus;
1691
1691
  acceptanceId: string;
1692
1692
  latestRecord?: {
1693
1693
  evidenceSchemaVersion: 2;
@@ -1729,14 +1729,14 @@ declare class ServiceAppsRoutesController {
1729
1729
  recovery?: string | undefined;
1730
1730
  evidenceRefs: string[];
1731
1731
  } | {
1732
- status: _$_nextclaw_kernel0.VerificationRecordStatus;
1733
- appId: string;
1734
1732
  error?: {
1735
1733
  code?: string | undefined;
1736
1734
  message: string;
1737
1735
  } | undefined;
1738
1736
  instanceId?: string | undefined;
1737
+ status: _$_nextclaw_kernel0.VerificationRecordStatus;
1739
1738
  componentId: string;
1739
+ appId: string;
1740
1740
  role: _$_nextclaw_kernel0.VerificationRecordRole;
1741
1741
  callId: string;
1742
1742
  traceId: string;
@@ -1785,7 +1785,7 @@ declare class ServiceAppsRoutesController {
1785
1785
  [x: string]: _$hono_utils_types0.JSONValue;
1786
1786
  } | undefined;
1787
1787
  };
1788
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1788
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1789
1789
  ok: boolean;
1790
1790
  error: {
1791
1791
  code: string;
@@ -1832,7 +1832,7 @@ declare class ServiceAppsRoutesController {
1832
1832
  [x: string]: _$hono_utils_types0.JSONValue;
1833
1833
  } | undefined;
1834
1834
  };
1835
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1835
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1836
1836
  ok: boolean;
1837
1837
  error: {
1838
1838
  code: string;
@@ -1878,7 +1878,7 @@ declare class ServiceAppsRoutesController {
1878
1878
  [x: string]: _$hono_utils_types0.JSONValue;
1879
1879
  } | undefined;
1880
1880
  };
1881
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1881
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1882
1882
  ok: boolean;
1883
1883
  error: {
1884
1884
  code: string;
@@ -1948,7 +1948,7 @@ declare class ServiceAppsRoutesController {
1948
1948
  [x: string]: _$hono_utils_types0.JSONValue;
1949
1949
  } | undefined;
1950
1950
  };
1951
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1951
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1952
1952
  ok: boolean;
1953
1953
  error: {
1954
1954
  code: string;
@@ -1994,7 +1994,7 @@ declare class ServiceAppsRoutesController {
1994
1994
  [x: string]: _$hono_utils_types0.JSONValue;
1995
1995
  } | undefined;
1996
1996
  };
1997
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1997
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
1998
1998
  ok: boolean;
1999
1999
  error: {
2000
2000
  code: string;
@@ -2042,7 +2042,7 @@ declare class ServiceAppsRoutesController {
2042
2042
  [x: string]: _$hono_utils_types0.JSONValue;
2043
2043
  } | undefined;
2044
2044
  };
2045
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2045
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2046
2046
  ok: boolean;
2047
2047
  error: {
2048
2048
  code: string;
@@ -2084,7 +2084,7 @@ declare class ServiceAppsRoutesController {
2084
2084
  [x: string]: _$hono_utils_types0.JSONValue;
2085
2085
  } | undefined;
2086
2086
  };
2087
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2087
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2088
2088
  ok: boolean;
2089
2089
  error: {
2090
2090
  code: string;
@@ -2117,7 +2117,7 @@ declare class ServiceAppsRoutesController {
2117
2117
  [x: string]: _$hono_utils_types0.JSONValue;
2118
2118
  } | undefined;
2119
2119
  };
2120
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2120
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2121
2121
  ok: boolean;
2122
2122
  error: {
2123
2123
  code: string;
@@ -2152,7 +2152,7 @@ declare class ServiceAppsRoutesController {
2152
2152
  [x: string]: _$hono_utils_types0.JSONValue;
2153
2153
  } | undefined;
2154
2154
  };
2155
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2155
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2156
2156
  ok: boolean;
2157
2157
  error: {
2158
2158
  code: string;
@@ -2204,7 +2204,7 @@ declare class ServiceAppsRoutesController {
2204
2204
  [x: string]: _$hono_utils_types0.JSONValue;
2205
2205
  } | undefined;
2206
2206
  };
2207
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2207
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2208
2208
  ok: boolean;
2209
2209
  error: {
2210
2210
  code: string;
@@ -2228,7 +2228,7 @@ declare class ServiceAppsRoutesController {
2228
2228
  [x: string]: _$hono_utils_types0.JSONValue;
2229
2229
  } | undefined;
2230
2230
  };
2231
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2231
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2232
2232
  ok: boolean;
2233
2233
  error: {
2234
2234
  code: string;
@@ -2322,7 +2322,7 @@ declare class ServiceAppsRoutesController {
2322
2322
  [x: string]: _$hono_utils_types0.JSONValue;
2323
2323
  } | undefined;
2324
2324
  };
2325
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2325
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2326
2326
  ok: boolean;
2327
2327
  error: {
2328
2328
  code: string;
@@ -2341,7 +2341,7 @@ declare class ServiceAppsRoutesController {
2341
2341
  [x: string]: _$hono_utils_types0.JSONValue;
2342
2342
  } | undefined;
2343
2343
  };
2344
- }, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2344
+ }, 400 | 401 | 403 | 404 | 409 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
2345
2345
  ok: boolean;
2346
2346
  error: {
2347
2347
  code: string;
@@ -3670,7 +3670,7 @@ type UiExtensionHost = {
3670
3670
  getChannelBindings: () => ExtensionChannelBinding[];
3671
3671
  getUiMetadata: () => ExtensionUiMetadata[];
3672
3672
  };
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"> & {
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" | "projectObservation" | "projectWorkManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
3674
3674
  accessManager?: NextclawKernel["accessManager"];
3675
3675
  };
3676
3676
  type UiCronHost = {
@@ -4339,7 +4339,7 @@ declare class ConfigRoutesController {
4339
4339
  [x: string]: _$hono_utils_types0.JSONValue;
4340
4340
  } | undefined;
4341
4341
  };
4342
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4342
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4343
4343
  ok: boolean;
4344
4344
  error: {
4345
4345
  code: string;
@@ -4348,7 +4348,7 @@ declare class ConfigRoutesController {
4348
4348
  [x: string]: _$hono_utils_types0.JSONValue;
4349
4349
  } | undefined;
4350
4350
  };
4351
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4351
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4352
4352
  ok: boolean;
4353
4353
  data: {
4354
4354
  providerId: string;
@@ -4452,7 +4452,7 @@ declare class ConfigRoutesController {
4452
4452
  [x: string]: _$hono_utils_types0.JSONValue;
4453
4453
  } | undefined;
4454
4454
  };
4455
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4455
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4456
4456
  ok: boolean;
4457
4457
  error: {
4458
4458
  code: string;
@@ -4461,7 +4461,7 @@ declare class ConfigRoutesController {
4461
4461
  [x: string]: _$hono_utils_types0.JSONValue;
4462
4462
  } | undefined;
4463
4463
  };
4464
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4464
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4465
4465
  ok: boolean;
4466
4466
  data: {
4467
4467
  success: boolean;
@@ -4480,7 +4480,7 @@ declare class ConfigRoutesController {
4480
4480
  [x: string]: _$hono_utils_types0.JSONValue;
4481
4481
  } | undefined;
4482
4482
  };
4483
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4483
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4484
4484
  ok: boolean;
4485
4485
  error: {
4486
4486
  code: string;
@@ -4489,7 +4489,7 @@ declare class ConfigRoutesController {
4489
4489
  [x: string]: _$hono_utils_types0.JSONValue;
4490
4490
  } | undefined;
4491
4491
  };
4492
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4492
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4493
4493
  ok: boolean;
4494
4494
  data: {
4495
4495
  provider: string;
@@ -4516,7 +4516,7 @@ declare class ConfigRoutesController {
4516
4516
  [x: string]: _$hono_utils_types0.JSONValue;
4517
4517
  } | undefined;
4518
4518
  };
4519
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4519
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4520
4520
  ok: boolean;
4521
4521
  error: {
4522
4522
  code: string;
@@ -4525,7 +4525,7 @@ declare class ConfigRoutesController {
4525
4525
  [x: string]: _$hono_utils_types0.JSONValue;
4526
4526
  } | undefined;
4527
4527
  };
4528
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4528
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4529
4529
  ok: boolean;
4530
4530
  data: {
4531
4531
  provider: string;
@@ -4548,7 +4548,7 @@ declare class ConfigRoutesController {
4548
4548
  [x: string]: _$hono_utils_types0.JSONValue;
4549
4549
  } | undefined;
4550
4550
  };
4551
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4551
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4552
4552
  ok: boolean;
4553
4553
  error: {
4554
4554
  code: string;
@@ -4557,7 +4557,7 @@ declare class ConfigRoutesController {
4557
4557
  [x: string]: _$hono_utils_types0.JSONValue;
4558
4558
  } | undefined;
4559
4559
  };
4560
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4560
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4561
4561
  ok: boolean;
4562
4562
  data: {
4563
4563
  provider: string;
@@ -4575,7 +4575,7 @@ declare class ConfigRoutesController {
4575
4575
  [x: string]: _$hono_utils_types0.JSONValue;
4576
4576
  } | undefined;
4577
4577
  };
4578
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4578
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4579
4579
  ok: boolean;
4580
4580
  error: {
4581
4581
  code: string;
@@ -4584,7 +4584,7 @@ declare class ConfigRoutesController {
4584
4584
  [x: string]: _$hono_utils_types0.JSONValue;
4585
4585
  } | undefined;
4586
4586
  };
4587
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4587
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4588
4588
  ok: boolean;
4589
4589
  data: {
4590
4590
  provider: string;
@@ -4602,7 +4602,7 @@ declare class ConfigRoutesController {
4602
4602
  [x: string]: _$hono_utils_types0.JSONValue;
4603
4603
  } | undefined;
4604
4604
  };
4605
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4605
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4606
4606
  ok: boolean;
4607
4607
  error: {
4608
4608
  code: string;
@@ -4611,7 +4611,7 @@ declare class ConfigRoutesController {
4611
4611
  [x: string]: _$hono_utils_types0.JSONValue;
4612
4612
  } | undefined;
4613
4613
  };
4614
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4614
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4615
4615
  ok: boolean;
4616
4616
  data: {
4617
4617
  [x: string]: _$hono_utils_types0.JSONValue;
@@ -4626,7 +4626,7 @@ declare class ConfigRoutesController {
4626
4626
  [x: string]: _$hono_utils_types0.JSONValue;
4627
4627
  } | undefined;
4628
4628
  };
4629
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4629
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4630
4630
  ok: boolean;
4631
4631
  error: {
4632
4632
  code: string;
@@ -4635,7 +4635,7 @@ declare class ConfigRoutesController {
4635
4635
  [x: string]: _$hono_utils_types0.JSONValue;
4636
4636
  } | undefined;
4637
4637
  };
4638
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4638
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4639
4639
  ok: boolean;
4640
4640
  data: {
4641
4641
  channel: string;
@@ -4657,7 +4657,7 @@ declare class ConfigRoutesController {
4657
4657
  [x: string]: _$hono_utils_types0.JSONValue;
4658
4658
  } | undefined;
4659
4659
  };
4660
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4660
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4661
4661
  ok: boolean;
4662
4662
  error: {
4663
4663
  code: string;
@@ -4666,7 +4666,7 @@ declare class ConfigRoutesController {
4666
4666
  [x: string]: _$hono_utils_types0.JSONValue;
4667
4667
  } | undefined;
4668
4668
  };
4669
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4669
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4670
4670
  ok: boolean;
4671
4671
  data: {
4672
4672
  channel: string;
@@ -4686,7 +4686,7 @@ declare class ConfigRoutesController {
4686
4686
  [x: string]: _$hono_utils_types0.JSONValue;
4687
4687
  } | undefined;
4688
4688
  };
4689
- }, 400, "json">) | (Response & _$hono.TypedResponse<{
4689
+ }, 404, "json">) | (Response & _$hono.TypedResponse<{
4690
4690
  ok: boolean;
4691
4691
  error: {
4692
4692
  code: string;
@@ -4695,7 +4695,7 @@ declare class ConfigRoutesController {
4695
4695
  [x: string]: _$hono_utils_types0.JSONValue;
4696
4696
  } | undefined;
4697
4697
  };
4698
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
4698
+ }, 400, "json">) | (Response & _$hono.TypedResponse<{
4699
4699
  ok: boolean;
4700
4700
  data: {
4701
4701
  channel: string;
@@ -4778,6 +4778,17 @@ declare class ConfigRoutesController {
4778
4778
  }, 400, "json">) | (Response & _$hono.TypedResponse<{
4779
4779
  ok: boolean;
4780
4780
  data: {
4781
+ bindings?: {
4782
+ agentId: string;
4783
+ match: {
4784
+ channel: string;
4785
+ accountId?: string | undefined;
4786
+ peer?: {
4787
+ kind: "direct" | "group" | "channel";
4788
+ id: string;
4789
+ } | undefined;
4790
+ };
4791
+ }[] | undefined;
4781
4792
  agents: {
4782
4793
  defaults: {
4783
4794
  model: string;
@@ -4858,17 +4869,6 @@ declare class ConfigRoutesController {
4858
4869
  } | undefined;
4859
4870
  } | undefined;
4860
4871
  };
4861
- bindings?: {
4862
- agentId: string;
4863
- match: {
4864
- channel: string;
4865
- accountId?: string | undefined;
4866
- peer?: {
4867
- kind: "direct" | "group" | "channel";
4868
- id: string;
4869
- } | undefined;
4870
- };
4871
- }[] | undefined;
4872
4872
  session?: {
4873
4873
  dmScope?: "main" | "per-peer" | "per-channel-peer" | "per-account-channel-peer" | undefined;
4874
4874
  } | undefined;
@@ -5080,8 +5080,8 @@ declare class AppPackagesRoutesController {
5080
5080
  };
5081
5081
  slots: {
5082
5082
  id: string;
5083
- description: string;
5084
5083
  title: string;
5084
+ description: string;
5085
5085
  required: boolean;
5086
5086
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
5087
5087
  binding?: {
@@ -5155,6 +5155,17 @@ declare class AppPackagesRoutesController {
5155
5155
  message: string;
5156
5156
  }[];
5157
5157
  };
5158
+ documentAccess: {
5159
+ id: string;
5160
+ mode: "read" | "read-write";
5161
+ description?: string | undefined;
5162
+ granted: boolean;
5163
+ grantedPath?: string | undefined;
5164
+ effectiveMode?: "read" | "read-write" | undefined;
5165
+ grantedAt?: string | undefined;
5166
+ status: "ungranted" | "granted" | "insufficient" | "unavailable";
5167
+ availableActions: Array<"grant" | "replace" | "upgrade" | "downgrade" | "revoke">;
5168
+ }[];
5158
5169
  }[];
5159
5170
  hostTarget?: {
5160
5171
  key: string;
@@ -5462,8 +5473,8 @@ declare class AppPackagesRoutesController {
5462
5473
  };
5463
5474
  slots: {
5464
5475
  id: string;
5465
- description: string;
5466
5476
  title: string;
5477
+ description: string;
5467
5478
  required: boolean;
5468
5479
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
5469
5480
  binding?: {
@@ -5537,6 +5548,17 @@ declare class AppPackagesRoutesController {
5537
5548
  message: string;
5538
5549
  }[];
5539
5550
  };
5551
+ documentAccess: {
5552
+ id: string;
5553
+ mode: "read" | "read-write";
5554
+ description?: string | undefined;
5555
+ granted: boolean;
5556
+ grantedPath?: string | undefined;
5557
+ effectiveMode?: "read" | "read-write" | undefined;
5558
+ grantedAt?: string | undefined;
5559
+ status: "ungranted" | "granted" | "insufficient" | "unavailable";
5560
+ availableActions: Array<"grant" | "replace" | "upgrade" | "downgrade" | "revoke">;
5561
+ }[];
5540
5562
  };
5541
5563
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
5542
5564
  readonly inspectDependencies: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -5943,8 +5965,8 @@ declare class AppPackagesRoutesController {
5943
5965
  };
5944
5966
  slots: {
5945
5967
  id: string;
5946
- description: string;
5947
5968
  title: string;
5969
+ description: string;
5948
5970
  required: boolean;
5949
5971
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
5950
5972
  binding?: {
@@ -5956,6 +5978,80 @@ declare class AppPackagesRoutesController {
5956
5978
  }[];
5957
5979
  };
5958
5980
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
5981
+ readonly inspectDocumentAccess: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5982
+ ok: boolean;
5983
+ error: {
5984
+ code: string;
5985
+ message: string;
5986
+ details: {
5987
+ [x: string]: _$hono_utils_types0.JSONValue;
5988
+ } | undefined;
5989
+ };
5990
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
5991
+ ok: boolean;
5992
+ data: {
5993
+ appId: string;
5994
+ name: string;
5995
+ activeVersion: string;
5996
+ documentAccess: {
5997
+ id: string;
5998
+ mode: "read" | "read-write";
5999
+ description?: string | undefined;
6000
+ granted: boolean;
6001
+ grantedPath?: string | undefined;
6002
+ effectiveMode?: "read" | "read-write" | undefined;
6003
+ grantedAt?: string | undefined;
6004
+ status: "ungranted" | "granted" | "insufficient" | "unavailable";
6005
+ availableActions: Array<"grant" | "replace" | "upgrade" | "downgrade" | "revoke">;
6006
+ }[];
6007
+ allowedDomains: string[];
6008
+ storage: {
6009
+ enabled: boolean;
6010
+ namespace?: string | undefined;
6011
+ };
6012
+ capabilities: {
6013
+ hostBridge: boolean;
6014
+ };
6015
+ };
6016
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
6017
+ readonly grantDocumentAccess: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
6018
+ ok: boolean;
6019
+ error: {
6020
+ code: string;
6021
+ message: string;
6022
+ details: {
6023
+ [x: string]: _$hono_utils_types0.JSONValue;
6024
+ } | undefined;
6025
+ };
6026
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
6027
+ ok: boolean;
6028
+ data: {
6029
+ appId: string;
6030
+ scopeId: string;
6031
+ grantedPath?: string | undefined;
6032
+ effectiveMode?: "read" | "read-write" | undefined;
6033
+ removed?: boolean | undefined;
6034
+ };
6035
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
6036
+ readonly revokeDocumentAccess: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
6037
+ ok: boolean;
6038
+ error: {
6039
+ code: string;
6040
+ message: string;
6041
+ details: {
6042
+ [x: string]: _$hono_utils_types0.JSONValue;
6043
+ } | undefined;
6044
+ };
6045
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
6046
+ ok: boolean;
6047
+ data: {
6048
+ appId: string;
6049
+ scopeId: string;
6050
+ grantedPath?: string | undefined;
6051
+ effectiveMode?: "read" | "read-write" | undefined;
6052
+ removed?: boolean | undefined;
6053
+ };
6054
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
5959
6055
  readonly verifySecrets: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
5960
6056
  ok: boolean;
5961
6057
  error: {
@@ -5985,8 +6081,8 @@ declare class AppPackagesRoutesController {
5985
6081
  };
5986
6082
  slots: {
5987
6083
  id: string;
5988
- description: string;
5989
6084
  title: string;
6085
+ description: string;
5990
6086
  required: boolean;
5991
6087
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
5992
6088
  binding?: {
@@ -6027,8 +6123,8 @@ declare class AppPackagesRoutesController {
6027
6123
  };
6028
6124
  slots: {
6029
6125
  id: string;
6030
- description: string;
6031
6126
  title: string;
6127
+ description: string;
6032
6128
  required: boolean;
6033
6129
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6034
6130
  binding?: {
@@ -6069,8 +6165,8 @@ declare class AppPackagesRoutesController {
6069
6165
  };
6070
6166
  slots: {
6071
6167
  id: string;
6072
- description: string;
6073
6168
  title: string;
6169
+ description: string;
6074
6170
  required: boolean;
6075
6171
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6076
6172
  binding?: {
@@ -6222,8 +6318,8 @@ declare class AppPackagesRoutesController {
6222
6318
  };
6223
6319
  slots: {
6224
6320
  id: string;
6225
- description: string;
6226
6321
  title: string;
6322
+ description: string;
6227
6323
  required: boolean;
6228
6324
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6229
6325
  binding?: {
@@ -6297,6 +6393,17 @@ declare class AppPackagesRoutesController {
6297
6393
  message: string;
6298
6394
  }[];
6299
6395
  };
6396
+ documentAccess: {
6397
+ id: string;
6398
+ mode: "read" | "read-write";
6399
+ description?: string | undefined;
6400
+ granted: boolean;
6401
+ grantedPath?: string | undefined;
6402
+ effectiveMode?: "read" | "read-write" | undefined;
6403
+ grantedAt?: string | undefined;
6404
+ status: "ungranted" | "granted" | "insufficient" | "unavailable";
6405
+ availableActions: Array<"grant" | "replace" | "upgrade" | "downgrade" | "revoke">;
6406
+ }[];
6300
6407
  };
6301
6408
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
6302
6409
  readonly enable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -6439,8 +6546,8 @@ declare class AppPackagesRoutesController {
6439
6546
  };
6440
6547
  slots: {
6441
6548
  id: string;
6442
- description: string;
6443
6549
  title: string;
6550
+ description: string;
6444
6551
  required: boolean;
6445
6552
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6446
6553
  binding?: {
@@ -6514,6 +6621,17 @@ declare class AppPackagesRoutesController {
6514
6621
  message: string;
6515
6622
  }[];
6516
6623
  };
6624
+ documentAccess: {
6625
+ id: string;
6626
+ mode: "read" | "read-write";
6627
+ description?: string | undefined;
6628
+ granted: boolean;
6629
+ grantedPath?: string | undefined;
6630
+ effectiveMode?: "read" | "read-write" | undefined;
6631
+ grantedAt?: string | undefined;
6632
+ status: "ungranted" | "granted" | "insufficient" | "unavailable";
6633
+ availableActions: Array<"grant" | "replace" | "upgrade" | "downgrade" | "revoke">;
6634
+ }[];
6517
6635
  };
6518
6636
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
6519
6637
  readonly disable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -6656,8 +6774,8 @@ declare class AppPackagesRoutesController {
6656
6774
  };
6657
6775
  slots: {
6658
6776
  id: string;
6659
- description: string;
6660
6777
  title: string;
6778
+ description: string;
6661
6779
  required: boolean;
6662
6780
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6663
6781
  binding?: {
@@ -6731,6 +6849,17 @@ declare class AppPackagesRoutesController {
6731
6849
  message: string;
6732
6850
  }[];
6733
6851
  };
6852
+ documentAccess: {
6853
+ id: string;
6854
+ mode: "read" | "read-write";
6855
+ description?: string | undefined;
6856
+ granted: boolean;
6857
+ grantedPath?: string | undefined;
6858
+ effectiveMode?: "read" | "read-write" | undefined;
6859
+ grantedAt?: string | undefined;
6860
+ status: "ungranted" | "granted" | "insufficient" | "unavailable";
6861
+ availableActions: Array<"grant" | "replace" | "upgrade" | "downgrade" | "revoke">;
6862
+ }[];
6734
6863
  };
6735
6864
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
6736
6865
  readonly update: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -6874,8 +7003,8 @@ declare class AppPackagesRoutesController {
6874
7003
  };
6875
7004
  slots: {
6876
7005
  id: string;
6877
- description: string;
6878
7006
  title: string;
7007
+ description: string;
6879
7008
  required: boolean;
6880
7009
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
6881
7010
  binding?: {
@@ -6949,6 +7078,17 @@ declare class AppPackagesRoutesController {
6949
7078
  message: string;
6950
7079
  }[];
6951
7080
  };
7081
+ documentAccess: {
7082
+ id: string;
7083
+ mode: "read" | "read-write";
7084
+ description?: string | undefined;
7085
+ granted: boolean;
7086
+ grantedPath?: string | undefined;
7087
+ effectiveMode?: "read" | "read-write" | undefined;
7088
+ grantedAt?: string | undefined;
7089
+ status: "ungranted" | "granted" | "insufficient" | "unavailable";
7090
+ availableActions: Array<"grant" | "replace" | "upgrade" | "downgrade" | "revoke">;
7091
+ }[];
6952
7092
  };
6953
7093
  result: {
6954
7094
  appId: string;
@@ -7181,8 +7321,8 @@ declare class AppPackagesRoutesController {
7181
7321
  };
7182
7322
  slots: {
7183
7323
  id: string;
7184
- description: string;
7185
7324
  title: string;
7325
+ description: string;
7186
7326
  required: boolean;
7187
7327
  status: _$_nextclaw_kernel0.AppPackageSecretStatus;
7188
7328
  binding?: {
@@ -7256,6 +7396,17 @@ declare class AppPackagesRoutesController {
7256
7396
  message: string;
7257
7397
  }[];
7258
7398
  };
7399
+ documentAccess: {
7400
+ id: string;
7401
+ mode: "read" | "read-write";
7402
+ description?: string | undefined;
7403
+ granted: boolean;
7404
+ grantedPath?: string | undefined;
7405
+ effectiveMode?: "read" | "read-write" | undefined;
7406
+ grantedAt?: string | undefined;
7407
+ status: "ungranted" | "granted" | "insufficient" | "unavailable";
7408
+ availableActions: Array<"grant" | "replace" | "upgrade" | "downgrade" | "revoke">;
7409
+ }[];
7259
7410
  };
7260
7411
  result: {
7261
7412
  appId: string;
@@ -7387,15 +7538,6 @@ declare class InboxDeliveriesRoutesController {
7387
7538
  };
7388
7539
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
7389
7540
  readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
7390
- ok: boolean;
7391
- error: {
7392
- code: string;
7393
- message: string;
7394
- details: {
7395
- [x: string]: _$hono_utils_types0.JSONValue;
7396
- } | undefined;
7397
- };
7398
- }, 404, "json">) | (Response & _$hono.TypedResponse<{
7399
7541
  ok: boolean;
7400
7542
  data: {
7401
7543
  id: string;
@@ -7416,7 +7558,16 @@ declare class InboxDeliveriesRoutesController {
7416
7558
  readAt: string | null;
7417
7559
  archivedAt: string | null;
7418
7560
  };
7419
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
7561
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
7562
+ ok: boolean;
7563
+ error: {
7564
+ code: string;
7565
+ message: string;
7566
+ details: {
7567
+ [x: string]: _$hono_utils_types0.JSONValue;
7568
+ } | undefined;
7569
+ };
7570
+ }, 404, "json">)>;
7420
7571
  readonly updateState: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
7421
7572
  ok: boolean;
7422
7573
  data: _$hono_utils_types0.JSONValue;
@@ -7449,5 +7600,5 @@ declare class InboxDeliveriesRoutesController {
7449
7600
  private handleManagerAction;
7450
7601
  }
7451
7602
  //#endregion
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 };
7603
+ export { AgentBindingView, type AgentCreateRequest, type AgentDeleteResult, type AgentProfileView, type AgentUpdateRequest, ApiError, ApiResponse, type AppDataDeleteResult, type AppDataEntry, type AppDataList, AppDataRoutesController, type AppDocumentGrantMutationResult, type AppInstalledPermissionState, 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, type CreateProjectWorkItemInput, type CreateProjectWorkStateInput, 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, type ObservedRequest, type ObservedWorkItem, type ObservedWorkflow, 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 ProjectObservationSnapshot, type ProjectTemplateView, type ProjectView, type ProjectWorkActivity, type ProjectWorkActivityPage, type ProjectWorkArtifactLink, type ProjectWorkAttention, type ProjectWorkItemDetail, type ProjectWorkList, type ProjectWorkState, type ProjectWorkStateCategory, type ProjectWorkSummary, 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, type UpdateProjectWorkItemInput, type UpdateProjectWorkStateInput, buildConfigMeta, buildConfigSchemaView, buildConfigView, buildProviderTemplatesView, buildProvidersView, createProvider, createUiRouter, deleteProvider, ensureUiBridgeSecret, executeConfigAction, getUiBridgeSecretPath, loadConfigOrDefault, readUiBridgeSecret, startUiServer, updateChannel, updateModel, updateProductAnalytics, updateProvider, updateRuntime, updateSearch, updateSecrets };
7453
7604
  //# sourceMappingURL=index.d.ts.map