nextclaw 0.19.6 → 0.19.8

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 (104) hide show
  1. package/dist/cli/app/index.js +1 -13
  2. package/package.json +17 -18
  3. package/resources/USAGE.md +4 -42
  4. package/ui-dist/assets/api-DGD9_Bg4.js +15 -0
  5. package/ui-dist/assets/app-manager-provider-oYdeYPSv.js +1 -0
  6. package/ui-dist/assets/{book-open-DDlN5MvX.js → book-open-BcnAiKde.js} +1 -1
  7. package/ui-dist/assets/channels-list-page-FJDuPwU6.js +8 -0
  8. package/ui-dist/assets/chat-page-D1fMNBrT.js +1 -0
  9. package/ui-dist/assets/config-split-page-CcrEUtwu.js +1 -0
  10. package/ui-dist/assets/cpu-DPPwMzoC.js +3 -0
  11. package/ui-dist/assets/{createLucideIcon-BLMK3QUd.js → createLucideIcon-DzY6wN61.js} +1 -1
  12. package/ui-dist/assets/desktop-kk7qvZ-v.js +3 -0
  13. package/ui-dist/assets/desktop-update-config-CP8dFYXK.js +1 -0
  14. package/ui-dist/assets/{dialog-dxsKz7jJ.js → dialog-BKo0RItd.js} +1 -1
  15. package/ui-dist/assets/{dist-DsYTOyq7.js → dist-CFiwgaLs.js} +1 -1
  16. package/ui-dist/assets/doc-browser-CAhfnm0D.js +1 -0
  17. package/ui-dist/assets/{doc-browser-context-BJuMaI3o.js → doc-browser-context-FukQHvyo.js} +1 -1
  18. package/ui-dist/assets/doc-browser-p9DDNPWB.js +1 -0
  19. package/ui-dist/assets/doc-browser-rZIQIjuw.js +1 -0
  20. package/ui-dist/assets/download-CMM8po31.js +1 -0
  21. package/ui-dist/assets/{es2015-V75WQJ2s.js → es2015-BhznEEyJ.js} +1 -1
  22. package/ui-dist/assets/{external-link-DwfSfTLB.js → external-link-CpEvG65F.js} +1 -1
  23. package/ui-dist/assets/i18n-D1144VAA.js +1 -0
  24. package/ui-dist/assets/index-D-AAMKCt.js +103 -0
  25. package/ui-dist/assets/index-DnBeV2Xm.css +1 -0
  26. package/ui-dist/assets/{key-round-CJ5gDAAG.js → key-round-DUq47t0P.js} +1 -1
  27. package/ui-dist/assets/marketplace-page-BrCLRIc4.js +105 -0
  28. package/ui-dist/assets/marketplace-page-odDpPYEs.js +1 -0
  29. package/ui-dist/assets/mcp-marketplace-page-CfbOBgKK.js +1 -0
  30. package/ui-dist/assets/mcp-marketplace-page-DIq_SpMe.js +40 -0
  31. package/ui-dist/assets/model-config-Bc6VVnxy.js +1 -0
  32. package/ui-dist/assets/{notice-card-D1RNsTn_.js → notice-card-Dr6xCwva.js} +1 -1
  33. package/ui-dist/assets/play-AqrNslHI.js +1 -0
  34. package/ui-dist/assets/plus-B-YHtTNC.js +1 -0
  35. package/ui-dist/assets/{popover-BMyiifTA.js → popover-BDFNiLlg.js} +1 -1
  36. package/ui-dist/assets/provider-scoped-model-input-BMTp4BEH.js +1 -0
  37. package/ui-dist/assets/providers-list-DN0tvISH.js +1 -0
  38. package/ui-dist/assets/refresh-cw-CrbD8EkT.js +1 -0
  39. package/ui-dist/assets/remote-Dr3jcfWP.js +1 -0
  40. package/ui-dist/assets/{rotate-cw-BZ2JObNs.js → rotate-cw-BN9yjccP.js} +1 -1
  41. package/ui-dist/assets/runtime-config-page-CRWOwBbl.js +1 -0
  42. package/ui-dist/assets/{save-euRxl8pI.js → save-CO_4qf6b.js} +1 -1
  43. package/ui-dist/assets/{search-CLd7m0M7.js → search-CRtQwr-h.js} +1 -1
  44. package/ui-dist/assets/search-config-C4c1yZSP.js +1 -0
  45. package/ui-dist/assets/secrets-config-zAF30YfO.js +3 -0
  46. package/ui-dist/assets/{select-DTdzR8j8.js → select-BUTwE_lC.js} +1 -1
  47. package/ui-dist/assets/{setting-row-CvKngoNI.js → setting-row-BavcnXw1.js} +1 -1
  48. package/ui-dist/assets/settings-MWL2SMyk.js +1 -0
  49. package/ui-dist/assets/{sparkles-DVfeSVJQ.js → sparkles-BmgOD4nY.js} +1 -1
  50. package/ui-dist/assets/{status-dot-ChvPCib9.js → status-dot-l3kPFdq_.js} +1 -1
  51. package/ui-dist/assets/{tabs-custom-Hia_ong0.js → tabs-custom-D48zdZoc.js} +1 -1
  52. package/ui-dist/assets/{tag-chip-BywQeHJj.js → tag-chip-Dm2Lqnpu.js} +1 -1
  53. package/ui-dist/assets/use-config-Cyv5IuSt.js +1 -0
  54. package/ui-dist/assets/use-infinite-scroll-loader-Cvz8ZteY.js +1 -0
  55. package/ui-dist/assets/x-BeyYA_h6.js +1 -0
  56. package/ui-dist/index.html +29 -40
  57. package/ui-dist/assets/api-BGd3rgv_.js +0 -15
  58. package/ui-dist/assets/app-manager-provider-BuJ_U9eC.js +0 -1
  59. package/ui-dist/assets/app-navigation.config-BTdUuqXS.js +0 -1
  60. package/ui-dist/assets/channels-list-page-BrwymXPe.js +0 -8
  61. package/ui-dist/assets/chat-DGM6K3Qs.js +0 -61
  62. package/ui-dist/assets/chat-page-DpmXMWNS.js +0 -1
  63. package/ui-dist/assets/chunk-JZWAC4HX-Kydj4yEz.js +0 -3
  64. package/ui-dist/assets/config-split-page-DIOCjj2Q.js +0 -1
  65. package/ui-dist/assets/desktop-update-config-BGKiqc6q.js +0 -1
  66. package/ui-dist/assets/doc-browser-C8FM5fC0.js +0 -1
  67. package/ui-dist/assets/doc-browser-RJUOL_GO.js +0 -1
  68. package/ui-dist/assets/doc-browser-p82AdNO-.js +0 -1
  69. package/ui-dist/assets/folder-CeJKPx5P.js +0 -1
  70. package/ui-dist/assets/hash-BqxRTZW5.js +0 -1
  71. package/ui-dist/assets/i18n-DnTGDIRw.js +0 -1
  72. package/ui-dist/assets/index-BrEdR78s.js +0 -2
  73. package/ui-dist/assets/index-D8MKmXtO.css +0 -1
  74. package/ui-dist/assets/loader-circle-fd-vQKtW.js +0 -1
  75. package/ui-dist/assets/logo-badge-KAe-7d8c.js +0 -1
  76. package/ui-dist/assets/logos-C4sYP1Vl.js +0 -1
  77. package/ui-dist/assets/marketplace-page-B2Pm2RDJ.js +0 -1
  78. package/ui-dist/assets/marketplace-page-CPHxlYL8.js +0 -49
  79. package/ui-dist/assets/mcp-marketplace-page-BcjVmw36.js +0 -1
  80. package/ui-dist/assets/mcp-marketplace-page-CswPXSjf.js +0 -40
  81. package/ui-dist/assets/message-square-z_osm9c0.js +0 -1
  82. package/ui-dist/assets/model-config-Cmruiqdx.js +0 -1
  83. package/ui-dist/assets/play-Dv6Nr1Ew.js +0 -1
  84. package/ui-dist/assets/plus-D8eKFY7h.js +0 -1
  85. package/ui-dist/assets/provider-scoped-model-input-D7ACiMAO.js +0 -1
  86. package/ui-dist/assets/providers-list-gg7LrfuB.js +0 -1
  87. package/ui-dist/assets/refresh-ccw-ByVwmnN_.js +0 -1
  88. package/ui-dist/assets/refresh-cw-PcqoYB3K.js +0 -1
  89. package/ui-dist/assets/remote-Db2M39Cv.js +0 -1
  90. package/ui-dist/assets/runtime-config-page-BT_VV41p.js +0 -1
  91. package/ui-dist/assets/search-config-0VTPpz-w.js +0 -1
  92. package/ui-dist/assets/secrets-config-DwQbLLEy.js +0 -3
  93. package/ui-dist/assets/sessions-config-page-CAG7Zevv.js +0 -2
  94. package/ui-dist/assets/settings-drbWqzA4.js +0 -1
  95. package/ui-dist/assets/skeleton-BK1SOSRA.js +0 -1
  96. package/ui-dist/assets/theme-provider-COAwWFv8.js +0 -2
  97. package/ui-dist/assets/tooltip-BOYp8Ue7.js +0 -1
  98. package/ui-dist/assets/trash-2-CBsHCfqq.js +0 -1
  99. package/ui-dist/assets/use-config-DTwhNDQE.js +0 -1
  100. package/ui-dist/assets/use-confirm-dialog-oeSqhmrx.js +0 -1
  101. package/ui-dist/assets/use-infinite-scroll-loader-X3KGuME8.js +0 -1
  102. package/ui-dist/assets/use-viewport-layout-C0NJAVXs.js +0 -1
  103. package/ui-dist/assets/x-CM-XDMpk.js +0 -1
  104. /package/ui-dist/assets/{config-hints-MogHYQ8G.js → config-hints-BNfpOL4J.js} +0 -0
