@grovehq/cli 0.38.1 → 0.38.3

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.
Files changed (2) hide show
  1. package/cli.cjs +6 -8
  2. 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.1" : "0.0.0-dev";
4237
+ var CLI_VERSION = true ? "0.38.3" : "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
- return [
6485
- AGENT_INSTRUCTION_BLOCK,
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 [
@@ -7351,7 +7349,7 @@ async function createProjectCommand(draft) {
7351
7349
  info("Creating a project is the developer's call: if you drafted this without clearing it with them, say so now.");
7352
7350
  info(`Run \`grove project assign ${data.stableId}\` to pick it up here.`);
7353
7351
  info(
7354
- 'Next: write its summary \u2014 the project reads "No plan yet" until you do. Its form is the project summary standard (`.grove/standards/project-summary.md`, landed by `grove project assign`).'
7352
+ "Next: write its summary, in the form the project summary standard gives (`.grove/standards/project-summary.md`, landed by `grove project assign`)."
7355
7353
  );
7356
7354
  } catch (err) {
7357
7355
  if (!handleCommandError(err)) throw err;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grovehq/cli",
3
- "version": "0.38.1",
3
+ "version": "0.38.3",
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
  }