keepfold 0.6.4__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 (148) hide show
  1. keepfold/__init__.py +1 -0
  2. keepfold/_proc.py +102 -0
  3. keepfold/access.py +154 -0
  4. keepfold/agent_eval.py +162 -0
  5. keepfold/agent_text.py +56 -0
  6. keepfold/anki.py +285 -0
  7. keepfold/app/__init__.py +5 -0
  8. keepfold/app/actions.py +690 -0
  9. keepfold/app/desktop.py +677 -0
  10. keepfold/app/exports.py +254 -0
  11. keepfold/app/hello.py +79 -0
  12. keepfold/app/launch.py +114 -0
  13. keepfold/app/news.py +60 -0
  14. keepfold/app/server.py +3142 -0
  15. keepfold/app/status.py +811 -0
  16. keepfold/app/targets.py +1374 -0
  17. keepfold/app/winpath.py +54 -0
  18. keepfold/app/wizard.py +506 -0
  19. keepfold/ask.py +475 -0
  20. keepfold/askfile.py +322 -0
  21. keepfold/assets/LICENSE-d3.txt +13 -0
  22. keepfold/assets/agent_eval.json +235 -0
  23. keepfold/assets/app/app.css +611 -0
  24. keepfold/assets/app/app.js +2712 -0
  25. keepfold/assets/app/capture.html +16 -0
  26. keepfold/assets/app/capture.js +91 -0
  27. keepfold/assets/app/index.html +149 -0
  28. keepfold/assets/brain3d.js +3730 -0
  29. keepfold/assets/chat_eval.json +454 -0
  30. keepfold/assets/d3.v7.min.js +2 -0
  31. keepfold/assets/dashboard.css +774 -0
  32. keepfold/assets/dashboard.html.tmpl +170 -0
  33. keepfold/assets/dashboard.js +4262 -0
  34. keepfold/assets/help/GUIDE.md +544 -0
  35. keepfold/assets/help/help.md +83 -0
  36. keepfold/assets/keepfold.ico +0 -0
  37. keepfold/assets/whats_new.json +162 -0
  38. keepfold/backup.py +100 -0
  39. keepfold/brainmap.py +1382 -0
  40. keepfold/browse/__init__.py +10 -0
  41. keepfold/browse/build.py +1320 -0
  42. keepfold/browse/forget.py +510 -0
  43. keepfold/browse/legacy.py +95 -0
  44. keepfold/browse/lists.py +285 -0
  45. keepfold/browse/privacy.py +391 -0
  46. keepfold/browse/selftest.py +166 -0
  47. keepfold/browse/sites.py +1068 -0
  48. keepfold/browse/sources.py +329 -0
  49. keepfold/browse/store.py +991 -0
  50. keepfold/browse/takeout.py +312 -0
  51. keepfold/browse/titles.py +127 -0
  52. keepfold/browse/vectors.py +326 -0
  53. keepfold/browse_serve.py +332 -0
  54. keepfold/catalog.py +564 -0
  55. keepfold/chat.py +1464 -0
  56. keepfold/chat_archive.py +165 -0
  57. keepfold/chat_eval.py +583 -0
  58. keepfold/chat_facts.py +721 -0
  59. keepfold/chat_import.py +1045 -0
  60. keepfold/chat_pages.py +291 -0
  61. keepfold/chat_study.py +371 -0
  62. keepfold/chats.py +669 -0
  63. keepfold/claims.py +650 -0
  64. keepfold/cli.py +3254 -0
  65. keepfold/clients.py +96 -0
  66. keepfold/cloudllm.py +135 -0
  67. keepfold/contract.py +43 -0
  68. keepfold/corrections.py +134 -0
  69. keepfold/dashboard.py +959 -0
  70. keepfold/dates.py +202 -0
  71. keepfold/delta.py +146 -0
  72. keepfold/digest.py +72 -0
  73. keepfold/doctor.py +565 -0
  74. keepfold/duplicates.py +145 -0
  75. keepfold/egress.py +68 -0
  76. keepfold/eval_history.py +109 -0
  77. keepfold/events.py +554 -0
  78. keepfold/export_context.py +109 -0
  79. keepfold/fact_harvest.py +578 -0
  80. keepfold/forget.py +720 -0
  81. keepfold/harvest.py +334 -0
  82. keepfold/home.py +714 -0
  83. keepfold/importers.py +627 -0
  84. keepfold/index.py +733 -0
  85. keepfold/know.py +40 -0
  86. keepfold/learning_eval.py +261 -0
  87. keepfold/levels.py +595 -0
  88. keepfold/life_sources.py +747 -0
  89. keepfold/lint.py +241 -0
  90. keepfold/localllm.py +699 -0
  91. keepfold/loops.py +316 -0
  92. keepfold/mcp_server.py +4464 -0
  93. keepfold/migrate.py +552 -0
  94. keepfold/more_sources.py +709 -0
  95. keepfold/packs.py +148 -0
  96. keepfold/people.py +99 -0
  97. keepfold/planner.py +819 -0
  98. keepfold/prime.py +630 -0
  99. keepfold/prime_hook.py +265 -0
  100. keepfold/profiles.py +118 -0
  101. keepfold/quarantine.py +123 -0
  102. keepfold/recall_log.py +93 -0
  103. keepfold/redteam.py +393 -0
  104. keepfold/reflect.py +164 -0
  105. keepfold/relink.py +477 -0
  106. keepfold/render.py +406 -0
  107. keepfold/review.py +1181 -0
  108. keepfold/rollups.py +412 -0
  109. keepfold/safety_net.py +571 -0
  110. keepfold/sample.py +103 -0
  111. keepfold/sample_vault/areas/programming.algorithms.md +11 -0
  112. keepfold/sample_vault/areas/programming.basics.md +11 -0
  113. keepfold/sample_vault/concepts/big-o-notation.md +13 -0
  114. keepfold/sample_vault/concepts/functions.md +13 -0
  115. keepfold/sample_vault/concepts/loops.md +14 -0
  116. keepfold/sample_vault/concepts/recursion.md +13 -0
  117. keepfold/sample_vault/domains/programming.md +10 -0
  118. keepfold/sample_vault/journal/2026-01-12.md +9 -0
  119. keepfold/sample_vault/me/goals.md +17 -0
  120. keepfold/sample_vault/me/profile.md +19 -0
  121. keepfold/sample_vault/mistakes/programming.off-by-one-loop.md +16 -0
  122. keepfold/sample_vault/notes/recursion-needs-a-base-case.md +18 -0
  123. keepfold/sample_vault/problems/fizzbuzz.md +12 -0
  124. keepfold/sample_vault/projects/text-adventure.md +15 -0
  125. keepfold/sample_vault/resources/python-tutorial.md +16 -0
  126. keepfold/semantic.py +1254 -0
  127. keepfold/session.py +764 -0
  128. keepfold/share.py +69 -0
  129. keepfold/sources.py +612 -0
  130. keepfold/sync_copies.py +83 -0
  131. keepfold/tags.py +230 -0
  132. keepfold/taint.py +301 -0
  133. keepfold/tonight.py +195 -0
  134. keepfold/topics.py +1072 -0
  135. keepfold/update.py +300 -0
  136. keepfold/vault.py +942 -0
  137. keepfold/vecstore.py +218 -0
  138. keepfold/voice.py +260 -0
  139. keepfold/voice_memos.py +280 -0
  140. keepfold/watch.py +303 -0
  141. keepfold/where.py +119 -0
  142. keepfold/xray.py +516 -0
  143. keepfold/zotero.py +303 -0
  144. keepfold-0.6.4.dist-info/METADATA +644 -0
  145. keepfold-0.6.4.dist-info/RECORD +148 -0
  146. keepfold-0.6.4.dist-info/WHEEL +4 -0
  147. keepfold-0.6.4.dist-info/entry_points.txt +6 -0
  148. keepfold-0.6.4.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,170 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ {{CSPMETA}}
