@grovehq/cli 0.39.0 → 0.39.1

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 +3 -1
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -4260,7 +4260,7 @@ async function fetchNpmLatest(signal) {
4260
4260
  }
4261
4261
 
4262
4262
  // src/lib/version.ts
4263
- var CLI_VERSION = true ? "0.39.0" : "0.0.0-dev";
4263
+ var CLI_VERSION = true ? "0.39.1" : "0.0.0-dev";
4264
4264
  function compareSemver(a, b) {
4265
4265
  const parse = (v) => (v.split("-")[0] ?? v).split(".").map((n) => Number.parseInt(n, 10) || 0);
4266
4266
  const pa = parse(a);
@@ -5292,6 +5292,7 @@ var FRONT_DOOR = "project";
5292
5292
  var NO_PROJECT = "no-project";
5293
5293
  var BINDING_BRANCH = "binding-branch";
5294
5294
  var PROJECTS_DIR = "Projects";
5295
+ var STRATEGY_DIR = "strategy";
5295
5296
  var PROJECT_SUBDIRS = /* @__PURE__ */ new Set(["assets"]);
5296
5297
  function stateDir() {
5297
5298
  return (0, import_node_path3.join)(process.cwd(), STATE_DIR);
@@ -5325,6 +5326,7 @@ function resolveAddress(input, assignedFolder = frontDoorTarget()) {
5325
5326
  if (assignedFolder === null) return { ok: false, reason: "needs-assignment" };
5326
5327
  return { ok: true, path: `${initiativeOf(assignedFolder)}/${raw}`, form: "initiative-rooted" };
5327
5328
  }
5329
+ if (first === STRATEGY_DIR) return { ok: true, path: raw, form: "mirror-rooted" };
5328
5330
  const namesADirectory = trimmed !== raw;
5329
5331
  if (PROJECT_SUBDIRS.has(first) || rest.length === 0 && !namesADirectory) {
5330
5332
  if (assignedFolder === null) return { ok: false, reason: "needs-assignment" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grovehq/cli",
3
- "version": "0.39.0",
3
+ "version": "0.39.1",
4
4
  "description": "Grove's command line, for coding agents building Grove projects.",
5
5
  "homepage": "https://grovehq.com",
6
6
  "license": "UNLICENSED",