@nextclaw/server 0.12.13-beta.1 → 0.12.13-beta.3
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 +3 -48
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { PluginChannelBinding, PluginUiMetadata } from "@nextclaw/openclaw-compa
|
|
|
6
6
|
import { NcpAgentClientEndpoint, NcpMessage, NcpSessionApi, NcpSessionStatus, NcpSessionSummary } from "@nextclaw/ncp";
|
|
7
7
|
import { UpdatePreferences, UpdateSnapshot } from "@nextclaw/kernel/update-contract";
|
|
8
8
|
import { IncomingMessage } from "node:http";
|
|
9
|
+
import { AppEvent as UiServerEvent$1 } from "@nextclaw/kernel";
|
|
9
10
|
|
|
10
11
|
//#region src/ui/ncp-attachment.types.d.ts
|
|
11
12
|
type UiNcpStoredAssetRecord = {
|
|
@@ -397,7 +398,7 @@ type RuntimeControlActionResult = {
|
|
|
397
398
|
type UiRouterOptions = {
|
|
398
399
|
configPath: string;
|
|
399
400
|
productVersion?: string;
|
|
400
|
-
publish: (event: UiServerEvent) => void;
|
|
401
|
+
publish: (event: UiServerEvent$1) => void;
|
|
401
402
|
applyLiveConfigReload?: () => Promise<void>;
|
|
402
403
|
initializeAgentHomeDirectory?: (homeDirectory: string) => void;
|
|
403
404
|
marketplace?: MarketplaceApiConfig;
|
|
@@ -1264,52 +1265,6 @@ type ConfigActionExecuteResult = {
|
|
|
1264
1265
|
patch?: Record<string, unknown>;
|
|
1265
1266
|
nextActions?: string[];
|
|
1266
1267
|
};
|
|
1267
|
-
type UiServerEvent = {
|
|
1268
|
-
type: "config.updated";
|
|
1269
|
-
payload: {
|
|
1270
|
-
path: string;
|
|
1271
|
-
};
|
|
1272
|
-
} | {
|
|
1273
|
-
type: "channel.config.apply-status";
|
|
1274
|
-
payload: {
|
|
1275
|
-
channel: string;
|
|
1276
|
-
status: "started" | "succeeded" | "failed";
|
|
1277
|
-
message?: string;
|
|
1278
|
-
};
|
|
1279
|
-
} | {
|
|
1280
|
-
type: "session.updated";
|
|
1281
|
-
payload: {
|
|
1282
|
-
sessionKey: string;
|
|
1283
|
-
};
|
|
1284
|
-
} | {
|
|
1285
|
-
type: "session.run-status";
|
|
1286
|
-
payload: {
|
|
1287
|
-
sessionKey: string;
|
|
1288
|
-
status: "running" | "idle";
|
|
1289
|
-
};
|
|
1290
|
-
} | {
|
|
1291
|
-
type: "session.summary.upsert";
|
|
1292
|
-
payload: {
|
|
1293
|
-
summary: NcpSessionSummary;
|
|
1294
|
-
};
|
|
1295
|
-
} | {
|
|
1296
|
-
type: "session.summary.delete";
|
|
1297
|
-
payload: {
|
|
1298
|
-
sessionKey: string;
|
|
1299
|
-
};
|
|
1300
|
-
} | {
|
|
1301
|
-
type: "config.reload.started";
|
|
1302
|
-
payload?: Record<string, unknown>;
|
|
1303
|
-
} | {
|
|
1304
|
-
type: "config.reload.finished";
|
|
1305
|
-
payload?: Record<string, unknown>;
|
|
1306
|
-
} | {
|
|
1307
|
-
type: "error";
|
|
1308
|
-
payload: {
|
|
1309
|
-
message: string;
|
|
1310
|
-
code?: string;
|
|
1311
|
-
};
|
|
1312
|
-
};
|
|
1313
1268
|
type UiServerOptions = {
|
|
1314
1269
|
host: string;
|
|
1315
1270
|
port: number;
|
|
@@ -1404,4 +1359,4 @@ declare function getUiBridgeSecretPath(): string;
|
|
|
1404
1359
|
declare function readUiBridgeSecret(): string | null;
|
|
1405
1360
|
declare function ensureUiBridgeSecret(): string;
|
|
1406
1361
|
//#endregion
|
|
1407
|
-
export { AgentBindingView, AgentCreateRequest, AgentDeleteResult, AgentProfileView, AgentUpdateRequest, ApiError, ApiResponse, AppMetaView, AuthEnabledUpdateRequest, AuthLoginRequest, AuthPasswordUpdateRequest, AuthSetupRequest, AuthStatusView, BindingPeerView, BochaFreshnessValue, BootstrapPhase, BootstrapRemoteState, BootstrapStageState, BootstrapStatusView, ChannelAuthPollRequest, ChannelAuthPollResult, ChannelAuthStartRequest, ChannelAuthStartResult, ChannelSpecView, type ChatSessionTypeCtaView, type ChatSessionTypeOptionView, type ChatSessionTypesView, ConfigActionExecuteRequest, ConfigActionExecuteResult, ConfigActionManifest, ConfigActionType, ConfigMetaView, ConfigSchemaResponse, ConfigUiHint, ConfigUiHints, ConfigView, CronActionResult, CronCreateRequest, CronCreateResult, CronEnableRequest, CronJobStateView, CronJobView, CronListView, CronPayloadView, CronRunRequest, CronScheduleView, DEFAULT_SESSION_TYPE, 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, MarketplacePluginContentView, MarketplacePluginInstallKind, MarketplacePluginInstallRequest, MarketplacePluginInstallResult, MarketplacePluginManageAction, MarketplacePluginManageRequest, MarketplacePluginManageResult, MarketplaceRecommendationView, MarketplaceSkillContentView, MarketplaceSkillInstallKind, MarketplaceSkillInstallRequest, MarketplaceSkillInstallResult, MarketplaceSkillManageAction, MarketplaceSkillManageRequest, MarketplaceSkillManageResult, MarketplaceSort, NcpSessionSkillsView, ProviderAuthImportResult, ProviderAuthPollRequest, ProviderAuthPollResult, ProviderAuthStartRequest, ProviderAuthStartResult, ProviderConfigUpdate, ProviderConfigView, ProviderConnectionTestRequest, ProviderConnectionTestResult, ProviderCreateRequest, ProviderCreateResult, ProviderDeleteResult, ProviderSpecView, RemoteAccessView, RemoteAccountProfileUpdateRequest, RemoteAccountView, RemoteBrowserAuthPollRequest, RemoteBrowserAuthPollResult, RemoteBrowserAuthStartRequest, RemoteBrowserAuthStartResult, RemoteDoctorCheckView, RemoteDoctorView, RemoteLoginRequest, RemoteRuntimeView, RemoteServiceAction, RemoteServiceActionResult, RemoteServiceView, RemoteSettingsUpdateRequest, RemoteSettingsView, RuntimeActionCapability, RuntimeActionImpact, RuntimeConfigUpdate, RuntimeControlAction, RuntimeControlActionResult, RuntimeControlEnvironment, RuntimeControlView, RuntimeEntryView, RuntimeLifecycleState, RuntimePendingRestart, RuntimeServiceState, SearchConfigUpdate, SearchConfigView, SearchProviderConfigView, SearchProviderName, SearchProviderSpecView, SecretProviderEnvView, SecretProviderExecView, SecretProviderFileView, SecretProviderView, SecretRefView, SecretSourceView, SecretsConfigUpdate, SecretsView, ServerPathBreadcrumbView, ServerPathBrowseView, ServerPathEntryView, ServerPathReadView, SessionConfigView, SessionEntryView, SessionEventView, SessionHistoryView, SessionMessageView, SessionPatchUpdate, SessionPatchValidationError, SessionSkillEntryView, SessionTypeDescribeParams, SessionsListView, TavilySearchDepthValue, UiNcpAgent, UiNcpAssetPutView, UiNcpAssetView, UiNcpSessionListView, UiNcpSessionMessagesView, UiNcpSessionService, UiNcpStoredAssetRecord, type UiRemoteAccessHost, type UiRuntimeControlHost, type UiRuntimeUpdateHost, UiServerEvent, UiServerHandle, UiServerOptions, buildConfigMeta, buildConfigSchemaView, buildConfigView, createCustomProvider, createUiRouter, deleteCustomProvider, deleteSession, ensureUiBridgeSecret, executeConfigAction, getSessionHistory, getUiBridgeSecretPath, listSessions, loadConfigOrDefault, patchSession, readUiBridgeSecret, startUiServer, testProviderConnection, updateChannel, updateModel, updateProvider, updateRuntime, updateSearch, updateSecrets };
|
|
1362
|
+
export { AgentBindingView, AgentCreateRequest, AgentDeleteResult, AgentProfileView, AgentUpdateRequest, ApiError, ApiResponse, AppMetaView, AuthEnabledUpdateRequest, AuthLoginRequest, AuthPasswordUpdateRequest, AuthSetupRequest, AuthStatusView, BindingPeerView, BochaFreshnessValue, BootstrapPhase, BootstrapRemoteState, BootstrapStageState, BootstrapStatusView, ChannelAuthPollRequest, ChannelAuthPollResult, ChannelAuthStartRequest, ChannelAuthStartResult, ChannelSpecView, type ChatSessionTypeCtaView, type ChatSessionTypeOptionView, type ChatSessionTypesView, ConfigActionExecuteRequest, ConfigActionExecuteResult, ConfigActionManifest, ConfigActionType, ConfigMetaView, ConfigSchemaResponse, ConfigUiHint, ConfigUiHints, ConfigView, CronActionResult, CronCreateRequest, CronCreateResult, CronEnableRequest, CronJobStateView, CronJobView, CronListView, CronPayloadView, CronRunRequest, CronScheduleView, DEFAULT_SESSION_TYPE, 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, MarketplacePluginContentView, MarketplacePluginInstallKind, MarketplacePluginInstallRequest, MarketplacePluginInstallResult, MarketplacePluginManageAction, MarketplacePluginManageRequest, MarketplacePluginManageResult, MarketplaceRecommendationView, MarketplaceSkillContentView, MarketplaceSkillInstallKind, MarketplaceSkillInstallRequest, MarketplaceSkillInstallResult, MarketplaceSkillManageAction, MarketplaceSkillManageRequest, MarketplaceSkillManageResult, MarketplaceSort, NcpSessionSkillsView, ProviderAuthImportResult, ProviderAuthPollRequest, ProviderAuthPollResult, ProviderAuthStartRequest, ProviderAuthStartResult, ProviderConfigUpdate, ProviderConfigView, ProviderConnectionTestRequest, ProviderConnectionTestResult, ProviderCreateRequest, ProviderCreateResult, ProviderDeleteResult, ProviderSpecView, RemoteAccessView, RemoteAccountProfileUpdateRequest, RemoteAccountView, RemoteBrowserAuthPollRequest, RemoteBrowserAuthPollResult, RemoteBrowserAuthStartRequest, RemoteBrowserAuthStartResult, RemoteDoctorCheckView, RemoteDoctorView, RemoteLoginRequest, RemoteRuntimeView, RemoteServiceAction, RemoteServiceActionResult, RemoteServiceView, RemoteSettingsUpdateRequest, RemoteSettingsView, RuntimeActionCapability, RuntimeActionImpact, RuntimeConfigUpdate, RuntimeControlAction, RuntimeControlActionResult, RuntimeControlEnvironment, RuntimeControlView, RuntimeEntryView, RuntimeLifecycleState, RuntimePendingRestart, RuntimeServiceState, SearchConfigUpdate, SearchConfigView, SearchProviderConfigView, SearchProviderName, SearchProviderSpecView, SecretProviderEnvView, SecretProviderExecView, SecretProviderFileView, SecretProviderView, SecretRefView, SecretSourceView, SecretsConfigUpdate, SecretsView, ServerPathBreadcrumbView, ServerPathBrowseView, ServerPathEntryView, ServerPathReadView, SessionConfigView, SessionEntryView, SessionEventView, SessionHistoryView, SessionMessageView, SessionPatchUpdate, SessionPatchValidationError, SessionSkillEntryView, SessionTypeDescribeParams, SessionsListView, TavilySearchDepthValue, UiNcpAgent, UiNcpAssetPutView, UiNcpAssetView, UiNcpSessionListView, UiNcpSessionMessagesView, UiNcpSessionService, UiNcpStoredAssetRecord, type UiRemoteAccessHost, type UiRuntimeControlHost, type UiRuntimeUpdateHost, type UiServerEvent$1 as UiServerEvent, UiServerHandle, UiServerOptions, buildConfigMeta, buildConfigSchemaView, buildConfigView, createCustomProvider, createUiRouter, deleteCustomProvider, deleteSession, ensureUiBridgeSecret, executeConfigAction, getSessionHistory, getUiBridgeSecretPath, listSessions, loadConfigOrDefault, patchSession, readUiBridgeSecret, startUiServer, testProviderConnection, updateChannel, updateModel, updateProvider, updateRuntime, updateSearch, updateSecrets };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/server",
|
|
3
|
-
"version": "0.12.13-beta.
|
|
3
|
+
"version": "0.12.13-beta.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Nextclaw UI/API server.",
|
|
6
6
|
"type": "module",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"@hono/node-server": "^1.13.3",
|
|
19
19
|
"hono": "^4.6.2",
|
|
20
20
|
"ws": "^8.18.0",
|
|
21
|
-
"@nextclaw/core": "0.12.13-beta.
|
|
22
|
-
"@nextclaw/kernel": "0.1.2-beta.
|
|
23
|
-
"@nextclaw/mcp": "0.1.78-beta.
|
|
24
|
-
"@nextclaw/ncp": "0.
|
|
25
|
-
"@nextclaw/
|
|
26
|
-
"@nextclaw/
|
|
27
|
-
"@nextclaw/runtime": "0.2.45-beta.
|
|
21
|
+
"@nextclaw/core": "0.12.13-beta.2",
|
|
22
|
+
"@nextclaw/kernel": "0.1.2-beta.3",
|
|
23
|
+
"@nextclaw/mcp": "0.1.78-beta.2",
|
|
24
|
+
"@nextclaw/ncp-http-agent-server": "0.3.18-beta.2",
|
|
25
|
+
"@nextclaw/ncp": "0.5.6-beta.1",
|
|
26
|
+
"@nextclaw/openclaw-compat": "1.0.13-beta.3",
|
|
27
|
+
"@nextclaw/runtime": "0.2.45-beta.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^20.17.6",
|