@gmickel/gno 1.39.1 → 1.40.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.
Binary file
@@ -0,0 +1 @@
1
+ 1d6a17618bddf4425527e94961459fa2a414d06f5123d43ffebadfeca8a3a89b gno-browser-clipper-v1.40.0.zip
@@ -21,5 +21,5 @@
21
21
  "content_security_policy": {
22
22
  "extension_pages": "script-src 'self'; object-src 'none'; connect-src http://127.0.0.1:*"
23
23
  },
24
- "version": "1.39.1"
24
+ "version": "1.40.0"
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gmickel/gno",
3
- "version": "1.39.1",
3
+ "version": "1.40.0",
4
4
  "description": "Local semantic search for your documents. Index Markdown, PDF, and Office files with hybrid BM25 + vector search.",
5
5
  "keywords": [
6
6
  "embeddings",
package/spec/cli.md CHANGED
@@ -1194,34 +1194,36 @@ BM25 keyword search over indexed documents.
1194
1194
  **Synopsis:**
1195
1195
 
1196
1196
  ```bash
1197
- gno search <query> [-n <num>] [--min-score <num>] [-c <collection>] [--since <date>] [--until <date>] [--category <values>] [--author <text>] [--intent <text>] [--exclude <values>] [--tags-all <tags>] [--tags-any <tags>] [--full] [--line-numbers] [--lang <bcp47>] [--json|--files|--csv|--md|--xml]
1197
+ gno search [query] [--query-file <path>] [-n <num>] [--min-score <num>] [-c <collection>] [--since <date>] [--until <date>] [--category <values>] [--author <text>] [--intent <text>] [--exclude <values>] [--tags-all <tags>] [--tags-any <tags>] [--full] [--line-numbers] [--lang <bcp47>] [--json|--files|--csv|--md|--xml]
1198
1198
  ```
1199
1199
 
1200
1200
  **Arguments:**
1201
- | Arg | Type | Description |
1202
- |-----|------|-------------|
1203
- | `<query>` | string | Search query |
1201
+
1202
+ | Arg | Type | Description |
1203
+ | --------- | ------ | -------------------------------------------------------------------- |
1204
+ | `[query]` | string | Search query. Optional when `--query-file` is set. Do not pass both. |
1204
1205
 
1205
1206
  **Options:**
1206
1207
 
1207
- | Option | Type | Default | Description |
1208
- | ----------------------- | -------- | ------------------------- | --------------------------------------------------------------------------------------------- |
1209
- | `-n` | integer | 5 (20 for --json/--files) | Max results |
1210
- | `--min-score` | number | 0 | Minimum score threshold |
1211
- | `-c, --collection` | string | all | Filter to collection |
1212
- | `--since` | string | none | Modified-at lower bound (ISO date/time or relative token) |
1213
- | `--until` | string | none | Modified-at upper bound (ISO date/time or relative token) |
1214
- | `--category` | string | none | Filter to docs with matching category/content type (comma-separated) |
1215
- | `--author` | string | none | Filter to docs where author contains value (case-insensitive) |
1216
- | `--intent` | string | none | Disambiguating context for ambiguous queries; steers snippets without being searched directly |
1217
- | `--exclude` | string | none | Hard-prune docs containing any comma-separated term in title/path/body |
1218
- | `--tags-all` | string | none | Filter to docs with ALL tags (comma-separated) |
1219
- | `--tags-any` | string | none | Filter to docs with ANY tag (comma-separated) |
1220
- | `--project-root` | string[] | cwd | Trusted project root; repeatable, replaces default cwd/repository affinity |
1221
- | `--no-project-affinity` | boolean | false | Disable project-aware soft ranking; invalid with `--project-root` |
1222
- | `--full` | boolean | false | Include full mirror content instead of snippet |
1223
- | `--line-numbers` | boolean | false | Include line numbers in output |
1224
- | `--lang` | string | auto | Language filter/hint (BCP-47) |
1208
+ | Option | Type | Default | Description |
1209
+ | ----------------------- | -------- | ------------------------- | -------------------------------------------------------------------------------------------------------------------- |
1210
+ | `--query-file` | string | none | Read the query from a file; `-` reads stdin so the query never appears on argv. Do not also pass a positional query. |
1211
+ | `-n` | integer | 5 (20 for --json/--files) | Max results |
1212
+ | `--min-score` | number | 0 | Minimum score threshold |
1213
+ | `-c, --collection` | string | all | Filter to collection |
1214
+ | `--since` | string | none | Modified-at lower bound (ISO date/time or relative token) |
1215
+ | `--until` | string | none | Modified-at upper bound (ISO date/time or relative token) |
1216
+ | `--category` | string | none | Filter to docs with matching category/content type (comma-separated) |
1217
+ | `--author` | string | none | Filter to docs where author contains value (case-insensitive) |
1218
+ | `--intent` | string | none | Disambiguating context for ambiguous queries; steers snippets without being searched directly |
1219
+ | `--exclude` | string | none | Hard-prune docs containing any comma-separated term in title/path/body |
1220
+ | `--tags-all` | string | none | Filter to docs with ALL tags (comma-separated) |
1221
+ | `--tags-any` | string | none | Filter to docs with ANY tag (comma-separated) |
1222
+ | `--project-root` | string[] | cwd | Trusted project root; repeatable, replaces default cwd/repository affinity |
1223
+ | `--no-project-affinity` | boolean | false | Disable project-aware soft ranking; invalid with `--project-root` |
1224
+ | `--full` | boolean | false | Include full mirror content instead of snippet |
1225
+ | `--line-numbers` | boolean | false | Include line numbers in output |
1226
+ | `--lang` | string | auto | Language filter/hint (BCP-47) |
1225
1227
 
1226
1228
  **Scoring:**
1227
1229
 
@@ -1336,15 +1338,18 @@ Hybrid search combining BM25 and vector retrieval with optional expansion and re
1336
1338
  **Synopsis:**
1337
1339
 
1338
1340
  ```bash
1339
- gno query <query> [-n <num>] [--min-score <num>] [-c <collection>] [--since <date>] [--until <date>] [--category <values>] [--author <text>] [--intent <text>] [--exclude <values>] [-C <num>] [--tags-all <tags>] [--tags-any <tags>] [--full] [--line-numbers] [--lang <bcp47>] [--no-expand] [--no-rerank] [--graph] [--no-graph] [--query-mode <mode:text>]... [--explain] [--json|--files|--csv|--md|--xml]
1341
+ gno query [query...] [--query-file <path>] [-n <num>] [--min-score <num>] [-c <collection>] [--since <date>] [--until <date>] [--category <values>] [--author <text>] [--intent <text>] [--exclude <values>] [-C <num>] [--tags-all <tags>] [--tags-any <tags>] [--full] [--line-numbers] [--lang <bcp47>] [--no-expand] [--no-rerank] [--graph] [--no-graph] [--query-mode <mode:text>]... [--explain] [--json|--files|--csv|--md|--xml]
1340
1342
  gno query diagnose <query> --target <doc> [-n <num>] [--min-score <num>] [-c <collection>] [--since <date>] [--until <date>] [--category <values>] [--author <text>] [--intent <text>] [--exclude <values>] [-C <num>] [--tags-all <tags>] [--tags-any <tags>] [--lang <bcp47>] [--no-expand] [--no-rerank] [--graph] [--no-graph] [--json]
1341
1343
  ```
1342
1344
 
1345
+ The positional query is optional when `--query-file` is set. Do not pass both. `--query-file` is invalid on `query diagnose`.
1346
+
1343
1347
  **Options:** Same as `gno search`, plus:
1344
1348
 
1345
1349
  **Additional Options:**
1346
1350
  | Option | Type | Description |
1347
1351
  |--------|------|-------------|
1352
+ | `--query-file` | string | Same as `gno search`: read the query from a file (`-` is stdin). Invalid with a positional query and invalid on `query diagnose`. |
1348
1353
  | `--no-expand` | boolean | Disable query expansion |
1349
1354
  | `--no-rerank` | boolean | Disable cross-encoder reranking |
1350
1355
  | `--graph` | boolean | Explicitly enable the default bounded one-hop graph neighbor expansion |
@@ -1357,7 +1362,7 @@ gno query diagnose <query> --target <doc> [-n <num>] [--min-score <num>] [-c <co
1357
1362
  | `--target` | ref | Required for `query diagnose`; target document to diagnose |
1358
1363
 
1359
1364
  `query diagnose` accepts the same `--project-root` and
1360
- `--no-project-affinity` controls as `query`.
1365
+ `--no-project-affinity` controls as `query`. It rejects `--query-file`.
1361
1366
 
1362
1367
  **Compatibility / Migration:**
1363
1368