@@ -3533,17 +3533,6 @@ function registerAgentsCommands(program, nextclaw) {
3533
3533
  agents.command("remove <agentId>").description("Remove an agent").option("--json", "Output JSON", false).action(async (agentId, opts) => agentsCommands.remove(agentId, opts));
3534
3534
  }
3535
3535
  //#endregion
3536
- //#region src/cli/app/register-companion-commands.ts
3537
- function registerCompanionCommands(program, nextclaw) {
3538
- const companionCommands = nextclaw.commands.companion;
3539
- const companion = program.command("companion").description("Manage the standalone NextClaw companion shell");
3540
- companion.command("start").description("Start the companion shell in the background").option("--base-url <url>", "Explicit NextClaw UI base URL").action(async (opts) => companionCommands.start(opts));
3541
- companion.command("enable").description("Enable the companion feature and start it when a local runtime is available").option("--base-url <url>", "Explicit NextClaw UI base URL").action(async (opts) => companionCommands.enable(opts));
3542
- companion.command("disable").description("Disable the companion feature and stop any running companion process").action(async (opts) => companionCommands.disable(opts));
3543
- companion.command("status").description("Show companion process status").option("--json", "Output JSON", false).action(async (opts) => companionCommands.status(opts));
3544
- companion.command("stop").description("Stop the companion process").option("--force", "Force kill the companion process", false).action(async (opts) => companionCommands.stop(opts));
3545
- }
3546
- //#endregion
3547
3536
  //#region src/cli/app/register-learning-loop-commands.ts
