nextclaw 0.8.2 → 0.8.4

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 +29 -22
  2. package/package.json +3 -3
package/dist/cli/index.js CHANGED
@@ -1835,26 +1835,7 @@ var DiagnosticsCommands = class {
1835
1835
  };
1836
1836
 
1837
1837
  // src/cli/commands/service.ts
1838
- import {
1839
- APP_NAME as APP_NAME2,
1840
- ChannelManager as ChannelManager2,
1841
- CronService as CronService2,
1842
- getApiBase,
1843
- getConfigPath as getConfigPath2,
1844
- getDataDir as getDataDir5,
1845
- getProvider,
1846
- getProviderName,
1847
- getWorkspacePath as getWorkspacePath5,
1848
- HeartbeatService,
1849
- LiteLLMProvider,
1850
- SkillsLoader,
1851
- loadConfig as loadConfig5,
1852
- MessageBus,
1853
- ProviderManager,
1854
- saveConfig as saveConfig4,
1855
- SessionManager,
1856
- parseAgentScopedSessionKey as parseAgentScopedSessionKey2
1857
- } from "@nextclaw/core";
1838
+ import * as NextclawCore from "@nextclaw/core";
1858
1839
  import {
1859
1840
  getPluginChannelBindings as getPluginChannelBindings2,
1860
1841
  resolvePluginChannelMessageToolHints,
@@ -2496,6 +2477,32 @@ var GatewayAgentRuntimePool = class {
2496
2477
  };
2497
2478
 
2498
2479
  // src/cli/commands/service.ts
2480
+ var {
2481
+ APP_NAME: APP_NAME2,
2482
+ ChannelManager: ChannelManager2,
2483
+ CronService: CronService2,
2484
+ getApiBase,
2485
+ getConfigPath: getConfigPath2,
2486
+ getDataDir: getDataDir5,
2487
+ getProvider,
2488
+ getProviderName,
2489
+ getWorkspacePath: getWorkspacePath5,
2490
+ HeartbeatService,
2491
+ LiteLLMProvider,
2492
+ loadConfig: loadConfig5,
2493
+ MessageBus,
2494
+ ProviderManager,
2495
+ saveConfig: saveConfig4,
2496
+ SessionManager,
2497
+ parseAgentScopedSessionKey: parseAgentScopedSessionKey2
2498
+ } = NextclawCore;
2499
+ function createSkillsLoader(workspace) {
2500
+ const ctor = NextclawCore.SkillsLoader;
2501
+ if (!ctor) {
2502
+ return null;
2503
+ }
2504
+ return new ctor(workspace);
2505
+ }
2499
2506
  var ServiceCommands = class {
2500
2507
  constructor(deps) {
2501
2508
  this.deps = deps;
@@ -3147,8 +3154,8 @@ var ServiceCommands = class {
3147
3154
  output: destination
3148
3155
  };
3149
3156
  }
3150
- const loader = new SkillsLoader(workspace);
3151
- const builtin = loader.listSkills(false).find((skill) => skill.name === slug && skill.source === "builtin");
3157
+ const loader = createSkillsLoader(workspace);
3158
+ const builtin = (loader?.listSkills(false) ?? []).find((skill) => skill.name === slug && skill.source === "builtin");
3152
3159
  if (!builtin) {
3153
3160
  if (existsSync7(destinationSkillFile)) {
3154
3161
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "chokidar": "^3.6.0",
40
40
  "commander": "^12.1.0",
41
- "@nextclaw/core": "^0.6.27",
42
- "@nextclaw/server": "^0.5.0",
41
+ "@nextclaw/core": "^0.6.28",
42
+ "@nextclaw/server": "^0.5.2",
43
43
  "@nextclaw/openclaw-compat": "^0.1.20"
44
44
  },
45
45
  "devDependencies": {