openclaw-multi-auto 1.4.7 → 1.4.8
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/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a472bd814b1cb5b4d315409335bab736370cc5f223c8d6424df67a9ce4b83445
|
package/package.json
CHANGED
package/scripts/npm_publish.sh
CHANGED
|
@@ -115,7 +115,7 @@ npm publish "$PACK_NAME" --registry=https://registry.npmjs.org --access public
|
|
|
115
115
|
# 7. 镜像同步
|
|
116
116
|
echo -ne "${YELLOW}🔄 通知镜像同步... ${NC}"
|
|
117
117
|
PKG_NAME=$(node -e "console.log(require('./package.json').name)")
|
|
118
|
-
curl -s -X PUT "https://registry-direct.npmmirror.com/${PKG_NAME}/sync?publish=true" > /dev/null && echo -e "${GREEN}[
|
|
118
|
+
curl -s -X PUT "https://registry-direct.npmmirror.com/${PKG_NAME}/sync?publish=true" > /dev/null && echo -e "${GREEN}[跳过]${NC}"
|
|
119
119
|
|
|
120
120
|
echo -e "${GREEN}🎉 OpenClaw 发布成功!${NC}"
|
|
121
121
|
|
|
@@ -162,6 +162,13 @@ if [ $? -eq 0 ]; then
|
|
|
162
162
|
curl -s -X PUT "https://registry-direct.npmmirror.com/@openclaw/page-action-cache/sync?publish=true" > /dev/null && echo -e "${GREEN}[完成]${NC}"
|
|
163
163
|
else
|
|
164
164
|
echo -e "${RED}❌ @openclaw/page-action-cache 发布失败${NC}"
|
|
165
|
+
echo -e "${YELLOW}⚠️ 可能的原因:${NC}"
|
|
166
|
+
echo -e "${YELLOW}1. 包还未发布到 npm,或者您没有发布权限${NC}"
|
|
167
|
+
echo -e "${YELLOW}2. 建议先单独发布扩展:${NC}"
|
|
168
|
+
echo -e "${BLUE} cd extensions/page-action-cache${NC}"
|
|
169
|
+
echo -e "${BLUE} npm publish --access public${NC}"
|
|
170
|
+
echo -e "${YELLOW}3. 扩展发布成功后需要重启实例才能生效${NC}"
|
|
171
|
+
echo -e "${YELLOW} 运行: cd ~/openclaws/<instance> && ./start.sh${NC}"
|
|
165
172
|
fi
|
|
166
173
|
|
|
167
174
|
# 恢复原始 package.json
|