@rainbow-robotics/muscat-plugin-kit 0.10.1-dev.0 → 0.10.1-dev.2
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.
- package/README.ko.md +2 -0
- package/README.md +2 -0
- package/cli/prepack.mjs +2 -0
- package/cli/program-commands.json +2079 -0
- package/cli/src/ai-rules.mjs +2 -1
- package/cli/src/devUi.mjs +15 -11
- package/cli/src/mcp.mjs +79 -0
- package/cli/src/muscatLocal.mjs +5 -2
- package/cli/src/programCommands.mjs +327 -0
- package/cli/src/ros2.mjs +11 -2
- package/cli/src/util.mjs +2 -2
- package/cli/storybook-dist/project.json +1 -1
- package/cli/templates/common/requirements.txt +3 -3
- package/cli/templates/cpp/cpp/CMakeLists.txt +1 -1
- package/cli/templates/readme-cpp/README.md +1 -1
- package/cli/templates/ros2-cpp/ros2_ws/src/__PLUGIN_SLUG__/CMakeLists.txt +1 -1
- package/package.json +3 -3
package/README.ko.md
CHANGED
|
@@ -1115,6 +1115,8 @@ stdio MCP 서버입니다. rb-components(실제 props, Storybook 예시), 디자
|
|
|
1115
1115
|
| `list_components`, `get_component_props`, `get_component_example` | plugin-ui 컴포넌트, prop 타입, 실제 Storybook 사용 예 |
|
|
1116
1116
|
| `list_design_tokens`, `search_design_tokens` | 디자인 토큰 Tailwind class (`bg-bg-*`, `text-fg-*`, `typo-*`) |
|
|
1117
1117
|
| `list_rb_sdk`, `search_rb_sdk`, `get_rb_sdk_api` | Python `rainbow-rb-sdk`와 C++ SDK의 클래스 / 시그니처 / docstring |
|
|
1118
|
+
| `list_program_commands` | Program 페이지 내장 명령(카테고리, `funcName`, 기본 인자, 중첩 규칙). `rb.program.setSteps`나 `POST /common/program/steps/upsert`에 사용 |
|
|
1119
|
+
| `get_program_api` | 프로그램 생성·실행 가이드(`rb.program`, `/common/program` REST)와 실행 중인 Muscat의 엔드포인트 스키마(기본 `http://localhost:3000`) |
|
|
1118
1120
|
| `check_project` | 오래된 프로젝트가 `muscat-pk update` 후 고쳐야 할 것 |
|
|
1119
1121
|
|
|
1120
1122
|
Claude Code — 플러그인 루트의 `.mcp.json` (`new`가 만들고, 없으면 `update`가 추가):
|
package/README.md
CHANGED
|
@@ -1115,6 +1115,8 @@ An MCP server (stdio) with grounded info on rb-components (props, Storybook exam
|
|
|
1115
1115
|
| `list_components`, `get_component_props`, `get_component_example` | plugin-ui components, their prop types, real Storybook usage |
|
|
1116
1116
|
| `list_design_tokens`, `search_design_tokens` | design-token Tailwind classes (`bg-bg-*`, `text-fg-*`, `typo-*`) |
|
|
1117
1117
|
| `list_rb_sdk`, `search_rb_sdk`, `get_rb_sdk_api` | Python `rainbow-rb-sdk` and C++ SDK classes / signatures / docstrings |
|
|
1118
|
+
| `list_program_commands` | built-in Program page commands (category, `funcName`, default args, nesting rules) for `rb.program.setSteps` or `POST /common/program/steps/upsert` |
|
|
1119
|
+
| `get_program_api` | guide to building/running programs (`rb.program`, `/common/program` REST) plus live endpoint schemas from a running Muscat (default `http://localhost:3000`) |
|
|
1118
1120
|
| `check_project` | what an older project must change after `muscat-pk update` |
|
|
1119
1121
|
|
|
1120
1122
|
Claude Code — `.mcp.json` at the plugin root (written by `new`, or by `update` when missing):
|
package/cli/prepack.mjs
CHANGED
|
@@ -6,5 +6,7 @@
|
|
|
6
6
|
// In the monorepo this runs the real build; outside it (re-packing an already
|
|
7
7
|
// published copy) buildStorybook() no-ops and the pre-staged dist is used.
|
|
8
8
|
import { buildStorybook } from "./src/storybook.mjs";
|
|
9
|
+
import { stageProgramCommands } from "./src/programCommands.mjs";
|
|
9
10
|
|
|
10
11
|
buildStorybook();
|
|
12
|
+
stageProgramCommands();
|