@lark-apaas/coding-templates 0.1.43-alpha.20 → 0.1.43-alpha.22

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": "@lark-apaas/coding-templates",
3
- "version": "0.1.43-alpha.20",
3
+ "version": "0.1.43-alpha.22",
4
4
  "description": "OpenClaw project templates for mclaw CLI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,7 +37,7 @@
37
37
  "@radix-ui/react-toggle": "^1.1.9",
38
38
  "@radix-ui/react-toggle-group": "^1.1.10",
39
39
  "@radix-ui/react-tooltip": "^1.1.18",
40
- "@lark-apaas/client-toolkit-lite": "1.1.7-alpha.21",
40
+ "@lark-apaas/client-toolkit-lite": "1.1.7-alpha.23",
41
41
  "@formkit/auto-animate": "^0.9.0",
42
42
  "@gsap/react": "^2.1.2",
43
43
  "framer-motion": "^12.38.0",
@@ -73,7 +73,7 @@
73
73
  "@types/react": "^19",
74
74
  "@types/react-dom": "^19",
75
75
  "@lark-apaas/coding-presets": "^1.0.0",
76
- "@lark-apaas/coding-vite-preset": "1.0.7-alpha.19",
76
+ "@lark-apaas/coding-vite-preset": "1.0.7-alpha.21",
77
77
  "concurrently": "^9",
78
78
  "eslint": "^9",
79
79
  "eslint-plugin-react-hooks": "^7",
@@ -36,10 +36,22 @@ if [ -d "$ROOT/shared/static" ]; then
36
36
  rsync -a --exclude='*.ts' --exclude='*.tsx' --exclude='*.js' --exclude='*.jsx' "$ROOT/shared/static/" "$OUTPUT_STATIC/"
37
37
  fi
38
38
 
39
+ # 5. capability 配置 → dist/output_capabilities/(老路径优先)
40
+ if [ -d "$ROOT/server/capabilities" ]; then
41
+ CAPS_SRC="$ROOT/server/capabilities"
42
+ elif [ -d "$ROOT/shared/capabilities" ]; then
43
+ CAPS_SRC="$ROOT/shared/capabilities"
44
+ fi
45
+ if [ -n "${CAPS_SRC:-}" ]; then
46
+ mkdir -p "$ROOT/dist/output_capabilities"
47
+ cp -r "$CAPS_SRC/." "$ROOT/dist/output_capabilities/"
48
+ fi
49
+
39
50
  # 清理中间产物
40
51
  rm -rf "$ROOT/dist/client"
41
52
 
42
53
  echo "Build complete"
43
- echo " HTML → dist/output/"
44
- [ -d "$OUTPUT_RESOURCE" ] && echo " Resource → dist/output_resource/" || true
45
- [ -d "$OUTPUT_STATIC" ] && echo " Static → dist/output_static/" || true
54
+ echo " HTML → dist/output/"
55
+ [ -d "$OUTPUT_RESOURCE" ] && echo " Resource → dist/output_resource/" || true
56
+ [ -d "$OUTPUT_STATIC" ] && echo " Static → dist/output_static/" || true
57
+ [ -d "$ROOT/dist/output_capabilities" ] && echo " Capabilities → dist/output_capabilities/" || true