coder-config 0.42.16 → 0.42.17
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/lib/constants.js +1 -1
- package/lib/workstreams.js +10 -1
- package/package.json +1 -1
package/lib/constants.js
CHANGED
package/lib/workstreams.js
CHANGED
|
@@ -1100,7 +1100,16 @@ function workstreamInstallCdHook() {
|
|
|
1100
1100
|
const hookCode = `
|
|
1101
1101
|
${hookMarker}
|
|
1102
1102
|
coder_workstream_cd() {
|
|
1103
|
-
|
|
1103
|
+
# Run cd and capture error to avoid ugly function-prefixed messages
|
|
1104
|
+
local cd_err cd_ret
|
|
1105
|
+
cd_err=$(builtin cd "$@" 2>&1)
|
|
1106
|
+
cd_ret=$?
|
|
1107
|
+
|
|
1108
|
+
if [ $cd_ret -ne 0 ]; then
|
|
1109
|
+
# Pass through the original error, just prefix with cd:
|
|
1110
|
+
echo "cd: $cd_err" >&2
|
|
1111
|
+
return $cd_ret
|
|
1112
|
+
fi
|
|
1104
1113
|
|
|
1105
1114
|
# Check for matching workstreams
|
|
1106
1115
|
local result
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coder-config",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.17",
|
|
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",
|