3548
3537
  function readLearningLoopThresholdOrExit(value) {
3549
3538
  const threshold = Number.parseInt(value, 10);
@@ -3652,13 +3641,12 @@ program.command("start").description(`Start the ${APP_NAME} gateway + UI in the
3652
3641
  program.command("restart").description(`Restart the ${APP_NAME} background service`).option("--ui-port <port>", "UI port").option("--start-timeout <ms>", "Maximum wait time for startup readiness in milliseconds").option("--open", "Open browser after restart", false).action(async (opts) => runtime.commands.restart.run(opts));
3653
3642
  program.command("serve").description(`Run the ${APP_NAME} gateway + UI in the foreground`).option("--ui-port <port>", "UI port").option("--open", "Open browser after start", false).action(async (opts) => runtime.commands.serve.run(opts));
3654
3643
  program.command("stop").description(`Stop the ${APP_NAME} background service`).action(async () => runtime.commands.stop.run());
3655
- registerCompanionCommands(program, runtime);
3656
3644
  registerHostServiceControls({
3657
3645
  program,
3658
3646
  nextclaw: runtime
3659
3647
  });
3660
3648
  program.command("agent").description("Interact with the agent directly").option("-m, --message <message>", "Message to send to the agent").option("-s, --session <session>", "Session ID", "cli:default").option("--model <model>", "Session model override for this run").option("--no-markdown", "Disable Markdown rendering").action(async (opts) => runtime.agent(opts));
3661
- program.command("update").description(`Check, download, or apply ${APP_NAME} runtime updates`).option("--check", "Only check for a runtime update", false).option("--download", "Download an available runtime update without applying it").option("--apply", "Apply the downloaded runtime update", false).option("--channel <channel>", "Update channel (stable or beta)").option("--manifest-url <url>", "Explicit runtime update manifest URL").option("--json", "Output JSON", false).action(async (opts) => runtime.update(opts));
3649
+ program.command("update").description(`Update the ${APP_NAME} runtime`).option("--check", "Only check for a runtime update", false).option("--download-only", "Download an available runtime update without applying it", false).option("--download", "Alias for --download-only").option("--apply", "Apply the downloaded runtime update", false).option("--channel <channel>", "Update channel (stable or beta)").option("--manifest-url <url>", "Explicit runtime update manifest URL").option("--json", "Output JSON", false).action(async (opts) => runtime.update(opts));
3662
3650
  registerSkillsCommands(program, runtime);
3663
3651
  registerAgentsCommands(program, runtime);
3664
3652
  const plugins = program.command("plugins").description("Manage OpenClaw-compatible plugins");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextclaw",
3
- "version": "0.19.6",
3
+ "version": "0.19.8",
4
4
  "description": "Lightweight personal AI assistant with CLI, multi-provider routing, and channel integrations.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -41,22 +41,21 @@
41
41
  "commander": "^12.1.0",
42
42
  "jszip": "^3.10.1",
43
43
  "yaml": "^2.8.1",
44
- "@nextclaw/kernel": "0.1.5",
45
- "@nextclaw/core": "0.12.16",
46
- "@nextclaw/companion": "0.1.4",
47
- "@nextclaw/mcp": "0.1.81",
48
- "@nextclaw/ncp": "0.5.9",
49
- "@nextclaw/ncp-agent-runtime": "0.3.19",
50
- "@nextclaw/ncp-toolkit": "0.5.14",
51
- "@nextclaw/nextclaw-hermes-acp-bridge": "0.1.8",
52
- "@nextclaw/ncp-mcp": "0.1.83",
53
- "@nextclaw/nextclaw-ncp-runtime-http-client": "0.1.8",
54
- "@nextclaw/openclaw-compat": "1.0.16",
55
- "@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.1.9",
56
- "@nextclaw/runtime": "0.2.48",
57
- "@nextclaw/service": "0.1.7",
58
- "@nextclaw/remote": "0.1.93",
59
- "@nextclaw/server": "0.12.16"
44
+ "@nextclaw/core": "0.12.17",
45
+ "@nextclaw/ncp": "0.5.10",
46
+ "@nextclaw/mcp": "0.1.82",
47
+ "@nextclaw/ncp-agent-runtime": "0.3.20",
48
+ "@nextclaw/kernel": "0.1.6",
49
+ "@nextclaw/nextclaw-ncp-runtime-http-client": "0.1.9",
50
+ "@nextclaw/openclaw-compat": "1.0.17",
51
+ "@nextclaw/nextclaw-hermes-acp-bridge": "0.1.9",
52
+ "@nextclaw/remote": "0.1.94",
53
+ "@nextclaw/runtime": "0.2.49",
54
+ "@nextclaw/ncp-toolkit": "0.5.15",
55
+ "@nextclaw/service": "0.1.9",
56
+ "@nextclaw/server": "0.12.17",
57
+ "@nextclaw/ncp-mcp": "0.1.84",
58
+ "@nextclaw/nextclaw-ncp-runtime-stdio-client": "0.1.10"
60
59
  },
61
60
  "devDependencies": {
62
61
  "@types/node": "^20.17.6",
@@ -64,7 +63,7 @@
64
63
  "tsx": "^4.19.2",
65
64
  "typescript": "^5.6.3",
66
65
  "vitest": "^4.1.2",
67
- "@nextclaw/ui": "0.12.24"
66
+ "@nextclaw/ui": "0.12.25"
68
67
  },
69
68
  "scripts": {
70
69
  "dev": "tsx watch --tsconfig tsconfig.json src/cli/app/index.ts",
@@ -212,40 +212,6 @@ Useful commands:
212
212
 
213
213
  UI note: **Model** page save persists `agents.defaults.model` only.
214
214
 
215
- ### Companion feature
216
-
217
- NextClaw companion is a persistent system feature backed by `companion.enabled`, not just a one-off background process.
218
-
219
- Recommended control path:
220
-
221
- - Open the runtime settings page in the UI.
222
- - Toggle **Companion enabled**.
223
- - Save the runtime settings.
224
-
225
- Behavior:
226
-
227
- - enabling starts the companion immediately when a local runtime is available
228
- - disabling stops any running companion process
229
- - if it remains enabled, it auto-starts again after the NextClaw runtime restarts
230
-
231
- CLI equivalents:
232
-
233
- ```bash
234
- nextclaw companion enable
235
- nextclaw companion disable
236
- nextclaw companion status --json
237
- ```
238
-
239
- Lower-level process controls are also available:
240
-
241
- ```bash
242
- nextclaw companion start
243
- nextclaw companion stop
244
- ```
245
-
246
- Use `enable/disable` when you want the feature state to persist in config.
247
- Use `start/stop` only for direct process control or debugging.
248
-
249
215
  ### Multi-agent routing & session isolation (OpenClaw-aligned)
250
216
 
251
217
  For agent identities themselves, do **not** create them through `Routing & Runtime` or direct `agents.list` edits.
@@ -499,11 +465,6 @@ Skill loading contract:
499
465
  | `nextclaw start` | Start gateway + UI in the background |
500
466
  | `nextclaw restart` | Restart the background service with optional start flags |
501
467
  | `nextclaw stop` | Stop the background service |
502
- | `nextclaw companion enable` | Persistently enable the companion feature and start it when a local runtime is available |
503
- | `nextclaw companion disable` | Persistently disable the companion feature and stop any running companion process |
504
- | `nextclaw companion status` | Show current companion process/config status (`--json`) |
505
- | `nextclaw companion start` | Start the companion process without changing the persisted feature toggle |
506
- | `nextclaw companion stop` | Stop the companion process without changing the persisted feature toggle (`--force` supported) |
507
468
  | `nextclaw service install-systemd --user` | Install a user-level Linux `systemd` service for NextClaw |
508
469
  | `sudo nextclaw service install-systemd --system` | Install a system-wide Linux `systemd` service for NextClaw |
509
470
  | `nextclaw service uninstall-systemd --user` | Remove a user-level Linux `systemd` service |
@@ -728,9 +689,10 @@ nextclaw update
728
689
  Behavior:
729
690
 
730
691
  - If `NEXTCLAW_UPDATE_COMMAND` is set, the CLI executes it (useful for custom update flows).
731
- - Otherwise it falls back to `npm i -g nextclaw`.
732
- - `nextclaw update` now prints version progress explicitly: `Current version: x.y.z`, then either `Version updated: x.y.z -> a.b.c` or `Version unchanged: x.y.z`.
733
- - If the background service is running, restart it after the update to apply changes.
692
+ - Otherwise `nextclaw update` checks the runtime update channel, downloads the latest compatible runtime bundle, and applies it.
693
+ - Use `nextclaw update --check` to check without downloading or applying.
694
+ - Use `nextclaw update --download-only` to stage an update without switching the active runtime. `nextclaw update --apply` applies an already staged runtime update.
695
+ - If the background service is running, restart it after `nextclaw update` reports that the runtime update was applied.
734
696
  - When update is triggered from the running gateway (agent `update.run`), NextClaw arms a self-relaunch helper before exiting, so the service comes back automatically (like an OS reboot flow).
735
697
  - After restart, NextClaw automatically pings the last active session with restart/update status (including note when provided).
736
698