coder-config 0.43.9 → 0.43.12

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  * Constants and tool path configurations
3
3
  */
4
4
 
5
- const VERSION = '0.43.9';
5
+ const VERSION = '0.43.12';
6
6
 
7
7
  // Tool-specific path configurations
8
8
  const TOOL_PATHS = {
@@ -1115,16 +1115,8 @@ function workstreamInstallCdHook() {
1115
1115
  const hookCode = `
1116
1116
  ${hookMarker}
1117
1117
  coder_workstream_cd() {
1118
- # Run cd and capture error to avoid ugly function-prefixed messages
1119
- local cd_err cd_ret
1120
- cd_err=$(builtin cd "$@" 2>&1)
1121
- cd_ret=$?
1122
-
1123
- if [ $cd_ret -ne 0 ]; then
1124
- # Pass through the original error, just prefix with cd:
1125
- echo "cd: $cd_err" >&2
1126
- return $cd_ret
1127
- fi
1118
+ # Run cd directly (not in subshell) - if it fails, it prints its own error
1119
+ builtin cd "$@" || return $?
1128
1120
 
1129
1121
  # Check for matching workstreams
1130
1122
  local result
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coder-config",
3
- "version": "0.43.9",
3
+ "version": "0.43.12",
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",
package/ui/server.cjs CHANGED
@@ -633,15 +633,15 @@ class ConfigUIServer {
633
633
 
634
634
  // Session persistence
635
635
  case '/api/sessions':
636
- if (req.method === 'GET') return this.json(res, routes.sessions.getSessionStatus());
636
+ if (req.method === 'GET') return this.json(res, routes.sessions.getSessionStatus(this.projectDir));
637
637
  break;
638
638
 
639
639
  case '/api/sessions/context':
640
- if (req.method === 'GET') return this.json(res, routes.sessions.getContextContent());
640
+ if (req.method === 'GET') return this.json(res, routes.sessions.getContextContent(this.projectDir));
641
641
  break;
642
642
 
643
643
  case '/api/sessions/clear':
644
- if (req.method === 'POST') return this.json(res, routes.sessions.clearContext());
644
+ if (req.method === 'POST') return this.json(res, routes.sessions.clearContext(this.projectDir));
645
645
  break;
646
646
 
647
647
  case '/api/sessions/install-hooks':