@hyperdrive.bot/gut 0.1.13 → 0.1.14

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/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @hyperdrive.bot/gut
18
18
  $ gut COMMAND
19
19
  running command...
20
20
  $ gut (--version)
21
- @hyperdrive.bot/gut/0.1.13 linux-x64 node-v22.22.1
21
+ @hyperdrive.bot/gut/0.1.14-alpha.0 linux-x64 node-v22.22.2
22
22
  $ gut --help [COMMAND]
23
23
  USAGE
24
24
  $ gut COMMAND
@@ -290,13 +290,21 @@ Show current focus context with entity details
290
290
 
291
291
  ```
292
292
  USAGE
293
- $ gut context
293
+ $ gut context [--all] [--json]
294
+
295
+ FLAGS
296
+ --all Include all registered entities, not just focused ones (implies --json or adds to text output)
297
+ --json Emit structured JSON for programmatic consumption (includes per-entity branch + hasUncommitted)
294
298
 
295
299
  DESCRIPTION
296
300
  Show current focus context with entity details
297
301
 
298
302
  EXAMPLES
299
303
  $ gut context
304
+
305
+ $ gut context --json
306
+
307
+ $ gut context --json --all
300
308
  ```
301
309
 
302
310
  ## `gut contexts`
@@ -1180,15 +1188,18 @@ Create mirrored worktrees for super-repo and focused entities
1180
1188
 
1181
1189
  ```
1182
1190
  USAGE
1183
- $ gut worktree create NAME [--base-dir <value>] [--from <value>] [--install]
1191
+ $ gut worktree create NAME [--base-dir <value>] [--entity <value>...] [--from <value>] [--install]
1184
1192
 
1185
1193
  ARGUMENTS
1186
1194
  NAME Branch name for the worktree
1187
1195
 
1188
1196
  FLAGS
1189
- --base-dir=<value> [default: /tmp/gut-worktrees] Root directory for worktrees
1190
- --from=<value> Base branch to create from (defaults to current branch)
1191
- --install Run pnpm install after creation
1197
+ --base-dir=<value> [default: /root/.local/share/gut/worktrees] Root directory for worktrees (default:
1198
+ ~/.local/share/gut/worktrees, override via GUT_WORKTREE_DIR env var; explicit --base-dir wins)
1199
+ --entity=<value>... Entity to include, optionally pinned to a branch via "name:branch". Repeatable. Overrides current
1200
+ focus when provided.
1201
+ --from=<value> Base branch to create from (defaults to current branch)
1202
+ --install Run pnpm install after creation
1192
1203
 
1193
1204
  DESCRIPTION
1194
1205
  Create mirrored worktrees for super-repo and focused entities
@@ -1199,5 +1210,9 @@ EXAMPLES
1199
1210
  $ gut worktree create workflow/deploy-batch --from master --install
1200
1211
 
1201
1212
  $ gut worktree create feature/story-42 --base-dir /home/user/worktrees
1213
+
1214
+ $ gut worktree create seo-lake --entity serverless-api:feature/seo-lake --entity sign
1215
+
1216
+ GUT_WORKTREE_DIR=/tmp/gut-worktrees gut worktree create feature/ci-run
1202
1217
  ```
1203
1218
  <!-- commandsstop -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperdrive.bot/gut",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Git Unified Tooling - Enhanced git with workspace intelligence for entity-based organization",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -93,4 +93,4 @@
93
93
  "access": "public",
94
94
  "registry": "https://registry.npmjs.org/"
95
95
  }
96
- }
96
+ }