@link-assistant/hive-mind 1.30.1 → 1.30.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.
- package/CHANGELOG.md +29 -0
- package/README.md +9 -29
- package/package.json +1 -1
- package/src/instrument.mjs +8 -2
- package/src/solve.auto-pr.lib.mjs +3 -13
- package/src/solve.config.lib.mjs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @link-assistant/hive-mind
|
|
2
2
|
|
|
3
|
+
## 1.30.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1fc6a15: Disable Sentry error tracking by default for maximum user privacy. Users must now explicitly opt in with `--sentry` flag or `HIVE_MIND_SENTRY=true` env var. This guarantees 100% privacy by default — no usage data is sent to Sentry unless the user chooses to enable it.
|
|
8
|
+
|
|
9
|
+
## 1.30.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- e0bf56a: feat: make --gitkeep-file content shorter with single-line format (Issue #1397)
|
|
14
|
+
|
|
15
|
+
Previously, the `.gitkeep` file generated by `--gitkeep-file` contained multiple verbose lines:
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
# Auto-generated file for PR creation
|
|
19
|
+
# Issue: https://github.com/...
|
|
20
|
+
# Branch: issue-3-57a79ede43e6
|
|
21
|
+
# Timestamp: 2026-03-07T23:53:23.107Z
|
|
22
|
+
# This file was created with --gitkeep-file (default)
|
|
23
|
+
# It will be removed when the task is complete
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Now it uses a concise single-line format:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
# .gitkeep file auto-generated at 2026-03-07T23:53:23.107Z for PR creation at branch issue-3-57a79ede43e6 for issue https://github.com/...
|
|
30
|
+
```
|
|
31
|
+
|
|
3
32
|
## 1.30.1
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -143,7 +143,7 @@ sudo docker run hello-world
|
|
|
143
143
|
|
|
144
144
|
Run the Hive Mind using Docker for safer local installation - no manual setup required:
|
|
145
145
|
|
|
146
|
-
**Note:** Docker is much safer for local installation and can be used to install multiple isolated instances on a server or Kubernetes cluster. For Kubernetes deployments, see the [Helm chart installation](#helm-installation-kubernetes) section below.
|
|
146
|
+
**Note:** Docker is much safer for local installation and can be used to install multiple isolated instances on a server or Kubernetes cluster. For Kubernetes deployments, see the [Helm chart installation](#helm-installation-kubernetes-experimental) section below.
|
|
147
147
|
|
|
148
148
|
```bash
|
|
149
149
|
# Pull the latest image from Docker Hub
|
|
@@ -264,33 +264,13 @@ df -h # check disk space (to confirm space is freed)
|
|
|
264
264
|
# tmpfs 1.2G 12K 1.2G 1% /run/user/0
|
|
265
265
|
```
|
|
266
266
|
|
|
267
|
-
### Helm Installation (Kubernetes)
|
|
267
|
+
### Helm Installation (Kubernetes) (Experimental)
|
|
268
268
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
helm repo update
|
|
275
|
-
|
|
276
|
-
# Install Hive Mind
|
|
277
|
-
helm install hive-mind link-assistant/hive-mind
|
|
278
|
-
|
|
279
|
-
# Or install with custom values
|
|
280
|
-
helm install hive-mind link-assistant/hive-mind -f values.yaml
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
**Benefits of Helm:**
|
|
284
|
-
|
|
285
|
-
- ✅ Easy deployment to Kubernetes clusters
|
|
286
|
-
- ✅ Declarative configuration management
|
|
287
|
-
- ✅ Simple upgrades and rollbacks
|
|
288
|
-
- ✅ Production-ready with configurable resources
|
|
289
|
-
- ✅ Supports multiple replicas and scaling
|
|
290
|
-
|
|
291
|
-
See [docs/HELM.md](./docs/HELM.md) for detailed Helm configuration options.
|
|
292
|
-
|
|
293
|
-
**Note:** The Helm chart is published to [ArtifactHub](https://artifacthub.io/packages/helm/link-assistant/hive-mind) for easy discovery.
|
|
269
|
+
> ⚠️ **EXPERIMENTAL:** The Helm/Kubernetes installation method is experimental and may not be fully stable.
|
|
270
|
+
>
|
|
271
|
+
> For a more reliable installation, we recommend using [Docker](#using-docker) instead.
|
|
272
|
+
>
|
|
273
|
+
> See [docs/HELM.md](./docs/HELM.md) for the full Helm installation instructions and configuration options.
|
|
294
274
|
|
|
295
275
|
### Installation on Ubuntu 24.04 server (Deprecated)
|
|
296
276
|
|
|
@@ -300,7 +280,7 @@ See [docs/HELM.md](./docs/HELM.md) for detailed Helm configuration options.
|
|
|
300
280
|
> Docker provides better isolation, easier management, and consistent environments.
|
|
301
281
|
>
|
|
302
282
|
> Please use the [Docker installation method](#using-docker) above.
|
|
303
|
-
> For Kubernetes deployments, see the [Helm installation](#helm-installation-kubernetes) section.
|
|
283
|
+
> For Kubernetes deployments, see the [Helm installation](#helm-installation-kubernetes-experimental) section.
|
|
304
284
|
>
|
|
305
285
|
> The legacy bare-metal installation instructions have been moved to [docs/UBUNTU-SERVER.md](./docs/UBUNTU-SERVER.md) for reference.
|
|
306
286
|
|
|
@@ -308,7 +288,7 @@ See [docs/HELM.md](./docs/HELM.md) for detailed Helm configuration options.
|
|
|
308
288
|
|
|
309
289
|
```bash
|
|
310
290
|
# Solve using maximum power
|
|
311
|
-
solve https://github.com/Veronika89-lang/index.html/issues/1 --
|
|
291
|
+
solve https://github.com/Veronika89-lang/index.html/issues/1 --attach-logs --verbose --model opus --think max
|
|
312
292
|
|
|
313
293
|
# Solve GitHub issues automatically
|
|
314
294
|
solve https://github.com/owner/repo/issues/123 --model sonnet
|
package/package.json
CHANGED
package/src/instrument.mjs
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
// Check if Sentry should be disabled
|
|
5
5
|
const shouldDisableSentry = () => {
|
|
6
|
-
// Check for --no-sentry flag
|
|
6
|
+
// Check for --no-sentry flag (explicit opt-out)
|
|
7
7
|
if (process.argv.includes('--no-sentry')) {
|
|
8
8
|
return true;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
// Check for environment variable
|
|
11
|
+
// Check for environment variable disable flags
|
|
12
12
|
if (process.env.HIVE_MIND_NO_SENTRY === 'true' || process.env.DISABLE_SENTRY === 'true') {
|
|
13
13
|
return true;
|
|
14
14
|
}
|
|
@@ -30,6 +30,12 @@ const shouldDisableSentry = () => {
|
|
|
30
30
|
return true;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
// Sentry is disabled by default for user privacy.
|
|
34
|
+
// It must be explicitly enabled with the --sentry flag or HIVE_MIND_SENTRY=true env var.
|
|
35
|
+
if (!process.argv.includes('--sentry') && process.env.HIVE_MIND_SENTRY !== 'true') {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
|
|
33
39
|
return false;
|
|
34
40
|
};
|
|
35
41
|
|
|
@@ -132,14 +132,8 @@ Proceed.
|
|
|
132
132
|
finalContent = taskInfo;
|
|
133
133
|
}
|
|
134
134
|
} else {
|
|
135
|
-
// .gitkeep: Use minimal metadata format (explicit --gitkeep-file or auto-gitkeep-file fallback)
|
|
136
|
-
const
|
|
137
|
-
const gitkeepContent = `# Auto-generated file for PR creation
|
|
138
|
-
# Issue: ${issueUrl}
|
|
139
|
-
# Branch: ${branchName}
|
|
140
|
-
# Timestamp: ${timestamp}
|
|
141
|
-
${creationReason}
|
|
142
|
-
# It will be removed when the task is complete`;
|
|
135
|
+
// .gitkeep: Use minimal single-line metadata format (explicit --gitkeep-file or auto-gitkeep-file fallback)
|
|
136
|
+
const gitkeepContent = `# .gitkeep file auto-generated at ${timestamp} for PR creation at branch ${branchName} for issue ${issueUrl}`;
|
|
143
137
|
|
|
144
138
|
if (fileExisted && existingContent) {
|
|
145
139
|
await log(` ${fileName} already exists, appending timestamp...`, { verbose: true });
|
|
@@ -197,11 +191,7 @@ ${creationReason}
|
|
|
197
191
|
|
|
198
192
|
// Create a .gitkeep file as fallback
|
|
199
193
|
const gitkeepPath = path.join(tempDir, '.gitkeep');
|
|
200
|
-
const gitkeepContent = `#
|
|
201
|
-
# Issue: ${issueUrl}
|
|
202
|
-
# Branch: ${branchName}
|
|
203
|
-
# This file was created because CLAUDE.md is in .gitignore
|
|
204
|
-
# It will be removed when the task is complete`;
|
|
194
|
+
const gitkeepContent = `# .gitkeep file auto-generated at ${timestamp} for PR creation at branch ${branchName} for issue ${issueUrl}`;
|
|
205
195
|
|
|
206
196
|
await fs.writeFile(gitkeepPath, gitkeepContent);
|
|
207
197
|
await log(formatAligned('✅', 'Created:', '.gitkeep file'));
|
package/src/solve.config.lib.mjs
CHANGED
|
@@ -245,8 +245,8 @@ export const SOLVE_OPTION_DEFINITIONS = {
|
|
|
245
245
|
},
|
|
246
246
|
sentry: {
|
|
247
247
|
type: 'boolean',
|
|
248
|
-
description: 'Enable Sentry error tracking and monitoring (use --
|
|
249
|
-
default:
|
|
248
|
+
description: 'Enable Sentry error tracking and monitoring (disabled by default for privacy; use --sentry to enable)',
|
|
249
|
+
default: false,
|
|
250
250
|
},
|
|
251
251
|
'auto-cleanup': {
|
|
252
252
|
type: 'boolean',
|