@d5render/cli 0.1.41 → 0.1.43

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
@@ -1,4 +1,4 @@
1
- import process$1, { argv } from "node:process";
1
+ import process$1, { argv, platform } from "node:process";
2
2
  import { dirname, join } from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
4
 
@@ -18845,7 +18845,10 @@ const tools = [
18845
18845
  "--deny-tool",
18846
18846
  "github-mcp-server"
18847
18847
  ];
18848
- tools.push("--model", "claude-sonnet-4.5");
18848
+ {
18849
+ const model = platform === "linux" ? "gemini-3-pro-preview" : "claude-sonnet-4.5";
18850
+ tools.push("--model", model);
18851
+ }
18849
18852
  function toEnv(key, defaultValue) {
18850
18853
  return envJson[key] || process.env[key] || defaultValue;
18851
18854
  }
package/bin/d5cli CHANGED
@@ -47,7 +47,10 @@ const tools = [
47
47
  "--deny-tool",
48
48
  "github-mcp-server"
49
49
  ];
50
- tools.push("--model", "claude-sonnet-4.5");
50
+ {
51
+ const model = platform === "linux" ? "gemini-3-pro-preview" : "claude-sonnet-4.5";
52
+ tools.push("--model", model);
53
+ }
51
54
  function toEnv(key, defaultValue) {
52
55
  return envJson[key] || process.env[key] || defaultValue;
53
56
  }
@@ -109,7 +112,7 @@ function installCopilot() {
109
112
  //#endregion
110
113
  //#region package.json
111
114
  var name = "@d5render/cli";
112
- var version = "0.1.41";
115
+ var version = "0.1.43";
113
116
 
114
117
  //#endregion
115
118
  //#region packages/gitlab/url.ts
@@ -208,7 +211,7 @@ async function deploy() {
208
211
  console.log("to new skill.");
209
212
  }
210
213
  async function need() {
211
- if (!env.CI) return;
214
+ if (!env.CI) return true;
212
215
  const { CI_MERGE_REQUEST_IID, CI_COMMIT_SHA } = env;
213
216
  const file$1 = join(TEMP, "CODEREVIEW");
214
217
  if (CI_MERGE_REQUEST_IID) {
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.41",
7
+ "version": "0.1.43",
8
8
  "devDependencies": {
9
9
  "@modelcontextprotocol/sdk": "^1.25.1",
10
10
  "@types/node": "^25.0.3",