@infosupport/huddle-cli 0.0.0-experiment-98.48.1 → 0.0.0-experiment-98.49.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/README.md +10 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -25,17 +25,21 @@ huddle # start an IntelliJ devcontainer for the current director
25
25
  huddle ./project # start for a specific directory
26
26
  huddle --ide rider
27
27
  huddle --ide vscode --name devcontainer-demo
28
- huddle --ide vscode --mount backend=../docker-corpa --mount frontend=../frontend-consolidated-real-estate-info --name corpa-dev
28
+ huddle --ide vscode --mount ../docker-corpa=/workspaces/backend --mount ../frontend-real-estate-info=/workspaces/frontend --name corpa-dev
29
29
  huddle fw list
30
30
  huddle firewall list -i
31
31
  ```
32
32
 
33
- `--mount <name>=<path>` mounts an additional folder, worktree-isolated like the main workspace, under `/workspaces/<name>` in the container. Repeatable — pass one per folder. Cannot be combined with `--workspace`/`--empty`; when at least one `--mount` is given, the container's shared workspace root becomes `/workspaces` instead of `/workspaces/<leaf>`.
33
+ `--mount <host>=<container>` mounts an additional folder, worktree-isolated like the main workspace, at the container path you choose. The left side is a host path (relative paths are resolved against the current directory); the right side must be an **absolute** container path. Repeatable — pass one per folder — and cannot be combined with `--workspace`/`--empty`. Two mounts may not target the same container path.
34
34
 
35
- `--context <name>` marks one of the `--mount` folders as shared context (e.g. an AI-context/skills repo): Huddle writes a stub `/workspaces/CLAUDE.md` pointing at it, so an agent working in any of the other mounted repos picks it up as an ancestor file. `<name>` must match a declared `--mount` name; the stub is only written if `/workspaces/CLAUDE.md` doesn't already exist.
35
+ `--workspace-root <path>` sets the absolute container path the IDE opens as its project root. It requires at least one `--mount`. Without it the root defaults to the deepest directory the mount targets share, so the example above opens `/workspaces` and shows `backend/` and `frontend/` inside it. Mount targets that share nothing fall back to `/workspaces`.
36
36
 
37
37
  ```bash
38
- huddle --ide vscode --mount ai=../ai-context-repo --mount backend=../backend-repo --mount frontend=../frontend-repo --context ai --name corpa-dev
38
+ huddle --ide vscode \
39
+ --mount ../ai-context-repo=/workspaces/ai \
40
+ --mount ../backend-repo=/workspaces/backend \
41
+ --mount ../frontend-repo=/workspaces/frontend \
42
+ --workspace-root /workspaces --name corpa-dev
39
43
  ```
40
44
 
41
45
  Default API URL: `http://localhost:3000`. Override it with `--url` or `HUDDLE_URL`.
@@ -68,7 +72,8 @@ Main flags:
68
72
  ```text
69
73
  --ide <intellij|rider|vscode>
70
74
  --workspace <path>
71
- --mount <name>=<path> (repeatable)
75
+ --mount <host>=<container> (repeatable, container path must be absolute)
76
+ --workspace-root <path> (container path the IDE opens; requires --mount)
72
77
  --name <name>
73
78
  --image <image>
74
79
  --empty
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infosupport/huddle-cli",
3
- "version": "0.0.0-experiment-98.48.1",
3
+ "version": "0.0.0-experiment-98.49.1",
4
4
  "description": "Huddle CLI — start devcontainers and manage firewall rules",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "author": "Info Support B.V.",