@link-assistant/hive-mind 1.30.0 → 1.30.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/CHANGELOG.md +38 -0
- package/README.md +9 -29
- package/package.json +1 -1
- package/src/solve.auto-pr.lib.mjs +3 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @link-assistant/hive-mind
|
|
2
2
|
|
|
3
|
+
## 1.30.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e0bf56a: feat: make --gitkeep-file content shorter with single-line format (Issue #1397)
|
|
8
|
+
|
|
9
|
+
Previously, the `.gitkeep` file generated by `--gitkeep-file` contained multiple verbose lines:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
# Auto-generated file for PR creation
|
|
13
|
+
# Issue: https://github.com/...
|
|
14
|
+
# Branch: issue-3-57a79ede43e6
|
|
15
|
+
# Timestamp: 2026-03-07T23:53:23.107Z
|
|
16
|
+
# This file was created with --gitkeep-file (default)
|
|
17
|
+
# It will be removed when the task is complete
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Now it uses a concise single-line format:
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
# .gitkeep file auto-generated at 2026-03-07T23:53:23.107Z for PR creation at branch issue-3-57a79ede43e6 for issue https://github.com/...
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## 1.30.1
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 27b4f09: Fix Docker CI/CD amd64 build cancellation due to GHA cache export timeout
|
|
31
|
+
- Increase `timeout-minutes` from 30 to 45 in `docker-publish` and `docker-publish-instant` jobs
|
|
32
|
+
- Switch GHA cache mode from `mode=max` to `mode=min` to reduce sequential cache export payload
|
|
33
|
+
- Add `ignore-error=true` to `cache-to` so cache export failure does not cancel a successful image push
|
|
34
|
+
- Add comprehensive case study in `docs/case-studies/issue-1394/CASE-STUDY.md` with root cause analysis and CI log data
|
|
35
|
+
|
|
36
|
+
Root cause: The sandbox-based hive-mind image (~2-3 GB) takes ~30 min to build and push to Docker Hub.
|
|
37
|
+
After the push, BuildKit exports all image layers sequentially to GHA cache (`mode=max`). This sequential
|
|
38
|
+
write of ~800 MB per layer exhausted the 30-minute job timeout mid-export, cancelling an already-successful
|
|
39
|
+
build. The Docker image itself was published correctly; only the cache export step was interrupted.
|
|
40
|
+
|
|
3
41
|
## 1.30.0
|
|
4
42
|
|
|
5
43
|
### Minor 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
|
@@ -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'));
|