nextclaw 0.16.13 → 0.16.14

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.
Files changed (2) hide show
  1. package/dist/cli/index.js +25 -3
  2. package/package.json +6 -6
package/dist/cli/index.js CHANGED
@@ -7749,6 +7749,11 @@ var {
7749
7749
  saveConfig: saveConfig9,
7750
7750
  SessionManager
7751
7751
  } = NextclawCore;
7752
+ function applyGatewayCapabilityState(gateway, next) {
7753
+ gateway.pluginRegistry = next.pluginRegistry;
7754
+ gateway.pluginChannelBindings = next.pluginChannelBindings;
7755
+ gateway.extensionRegistry = next.extensionRegistry;
7756
+ }
7752
7757
  function createGatewayShellContext(params) {
7753
7758
  const runtimeConfigPath = getConfigPath9();
7754
7759
  const config2 = resolveConfigSecrets2(loadConfig16(), { configPath: runtimeConfigPath });
@@ -8394,6 +8399,11 @@ async function hydrateServiceCapabilities(params) {
8394
8399
  currentExtensionChannels: params.state.extensionRegistry.channels,
8395
8400
  nextExtensionChannels: nextExtensionRegistry.channels
8396
8401
  });
8402
+ applyGatewayCapabilityState(params.gateway, {
8403
+ pluginRegistry: nextPluginRegistry,
8404
+ extensionRegistry: nextExtensionRegistry,
8405
+ pluginChannelBindings: nextPluginChannelBindings
8406
+ });
8397
8407
  params.state.pluginRegistry = nextPluginRegistry;
8398
8408
  params.state.extensionRegistry = nextExtensionRegistry;
8399
8409
  params.state.pluginChannelBindings = nextPluginChannelBindings;
@@ -8591,6 +8601,12 @@ function createGatewayRuntimeState(gateway) {
8591
8601
  pluginGatewayHandles: []
8592
8602
  };
8593
8603
  }
8604
+ function applyGatewayRuntimeCapabilityState(params) {
8605
+ applyGatewayCapabilityState(params.gateway, params.next);
8606
+ params.state.pluginRegistry = params.next.pluginRegistry;
8607
+ params.state.extensionRegistry = params.next.extensionRegistry;
8608
+ params.state.pluginChannelBindings = params.next.pluginChannelBindings;
8609
+ }
8594
8610
  function configureGatewayPluginRuntime(params) {
8595
8611
  params.gateway.reloader.setApplyAgentRuntimeConfig((nextConfig) => params.gateway.runtimePool.applyRuntimeConfig(nextConfig));
8596
8612
  params.gateway.reloader.setReloadPlugins(async ({ config: nextConfig, changedPaths }) => {
@@ -8604,9 +8620,15 @@ function configureGatewayPluginRuntime(params) {
8604
8620
  pluginGatewayLogger,
8605
8621
  logPluginGatewayDiagnostics
8606
8622
  });
8607
- params.state.pluginRegistry = result.pluginRegistry;
8608
- params.state.extensionRegistry = result.extensionRegistry;
8609
- params.state.pluginChannelBindings = result.pluginChannelBindings;
8623
+ applyGatewayRuntimeCapabilityState({
8624
+ gateway: params.gateway,
8625
+ state: params.state,
8626
+ next: {
8627
+ pluginRegistry: result.pluginRegistry,
8628
+ extensionRegistry: result.extensionRegistry,
8629
+ pluginChannelBindings: result.pluginChannelBindings
8630
+ }
8631
+ });
8610
8632
  params.state.pluginUiMetadata = getPluginUiMetadataFromRegistry2(result.pluginRegistry);
8611
8633
  params.state.pluginGatewayHandles = result.pluginGatewayHandles;
8612
8634
  params.gateway.runtimePool.applyExtensionRegistry(result.extensionRegistry);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.16.13",
3
+ "version": "0.16.14",
4
4
  "description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -39,14 +39,14 @@
39
39
  "chokidar": "^3.6.0",
40
40
  "commander": "^12.1.0",
41
41
  "yaml": "^2.8.1",
42
- "@nextclaw/core": "0.11.5",
43
- "@nextclaw/mcp": "0.1.52",
44
- "@nextclaw/ncp": "0.4.0",
45
42
  "@nextclaw/ncp-agent-runtime": "0.3.0",
46
- "@nextclaw/ncp-toolkit": "0.4.5",
43
+ "@nextclaw/ncp": "0.4.0",
44
+ "@nextclaw/core": "0.11.5",
47
45
  "@nextclaw/ncp-mcp": "0.1.52",
48
- "@nextclaw/runtime": "0.2.19",
49
46
  "@nextclaw/remote": "0.1.60",
47
+ "@nextclaw/ncp-toolkit": "0.4.5",
48
+ "@nextclaw/mcp": "0.1.52",
49
+ "@nextclaw/runtime": "0.2.19",
50
50
  "@nextclaw/server": "0.11.8",
51
51
  "@nextclaw/openclaw-compat": "0.3.42"
52
52
  },