llm-wiki-kit 0.3.0__py3-none-any.whl

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.
Files changed (124) hide show
  1. llm_wiki_kit-0.3.0.dist-info/METADATA +294 -0
  2. llm_wiki_kit-0.3.0.dist-info/RECORD +124 -0
  3. llm_wiki_kit-0.3.0.dist-info/WHEEL +5 -0
  4. llm_wiki_kit-0.3.0.dist-info/entry_points.txt +2 -0
  5. llm_wiki_kit-0.3.0.dist-info/licenses/LICENSE +21 -0
  6. llm_wiki_kit-0.3.0.dist-info/licenses/src/wiki_cli/map/3d-force-graph.LICENSE +21 -0
  7. llm_wiki_kit-0.3.0.dist-info/top_level.txt +1 -0
  8. wiki_cli/__init__.py +4 -0
  9. wiki_cli/__main__.py +5 -0
  10. wiki_cli/agents.py +233 -0
  11. wiki_cli/audit.py +106 -0
  12. wiki_cli/cache.py +694 -0
  13. wiki_cli/chunking.py +166 -0
  14. wiki_cli/cli.py +1734 -0
  15. wiki_cli/clusters.py +376 -0
  16. wiki_cli/codebase.py +259 -0
  17. wiki_cli/commit.py +77 -0
  18. wiki_cli/config.py +530 -0
  19. wiki_cli/connect.py +197 -0
  20. wiki_cli/covering.py +189 -0
  21. wiki_cli/edges.py +215 -0
  22. wiki_cli/evaluate.py +167 -0
  23. wiki_cli/frontmatter.py +62 -0
  24. wiki_cli/groups.py +104 -0
  25. wiki_cli/guide.py +181 -0
  26. wiki_cli/guides/code/lint.md +65 -0
  27. wiki_cli/guides/code/query.md +70 -0
  28. wiki_cli/guides/code/sync.md +52 -0
  29. wiki_cli/guides/code/work.md +53 -0
  30. wiki_cli/guides/ingest.md +318 -0
  31. wiki_cli/guides/lint.md +83 -0
  32. wiki_cli/guides/parts/fetch-pr.md +4 -0
  33. wiki_cli/guides/parts/fetch-record.md +5 -0
  34. wiki_cli/guides/parts/fetch-source.md +3 -0
  35. wiki_cli/guides/parts/pr-tickets.md +2 -0
  36. wiki_cli/guides/query.md +70 -0
  37. wiki_cli/guides/writing/ingest.md +137 -0
  38. wiki_cli/guides/writing/lint.md +64 -0
  39. wiki_cli/guides/writing/query.md +59 -0
  40. wiki_cli/hook.py +232 -0
  41. wiki_cli/hooks/pre-commit +27 -0
  42. wiki_cli/init.py +307 -0
  43. wiki_cli/links.py +200 -0
  44. wiki_cli/map/3d-force-graph.LICENSE +21 -0
  45. wiki_cli/map/3d-force-graph.min.js +5 -0
  46. wiki_cli/map/template.html +359 -0
  47. wiki_cli/model.py +21 -0
  48. wiki_cli/models.py +335 -0
  49. wiki_cli/nav.py +490 -0
  50. wiki_cli/originals.py +97 -0
  51. wiki_cli/output.py +141 -0
  52. wiki_cli/pages.py +353 -0
  53. wiki_cli/precommit.py +76 -0
  54. wiki_cli/presets/code/agents-section.md +11 -0
  55. wiki_cli/presets/code/code-repo-section.md +10 -0
  56. wiki_cli/presets/code/code-repo-wiki.md +23 -0
  57. wiki_cli/presets/code/files/AGENTS.md +67 -0
  58. wiki_cli/presets/code/files/dot-gitignore +1 -0
  59. wiki_cli/presets/code/files/dot-wiki-cli.toml +185 -0
  60. wiki_cli/presets/code/files/raw/dot-gitkeep +0 -0
  61. wiki_cli/presets/code/files/templates/analysis.md +24 -0
  62. wiki_cli/presets/code/files/templates/concept.md +16 -0
  63. wiki_cli/presets/code/files/templates/decision.md +27 -0
  64. wiki_cli/presets/code/files/templates/dependency.md +26 -0
  65. wiki_cli/presets/code/files/templates/epic.md +23 -0
  66. wiki_cli/presets/code/files/templates/file.md +24 -0
  67. wiki_cli/presets/code/files/templates/gotcha.md +24 -0
  68. wiki_cli/presets/code/files/templates/instruction.md +20 -0
  69. wiki_cli/presets/code/files/templates/module.md +27 -0
  70. wiki_cli/presets/code/files/templates/pr.md +28 -0
  71. wiki_cli/presets/code/files/templates/ticket.md +26 -0
  72. wiki_cli/presets/code/files/templates/weekly.md +14 -0
  73. wiki_cli/presets/code/files/wiki/open-questions.md +13 -0
  74. wiki_cli/presets/research/agents-section.md +11 -0
  75. wiki_cli/presets/research/files/AGENTS.md +68 -0
  76. wiki_cli/presets/research/files/dot-gitignore +1 -0
  77. wiki_cli/presets/research/files/dot-wiki-cli.toml +110 -0
  78. wiki_cli/presets/research/files/raw/dot-gitkeep +0 -0
  79. wiki_cli/presets/research/files/templates/analysis.md +21 -0
  80. wiki_cli/presets/research/files/templates/concept.md +16 -0
  81. wiki_cli/presets/research/files/templates/event.md +22 -0
  82. wiki_cli/presets/research/files/templates/organization.md +21 -0
  83. wiki_cli/presets/research/files/templates/person.md +22 -0
  84. wiki_cli/presets/research/files/templates/place.md +16 -0
  85. wiki_cli/presets/research/files/templates/source.md +28 -0
  86. wiki_cli/presets/research/files/wiki/open-questions.md +13 -0
  87. wiki_cli/presets/writing/agents-section.md +12 -0
  88. wiki_cli/presets/writing/files/AGENTS.md +88 -0
  89. wiki_cli/presets/writing/files/dot-gitignore +5 -0
  90. wiki_cli/presets/writing/files/dot-wiki-cli.toml +291 -0
  91. wiki_cli/presets/writing/files/originals/loose/dot-gitkeep +0 -0
  92. wiki_cli/presets/writing/files/raw/dot-gitkeep +0 -0
  93. wiki_cli/presets/writing/files/templates/analysis.md +19 -0
  94. wiki_cli/presets/writing/files/templates/chapter.md +36 -0
  95. wiki_cli/presets/writing/files/templates/character.md +30 -0
  96. wiki_cli/presets/writing/files/templates/decision.md +23 -0
  97. wiki_cli/presets/writing/files/templates/event.md +23 -0
  98. wiki_cli/presets/writing/files/templates/idea.md +27 -0
  99. wiki_cli/presets/writing/files/templates/item.md +19 -0
  100. wiki_cli/presets/writing/files/templates/location.md +20 -0
  101. wiki_cli/presets/writing/files/templates/lore.md +21 -0
  102. wiki_cli/presets/writing/files/templates/organization.md +22 -0
  103. wiki_cli/presets/writing/files/templates/originals/chapter.md +6 -0
  104. wiki_cli/presets/writing/files/templates/originals/idea.md +6 -0
  105. wiki_cli/presets/writing/files/templates/originals/scene.md +6 -0
  106. wiki_cli/presets/writing/files/templates/plotline.md +22 -0
  107. wiki_cli/presets/writing/files/templates/scene.md +40 -0
  108. wiki_cli/presets/writing/files/templates/source.md +25 -0
  109. wiki_cli/presets/writing/files/templates/style.md +15 -0
  110. wiki_cli/presets/writing/files/templates/theme.md +15 -0
  111. wiki_cli/presets/writing/files/templates/thread.md +23 -0
  112. wiki_cli/presets/writing/files/wiki/open-questions.md +15 -0
  113. wiki_cli/records.py +103 -0
  114. wiki_cli/scaffold.py +547 -0
  115. wiki_cli/search.py +173 -0
  116. wiki_cli/sessions.py +52 -0
  117. wiki_cli/sources.py +179 -0
  118. wiki_cli/suggest.py +148 -0
  119. wiki_cli/tasks.py +359 -0
  120. wiki_cli/validation.py +191 -0
  121. wiki_cli/vec.py +43 -0
  122. wiki_cli/vecmap.py +471 -0
  123. wiki_cli/vocabulary.py +147 -0
  124. wiki_cli/weekly.py +814 -0
