grepmax 0.7.38 → 0.7.39

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.
@@ -118,29 +118,12 @@ exports.setup = new commander_1.Command("setup")
118
118
  return;
119
119
  }
120
120
  const selectedTier = config_1.MODEL_TIERS[modelTier];
121
- // Step 5: Embed mode selection
121
+ // Step 5: Embed mode — auto-detect, no prompt needed
122
122
  const isAppleSilicon = process.arch === "arm64" && process.platform === "darwin";
123
- const embedMode = yield p.select({
124
- message: "Are you on Apple Silicon (M1/M2/M3/M4)?",
125
- options: [
126
- {
127
- value: "gpu",
128
- label: "Yes — use GPU acceleration",
129
- hint: "~3x faster indexing and search via MLX",
130
- },
131
- {
132
- value: "cpu",
133
- label: "No — use CPU",
134
- hint: "Works on all platforms (Intel, Linux, Windows)",
135
- },
136
- ],
137
- initialValue: (_c = existingConfig === null || existingConfig === void 0 ? void 0 : existingConfig.embedMode) !== null && _c !== void 0 ? _c : (isAppleSilicon ? "gpu" : "cpu"),
138
- });
139
- if (p.isCancel(embedMode)) {
140
- p.cancel("Setup cancelled");
141
- yield (0, exit_1.gracefulExit)();
142
- return;
143
- }
123
+ const embedMode = (_c = existingConfig === null || existingConfig === void 0 ? void 0 : existingConfig.embedMode) !== null && _c !== void 0 ? _c : (isAppleSilicon ? "gpu" : "cpu");
124
+ p.log.info(isAppleSilicon
125
+ ? "Apple Silicon detected — using GPU acceleration (MLX)"
126
+ : "Using CPU embeddings (ONNX)");
144
127
  const mlxModel = embedMode === "gpu" ? selectedTier.mlxModel : undefined;
145
128
  // Step 6: Write configs
146
129
  (0, index_config_1.writeSetupConfig)(paths.configPath, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.7.38",
3
+ "version": "0.7.39",
4
4
  "author": "Robert Owens <robowens@me.com>",
5
5
  "homepage": "https://github.com/reowens/grepmax",
6
6
  "bugs": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.7.38",
3
+ "version": "0.7.39",
4
4
  "description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.",
5
5
  "author": {
6
6
  "name": "Robert Owens",