Skip to content

Commit c6c3e4d

Browse files
authored
fix(archive): repair evidence pagination (#80)
1 parent 9543a3d commit c6c3e4d

27 files changed

Lines changed: 1684 additions & 502 deletions

data/help/commands/archive/list.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Use when:
1010
- You need objects of a kind without a text query, such as all chapters or all entities.
1111

1212
Usage:
13-
wikigraph list <wikigraph-uri-with-sdpub-locator> [--type <chapter|entity|triple|source|summary|chunk[,kind...]>] [--limit <n>] [--evidence [n]] [--cursor <token>] [--json|--jsonl] [--help|-h]
13+
wikigraph list <wikigraph-uri-with-sdpub-locator> [--type <meta|chapter|entity|triple|source|summary|chunk[,kind...]>] [--limit <n>] [--evidence [n]] [--cursor <token>] [--json|--jsonl] [--help|-h]
1414

1515
Returns:
1616
- URI-addressable objects in document order.

data/help/commands/archive/search.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Use when:
1010
- You have words, names, phrases, or concepts and need candidate object URIs.
1111

1212
Usage:
13-
wikigraph search <wikigraph-uri-with-sdpub-locator> <query> [--type <chapter|entity|triple|source|summary|chunk[,kind...]>] [--limit <n>] [--evidence [n]] [--cursor <token>] [--json|--jsonl] [--help|-h]
13+
wikigraph search <wikigraph-uri-with-sdpub-locator> <query> [--type <meta|chapter|entity|triple|source|summary|chunk[,kind...]>] [--limit <n>] [--evidence [n]] [--cursor <token>] [--json|--jsonl] [--help|-h]
1414

1515
Returns:
1616
- In text output, a ranked list of full `wikigraph://...` URIs.
@@ -19,7 +19,7 @@ Returns:
1919
Notes:
2020
- Search results are leads, not source evidence.
2121
- Without `--type`, search first looks for entity objects and falls back to text objects when no entity matches.
22-
- Use `--type chapter|source|summary|chunk` to choose a text lens.
22+
- Use `--type meta|chapter|source|summary|chunk` to choose a text lens.
2323
- Add `--evidence` or `--evidence <n>` to include source evidence previews on entity and triple results.
2424
- Use `wikigraph next <cursor>` for any returned `nextCursor`.
2525
- Use a located chapter URI to keep retrieval local.

data/help/commands/root.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Purpose:
99

1010
Object model:
1111
Search and navigation return URI-addressable objects. Common object kinds are:
12-
chapter, chapter-tree, entity, triple, source, summary, chunk
12+
meta, chapter, chapter-tree, entity, triple, source, summary, chunk
1313

1414
Object workflow:
1515
- `search` returns candidate Wiki Graph URIs from query text.
@@ -20,8 +20,8 @@ Object workflow:
2020
- `pack` builds bounded Agent-readable context around one readable URI.
2121

2222
Object commands:
23-
wikigraph search <wikigraph-uri-with-sdpub-locator> <query> [--type <chapter|entity|triple|source|summary|chunk[,kind...]>] [--limit <n>] [--cursor <token>] [--evidence [n]] [--json|--jsonl]
24-
wikigraph list <wikigraph-uri-with-sdpub-locator> [--type <chapter|entity|triple|source|summary|chunk[,kind...]>] [--limit <n>] [--cursor <token>] [--evidence [n]] [--json|--jsonl]
23+
wikigraph search <wikigraph-uri-with-sdpub-locator> <query> [--type <meta|chapter|entity|triple|source|summary|chunk[,kind...]>] [--limit <n>] [--cursor <token>] [--evidence [n]] [--json|--jsonl]
24+
wikigraph list <wikigraph-uri-with-sdpub-locator> [--type <meta|chapter|entity|triple|source|summary|chunk[,kind...]>] [--limit <n>] [--cursor <token>] [--evidence [n]] [--json|--jsonl]
2525
wikigraph get <object-uri> [--evidence [n]] [--json|--jsonl]
2626
wikigraph related <object-uri> [--evidence [n]] [--json|--jsonl]
2727
wikigraph evidence <entity|triple|summary|chunk-uri> [--limit <n>] [--cursor <token>] [--json|--jsonl]

data/help/topics/ai.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ Example:
2626
wikigraph search wikigraph:///Users/me/book.sdpub "朱元璋" --type entity,triple --limit 20 --json
2727

2828
Use `--type` on search to filter currently searchable object kinds:
29-
chapter, source, summary, chunk, entity, triple
29+
meta, chapter, source, summary, chunk, entity, triple
3030

3131
Use `--json` or `--jsonl` when a stable machine-readable result is needed.

0 commit comments

Comments
 (0)