@nextclaw/server 0.20.4 → 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 +3102 -737
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +403 -5
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _$hono from "hono";
|
|
2
2
|
import { Context, Hono } from "hono";
|
|
3
3
|
import * as _$_nextclaw_kernel0 from "@nextclaw/kernel";
|
|
4
|
-
import { AccessManager, 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;
|
|
@@ -945,6 +951,12 @@ declare class ServiceAppsRoutesController {
|
|
|
945
951
|
mode: AppDocumentAccessMode;
|
|
946
952
|
description?: string | undefined;
|
|
947
953
|
}[] | undefined;
|
|
954
|
+
secrets?: {
|
|
955
|
+
id: string;
|
|
956
|
+
title: string;
|
|
957
|
+
description: string;
|
|
958
|
+
required: boolean;
|
|
959
|
+
}[] | undefined;
|
|
948
960
|
allowedDomains?: string[] | undefined;
|
|
949
961
|
storage?: boolean | {
|
|
950
962
|
namespace?: string | undefined;
|
|
@@ -974,7 +986,7 @@ declare class ServiceAppsRoutesController {
|
|
|
974
986
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
975
987
|
} | undefined;
|
|
976
988
|
};
|
|
977
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
989
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
978
990
|
ok: boolean;
|
|
979
991
|
error: {
|
|
980
992
|
code: string;
|
|
@@ -984,7 +996,7 @@ declare class ServiceAppsRoutesController {
|
|
|
984
996
|
} | undefined;
|
|
985
997
|
};
|
|
986
998
|
}, 500, "json">)>;
|
|
987
|
-
readonly
|
|
999
|
+
readonly inspectServiceAppAiCapabilities: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
988
1000
|
ok: boolean;
|
|
989
1001
|
error: {
|
|
990
1002
|
code: string;
|
|
@@ -993,7 +1005,7 @@ declare class ServiceAppsRoutesController {
|
|
|
993
1005
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
994
1006
|
} | undefined;
|
|
995
1007
|
};
|
|
996
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1008
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
997
1009
|
ok: boolean;
|
|
998
1010
|
error: {
|
|
999
1011
|
code: string;
|
|
@@ -1005,22 +1017,20 @@ declare class ServiceAppsRoutesController {
|
|
|
1005
1017
|
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1006
1018
|
ok: boolean;
|
|
1007
1019
|
data: {
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
runtimeState?: _$_nextclaw_kernel0.ServiceActionRuntimeState | undefined;
|
|
1019
|
-
grantState?: _$_nextclaw_kernel0.ServiceActionGrantState | undefined;
|
|
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;
|
|
1020
1030
|
}[];
|
|
1021
1031
|
};
|
|
1022
1032
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1023
|
-
readonly
|
|
1033
|
+
readonly verifyServiceAppAiCapabilities: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
1024
1034
|
ok: boolean;
|
|
1025
1035
|
error: {
|
|
1026
1036
|
code: string;
|
|
@@ -1029,7 +1039,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1029
1039
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1030
1040
|
} | undefined;
|
|
1031
1041
|
};
|
|
1032
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1042
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1033
1043
|
ok: boolean;
|
|
1034
1044
|
error: {
|
|
1035
1045
|
code: string;
|
|
@@ -1041,22 +1051,20 @@ declare class ServiceAppsRoutesController {
|
|
|
1041
1051
|
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1042
1052
|
ok: boolean;
|
|
1043
1053
|
data: {
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
runtimeState?: _$_nextclaw_kernel0.ServiceActionRuntimeState | undefined;
|
|
1055
|
-
grantState?: _$_nextclaw_kernel0.ServiceActionGrantState | undefined;
|
|
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;
|
|
1056
1064
|
}[];
|
|
1057
1065
|
};
|
|
1058
1066
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1059
|
-
readonly
|
|
1067
|
+
readonly bindServiceAppAiCapability: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
1060
1068
|
ok: boolean;
|
|
1061
1069
|
error: {
|
|
1062
1070
|
code: string;
|
|
@@ -1065,7 +1073,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1065
1073
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1066
1074
|
} | undefined;
|
|
1067
1075
|
};
|
|
1068
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1076
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1069
1077
|
ok: boolean;
|
|
1070
1078
|
error: {
|
|
1071
1079
|
code: string;
|
|
@@ -1077,11 +1085,20 @@ declare class ServiceAppsRoutesController {
|
|
|
1077
1085
|
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1078
1086
|
ok: boolean;
|
|
1079
1087
|
data: {
|
|
1080
|
-
|
|
1081
|
-
|
|
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
|
+
}[];
|
|
1082
1099
|
};
|
|
1083
1100
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1084
|
-
readonly
|
|
1101
|
+
readonly unbindServiceAppAiCapability: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
1085
1102
|
ok: boolean;
|
|
1086
1103
|
error: {
|
|
1087
1104
|
code: string;
|
|
@@ -1090,7 +1107,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1090
1107
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1091
1108
|
} | undefined;
|
|
1092
1109
|
};
|
|
1093
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1110
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1094
1111
|
ok: boolean;
|
|
1095
1112
|
error: {
|
|
1096
1113
|
code: string;
|
|
@@ -1102,19 +1119,20 @@ declare class ServiceAppsRoutesController {
|
|
|
1102
1119
|
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1103
1120
|
ok: boolean;
|
|
1104
1121
|
data: {
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
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
|
+
}[];
|
|
1115
1133
|
};
|
|
1116
1134
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1117
|
-
readonly
|
|
1135
|
+
readonly listServiceActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
1118
1136
|
ok: boolean;
|
|
1119
1137
|
error: {
|
|
1120
1138
|
code: string;
|
|
@@ -1123,7 +1141,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1123
1141
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1124
1142
|
} | undefined;
|
|
1125
1143
|
};
|
|
1126
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1144
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1127
1145
|
ok: boolean;
|
|
1128
1146
|
error: {
|
|
1129
1147
|
code: string;
|
|
@@ -1135,21 +1153,22 @@ declare class ServiceAppsRoutesController {
|
|
|
1135
1153
|
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1136
1154
|
ok: boolean;
|
|
1137
1155
|
data: {
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
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;
|
|
1147
1165
|
risk: _$_nextclaw_kernel0.ServiceActionRisk;
|
|
1148
|
-
|
|
1166
|
+
runtimeState?: _$_nextclaw_kernel0.ServiceActionRuntimeState | undefined;
|
|
1167
|
+
grantState?: _$_nextclaw_kernel0.ServiceActionGrantState | undefined;
|
|
1149
1168
|
}[];
|
|
1150
1169
|
};
|
|
1151
1170
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1152
|
-
readonly
|
|
1171
|
+
readonly discoverServiceAppActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
1153
1172
|
ok: boolean;
|
|
1154
1173
|
error: {
|
|
1155
1174
|
code: string;
|
|
@@ -1158,7 +1177,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1158
1177
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1159
1178
|
} | undefined;
|
|
1160
1179
|
};
|
|
1161
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1180
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1162
1181
|
ok: boolean;
|
|
1163
1182
|
error: {
|
|
1164
1183
|
code: string;
|
|
@@ -1170,38 +1189,53 @@ declare class ServiceAppsRoutesController {
|
|
|
1170
1189
|
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1171
1190
|
ok: boolean;
|
|
1172
1191
|
data: {
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
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;
|
|
1182
1201
|
risk: _$_nextclaw_kernel0.ServiceActionRisk;
|
|
1183
|
-
|
|
1202
|
+
runtimeState?: _$_nextclaw_kernel0.ServiceActionRuntimeState | undefined;
|
|
1203
|
+
grantState?: _$_nextclaw_kernel0.ServiceActionGrantState | undefined;
|
|
1184
1204
|
}[];
|
|
1185
1205
|
};
|
|
1186
1206
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1187
|
-
readonly
|
|
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<{
|
|
1188
1226
|
ok: boolean;
|
|
1189
1227
|
data: {
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
actionId: string;
|
|
1199
|
-
risk: _$_nextclaw_kernel0.ServiceActionRisk;
|
|
1200
|
-
grantedAt: string;
|
|
1201
|
-
}[];
|
|
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;
|
|
1202
1236
|
};
|
|
1203
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json"
|
|
1204
|
-
readonly
|
|
1237
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1238
|
+
readonly invokeInstalledServiceAction: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
1205
1239
|
ok: boolean;
|
|
1206
1240
|
error: {
|
|
1207
1241
|
code: string;
|
|
@@ -1210,7 +1244,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1210
1244
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1211
1245
|
} | undefined;
|
|
1212
1246
|
};
|
|
1213
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1247
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1214
1248
|
ok: boolean;
|
|
1215
1249
|
error: {
|
|
1216
1250
|
code: string;
|
|
@@ -1222,10 +1256,23 @@ declare class ServiceAppsRoutesController {
|
|
|
1222
1256
|
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1223
1257
|
ok: boolean;
|
|
1224
1258
|
data: {
|
|
1225
|
-
|
|
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;
|
|
1226
1267
|
};
|
|
1227
1268
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1228
|
-
|
|
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<{
|
|
1229
1276
|
ok: boolean;
|
|
1230
1277
|
error: {
|
|
1231
1278
|
code: string;
|
|
@@ -1234,7 +1281,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1234
1281
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1235
1282
|
} | undefined;
|
|
1236
1283
|
};
|
|
1237
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1284
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1238
1285
|
ok: boolean;
|
|
1239
1286
|
error: {
|
|
1240
1287
|
code: string;
|
|
@@ -1246,74 +1293,116 @@ declare class ServiceAppsRoutesController {
|
|
|
1246
1293
|
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1247
1294
|
ok: boolean;
|
|
1248
1295
|
data: {
|
|
1249
|
-
|
|
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;
|
|
1250
1304
|
};
|
|
1251
1305
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1252
|
-
readonly
|
|
1306
|
+
readonly listVerificationRecords: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
1253
1307
|
ok: boolean;
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
manifestPath: string;
|
|
1260
|
-
command?: string | undefined;
|
|
1261
|
-
args?: string[] | undefined;
|
|
1262
|
-
cwd: string;
|
|
1263
|
-
enabled: boolean;
|
|
1264
|
-
protocol: _$_nextclaw_kernel0.ServiceAppProtocol;
|
|
1265
|
-
status: _$_nextclaw_kernel0.ServiceAppRuntimeStatus;
|
|
1266
|
-
lastError?: string | undefined;
|
|
1267
|
-
lastStartedAt?: string | undefined;
|
|
1268
|
-
lastReadyAt?: string | undefined;
|
|
1269
|
-
lastFailedAt?: string | undefined;
|
|
1270
|
-
sourceKind?: "workspace" | "package" | undefined;
|
|
1271
|
-
packageId?: string | undefined;
|
|
1272
|
-
packageVersion?: string | undefined;
|
|
1273
|
-
packageDirectory?: string | undefined;
|
|
1274
|
-
dataDirectory?: string | undefined;
|
|
1275
|
-
instanceId?: string | undefined;
|
|
1276
|
-
storage?: {
|
|
1277
|
-
layout: AppStorageLayout;
|
|
1278
|
-
layoutVersion: 1;
|
|
1279
|
-
instanceId: string;
|
|
1280
|
-
instanceDirectory: string;
|
|
1281
|
-
dataDirectory: string;
|
|
1282
|
-
configDirectory: string;
|
|
1283
|
-
stateDirectory: string;
|
|
1284
|
-
cacheDirectory: string;
|
|
1285
|
-
temporaryDirectory: string;
|
|
1286
|
-
logsDirectory: string;
|
|
1308
|
+
error: {
|
|
1309
|
+
code: string;
|
|
1310
|
+
message: string;
|
|
1311
|
+
details: {
|
|
1312
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1287
1313
|
} | undefined;
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
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;
|
|
1299
1359
|
} | undefined;
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1360
|
+
error?: {
|
|
1361
|
+
code?: string | undefined;
|
|
1362
|
+
message: string;
|
|
1303
1363
|
} | undefined;
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
providerIds?: string[] | undefined;
|
|
1307
|
-
lifecycle?: {
|
|
1308
|
-
mode: "action";
|
|
1364
|
+
recovery?: string | undefined;
|
|
1365
|
+
evidenceRefs: string[];
|
|
1309
1366
|
} | {
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
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
|
+
})[];
|
|
1315
1402
|
};
|
|
1316
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)
|
|
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<{
|
|
1317
1406
|
ok: boolean;
|
|
1318
1407
|
error: {
|
|
1319
1408
|
code: string;
|
|
@@ -1322,7 +1411,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1322
1411
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1323
1412
|
} | undefined;
|
|
1324
1413
|
};
|
|
1325
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1414
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1326
1415
|
ok: boolean;
|
|
1327
1416
|
error: {
|
|
1328
1417
|
code: string;
|
|
@@ -1331,8 +1420,29 @@ declare class ServiceAppsRoutesController {
|
|
|
1331
1420
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1332
1421
|
} | undefined;
|
|
1333
1422
|
};
|
|
1334
|
-
}, 500, "json">)
|
|
1335
|
-
|
|
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<{
|
|
1336
1446
|
ok: boolean;
|
|
1337
1447
|
error: {
|
|
1338
1448
|
code: string;
|
|
@@ -1341,7 +1451,7 @@ declare class ServiceAppsRoutesController {
|
|
|
1341
1451
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1342
1452
|
} | undefined;
|
|
1343
1453
|
};
|
|
1344
|
-
}, 400 | 401 | 403 | 404 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1454
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1345
1455
|
ok: boolean;
|
|
1346
1456
|
error: {
|
|
1347
1457
|
code: string;
|
|
@@ -1353,19 +1463,913 @@ declare class ServiceAppsRoutesController {
|
|
|
1353
1463
|
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1354
1464
|
ok: boolean;
|
|
1355
1465
|
data: {
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
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<{
|
|
1798
|
+
ok: boolean;
|
|
1799
|
+
data: {
|
|
1800
|
+
entries: {
|
|
1801
|
+
id: string;
|
|
1802
|
+
appId: string;
|
|
1803
|
+
instanceId: string;
|
|
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;
|
|
1818
|
+
} | undefined;
|
|
1819
|
+
error?: {
|
|
1820
|
+
code?: string | undefined;
|
|
1821
|
+
message: string;
|
|
1822
|
+
} | undefined;
|
|
1823
|
+
}[];
|
|
1824
|
+
};
|
|
1825
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1826
|
+
readonly getServiceAppJob: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
1827
|
+
ok: boolean;
|
|
1828
|
+
error: {
|
|
1829
|
+
code: string;
|
|
1830
|
+
message: string;
|
|
1831
|
+
details: {
|
|
1832
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1833
|
+
} | undefined;
|
|
1834
|
+
};
|
|
1835
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1836
|
+
ok: boolean;
|
|
1837
|
+
error: {
|
|
1838
|
+
code: string;
|
|
1839
|
+
message: string;
|
|
1840
|
+
details: {
|
|
1841
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1842
|
+
} | undefined;
|
|
1843
|
+
};
|
|
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<{
|
|
1873
|
+
ok: boolean;
|
|
1874
|
+
error: {
|
|
1875
|
+
code: string;
|
|
1876
|
+
message: string;
|
|
1877
|
+
details: {
|
|
1878
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1879
|
+
} | undefined;
|
|
1880
|
+
};
|
|
1881
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1882
|
+
ok: boolean;
|
|
1883
|
+
error: {
|
|
1884
|
+
code: string;
|
|
1885
|
+
message: string;
|
|
1886
|
+
details: {
|
|
1887
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1888
|
+
} | undefined;
|
|
1889
|
+
};
|
|
1890
|
+
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1891
|
+
ok: boolean;
|
|
1892
|
+
data: {
|
|
1893
|
+
job: {
|
|
1894
|
+
id: string;
|
|
1895
|
+
appId: string;
|
|
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;
|
|
1911
|
+
} | undefined;
|
|
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;
|
|
1940
|
+
};
|
|
1941
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
1942
|
+
readonly cancelServiceAppJob: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
1943
|
+
ok: boolean;
|
|
1944
|
+
error: {
|
|
1945
|
+
code: string;
|
|
1946
|
+
message: string;
|
|
1947
|
+
details: {
|
|
1948
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1949
|
+
} | undefined;
|
|
1950
|
+
};
|
|
1951
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
1952
|
+
ok: boolean;
|
|
1953
|
+
error: {
|
|
1954
|
+
code: string;
|
|
1955
|
+
message: string;
|
|
1956
|
+
details: {
|
|
1957
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
1958
|
+
} | undefined;
|
|
1959
|
+
};
|
|
1960
|
+
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
1961
|
+
ok: boolean;
|
|
1962
|
+
data: {
|
|
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: {
|
|
2010
|
+
id: string;
|
|
2011
|
+
appId: string;
|
|
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;
|
|
2028
|
+
} | undefined;
|
|
2029
|
+
}[];
|
|
2030
|
+
cursors: {
|
|
2031
|
+
[x: string]: number;
|
|
2032
|
+
};
|
|
2033
|
+
frozen: boolean;
|
|
2034
|
+
};
|
|
2035
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
2036
|
+
readonly replayResidentDeadLetter: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
2037
|
+
ok: boolean;
|
|
2038
|
+
error: {
|
|
2039
|
+
code: string;
|
|
2040
|
+
message: string;
|
|
2041
|
+
details: {
|
|
2042
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2043
|
+
} | undefined;
|
|
2044
|
+
};
|
|
2045
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
2046
|
+
ok: boolean;
|
|
2047
|
+
error: {
|
|
2048
|
+
code: string;
|
|
2049
|
+
message: string;
|
|
2050
|
+
details: {
|
|
2051
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2052
|
+
} | undefined;
|
|
2053
|
+
};
|
|
2054
|
+
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
2055
|
+
ok: boolean;
|
|
2056
|
+
data: {
|
|
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;
|
|
2076
|
+
};
|
|
2077
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
2078
|
+
readonly grantServiceAction: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
2079
|
+
ok: boolean;
|
|
2080
|
+
error: {
|
|
2081
|
+
code: string;
|
|
2082
|
+
message: string;
|
|
2083
|
+
details: {
|
|
2084
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2085
|
+
} | undefined;
|
|
2086
|
+
};
|
|
2087
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
2088
|
+
ok: boolean;
|
|
2089
|
+
error: {
|
|
2090
|
+
code: string;
|
|
2091
|
+
message: string;
|
|
2092
|
+
details: {
|
|
2093
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2094
|
+
} | undefined;
|
|
2095
|
+
};
|
|
2096
|
+
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
2097
|
+
ok: boolean;
|
|
2098
|
+
data: {
|
|
2099
|
+
caller: {
|
|
2100
|
+
surface: "panel-app";
|
|
2101
|
+
appId: string;
|
|
2102
|
+
} | {
|
|
2103
|
+
surface: "agent";
|
|
2104
|
+
agentId: string;
|
|
2105
|
+
};
|
|
2106
|
+
actionId: string;
|
|
2107
|
+
risk: _$_nextclaw_kernel0.ServiceActionRisk;
|
|
2108
|
+
grantedAt: string;
|
|
2109
|
+
};
|
|
2110
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
2111
|
+
readonly grantServiceActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
2112
|
+
ok: boolean;
|
|
2113
|
+
error: {
|
|
2114
|
+
code: string;
|
|
2115
|
+
message: string;
|
|
2116
|
+
details: {
|
|
2117
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2118
|
+
} | undefined;
|
|
2119
|
+
};
|
|
2120
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
2121
|
+
ok: boolean;
|
|
2122
|
+
error: {
|
|
2123
|
+
code: string;
|
|
2124
|
+
message: string;
|
|
2125
|
+
details: {
|
|
2126
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2127
|
+
} | undefined;
|
|
2128
|
+
};
|
|
2129
|
+
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
2130
|
+
ok: boolean;
|
|
2131
|
+
data: {
|
|
2132
|
+
grants: {
|
|
2133
|
+
caller: {
|
|
2134
|
+
surface: "panel-app";
|
|
2135
|
+
appId: string;
|
|
2136
|
+
} | {
|
|
2137
|
+
surface: "agent";
|
|
2138
|
+
agentId: string;
|
|
2139
|
+
};
|
|
2140
|
+
actionId: string;
|
|
2141
|
+
risk: _$_nextclaw_kernel0.ServiceActionRisk;
|
|
2142
|
+
grantedAt: string;
|
|
2143
|
+
}[];
|
|
2144
|
+
};
|
|
2145
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
2146
|
+
readonly grantAgentServiceActions: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
2147
|
+
ok: boolean;
|
|
2148
|
+
error: {
|
|
2149
|
+
code: string;
|
|
2150
|
+
message: string;
|
|
2151
|
+
details: {
|
|
2152
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2153
|
+
} | undefined;
|
|
2154
|
+
};
|
|
2155
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
2156
|
+
ok: boolean;
|
|
2157
|
+
error: {
|
|
2158
|
+
code: string;
|
|
2159
|
+
message: string;
|
|
2160
|
+
details: {
|
|
2161
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2162
|
+
} | undefined;
|
|
2163
|
+
};
|
|
2164
|
+
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
2165
|
+
ok: boolean;
|
|
2166
|
+
data: {
|
|
2167
|
+
grants: {
|
|
2168
|
+
caller: {
|
|
2169
|
+
surface: "panel-app";
|
|
2170
|
+
appId: string;
|
|
2171
|
+
} | {
|
|
2172
|
+
surface: "agent";
|
|
2173
|
+
agentId: string;
|
|
2174
|
+
};
|
|
2175
|
+
actionId: string;
|
|
2176
|
+
risk: _$_nextclaw_kernel0.ServiceActionRisk;
|
|
2177
|
+
grantedAt: string;
|
|
2178
|
+
}[];
|
|
2179
|
+
};
|
|
2180
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
2181
|
+
readonly listServiceActionGrants: (c: Context) => Promise<Response & _$hono.TypedResponse<{
|
|
2182
|
+
ok: boolean;
|
|
2183
|
+
data: {
|
|
2184
|
+
grants: {
|
|
2185
|
+
caller: {
|
|
2186
|
+
surface: "panel-app";
|
|
2187
|
+
appId: string;
|
|
2188
|
+
} | {
|
|
2189
|
+
surface: "agent";
|
|
2190
|
+
agentId: string;
|
|
2191
|
+
};
|
|
2192
|
+
actionId: string;
|
|
2193
|
+
risk: _$_nextclaw_kernel0.ServiceActionRisk;
|
|
2194
|
+
grantedAt: string;
|
|
2195
|
+
}[];
|
|
2196
|
+
};
|
|
2197
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
2198
|
+
readonly revokeServiceAction: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
2199
|
+
ok: boolean;
|
|
2200
|
+
error: {
|
|
2201
|
+
code: string;
|
|
2202
|
+
message: string;
|
|
2203
|
+
details: {
|
|
2204
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2205
|
+
} | undefined;
|
|
2206
|
+
};
|
|
2207
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
2208
|
+
ok: boolean;
|
|
2209
|
+
error: {
|
|
2210
|
+
code: string;
|
|
2211
|
+
message: string;
|
|
2212
|
+
details: {
|
|
2213
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2214
|
+
} | undefined;
|
|
2215
|
+
};
|
|
2216
|
+
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
2217
|
+
ok: boolean;
|
|
2218
|
+
data: {
|
|
2219
|
+
revoked: boolean;
|
|
2220
|
+
};
|
|
2221
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
2222
|
+
readonly revokeServiceActionGrant: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
2223
|
+
ok: boolean;
|
|
2224
|
+
error: {
|
|
2225
|
+
code: string;
|
|
2226
|
+
message: string;
|
|
2227
|
+
details: {
|
|
2228
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2229
|
+
} | undefined;
|
|
2230
|
+
};
|
|
2231
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
2232
|
+
ok: boolean;
|
|
2233
|
+
error: {
|
|
2234
|
+
code: string;
|
|
2235
|
+
message: string;
|
|
2236
|
+
details: {
|
|
2237
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2238
|
+
} | undefined;
|
|
2239
|
+
};
|
|
2240
|
+
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
2241
|
+
ok: boolean;
|
|
2242
|
+
data: {
|
|
2243
|
+
revoked: boolean;
|
|
2244
|
+
};
|
|
2245
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
2246
|
+
readonly restartServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
2247
|
+
ok: boolean;
|
|
2248
|
+
data: {
|
|
2249
|
+
id: string;
|
|
2250
|
+
title: string;
|
|
2251
|
+
description?: string | undefined;
|
|
2252
|
+
dirPath: string;
|
|
2253
|
+
manifestPath: string;
|
|
2254
|
+
command?: string | undefined;
|
|
2255
|
+
args?: string[] | undefined;
|
|
2256
|
+
cwd: string;
|
|
2257
|
+
enabled: boolean;
|
|
2258
|
+
protocol: _$_nextclaw_kernel0.ServiceAppProtocol;
|
|
2259
|
+
status: _$_nextclaw_kernel0.ServiceAppRuntimeStatus;
|
|
2260
|
+
lastError?: string | undefined;
|
|
2261
|
+
lastStartedAt?: string | undefined;
|
|
2262
|
+
lastReadyAt?: string | undefined;
|
|
2263
|
+
lastFailedAt?: string | undefined;
|
|
2264
|
+
sourceKind?: "workspace" | "package" | undefined;
|
|
2265
|
+
packageId?: string | undefined;
|
|
2266
|
+
packageVersion?: string | undefined;
|
|
2267
|
+
packageDirectory?: string | undefined;
|
|
2268
|
+
dataDirectory?: string | undefined;
|
|
2269
|
+
instanceId?: string | undefined;
|
|
2270
|
+
storage?: {
|
|
2271
|
+
layout: AppStorageLayout;
|
|
2272
|
+
layoutVersion: 1;
|
|
2273
|
+
instanceId: string;
|
|
2274
|
+
instanceDirectory: string;
|
|
2275
|
+
dataDirectory: string;
|
|
2276
|
+
configDirectory: string;
|
|
2277
|
+
stateDirectory: string;
|
|
2278
|
+
cacheDirectory: string;
|
|
2279
|
+
temporaryDirectory: string;
|
|
2280
|
+
logsDirectory: string;
|
|
2281
|
+
} | undefined;
|
|
2282
|
+
isolation?: AppRuntimeIsolation | undefined;
|
|
2283
|
+
runtimeProfile?: AppRuntimeProfile | undefined;
|
|
2284
|
+
permissions?: {
|
|
2285
|
+
documentAccess?: {
|
|
2286
|
+
id: string;
|
|
2287
|
+
mode: AppDocumentAccessMode;
|
|
2288
|
+
description?: string | undefined;
|
|
2289
|
+
}[] | undefined;
|
|
2290
|
+
secrets?: {
|
|
2291
|
+
id: string;
|
|
2292
|
+
title: string;
|
|
2293
|
+
description: string;
|
|
2294
|
+
required: boolean;
|
|
2295
|
+
}[] | undefined;
|
|
2296
|
+
allowedDomains?: string[] | undefined;
|
|
2297
|
+
storage?: boolean | {
|
|
2298
|
+
namespace?: string | undefined;
|
|
2299
|
+
} | undefined;
|
|
2300
|
+
capabilities?: {
|
|
2301
|
+
hostBridge?: boolean | undefined;
|
|
2302
|
+
nativeProcess?: boolean | undefined;
|
|
2303
|
+
} | undefined;
|
|
2304
|
+
} | undefined;
|
|
2305
|
+
componentPath?: string | undefined;
|
|
2306
|
+
providerIds?: string[] | undefined;
|
|
2307
|
+
lifecycle?: {
|
|
2308
|
+
mode: "action";
|
|
2309
|
+
} | {
|
|
2310
|
+
mode: "resident";
|
|
2311
|
+
eventIntervalMs: number;
|
|
2312
|
+
} | {
|
|
2313
|
+
mode: "provider";
|
|
2314
|
+
} | undefined;
|
|
2315
|
+
};
|
|
2316
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
2317
|
+
ok: boolean;
|
|
2318
|
+
error: {
|
|
2319
|
+
code: string;
|
|
2320
|
+
message: string;
|
|
2321
|
+
details: {
|
|
2322
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2323
|
+
} | undefined;
|
|
2324
|
+
};
|
|
2325
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
2326
|
+
ok: boolean;
|
|
2327
|
+
error: {
|
|
2328
|
+
code: string;
|
|
2329
|
+
message: string;
|
|
2330
|
+
details: {
|
|
2331
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2332
|
+
} | undefined;
|
|
2333
|
+
};
|
|
2334
|
+
}, 500, "json">)>;
|
|
2335
|
+
readonly deleteServiceApp: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
2336
|
+
ok: boolean;
|
|
2337
|
+
error: {
|
|
2338
|
+
code: string;
|
|
2339
|
+
message: string;
|
|
2340
|
+
details: {
|
|
2341
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2342
|
+
} | undefined;
|
|
2343
|
+
};
|
|
2344
|
+
}, 400 | 401 | 403 | 404 | 422 | 502, "json">) | (Response & _$hono.TypedResponse<{
|
|
2345
|
+
ok: boolean;
|
|
2346
|
+
error: {
|
|
2347
|
+
code: string;
|
|
2348
|
+
message: string;
|
|
2349
|
+
details: {
|
|
2350
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
2351
|
+
} | undefined;
|
|
2352
|
+
};
|
|
2353
|
+
}, 500, "json">) | (Response & _$hono.TypedResponse<{
|
|
2354
|
+
ok: boolean;
|
|
2355
|
+
data: {
|
|
2356
|
+
deleted: true;
|
|
2357
|
+
id: string;
|
|
2358
|
+
dataRemoved: boolean;
|
|
2359
|
+
};
|
|
2360
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
2361
|
+
private requireBridgeSession;
|
|
2362
|
+
private readOptionalBridgeSession;
|
|
2363
|
+
private readCallerQuery;
|
|
2364
|
+
private readOptionalQuery;
|
|
2365
|
+
private readLocale;
|
|
2366
|
+
private readLimit;
|
|
2367
|
+
private readAfterSequence;
|
|
2368
|
+
private handleServiceAppError;
|
|
2369
|
+
}
|
|
2370
|
+
//#endregion
|
|
2371
|
+
//#region src/features/service-apps/types/service-app-api.types.d.ts
|
|
2372
|
+
type ServiceAppListView = ServiceAppList;
|
|
1369
2373
|
type ServiceAppRecordView = ServiceAppRecord;
|
|
1370
2374
|
type ServiceAppDeleteResultView = ServiceAppDeleteResult;
|
|
1371
2375
|
type ServiceActionView = ServiceAction;
|
|
@@ -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 = {
|
|
@@ -3415,8 +4426,97 @@ declare class ConfigRoutesController {
|
|
|
3415
4426
|
} | undefined;
|
|
3416
4427
|
};
|
|
3417
4428
|
};
|
|
3418
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3419
|
-
readonly deleteProvider: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4429
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4430
|
+
readonly deleteProvider: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4431
|
+
ok: boolean;
|
|
4432
|
+
error: {
|
|
4433
|
+
code: string;
|
|
4434
|
+
message: string;
|
|
4435
|
+
details: {
|
|
4436
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4437
|
+
} | undefined;
|
|
4438
|
+
};
|
|
4439
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
4440
|
+
ok: boolean;
|
|
4441
|
+
data: {
|
|
4442
|
+
deleted: true;
|
|
4443
|
+
providerId: string;
|
|
4444
|
+
};
|
|
4445
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4446
|
+
readonly testProviderConnection: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4447
|
+
ok: boolean;
|
|
4448
|
+
error: {
|
|
4449
|
+
code: string;
|
|
4450
|
+
message: string;
|
|
4451
|
+
details: {
|
|
4452
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4453
|
+
} | undefined;
|
|
4454
|
+
};
|
|
4455
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
4456
|
+
ok: boolean;
|
|
4457
|
+
error: {
|
|
4458
|
+
code: string;
|
|
4459
|
+
message: string;
|
|
4460
|
+
details: {
|
|
4461
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4462
|
+
} | undefined;
|
|
4463
|
+
};
|
|
4464
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
4465
|
+
ok: boolean;
|
|
4466
|
+
data: {
|
|
4467
|
+
success: boolean;
|
|
4468
|
+
provider: string;
|
|
4469
|
+
model?: string | undefined;
|
|
4470
|
+
latencyMs: number;
|
|
4471
|
+
message: string;
|
|
4472
|
+
};
|
|
4473
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4474
|
+
discoverProviderModels: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4475
|
+
ok: boolean;
|
|
4476
|
+
error: {
|
|
4477
|
+
code: string;
|
|
4478
|
+
message: string;
|
|
4479
|
+
details: {
|
|
4480
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4481
|
+
} | undefined;
|
|
4482
|
+
};
|
|
4483
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
4484
|
+
ok: boolean;
|
|
4485
|
+
error: {
|
|
4486
|
+
code: string;
|
|
4487
|
+
message: string;
|
|
4488
|
+
details: {
|
|
4489
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4490
|
+
} | undefined;
|
|
4491
|
+
};
|
|
4492
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
4493
|
+
ok: boolean;
|
|
4494
|
+
data: {
|
|
4495
|
+
provider: string;
|
|
4496
|
+
models: string[];
|
|
4497
|
+
source: "provider" | "catalog";
|
|
4498
|
+
fetchedAt: string;
|
|
4499
|
+
};
|
|
4500
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
4501
|
+
ok: boolean;
|
|
4502
|
+
error: {
|
|
4503
|
+
code: string;
|
|
4504
|
+
message: string;
|
|
4505
|
+
details: {
|
|
4506
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4507
|
+
} | undefined;
|
|
4508
|
+
};
|
|
4509
|
+
}, 502, "json">)>;
|
|
4510
|
+
readonly startProviderAuth: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4511
|
+
ok: boolean;
|
|
4512
|
+
error: {
|
|
4513
|
+
code: string;
|
|
4514
|
+
message: string;
|
|
4515
|
+
details: {
|
|
4516
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4517
|
+
} | undefined;
|
|
4518
|
+
};
|
|
4519
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3420
4520
|
ok: boolean;
|
|
3421
4521
|
error: {
|
|
3422
4522
|
code: string;
|
|
@@ -3428,11 +4528,18 @@ declare class ConfigRoutesController {
|
|
|
3428
4528
|
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3429
4529
|
ok: boolean;
|
|
3430
4530
|
data: {
|
|
3431
|
-
|
|
3432
|
-
|
|
4531
|
+
provider: string;
|
|
4532
|
+
kind: "device_code";
|
|
4533
|
+
methodId?: string | undefined;
|
|
4534
|
+
sessionId: string;
|
|
4535
|
+
verificationUri: string;
|
|
4536
|
+
userCode: string;
|
|
4537
|
+
expiresAt: string;
|
|
4538
|
+
intervalMs: number;
|
|
4539
|
+
note?: string | undefined;
|
|
3433
4540
|
};
|
|
3434
4541
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3435
|
-
readonly
|
|
4542
|
+
readonly pollProviderAuth: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3436
4543
|
ok: boolean;
|
|
3437
4544
|
error: {
|
|
3438
4545
|
code: string;
|
|
@@ -3453,14 +4560,13 @@ declare class ConfigRoutesController {
|
|
|
3453
4560
|
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3454
4561
|
ok: boolean;
|
|
3455
4562
|
data: {
|
|
3456
|
-
success: boolean;
|
|
3457
4563
|
provider: string;
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
4564
|
+
status: "pending" | "authorized" | "denied" | "expired" | "error";
|
|
4565
|
+
message?: string | undefined;
|
|
4566
|
+
nextPollMs?: number | undefined;
|
|
3461
4567
|
};
|
|
3462
4568
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3463
|
-
|
|
4569
|
+
readonly importProviderAuthFromCli: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3464
4570
|
ok: boolean;
|
|
3465
4571
|
error: {
|
|
3466
4572
|
code: string;
|
|
@@ -3482,11 +4588,12 @@ declare class ConfigRoutesController {
|
|
|
3482
4588
|
ok: boolean;
|
|
3483
4589
|
data: {
|
|
3484
4590
|
provider: string;
|
|
3485
|
-
|
|
3486
|
-
source: "
|
|
3487
|
-
|
|
4591
|
+
status: "imported";
|
|
4592
|
+
source: "cli";
|
|
4593
|
+
expiresAt?: string | undefined;
|
|
3488
4594
|
};
|
|
3489
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)
|
|
4595
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4596
|
+
readonly updateChannel: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3490
4597
|
ok: boolean;
|
|
3491
4598
|
error: {
|
|
3492
4599
|
code: string;
|
|
@@ -3495,8 +4602,22 @@ declare class ConfigRoutesController {
|
|
|
3495
4602
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3496
4603
|
} | undefined;
|
|
3497
4604
|
};
|
|
3498
|
-
},
|
|
3499
|
-
|
|
4605
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
4606
|
+
ok: boolean;
|
|
4607
|
+
error: {
|
|
4608
|
+
code: string;
|
|
4609
|
+
message: string;
|
|
4610
|
+
details: {
|
|
4611
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4612
|
+
} | undefined;
|
|
4613
|
+
};
|
|
4614
|
+
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
4615
|
+
ok: boolean;
|
|
4616
|
+
data: {
|
|
4617
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4618
|
+
};
|
|
4619
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4620
|
+
readonly startChannelAuth: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3500
4621
|
ok: boolean;
|
|
3501
4622
|
error: {
|
|
3502
4623
|
code: string;
|
|
@@ -3517,18 +4638,17 @@ declare class ConfigRoutesController {
|
|
|
3517
4638
|
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3518
4639
|
ok: boolean;
|
|
3519
4640
|
data: {
|
|
3520
|
-
|
|
3521
|
-
kind: "
|
|
3522
|
-
methodId?: string | undefined;
|
|
4641
|
+
channel: string;
|
|
4642
|
+
kind: "qr_code";
|
|
3523
4643
|
sessionId: string;
|
|
3524
|
-
|
|
3525
|
-
|
|
4644
|
+
qrCode: string;
|
|
4645
|
+
qrCodeUrl: string;
|
|
3526
4646
|
expiresAt: string;
|
|
3527
4647
|
intervalMs: number;
|
|
3528
4648
|
note?: string | undefined;
|
|
3529
4649
|
};
|
|
3530
4650
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3531
|
-
readonly
|
|
4651
|
+
readonly pollChannelAuth: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3532
4652
|
ok: boolean;
|
|
3533
4653
|
error: {
|
|
3534
4654
|
code: string;
|
|
@@ -3549,13 +4669,15 @@ declare class ConfigRoutesController {
|
|
|
3549
4669
|
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3550
4670
|
ok: boolean;
|
|
3551
4671
|
data: {
|
|
3552
|
-
|
|
3553
|
-
status: "pending" | "
|
|
4672
|
+
channel: string;
|
|
4673
|
+
status: "pending" | "scanned" | "authorized" | "expired" | "error";
|
|
3554
4674
|
message?: string | undefined;
|
|
3555
4675
|
nextPollMs?: number | undefined;
|
|
4676
|
+
accountId?: string | null | undefined;
|
|
4677
|
+
notes?: string[] | undefined;
|
|
3556
4678
|
};
|
|
3557
4679
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3558
|
-
readonly
|
|
4680
|
+
readonly connectChannelAuth: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3559
4681
|
ok: boolean;
|
|
3560
4682
|
error: {
|
|
3561
4683
|
code: string;
|
|
@@ -3576,13 +4698,186 @@ declare class ConfigRoutesController {
|
|
|
3576
4698
|
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3577
4699
|
ok: boolean;
|
|
3578
4700
|
data: {
|
|
3579
|
-
|
|
3580
|
-
status: "
|
|
3581
|
-
|
|
3582
|
-
|
|
4701
|
+
channel: string;
|
|
4702
|
+
status: "pending" | "scanned" | "authorized" | "expired" | "error";
|
|
4703
|
+
message?: string | undefined;
|
|
4704
|
+
nextPollMs?: number | undefined;
|
|
4705
|
+
accountId?: string | null | undefined;
|
|
4706
|
+
notes?: string[] | undefined;
|
|
4707
|
+
};
|
|
4708
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4709
|
+
readonly updateSecrets: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4710
|
+
ok: boolean;
|
|
4711
|
+
error: {
|
|
4712
|
+
code: string;
|
|
4713
|
+
message: string;
|
|
4714
|
+
details: {
|
|
4715
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4716
|
+
} | undefined;
|
|
4717
|
+
};
|
|
4718
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
4719
|
+
ok: boolean;
|
|
4720
|
+
data: {
|
|
4721
|
+
enabled: boolean;
|
|
4722
|
+
defaults: {
|
|
4723
|
+
env?: string | undefined;
|
|
4724
|
+
file?: string | undefined;
|
|
4725
|
+
exec?: string | undefined;
|
|
4726
|
+
};
|
|
4727
|
+
providers: {
|
|
4728
|
+
[x: string]: {
|
|
4729
|
+
source: "env";
|
|
4730
|
+
prefix?: string | undefined;
|
|
4731
|
+
} | {
|
|
4732
|
+
source: "file";
|
|
4733
|
+
path: string;
|
|
4734
|
+
format?: "json" | undefined;
|
|
4735
|
+
} | {
|
|
4736
|
+
source: "exec";
|
|
4737
|
+
command: string;
|
|
4738
|
+
args?: string[] | undefined;
|
|
4739
|
+
cwd?: string | undefined;
|
|
4740
|
+
timeoutMs?: number | undefined;
|
|
4741
|
+
};
|
|
4742
|
+
};
|
|
4743
|
+
refs: {
|
|
4744
|
+
[x: string]: {
|
|
4745
|
+
source: SecretSourceView;
|
|
4746
|
+
provider?: string | undefined;
|
|
4747
|
+
id: string;
|
|
4748
|
+
};
|
|
4749
|
+
};
|
|
4750
|
+
};
|
|
4751
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4752
|
+
readonly updateProductAnalytics: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4753
|
+
ok: boolean;
|
|
4754
|
+
error: {
|
|
4755
|
+
code: string;
|
|
4756
|
+
message: string;
|
|
4757
|
+
details: {
|
|
4758
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4759
|
+
} | undefined;
|
|
4760
|
+
};
|
|
4761
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
4762
|
+
ok: boolean;
|
|
4763
|
+
data: {
|
|
4764
|
+
enabled: boolean;
|
|
4765
|
+
schemaVersion: 2;
|
|
4766
|
+
audience: "external" | "internal" | "qa";
|
|
4767
|
+
};
|
|
4768
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4769
|
+
readonly updateRuntime: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4770
|
+
ok: boolean;
|
|
4771
|
+
error: {
|
|
4772
|
+
code: string;
|
|
4773
|
+
message: string;
|
|
4774
|
+
details: {
|
|
4775
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4776
|
+
} | undefined;
|
|
4777
|
+
};
|
|
4778
|
+
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
4779
|
+
ok: boolean;
|
|
4780
|
+
data: {
|
|
4781
|
+
agents: {
|
|
4782
|
+
defaults: {
|
|
4783
|
+
model: string;
|
|
4784
|
+
workspace?: string | undefined;
|
|
4785
|
+
engine?: string | undefined;
|
|
4786
|
+
engineConfig?: {
|
|
4787
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4788
|
+
} | undefined;
|
|
4789
|
+
thinkingDefault?: NextclawCore.ThinkingLevel | undefined;
|
|
4790
|
+
models?: {
|
|
4791
|
+
[x: string]: {
|
|
4792
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4793
|
+
params: {
|
|
4794
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4795
|
+
};
|
|
4796
|
+
};
|
|
4797
|
+
} | undefined;
|
|
4798
|
+
contextTokens?: number | undefined;
|
|
4799
|
+
reservedContextTokens?: number | undefined;
|
|
4800
|
+
};
|
|
4801
|
+
runtimes?: {
|
|
4802
|
+
entries?: {
|
|
4803
|
+
[x: string]: {
|
|
4804
|
+
enabled?: boolean | undefined;
|
|
4805
|
+
label?: string | undefined;
|
|
4806
|
+
icon?: {
|
|
4807
|
+
kind: "image";
|
|
4808
|
+
src: string;
|
|
4809
|
+
alt?: string | null | undefined;
|
|
4810
|
+
} | null | undefined;
|
|
4811
|
+
type: string;
|
|
4812
|
+
config?: {
|
|
4813
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4814
|
+
} | undefined;
|
|
4815
|
+
};
|
|
4816
|
+
} | undefined;
|
|
4817
|
+
} | undefined;
|
|
4818
|
+
list?: {
|
|
4819
|
+
id: string;
|
|
4820
|
+
default?: boolean | undefined;
|
|
4821
|
+
displayName?: string | undefined;
|
|
4822
|
+
description?: string | undefined;
|
|
4823
|
+
avatar?: string | undefined;
|
|
4824
|
+
avatarUrl?: string | undefined;
|
|
4825
|
+
workspace?: string | undefined;
|
|
4826
|
+
model?: string | undefined;
|
|
4827
|
+
runtime?: string | undefined;
|
|
4828
|
+
runtimeConfig?: {
|
|
4829
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4830
|
+
} | null | undefined;
|
|
4831
|
+
engine?: string | undefined;
|
|
4832
|
+
engineConfig?: {
|
|
4833
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4834
|
+
} | undefined;
|
|
4835
|
+
thinkingDefault?: NextclawCore.ThinkingLevel | undefined;
|
|
4836
|
+
models?: {
|
|
4837
|
+
[x: string]: {
|
|
4838
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4839
|
+
params: {
|
|
4840
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4841
|
+
};
|
|
4842
|
+
};
|
|
4843
|
+
} | undefined;
|
|
4844
|
+
contextTokens?: number | undefined;
|
|
4845
|
+
reservedContextTokens?: number | undefined;
|
|
4846
|
+
builtIn?: boolean | undefined;
|
|
4847
|
+
}[] | undefined;
|
|
4848
|
+
context?: {
|
|
4849
|
+
bootstrap?: {
|
|
4850
|
+
files?: string[] | undefined;
|
|
4851
|
+
minimalFiles?: string[] | undefined;
|
|
4852
|
+
perFileChars?: number | undefined;
|
|
4853
|
+
totalChars?: number | undefined;
|
|
4854
|
+
} | undefined;
|
|
4855
|
+
memory?: {
|
|
4856
|
+
enabled?: boolean | undefined;
|
|
4857
|
+
maxChars?: number | undefined;
|
|
4858
|
+
} | undefined;
|
|
4859
|
+
} | undefined;
|
|
4860
|
+
};
|
|
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
|
+
session?: {
|
|
4873
|
+
dmScope?: "main" | "per-peer" | "per-channel-peer" | "per-account-channel-peer" | undefined;
|
|
4874
|
+
} | undefined;
|
|
4875
|
+
companion?: {
|
|
4876
|
+
enabled?: boolean | undefined;
|
|
4877
|
+
} | undefined;
|
|
3583
4878
|
};
|
|
3584
4879
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3585
|
-
readonly
|
|
4880
|
+
readonly executeAction: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3586
4881
|
ok: boolean;
|
|
3587
4882
|
error: {
|
|
3588
4883
|
code: string;
|
|
@@ -3593,51 +4888,332 @@ declare class ConfigRoutesController {
|
|
|
3593
4888
|
};
|
|
3594
4889
|
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3595
4890
|
ok: boolean;
|
|
3596
|
-
|
|
3597
|
-
|
|
4891
|
+
data: {
|
|
4892
|
+
ok: boolean;
|
|
4893
|
+
status: "success" | "failed";
|
|
3598
4894
|
message: string;
|
|
3599
|
-
|
|
4895
|
+
data?: {
|
|
3600
4896
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3601
4897
|
} | undefined;
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4898
|
+
patch?: {
|
|
4899
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4900
|
+
} | undefined;
|
|
4901
|
+
nextActions?: string[] | undefined;
|
|
3607
4902
|
};
|
|
3608
4903
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3609
|
-
|
|
4904
|
+
}
|
|
4905
|
+
//#endregion
|
|
4906
|
+
//#region src/features/config/utils/extension-channel-config-projection.utils.d.ts
|
|
4907
|
+
type ExtensionConfigProjectionOptions = {
|
|
4908
|
+
extensionChannelBindings?: ExtensionChannelBinding[];
|
|
4909
|
+
extensionUiMetadata?: ExtensionUiMetadata[];
|
|
4910
|
+
};
|
|
4911
|
+
//#endregion
|
|
4912
|
+
//#region src/features/config/utils/search-config.utils.d.ts
|
|
4913
|
+
declare function updateSearch(configPath: string, patch: SearchConfigUpdate): ConfigView["search"];
|
|
4914
|
+
//#endregion
|
|
4915
|
+
//#region src/features/config/stores/server-config.store.d.ts
|
|
4916
|
+
type ExecuteActionResult = {
|
|
4917
|
+
ok: true;
|
|
4918
|
+
data: ConfigActionExecuteResult$1;
|
|
4919
|
+
} | {
|
|
4920
|
+
ok: false;
|
|
4921
|
+
code: string;
|
|
4922
|
+
message: string;
|
|
4923
|
+
details?: Record<string, unknown>;
|
|
4924
|
+
};
|
|
4925
|
+
declare function buildConfigView(config: Config, options?: ExtensionConfigProjectionOptions): ConfigView;
|
|
4926
|
+
declare function buildConfigMeta(config: Config, options?: ExtensionConfigProjectionOptions): ConfigMetaView;
|
|
4927
|
+
declare function buildProviderTemplatesView(): ProviderTemplatesView;
|
|
4928
|
+
declare function buildProvidersView(config: Config): ProvidersView;
|
|
4929
|
+
declare function buildConfigSchemaView(_config: Config, options?: ExtensionConfigProjectionOptions): ConfigSchemaResponse;
|
|
4930
|
+
declare function executeConfigAction(configPath: string, actionId: string, request: ConfigActionExecuteRequest$1): Promise<ExecuteActionResult>;
|
|
4931
|
+
declare function loadConfigOrDefault(configPath: string): Config;
|
|
4932
|
+
declare function updateModel(configPath: string, patch: {
|
|
4933
|
+
model?: string;
|
|
4934
|
+
workspace?: string;
|
|
4935
|
+
}): ConfigView;
|
|
4936
|
+
declare function updateProvider(configPath: string, providerId: string, patch: ProviderConfigUpdate): ProviderConfigView | null;
|
|
4937
|
+
declare function createProvider(configPath: string, patch?: ProviderCreateRequest): {
|
|
4938
|
+
providerId: string;
|
|
4939
|
+
provider: ProviderConfigView;
|
|
4940
|
+
} | null;
|
|
4941
|
+
declare function deleteProvider(configPath: string, providerId: string): boolean | null;
|
|
4942
|
+
declare function updateChannel(configPath: string, channelName: string, patch: Record<string, unknown>, options?: ExtensionConfigProjectionOptions): Record<string, unknown> | null;
|
|
4943
|
+
declare function updateRuntime(configPath: string, patch: RuntimeConfigUpdate): Pick<ConfigView, "companion" | "agents" | "bindings" | "session">;
|
|
4944
|
+
declare function updateSecrets(configPath: string, patch: SecretsConfigUpdate): SecretsView;
|
|
4945
|
+
declare function updateProductAnalytics(configPath: string, patch: ProductAnalyticsConfigUpdate): ProductAnalyticsView;
|
|
4946
|
+
//#endregion
|
|
4947
|
+
//#region src/features/app-packages/controllers/app-packages.controller.d.ts
|
|
4948
|
+
declare class AppPackagesRoutesController {
|
|
4949
|
+
private readonly manager;
|
|
4950
|
+
constructor(manager: AppPackageManager);
|
|
4951
|
+
readonly list: (c: Context) => Promise<Response & _$hono.TypedResponse<{
|
|
3610
4952
|
ok: boolean;
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
4953
|
+
data: {
|
|
4954
|
+
entries: {
|
|
4955
|
+
id: string;
|
|
4956
|
+
name: string;
|
|
4957
|
+
description?: string | undefined;
|
|
4958
|
+
icon?: string | undefined;
|
|
4959
|
+
nameI18n?: {
|
|
4960
|
+
[x: string]: string;
|
|
4961
|
+
} | undefined;
|
|
4962
|
+
descriptionI18n?: {
|
|
4963
|
+
[x: string]: string;
|
|
4964
|
+
} | undefined;
|
|
4965
|
+
activeVersion: string;
|
|
4966
|
+
installedVersions: string[];
|
|
4967
|
+
enabled: boolean;
|
|
4968
|
+
builtIn: boolean;
|
|
4969
|
+
primaryPanelId?: string | undefined;
|
|
4970
|
+
components: {
|
|
4971
|
+
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
4972
|
+
id: string;
|
|
4973
|
+
packageId: string;
|
|
4974
|
+
packageVersion: string;
|
|
4975
|
+
sourcePath: string;
|
|
4976
|
+
manifestPath: string;
|
|
4977
|
+
dataDirectory: string;
|
|
4978
|
+
instanceId: string;
|
|
4979
|
+
storage: {
|
|
4980
|
+
layout: AppStorageLayout;
|
|
4981
|
+
layoutVersion: 1;
|
|
4982
|
+
instanceId: string;
|
|
4983
|
+
instanceDirectory: string;
|
|
4984
|
+
dataDirectory: string;
|
|
4985
|
+
configDirectory: string;
|
|
4986
|
+
stateDirectory: string;
|
|
4987
|
+
cacheDirectory: string;
|
|
4988
|
+
temporaryDirectory: string;
|
|
4989
|
+
logsDirectory: string;
|
|
4990
|
+
};
|
|
4991
|
+
runtimeProfile: AppRuntimeProfile;
|
|
4992
|
+
isolation: AppRuntimeIsolation;
|
|
4993
|
+
permissions: {
|
|
4994
|
+
documentAccess?: {
|
|
4995
|
+
id: string;
|
|
4996
|
+
mode: AppDocumentAccessMode;
|
|
4997
|
+
description?: string | undefined;
|
|
4998
|
+
}[] | undefined;
|
|
4999
|
+
secrets?: {
|
|
5000
|
+
id: string;
|
|
5001
|
+
title: string;
|
|
5002
|
+
description: string;
|
|
5003
|
+
required: boolean;
|
|
5004
|
+
}[] | undefined;
|
|
5005
|
+
allowedDomains?: string[] | undefined;
|
|
5006
|
+
storage?: boolean | {
|
|
5007
|
+
namespace?: string | undefined;
|
|
5008
|
+
} | undefined;
|
|
5009
|
+
capabilities?: {
|
|
5010
|
+
hostBridge?: boolean | undefined;
|
|
5011
|
+
nativeProcess?: boolean | undefined;
|
|
5012
|
+
} | undefined;
|
|
5013
|
+
};
|
|
5014
|
+
resolvedProviderIds?: string[] | undefined;
|
|
5015
|
+
title?: string | undefined;
|
|
5016
|
+
description?: string | undefined;
|
|
5017
|
+
icon?: string | undefined;
|
|
5018
|
+
titleI18n?: {
|
|
5019
|
+
[x: string]: string;
|
|
5020
|
+
} | undefined;
|
|
5021
|
+
descriptionI18n?: {
|
|
5022
|
+
[x: string]: string;
|
|
5023
|
+
} | undefined;
|
|
5024
|
+
}[];
|
|
5025
|
+
dataDirectory: string;
|
|
5026
|
+
instanceId: string;
|
|
5027
|
+
storage: {
|
|
5028
|
+
layout: AppStorageLayout;
|
|
5029
|
+
layoutVersion: 1;
|
|
5030
|
+
instanceId: string;
|
|
5031
|
+
instanceDirectory: string;
|
|
5032
|
+
dataDirectory: string;
|
|
5033
|
+
configDirectory: string;
|
|
5034
|
+
stateDirectory: string;
|
|
5035
|
+
cacheDirectory: string;
|
|
5036
|
+
temporaryDirectory: string;
|
|
5037
|
+
logsDirectory: string;
|
|
5038
|
+
};
|
|
5039
|
+
storageUsage?: {
|
|
5040
|
+
dataBytes: number;
|
|
5041
|
+
configBytes: number;
|
|
5042
|
+
stateBytes: number;
|
|
5043
|
+
cacheBytes: number;
|
|
5044
|
+
temporaryBytes: number;
|
|
5045
|
+
logsBytes: number;
|
|
5046
|
+
totalBytes: number;
|
|
5047
|
+
} | undefined;
|
|
5048
|
+
runtimeProfile: AppRuntimeProfile;
|
|
5049
|
+
isolation: AppRuntimeIsolation;
|
|
5050
|
+
readiness: {
|
|
5051
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
5052
|
+
requirements: {
|
|
5053
|
+
componentId: string;
|
|
5054
|
+
kind: "capability" | "configuration";
|
|
5055
|
+
id: string;
|
|
5056
|
+
title: string;
|
|
5057
|
+
description?: string | undefined;
|
|
5058
|
+
remediation?: {
|
|
5059
|
+
kind: "agent-setup";
|
|
5060
|
+
summary: string;
|
|
5061
|
+
requiresUserAction?: boolean | undefined;
|
|
5062
|
+
} | undefined;
|
|
5063
|
+
}[];
|
|
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
|
+
};
|
|
5095
|
+
dependencies: {
|
|
5096
|
+
readiness: {
|
|
5097
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
5098
|
+
requirements: {
|
|
5099
|
+
componentId: string;
|
|
5100
|
+
kind: "capability" | "configuration";
|
|
5101
|
+
id: string;
|
|
5102
|
+
title: string;
|
|
5103
|
+
description?: string | undefined;
|
|
5104
|
+
remediation?: {
|
|
5105
|
+
kind: "agent-setup";
|
|
5106
|
+
summary: string;
|
|
5107
|
+
requiresUserAction?: boolean | undefined;
|
|
5108
|
+
} | undefined;
|
|
5109
|
+
}[];
|
|
5110
|
+
};
|
|
5111
|
+
bindings: {
|
|
5112
|
+
componentId: string;
|
|
5113
|
+
requirementKind: "capability" | "resource";
|
|
5114
|
+
requirementId: string;
|
|
5115
|
+
providerId: string;
|
|
5116
|
+
}[];
|
|
5117
|
+
candidates: {
|
|
5118
|
+
requirement: {
|
|
5119
|
+
componentId: string;
|
|
5120
|
+
kind: "capability" | "configuration";
|
|
5121
|
+
id: string;
|
|
5122
|
+
title: string;
|
|
5123
|
+
description?: string | undefined;
|
|
5124
|
+
remediation?: {
|
|
5125
|
+
kind: "agent-setup";
|
|
5126
|
+
summary: string;
|
|
5127
|
+
requiresUserAction?: boolean | undefined;
|
|
5128
|
+
} | undefined;
|
|
5129
|
+
};
|
|
5130
|
+
providers: {
|
|
5131
|
+
providerId: string;
|
|
5132
|
+
appId: string;
|
|
5133
|
+
componentId: string;
|
|
5134
|
+
capabilities: {
|
|
5135
|
+
id: string;
|
|
5136
|
+
version?: string | undefined;
|
|
5137
|
+
resourceTypes?: string[] | undefined;
|
|
5138
|
+
wit?: {
|
|
5139
|
+
package: string;
|
|
5140
|
+
interface: string;
|
|
5141
|
+
version: string;
|
|
5142
|
+
} | undefined;
|
|
5143
|
+
}[];
|
|
5144
|
+
}[];
|
|
5145
|
+
}[];
|
|
5146
|
+
resolvedProviderIds: {
|
|
5147
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
5157
|
+
};
|
|
5158
|
+
}[];
|
|
5159
|
+
hostTarget?: {
|
|
5160
|
+
key: string;
|
|
5161
|
+
operatingSystem: "darwin" | "linux" | "win32";
|
|
5162
|
+
architecture: "x64" | "arm64";
|
|
5163
|
+
abi?: "gnu" | "musl" | "msvc" | undefined;
|
|
3616
5164
|
} | undefined;
|
|
3617
5165
|
};
|
|
3618
|
-
},
|
|
5166
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
5167
|
+
readonly listOperations: (c: Context) => Promise<Response & _$hono.TypedResponse<{
|
|
3619
5168
|
ok: boolean;
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
5169
|
+
data: {
|
|
5170
|
+
entries: {
|
|
5171
|
+
id: string;
|
|
5172
|
+
action: _$_nextclaw_kernel0.AppPackageOperationAction;
|
|
5173
|
+
appId?: string | undefined;
|
|
5174
|
+
source?: string | undefined;
|
|
5175
|
+
targetVersion?: string | undefined;
|
|
5176
|
+
status: _$_nextclaw_kernel0.AppPackageOperationStatus;
|
|
5177
|
+
completedSteps: number;
|
|
5178
|
+
totalSteps: number;
|
|
5179
|
+
createdAt: string;
|
|
5180
|
+
updatedAt: string;
|
|
5181
|
+
completedAt?: string | undefined;
|
|
5182
|
+
error?: string | undefined;
|
|
5183
|
+
result?: {
|
|
5184
|
+
appId: string;
|
|
5185
|
+
activeVersion?: string | undefined;
|
|
5186
|
+
changed?: boolean | undefined;
|
|
5187
|
+
removedVersions?: string[] | undefined;
|
|
5188
|
+
dataRemoved?: boolean | undefined;
|
|
5189
|
+
} | undefined;
|
|
5190
|
+
}[];
|
|
3626
5191
|
};
|
|
3627
|
-
},
|
|
5192
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
5193
|
+
readonly startInstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3628
5194
|
ok: boolean;
|
|
3629
5195
|
data: {
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
5196
|
+
id: string;
|
|
5197
|
+
action: _$_nextclaw_kernel0.AppPackageOperationAction;
|
|
5198
|
+
appId?: string | undefined;
|
|
5199
|
+
source?: string | undefined;
|
|
5200
|
+
targetVersion?: string | undefined;
|
|
5201
|
+
status: _$_nextclaw_kernel0.AppPackageOperationStatus;
|
|
5202
|
+
completedSteps: number;
|
|
5203
|
+
totalSteps: number;
|
|
5204
|
+
createdAt: string;
|
|
5205
|
+
updatedAt: string;
|
|
5206
|
+
completedAt?: string | undefined;
|
|
5207
|
+
error?: string | undefined;
|
|
5208
|
+
result?: {
|
|
5209
|
+
appId: string;
|
|
5210
|
+
activeVersion?: string | undefined;
|
|
5211
|
+
changed?: boolean | undefined;
|
|
5212
|
+
removedVersions?: string[] | undefined;
|
|
5213
|
+
dataRemoved?: boolean | undefined;
|
|
5214
|
+
} | undefined;
|
|
3638
5215
|
};
|
|
3639
|
-
},
|
|
3640
|
-
readonly pollChannelAuth: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5216
|
+
}, 202, "json">) | (Response & _$hono.TypedResponse<{
|
|
3641
5217
|
ok: boolean;
|
|
3642
5218
|
error: {
|
|
3643
5219
|
code: string;
|
|
@@ -3646,7 +5222,31 @@ declare class ConfigRoutesController {
|
|
|
3646
5222
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3647
5223
|
} | undefined;
|
|
3648
5224
|
};
|
|
3649
|
-
}, 400, "json">)
|
|
5225
|
+
}, 400 | 404 | 409, "json">)>;
|
|
5226
|
+
readonly startUpdateOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5227
|
+
ok: boolean;
|
|
5228
|
+
data: {
|
|
5229
|
+
id: string;
|
|
5230
|
+
action: _$_nextclaw_kernel0.AppPackageOperationAction;
|
|
5231
|
+
appId?: string | undefined;
|
|
5232
|
+
source?: string | undefined;
|
|
5233
|
+
targetVersion?: string | undefined;
|
|
5234
|
+
status: _$_nextclaw_kernel0.AppPackageOperationStatus;
|
|
5235
|
+
completedSteps: number;
|
|
5236
|
+
totalSteps: number;
|
|
5237
|
+
createdAt: string;
|
|
5238
|
+
updatedAt: string;
|
|
5239
|
+
completedAt?: string | undefined;
|
|
5240
|
+
error?: string | undefined;
|
|
5241
|
+
result?: {
|
|
5242
|
+
appId: string;
|
|
5243
|
+
activeVersion?: string | undefined;
|
|
5244
|
+
changed?: boolean | undefined;
|
|
5245
|
+
removedVersions?: string[] | undefined;
|
|
5246
|
+
dataRemoved?: boolean | undefined;
|
|
5247
|
+
} | undefined;
|
|
5248
|
+
};
|
|
5249
|
+
}, 202, "json">) | (Response & _$hono.TypedResponse<{
|
|
3650
5250
|
ok: boolean;
|
|
3651
5251
|
error: {
|
|
3652
5252
|
code: string;
|
|
@@ -3655,18 +5255,31 @@ declare class ConfigRoutesController {
|
|
|
3655
5255
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3656
5256
|
} | undefined;
|
|
3657
5257
|
};
|
|
3658
|
-
}, 404, "json">)
|
|
5258
|
+
}, 400 | 404 | 409, "json">)>;
|
|
5259
|
+
readonly startRollbackOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3659
5260
|
ok: boolean;
|
|
3660
5261
|
data: {
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
5262
|
+
id: string;
|
|
5263
|
+
action: _$_nextclaw_kernel0.AppPackageOperationAction;
|
|
5264
|
+
appId?: string | undefined;
|
|
5265
|
+
source?: string | undefined;
|
|
5266
|
+
targetVersion?: string | undefined;
|
|
5267
|
+
status: _$_nextclaw_kernel0.AppPackageOperationStatus;
|
|
5268
|
+
completedSteps: number;
|
|
5269
|
+
totalSteps: number;
|
|
5270
|
+
createdAt: string;
|
|
5271
|
+
updatedAt: string;
|
|
5272
|
+
completedAt?: string | undefined;
|
|
5273
|
+
error?: string | undefined;
|
|
5274
|
+
result?: {
|
|
5275
|
+
appId: string;
|
|
5276
|
+
activeVersion?: string | undefined;
|
|
5277
|
+
changed?: boolean | undefined;
|
|
5278
|
+
removedVersions?: string[] | undefined;
|
|
5279
|
+
dataRemoved?: boolean | undefined;
|
|
5280
|
+
} | undefined;
|
|
3667
5281
|
};
|
|
3668
|
-
},
|
|
3669
|
-
readonly connectChannelAuth: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5282
|
+
}, 202, "json">) | (Response & _$hono.TypedResponse<{
|
|
3670
5283
|
ok: boolean;
|
|
3671
5284
|
error: {
|
|
3672
5285
|
code: string;
|
|
@@ -3675,7 +5288,31 @@ declare class ConfigRoutesController {
|
|
|
3675
5288
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3676
5289
|
} | undefined;
|
|
3677
5290
|
};
|
|
3678
|
-
}, 400, "json">)
|
|
5291
|
+
}, 400 | 404 | 409, "json">)>;
|
|
5292
|
+
readonly startUninstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5293
|
+
ok: boolean;
|
|
5294
|
+
data: {
|
|
5295
|
+
id: string;
|
|
5296
|
+
action: _$_nextclaw_kernel0.AppPackageOperationAction;
|
|
5297
|
+
appId?: string | undefined;
|
|
5298
|
+
source?: string | undefined;
|
|
5299
|
+
targetVersion?: string | undefined;
|
|
5300
|
+
status: _$_nextclaw_kernel0.AppPackageOperationStatus;
|
|
5301
|
+
completedSteps: number;
|
|
5302
|
+
totalSteps: number;
|
|
5303
|
+
createdAt: string;
|
|
5304
|
+
updatedAt: string;
|
|
5305
|
+
completedAt?: string | undefined;
|
|
5306
|
+
error?: string | undefined;
|
|
5307
|
+
result?: {
|
|
5308
|
+
appId: string;
|
|
5309
|
+
activeVersion?: string | undefined;
|
|
5310
|
+
changed?: boolean | undefined;
|
|
5311
|
+
removedVersions?: string[] | undefined;
|
|
5312
|
+
dataRemoved?: boolean | undefined;
|
|
5313
|
+
} | undefined;
|
|
5314
|
+
};
|
|
5315
|
+
}, 202, "json">) | (Response & _$hono.TypedResponse<{
|
|
3679
5316
|
ok: boolean;
|
|
3680
5317
|
error: {
|
|
3681
5318
|
code: string;
|
|
@@ -3684,18 +5321,8 @@ declare class ConfigRoutesController {
|
|
|
3684
5321
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3685
5322
|
} | undefined;
|
|
3686
5323
|
};
|
|
3687
|
-
}, 404, "json">)
|
|
3688
|
-
|
|
3689
|
-
data: {
|
|
3690
|
-
channel: string;
|
|
3691
|
-
status: "pending" | "scanned" | "authorized" | "expired" | "error";
|
|
3692
|
-
message?: string | undefined;
|
|
3693
|
-
nextPollMs?: number | undefined;
|
|
3694
|
-
accountId?: string | null | undefined;
|
|
3695
|
-
notes?: string[] | undefined;
|
|
3696
|
-
};
|
|
3697
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3698
|
-
readonly updateSecrets: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5324
|
+
}, 400 | 404 | 409, "json">)>;
|
|
5325
|
+
readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3699
5326
|
ok: boolean;
|
|
3700
5327
|
error: {
|
|
3701
5328
|
code: string;
|
|
@@ -3704,58 +5331,215 @@ declare class ConfigRoutesController {
|
|
|
3704
5331
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3705
5332
|
} | undefined;
|
|
3706
5333
|
};
|
|
3707
|
-
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
5334
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
3708
5335
|
ok: boolean;
|
|
3709
5336
|
data: {
|
|
5337
|
+
id: string;
|
|
5338
|
+
name: string;
|
|
5339
|
+
description?: string | undefined;
|
|
5340
|
+
icon?: string | undefined;
|
|
5341
|
+
nameI18n?: {
|
|
5342
|
+
[x: string]: string;
|
|
5343
|
+
} | undefined;
|
|
5344
|
+
descriptionI18n?: {
|
|
5345
|
+
[x: string]: string;
|
|
5346
|
+
} | undefined;
|
|
5347
|
+
activeVersion: string;
|
|
5348
|
+
installedVersions: string[];
|
|
3710
5349
|
enabled: boolean;
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
5350
|
+
builtIn: boolean;
|
|
5351
|
+
primaryPanelId?: string | undefined;
|
|
5352
|
+
components: {
|
|
5353
|
+
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
5354
|
+
id: string;
|
|
5355
|
+
packageId: string;
|
|
5356
|
+
packageVersion: string;
|
|
5357
|
+
sourcePath: string;
|
|
5358
|
+
manifestPath: string;
|
|
5359
|
+
dataDirectory: string;
|
|
5360
|
+
instanceId: string;
|
|
5361
|
+
storage: {
|
|
5362
|
+
layout: AppStorageLayout;
|
|
5363
|
+
layoutVersion: 1;
|
|
5364
|
+
instanceId: string;
|
|
5365
|
+
instanceDirectory: string;
|
|
5366
|
+
dataDirectory: string;
|
|
5367
|
+
configDirectory: string;
|
|
5368
|
+
stateDirectory: string;
|
|
5369
|
+
cacheDirectory: string;
|
|
5370
|
+
temporaryDirectory: string;
|
|
5371
|
+
logsDirectory: string;
|
|
5372
|
+
};
|
|
5373
|
+
runtimeProfile: AppRuntimeProfile;
|
|
5374
|
+
isolation: AppRuntimeIsolation;
|
|
5375
|
+
permissions: {
|
|
5376
|
+
documentAccess?: {
|
|
5377
|
+
id: string;
|
|
5378
|
+
mode: AppDocumentAccessMode;
|
|
5379
|
+
description?: string | undefined;
|
|
5380
|
+
}[] | undefined;
|
|
5381
|
+
secrets?: {
|
|
5382
|
+
id: string;
|
|
5383
|
+
title: string;
|
|
5384
|
+
description: string;
|
|
5385
|
+
required: boolean;
|
|
5386
|
+
}[] | undefined;
|
|
5387
|
+
allowedDomains?: string[] | undefined;
|
|
5388
|
+
storage?: boolean | {
|
|
5389
|
+
namespace?: string | undefined;
|
|
5390
|
+
} | undefined;
|
|
5391
|
+
capabilities?: {
|
|
5392
|
+
hostBridge?: boolean | undefined;
|
|
5393
|
+
nativeProcess?: boolean | undefined;
|
|
5394
|
+
} | undefined;
|
|
3730
5395
|
};
|
|
5396
|
+
resolvedProviderIds?: string[] | undefined;
|
|
5397
|
+
title?: string | undefined;
|
|
5398
|
+
description?: string | undefined;
|
|
5399
|
+
icon?: string | undefined;
|
|
5400
|
+
titleI18n?: {
|
|
5401
|
+
[x: string]: string;
|
|
5402
|
+
} | undefined;
|
|
5403
|
+
descriptionI18n?: {
|
|
5404
|
+
[x: string]: string;
|
|
5405
|
+
} | undefined;
|
|
5406
|
+
}[];
|
|
5407
|
+
dataDirectory: string;
|
|
5408
|
+
instanceId: string;
|
|
5409
|
+
storage: {
|
|
5410
|
+
layout: AppStorageLayout;
|
|
5411
|
+
layoutVersion: 1;
|
|
5412
|
+
instanceId: string;
|
|
5413
|
+
instanceDirectory: string;
|
|
5414
|
+
dataDirectory: string;
|
|
5415
|
+
configDirectory: string;
|
|
5416
|
+
stateDirectory: string;
|
|
5417
|
+
cacheDirectory: string;
|
|
5418
|
+
temporaryDirectory: string;
|
|
5419
|
+
logsDirectory: string;
|
|
3731
5420
|
};
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
5421
|
+
storageUsage?: {
|
|
5422
|
+
dataBytes: number;
|
|
5423
|
+
configBytes: number;
|
|
5424
|
+
stateBytes: number;
|
|
5425
|
+
cacheBytes: number;
|
|
5426
|
+
temporaryBytes: number;
|
|
5427
|
+
logsBytes: number;
|
|
5428
|
+
totalBytes: number;
|
|
5429
|
+
} | undefined;
|
|
5430
|
+
runtimeProfile: AppRuntimeProfile;
|
|
5431
|
+
isolation: AppRuntimeIsolation;
|
|
5432
|
+
readiness: {
|
|
5433
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
5434
|
+
requirements: {
|
|
5435
|
+
componentId: string;
|
|
5436
|
+
kind: "capability" | "configuration";
|
|
3736
5437
|
id: string;
|
|
5438
|
+
title: string;
|
|
5439
|
+
description?: string | undefined;
|
|
5440
|
+
remediation?: {
|
|
5441
|
+
kind: "agent-setup";
|
|
5442
|
+
summary: string;
|
|
5443
|
+
requiresUserAction?: boolean | undefined;
|
|
5444
|
+
} | undefined;
|
|
5445
|
+
}[];
|
|
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
|
+
}[];
|
|
3737
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
|
+
};
|
|
5477
|
+
dependencies: {
|
|
5478
|
+
readiness: {
|
|
5479
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
5480
|
+
requirements: {
|
|
5481
|
+
componentId: string;
|
|
5482
|
+
kind: "capability" | "configuration";
|
|
5483
|
+
id: string;
|
|
5484
|
+
title: string;
|
|
5485
|
+
description?: string | undefined;
|
|
5486
|
+
remediation?: {
|
|
5487
|
+
kind: "agent-setup";
|
|
5488
|
+
summary: string;
|
|
5489
|
+
requiresUserAction?: boolean | undefined;
|
|
5490
|
+
} | undefined;
|
|
5491
|
+
}[];
|
|
5492
|
+
};
|
|
5493
|
+
bindings: {
|
|
5494
|
+
componentId: string;
|
|
5495
|
+
requirementKind: "capability" | "resource";
|
|
5496
|
+
requirementId: string;
|
|
5497
|
+
providerId: string;
|
|
5498
|
+
}[];
|
|
5499
|
+
candidates: {
|
|
5500
|
+
requirement: {
|
|
5501
|
+
componentId: string;
|
|
5502
|
+
kind: "capability" | "configuration";
|
|
5503
|
+
id: string;
|
|
5504
|
+
title: string;
|
|
5505
|
+
description?: string | undefined;
|
|
5506
|
+
remediation?: {
|
|
5507
|
+
kind: "agent-setup";
|
|
5508
|
+
summary: string;
|
|
5509
|
+
requiresUserAction?: boolean | undefined;
|
|
5510
|
+
} | undefined;
|
|
5511
|
+
};
|
|
5512
|
+
providers: {
|
|
5513
|
+
providerId: string;
|
|
5514
|
+
appId: string;
|
|
5515
|
+
componentId: string;
|
|
5516
|
+
capabilities: {
|
|
5517
|
+
id: string;
|
|
5518
|
+
version?: string | undefined;
|
|
5519
|
+
resourceTypes?: string[] | undefined;
|
|
5520
|
+
wit?: {
|
|
5521
|
+
package: string;
|
|
5522
|
+
interface: string;
|
|
5523
|
+
version: string;
|
|
5524
|
+
} | undefined;
|
|
5525
|
+
}[];
|
|
5526
|
+
}[];
|
|
5527
|
+
}[];
|
|
5528
|
+
resolvedProviderIds: {
|
|
5529
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
3738
5539
|
};
|
|
3739
5540
|
};
|
|
3740
5541
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3741
|
-
readonly
|
|
3742
|
-
ok: boolean;
|
|
3743
|
-
error: {
|
|
3744
|
-
code: string;
|
|
3745
|
-
message: string;
|
|
3746
|
-
details: {
|
|
3747
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3748
|
-
} | undefined;
|
|
3749
|
-
};
|
|
3750
|
-
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
3751
|
-
ok: boolean;
|
|
3752
|
-
data: {
|
|
3753
|
-
enabled: boolean;
|
|
3754
|
-
schemaVersion: 2;
|
|
3755
|
-
audience: "external" | "internal" | "qa";
|
|
3756
|
-
};
|
|
3757
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3758
|
-
readonly updateRuntime: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5542
|
+
readonly inspectDependencies: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3759
5543
|
ok: boolean;
|
|
3760
5544
|
error: {
|
|
3761
5545
|
code: string;
|
|
@@ -3764,109 +5548,73 @@ declare class ConfigRoutesController {
|
|
|
3764
5548
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3765
5549
|
} | undefined;
|
|
3766
5550
|
};
|
|
3767
|
-
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
5551
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
3768
5552
|
ok: boolean;
|
|
3769
5553
|
data: {
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
engineConfig?: {
|
|
3776
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3777
|
-
} | undefined;
|
|
3778
|
-
thinkingDefault?: NextclawCore.ThinkingLevel | undefined;
|
|
3779
|
-
models?: {
|
|
3780
|
-
[x: string]: {
|
|
3781
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3782
|
-
params: {
|
|
3783
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3784
|
-
};
|
|
3785
|
-
};
|
|
3786
|
-
} | undefined;
|
|
3787
|
-
contextTokens?: number | undefined;
|
|
3788
|
-
reservedContextTokens?: number | undefined;
|
|
3789
|
-
};
|
|
3790
|
-
runtimes?: {
|
|
3791
|
-
entries?: {
|
|
3792
|
-
[x: string]: {
|
|
3793
|
-
enabled?: boolean | undefined;
|
|
3794
|
-
label?: string | undefined;
|
|
3795
|
-
icon?: {
|
|
3796
|
-
kind: "image";
|
|
3797
|
-
src: string;
|
|
3798
|
-
alt?: string | null | undefined;
|
|
3799
|
-
} | null | undefined;
|
|
3800
|
-
type: string;
|
|
3801
|
-
config?: {
|
|
3802
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3803
|
-
} | undefined;
|
|
3804
|
-
};
|
|
3805
|
-
} | undefined;
|
|
3806
|
-
} | undefined;
|
|
3807
|
-
list?: {
|
|
5554
|
+
readiness: {
|
|
5555
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
5556
|
+
requirements: {
|
|
5557
|
+
componentId: string;
|
|
5558
|
+
kind: "capability" | "configuration";
|
|
3808
5559
|
id: string;
|
|
3809
|
-
|
|
3810
|
-
displayName?: string | undefined;
|
|
5560
|
+
title: string;
|
|
3811
5561
|
description?: string | undefined;
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
runtime?: string | undefined;
|
|
3817
|
-
runtimeConfig?: {
|
|
3818
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3819
|
-
} | null | undefined;
|
|
3820
|
-
engine?: string | undefined;
|
|
3821
|
-
engineConfig?: {
|
|
3822
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3823
|
-
} | undefined;
|
|
3824
|
-
thinkingDefault?: NextclawCore.ThinkingLevel | undefined;
|
|
3825
|
-
models?: {
|
|
3826
|
-
[x: string]: {
|
|
3827
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3828
|
-
params: {
|
|
3829
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3830
|
-
};
|
|
3831
|
-
};
|
|
5562
|
+
remediation?: {
|
|
5563
|
+
kind: "agent-setup";
|
|
5564
|
+
summary: string;
|
|
5565
|
+
requiresUserAction?: boolean | undefined;
|
|
3832
5566
|
} | undefined;
|
|
3833
|
-
|
|
3834
|
-
reservedContextTokens?: number | undefined;
|
|
3835
|
-
builtIn?: boolean | undefined;
|
|
3836
|
-
}[] | undefined;
|
|
3837
|
-
context?: {
|
|
3838
|
-
bootstrap?: {
|
|
3839
|
-
files?: string[] | undefined;
|
|
3840
|
-
minimalFiles?: string[] | undefined;
|
|
3841
|
-
perFileChars?: number | undefined;
|
|
3842
|
-
totalChars?: number | undefined;
|
|
3843
|
-
} | undefined;
|
|
3844
|
-
memory?: {
|
|
3845
|
-
enabled?: boolean | undefined;
|
|
3846
|
-
maxChars?: number | undefined;
|
|
3847
|
-
} | undefined;
|
|
3848
|
-
} | undefined;
|
|
5567
|
+
}[];
|
|
3849
5568
|
};
|
|
3850
|
-
bindings
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
5569
|
+
bindings: {
|
|
5570
|
+
componentId: string;
|
|
5571
|
+
requirementKind: "capability" | "resource";
|
|
5572
|
+
requirementId: string;
|
|
5573
|
+
providerId: string;
|
|
5574
|
+
}[];
|
|
5575
|
+
candidates: {
|
|
5576
|
+
requirement: {
|
|
5577
|
+
componentId: string;
|
|
5578
|
+
kind: "capability" | "configuration";
|
|
5579
|
+
id: string;
|
|
5580
|
+
title: string;
|
|
5581
|
+
description?: string | undefined;
|
|
5582
|
+
remediation?: {
|
|
5583
|
+
kind: "agent-setup";
|
|
5584
|
+
summary: string;
|
|
5585
|
+
requiresUserAction?: boolean | undefined;
|
|
3858
5586
|
} | undefined;
|
|
3859
5587
|
};
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
5588
|
+
providers: {
|
|
5589
|
+
providerId: string;
|
|
5590
|
+
appId: string;
|
|
5591
|
+
componentId: string;
|
|
5592
|
+
capabilities: {
|
|
5593
|
+
id: string;
|
|
5594
|
+
version?: string | undefined;
|
|
5595
|
+
resourceTypes?: string[] | undefined;
|
|
5596
|
+
wit?: {
|
|
5597
|
+
package: string;
|
|
5598
|
+
interface: string;
|
|
5599
|
+
version: string;
|
|
5600
|
+
} | undefined;
|
|
5601
|
+
}[];
|
|
5602
|
+
}[];
|
|
5603
|
+
}[];
|
|
5604
|
+
resolvedProviderIds: {
|
|
5605
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
3867
5615
|
};
|
|
3868
5616
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3869
|
-
readonly
|
|
5617
|
+
readonly verifyDependencies: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3870
5618
|
ok: boolean;
|
|
3871
5619
|
error: {
|
|
3872
5620
|
code: string;
|
|
@@ -3875,219 +5623,223 @@ declare class ConfigRoutesController {
|
|
|
3875
5623
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3876
5624
|
} | undefined;
|
|
3877
5625
|
};
|
|
3878
|
-
}, 400, "json">) | (Response & _$hono.TypedResponse<{
|
|
5626
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
3879
5627
|
ok: boolean;
|
|
3880
5628
|
data: {
|
|
3881
|
-
|
|
3882
|
-
|
|
5629
|
+
readiness: {
|
|
5630
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
5631
|
+
requirements: {
|
|
5632
|
+
componentId: string;
|
|
5633
|
+
kind: "capability" | "configuration";
|
|
5634
|
+
id: string;
|
|
5635
|
+
title: string;
|
|
5636
|
+
description?: string | undefined;
|
|
5637
|
+
remediation?: {
|
|
5638
|
+
kind: "agent-setup";
|
|
5639
|
+
summary: string;
|
|
5640
|
+
requiresUserAction?: boolean | undefined;
|
|
5641
|
+
} | undefined;
|
|
5642
|
+
}[];
|
|
5643
|
+
};
|
|
5644
|
+
bindings: {
|
|
5645
|
+
componentId: string;
|
|
5646
|
+
requirementKind: "capability" | "resource";
|
|
5647
|
+
requirementId: string;
|
|
5648
|
+
providerId: string;
|
|
5649
|
+
}[];
|
|
5650
|
+
candidates: {
|
|
5651
|
+
requirement: {
|
|
5652
|
+
componentId: string;
|
|
5653
|
+
kind: "capability" | "configuration";
|
|
5654
|
+
id: string;
|
|
5655
|
+
title: string;
|
|
5656
|
+
description?: string | undefined;
|
|
5657
|
+
remediation?: {
|
|
5658
|
+
kind: "agent-setup";
|
|
5659
|
+
summary: string;
|
|
5660
|
+
requiresUserAction?: boolean | undefined;
|
|
5661
|
+
} | undefined;
|
|
5662
|
+
};
|
|
5663
|
+
providers: {
|
|
5664
|
+
providerId: string;
|
|
5665
|
+
appId: string;
|
|
5666
|
+
componentId: string;
|
|
5667
|
+
capabilities: {
|
|
5668
|
+
id: string;
|
|
5669
|
+
version?: string | undefined;
|
|
5670
|
+
resourceTypes?: string[] | undefined;
|
|
5671
|
+
wit?: {
|
|
5672
|
+
package: string;
|
|
5673
|
+
interface: string;
|
|
5674
|
+
version: string;
|
|
5675
|
+
} | undefined;
|
|
5676
|
+
}[];
|
|
5677
|
+
}[];
|
|
5678
|
+
}[];
|
|
5679
|
+
resolvedProviderIds: {
|
|
5680
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
5690
|
+
};
|
|
5691
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
5692
|
+
readonly setupDependencies: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5693
|
+
ok: boolean;
|
|
5694
|
+
error: {
|
|
5695
|
+
code: string;
|
|
3883
5696
|
message: string;
|
|
3884
|
-
|
|
3885
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3886
|
-
} | undefined;
|
|
3887
|
-
patch?: {
|
|
5697
|
+
details: {
|
|
3888
5698
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3889
5699
|
} | undefined;
|
|
3890
|
-
nextActions?: string[] | undefined;
|
|
3891
5700
|
};
|
|
3892
|
-
},
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
declare function updateSearch(configPath: string, patch: SearchConfigUpdate): ConfigView["search"];
|
|
3903
|
-
//#endregion
|
|
3904
|
-
//#region src/features/config/stores/server-config.store.d.ts
|
|
3905
|
-
type ExecuteActionResult = {
|
|
3906
|
-
ok: true;
|
|
3907
|
-
data: ConfigActionExecuteResult$1;
|
|
3908
|
-
} | {
|
|
3909
|
-
ok: false;
|
|
3910
|
-
code: string;
|
|
3911
|
-
message: string;
|
|
3912
|
-
details?: Record<string, unknown>;
|
|
3913
|
-
};
|
|
3914
|
-
declare function buildConfigView(config: Config, options?: ExtensionConfigProjectionOptions): ConfigView;
|
|
3915
|
-
declare function buildConfigMeta(config: Config, options?: ExtensionConfigProjectionOptions): ConfigMetaView;
|
|
3916
|
-
declare function buildProviderTemplatesView(): ProviderTemplatesView;
|
|
3917
|
-
declare function buildProvidersView(config: Config): ProvidersView;
|
|
3918
|
-
declare function buildConfigSchemaView(_config: Config, options?: ExtensionConfigProjectionOptions): ConfigSchemaResponse;
|
|
3919
|
-
declare function executeConfigAction(configPath: string, actionId: string, request: ConfigActionExecuteRequest$1): Promise<ExecuteActionResult>;
|
|
3920
|
-
declare function loadConfigOrDefault(configPath: string): Config;
|
|
3921
|
-
declare function updateModel(configPath: string, patch: {
|
|
3922
|
-
model?: string;
|
|
3923
|
-
workspace?: string;
|
|
3924
|
-
}): ConfigView;
|
|
3925
|
-
declare function updateProvider(configPath: string, providerId: string, patch: ProviderConfigUpdate): ProviderConfigView | null;
|
|
3926
|
-
declare function createProvider(configPath: string, patch?: ProviderCreateRequest): {
|
|
3927
|
-
providerId: string;
|
|
3928
|
-
provider: ProviderConfigView;
|
|
3929
|
-
} | null;
|
|
3930
|
-
declare function deleteProvider(configPath: string, providerId: string): boolean | null;
|
|
3931
|
-
declare function updateChannel(configPath: string, channelName: string, patch: Record<string, unknown>, options?: ExtensionConfigProjectionOptions): Record<string, unknown> | null;
|
|
3932
|
-
declare function updateRuntime(configPath: string, patch: RuntimeConfigUpdate): Pick<ConfigView, "companion" | "agents" | "bindings" | "session">;
|
|
3933
|
-
declare function updateSecrets(configPath: string, patch: SecretsConfigUpdate): SecretsView;
|
|
3934
|
-
declare function updateProductAnalytics(configPath: string, patch: ProductAnalyticsConfigUpdate): ProductAnalyticsView;
|
|
3935
|
-
//#endregion
|
|
3936
|
-
//#region src/features/app-packages/controllers/app-packages.controller.d.ts
|
|
3937
|
-
declare class AppPackagesRoutesController {
|
|
3938
|
-
private readonly manager;
|
|
3939
|
-
constructor(manager: AppPackageManager);
|
|
3940
|
-
readonly list: (c: Context) => Promise<Response & _$hono.TypedResponse<{
|
|
3941
|
-
ok: boolean;
|
|
3942
|
-
data: {
|
|
3943
|
-
entries: {
|
|
3944
|
-
id: string;
|
|
3945
|
-
name: string;
|
|
3946
|
-
description?: string | undefined;
|
|
3947
|
-
icon?: string | undefined;
|
|
3948
|
-
nameI18n?: {
|
|
3949
|
-
[x: string]: string;
|
|
3950
|
-
} | undefined;
|
|
3951
|
-
descriptionI18n?: {
|
|
3952
|
-
[x: string]: string;
|
|
3953
|
-
} | undefined;
|
|
3954
|
-
activeVersion: string;
|
|
3955
|
-
installedVersions: string[];
|
|
3956
|
-
enabled: boolean;
|
|
3957
|
-
builtIn: boolean;
|
|
3958
|
-
primaryPanelId?: string | undefined;
|
|
3959
|
-
components: {
|
|
3960
|
-
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
3961
|
-
id: string;
|
|
3962
|
-
packageId: string;
|
|
3963
|
-
packageVersion: string;
|
|
3964
|
-
sourcePath: string;
|
|
3965
|
-
manifestPath: string;
|
|
3966
|
-
dataDirectory: string;
|
|
3967
|
-
instanceId: string;
|
|
3968
|
-
storage: {
|
|
3969
|
-
layout: AppStorageLayout;
|
|
3970
|
-
layoutVersion: 1;
|
|
3971
|
-
instanceId: string;
|
|
3972
|
-
instanceDirectory: string;
|
|
3973
|
-
dataDirectory: string;
|
|
3974
|
-
configDirectory: string;
|
|
3975
|
-
stateDirectory: string;
|
|
3976
|
-
cacheDirectory: string;
|
|
3977
|
-
temporaryDirectory: string;
|
|
3978
|
-
logsDirectory: string;
|
|
3979
|
-
};
|
|
3980
|
-
runtimeProfile: AppRuntimeProfile;
|
|
3981
|
-
isolation: AppRuntimeIsolation;
|
|
3982
|
-
permissions: {
|
|
3983
|
-
documentAccess?: {
|
|
3984
|
-
id: string;
|
|
3985
|
-
mode: AppDocumentAccessMode;
|
|
3986
|
-
description?: string | undefined;
|
|
3987
|
-
}[] | undefined;
|
|
3988
|
-
allowedDomains?: string[] | undefined;
|
|
3989
|
-
storage?: boolean | {
|
|
3990
|
-
namespace?: string | undefined;
|
|
3991
|
-
} | undefined;
|
|
3992
|
-
capabilities?: {
|
|
3993
|
-
hostBridge?: boolean | undefined;
|
|
3994
|
-
nativeProcess?: boolean | undefined;
|
|
3995
|
-
} | undefined;
|
|
3996
|
-
};
|
|
3997
|
-
title?: string | undefined;
|
|
5701
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
5702
|
+
ok: boolean;
|
|
5703
|
+
data: {
|
|
5704
|
+
readiness: {
|
|
5705
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
5706
|
+
requirements: {
|
|
5707
|
+
componentId: string;
|
|
5708
|
+
kind: "capability" | "configuration";
|
|
5709
|
+
id: string;
|
|
5710
|
+
title: string;
|
|
3998
5711
|
description?: string | undefined;
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
descriptionI18n?: {
|
|
4004
|
-
[x: string]: string;
|
|
5712
|
+
remediation?: {
|
|
5713
|
+
kind: "agent-setup";
|
|
5714
|
+
summary: string;
|
|
5715
|
+
requiresUserAction?: boolean | undefined;
|
|
4005
5716
|
} | undefined;
|
|
4006
5717
|
}[];
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
5718
|
+
};
|
|
5719
|
+
bindings: {
|
|
5720
|
+
componentId: string;
|
|
5721
|
+
requirementKind: "capability" | "resource";
|
|
5722
|
+
requirementId: string;
|
|
5723
|
+
providerId: string;
|
|
5724
|
+
}[];
|
|
5725
|
+
candidates: {
|
|
5726
|
+
requirement: {
|
|
5727
|
+
componentId: string;
|
|
5728
|
+
kind: "capability" | "configuration";
|
|
5729
|
+
id: string;
|
|
5730
|
+
title: string;
|
|
5731
|
+
description?: string | undefined;
|
|
5732
|
+
remediation?: {
|
|
5733
|
+
kind: "agent-setup";
|
|
5734
|
+
summary: string;
|
|
5735
|
+
requiresUserAction?: boolean | undefined;
|
|
5736
|
+
} | undefined;
|
|
4020
5737
|
};
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
5738
|
+
providers: {
|
|
5739
|
+
providerId: string;
|
|
5740
|
+
appId: string;
|
|
5741
|
+
componentId: string;
|
|
5742
|
+
capabilities: {
|
|
5743
|
+
id: string;
|
|
5744
|
+
version?: string | undefined;
|
|
5745
|
+
resourceTypes?: string[] | undefined;
|
|
5746
|
+
wit?: {
|
|
5747
|
+
package: string;
|
|
5748
|
+
interface: string;
|
|
5749
|
+
version: string;
|
|
5750
|
+
} | undefined;
|
|
5751
|
+
}[];
|
|
5752
|
+
}[];
|
|
4032
5753
|
}[];
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
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;
|
|
4038
5774
|
} | undefined;
|
|
4039
5775
|
};
|
|
4040
|
-
},
|
|
4041
|
-
readonly listOperations: (c: Context) => Promise<Response & _$hono.TypedResponse<{
|
|
5776
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
4042
5777
|
ok: boolean;
|
|
4043
5778
|
data: {
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
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;
|
|
4058
5815
|
appId: string;
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
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;
|
|
4064
5839
|
}[];
|
|
4065
5840
|
};
|
|
4066
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json"
|
|
4067
|
-
readonly
|
|
4068
|
-
ok: boolean;
|
|
4069
|
-
data: {
|
|
4070
|
-
id: string;
|
|
4071
|
-
action: _$_nextclaw_kernel0.AppPackageOperationAction;
|
|
4072
|
-
appId?: string | undefined;
|
|
4073
|
-
source?: string | undefined;
|
|
4074
|
-
targetVersion?: string | undefined;
|
|
4075
|
-
status: _$_nextclaw_kernel0.AppPackageOperationStatus;
|
|
4076
|
-
completedSteps: number;
|
|
4077
|
-
totalSteps: number;
|
|
4078
|
-
createdAt: string;
|
|
4079
|
-
updatedAt: string;
|
|
4080
|
-
completedAt?: string | undefined;
|
|
4081
|
-
error?: string | undefined;
|
|
4082
|
-
result?: {
|
|
4083
|
-
appId: string;
|
|
4084
|
-
activeVersion?: string | undefined;
|
|
4085
|
-
changed?: boolean | undefined;
|
|
4086
|
-
removedVersions?: string[] | undefined;
|
|
4087
|
-
dataRemoved?: boolean | undefined;
|
|
4088
|
-
} | undefined;
|
|
4089
|
-
};
|
|
4090
|
-
}, 202, "json">) | (Response & _$hono.TypedResponse<{
|
|
5841
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
5842
|
+
readonly unbindDependency: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4091
5843
|
ok: boolean;
|
|
4092
5844
|
error: {
|
|
4093
5845
|
code: string;
|
|
@@ -4096,31 +5848,73 @@ declare class AppPackagesRoutesController {
|
|
|
4096
5848
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4097
5849
|
} | undefined;
|
|
4098
5850
|
};
|
|
4099
|
-
}, 400 | 404 | 409, "json">)
|
|
4100
|
-
readonly startUpdateOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5851
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
4101
5852
|
ok: boolean;
|
|
4102
5853
|
data: {
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
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;
|
|
5901
|
+
}[];
|
|
5902
|
+
}[];
|
|
5903
|
+
}[];
|
|
5904
|
+
resolvedProviderIds: {
|
|
5905
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
4122
5915
|
};
|
|
4123
|
-
},
|
|
5916
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
5917
|
+
readonly inspectSecrets: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4124
5918
|
ok: boolean;
|
|
4125
5919
|
error: {
|
|
4126
5920
|
code: string;
|
|
@@ -4129,31 +5923,40 @@ declare class AppPackagesRoutesController {
|
|
|
4129
5923
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4130
5924
|
} | undefined;
|
|
4131
5925
|
};
|
|
4132
|
-
}, 400 | 404 | 409, "json">)
|
|
4133
|
-
readonly startRollbackOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5926
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
4134
5927
|
ok: boolean;
|
|
4135
5928
|
data: {
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
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
|
+
}[];
|
|
4155
5957
|
};
|
|
4156
|
-
},
|
|
5958
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
5959
|
+
readonly verifySecrets: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4157
5960
|
ok: boolean;
|
|
4158
5961
|
error: {
|
|
4159
5962
|
code: string;
|
|
@@ -4162,31 +5965,40 @@ declare class AppPackagesRoutesController {
|
|
|
4162
5965
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4163
5966
|
} | undefined;
|
|
4164
5967
|
};
|
|
4165
|
-
}, 400 | 404 | 409, "json">)
|
|
4166
|
-
readonly startUninstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
5968
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
4167
5969
|
ok: boolean;
|
|
4168
5970
|
data: {
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
5971
|
+
readiness: {
|
|
5972
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
5973
|
+
requirements: {
|
|
5974
|
+
componentId: string;
|
|
5975
|
+
kind: "capability" | "configuration";
|
|
5976
|
+
id: string;
|
|
5977
|
+
title: string;
|
|
5978
|
+
description?: string | undefined;
|
|
5979
|
+
remediation?: {
|
|
5980
|
+
kind: "agent-setup";
|
|
5981
|
+
summary: string;
|
|
5982
|
+
requiresUserAction?: boolean | undefined;
|
|
5983
|
+
} | undefined;
|
|
5984
|
+
}[];
|
|
5985
|
+
};
|
|
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;
|
|
5995
|
+
id: string;
|
|
5996
|
+
} | undefined;
|
|
5997
|
+
errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
|
|
5998
|
+
}[];
|
|
4188
5999
|
};
|
|
4189
|
-
},
|
|
6000
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
6001
|
+
readonly bindSecret: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4190
6002
|
ok: boolean;
|
|
4191
6003
|
error: {
|
|
4192
6004
|
code: string;
|
|
@@ -4195,8 +6007,40 @@ declare class AppPackagesRoutesController {
|
|
|
4195
6007
|
[x: string]: _$hono_utils_types0.JSONValue;
|
|
4196
6008
|
} | undefined;
|
|
4197
6009
|
};
|
|
4198
|
-
}, 400 | 404 | 409, "json">)
|
|
4199
|
-
|
|
6010
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
6011
|
+
ok: boolean;
|
|
6012
|
+
data: {
|
|
6013
|
+
readiness: {
|
|
6014
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6015
|
+
requirements: {
|
|
6016
|
+
componentId: string;
|
|
6017
|
+
kind: "capability" | "configuration";
|
|
6018
|
+
id: string;
|
|
6019
|
+
title: string;
|
|
6020
|
+
description?: string | undefined;
|
|
6021
|
+
remediation?: {
|
|
6022
|
+
kind: "agent-setup";
|
|
6023
|
+
summary: string;
|
|
6024
|
+
requiresUserAction?: boolean | undefined;
|
|
6025
|
+
} | undefined;
|
|
6026
|
+
}[];
|
|
6027
|
+
};
|
|
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;
|
|
6040
|
+
}[];
|
|
6041
|
+
};
|
|
6042
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
6043
|
+
readonly unbindSecret: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
4200
6044
|
ok: boolean;
|
|
4201
6045
|
error: {
|
|
4202
6046
|
code: string;
|
|
@@ -4208,94 +6052,34 @@ declare class AppPackagesRoutesController {
|
|
|
4208
6052
|
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
4209
6053
|
ok: boolean;
|
|
4210
6054
|
data: {
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
enabled: boolean;
|
|
4224
|
-
builtIn: boolean;
|
|
4225
|
-
primaryPanelId?: string | undefined;
|
|
4226
|
-
components: {
|
|
4227
|
-
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
4228
|
-
id: string;
|
|
4229
|
-
packageId: string;
|
|
4230
|
-
packageVersion: string;
|
|
4231
|
-
sourcePath: string;
|
|
4232
|
-
manifestPath: string;
|
|
4233
|
-
dataDirectory: string;
|
|
4234
|
-
instanceId: string;
|
|
4235
|
-
storage: {
|
|
4236
|
-
layout: AppStorageLayout;
|
|
4237
|
-
layoutVersion: 1;
|
|
4238
|
-
instanceId: string;
|
|
4239
|
-
instanceDirectory: string;
|
|
4240
|
-
dataDirectory: string;
|
|
4241
|
-
configDirectory: string;
|
|
4242
|
-
stateDirectory: string;
|
|
4243
|
-
cacheDirectory: string;
|
|
4244
|
-
temporaryDirectory: string;
|
|
4245
|
-
logsDirectory: string;
|
|
4246
|
-
};
|
|
4247
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4248
|
-
isolation: AppRuntimeIsolation;
|
|
4249
|
-
permissions: {
|
|
4250
|
-
documentAccess?: {
|
|
4251
|
-
id: string;
|
|
4252
|
-
mode: AppDocumentAccessMode;
|
|
4253
|
-
description?: string | undefined;
|
|
4254
|
-
}[] | undefined;
|
|
4255
|
-
allowedDomains?: string[] | undefined;
|
|
4256
|
-
storage?: boolean | {
|
|
4257
|
-
namespace?: string | undefined;
|
|
4258
|
-
} | undefined;
|
|
4259
|
-
capabilities?: {
|
|
4260
|
-
hostBridge?: boolean | undefined;
|
|
4261
|
-
nativeProcess?: boolean | undefined;
|
|
6055
|
+
readiness: {
|
|
6056
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6057
|
+
requirements: {
|
|
6058
|
+
componentId: string;
|
|
6059
|
+
kind: "capability" | "configuration";
|
|
6060
|
+
id: string;
|
|
6061
|
+
title: string;
|
|
6062
|
+
description?: string | undefined;
|
|
6063
|
+
remediation?: {
|
|
6064
|
+
kind: "agent-setup";
|
|
6065
|
+
summary: string;
|
|
6066
|
+
requiresUserAction?: boolean | undefined;
|
|
4262
6067
|
} | undefined;
|
|
4263
|
-
};
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
6068
|
+
}[];
|
|
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;
|
|
4272
6080
|
} | undefined;
|
|
6081
|
+
errorCode?: "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | undefined;
|
|
4273
6082
|
}[];
|
|
4274
|
-
dataDirectory: string;
|
|
4275
|
-
instanceId: string;
|
|
4276
|
-
storage: {
|
|
4277
|
-
layout: AppStorageLayout;
|
|
4278
|
-
layoutVersion: 1;
|
|
4279
|
-
instanceId: string;
|
|
4280
|
-
instanceDirectory: string;
|
|
4281
|
-
dataDirectory: string;
|
|
4282
|
-
configDirectory: string;
|
|
4283
|
-
stateDirectory: string;
|
|
4284
|
-
cacheDirectory: string;
|
|
4285
|
-
temporaryDirectory: string;
|
|
4286
|
-
logsDirectory: string;
|
|
4287
|
-
};
|
|
4288
|
-
storageUsage?: {
|
|
4289
|
-
dataBytes: number;
|
|
4290
|
-
configBytes: number;
|
|
4291
|
-
stateBytes: number;
|
|
4292
|
-
cacheBytes: number;
|
|
4293
|
-
temporaryBytes: number;
|
|
4294
|
-
logsBytes: number;
|
|
4295
|
-
totalBytes: number;
|
|
4296
|
-
} | undefined;
|
|
4297
|
-
runtimeProfile: AppRuntimeProfile;
|
|
4298
|
-
isolation: AppRuntimeIsolation;
|
|
4299
6083
|
};
|
|
4300
6084
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4301
6085
|
readonly install: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
@@ -4354,6 +6138,12 @@ declare class AppPackagesRoutesController {
|
|
|
4354
6138
|
mode: AppDocumentAccessMode;
|
|
4355
6139
|
description?: string | undefined;
|
|
4356
6140
|
}[] | undefined;
|
|
6141
|
+
secrets?: {
|
|
6142
|
+
id: string;
|
|
6143
|
+
title: string;
|
|
6144
|
+
description: string;
|
|
6145
|
+
required: boolean;
|
|
6146
|
+
}[] | undefined;
|
|
4357
6147
|
allowedDomains?: string[] | undefined;
|
|
4358
6148
|
storage?: boolean | {
|
|
4359
6149
|
namespace?: string | undefined;
|
|
@@ -4363,6 +6153,7 @@ declare class AppPackagesRoutesController {
|
|
|
4363
6153
|
nativeProcess?: boolean | undefined;
|
|
4364
6154
|
} | undefined;
|
|
4365
6155
|
};
|
|
6156
|
+
resolvedProviderIds?: string[] | undefined;
|
|
4366
6157
|
title?: string | undefined;
|
|
4367
6158
|
description?: string | undefined;
|
|
4368
6159
|
icon?: string | undefined;
|
|
@@ -4398,6 +6189,114 @@ declare class AppPackagesRoutesController {
|
|
|
4398
6189
|
} | undefined;
|
|
4399
6190
|
runtimeProfile: AppRuntimeProfile;
|
|
4400
6191
|
isolation: AppRuntimeIsolation;
|
|
6192
|
+
readiness: {
|
|
6193
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6194
|
+
requirements: {
|
|
6195
|
+
componentId: string;
|
|
6196
|
+
kind: "capability" | "configuration";
|
|
6197
|
+
id: string;
|
|
6198
|
+
title: string;
|
|
6199
|
+
description?: string | undefined;
|
|
6200
|
+
remediation?: {
|
|
6201
|
+
kind: "agent-setup";
|
|
6202
|
+
summary: string;
|
|
6203
|
+
requiresUserAction?: boolean | undefined;
|
|
6204
|
+
} | undefined;
|
|
6205
|
+
}[];
|
|
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
|
+
};
|
|
6237
|
+
dependencies: {
|
|
6238
|
+
readiness: {
|
|
6239
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6240
|
+
requirements: {
|
|
6241
|
+
componentId: string;
|
|
6242
|
+
kind: "capability" | "configuration";
|
|
6243
|
+
id: string;
|
|
6244
|
+
title: string;
|
|
6245
|
+
description?: string | undefined;
|
|
6246
|
+
remediation?: {
|
|
6247
|
+
kind: "agent-setup";
|
|
6248
|
+
summary: string;
|
|
6249
|
+
requiresUserAction?: boolean | undefined;
|
|
6250
|
+
} | undefined;
|
|
6251
|
+
}[];
|
|
6252
|
+
};
|
|
6253
|
+
bindings: {
|
|
6254
|
+
componentId: string;
|
|
6255
|
+
requirementKind: "capability" | "resource";
|
|
6256
|
+
requirementId: string;
|
|
6257
|
+
providerId: string;
|
|
6258
|
+
}[];
|
|
6259
|
+
candidates: {
|
|
6260
|
+
requirement: {
|
|
6261
|
+
componentId: string;
|
|
6262
|
+
kind: "capability" | "configuration";
|
|
6263
|
+
id: string;
|
|
6264
|
+
title: string;
|
|
6265
|
+
description?: string | undefined;
|
|
6266
|
+
remediation?: {
|
|
6267
|
+
kind: "agent-setup";
|
|
6268
|
+
summary: string;
|
|
6269
|
+
requiresUserAction?: boolean | undefined;
|
|
6270
|
+
} | undefined;
|
|
6271
|
+
};
|
|
6272
|
+
providers: {
|
|
6273
|
+
providerId: string;
|
|
6274
|
+
appId: string;
|
|
6275
|
+
componentId: string;
|
|
6276
|
+
capabilities: {
|
|
6277
|
+
id: string;
|
|
6278
|
+
version?: string | undefined;
|
|
6279
|
+
resourceTypes?: string[] | undefined;
|
|
6280
|
+
wit?: {
|
|
6281
|
+
package: string;
|
|
6282
|
+
interface: string;
|
|
6283
|
+
version: string;
|
|
6284
|
+
} | undefined;
|
|
6285
|
+
}[];
|
|
6286
|
+
}[];
|
|
6287
|
+
}[];
|
|
6288
|
+
resolvedProviderIds: {
|
|
6289
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
6299
|
+
};
|
|
4401
6300
|
};
|
|
4402
6301
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4403
6302
|
readonly enable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
@@ -4456,6 +6355,12 @@ declare class AppPackagesRoutesController {
|
|
|
4456
6355
|
mode: AppDocumentAccessMode;
|
|
4457
6356
|
description?: string | undefined;
|
|
4458
6357
|
}[] | undefined;
|
|
6358
|
+
secrets?: {
|
|
6359
|
+
id: string;
|
|
6360
|
+
title: string;
|
|
6361
|
+
description: string;
|
|
6362
|
+
required: boolean;
|
|
6363
|
+
}[] | undefined;
|
|
4459
6364
|
allowedDomains?: string[] | undefined;
|
|
4460
6365
|
storage?: boolean | {
|
|
4461
6366
|
namespace?: string | undefined;
|
|
@@ -4465,6 +6370,7 @@ declare class AppPackagesRoutesController {
|
|
|
4465
6370
|
nativeProcess?: boolean | undefined;
|
|
4466
6371
|
} | undefined;
|
|
4467
6372
|
};
|
|
6373
|
+
resolvedProviderIds?: string[] | undefined;
|
|
4468
6374
|
title?: string | undefined;
|
|
4469
6375
|
description?: string | undefined;
|
|
4470
6376
|
icon?: string | undefined;
|
|
@@ -4500,6 +6406,114 @@ declare class AppPackagesRoutesController {
|
|
|
4500
6406
|
} | undefined;
|
|
4501
6407
|
runtimeProfile: AppRuntimeProfile;
|
|
4502
6408
|
isolation: AppRuntimeIsolation;
|
|
6409
|
+
readiness: {
|
|
6410
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6411
|
+
requirements: {
|
|
6412
|
+
componentId: string;
|
|
6413
|
+
kind: "capability" | "configuration";
|
|
6414
|
+
id: string;
|
|
6415
|
+
title: string;
|
|
6416
|
+
description?: string | undefined;
|
|
6417
|
+
remediation?: {
|
|
6418
|
+
kind: "agent-setup";
|
|
6419
|
+
summary: string;
|
|
6420
|
+
requiresUserAction?: boolean | undefined;
|
|
6421
|
+
} | undefined;
|
|
6422
|
+
}[];
|
|
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
|
+
};
|
|
6454
|
+
dependencies: {
|
|
6455
|
+
readiness: {
|
|
6456
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6457
|
+
requirements: {
|
|
6458
|
+
componentId: string;
|
|
6459
|
+
kind: "capability" | "configuration";
|
|
6460
|
+
id: string;
|
|
6461
|
+
title: string;
|
|
6462
|
+
description?: string | undefined;
|
|
6463
|
+
remediation?: {
|
|
6464
|
+
kind: "agent-setup";
|
|
6465
|
+
summary: string;
|
|
6466
|
+
requiresUserAction?: boolean | undefined;
|
|
6467
|
+
} | undefined;
|
|
6468
|
+
}[];
|
|
6469
|
+
};
|
|
6470
|
+
bindings: {
|
|
6471
|
+
componentId: string;
|
|
6472
|
+
requirementKind: "capability" | "resource";
|
|
6473
|
+
requirementId: string;
|
|
6474
|
+
providerId: string;
|
|
6475
|
+
}[];
|
|
6476
|
+
candidates: {
|
|
6477
|
+
requirement: {
|
|
6478
|
+
componentId: string;
|
|
6479
|
+
kind: "capability" | "configuration";
|
|
6480
|
+
id: string;
|
|
6481
|
+
title: string;
|
|
6482
|
+
description?: string | undefined;
|
|
6483
|
+
remediation?: {
|
|
6484
|
+
kind: "agent-setup";
|
|
6485
|
+
summary: string;
|
|
6486
|
+
requiresUserAction?: boolean | undefined;
|
|
6487
|
+
} | undefined;
|
|
6488
|
+
};
|
|
6489
|
+
providers: {
|
|
6490
|
+
providerId: string;
|
|
6491
|
+
appId: string;
|
|
6492
|
+
componentId: string;
|
|
6493
|
+
capabilities: {
|
|
6494
|
+
id: string;
|
|
6495
|
+
version?: string | undefined;
|
|
6496
|
+
resourceTypes?: string[] | undefined;
|
|
6497
|
+
wit?: {
|
|
6498
|
+
package: string;
|
|
6499
|
+
interface: string;
|
|
6500
|
+
version: string;
|
|
6501
|
+
} | undefined;
|
|
6502
|
+
}[];
|
|
6503
|
+
}[];
|
|
6504
|
+
}[];
|
|
6505
|
+
resolvedProviderIds: {
|
|
6506
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
6516
|
+
};
|
|
4503
6517
|
};
|
|
4504
6518
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4505
6519
|
readonly disable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
@@ -4558,6 +6572,12 @@ declare class AppPackagesRoutesController {
|
|
|
4558
6572
|
mode: AppDocumentAccessMode;
|
|
4559
6573
|
description?: string | undefined;
|
|
4560
6574
|
}[] | undefined;
|
|
6575
|
+
secrets?: {
|
|
6576
|
+
id: string;
|
|
6577
|
+
title: string;
|
|
6578
|
+
description: string;
|
|
6579
|
+
required: boolean;
|
|
6580
|
+
}[] | undefined;
|
|
4561
6581
|
allowedDomains?: string[] | undefined;
|
|
4562
6582
|
storage?: boolean | {
|
|
4563
6583
|
namespace?: string | undefined;
|
|
@@ -4567,6 +6587,7 @@ declare class AppPackagesRoutesController {
|
|
|
4567
6587
|
nativeProcess?: boolean | undefined;
|
|
4568
6588
|
} | undefined;
|
|
4569
6589
|
};
|
|
6590
|
+
resolvedProviderIds?: string[] | undefined;
|
|
4570
6591
|
title?: string | undefined;
|
|
4571
6592
|
description?: string | undefined;
|
|
4572
6593
|
icon?: string | undefined;
|
|
@@ -4602,6 +6623,114 @@ declare class AppPackagesRoutesController {
|
|
|
4602
6623
|
} | undefined;
|
|
4603
6624
|
runtimeProfile: AppRuntimeProfile;
|
|
4604
6625
|
isolation: AppRuntimeIsolation;
|
|
6626
|
+
readiness: {
|
|
6627
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6628
|
+
requirements: {
|
|
6629
|
+
componentId: string;
|
|
6630
|
+
kind: "capability" | "configuration";
|
|
6631
|
+
id: string;
|
|
6632
|
+
title: string;
|
|
6633
|
+
description?: string | undefined;
|
|
6634
|
+
remediation?: {
|
|
6635
|
+
kind: "agent-setup";
|
|
6636
|
+
summary: string;
|
|
6637
|
+
requiresUserAction?: boolean | undefined;
|
|
6638
|
+
} | undefined;
|
|
6639
|
+
}[];
|
|
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
|
+
};
|
|
6671
|
+
dependencies: {
|
|
6672
|
+
readiness: {
|
|
6673
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6674
|
+
requirements: {
|
|
6675
|
+
componentId: string;
|
|
6676
|
+
kind: "capability" | "configuration";
|
|
6677
|
+
id: string;
|
|
6678
|
+
title: string;
|
|
6679
|
+
description?: string | undefined;
|
|
6680
|
+
remediation?: {
|
|
6681
|
+
kind: "agent-setup";
|
|
6682
|
+
summary: string;
|
|
6683
|
+
requiresUserAction?: boolean | undefined;
|
|
6684
|
+
} | undefined;
|
|
6685
|
+
}[];
|
|
6686
|
+
};
|
|
6687
|
+
bindings: {
|
|
6688
|
+
componentId: string;
|
|
6689
|
+
requirementKind: "capability" | "resource";
|
|
6690
|
+
requirementId: string;
|
|
6691
|
+
providerId: string;
|
|
6692
|
+
}[];
|
|
6693
|
+
candidates: {
|
|
6694
|
+
requirement: {
|
|
6695
|
+
componentId: string;
|
|
6696
|
+
kind: "capability" | "configuration";
|
|
6697
|
+
id: string;
|
|
6698
|
+
title: string;
|
|
6699
|
+
description?: string | undefined;
|
|
6700
|
+
remediation?: {
|
|
6701
|
+
kind: "agent-setup";
|
|
6702
|
+
summary: string;
|
|
6703
|
+
requiresUserAction?: boolean | undefined;
|
|
6704
|
+
} | undefined;
|
|
6705
|
+
};
|
|
6706
|
+
providers: {
|
|
6707
|
+
providerId: string;
|
|
6708
|
+
appId: string;
|
|
6709
|
+
componentId: string;
|
|
6710
|
+
capabilities: {
|
|
6711
|
+
id: string;
|
|
6712
|
+
version?: string | undefined;
|
|
6713
|
+
resourceTypes?: string[] | undefined;
|
|
6714
|
+
wit?: {
|
|
6715
|
+
package: string;
|
|
6716
|
+
interface: string;
|
|
6717
|
+
version: string;
|
|
6718
|
+
} | undefined;
|
|
6719
|
+
}[];
|
|
6720
|
+
}[];
|
|
6721
|
+
}[];
|
|
6722
|
+
resolvedProviderIds: {
|
|
6723
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
6733
|
+
};
|
|
4605
6734
|
};
|
|
4606
6735
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
4607
6736
|
readonly update: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
@@ -4661,6 +6790,12 @@ declare class AppPackagesRoutesController {
|
|
|
4661
6790
|
mode: AppDocumentAccessMode;
|
|
4662
6791
|
description?: string | undefined;
|
|
4663
6792
|
}[] | undefined;
|
|
6793
|
+
secrets?: {
|
|
6794
|
+
id: string;
|
|
6795
|
+
title: string;
|
|
6796
|
+
description: string;
|
|
6797
|
+
required: boolean;
|
|
6798
|
+
}[] | undefined;
|
|
4664
6799
|
allowedDomains?: string[] | undefined;
|
|
4665
6800
|
storage?: boolean | {
|
|
4666
6801
|
namespace?: string | undefined;
|
|
@@ -4670,6 +6805,7 @@ declare class AppPackagesRoutesController {
|
|
|
4670
6805
|
nativeProcess?: boolean | undefined;
|
|
4671
6806
|
} | undefined;
|
|
4672
6807
|
};
|
|
6808
|
+
resolvedProviderIds?: string[] | undefined;
|
|
4673
6809
|
title?: string | undefined;
|
|
4674
6810
|
description?: string | undefined;
|
|
4675
6811
|
icon?: string | undefined;
|
|
@@ -4705,6 +6841,114 @@ declare class AppPackagesRoutesController {
|
|
|
4705
6841
|
} | undefined;
|
|
4706
6842
|
runtimeProfile: AppRuntimeProfile;
|
|
4707
6843
|
isolation: AppRuntimeIsolation;
|
|
6844
|
+
readiness: {
|
|
6845
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6846
|
+
requirements: {
|
|
6847
|
+
componentId: string;
|
|
6848
|
+
kind: "capability" | "configuration";
|
|
6849
|
+
id: string;
|
|
6850
|
+
title: string;
|
|
6851
|
+
description?: string | undefined;
|
|
6852
|
+
remediation?: {
|
|
6853
|
+
kind: "agent-setup";
|
|
6854
|
+
summary: string;
|
|
6855
|
+
requiresUserAction?: boolean | undefined;
|
|
6856
|
+
} | undefined;
|
|
6857
|
+
}[];
|
|
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
|
+
};
|
|
6889
|
+
dependencies: {
|
|
6890
|
+
readiness: {
|
|
6891
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
6892
|
+
requirements: {
|
|
6893
|
+
componentId: string;
|
|
6894
|
+
kind: "capability" | "configuration";
|
|
6895
|
+
id: string;
|
|
6896
|
+
title: string;
|
|
6897
|
+
description?: string | undefined;
|
|
6898
|
+
remediation?: {
|
|
6899
|
+
kind: "agent-setup";
|
|
6900
|
+
summary: string;
|
|
6901
|
+
requiresUserAction?: boolean | undefined;
|
|
6902
|
+
} | undefined;
|
|
6903
|
+
}[];
|
|
6904
|
+
};
|
|
6905
|
+
bindings: {
|
|
6906
|
+
componentId: string;
|
|
6907
|
+
requirementKind: "capability" | "resource";
|
|
6908
|
+
requirementId: string;
|
|
6909
|
+
providerId: string;
|
|
6910
|
+
}[];
|
|
6911
|
+
candidates: {
|
|
6912
|
+
requirement: {
|
|
6913
|
+
componentId: string;
|
|
6914
|
+
kind: "capability" | "configuration";
|
|
6915
|
+
id: string;
|
|
6916
|
+
title: string;
|
|
6917
|
+
description?: string | undefined;
|
|
6918
|
+
remediation?: {
|
|
6919
|
+
kind: "agent-setup";
|
|
6920
|
+
summary: string;
|
|
6921
|
+
requiresUserAction?: boolean | undefined;
|
|
6922
|
+
} | undefined;
|
|
6923
|
+
};
|
|
6924
|
+
providers: {
|
|
6925
|
+
providerId: string;
|
|
6926
|
+
appId: string;
|
|
6927
|
+
componentId: string;
|
|
6928
|
+
capabilities: {
|
|
6929
|
+
id: string;
|
|
6930
|
+
version?: string | undefined;
|
|
6931
|
+
resourceTypes?: string[] | undefined;
|
|
6932
|
+
wit?: {
|
|
6933
|
+
package: string;
|
|
6934
|
+
interface: string;
|
|
6935
|
+
version: string;
|
|
6936
|
+
} | undefined;
|
|
6937
|
+
}[];
|
|
6938
|
+
}[];
|
|
6939
|
+
}[];
|
|
6940
|
+
resolvedProviderIds: {
|
|
6941
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
6951
|
+
};
|
|
4708
6952
|
};
|
|
4709
6953
|
result: {
|
|
4710
6954
|
appId: string;
|
|
@@ -4741,6 +6985,12 @@ declare class AppPackagesRoutesController {
|
|
|
4741
6985
|
mode: AppDocumentAccessMode;
|
|
4742
6986
|
description?: string | undefined;
|
|
4743
6987
|
}[] | undefined;
|
|
6988
|
+
secrets?: {
|
|
6989
|
+
id: string;
|
|
6990
|
+
title: string;
|
|
6991
|
+
description: string;
|
|
6992
|
+
required: boolean;
|
|
6993
|
+
}[] | undefined;
|
|
4744
6994
|
allowedDomains?: string[] | undefined;
|
|
4745
6995
|
storage?: boolean | {
|
|
4746
6996
|
namespace?: string | undefined;
|
|
@@ -4847,6 +7097,12 @@ declare class AppPackagesRoutesController {
|
|
|
4847
7097
|
mode: AppDocumentAccessMode;
|
|
4848
7098
|
description?: string | undefined;
|
|
4849
7099
|
}[] | undefined;
|
|
7100
|
+
secrets?: {
|
|
7101
|
+
id: string;
|
|
7102
|
+
title: string;
|
|
7103
|
+
description: string;
|
|
7104
|
+
required: boolean;
|
|
7105
|
+
}[] | undefined;
|
|
4850
7106
|
allowedDomains?: string[] | undefined;
|
|
4851
7107
|
storage?: boolean | {
|
|
4852
7108
|
namespace?: string | undefined;
|
|
@@ -4856,6 +7112,7 @@ declare class AppPackagesRoutesController {
|
|
|
4856
7112
|
nativeProcess?: boolean | undefined;
|
|
4857
7113
|
} | undefined;
|
|
4858
7114
|
};
|
|
7115
|
+
resolvedProviderIds?: string[] | undefined;
|
|
4859
7116
|
title?: string | undefined;
|
|
4860
7117
|
description?: string | undefined;
|
|
4861
7118
|
icon?: string | undefined;
|
|
@@ -4891,6 +7148,114 @@ declare class AppPackagesRoutesController {
|
|
|
4891
7148
|
} | undefined;
|
|
4892
7149
|
runtimeProfile: AppRuntimeProfile;
|
|
4893
7150
|
isolation: AppRuntimeIsolation;
|
|
7151
|
+
readiness: {
|
|
7152
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
7153
|
+
requirements: {
|
|
7154
|
+
componentId: string;
|
|
7155
|
+
kind: "capability" | "configuration";
|
|
7156
|
+
id: string;
|
|
7157
|
+
title: string;
|
|
7158
|
+
description?: string | undefined;
|
|
7159
|
+
remediation?: {
|
|
7160
|
+
kind: "agent-setup";
|
|
7161
|
+
summary: string;
|
|
7162
|
+
requiresUserAction?: boolean | undefined;
|
|
7163
|
+
} | undefined;
|
|
7164
|
+
}[];
|
|
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
|
+
};
|
|
7196
|
+
dependencies: {
|
|
7197
|
+
readiness: {
|
|
7198
|
+
status: _$_nextclaw_kernel0.AppPackageReadinessStatus;
|
|
7199
|
+
requirements: {
|
|
7200
|
+
componentId: string;
|
|
7201
|
+
kind: "capability" | "configuration";
|
|
7202
|
+
id: string;
|
|
7203
|
+
title: string;
|
|
7204
|
+
description?: string | undefined;
|
|
7205
|
+
remediation?: {
|
|
7206
|
+
kind: "agent-setup";
|
|
7207
|
+
summary: string;
|
|
7208
|
+
requiresUserAction?: boolean | undefined;
|
|
7209
|
+
} | undefined;
|
|
7210
|
+
}[];
|
|
7211
|
+
};
|
|
7212
|
+
bindings: {
|
|
7213
|
+
componentId: string;
|
|
7214
|
+
requirementKind: "capability" | "resource";
|
|
7215
|
+
requirementId: string;
|
|
7216
|
+
providerId: string;
|
|
7217
|
+
}[];
|
|
7218
|
+
candidates: {
|
|
7219
|
+
requirement: {
|
|
7220
|
+
componentId: string;
|
|
7221
|
+
kind: "capability" | "configuration";
|
|
7222
|
+
id: string;
|
|
7223
|
+
title: string;
|
|
7224
|
+
description?: string | undefined;
|
|
7225
|
+
remediation?: {
|
|
7226
|
+
kind: "agent-setup";
|
|
7227
|
+
summary: string;
|
|
7228
|
+
requiresUserAction?: boolean | undefined;
|
|
7229
|
+
} | undefined;
|
|
7230
|
+
};
|
|
7231
|
+
providers: {
|
|
7232
|
+
providerId: string;
|
|
7233
|
+
appId: string;
|
|
7234
|
+
componentId: string;
|
|
7235
|
+
capabilities: {
|
|
7236
|
+
id: string;
|
|
7237
|
+
version?: string | undefined;
|
|
7238
|
+
resourceTypes?: string[] | undefined;
|
|
7239
|
+
wit?: {
|
|
7240
|
+
package: string;
|
|
7241
|
+
interface: string;
|
|
7242
|
+
version: string;
|
|
7243
|
+
} | undefined;
|
|
7244
|
+
}[];
|
|
7245
|
+
}[];
|
|
7246
|
+
}[];
|
|
7247
|
+
resolvedProviderIds: {
|
|
7248
|
+
[x: string]: string[];
|
|
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
|
+
}[];
|
|
7258
|
+
};
|
|
4894
7259
|
};
|
|
4895
7260
|
result: {
|
|
4896
7261
|
appId: string;
|
|
@@ -5084,5 +7449,5 @@ declare class InboxDeliveriesRoutesController {
|
|
|
5084
7449
|
private handleManagerAction;
|
|
5085
7450
|
}
|
|
5086
7451
|
//#endregion
|
|
5087
|
-
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 };
|
|
5088
7453
|
//# sourceMappingURL=index.d.ts.map
|