sdtk-wiki-kit 0.2.1 → 0.3.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 +8 -0
- package/assets/atlas/doc_atlas_viewer_template.html +519 -58
- package/bin/sdtk-wiki.js +0 -0
- package/package.json +1 -1
- package/src/commands/ask.js +2 -0
- package/src/commands/help.js +1 -0
- package/src/commands/init.js +1 -1
- package/src/commands/kaban.js +85 -0
- package/src/index.js +4 -0
- package/src/lib/wiki-ask.js +254 -19
- package/src/lib/wiki-config.js +3 -1
- package/src/lib/wiki-kaban-parse.js +529 -0
- package/src/lib/wiki-runner.js +46 -0
package/README.md
CHANGED
|
@@ -369,6 +369,14 @@ Preconditions:
|
|
|
369
369
|
- local `wiki.ask` entitlement must be valid
|
|
370
370
|
- local premium/runtime Ask pack must be available
|
|
371
371
|
|
|
372
|
+
When `--source` is given, Ask grounds on the chosen doc **plus its directly-related
|
|
373
|
+
siblings** — other docs that share the same BK issue, knowledge id, skill, or family.
|
|
374
|
+
The related docs are bounded (capped) and labelled as related, so a question about
|
|
375
|
+
one spec also sees its plan, test cases, and knowledge objects. No-filter (all docs)
|
|
376
|
+
grounding is unchanged.
|
|
377
|
+
|
|
378
|
+
The viewer's **Ask** panel has a scope picker ("Ask within"): All Docs (default), By folder (path-prefix filter with live count list), This doc + related (mapped to `--source` / `current-focus` with hyperedge expansion), and Selected docs (explicit attachment). Each answer shows a collapsible **Sources used (N)** panel with `primary` / `related` labels.
|
|
379
|
+
|
|
372
380
|
Query history is off by default. `--save-query` writes one redacted JSON record
|
|
373
381
|
under `.sdtk/wiki/queries` only after a successful answer.
|
|
374
382
|
|