@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 +5 -2
- package/bin/d5cli +6 -3
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
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.
|
|
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) {
|