6
+ <meta name="referrer" content="no-referrer">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <title>Keepfold</title>
9
+ {{STYLE}}
10
+ </head>
11
+ <body>
12
+ <header class="top" id="top">
13
+ <div class="brand">
14
+ <span class="wordmark" id="wordmark"></span>
15
+ <span class="greet" id="greet"></span>
16
+ </div>
17
+ <nav class="tabs" role="tablist" aria-label="Sections" id="tabs">
18
+ <button type="button" role="tab" id="tab-home" aria-controls="view-home">Home</button>
19
+ <button type="button" role="tab" id="tab-brain" aria-controls="view-brain">Brain</button>
20
+ <button type="button" role="tab" id="tab-library" aria-controls="view-library">Library</button>
21
+ <button type="button" role="tab" id="tab-you" aria-controls="view-you">You</button>
22
+ <button type="button" role="tab" id="tab-timeline" aria-controls="view-timeline">Timeline</button>
23
+ <button type="button" role="tab" id="tab-ideas" aria-controls="view-ideas">Ideas</button>
24
+ <button type="button" role="tab" id="tab-study" aria-controls="view-study">Study</button>
25
+ <button type="button" role="tab" id="tab-help" aria-controls="view-help">Help</button>
26
+ </nav>
27
+ <select class="section-select" id="section-select" aria-label="Section"></select>
28
+ <div class="hright">
29
+ <span class="clock" id="clock"></span>
30
+ <span class="stale" id="stale" hidden>· a snapshot; open Keepfold for the live view</span>
31
+ <button type="button" class="icon-btn" id="open-search" aria-label="Search (Ctrl+K)" aria-keyshortcuts="Control+K" title="Search (Ctrl+K)"></button>
32
+ <button type="button" class="icon-btn" id="theme"></button>
33
+ </div>
34
+ </header>
35
+ <main id="main">
36
+ <section id="view-home" role="tabpanel" aria-labelledby="tab-home" tabindex="-1">
37
+ <div class="home-top">
38
+ <div id="departures"></div>
39
+ <div class="board home-brain">
40
+ <div class="band">
41
+ <h2>Your brain</h2>
42
+ <span class="band-note" id="lobe-line"></span>
43
+ <div class="band-tools" id="home-brain-tools"></div>
44
+ <button type="button" class="band-btn" id="explore">Explore</button>
45
+ </div>
46
+ <div class="brain-slot" id="home-brain-slot"></div>
47
+ </div>
48
+ </div>
49
+ <div class="home-row three" id="home-row-a"></div>
50
+ <div class="home-row two" id="home-row-b"></div>
51
+ </section>
52
+
53
+ <section id="view-brain" role="tabpanel" aria-labelledby="tab-brain" tabindex="-1" hidden>
54
+ <div class="brain-stage">
55
+ <div class="viewswitch" role="group" aria-label="Brain view" id="viewswitch">
56
+ <button type="button" data-view="3d" aria-pressed="true">3D brain</button>
57
+ <button type="button" data-view="2d" aria-pressed="false">2D map</button>
58
+ <button type="button" data-view="list" aria-pressed="false">List</button>
59
+ </div>
60
+ <div class="b3d" id="b3d">
61
+ <div class="brain-tools" id="brain-tools" role="toolbar" aria-label="Brain controls"></div>
62
+ <div class="brain-slot" id="brain-slot"></div>
63
+ <aside class="rail" id="rail" aria-label="Brain filters">
64
+ <button type="button" class="rail-toggle" id="rail-toggle" aria-expanded="true">Filters</button>
65
+ <div class="rail-body" id="rail-body">
66
+ <input type="search" id="bq" placeholder="Find in the brain" aria-label="Find in the brain" autocomplete="off">
67
+ <p class="rail-note" id="bq-note"></p>
68
+ <h3>Kinds</h3>
69
+ <div class="chips" id="bkinds" role="group" aria-label="Show kinds"></div>
70
+ <h3>Concept states</h3>
71
+ <div class="chips" id="bstates" role="group" aria-label="Show concept states"></div>
72
+ <h3><button type="button" class="outline-toggle" id="outline-toggle" aria-expanded="true" aria-controls="outline-box">Outline</button></h3>
73
+ <div id="outline-box">
74
+ <button type="button" class="all-lobes" id="all-lobes" aria-pressed="true">All lobes</button>
75
+ <ul class="outline" id="outline" role="tree" aria-label="Brain outline: regions, lobes and pages"></ul>
76
+ </div>
77
+ </div>
78
+ </aside>
79
+ <div class="legend">
80
+ <button type="button" class="legend-toggle" id="legend-toggle" aria-expanded="false" aria-controls="legend">Legend</button>
81
+ <div class="legend-body" id="legend"></div>
82
+ </div>
83
+ <p class="sr-only" id="brain-live" aria-live="polite"></p>
84
+ </div>
85
+ <div class="b2d" id="b2d" hidden>
86
+ <div class="filters">
87
+ <input type="search" id="q" placeholder="Highlight on the map" aria-label="Highlight on the map" autocomplete="off">
88
+ <select id="domain" aria-label="Domain"><option value="">All domains</option></select>
89
+ <div class="chips" id="kinds" role="group" aria-label="Show kinds"></div>
90
+ <div class="chips" id="chips" role="group" aria-label="Show states"></div>
91
+ <label class="toggle"><input type="checkbox" id="weak"> Only weak</label>
92
+ <label class="toggle"><input type="checkbox" id="local"> Local graph</label>
93
+ <label class="toggle"><input type="checkbox" id="files"> Files</label>
94
+ </div>
95
+ <div class="stage" id="stage">
96
+ <nav class="tree" id="tree" aria-label="Files" hidden></nav>
97
+ <div class="graph" id="graph"></div>
98
+ <div class="table-wrap" id="table" hidden></div>
99
+ </div>
100
+ </div>
101
+ </div>
102
+ </section>
103
+
104
+ <section id="view-library" role="tabpanel" aria-labelledby="tab-library" tabindex="-1" hidden>
105
+ <h1>Library</h1>
106
+ <div class="lib-controls">
107
+ <input type="search" id="lq" placeholder="Search titles, summaries and text" aria-label="Search the library" autocomplete="off">
108
+ <select id="llobe" aria-label="Lobe"><option value="">All lobes</option></select>
109
+ <select id="lsort" aria-label="Sort">
110
+ <option value="date">Newest date first</option>
111
+ <option value="updated">Recently updated first</option>
112
+ <option value="title">Title A to Z</option>
113
+ </select>
114
+ </div>
115
+ <div class="chips presets" id="lpresets" role="group" aria-label="Kind presets"></div>
116
+ <div class="lib-tag" id="ltag" hidden></div>
117
+ <div class="lib-tag" id="llobe-chip" hidden></div>
118
+ <p class="count-line" id="lcount"></p>
119
+ <div class="board lib-board"><div class="table-scroll" id="ltable"></div></div>
120
+ <button type="button" class="more" id="lmore" hidden>Show 100 more</button>
121
+ </section>
122
+
123
+ <section id="view-you" role="tabpanel" aria-labelledby="tab-you" tabindex="-1" hidden></section>
124
+ <section id="view-timeline" role="tabpanel" aria-labelledby="tab-timeline" tabindex="-1" hidden></section>
125
+ <section id="view-ideas" role="tabpanel" aria-labelledby="tab-ideas" tabindex="-1" hidden></section>
126
+
127
+ <section id="view-study" role="tabpanel" aria-labelledby="tab-study" tabindex="-1" hidden>
128
+ <h1>Study</h1>
129
+ <div class="board sprint" id="sprint"></div>
130
+ <div class="staterow" id="tiles" role="group" aria-label="Topics by state"></div>
131
+ <div class="cols">
132
+ <div>
133
+ <h2>Today's plan</h2>
134
+ <div id="plan"></div>
135
+ </div>
136
+ <div>
137
+ <h2>Coming up</h2>
138
+ <div id="coming"></div>
139
+ <h2>Open mistakes</h2>
140
+ <div id="open-mistakes"></div>
141
+ </div>
142
+ </div>
143
+ <h2>Answers per week (graded, last 8 weeks)</h2>
144
+ <div class="board pad" id="weeks"></div>
145
+ <h2>Assessments</h2>
146
+ <div class="board pad" id="timeline"></div>
147
+ <h2>Mistakes, last 30 days</h2>
148
+ <div class="board pad numbers" id="mstats"></div>
149
+ <h2>How sure vs how often right</h2>
150
+ <div class="board pad" id="mirror"></div>
151
+ </section>
152
+
153
+ <section id="view-help" role="tabpanel" aria-labelledby="tab-help" tabindex="-1" hidden></section>
154
+ </main>
155
+
156
+ <aside class="reader" id="reader" aria-label="Page reader" hidden></aside>
157
+ <aside class="reader inspector look" id="look" aria-label="Brain look" hidden></aside>
158
+ <div class="palette-scrim" id="palette" hidden>
159
+ <div class="palette" role="dialog" aria-modal="true" aria-label="Search">
160
+ <input type="search" id="pq" placeholder="Search pages, sections and commands" aria-label="Search pages, sections and commands" aria-controls="presults" autocomplete="off">
161
+ <div class="presults" id="presults" role="listbox" aria-label="Results"></div>
162
+ <p class="palette-foot">Enter opens · arrows move · Esc closes</p>
163
+ </div>
164
+ </div>
165
+ <div class="toast" id="toast" role="status" aria-live="polite" hidden></div>
166
+ <p class="sr-only" id="announce" aria-live="polite"></p>
167
+ <div class="tip" id="tip" role="tooltip" hidden></div>
168
+ {{SCRIPTS}}
169
+ </body>
170
+ </html>