@grovehq/cli 0.38.1 → 0.38.2
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/cli.cjs +5 -7
- package/package.json +6 -1
package/cli.cjs
CHANGED
|
@@ -4234,7 +4234,7 @@ async function fetchNpmLatest(signal) {
|
|
|
4234
4234
|
}
|
|
4235
4235
|
|
|
4236
4236
|
// src/lib/version.ts
|
|
4237
|
-
var CLI_VERSION = true ? "0.38.
|
|
4237
|
+
var CLI_VERSION = true ? "0.38.2" : "0.0.0-dev";
|
|
4238
4238
|
function compareSemver(a, b) {
|
|
4239
4239
|
const parse = (v) => (v.split("-")[0] ?? v).split(".").map((n) => Number.parseInt(n, 10) || 0);
|
|
4240
4240
|
const pa = parse(a);
|
|
@@ -6480,12 +6480,10 @@ var AGENT_INSTRUCTION_BLOCK = [
|
|
|
6480
6480
|
"what its PR must carry, or tells you that no project applies. Do this",
|
|
6481
6481
|
"before reading code, searching, or planning."
|
|
6482
6482
|
].join("\n");
|
|
6483
|
-
function agentInstructionBlock() {
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
`If \`grove\` is not installed: \`curl -fsSL ${getApiUrl()}/install | bash\``
|
|
6488
|
-
].join("\n");
|
|
6483
|
+
function agentInstructionBlock(apiUrl = getApiUrl()) {
|
|
6484
|
+
const origin = apiUrl.replace(/\/+$/, "");
|
|
6485
|
+
const install = origin === PRODUCTION_API_URL ? `npm install -g ${NPM_PACKAGE}` : `curl -fsSL ${origin}/install | bash`;
|
|
6486
|
+
return [AGENT_INSTRUCTION_BLOCK, "", `If \`grove\` is not installed: \`${install}\``].join("\n");
|
|
6489
6487
|
}
|
|
6490
6488
|
function agentInstructionLines() {
|
|
6491
6489
|
return [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grovehq/cli",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.2",
|
|
4
4
|
"description": "Grove's command line, for coding agents building Grove projects.",
|
|
5
5
|
"homepage": "https://grovehq.com",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -13,5 +13,10 @@
|
|
|
13
13
|
],
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=22"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/grove-hq/flow.git",
|
|
20
|
+
"directory": "apps/grove-cli"
|
|
16
21
|
}
|
|
17
22
|
}
|