[PR #3] [MERGED] feat: add commands.list for pipeline discovery #4

Closed
opened 2026-02-15 18:15:37 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/lobster/pull/3
Author: @vignesh07
Created: 1/22/2026
Status: Merged
Merged: 1/22/2026
Merged by: @vignesh07

Base: mainHead: feat/commands-list


📝 Commits (2)

  • a4e80bb feat: add commands.list for pipeline discovery
  • 4c8eca0 test: cover commands.list

📊 Changes

4 files changed (+88 additions, -1 deletions)

View changed files

📝 src/cli.ts (+1 -1)
src/commands/commands_list.ts (+40 -0)
📝 src/commands/registry.ts (+2 -0)
test/commands_list.test.ts (+45 -0)

📄 Description

Adds commands.list so agents (e.g. Clawdbot) can discover the available Lobster pipeline stages dynamically.

  • New command: commands.list
  • Outputs { name, description } for each registered command (description derived from the first non-empty line of help())
  • Registers the command and updates CLI help text

Testing:

  • pnpm test

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/lobster/pull/3 **Author:** [@vignesh07](https://github.com/vignesh07) **Created:** 1/22/2026 **Status:** ✅ Merged **Merged:** 1/22/2026 **Merged by:** [@vignesh07](https://github.com/vignesh07) **Base:** `main` ← **Head:** `feat/commands-list` --- ### 📝 Commits (2) - [`a4e80bb`](https://github.com/openclaw/lobster/commit/a4e80bb681989302acf51b48733760d6dfcaad22) feat: add commands.list for pipeline discovery - [`4c8eca0`](https://github.com/openclaw/lobster/commit/4c8eca00d3b0a58e0435f415c7413d8a09a1a928) test: cover commands.list ### 📊 Changes **4 files changed** (+88 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cli.ts` (+1 -1) ➕ `src/commands/commands_list.ts` (+40 -0) 📝 `src/commands/registry.ts` (+2 -0) ➕ `test/commands_list.test.ts` (+45 -0) </details> ### 📄 Description Adds `commands.list` so agents (e.g. Clawdbot) can discover the available Lobster pipeline stages dynamically. - New command: `commands.list` - Outputs `{ name, description }` for each registered command (description derived from the first non-empty line of `help()`) - Registers the command and updates CLI help text Testing: - `pnpm test` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 18:15:37 -05:00
yindo closed this issue 2026-02-15 18:15:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/lobster#4