coder-config 0.42.14 → 0.42.16
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 +40 -0
- package/lib/constants.js +1 -1
- package/lib/workstreams.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -143,6 +143,15 @@ coder-config workstream install-hook # Install hook for Claude Code
|
|
|
143
143
|
coder-config workstream install-hook --gemini # Install hook for Gemini CLI
|
|
144
144
|
coder-config workstream install-hook --codex # Install hook for Codex CLI
|
|
145
145
|
coder-config workstream install-hook --all # Install hooks for all supported tools
|
|
146
|
+
|
|
147
|
+
# Folder auto-activation
|
|
148
|
+
coder-config workstream add-trigger <ws> <folder> # Add trigger folder
|
|
149
|
+
coder-config workstream remove-trigger <ws> <folder> # Remove trigger folder
|
|
150
|
+
coder-config workstream auto-activate <ws> [on|off|default] # Set auto-activate
|
|
151
|
+
coder-config workstream check-folder [path] [--json] # Check folder for matches
|
|
152
|
+
coder-config workstream install-cd-hook # Install cd hook for shell
|
|
153
|
+
coder-config workstream uninstall-cd-hook # Remove cd hook
|
|
154
|
+
coder-config workstream cd-hook-status # Check cd hook status
|
|
146
155
|
```
|
|
147
156
|
|
|
148
157
|
**Per-terminal isolation**: With [shell integration](#shell-integration), each terminal can have its own active workstream:
|
|
@@ -171,6 +180,37 @@ coder-config workstream install-hook --codex
|
|
|
171
180
|
coder-config workstream install-hook --all
|
|
172
181
|
```
|
|
173
182
|
|
|
183
|
+
**Folder auto-activation**: Automatically activate workstreams when you cd into matching directories:
|
|
184
|
+
```bash
|
|
185
|
+
# Install the cd hook (adds function to ~/.zshrc or ~/.bashrc)
|
|
186
|
+
coder-config workstream install-cd-hook
|
|
187
|
+
|
|
188
|
+
# Now when you cd into a project folder:
|
|
189
|
+
cd ~/projects/my-app # Auto-activates matching workstream
|
|
190
|
+
# Output: 📂 Workstream: My App
|
|
191
|
+
|
|
192
|
+
# If multiple workstreams match, you'll be prompted:
|
|
193
|
+
cd ~/projects
|
|
194
|
+
# Output: Multiple workstreams match this folder:
|
|
195
|
+
# 1) Frontend
|
|
196
|
+
# 2) Backend
|
|
197
|
+
# 0) Skip
|
|
198
|
+
# Choose [0-2]:
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**Trigger folders**: Besides project paths, you can add extra trigger folders:
|
|
202
|
+
```bash
|
|
203
|
+
coder-config workstream add-trigger "My Work" ~/projects
|
|
204
|
+
coder-config workstream remove-trigger "My Work" ~/projects
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
**Auto-activate setting**: Control per-workstream or globally:
|
|
208
|
+
```bash
|
|
209
|
+
coder-config workstream auto-activate "My Work" on # Always auto-activate
|
|
210
|
+
coder-config workstream auto-activate "My Work" off # Never auto-activate
|
|
211
|
+
coder-config workstream auto-activate "My Work" default # Use global setting
|
|
212
|
+
```
|
|
213
|
+
|
|
174
214
|
### Loop Commands (Ralph Loop)
|
|
175
215
|
|
|
176
216
|
Ralph Loops enable autonomous development - Claude Code runs continuously until a task is completed.
|
package/lib/constants.js
CHANGED
package/lib/workstreams.js
CHANGED
|
@@ -1136,8 +1136,8 @@ coder_workstream_cd() {
|
|
|
1136
1136
|
${isZsh ? 'read "choice?Choose [0-$count]: "' : 'read -p "Choose [0-$count]: " choice'}
|
|
1137
1137
|
if [ "$choice" -gt 0 ] 2>/dev/null; then
|
|
1138
1138
|
local id name
|
|
1139
|
-
id=$(echo "$result" | grep -o '"id":"[^"]*"' | sed -n "
|
|
1140
|
-
name=$(echo "$result" | grep -o '"name":"[^"]*"' | sed -n "
|
|
1139
|
+
id=$(echo "$result" | grep -o '"id":"[^"]*"' | sed -n "\${choice}p" | cut -d'"' -f4)
|
|
1140
|
+
name=$(echo "$result" | grep -o '"name":"[^"]*"' | sed -n "\${choice}p" | cut -d'"' -f4)
|
|
1141
1141
|
if [ -n "$id" ]; then
|
|
1142
1142
|
export CODER_WORKSTREAM="$id"
|
|
1143
1143
|
echo "📂 Workstream: $name"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coder-config",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.16",
|
|
4
4
|
"description": "Configuration manager for AI coding tools - Claude Code, Gemini CLI, Codex CLI, Antigravity. Manage MCPs, rules, permissions, memory, and workstreams.",
|
|
5
5
|
"author": "regression.io",
|
|
6
6
|
"main": "config-loader.js",
|