@@ -0,0 +1,294 @@
1
+ Metadata-Version: 2.4
2
+ Name: llm-wiki-kit
3
+ Version: 0.3.0
4
+ Summary: Start and run an LLM-maintained wiki with any agent: presets, workflow guides, search, typed relations and guided navigation.
5
+ Author: Griffin Hackley
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/GriffinHackley/LLM-WIKI
8
+ Project-URL: Documentation, https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/getting-started.md
9
+ Project-URL: Issues, https://github.com/GriffinHackley/LLM-WIKI/issues
10
+ Project-URL: Changelog, https://github.com/GriffinHackley/LLM-WIKI/blob/main/CHANGELOG.md
11
+ Keywords: wiki,llm,agents,knowledge-base,obsidian,markdown,search,claude,codex
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Topic :: Documentation
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Classifier: Topic :: Text Processing :: Markup :: Markdown
22
+ Requires-Python: >=3.13
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ License-File: src/wiki_cli/map/3d-force-graph.LICENSE
26
+ Requires-Dist: PyYAML>=6
27
+ Requires-Dist: sqlite-vec>=0.1.9
28
+ Requires-Dist: fastembed==0.8.1
29
+ Requires-Dist: onnxruntime>=1.20
30
+ Requires-Dist: tokenizers>=0.20
31
+ Requires-Dist: numpy>=2
32
+ Requires-Dist: networkx>=3.2
33
+ Requires-Dist: umap-learn>=0.5.7
34
+ Provides-Extra: test
35
+ Requires-Dist: pytest>=8; extra == "test"
36
+ Dynamic: license-file
37
+
38
+ # LLM wiki starter kit (`wiki`)
39
+
40
+ Start and run an **LLM-maintained wiki** (a folder of Markdown notes that an agent
41
+ keeps: an Obsidian vault, a research notebook, a wiki about a codebase) with any agent
42
+ that can run shell commands: Claude Code, Codex, Cursor, Copilot, OpenCode and others.
43
+
44
+ - **`wiki new`** sets up a wiki from a preset: folder layout, page templates, an
45
+ `AGENTS.md` telling the agent how to be the librarian, and a config whose relation
46
+ rules match the templates. Presets: `research` (sources in, pages out), `code` (a
47
+ wiki in its own repo describing a code repo) and `writing` (stories you write in
48
+ Obsidian, and a wiki of their characters, places and plotlines).
49
+ - **`wiki guide`** prints the workflow an agent follows (ingest a source, answer a
50
+ question, audit the wiki, sync after code changes), versioned with the command so the
51
+ steps never go stale.
52
+ - **Search and navigation** find the best starting page without reading an index, show
53
+ where each page leads through typed relations with reasons, and read only the sections
54
+ needed, within a page limit.
55
+
56
+ **New here? Start with [docs/getting-started.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/getting-started.md).**
57
+ [docs/workflows.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/workflows.md) covers the workflows and how to customise them,
58
+ [docs/presets.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/presets.md) the presets, [docs/config.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/config.md) every config
59
+ setting. [PLAN.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/PLAN.md) is the current plan,
60
+ [FUTURE_IDEAS.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/FUTURE_IDEAS.md) the deferred ideas.
61
+
62
+ The `wiki` command never edits pages: agents do. What it builds for search lives in a
63
+ disposable SQLite cache in `<root>/.cache/`.
64
+
65
+ ## Install
66
+
67
+ Requires [uv](https://docs.astral.sh/uv/getting-started/installation/), which installs
68
+ Python 3.13 for the tool if needed.
69
+
70
+ ```bash
71
+ uv tool install llm-wiki-kit # once per machine; the command is `wiki`
72
+ wiki models download # once: about 0.2 GB
73
+ ```
74
+
75
+ `uv tool upgrade llm-wiki-kit` updates it. The latest code, before a release:
76
+ `uv tool install git+https://github.com/GriffinHackley/LLM-WIKI`. For development, from a clone:
77
+
78
+ ```bash
79
+ uv tool install --editable . # 'wiki' follows the checkout
80
+ python -m venv .venv && .venv/Scripts/python -m pip install -e ".[test]"
81
+ ```
82
+
83
+ An earlier install named `wiki-cli` also provides `wiki`: remove it first with
84
+ `uv tool uninstall wiki-cli`.
85
+
86
+ ## Quick start
87
+
88
+ A new research wiki:
89
+
90
+ ```bash
91
+ wiki new my-wiki --agent claude # optional slash commands (also copilot, opencode); AGENTS.md works for any agent
92
+ cd my-wiki
93
+ # put a source in raw/, then ask your agent: "ingest raw/<file>"
94
+ ```
95
+
96
+ A wiki about a codebase, in its own repo beside the code, or in a folder of the code's repo:
97
+
98
+ ```bash
99
+ wiki new my-app-wiki --preset code --code ../my-app
100
+ # or, from the code repo: wiki new docs/wiki --preset code --code .
101
+ # add the lines it prints to the code repo, then work from there as usual
102
+ ```
103
+
104
+ A wiki for your writing: you write ideas, scenes and chapters in `originals/` in
105
+ Obsidian, the agent never touches them, and keeps a wiki of the stories:
106
+
107
+ ```bash
108
+ wiki new my-stories --preset writing --agent claude
109
+ # open it in Obsidian (Templater, Linter, Obsidian Git), write, then ask: "ingest the storm scene"
110
+ ```
111
+
112
+ An existing folder of notes (an Obsidian vault, a `docs/` folder, a wiki an agent already
113
+ keeps):
114
+
115
+ ```bash
116
+ cd my-notes
117
+ wiki new . --agent claude # drafts a .wiki-cli.toml from your pages, adds the agent files
118
+ wiki index refresh # index and embed (about 2 minutes per 500 pages on CPU)
119
+ wiki search "how do I configure the exporter?"
120
+ ```
121
+
122
+ Your pages stay as they are; [getting started](https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/getting-started.md#6-add-to-an-existing-wiki)
123
+ covers reviewing the drafted config and adopting a preset's page types.
124
+
125
+ It also works with no configuration at all: every `*.md` file under the folder is a
126
+ page, `raw/**/*.txt` is searchable source text, and every link is a `links-to` relation
127
+ whose reason is the sentence around it.
128
+
129
+ ## Configure: `.wiki-cli.toml`
130
+
131
+ Commands find the root by walking up to the nearest `.wiki-cli.toml`, else use the
132
+ enclosing git repository, else the current folder, and say which folder they chose when
133
+ no config did. They refuse to treat your home folder or a drive root as a wiki. `--root`
134
+ or `WIKI_ROOT` overrides all of this, and `WIKI_CONFIG` points at a different config
135
+ file. Every setting is optional; [docs/config.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/config.md) is the full reference,
136
+ with each key's type and default:
137
+
138
+ ```toml
139
+ preset = "research" # the preset `wiki new` used; picks guide variants
140
+ pages = ["wiki/**/*.md"] # default ["**/*.md"]
141
+ exclude = ["wiki/index.md"] # default none
142
+ raw = ["raw/**/*.txt"] # default; searched only with --include-raw
143
+ embed_model = "BAAI/bge-small-en-v1.5" # default; $WIKI_EMBED_MODEL overrides
144
+ reranker = "jinaai/jina-reranker-v1-turbo-en" # default, or "none"; $WIKI_RERANKER overrides
145
+
146
+ [types.person] # page types: guides list them, `wiki check` flags others
147
+ description = "A person."
148
+ folder = "wiki/people" # pages here get this type when frontmatter has none
149
+ template = "templates/person.md"
150
+ sections = ["Summary"] # headings and frontmatter every page of the type has,
151
+ fields = ["title", "type", "sources", "last_updated"] # checked by `wiki check`
152
+ values = { role = ["author", "subject"] } # allowed values of a field
153
+ hub = false # true: pages gather around it (see `wiki clusters`)
154
+ record = false # true: each page describes a ticket or the like, kept by key, url, synced
155
+
156
+ [records] # record types: when `wiki stale` asks for a recheck
157
+ recheck_days = 30 # default
158
+
159
+ [summary] # where a page's summary comes from, in order
160
+ fields = ["summary", "description"] # frontmatter keys (default)
161
+ headings = ["Summary", "Overview"] # default ["Summary"]; else the first paragraph
162
+
163
+ [page_type]
164
+ field = "type" # frontmatter key holding the page type (default)
165
+
166
+ [check]
167
+ require_frontmatter = false # default
168
+ summary_types = ["person"] # page types that must have a summary ("*" = all)
169
+
170
+ [suggest]
171
+ named_types = ["person", "organization"] # pages `suggest` matches by name (default: all)
172
+
173
+ [search]
174
+ results = 3 # default; pages from search, nav start and nav search (1-20)
175
+
176
+ [pending]
177
+ ignore = ["raw/SOURCES.md"] # files in raw/ that are not sources (default none)
178
+
179
+ [weekly] # weekly notes (`wiki weekly`); off without this table
180
+ folder = "weekly" # default; never indexed
181
+ group_by = "module" # "where the work went" by module, or "type" (default)
182
+
183
+ [groups] # --group on clusters and map: pages naming a group, and their neighbours
184
+ fields = ["tags"] # default; the frontmatter fields that name a page's groups
185
+
186
+ [hooks] # the pre-commit hook's extra checks, run from the root
187
+ pre_commit = ["python tools/check.py", { run = "python tools/lint.py", files = ["drafts/*.md"] }]
188
+
189
+ [guides]
190
+ dir = "guides" # the wiki's own guides, overriding built-in ones by name
191
+ parts = "guides/parts" # default; <name>.md is the wiki's own text for a guide step
192
+
193
+ [code] # code wikis only
194
+ repo = "../my-app" # the code repo, relative to the wiki; $WIKI_CODE_REPO overrides
195
+ origin = "https://github.com/me/my-app.git" # catches a pointer to the wrong checkout
196
+ ```
197
+
198
+ In a code repo, a `.wiki-cli.toml` holding only `wiki = "../my-app-wiki"` sends every
199
+ command run there to the wiki.
200
+
201
+ ## Relations
202
+
203
+ Typed relations come from rules in the same file. A rule gives links under a heading,
204
+ or the values of a frontmatter field, a type and an inverse label:
205
+
206
+ ```toml
207
+ [[relations]]
208
+ heading = "Entities mentioned" # or a list of headings
209
+ page_type = "source" # optional, or a list
210
+ type = "mentions"
211
+ inverse = "mentioned-in"
212
+
213
+ [[relations]]
214
+ field = "sources" # frontmatter field holding slugs or [[links]]
215
+ type = "draws-on"
216
+ inverse = "drawn-on-by"
217
+ reason = "Listed in sources." # optional; without it, the sentence citing the page
218
+ ```
219
+
220
+ With that rule, this list item
221
+
222
+ ```markdown
223
+ ## Entities mentioned
224
+ - [[charles-babbage]] — Inventor who delayed the demonstration (p. 2)
225
+ ```
226
+
227
+ becomes `mentions -> charles-babbage` with reason "Inventor who delayed the
228
+ demonstration (p. 2)". A link in parentheses under a typed heading, such as a citation
229
+ `([[report]], p. 2)`, is a plain link: it supports the line rather than being its subject. Without rules, links are
230
+ still relations (`links-to`), and frontmatter values written as `[[links]]` count as
231
+ links, as in Obsidian. Built in: `embeds` (a `![[page#^block]]` embed), `refers-to-code`
232
+ (a `[name](code:path)` link to a file in a code wiki's code repo) and `links-to`. When a
233
+ page reaches one target several ways, the most specific type wins: heading-rule types in
234
+ file order, then `embeds`, then field-only types, then `links-to`. `wiki vocab` lists
235
+ the types. Changing the rules re-derives relations on the next refresh without
236
+ re-embedding.
237
+
238
+ ## Commands
239
+
240
+ | Command | Purpose |
241
+ |---|---|
242
+ | `wiki new [folder] [--preset research\|code\|writing\|<folder>] [--code <repo>] [--agent claude\|copilot\|opencode ...] [--git-hook]` | Create a wiki from a preset; in a folder that already has pages, adopt it (draft its config, add the agent files, leave the pages alone); never overwrites |
243
+ | `wiki guide [<name>] [--parts]` | Print a workflow's steps for an agent; without a name, list them; `--parts` lists the steps a wiki can fill with its own text (`guides/parts/`) |
244
+ | `wiki search "<question>" [--limit 3] [--include-raw] [--keyword-only]` | Best pages for a question: keyword + vector search, fused and reranked |
245
+ | `wiki nav start \| read \| candidates \| search \| end \| log` | Guided traversal sessions (see [docs/navigation.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/navigation.md)) |
246
+ | `wiki list [--type T]` | Every page with its type and summary |
247
+ | `wiki pending [--hash <original>]` | Sources in `raw/` no page links to yet, flagging copies of sources already ingested, and originals revised since they were ingested; `--hash` prints an original's hash for its page |
248
+ | `wiki neighbors <slug> [--incoming] [--outgoing] [--relation T] [--limit N]` | A page's typed relations with reasons, no page bodies |
249
+ | `wiki suggest <slug>` | Pages a page names but does not link, shares linked pages with, or resembles |
250
+ | `wiki unwritten [--limit N]` | Link targets with no page, most-linked first |
251
+ | `wiki orphans` | Pages nothing relates to |
252
+ | `wiki clusters [--all] [--min-size 4] [--resolution 1.0] [--group G]` | Groups of pages that link each other densely (Louvain communities) with no hub page most of them link to, and no split of them into parts that each have one: leads for pages worth writing. Wikis of 30 pages or more. `--group`: only one group's pages ([groups]); `--ungrouped`: the pages in no group |
253
+ | `wiki map [--query "<question>"] [--nav <session>\|last\|all] [--chunks] [--group G] [--method auto\|umap\|pca] [--color-by type\|cluster\|age\|visits] [--open]` | A 3D map of the pages' embeddings as one HTML page in `.cache/` (works offline): points coloured by type, link cluster or age, relations as lines; a question placed among the pages with lines to its search results; nav sessions drawn as paths to step through. UMAP by default; if UMAP cannot be used it says so and uses PCA. `--group`: only one group's pages, laid out on their own |
254
+ | `wiki stale` | Pages whose covered code changed since they were verified, and record pages (tickets) due for a recheck |
255
+ | `wiki covering <path>` | A code file's notes: the pages covering it, most specific first, and the gotchas and decisions affecting them (`--session` shows each file once per agent session) |
256
+ | `wiki connect <code-repo> --agent <name>` | Set up a code repo for the work loop: write the wiki's files there (pointer, `WIKI.md`, skills, hook files) and print the lines to add by hand; `--check` reports what is missing |
257
+ | `wiki task start\|takeover\|cancel\|status` | The one open task on the code, held by one agent session: the agent hooks refuse edits to the code and the wiki outside it |
258
+ | `wiki commit "<message>"` | Commit the wiki's changes, everything but the originals folder, waiting while another git process (Obsidian Git) holds the index |
259
+ | `wiki finish -m <message>` | End the open task: commit the files it edited in the code repo, set `verified:` on the pages it checked, and commit the wiki |
260
+ | `wiki weekly [--week 2026-W40 \| current]` | With `[weekly]`: a note per finished week of work (pages added and changed, where the work went, sources, open questions, health, code) and a timeline, from git; `current` shows this week so far |
261
+ | `wiki precommit` | What the pre-commit hook checks: sources in `raw/` unchanged, last week's note, no `wiki check --all` errors, the wiki's `[hooks] pre_commit` commands |
262
+ | `wiki check <slug> \| --all [--verify-cache] [--strict] [--no-warnings] [--summary-ok]` | Frontmatter, summaries, types and their required sections and fields, uncited sources, ambiguous and unwritten links, stale summaries, code links, hub pages that several separate clusters gather around, file pages filed under a broader module than the one covering them |
263
+ | `wiki check <source-slug> --ingested` | Whether an ingest is complete: original linked, discussed pages named and citing it, all clean and committed |
264
+ | `wiki index refresh \| rebuild [--no-embed] \| status` | Manage the cache and embeddings |
265
+ | `wiki init [--write] [--preset <name>]` | Survey an existing folder and draft a `.wiki-cli.toml` (never overwrites); `--preset` adds the preset's page types, relation rules and weekly notes, or prints just those for a wiki that has a config |
266
+ | `wiki models list \| download` | Supported models; `download` is the only command that downloads |
267
+ | `wiki eval sample \| run` | Search-quality evaluation (see [docs/evaluation.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/evaluation.md)) |
268
+ | `wiki vocab` | Relation types, their inverses, and where each comes from |
269
+
270
+ All commands accept `--format json` (compact, deterministic); commands on a wiki accept
271
+ `--root` and `--cache`. Exit codes: 0 success, 1 validation failures, 2 usage or runtime
272
+ errors.
273
+
274
+ ## Models
275
+
276
+ `--embed-model` / `WIKI_EMBED_MODEL` and `--reranker` / `WIKI_RERANKER` override
277
+ `.wiki-cli.toml`. Models load from `~/.cache/wiki-cli/models/` only; run
278
+ `wiki models download` once. Without a downloaded model, search falls back to
279
+ keyword-only and says so. [docs/model-selection.md](https://github.com/GriffinHackley/LLM-WIKI/blob/main/docs/model-selection.md) explains the
280
+ defaults.
281
+
282
+ ## Tests and benchmark
283
+
284
+ ```bash
285
+ .venv/Scripts/python -m pytest
286
+ .venv/Scripts/python benchmarks/bench_synthetic.py --pages 30000 --relations 100000
287
+ ```
288
+
289
+ The tests use fake models and download nothing. GitHub Actions runs them on Windows,
290
+ macOS and Linux.
291
+
292
+ ## License
293
+
294
+ MIT; see [LICENSE](https://github.com/GriffinHackley/LLM-WIKI/blob/main/LICENSE).
@@ -0,0 +1,124 @@
1
+ llm_wiki_kit-0.3.0.dist-info/licenses/LICENSE,sha256=0_aSZ9T1hxNoxksnKS-ps21jyQWzwh3aZ63eh-vz9KI,1072
2
+ llm_wiki_kit-0.3.0.dist-info/licenses/src/wiki_cli/map/3d-force-graph.LICENSE,sha256=cmLlZuh00c6M-trOAdT2NfjXBLa997Q0XMAo5frq_e0,1072
3
+ wiki_cli/__init__.py,sha256=UyBUZ5NTcx3yOIbJsl7i1YrQIKXUzuXEqqZ_CZe0WlA,155
4
+ wiki_cli/__main__.py,sha256=r--dxBwYYftj1Azx-8tmZa68YuB4_vRyS2vG4E_ZohA,60
5
+ wiki_cli/agents.py,sha256=MUV-m1jXtA45f5juNV7AzkDEi4ANM67GwNf_bHqokDo,10695
6
+ wiki_cli/audit.py,sha256=kOMgt8TVgpDuAo5Fbed8WwLbNhqbcg6BwX836-C8n8Y,6009
7
+ wiki_cli/cache.py,sha256=ArMP1zFWsKCOSMVijyUnnaWdRtOzxhCeLtymBXr-INY,32737
8
+ wiki_cli/chunking.py,sha256=iCDCsXNQH6d-DdTQ4FuXMZjgJGmdbkyExVwYrHNHe58,6584
9
+ wiki_cli/cli.py,sha256=xfH9JNB-QxP5cKvUIzMUrzxnnW0NaDtZPJcKv4K9TTw,87504
10
+ wiki_cli/clusters.py,sha256=HaPYJe9ZSMqW5AZ0_Yplbzf9gSxC_tF3zuPaUh_8Jho,19578
11
+ wiki_cli/codebase.py,sha256=X2Zekc_gQ_NiXUno6Vd_bUlC4_IJg12mLMFuRFhn-OI,10987
12
+ wiki_cli/commit.py,sha256=ei2n1fdcmpgT1p1eIjO_-6-XTTfzte2qRyhafPX9zq8,3326
13
+ wiki_cli/config.py,sha256=Fr_5oXwRjS6d_tgyVGLKxxfQXUKb78M3pAfq3fM30M8,28259
14
+ wiki_cli/connect.py,sha256=J8tO2jU0tiJWCh6zabRHp4zg4A6YV07pIvWcciLVlfg,9661
15
+ wiki_cli/covering.py,sha256=x2W2zNNL5SeRV7qAJmyY62xCaKWtoIaPn9fUHXvxD10,8751
16
+ wiki_cli/edges.py,sha256=21RKofkq6S2GthBfpZ9yIfeTjESiGcGnZvLPqTonMl4,10075
17
+ wiki_cli/evaluate.py,sha256=5mTcXABkDLlDaWD8dKMmFTEIv3yzJSTHcEn5IdS9RP4,7143
18
+ wiki_cli/frontmatter.py,sha256=wcrZcw1Fr6AapUzktuTGqXh1PRAdcE99-oj-6GpYnb0,2001
19
+ wiki_cli/groups.py,sha256=p3b6yMFZYIImFBbJxl8oeXMDnAsU2IsZi-Bhijbh5cM,4703
20
+ wiki_cli/guide.py,sha256=h7Xpa0n6PtivcUm07plmjUFSTZLzy5NWP7aLP1iYOZc,8726
21
+ wiki_cli/hook.py,sha256=XHGF0sGw9IR1u27JVGA2YIAIbZK9F4PGOdGaOCMnGKY,10943
22
+ wiki_cli/init.py,sha256=ErMNc_hjxN5f2z7TxMbZZxECsIFd4lmUixnUGsiSOhg,15283
23
+ wiki_cli/links.py,sha256=J20XT70yorI08tZxQ_GBofCJRhdcI8td_EKlqkLDNRY,8426
24
+ wiki_cli/model.py,sha256=nxoWtrzOkny5fgKV6GefrnFv8qCdWyvn0ZUtHmiIY0A,438
25
+ wiki_cli/models.py,sha256=3gk0TLNMojKfe4cNIyltuPD9hK0QSyCptzKEitrXfLM,13479
26
+ wiki_cli/nav.py,sha256=c4TWplD5rrp8eG4ezmkV88wzzo7Z47V5I_5-svLbV-I,24725
27
+ wiki_cli/originals.py,sha256=D2HFGzPzvldt1tFXb33dexThyXEspir59V937w6moZw,4311
28
+ wiki_cli/output.py,sha256=wTw3_Aj-kyljJYtiPBhPfrNnJXMkxaG26ZeX9V7rOoE,5427
29
+ wiki_cli/pages.py,sha256=eSYcNfUiKsSJmN9ETEL0RIwD6zqBdUYzBV-pRqGHWxY,14074
30
+ wiki_cli/precommit.py,sha256=YMurfma67tQM6S_oUsrYjBjoIjInwAs8cZfUGlWSs5E,3413
31
+ wiki_cli/records.py,sha256=08_I7VYDSlyYVDsugzTEbACuHLpNqZsF_rJJ2ZQpxqE,4894
32
+ wiki_cli/scaffold.py,sha256=mV8knIf9p5C0ffhbX4-KnrfzYfe-gndWNRhhGhEeonw,27175
33
+ wiki_cli/search.py,sha256=RNiMd3Km2Iy0qMZHEjgp2ZeQQlMPgcHT4OeJdyIcmE4,6378
34
+ wiki_cli/sessions.py,sha256=O9vlrdX8Yylk-a6ZZgxDzrdTQIlJOdhokw4rDqL6u7w,1719
35
+ wiki_cli/sources.py,sha256=jEFfPuhHzJQkM-Jks8O0OvNY2LjhfU7mUPZ_AW1rBkw,7586
36
+ wiki_cli/suggest.py,sha256=3sG5X_Tc5HGRfsEHhqkb6BeldtO87EQOnOU_YIH_TIc,6531
37
+ wiki_cli/tasks.py,sha256=dCam89epVBXWRdzb3slEKsDCFbK-XgaqP6MRDHyy9pc,15901
38
+ wiki_cli/validation.py,sha256=VDZJntdjReR8_G_Il8HiscUIr8aylKYauIlorA65npo,9538
39
+ wiki_cli/vec.py,sha256=wqUQzpbMwTvVnY2Z8hP81C2yvM_Q5izvSEVJRMz1KxA,1590
40
+ wiki_cli/vecmap.py,sha256=X65zLHSQ2BziWKF8cJ519eQRAriGHMgfFmlp5Gyovb0,21210
41
+ wiki_cli/vocabulary.py,sha256=_plp7Ut11IOBBi6o5MzIA07274TcCH2ui3DxwpCaMlk,6381
42
+ wiki_cli/weekly.py,sha256=svHUpQxrb2W_vRFYb98stc1xLAMFgSlxEnF1WwjXUnQ,35947
43
+ wiki_cli/guides/ingest.md,sha256=EWiHd0dyuQu-ZJZL7eg7zArPNMev8CtqsxHWq9EbwEA,20416
44
+ wiki_cli/guides/lint.md,sha256=MCI-ZfZrz9W_cNuP54T1VJq9RUgcYSvINSQ3_c2BzP0,5247
45
+ wiki_cli/guides/query.md,sha256=DxD_T60RT3mFUqxeyCD4lyPrTD5vU7uu56HuINBYaK0,4533
46
+ wiki_cli/guides/code/lint.md,sha256=T5TRSuP5IZGAu-EXxhMBHyL3sfeE8lZKS1era_xpqBQ,4160
47
+ wiki_cli/guides/code/query.md,sha256=cKgYebFvAYkZp4cDrWJXzd7f9gUvIp-7UyVN9vQBgGY,4557
48
+ wiki_cli/guides/code/sync.md,sha256=yl2mYHMKSf92XuUz915RBfCPeT0_TIXH-qQTSVzy538,2772
49
+ wiki_cli/guides/code/work.md,sha256=sxpJRdZ5zrAvdA7n8z4CHvcskGiAF-nYBsTcMnciFN0,3609
50
+ wiki_cli/guides/parts/fetch-pr.md,sha256=P7LWntpN_gvFj8SP7mrhxoVnzSQ-KNQQ3p0mnGHYwqQ,346
51
+ wiki_cli/guides/parts/fetch-record.md,sha256=yBeBBE9MhJDp4UqTHG7OLK8s0YiRWmJYBCeEuhhAy0Y,420
52
+ wiki_cli/guides/parts/fetch-source.md,sha256=0KMvXeIOl4cgmr6wO12V8qsq5kkWnt1Gt_59Ie7MsBY,206
53
+ wiki_cli/guides/parts/pr-tickets.md,sha256=owQ5dxDr1byJKHN6R4WJbf5TF3RNrxpsukkvpDE2n9g,100
54
+ wiki_cli/guides/writing/ingest.md,sha256=46oQlScJ4D4q1oen1SX7qyuac9TozFZ20nEiW0qY9ys,9209
55
+ wiki_cli/guides/writing/lint.md,sha256=h-4YFIDY22rvcQBqoyu6SH0laNmeiZtd3PcX86MLrJI,4034
56
+ wiki_cli/guides/writing/query.md,sha256=YnuLt8vye4brc0imi-lvnDHUMsvWILNS548k_1ZKejs,3833
57
+ wiki_cli/hooks/pre-commit,sha256=s8NtDUuzuKuKd1YQt1QbmCyTAofoBSv9iTZgUiXq1SI,1562
58
+ wiki_cli/map/3d-force-graph.LICENSE,sha256=cmLlZuh00c6M-trOAdT2NfjXBLa997Q0XMAo5frq_e0,1072
59
+ wiki_cli/map/3d-force-graph.min.js,sha256=EwiDQKrUCBVgZP0SDDvDpHyTo8xFuPEy1ihLIOIiO-k,1389954
60
+ wiki_cli/map/template.html,sha256=BACz44Z4jpGqwh-9DVeLKGwOInuRyDrQMVhs79CET5k,20665
61
+ wiki_cli/presets/code/agents-section.md,sha256=HZL9O133FPTSz64Ay62GLnTvVvm3EUwErlAglKPT5B8,392
62
+ wiki_cli/presets/code/code-repo-section.md,sha256=8ZbHvcQ17th4MO5cjrk1wFVcoJWdmRcWDJzIzYxsByQ,533
63
+ wiki_cli/presets/code/code-repo-wiki.md,sha256=cYLx5OW6obfeSoAKTlZ9kr4g_s-ii1mazMhalKl0ohc,1276
64
+ wiki_cli/presets/code/files/AGENTS.md,sha256=kfWKh0QehwnSUW5Q-jhOq5xSB_g5D-i4YZOoGFSPl2c,3373
65
+ wiki_cli/presets/code/files/dot-gitignore,sha256=cKITr-q-WsOK5MiLLHACzlBouRo-V6AyJFq4CdxvpGA,8
66
+ wiki_cli/presets/code/files/dot-wiki-cli.toml,sha256=JpH_ulk1KdmC4ipYoCE10HpmC4keb1Zffj_BZ_cNIrA,6794
67
+ wiki_cli/presets/code/files/raw/dot-gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
+ wiki_cli/presets/code/files/templates/analysis.md,sha256=e2UhYLSxRqEarQSgTVLL1OWppbAo7QG_dxMgeh4JQCU,574
69
+ wiki_cli/presets/code/files/templates/concept.md,sha256=aJLS664KwwzzRWs151siEXpACMkQq5D1erijCwvEokw,315
70
+ wiki_cli/presets/code/files/templates/decision.md,sha256=jrpgGkuVbIOcZfz-HreLrbj-hpdD4HNGe6HWzmeOY3Q,558
71
+ wiki_cli/presets/code/files/templates/dependency.md,sha256=KmPbvZ71HeqLo9P5SZ2xlTvhvsFdSU7VrpxuiF0lILY,689
72
+ wiki_cli/presets/code/files/templates/epic.md,sha256=js4m0hVesYbHzqtGMehznZrYTlAc2hfmWPlTob3yXjw,718
73
+ wiki_cli/presets/code/files/templates/file.md,sha256=nMbvQbsNapI6h91VT-7MJo1NXSSQRnGKa-10PYARDoo,635
74
+ wiki_cli/presets/code/files/templates/gotcha.md,sha256=lxUUhJqJR4iHGdT2cQSnOPgPU6_tjmXpCdFi1E3ovOI,555
75
+ wiki_cli/presets/code/files/templates/instruction.md,sha256=f-bdop-hGdncs2xfCQHgQ01__BnH7RPwVRcYt2l6crQ,454
76
+ wiki_cli/presets/code/files/templates/module.md,sha256=-_CzNl0ymt3Lt0X_vMTa5nPAnYoDW-xjgxLrIZ8LcmE,755
77
+ wiki_cli/presets/code/files/templates/pr.md,sha256=fHGzz-cjV9wwcPEXuCtZi4ZWihS6hVXg2C3ENIyLr5k,712
78
+ wiki_cli/presets/code/files/templates/ticket.md,sha256=ECf5a4PnjU3AGOhMVGmwG6aaA6KMyNBjYLdaqUy5jjk,806
79
+ wiki_cli/presets/code/files/templates/weekly.md,sha256=xg57C_ZSc6Ox3fRMH65M2mXLv-miJtz4CPguhMvtoQ4,299
80
+ wiki_cli/presets/code/files/wiki/open-questions.md,sha256=72czOugoANMpdz7IjgSN3DzgaaK4SHG3LV0YFUPdgvs,268
81
+ wiki_cli/presets/research/agents-section.md,sha256=QP9_R-Z4hpR_gy2km05tgbVjSmESA0r5nMmd860cc3k,431
82
+ wiki_cli/presets/research/files/AGENTS.md,sha256=_R7UvAnSaPUppxXOZuzOmD_D7zM-ZTPqsMRlYXDmD4Y,3457
83
+ wiki_cli/presets/research/files/dot-gitignore,sha256=cKITr-q-WsOK5MiLLHACzlBouRo-V6AyJFq4CdxvpGA,8
84
+ wiki_cli/presets/research/files/dot-wiki-cli.toml,sha256=BuhOLi0Pnj1CbQuvuGfPVmfaqnAj0cE9m4IVkP_1mcA,3527
85
+ wiki_cli/presets/research/files/raw/dot-gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
+ wiki_cli/presets/research/files/templates/analysis.md,sha256=NG0RbRcfrsZhgYKGNOEH9ElVXfIW94RdeTqY_5M4ErU,463
87
+ wiki_cli/presets/research/files/templates/concept.md,sha256=YLzGA9ieUdeQ52tExMJYDrRowtuL-A1C0RQ7PN4203A,283
88
+ wiki_cli/presets/research/files/templates/event.md,sha256=9-Ba1SFreB7bXo0pIeOOlcqNCMC62uGS4a-L8-QAvcw,520
89
+ wiki_cli/presets/research/files/templates/organization.md,sha256=zaFloxPVs62yfqmLlhYPqKslzsJi6cAdh2nKeVBncWw,459
90
+ wiki_cli/presets/research/files/templates/person.md,sha256=nfIV6mjxMPxZ3c6zWXtVyXcN8Jg6kWRw8RTWWQdOKHE,439
91
+ wiki_cli/presets/research/files/templates/place.md,sha256=KhG5wShceoMAq2Vu2DM1dt6KJKHQ_2SwDRpOoZJVyS8,354
92
+ wiki_cli/presets/research/files/templates/source.md,sha256=PYlp8tfKO6Fm37XzQWS2VORGV74laUe-2ESWZOljLV8,679
93
+ wiki_cli/presets/research/files/wiki/open-questions.md,sha256=do3qOMU80DxHIdeXVwzMKYf7HCzZyYPEUNqbWKa35Rs,262
94
+ wiki_cli/presets/writing/agents-section.md,sha256=2VsO4rPZAw4ffjOJcKcUxxGVa0sMFIAgYGLVPPrCLXg,639
95
+ wiki_cli/presets/writing/files/AGENTS.md,sha256=9LRFDSjdCsRM1bVFJDNykLM83ZVV-cI3ajkVoJcA6v4,4632
96
+ wiki_cli/presets/writing/files/dot-gitignore,sha256=fh2oir-cKL8r-ic71ZqxwpT3nNXXC8cE7OTs241NA7Q,141
97
+ wiki_cli/presets/writing/files/dot-wiki-cli.toml,sha256=kUbFitDuiPHpRimqv_RbX4EIBMgEBKf55mZZL2foZxA,8768
98
+ wiki_cli/presets/writing/files/originals/loose/dot-gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
99
+ wiki_cli/presets/writing/files/raw/dot-gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
100
+ wiki_cli/presets/writing/files/templates/analysis.md,sha256=yq3VunMV6bNXPQo2FpwAN8CXMJPO-R_DaZOPD7cywMU,435
101
+ wiki_cli/presets/writing/files/templates/chapter.md,sha256=RIAX934-N6zIk2Cs-P4WRpVJLusBcY3JfE6DpU1ut7Q,956
102
+ wiki_cli/presets/writing/files/templates/character.md,sha256=qp3H2OzO4cL6qZPwX5vvlTlcpOA8LyERAlmFthRH-qU,708
103
+ wiki_cli/presets/writing/files/templates/decision.md,sha256=PezdDNBRktpljeFRTDtGI9AQGrOf1rsKVn6MtsxsFzw,492
104
+ wiki_cli/presets/writing/files/templates/event.md,sha256=I-E-wRsjBsxpi6vMHIkyAWcprsdbAX_rwLA4tQQiWg8,601
105
+ wiki_cli/presets/writing/files/templates/idea.md,sha256=TMeruc0muNBQ2NHSftZRrTCTJpAnY-5_3rx65cuE2To,815
106
+ wiki_cli/presets/writing/files/templates/item.md,sha256=nsGgOP4VSEcKEywt3fceZnsaVo0apxEYKWhH3kE_LSU,388
107
+ wiki_cli/presets/writing/files/templates/location.md,sha256=KU9VA84UUFwgZLqD2ruXTOk84EAytlxHUtWKZJSyufA,421
108
+ wiki_cli/presets/writing/files/templates/lore.md,sha256=-la1nYpDNNCTmKQ0eSFdcITV4IE9kUYmikbamqp0560,562
109
+ wiki_cli/presets/writing/files/templates/organization.md,sha256=4gxJBDcyqviczJs_Be7fpif_bc9nGGGcK-0_kuH0g4Y,455
110
+ wiki_cli/presets/writing/files/templates/plotline.md,sha256=lVE7rVKsNTh3LVw1w7OvtHcXYokOYpqvKSfEysohffM,519
111
+ wiki_cli/presets/writing/files/templates/scene.md,sha256=bmO7fbTCskXDrp8ZkHJnTFOA4wsAOcNlPPsZH6eFCxk,1092
112
+ wiki_cli/presets/writing/files/templates/source.md,sha256=B0El_6taf6hNNIbDissNbDQUgL2fIwb4ziOwtC7sDBA,604
113
+ wiki_cli/presets/writing/files/templates/style.md,sha256=AjqYY8-uyWtdkIasNLB13Sl9ZkqmYZeAMUVyuVysD68,379
114
+ wiki_cli/presets/writing/files/templates/theme.md,sha256=EJQ3UyGFx5PcYx_kHRZQq3xnZIJ_JjKK19YMSpJmIW8,266
115
+ wiki_cli/presets/writing/files/templates/thread.md,sha256=_uVVyWAgRY_yizNXz077mGJb5VyfzjTfCf2-MDGZge8,579
116
+ wiki_cli/presets/writing/files/templates/originals/chapter.md,sha256=JDILSH4fU9JgSdal_g7EwZS8YtF5xbF2gXlEEiJ-3Sc,130
117
+ wiki_cli/presets/writing/files/templates/originals/idea.md,sha256=NRWYqDFUk0j6AdLmcxage949svNHPhs5hcxqCVxZrFc,127
118
+ wiki_cli/presets/writing/files/templates/originals/scene.md,sha256=YZwZA6vLBPoWYXWYUBY2118iU9u_VJm_gJhUjEFUFzw,128
119
+ wiki_cli/presets/writing/files/wiki/open-questions.md,sha256=lTHPzKShh3fs5QKgyAKbzGrwCDhahcqlvZZz744Jxp4,358
120
+ llm_wiki_kit-0.3.0.dist-info/METADATA,sha256=rZUNeHvrSC6wnl8IHdZ9UbuMt93IGx_Ok3jL0UI1OVk,17255
121
+ llm_wiki_kit-0.3.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
122
+ llm_wiki_kit-0.3.0.dist-info/entry_points.txt,sha256=MoEGEW3UqLQR-yXvhfsjtF0wfEiSboPvWvOnU5gxWpY,43
123
+ llm_wiki_kit-0.3.0.dist-info/top_level.txt,sha256=epGR7OxsCX2y_5K-rGFYonvZ1SeWrvXXqVkyQN90nM0,9
124
+ llm_wiki_kit-0.3.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ wiki = wiki_cli.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Griffin Hackley
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Vasco Asturiano
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ wiki_cli
wiki_cli/__init__.py ADDED
@@ -0,0 +1,4 @@
1
+ """Start and run an LLM-maintained wiki with any agent: presets, workflow guides, search, typed relations
2
+ and guided navigation."""
3
+
4
+ __version__ = "0.3.0"
wiki_cli/__main__.py ADDED
@@ -0,0 +1,5 @@
1
+ import sys
2
+
3
+ from wiki_cli.cli import main
4
+
5
+ sys.exit(main())