@link-assistant/hive-mind 1.38.3 → 1.39.0
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 +6 -0
- package/README.md +10 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -197,22 +197,22 @@ docker attach hive-mind
|
|
|
197
197
|
|
|
198
198
|
# Extract auth data from a running (or stopped) container to the host:
|
|
199
199
|
mkdir -p ~/.hive-mind
|
|
200
|
-
docker cp hive-mind:/
|
|
201
|
-
docker cp hive-mind:/
|
|
202
|
-
docker cp hive-mind:/
|
|
200
|
+
docker cp hive-mind:/workspace/.claude ~/.hive-mind/claude
|
|
201
|
+
docker cp hive-mind:/workspace/.claude.json ~/.hive-mind/claude.json
|
|
202
|
+
docker cp hive-mind:/workspace/.config/gh ~/.hive-mind/gh
|
|
203
203
|
|
|
204
|
-
# Fix ownership to match the
|
|
205
|
-
|
|
206
|
-
chown -R $
|
|
207
|
-
chown $
|
|
204
|
+
# Fix ownership to match the sandbox user inside the container:
|
|
205
|
+
SANDBOX_UID=$(docker exec hive-mind id -u sandbox)
|
|
206
|
+
chown -R $SANDBOX_UID:$SANDBOX_UID ~/.hive-mind/claude ~/.hive-mind/gh
|
|
207
|
+
chown $SANDBOX_UID:$SANDBOX_UID ~/.hive-mind/claude.json
|
|
208
208
|
|
|
209
209
|
# On subsequent runs, mount the auth data to keep it between restarts:
|
|
210
210
|
docker run -dit \
|
|
211
211
|
--name hive-mind \
|
|
212
212
|
--restart unless-stopped \
|
|
213
|
-
-v /root/.hive-mind/claude:/
|
|
214
|
-
-v /root/.hive-mind/claude.json:/
|
|
215
|
-
-v /root/.hive-mind/gh:/
|
|
213
|
+
-v /root/.hive-mind/claude:/workspace/.claude \
|
|
214
|
+
-v /root/.hive-mind/claude.json:/workspace/.claude.json \
|
|
215
|
+
-v /root/.hive-mind/gh:/workspace/.config/gh \
|
|
216
216
|
konard/hive-mind:latest
|
|
217
217
|
```
|
|
218
218
|
|