@ninjaxtools/slopdex 0.27.0 → 0.28.0

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
@@ -112,21 +112,22 @@ $ export OPENAI_API_KEY="your-api-key"
112
112
  # Or
113
113
  # opencode auth login # use stored credentials instead of env variables
114
114
 
115
- $ slopdex descriptions enable
115
+ $ slopdex config set descriptionsEnabled true
116
116
  $ slopdex search-descriptions "keep the repository index synchronized"
117
117
  ```
118
118
 
119
119
  You can list and configure one of OpenCode's models like this (or use the interactive config):
120
120
 
121
121
  ```console
122
- $ slopdex models opencode-go
123
- $ slopdex config model opencode-go/gpt-5.6-luna
124
- $ slopdex config fallback-model opencode-go/muse-spark-1.3-contributor
122
+ $ slopdex help models opencode-go
123
+ $ slopdex config set descriptionProvider opencode-go
124
+ $ slopdex config set descriptionModel gpt-5.6-luna
125
+ $ slopdex config set descriptionFallbackModel muse-spark-1.3-contributor
125
126
  ```
126
127
 
127
128
  The fallback-model is used if the main model reports an error, and if the fallback-model reports an error the main model is tried again.
128
129
 
129
- File and function descriptions are cached by source and description context, so renaming a file can reuse its descriptions. Function changes or a changed file-description context can require new callable descriptions. File descriptions after edits can be refreshed explicitly with `reindex-files`.
130
+ File and function descriptions are cached by source and description context, so renaming a file can reuse its descriptions. Function changes or a changed file-description context can require new callable descriptions. File descriptions after edits can be refreshed explicitly with `index reindex-files`.
130
131
 
131
132
  ### Interactive Config
132
133
 
@@ -228,9 +229,10 @@ Optionally a second-stage reranker can be enabled for all query-search commands:
228
229
 
229
230
  ```console
230
231
  $ export COHERE_API_KEY="your-api-key"
231
- $ slopdex config reranker cohere
232
- # Or: export JINA_API_KEY="your-api-key" && slopdex config reranker jina
233
- # Or use an LLM: export OPENAI_API_KEY="your-api-key" && slopdex config reranker openai
232
+ $ slopdex config set rerankerProvider cohere
233
+ $ slopdex config set rerankingEnabled true
234
+ # Or: export JINA_API_KEY="your-api-key" && slopdex config set rerankerProvider jina
235
+ # Or use an LLM: export OPENAI_API_KEY="your-api-key" && slopdex config set rerankerProvider openai
234
236
  ```
235
237
 
236
238
  ### Compare repositories
@@ -246,11 +248,11 @@ Pass the target's `indexPath` from `slopdex --root /path/to/other/repo --format
246
248
 
247
249
  ### Inspect index health
248
250
 
249
- If some functions can't be indexed a warning is printed. Index errors can be investigated and fixed with the `index-errors` command to ensure the index is complete.
251
+ If some functions can't be indexed a warning is printed. Index errors can be investigated and fixed with the `index errors` command to ensure the index is complete.
250
252
 
251
253
  ```console
252
254
  $ slopdex status
253
- $ slopdex index-errors --format summary
255
+ $ slopdex index errors --format summary
254
256
  $ slopdex --version
255
257
  ```
256
258
 
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "@ninjaxtools/slopdex",
22
- "version": "0.27.0"
22
+ "version": "0.28.0"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.27.0"
51
+ "version": "0.28.0"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/ninjaxtools/slopdex/releases/download/v0.27.0"
3
+ "https://github.com/ninjaxtools/slopdex/releases/download/v0.28.0"
4
4
  ],
5
5
  "bin": {
6
6
  "slopdex": "run-slopdex.js"
@@ -80,7 +80,7 @@
80
80
  "zipExt": ".tar.xz"
81
81
  }
82
82
  },
83
- "version": "0.27.0",
83
+ "version": "0.28.0",
84
84
  "volta": {
85
85
  "node": "18.14.1",
86
86
  "npm": "9.5.0"