mirror of
https://github.com/NVIDIA/NemoClaw.git
synced 2026-07-03 03:37:16 +00:00
<!-- markdownlint-disable MD041 --> ## Summary Fixes a regression with newer OpenClaw lazy startup activation where the NemoClaw plugin could be installed and enabled but never imported, leaving `/nemoclaw` unregistered in the TUI. This PR declares NemoClaw's runtime slash command metadata and opts the plugin into startup activation. ## Related Issue <!-- Fixes #NNN or Closes #NNN. Remove this section if none. --> Fixes #2021 ## Changes - Add `commandAliases` metadata for the `/nemoclaw` runtime slash command. - Add `activation.onStartup: true` so OpenClaw imports NemoClaw during gateway startup. - Update the OpenClaw plugin manifest schema for the new metadata. - Add regression coverage for the NemoClaw slash command and startup activation metadata. ## Type of Change - [x] Code change (feature, bug fix, or refactor) - [ ] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Verification <!-- Check each item you ran and confirmed. Leave unchecked items you skipped. Doc-only changes do not require npm test unless you ran it. --> - [ ] `npx prek run --all-files` passes - [x] `npm test` passes - [x] Tests added or updated for new or changed behavior - [x] No secrets, API keys, or credentials committed - [ ] Docs updated for user-facing behavior changes - [ ] `npm run docs` builds without warnings (doc changes only) - [ ] Doc pages follow the [style guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md) (doc changes only) - [ ] New doc pages include SPDX header and frontmatter (new pages only) --- <!-- DCO sign-off required by CI. Run: git config user.name && git config user.email --> Signed-off-by: zyang-dev <267119621+zyang-dev@users.noreply.github.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Plugins can now define command aliases for enhanced command availability. * Plugins can opt into automatic startup activation on system initialization. * Configuration schema updated to support command alias registration and activation metadata. * **Tests** * Added schema validation tests covering new alias and activation rules and related rejection cases. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/NVIDIA/NemoClaw/pull/4450?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: zyang-dev <267119621+zyang-dev@users.noreply.github.com> Co-authored-by: Carlos Villela <cvillela@nvidia.com> Co-authored-by: cjagwani <cjagwani@nvidia.com> |
||
|---|---|---|
| .. | ||
| blueprint.schema.json | ||
| onboard-config.schema.json | ||
| openclaw-plugin.schema.json | ||
| policy-preset.schema.json | ||
| router-pool-config.schema.json | ||
| sandbox-policy.schema.json | ||