@collectui/bdui 0.1.3 → 0.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@collectui/bdui",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Add BoardUI components to your project.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/list.js CHANGED
@@ -6,7 +6,7 @@ export async function cmdList() {
6
6
  const { items } = await fetchIndex(true);
7
7
  const groups = new Map();
8
8
  for (const item of items) {
9
- const key = item.bdui2Type ?? "base";
9
+ const key = item.boarduiType ?? "base";
10
10
  if (!groups.has(key)) groups.set(key, []);
11
11
  groups.get(key).push(item);
12
12
  }
package/src/mcp.js CHANGED
@@ -158,7 +158,7 @@ async function dispatch(name, args, captured, serverKey) {
158
158
  const lines = [header];
159
159
  const groups = new Map();
160
160
  for (const i of items) {
161
- const g = i.bdui2Type ?? "base";
161
+ const g = i.boarduiType ?? "base";
162
162
  if (!groups.has(g)) groups.set(g, []);
163
163
  groups.get(g).push(i);
164
164
  }
package/src/rules.js CHANGED
@@ -14,10 +14,7 @@ export async function applyAgentRules(projectDir) {
14
14
  let verb;
15
15
  if (existsSync(agentsMd)) {
16
16
  const prev = readFileSync(agentsMd, "utf8");
17
- if (
18
- prev.includes("boardui:rules start") ||
19
- prev.includes("bdui2:rules start")
20
- ) {
17
+ if (prev.includes("boardui:rules start")) {
21
18
  writeFileSync(
22
19
  agentsMd,
23
20
  prev.replace(