@d5render/cli 0.1.40 → 0.1.41

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/bin/copilot.js CHANGED
@@ -19151,7 +19151,7 @@ function distReports(input) {
19151
19151
  fileMap.set(file$1, fileList);
19152
19152
  issueList.push(issue$1);
19153
19153
  severityMap.set(severity$1, issueList);
19154
- if (commitSha || commitAuthor) console.log(`[调试] 问题提交信息 - 提交SHA: ${commitSha}, 作者: ${commitAuthor}, 文件: ${file$1}`);
19154
+ if (commitSha || commitAuthor) console.error(`[调试] 问题提交信息 - 提交SHA: ${commitSha}, 作者: ${commitAuthor}, 文件: ${file$1}`);
19155
19155
  if (commitSha) commitsSet.add(commitSha);
19156
19156
  commitsMap.set(NCommitSha, issue$1);
19157
19157
  distCommitComments(issue$1);
@@ -19216,7 +19216,7 @@ function distReports(input) {
19216
19216
  break;
19217
19217
  }
19218
19218
  const { title: issueTitle = "NON", commitSha = "", file: file$1 = "NON", line = "NON", commitAuthor = "" } = issue$1;
19219
- console.log(`[调试] 在钉钉报告中使用作者信息 - 提交SHA: ${commitSha}, 作者: ${commitAuthor}, 标题: ${issueTitle}`);
19219
+ console.error(`[调试] 在钉钉报告中使用作者信息 - 提交SHA: ${commitSha}, 作者: ${commitAuthor}, 标题: ${issueTitle}`);
19220
19220
  const shortSha = (commitSha || "").slice(0, 8);
19221
19221
  const commitLink = linkBase && commitSha ? `${linkBase}/${commitSha}` : void 0;
19222
19222
  dingdingReportMessage += `\n- ${issueTitle}\n\n - hash: ${commitLink ? `[${shortSha}](${commitLink}) ` : shortSha}\n\n - author: ${commitAuthor}\n\n - file: ${file$1}\n\n - line: ${line}`;
package/bin/d5cli CHANGED
@@ -109,7 +109,7 @@ function installCopilot() {
109
109
  //#endregion
110
110
  //#region package.json
111
111
  var name = "@d5render/cli";
112
- var version = "0.1.40";
112
+ var version = "0.1.41";
113
113
 
114
114
  //#endregion
115
115
  //#region packages/gitlab/url.ts
@@ -312,8 +312,6 @@ function findCopilopt() {
312
312
  if (!existsSync(pkg)) throw new Error("安装的包找不到正确版本 " + pkg);
313
313
  const copilotPackage = JSON.parse(readFileSync(pkg, "utf8"));
314
314
  const binPath = typeof copilotPackage.bin === "string" ? copilotPackage.bin : copilotPackage.bin?.copilot || copilotPackage.bin?.[platformPackage] || copilotPackage.bin?.["@github/copilot"];
315
- console.log("binPath:", binPath);
316
- console.log("copilotPackage:", copilotPackage);
317
315
  if (!binPath) throw new Error("non copilot executable found");
318
316
  const copilotVersion = copilotPackage.version || "unknown";
319
317
  const copilotPath = join(copilot, binPath);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "license": "MIT",
5
5
  "author": "jasirou",
6
6
  "main": "./bin/d5cli",
7
- "version": "0.1.40",
7
+ "version": "0.1.41",
8
8
  "devDependencies": {
9
9
  "@modelcontextprotocol/sdk": "^1.25.1",
10
10
  "@types/node": "^25.0.3",