@andyqiu/codeforge 0.8.3 → 0.8.4

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/index.js CHANGED
@@ -19892,7 +19892,7 @@ import * as https from "node:https";
19892
19892
  // lib/version-injected.ts
19893
19893
  function getInjectedVersion() {
19894
19894
  try {
19895
- const v = "0.8.3";
19895
+ const v = "0.8.4";
19896
19896
  if (typeof v === "string" && /^\d+\.\d+\.\d+/.test(v)) {
19897
19897
  return v;
19898
19898
  }
@@ -20229,8 +20229,7 @@ var updateCheckerServer = async (ctx) => {
20229
20229
  }
20230
20230
  writeLastInstalledVersion(remote);
20231
20231
  safeWriteLog(PLUGIN_NAME19, { level: "info", msg: "auto_install_full_success", local, remote, nodeBin, npmBin });
20232
- await postToast(ctx, `[codeforge] 已升级 ${local} → ${remote}(重启 opencode 生效)
20233
- 回滚:npm install -g ${u.package}@${local}`);
20232
+ await postToast(ctx, `[Codeforge] 已升级 ${remote},重启 opencode 生效`);
20234
20233
  });
20235
20234
  });
20236
20235
  });
package/install.mjs CHANGED
@@ -900,7 +900,7 @@ function main() {
900
900
  detectOpencode()
901
901
  const bundleSrc = buildBundle({ skipBuild: opts.skipBuild })
902
902
  cleanLegacy({ targetRoot })
903
- installBundle({ targetRoot, bundleSrc, skipPluginEntry: opts.skipPluginEntry })
903
+ installBundle({ targetRoot, bundleSrc, skipPluginEntry: opts.skipPluginEntry || opts.mode === "global" })
904
904
  installMdDirs({ targetRoot })
905
905
  installCopyDirs({ targetRoot })
906
906
  installSkills({ targetRoot })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andyqiu/codeforge",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "CodeForge — opencode 的零侵入扩展包",
5
5
  "type": "module",
6
6
  "private": false,