NemoClaw/schemas
zyang-dev d3e0f3ba27
fix(plugin): activate nemoclaw slash command at startup (#4450)
<!-- 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 -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](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>
2026-05-28 17:10:32 -07:00
..
blueprint.schema.json chore: upgrade OpenClaw to 2026.5.22 (#4260) 2026-05-26 15:25:06 -07:00
onboard-config.schema.json ci: validate config and schema files against JSON Schema (#553) (#1684) 2026-04-09 17:52:48 -07:00
openclaw-plugin.schema.json fix(plugin): activate nemoclaw slash command at startup (#4450) 2026-05-28 17:10:32 -07:00
policy-preset.schema.json test(scanner): catch source-shape assertions (#4138) 2026-05-24 16:54:41 -07:00
router-pool-config.schema.json test(scanner): catch source-shape assertions (#4138) 2026-05-24 16:54:41 -07:00
sandbox-policy.schema.json test(scanner): catch source-shape assertions (#4138) 2026-05-24 16:54:41 -07:00