@regression-io/claude-config 0.30.2 → 0.30.4

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
@@ -81,6 +81,20 @@ claude-config project add [path] --name X # Add with custom display name
81
81
  claude-config project remove <name|path> # Remove from registry
82
82
  ```
83
83
 
84
+ ### Workstream Commands
85
+
86
+ ```bash
87
+ claude-config workstream # List all workstreams
88
+ claude-config workstream create "Name" # Create new workstream
89
+ claude-config workstream delete <name> # Delete workstream
90
+ claude-config workstream use <name> # Set active workstream
91
+ claude-config workstream active # Show current active workstream
92
+ claude-config workstream add-project <ws> <path> # Add project to workstream
93
+ claude-config workstream remove-project <ws> <path> # Remove project from workstream
94
+ claude-config workstream inject [--silent] # Output active workstream rules (for hooks)
95
+ claude-config workstream detect [path] # Detect workstream for directory
96
+ ```
97
+
84
98
  ### Registry Commands
85
99
 
86
100
  ```bash
@@ -212,12 +226,59 @@ Persistent memory for Claude Code sessions:
212
226
 
213
227
  Manage via Web UI or edit files directly.
214
228
 
229
+ ## Workstreams
230
+
231
+ Workstreams are **context sets** for multi-project workflows. They group related projects and inject context rules into every Claude session.
232
+
233
+ ### Why Workstreams?
234
+
235
+ When working on complex features that span multiple repos (e.g., REST API + UI + shared library), you need Claude to understand the broader context. Workstreams solve this by:
236
+
237
+ 1. Grouping related projects together
238
+ 2. Defining rules specific to that workflow
239
+ 3. Automatically injecting those rules into every Claude session
240
+
241
+ ### Example
242
+
243
+ ```bash
244
+ # Create a workstream for user authentication feature
245
+ claude-config workstream create "User Auth"
246
+
247
+ # Add related projects
248
+ claude-config workstream add-project "User Auth" ~/projects/api
249
+ claude-config workstream add-project "User Auth" ~/projects/ui
250
+ claude-config workstream add-project "User Auth" ~/projects/shared
251
+
252
+ # Activate it
253
+ claude-config workstream use "User Auth"
254
+ ```
255
+
256
+ Then in the Web UI, edit the workstream to add rules like:
257
+ > Focus on user authentication flow. Use JWT tokens. React Query for state management. PostgreSQL for persistence.
258
+
259
+ ### Hook Integration
260
+
261
+ For rules to be injected automatically, install the pre-prompt hook:
262
+
263
+ **Option 1: One-click install (recommended)**
264
+ - Open Web UI → Workstreams → Click "Install Hook Automatically"
265
+
266
+ **Option 2: Manual**
267
+ ```bash
268
+ # Add to ~/.claude/hooks/pre-prompt.sh
269
+ claude-config workstream inject --silent
270
+ ```
271
+
272
+ Once installed, your active workstream's rules are prepended to every Claude session.
273
+
215
274
  ## Web UI Features
216
275
 
217
276
  When you run `claude-config ui`:
218
277
 
219
278
  - **Project Switcher** - Switch between registered projects from header dropdown
279
+ - **Workstream Switcher** - Quick-switch between workstreams from header
220
280
  - **File Explorer** - Browse/edit all .claude folders in hierarchy
281
+ - **Workstreams** - Create and manage context sets for multi-project workflows
221
282
  - **Sub-Projects** - Auto-detects git repos, plus manually add/hide external folders
222
283
  - **Plugins** - Browse and install Claude Code plugins with scope control
223
284
  - **MCP Registry** - Search GitHub/npm, add/edit/delete MCPs
package/config-loader.js CHANGED
@@ -19,7 +19,7 @@ const fs = require('fs');
19
19
  const path = require('path');
20
20
  const { execSync } = require('child_process');
21
21
 
22
- const VERSION = '0.30.2';
22
+ const VERSION = '0.30.4';
23
23
 
24
24
  // Tool-specific path configurations
25
25
  const TOOL_PATHS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regression-io/claude-config",
3
- "version": "0.30.2",
3
+ "version": "0.30.4",
4
4
  "description": "Configuration management UI for Claude Code and Antigravity - manage MCPs, rules, commands, memory, and project folders",
5
5
  "author": "regression.io",
6
6
  "main": "config-loader.js",