openclaw-multi-auto 1.4.7 → 1.4.9

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.7",
3
- "commit": "5c8fe8fe2b70abb974559a15a167e8b73bbb9311",
4
- "builtAt": "2026-03-14T11:22:15.436Z"
2
+ "version": "1.4.9",
3
+ "commit": "73260bf0a5f62be97ce241bdfec1d15e999fa4a0",
4
+ "builtAt": "2026-03-14T11:43:19.031Z"
5
5
  }
@@ -1 +1 @@
1
- 1f1043e13f08ffc5f162ce45aec35760fba48253e6e7e69154cde67e68c648e5
1
+ 11602ce02e6ea489498041f1422b111899c5c1bb6d35090eca40c07c55ea40bc
@@ -5,7 +5,7 @@ import fs, { constants } from "node:fs";
5
5
  import os from "node:os";
6
6
  import chalk, { Chalk } from "chalk";
7
7
  import { Logger } from "tslog";
8
- import json5 from "json5";
8
+ import JSON5 from "json5";
9
9
  import util, { promisify } from "node:util";
10
10
  import fs$1 from "node:fs/promises";
11
11
  import process$1 from "node:process";
@@ -400,7 +400,7 @@ function readLoggingConfig() {
400
400
  try {
401
401
  if (!fs.existsSync(configPath)) return;
402
402
  const raw = fs.readFileSync(configPath, "utf-8");
403
- const logging = json5.parse(raw)?.logging;
403
+ const logging = JSON5.parse(raw)?.logging;
404
404
  if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
405
405
  return logging;
406
406
  } catch {
@@ -4481,7 +4481,7 @@ function resolveOpenClawManifestBlock(params) {
4481
4481
  const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
4482
4482
  if (!raw) return;
4483
4483
  try {
4484
- const parsed = json5.parse(raw);
4484
+ const parsed = JSON5.parse(raw);
4485
4485
  if (!parsed || typeof parsed !== "object") return;
4486
4486
  const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
4487
4487
  for (const key of manifestKeys) {
@@ -4,7 +4,7 @@ import chalk, { Chalk } from "chalk";
4
4
  import fs, { constants, createWriteStream } from "node:fs";
5
5
  import { Logger } from "tslog";
6
6
  import os from "node:os";
7
- import json5 from "json5";
7
+ import JSON5 from "json5";
8
8
  import { promisify } from "node:util";
9
9
  import fs$1 from "node:fs/promises";
10
10
  import "@clack/prompts";
@@ -766,7 +766,7 @@ function readLoggingConfig() {
766
766
  try {
767
767
  if (!fs.existsSync(configPath)) return;
768
768
  const raw = fs.readFileSync(configPath, "utf-8");
769
- const logging = json5.parse(raw)?.logging;
769
+ const logging = JSON5.parse(raw)?.logging;
770
770
  if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
771
771
  return logging;
772
772
  } catch {
@@ -1,6 +1,6 @@
1
1
  {
2
- "name": "@openclaw/page-action-cache",
3
- "version": "1.0.0",
2
+ "name": "page-action-cache",
3
+ "version": "1.0.2",
4
4
  "description": "Page action caching extension for OpenClaw - caches LLM browser operations to avoid re-analyzing the same DOM",
5
5
  "keywords": [
6
6
  "automation",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-multi-auto",
3
- "version": "1.4.7",
3
+ "version": "1.4.9",
4
4
  "description": "Multi-channel AI gateway with extensible messaging integrations",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/openclaw/openclaw#readme",
@@ -139,11 +139,11 @@ pnpm install --shamefully-hoist --ignore-workspace --registry=https://registry.n
139
139
  # 安装 page-action-cache 扩展
140
140
  echo -e "${BLUE}📦 安装 page-action-cache 扩展...${NC}"
141
141
  cd "${INSTANCE_DIR}"
142
- if pnpm install --registry=https://registry.npmmirror.com @openclaw/page-action-cache@latest; then
142
+ if pnpm install --registry=https://registry.npmmirror.com page-action-cache@latest; then
143
143
  echo -e "${GREEN}✅ page-action-cache 扩展安装成功${NC}"
144
144
  else
145
145
  echo -e "${YELLOW}⚠️ page-action-cache 扩展安装失败,但将继续实例创建${NC}"
146
- echo -e "${YELLOW}💡 提示: 可以稍后手动安装: cd ${INSTANCE_DIR} && pnpm install @openclaw/page-action-cache@latest${NC}"
146
+ echo -e "${YELLOW}💡 提示: 可以稍后手动安装: cd ${INSTANCE_DIR} && pnpm install page-action-cache@latest${NC}"
147
147
  fi
148
148
 
149
149
  if [ ! -d "node_modules" ]; then
@@ -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}[完成]${NC}"
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
 
@@ -157,11 +157,18 @@ echo -ne "${YELLOW}🚀 正在发布到 npm...${NC}"
157
157
  npm publish --access public
158
158
 
159
159
  if [ $? -eq 0 ]; then
160
- echo -e "${GREEN}✅ @openclaw/page-action-cache 发布成功!${NC}"
160
+ echo -e "${GREEN}✅ page-action-cache 发布成功!${NC}"
161
161
  # 通知镜像同步
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
- echo -e "${RED}❌ @openclaw/page-action-cache 发布失败${NC}"
164
+ echo -e "${RED}❌ 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
@@ -171,7 +178,7 @@ rm -f "$TMP_PACKAGE_JSON"
171
178
  echo -e "${GREEN}🎉 完整发布流程完成!${NC}"
172
179
  echo -e "${GREEN}📋 已发布:${NC}"
173
180
  echo -e "${GREEN} - openclaw-multi-auto (v${CUR_VERSION})${NC}"
174
- echo -e "${GREEN} - @openclaw/page-action-cache (latest)${NC}"
181
+ echo -e "${GREEN} - page-action-cache (latest)${NC}"
175
182
  echo ""
176
183
  echo -e "${BLUE}💡 提示:${NC}"
177
184
  echo -e "${BLUE} 扩展发布后,需要重启实例才能生效 page-action-cache${NC}"