repo-nexus 0.8.32 → 0.8.34

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
@@ -155,7 +155,6 @@ repo-nexus/
155
155
  ├── plugins/ # Built-in scoped workspace plugins with independent tests
156
156
  ├── skills/ # Core workspace agentic skills
157
157
  ├── templates/
158
- │ ├── ai-instructions.sample.md # Base template for .rnex/ai-instructions.md
159
158
  │ └── rnex.example.yaml # Full config reference with examples
160
159
  ├── AGENTS.md # Routing-only universal AI instructions
161
160
  ├── CHANGELOG.md # Release history and migration notes
package/lib/ai.sh CHANGED
@@ -584,13 +584,9 @@ write_rnex_env_script() {
584
584
  _src_env=""
585
585
  for _cand in \
586
586
  "${RNEX_LIB_DIR:-}/rnex-env.sh" \
587
- "${RNEX_TEMPLATES_DIR:-}/rnex-env.sh" \
588
587
  "$SCRIPT_LOCATION/lib/rnex-env.sh" \
589
- "$SCRIPT_LOCATION/templates/rnex-env.sh" \
590
588
  "$(dirname "$SCRIPT_LOCATION")/lib/rnex-env.sh" \
591
- "$(dirname "$SCRIPT_LOCATION")/templates/rnex-env.sh" \
592
589
  "$_dir/lib/rnex-env.sh" \
593
- "$_dir/templates/rnex-env.sh" \
594
590
  "${RNEX_LIB_DIR:-}/sdk.sh" \
595
591
  "$SCRIPT_LOCATION/lib/sdk.sh" \
596
592
  "$(dirname "$SCRIPT_LOCATION")/lib/sdk.sh" \
@@ -643,12 +639,6 @@ sync_rnex_base_assets() {
643
639
  _src_skills="$NEXUS_DIR/skills"
644
640
  elif [ -d "${RNEX_ROOT:-}/skills" ]; then
645
641
  _src_skills="${RNEX_ROOT:-}/skills"
646
- elif [ -d "$SCRIPT_LOCATION/toolkit/skills" ]; then
647
- _src_skills="$SCRIPT_LOCATION/toolkit/skills"
648
- elif [ -d "$(dirname "$SCRIPT_LOCATION")/toolkit/skills" ]; then
649
- _src_skills="$(dirname "$SCRIPT_LOCATION")/toolkit/skills"
650
- elif [ -d "$NEXUS_DIR/toolkit/skills" ]; then
651
- _src_skills="$NEXUS_DIR/toolkit/skills"
652
642
  fi
653
643
 
654
644
  # Purge obsolete .rnex/prompts/ and .rnex/workflows/
@@ -37,16 +37,7 @@ cmd_install() {
37
37
  cp -R "$_src_root/$_asset" "$_install_dir/$_asset"
38
38
  fi
39
39
  done
40
- if [ ! -d "$_install_dir/plugins" ] && [ -d "$_src_root/toolkit/plugins" ]; then
41
- rm -rf "${_install_dir:?}/plugins"
42
- cp -R "$_src_root/toolkit/plugins" "$_install_dir/plugins"
43
- fi
44
- if [ ! -d "$_install_dir/skills" ] && [ -d "$_src_root/toolkit/skills" ]; then
45
- rm -rf "${_install_dir:?}/skills"
46
- cp -R "$_src_root/toolkit/skills" "$_install_dir/skills"
47
- fi
48
40
  rm -rf "$_install_dir/plugins"/*/tests 2>/dev/null || true
49
- rm -rf "$_install_dir/toolkit/plugins"/*/tests 2>/dev/null || true
50
41
  fi
51
42
 
52
43
  _installed_cli="$_install_dir/rnex"
package/lib/core.sh CHANGED
@@ -118,7 +118,7 @@ RNEX_VERSION="$(resolve_version)"
118
118
 
119
119
  # Locate the built-in plugins directory containing embedded plugins.
120
120
  # Priority: explicit RNEX_PLUGINS_DIR > pre-set PLUGINS_DIR > RNEX_ROOT/plugins >
121
- # SCRIPT_LOCATION/plugins > parent/plugins > NEXUS_DIR/plugins > legacy toolkit/plugins.
121
+ # SCRIPT_LOCATION/plugins > parent/plugins > NEXUS_DIR/plugins.
122
122
  find_plugins_root() {
123
123
  if [ -n "$RNEX_PLUGINS_DIR" ] && [ -d "$RNEX_PLUGINS_DIR" ]; then
124
124
  printf '%s' "$RNEX_PLUGINS_DIR"
@@ -134,14 +134,7 @@ find_plugins_root() {
134
134
  "$SCRIPT_LOCATION/plugins" \
135
135
  "$_sdir/plugins" \
136
136
  "$_sdir/../plugins" \
137
- "${NEXUS_DIR:-}/plugins" \
138
- "${RNEX_TOOLKIT_DIR:-}/plugins" \
139
- "${TOOLKIT_DIR:-}/plugins" \
140
- "${RNEX_ROOT:-}/toolkit/plugins" \
141
- "$SCRIPT_LOCATION/toolkit/plugins" \
142
- "$_sdir/toolkit/plugins" \
143
- "$_sdir/../toolkit/plugins" \
144
- "${NEXUS_DIR:-}/toolkit/plugins"; do
137
+ "${NEXUS_DIR:-}/plugins"; do
145
138
  if [ -n "$_cand" ] && [ -d "$_cand" ]; then
146
139
  printf '%s' "$_cand"
147
140
  return 0
@@ -152,7 +145,7 @@ find_plugins_root() {
152
145
 
153
146
  # Locate the built-in skills directory containing core agentic skills.
154
147
  # Priority: explicit RNEX_SKILLS_DIR > pre-set SKILLS_DIR > RNEX_ROOT/skills >
155
- # SCRIPT_LOCATION/skills > parent/skills > NEXUS_DIR/skills > legacy toolkit/skills.
148
+ # SCRIPT_LOCATION/skills > parent/skills > NEXUS_DIR/skills.
156
149
  find_skills_dir() {
157
150
  if [ -n "$RNEX_SKILLS_DIR" ] && [ -d "$RNEX_SKILLS_DIR" ]; then
158
151
  printf '%s' "$RNEX_SKILLS_DIR"
@@ -168,14 +161,7 @@ find_skills_dir() {
168
161
  "$SCRIPT_LOCATION/skills" \
169
162
  "$_sdir/skills" \
170
163
  "$_sdir/../skills" \
171
- "${NEXUS_DIR:-}/skills" \
172
- "${RNEX_TOOLKIT_DIR:-}/skills" \
173
- "${TOOLKIT_DIR:-}/skills" \
174
- "${RNEX_ROOT:-}/toolkit/skills" \
175
- "$SCRIPT_LOCATION/toolkit/skills" \
176
- "$_sdir/toolkit/skills" \
177
- "$_sdir/../toolkit/skills" \
178
- "${NEXUS_DIR:-}/toolkit/skills"; do
164
+ "${NEXUS_DIR:-}/skills"; do
179
165
  if [ -n "$_cand" ] && [ -d "$_cand" ]; then
180
166
  printf '%s' "$_cand"
181
167
  return 0
@@ -189,35 +175,6 @@ PLUGINS_DIR="${PLUGINS_DIR:-$RNEX_PLUGINS_DIR}"
189
175
  RNEX_SKILLS_DIR="${RNEX_SKILLS_DIR:-$(find_skills_dir 2>/dev/null || true)}"
190
176
  SKILLS_DIR="${SKILLS_DIR:-$RNEX_SKILLS_DIR}"
191
177
 
192
- # Locate the built-in toolkit directory containing embedded plugins and assets (legacy fallback).
193
- # Priority: explicit RNEX_TOOLKIT_DIR > pre-set TOOLKIT_DIR > SCRIPT_LOCATION/toolkit >
194
- # parent/toolkit > NEXUS_DIR/toolkit.
195
- find_toolkit_dir() {
196
- if [ -n "$RNEX_TOOLKIT_DIR" ] && [ -d "$RNEX_TOOLKIT_DIR" ]; then
197
- printf '%s' "$RNEX_TOOLKIT_DIR"
198
- return 0
199
- fi
200
- if [ -n "$TOOLKIT_DIR" ] && [ -d "$TOOLKIT_DIR" ]; then
201
- printf '%s' "$TOOLKIT_DIR"
202
- return 0
203
- fi
204
- _sdir="$(dirname "$SCRIPT_LOCATION")"
205
- for _cand in \
206
- "${RNEX_ROOT:-}/toolkit" \
207
- "$SCRIPT_LOCATION/toolkit" \
208
- "$_sdir/toolkit" \
209
- "$_sdir/../toolkit" \
210
- "${NEXUS_DIR:-}/toolkit"; do
211
- if [ -n "$_cand" ] && [ -d "$_cand" ]; then
212
- printf '%s' "$_cand"
213
- return 0
214
- fi
215
- done
216
- return 1
217
- }
218
-
219
- TOOLKIT_DIR="${TOOLKIT_DIR:-$(find_toolkit_dir 2>/dev/null || true)}"
220
-
221
178
  # Compare two dot-separated version strings (e.g., "0.7.38" vs "0.7.39").
222
179
  # Returns:
223
180
  # 0 if $1 == $2
package/lib/hooks.sh CHANGED
@@ -50,7 +50,7 @@ _resolve_hook_workspace() {
50
50
  }
51
51
 
52
52
  # Locate a hook script for a plugin (checks scoped .rnex/plugins/<name>/hooks first,
53
- # then toolkit source directory). Accepts multiple candidate filenames in priority order.
53
+ # then built-in plugin source directory). Accepts multiple candidate filenames in priority order.
54
54
  _resolve_plugin_hook_script() {
55
55
  _rphs_root="$1"; _rphs_plugin="$2"
56
56
  shift 2
package/lib/plugins.sh CHANGED
@@ -13,8 +13,8 @@
13
13
  # 1. Explicit per-plugin path override (`plugins.<name>.path` in
14
14
  # .local.rnex.yaml > rnex.yaml). Normalizes trailing `/plugin.yaml`
15
15
  # to its parent directory.
16
- # 2. Built-in embedded plugin in `$TOOLKIT_DIR/plugins/<name>`.
17
- # 3. Standard candidate toolkit directory search.
16
+ # 2. Built-in embedded plugin in `$RNEX_PLUGINS_DIR/<name>`.
17
+ # 3. Standard candidate plugin directory search.
18
18
  #
19
19
  # Arguments:
20
20
  # $1 - Plugin name (e.g. "karpathy-llm", "claude", "custom-plugin")
@@ -69,10 +69,6 @@ plugin_resolve_dir() {
69
69
  resolve_path "$RNEX_PLUGINS_DIR/$_prd_name" 2>/dev/null || printf '%s' "$RNEX_PLUGINS_DIR/$_prd_name"
70
70
  return 0
71
71
  fi
72
- if [ -n "${TOOLKIT_DIR:-}" ] && [ -d "$TOOLKIT_DIR/plugins/$_prd_name" ] && [ -f "$TOOLKIT_DIR/plugins/$_prd_name/plugin.yaml" ]; then
73
- resolve_path "$TOOLKIT_DIR/plugins/$_prd_name" 2>/dev/null || printf '%s' "$TOOLKIT_DIR/plugins/$_prd_name"
74
- return 0
75
- fi
76
72
 
77
73
  # Priority 3: Candidate plugin locations fallback
78
74
  _sdir="$(dirname "$SCRIPT_LOCATION")"
@@ -83,14 +79,7 @@ plugin_resolve_dir() {
83
79
  "$SCRIPT_LOCATION/plugins/$_prd_name" \
84
80
  "$_sdir/plugins/$_prd_name" \
85
81
  "$NEXUS_DIR/plugins/$_prd_name" \
86
- "${RNEX_ROOT:-}/toolkit/plugins/$_prd_name" \
87
- "${TOOLKIT_DIR:-}/plugins/$_prd_name" \
88
- "${RNEX_TOOLKIT_DIR:-}/plugins/$_prd_name" \
89
- "$NEXUS_DIR/toolkit/plugins/$_prd_name" \
90
- "$SCRIPT_LOCATION/toolkit/plugins/$_prd_name" \
91
- "$_sdir/toolkit/plugins/$_prd_name" \
92
- "$NEXUS_DIR/.rnex/plugins/$_prd_name" \
93
- "$NEXUS_DIR/.nexus/plugins/$_prd_name"; do
82
+ "$NEXUS_DIR/.rnex/plugins/$_prd_name"; do
94
83
  [ -n "$_cand" ] || continue
95
84
  if [ -f "$_cand/plugin.yaml" ]; then
96
85
  resolve_path "$_cand" 2>/dev/null || printf '%s' "$_cand"
@@ -120,14 +109,7 @@ find_plugin_dir() {
120
109
  "$SCRIPT_LOCATION/plugins/$_query" \
121
110
  "$_sdir/plugins/$_query" \
122
111
  "$NEXUS_DIR/plugins/$_query" \
123
- "${RNEX_ROOT:-}/toolkit/plugins/$_query" \
124
- "${TOOLKIT_DIR:-}/plugins/$_query" \
125
- "${RNEX_TOOLKIT_DIR:-}/plugins/$_query" \
126
- "$NEXUS_DIR/toolkit/plugins/$_query" \
127
- "$SCRIPT_LOCATION/toolkit/plugins/$_query" \
128
- "$_sdir/toolkit/plugins/$_query" \
129
- "$NEXUS_DIR/.rnex/plugins/$_query" \
130
- "$NEXUS_DIR/.nexus/plugins/$_query"; do
112
+ "$NEXUS_DIR/.rnex/plugins/$_query"; do
131
113
  [ -n "$_cand" ] || continue
132
114
  if [ -f "$_cand/plugin.yaml" ]; then
133
115
  printf '%s' "$_cand"
@@ -145,7 +127,7 @@ find_plugin_dir() {
145
127
  # the resolution hierarchy:
146
128
  # 1. Path-mapped external plugins declared via `plugins.<name>.path` in
147
129
  # .local.rnex.yaml or rnex.yaml.
148
- # 2. Built-in embedded plugins shipped with rnex ($TOOLKIT_DIR/plugins/*).
130
+ # 2. Built-in embedded plugins shipped with rnex ($RNEX_PLUGINS_DIR/*).
149
131
  #
150
132
  # Arguments:
151
133
  # None
@@ -183,13 +165,7 @@ plugin_list_available() {
183
165
  "${RNEX_ROOT:-}/plugins" \
184
166
  "$SCRIPT_LOCATION/plugins" \
185
167
  "$(dirname "$SCRIPT_LOCATION")/plugins" \
186
- "$NEXUS_DIR/plugins" \
187
- "${TOOLKIT_DIR:-}/plugins" \
188
- "${RNEX_ROOT:-}/toolkit/plugins" \
189
- "${RNEX_TOOLKIT_DIR:-}/plugins" \
190
- "$NEXUS_DIR/toolkit/plugins" \
191
- "$SCRIPT_LOCATION/toolkit/plugins" \
192
- "$(dirname "$SCRIPT_LOCATION")/toolkit/plugins"; do
168
+ "$NEXUS_DIR/plugins"; do
193
169
  [ -n "$_parent" ] || continue
194
170
  if [ -d "$_parent" ]; then
195
171
  for _sub in "$_parent"/*; do
@@ -209,7 +185,7 @@ plugin_list_available() {
209
185
  done
210
186
  }
211
187
 
212
- # Scan and list all unique plugin directories across workspace and toolkit locations.
188
+ # Scan and list all unique plugin directories across workspace and built-in plugin locations.
213
189
  list_all_available_plugin_dirs() {
214
190
  plugin_list_available
215
191
  }
@@ -232,7 +208,7 @@ plugin_get_field() {
232
208
  #
233
209
  # Summary:
234
210
  # Retrieve the effective version of a plugin. Built-in embedded plugins
235
- # located in $TOOLKIT_DIR/plugins/<name> have version parity with rnex and
211
+ # located in $RNEX_PLUGINS_DIR/<name> have version parity with rnex and
236
212
  # always report $RNEX_VERSION. External or custom plugins report the
237
213
  # 'version' field from their plugin.yaml, defaulting to 'custom' if unset.
238
214
  #
@@ -263,8 +239,6 @@ plugin_get_version() {
263
239
  _tk_plugin_dir=""
264
240
  if [ -n "$RNEX_PLUGINS_DIR" ] && [ -d "$RNEX_PLUGINS_DIR/$_pgv_name" ]; then
265
241
  _tk_plugin_dir="$(resolve_path "$RNEX_PLUGINS_DIR/$_pgv_name" 2>/dev/null || true)"
266
- elif [ -n "$TOOLKIT_DIR" ] && [ -d "$TOOLKIT_DIR/plugins/$_pgv_name" ]; then
267
- _tk_plugin_dir="$(resolve_path "$TOOLKIT_DIR/plugins/$_pgv_name" 2>/dev/null || true)"
268
242
  fi
269
243
 
270
244
  # Resolve canonical path for the candidate plugin directory
@@ -273,16 +247,16 @@ plugin_get_version() {
273
247
  _res_plugin_dir="$(resolve_path "$_pgv_dir" 2>/dev/null || true)"
274
248
  fi
275
249
 
276
- # Case 1: The resolved directory directly matches the built-in toolkit plugin
250
+ # Case 1: The resolved directory directly matches the built-in plugin
277
251
  if [ -n "$_tk_plugin_dir" ] && [ -n "$_res_plugin_dir" ] && [ "$_tk_plugin_dir" = "$_res_plugin_dir" ]; then
278
252
  printf '%s' "${RNEX_VERSION:-0.8.16}"
279
253
  return 0
280
254
  fi
281
255
 
282
- # Case 2: The directory is a scoped copy inside .rnex/plugins/<name> or .nexus/plugins/<name>
256
+ # Case 2: The directory is a scoped copy inside .rnex/plugins/<name>
283
257
  # originating from a built-in embedded plugin
284
258
  case "$_res_plugin_dir" in
285
- */.rnex/plugins/$_pgv_name|*/.nexus/plugins/$_pgv_name)
259
+ */.rnex/plugins/$_pgv_name)
286
260
  if [ -n "$_tk_plugin_dir" ] && [ -d "$_tk_plugin_dir" ]; then
287
261
  printf '%s' "${RNEX_VERSION:-0.8.16}"
288
262
  return 0
@@ -874,7 +848,7 @@ resolve_plugin_sources() {
874
848
 
875
849
  # ---- Plugin Command Engine (discovery, execution, and listings) -------------
876
850
 
877
- # Check if a plugin exists either in workspace, toolkit, or config.
851
+ # Check if a plugin exists either in workspace, built-in plugins, or config.
878
852
  plugin_exists() {
879
853
  _pe_name="$1"
880
854
  [ -n "$_pe_name" ] || return 1
@@ -886,7 +860,7 @@ plugin_exists() {
886
860
 
887
861
  # Locate a custom command executable for a plugin.
888
862
  # Checks .rnex/plugins/<name>/commands/<command>.sh or <command>,
889
- # falling back to candidate toolkit directories (e.g. toolkit/plugins/<name>/commands/).
863
+ # falling back to candidate plugin directories (e.g. plugins/<name>/commands/).
890
864
  plugin_find_command() {
891
865
  _pfc_pname="$1"
892
866
  _pfc_cmd="$2"
package/lib/sdk.sh CHANGED
@@ -585,7 +585,7 @@ clean_provider_agents() {
585
585
  _r="${NEXUS_DIR:-${RNEX_ROOT:-.}}"
586
586
  [ -d "$_ag_dir" ] || return 0
587
587
 
588
- for _pdir in "${SCRIPT_LOCATION:-$_r}/plugins"/* "$_r/plugins"/* "${SCRIPT_LOCATION:-$_r}/toolkit/plugins"/* "$_r/toolkit/plugins"/* "$_r/.rnex/plugins"/*; do
588
+ for _pdir in "${SCRIPT_LOCATION:-$_r}/plugins"/* "$_r/plugins"/* "$_r/.rnex/plugins"/*; do
589
589
  [ -d "$_pdir" ] || continue
590
590
  [ -d "$_pdir/agents" ] || continue
591
591
  for _afile in "$_pdir/agents"/*.md; do
package/lib/yaml.sh CHANGED
@@ -1358,7 +1358,7 @@ _yaml_plugin_list_from_file() {
1358
1358
  # strict two-level source-of-truth hierarchy and plugin defaults fallback:
1359
1359
  # 1. .local.rnex.yaml ($NEXUS_LOCAL_CONFIG or $WORKSPACE_LOCAL_YAML)
1360
1360
  # 2. rnex.yaml ($NEXUS_CONFIG or $WORKSPACE_YAML)
1361
- # 3. toolkit/plugins/<plugin_name>/plugin.yaml (config_defaults.<key>)
1361
+ # 3. plugins/<plugin_name>/plugin.yaml (config_defaults.<key>)
1362
1362
  #
1363
1363
  # Evaluates sources in priority order and emits the first non-empty list of items.
1364
1364
  #
@@ -1402,10 +1402,9 @@ yaml_get_plugin_list() {
1402
1402
  fi
1403
1403
  if [ -z "$_ygpl_pdir" ]; then
1404
1404
  for _cand in \
1405
- "${NEXUS_DIR:-${RNEX_ROOT:-.}}/toolkit/plugins/$_ygpl_plugin" \
1406
- "${RNEX_ROOT:-}/toolkit/plugins/$_ygpl_plugin" \
1407
- "toolkit/plugins/$_ygpl_plugin" \
1408
1405
  "${NEXUS_DIR:-${RNEX_ROOT:-.}}/plugins/$_ygpl_plugin" \
1406
+ "${RNEX_ROOT:-}/plugins/$_ygpl_plugin" \
1407
+ "plugins/$_ygpl_plugin" \
1409
1408
  "${NEXUS_DIR:-${RNEX_ROOT:-.}}/.rnex/plugins/$_ygpl_plugin"; do
1410
1409
  if [ -f "$_cand/plugin.yaml" ]; then
1411
1410
  _ygpl_pdir="$_cand"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repo-nexus",
3
- "version": "0.8.32",
3
+ "version": "0.8.34",
4
4
  "description": "Lightweight, zero-dependency Virtual Meta Repository (meta repo) and Nexus Repository (nexus repo) manager for multi-repo workspaces and shared AI context (no git submodules)",
5
5
  "bin": {
6
6
  "repo-nexus": "rnex",
@@ -58,13 +58,10 @@
58
58
  "linux"
59
59
  ],
60
60
  "devDependencies": {
61
- "mermaid": "^11.17.2",
62
- "vitepress": "^1.6.4",
63
- "vitepress-plugin-mermaid": "^2.0.17"
61
+ "vitepress": "^1.6.4"
64
62
  },
65
63
  "overrides": {
66
64
  "esbuild": "^0.25.0",
67
- "katex": ">=0.18.2",
68
65
  "vite": "^6.4.4"
69
66
  }
70
67
  }
@@ -1,5 +1,5 @@
1
1
  name: claude
2
- version: 0.8.32
2
+ version: 0.8.34
3
3
  description: Anthropic Claude Code integration (maintains CLAUDE.md instructions and generates user skills in .claude/skills/)
4
4
  author: unoxen
5
5
  homepage: https://github.com/unoxen/repo-nexus
@@ -50,7 +50,6 @@ pass
50
50
  run_test "Claude plugin: manifest metadata, version parity, and plugin info"
51
51
  _cli_ver="$("$TEST_CLAUDE_WS/rnex" --version | awk '{print $2}')"
52
52
  _claude_manifest="$TEST_CLAUDE_WS/plugins/claude/plugin.yaml"
53
- [ -f "$_claude_manifest" ] || _claude_manifest="$TEST_CLAUDE_WS/toolkit/plugins/claude/plugin.yaml"
54
53
  _m_ver="$(awk '/^version:[ ]*/ { sub(/^version:[ ]*/, ""); sub(/[ ]*#.*/, ""); print; exit }' "$_claude_manifest")"
55
54
  [ "$_m_ver" = "$_cli_ver" ] || { fail "Claude plugin version ($_m_ver) does not match CLI version ($_cli_ver)"; exit 1; }
56
55
 
@@ -1,5 +1,5 @@
1
1
  name: codex
2
- version: 0.8.32
2
+ version: 0.8.34
3
3
  description: OpenAI Codex and ChatGPT integration (maintains CODEX.md instructions and generates user skills in .codex/skills/)
4
4
  author: unoxen
5
5
  homepage: https://github.com/unoxen/repo-nexus
@@ -49,7 +49,6 @@ pass
49
49
  run_test "Codex plugin: manifest metadata, version parity, and plugin info"
50
50
  _cli_ver="$("$TEST_CODEX_WS/rnex" --version | awk '{print $2}')"
51
51
  _codex_manifest="$TEST_CODEX_WS/plugins/codex/plugin.yaml"
52
- [ -f "$_codex_manifest" ] || _codex_manifest="$TEST_CODEX_WS/toolkit/plugins/codex/plugin.yaml"
53
52
  _m_ver="$(awk '/^version:[ ]*/ { sub(/^version:[ ]*/, ""); sub(/[ ]*#.*/, ""); print; exit }' "$_codex_manifest")"
54
53
  [ "$_m_ver" = "$_cli_ver" ] || { fail "Codex plugin version ($_m_ver) does not match CLI version ($_cli_ver)"; exit 1; }
55
54
 
@@ -1,5 +1,5 @@
1
1
  name: copilot
2
- version: 0.8.32
2
+ version: 0.8.34
3
3
  description: GitHub Copilot integration (maintains .github/copilot-instructions.md and user skills in .github/skills/)
4
4
  author: unoxen
5
5
  homepage: https://github.com/unoxen/repo-nexus
@@ -15,7 +15,6 @@ setup_plugin_test_workspace copilot "$TEST_COPILOT_WS"
15
15
  cd "$TEST_COPILOT_WS"
16
16
 
17
17
  _copilot_pdir="$TEST_COPILOT_WS/plugins/copilot"
18
- [ -d "$_copilot_pdir" ] || _copilot_pdir="$TEST_COPILOT_WS/toolkit/plugins/copilot"
19
18
 
20
19
  # --------------------------------------------------------------------------
21
20
  run_test "Copilot plugin: init --copilot provisions instructions and User Skills without AGENTS.md"
@@ -1,5 +1,5 @@
1
1
  name: cursor
2
- version: 0.8.32
2
+ version: 0.8.34
3
3
  description: Cursor IDE integration (maintains .cursorrules and generates user skills in .cursor/rules/)
4
4
  author: unoxen
5
5
  homepage: https://github.com/unoxen/repo-nexus
@@ -52,7 +52,6 @@ pass
52
52
  run_test "Cursor plugin: manifest metadata, version parity, and plugin info"
53
53
  _cli_ver="$("$TEST_CURSOR_WS/rnex" --version | awk '{print $2}')"
54
54
  _cursor_manifest="$TEST_CURSOR_WS/plugins/cursor/plugin.yaml"
55
- [ -f "$_cursor_manifest" ] || _cursor_manifest="$TEST_CURSOR_WS/toolkit/plugins/cursor/plugin.yaml"
56
55
  _m_ver="$(awk '/^version:[ ]*/ { sub(/^version:[ ]*/, ""); sub(/[ ]*#.*/, ""); print; exit }' "$_cursor_manifest")"
57
56
  [ "$_m_ver" = "$_cli_ver" ] || { fail "Cursor plugin version ($_m_ver) does not match CLI version ($_cli_ver)"; exit 1; }
58
57
 
@@ -1,5 +1,5 @@
1
1
  name: gemini
2
- version: 0.8.32
2
+ version: 0.8.34
3
3
  description: Google Gemini and Antigravity integration (maintains GEMINI.md instructions and generates user skills in .agents/skills/)
4
4
  author: unoxen
5
5
  homepage: https://github.com/unoxen/repo-nexus
@@ -55,7 +55,6 @@ pass
55
55
  run_test "Gemini plugin: manifest metadata, version parity, and plugin info"
56
56
  _cli_ver="$("$TEST_GEMINI_WS/rnex" --version | awk '{print $2}')"
57
57
  _gemini_manifest="$TEST_GEMINI_WS/plugins/gemini/plugin.yaml"
58
- [ -f "$_gemini_manifest" ] || _gemini_manifest="$TEST_GEMINI_WS/toolkit/plugins/gemini/plugin.yaml"
59
58
  _m_ver="$(awk '/^version:[ ]*/ { sub(/^version:[ ]*/, ""); sub(/[ ]*#.*/, ""); print; exit }' "$_gemini_manifest")"
60
59
  [ "$_m_ver" = "$_cli_ver" ] || { fail "Gemini plugin version ($_m_ver) does not match CLI version ($_cli_ver)"; exit 1; }
61
60
 
@@ -19,8 +19,7 @@ for _kl_common in \
19
19
  "${RNEX_PLUGIN_DIR:-}/hooks/_common.sh" \
20
20
  "$(dirname "$0")/../hooks/_common.sh" \
21
21
  "$_root/.rnex/plugins/karpathy-llm/hooks/_common.sh" \
22
- "$_root/plugins/karpathy-llm/hooks/_common.sh" \
23
- "$_root/toolkit/plugins/karpathy-llm/hooks/_common.sh"; do
22
+ "$_root/plugins/karpathy-llm/hooks/_common.sh"; do
24
23
  # shellcheck source=/dev/null
25
24
  [ -f "$_kl_common" ] && { . "$_kl_common"; break; }
26
25
  done
@@ -12,8 +12,7 @@ for _kl_common in \
12
12
  "${RNEX_PLUGIN_DIR:-}/hooks/_common.sh" \
13
13
  "$(dirname "$0")/../hooks/_common.sh" \
14
14
  "$_root/.rnex/plugins/karpathy-llm/hooks/_common.sh" \
15
- "$_root/plugins/karpathy-llm/hooks/_common.sh" \
16
- "$_root/toolkit/plugins/karpathy-llm/hooks/_common.sh"; do
15
+ "$_root/plugins/karpathy-llm/hooks/_common.sh"; do
17
16
  # shellcheck source=/dev/null
18
17
  [ -f "$_kl_common" ] && { . "$_kl_common"; break; }
19
18
  done
@@ -409,7 +409,7 @@ kl_ensure_wiki_files() {
409
409
  _kew_pdir="$(find_plugin_dir "karpathy-llm" 2>/dev/null || true)"
410
410
  fi
411
411
  if [ -z "$_kew_pdir" ]; then
412
- for _kew_cand in "$_root/.rnex/plugins/karpathy-llm" "$_root/plugins/karpathy-llm" "$_root/toolkit/plugins/karpathy-llm"; do
412
+ for _kew_cand in "$_root/.rnex/plugins/karpathy-llm" "$_root/plugins/karpathy-llm"; do
413
413
  if [ -d "$_kew_cand/templates" ]; then
414
414
  _kew_pdir="$_kew_cand"
415
415
  break
@@ -9,8 +9,7 @@ for _kl_common in \
9
9
  "${RNEX_PLUGIN_DIR:-}/hooks/_common.sh" \
10
10
  "$(dirname "$0")/_common.sh" \
11
11
  "${RNEX_ROOT:-.}/.rnex/plugins/karpathy-llm/hooks/_common.sh" \
12
- "${RNEX_ROOT:-.}/plugins/karpathy-llm/hooks/_common.sh" \
13
- "${RNEX_ROOT:-.}/toolkit/plugins/karpathy-llm/hooks/_common.sh"; do
12
+ "${RNEX_ROOT:-.}/plugins/karpathy-llm/hooks/_common.sh"; do
14
13
  # shellcheck source=/dev/null
15
14
  [ -f "$_kl_common" ] && { . "$_kl_common"; break; }
16
15
  done
@@ -1,5 +1,5 @@
1
1
  name: karpathy-llm
2
- version: 0.8.32
2
+ version: 0.8.34
3
3
  description: Andréj Karpathy's verification frameworks & wiki patterns for AI coding agents.
4
4
  author: unoxen
5
5
  homepage: https://github.com/unoxen/repo-nexus
@@ -15,7 +15,6 @@ setup_plugin_test_workspace karpathy-llm "$TEST_KARPATHY_WS"
15
15
  cd "$TEST_KARPATHY_WS"
16
16
 
17
17
  _kl_pdir="$TEST_KARPATHY_WS/plugins/karpathy-llm"
18
- [ -d "$_kl_pdir" ] || _kl_pdir="$TEST_KARPATHY_WS/toolkit/plugins/karpathy-llm"
19
18
 
20
19
  # --------------------------------------------------------------------------
21
20
  run_test "Karpathy-llm: manifest integrity, version parity, and documentation accuracy"
@@ -1,5 +1,5 @@
1
1
  name: windsurf
2
- version: 0.8.32
2
+ version: 0.8.34
3
3
  description: Windsurf IDE integration (maintains .windsurfrules and generates user skills in .windsurf/rules/)
4
4
  author: unoxen
5
5
  homepage: https://github.com/unoxen/repo-nexus
@@ -47,7 +47,6 @@ pass
47
47
  run_test "Windsurf plugin: manifest metadata, version parity, and plugin info"
48
48
  _cli_ver="$("$TEST_WINDSURF_WS/rnex" --version | awk '{print $2}')"
49
49
  _windsurf_manifest="$TEST_WINDSURF_WS/plugins/windsurf/plugin.yaml"
50
- [ -f "$_windsurf_manifest" ] || _windsurf_manifest="$TEST_WINDSURF_WS/toolkit/plugins/windsurf/plugin.yaml"
51
50
  _m_ver="$(awk '/^version:[ ]*/ { sub(/^version:[ ]*/, ""); sub(/[ ]*#.*/, ""); print; exit }' "$_windsurf_manifest")"
52
51
  [ "$_m_ver" = "$_cli_ver" ] || { fail "Windsurf plugin version ($_m_ver) does not match CLI version ($_cli_ver)"; exit 1; }
53
52
 
@@ -1,28 +0,0 @@
1
- # Repo Nexus Workspace Instructions (rnex v<version>)
2
-
3
- > Reference sample only. `rnex sync` / `rnex init` generate `.rnex/ai-instructions.md` from the merged workspace configuration (`.local.rnex.yaml` > `rnex.yaml`); this file is not read at runtime.
4
-
5
- ## 1. Strict Operating Constraints
6
- - **NO CONFIG READS**: DO NOT read or search for rnex.yaml or .local.rnex.yaml. The complete merged configuration is embedded in Section 2.
7
- - **READ FILES ONCE**: Read each file at most once per session. Never re-read a file already in context.
8
- - **NO BLIND SCANS**: Never run broad directory scans or unbounded searches across `repos/`.
9
-
10
- ## 2. Merged Workspace Configuration
11
- - **Workspace**: `<name>`
12
- - **Repositories Root**: `repos/`
13
- - **Enabled Plugins**: `<plugin>`, ...
14
-
15
- ### Active Member Repositories
16
- | Repository | Path | Branch | Mode | Description |
17
- | :--- | :--- | :--- | :--- | :--- |
18
- | `<repo>` | `repos/<repo>/` | `main` | `READ-WRITE` | <description> |
19
-
20
- - **Disabled Repositories (Do Not Access)**: `<repo>`
21
-
22
- ## 3. Mandatory Execution Sequence
23
- Execute these steps in strict order:
24
- 1. **Step 1 — Targeted Repository Access**: Inspect or modify only the specific files in active `repos/<name>/` required for the task. Never modify or commit inside `READ-ONLY` repositories.
25
- 2. **Step 2 — Git & Maintenance**: Commit and push inside `repos/<name>/`. Run `rnex sync` if workspace state changes.
26
-
27
- ## 4. Coding & Wiki Directives
28
- - **Skills**: `.rnex/skills/` (load a skill only when its task applies).