@hraness/wordcell 0.20.0-bootstrap.1

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 (215) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +749 -0
  3. package/dist/agent-context.js +35 -0
  4. package/dist/agent-guide-audit.js +18 -0
  5. package/dist/attachments.js +19 -0
  6. package/dist/authoring.js +33 -0
  7. package/dist/benchmark.js +19 -0
  8. package/dist/capture.js +49 -0
  9. package/dist/cli.js +57 -0
  10. package/dist/clip/acquire.js +57 -0
  11. package/dist/clip/args.js +21 -0
  12. package/dist/clip/bounded-byte-buffer.js +9 -0
  13. package/dist/clip/browser-profiles.js +17 -0
  14. package/dist/clip/bundle-reader.js +11 -0
  15. package/dist/clip/cli.js +27 -0
  16. package/dist/clip/cookies.js +21 -0
  17. package/dist/clip/defuddle-worker.js +84 -0
  18. package/dist/clip/doctor.js +32 -0
  19. package/dist/clip/jobs.js +784 -0
  20. package/dist/clip/network-proxy.js +9 -0
  21. package/dist/clip/network.js +28 -0
  22. package/dist/clip/persist.js +30 -0
  23. package/dist/clip/refresh.js +11 -0
  24. package/dist/clip/terminal.js +11 -0
  25. package/dist/evaluation-builder.js +12238 -0
  26. package/dist/evaluation-kb.js +26 -0
  27. package/dist/evaluation.js +35 -0
  28. package/dist/git.js +39 -0
  29. package/dist/graph.js +41 -0
  30. package/dist/index-054mb7d3.js +1974 -0
  31. package/dist/index-06c9ctr6.js +738 -0
  32. package/dist/index-180zbkkt.js +2480 -0
  33. package/dist/index-1gwbassd.js +743 -0
  34. package/dist/index-1xxnjn0d.js +171 -0
  35. package/dist/index-23z4zxgg.js +119 -0
  36. package/dist/index-2gv8y733.js +432 -0
  37. package/dist/index-3ehtt59c.js +199 -0
  38. package/dist/index-3rm7cz6h.js +373 -0
  39. package/dist/index-48pz4jpc.js +392 -0
  40. package/dist/index-4j3tt0c3.js +234 -0
  41. package/dist/index-5n05se68.js +307 -0
  42. package/dist/index-5vwpzb5a.js +764 -0
  43. package/dist/index-6jcz0m1c.js +712 -0
  44. package/dist/index-6sw24nvv.js +1189 -0
  45. package/dist/index-8a08v6x8.js +56 -0
  46. package/dist/index-adx6khj5.js +488 -0
  47. package/dist/index-b88v3vtm.js +805 -0
  48. package/dist/index-bcknqxrq.js +1943 -0
  49. package/dist/index-bs0yf4pp.js +711 -0
  50. package/dist/index-by0pbant.js +827 -0
  51. package/dist/index-d13v9ckt.js +150 -0
  52. package/dist/index-dfag79p7.js +370 -0
  53. package/dist/index-e4fagfjz.js +44 -0
  54. package/dist/index-e5fbsywq.js +658 -0
  55. package/dist/index-ekpwvbra.js +1070 -0
  56. package/dist/index-f984hw45.js +927 -0
  57. package/dist/index-gh719d91.js +63 -0
  58. package/dist/index-h170byqw.js +371 -0
  59. package/dist/index-hgve9rh2.js +2046 -0
  60. package/dist/index-hya40gb2.js +474 -0
  61. package/dist/index-j4zgmzjr.js +152 -0
  62. package/dist/index-m7et4rz4.js +966 -0
  63. package/dist/index-mxxxytys.js +1254 -0
  64. package/dist/index-n05s3wsb.js +2728 -0
  65. package/dist/index-nd6nynv2.js +1162 -0
  66. package/dist/index-npg9z1a4.js +431 -0
  67. package/dist/index-pj501bh1.js +140 -0
  68. package/dist/index-rdd5f7jj.js +70 -0
  69. package/dist/index-sy0zety7.js +3630 -0
  70. package/dist/index-tkpxp48t.js +1166 -0
  71. package/dist/index-w2zc0vwa.js +571 -0
  72. package/dist/index-why54q5p.js +462 -0
  73. package/dist/index-x3fthpsc.js +585 -0
  74. package/dist/index-x6m57nfc.js +1041 -0
  75. package/dist/index.js +784 -0
  76. package/dist/kb-alias.js +55 -0
  77. package/dist/navigation.js +13 -0
  78. package/dist/pdf.js +85 -0
  79. package/dist/percolate.js +44 -0
  80. package/dist/portfolio.js +77 -0
  81. package/dist/query.js +29 -0
  82. package/dist/repository-memory.js +60 -0
  83. package/dist/sdk.js +36 -0
  84. package/dist/search-rules.js +34 -0
  85. package/dist/search.js +22 -0
  86. package/dist/semantic.js +39 -0
  87. package/dist/source-inbox.js +17 -0
  88. package/dist/untrusted-content.js +32 -0
  89. package/dist/url-intelligence.js +74 -0
  90. package/dist/workflow.js +23 -0
  91. package/dist/workflows/decision-context.js +20 -0
  92. package/dist/workflows/explain-change.js +8 -0
  93. package/dist/workflows/index.js +28 -0
  94. package/dist/workflows/plan-radar.js +10 -0
  95. package/package.json +421 -0
  96. package/skills/wordcell/AGENTS.md +22 -0
  97. package/skills/wordcell/SKILL.md +91 -0
  98. package/skills/wordcell/agents/openai.yaml +4 -0
  99. package/skills/wordcell/references/companion-skills.md +96 -0
  100. package/skills/wordcell/references/customize.md +123 -0
  101. package/skills/wordcell/references/pdf-review.md +51 -0
  102. package/skills/wordcell/references/percolate.md +176 -0
  103. package/skills/wordcell/references/plan-structure.md +105 -0
  104. package/skills/wordcell/references/plan.md +115 -0
  105. package/skills/wordcell/references/query.md +252 -0
  106. package/skills/wordcell/references/refresh.md +133 -0
  107. package/skills/wordcell/references/save-pdf.md +125 -0
  108. package/skills/wordcell/references/save-url.md +178 -0
  109. package/skills/wordcell/references/url-authentication.md +75 -0
  110. package/skills/wordcell/references/url-platforms.md +25 -0
  111. package/skills/wordcell/templates/companion-skill.template.md +57 -0
  112. package/src/agent-context.ts +1241 -0
  113. package/src/agent-guide-audit.ts +750 -0
  114. package/src/attachments.ts +723 -0
  115. package/src/authoring-model.ts +798 -0
  116. package/src/authoring-platform.ts +549 -0
  117. package/src/authoring-program.ts +278 -0
  118. package/src/authoring-runtime.ts +54 -0
  119. package/src/authoring.ts +75 -0
  120. package/src/benchmark.ts +362 -0
  121. package/src/capture.ts +68 -0
  122. package/src/cli-program.ts +3662 -0
  123. package/src/cli.ts +6 -0
  124. package/src/clip/acquire.ts +1273 -0
  125. package/src/clip/archive-today.ts +402 -0
  126. package/src/clip/args.ts +423 -0
  127. package/src/clip/assets.ts +262 -0
  128. package/src/clip/bounded-byte-buffer.ts +75 -0
  129. package/src/clip/browser-profiles.ts +372 -0
  130. package/src/clip/bundle-reader.ts +608 -0
  131. package/src/clip/capture.ts +1054 -0
  132. package/src/clip/cli.ts +181 -0
  133. package/src/clip/cookies.ts +512 -0
  134. package/src/clip/doctor.ts +1110 -0
  135. package/src/clip/extract.ts +868 -0
  136. package/src/clip/jobs.ts +959 -0
  137. package/src/clip/lib.ts +861 -0
  138. package/src/clip/media.ts +1474 -0
  139. package/src/clip/metadata-search-tool/Cargo.lock +2498 -0
  140. package/src/clip/metadata-search-tool/Cargo.toml +18 -0
  141. package/src/clip/metadata-search-tool/runner.ts +685 -0
  142. package/src/clip/metadata-search-tool/src/main.rs +389 -0
  143. package/src/clip/metadata-search.ts +687 -0
  144. package/src/clip/network-proxy.ts +627 -0
  145. package/src/clip/network.ts +950 -0
  146. package/src/clip/package-root.ts +54 -0
  147. package/src/clip/persist.ts +1472 -0
  148. package/src/clip/platforms.ts +1824 -0
  149. package/src/clip/refresh.ts +197 -0
  150. package/src/clip/structured.ts +432 -0
  151. package/src/clip/terminal.ts +197 -0
  152. package/src/clip/url-intelligence.ts +581 -0
  153. package/src/clip/url-metadata-backfill.ts +616 -0
  154. package/src/clip/url-metadata-cli.ts +251 -0
  155. package/src/clip/url-metadata.ts +1397 -0
  156. package/src/evaluation-analysis-v2.ts +1440 -0
  157. package/src/evaluation-builder.ts +2539 -0
  158. package/src/evaluation-corpus-authoring.ts +2052 -0
  159. package/src/evaluation-evidence.ts +1147 -0
  160. package/src/evaluation-execution-v2.ts +426 -0
  161. package/src/evaluation-implementation.ts +131 -0
  162. package/src/evaluation-kb-closure.ts +1430 -0
  163. package/src/evaluation-kb-runner-v2.ts +735 -0
  164. package/src/evaluation-kb-v2.ts +2567 -0
  165. package/src/evaluation-kb.ts +1018 -0
  166. package/src/evaluation-measurement-v2.ts +1462 -0
  167. package/src/evaluation-packing-v2.ts +452 -0
  168. package/src/evaluation-redaction.ts +28 -0
  169. package/src/evaluation-v2.ts +3857 -0
  170. package/src/evaluation.ts +1220 -0
  171. package/src/git.ts +1276 -0
  172. package/src/graph.ts +1494 -0
  173. package/src/index.ts +21 -0
  174. package/src/init.ts +123 -0
  175. package/src/kb-alias.ts +14 -0
  176. package/src/navigation.ts +277 -0
  177. package/src/note-lock.ts +529 -0
  178. package/src/oh-adoption.ts +444 -0
  179. package/src/pdf/args.ts +202 -0
  180. package/src/pdf/capture.ts +298 -0
  181. package/src/pdf/cli.ts +159 -0
  182. package/src/pdf/extract.ts +303 -0
  183. package/src/pdf/layout.ts +618 -0
  184. package/src/pdf/markdown.ts +154 -0
  185. package/src/pdf/model.ts +234 -0
  186. package/src/pdf/ocr.ts +190 -0
  187. package/src/pdf/persist.ts +314 -0
  188. package/src/pdf/source.ts +135 -0
  189. package/src/pdf/tools.ts +146 -0
  190. package/src/pdf.ts +92 -0
  191. package/src/percolate.ts +1948 -0
  192. package/src/portfolio-audit.ts +574 -0
  193. package/src/portfolio-identity.ts +162 -0
  194. package/src/portfolio-registry.ts +473 -0
  195. package/src/portfolio.ts +765 -0
  196. package/src/query.ts +646 -0
  197. package/src/repository-memory.ts +1150 -0
  198. package/src/sdk.ts +1452 -0
  199. package/src/search-rules.ts +712 -0
  200. package/src/search.ts +710 -0
  201. package/src/semantic-runtime.ts +1139 -0
  202. package/src/semantic.ts +2480 -0
  203. package/src/source-inbox.ts +232 -0
  204. package/src/untrusted-content.ts +401 -0
  205. package/src/url-intelligence.ts +104 -0
  206. package/src/vault.ts +636 -0
  207. package/src/workflow-model.ts +444 -0
  208. package/src/workflow-platform.ts +74 -0
  209. package/src/workflow-program.ts +183 -0
  210. package/src/workflow-runtime.ts +51 -0
  211. package/src/workflow.ts +23 -0
  212. package/src/workflows/decision-context.ts +81 -0
  213. package/src/workflows/explain-change.ts +73 -0
  214. package/src/workflows/index.ts +3 -0
  215. package/src/workflows/plan-radar.ts +101 -0
@@ -0,0 +1,28 @@
1
+ // @bun
2
+ import {
3
+ decisionContextWorkflow
4
+ } from "../index-8a08v6x8.js";
5
+ import {
6
+ explainChangeWorkflow
7
+ } from "../index-e4fagfjz.js";
8
+ import {
9
+ planRadarWorkflow
10
+ } from "../index-rdd5f7jj.js";
11
+ import"../index-h170byqw.js";
12
+ import"../index-m7et4rz4.js";
13
+ import"../index-adx6khj5.js";
14
+ import"../index-n05s3wsb.js";
15
+ import"../index-4j3tt0c3.js";
16
+ import"../index-1gwbassd.js";
17
+ import"../index-why54q5p.js";
18
+ import"../index-48pz4jpc.js";
19
+ import"../index-06c9ctr6.js";
20
+ import"../index-d13v9ckt.js";
21
+ import"../index-5vwpzb5a.js";
22
+ import"../index-ekpwvbra.js";
23
+ import"../index-1xxnjn0d.js";
24
+ export {
25
+ planRadarWorkflow,
26
+ explainChangeWorkflow,
27
+ decisionContextWorkflow
28
+ };
@@ -0,0 +1,10 @@
1
+ // @bun
2
+ import {
3
+ planRadarWorkflow
4
+ } from "../index-rdd5f7jj.js";
5
+ import"../index-h170byqw.js";
6
+ import"../index-06c9ctr6.js";
7
+ import"../index-5vwpzb5a.js";
8
+ export {
9
+ planRadarWorkflow
10
+ };
package/package.json ADDED
@@ -0,0 +1,421 @@
1
+ {
2
+ "name": "@hraness/wordcell",
3
+ "version": "0.20.0-bootstrap.1",
4
+ "description": "A knowledge base for coding agents, built from Markdown, backlinks, semantic search, and Git context.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "sideEffects": [
8
+ "./src/agent-context.ts",
9
+ "./src/agent-guide-audit.ts",
10
+ "./src/attachments.ts",
11
+ "./src/authoring.ts",
12
+ "./src/benchmark.ts",
13
+ "./src/capture.ts",
14
+ "./src/cli.ts",
15
+ "./src/clip/acquire.ts",
16
+ "./src/clip/args.ts",
17
+ "./src/clip/bounded-byte-buffer.ts",
18
+ "./src/clip/browser-profiles.ts",
19
+ "./src/clip/bundle-reader.ts",
20
+ "./src/clip/cli.ts",
21
+ "./src/clip/cookies.ts",
22
+ "./src/clip/defuddle-worker.ts",
23
+ "./src/clip/doctor.ts",
24
+ "./src/clip/jobs.ts",
25
+ "./src/clip/network-proxy.ts",
26
+ "./src/clip/network.ts",
27
+ "./src/clip/persist.ts",
28
+ "./src/clip/refresh.ts",
29
+ "./src/clip/terminal.ts",
30
+ "./src/evaluation-builder.ts",
31
+ "./src/evaluation-kb.ts",
32
+ "./src/evaluation.ts",
33
+ "./src/git.ts",
34
+ "./src/graph.ts",
35
+ "./src/index.ts",
36
+ "./src/navigation.ts",
37
+ "./src/pdf.ts",
38
+ "./src/percolate.ts",
39
+ "./src/portfolio.ts",
40
+ "./src/portfolio-audit.ts",
41
+ "./src/portfolio-identity.ts",
42
+ "./src/portfolio-registry.ts",
43
+ "./src/query.ts",
44
+ "./src/repository-memory.ts",
45
+ "./src/sdk.ts",
46
+ "./src/search.ts",
47
+ "./src/search-rules.ts",
48
+ "./src/semantic.ts",
49
+ "./src/source-inbox.ts",
50
+ "./src/untrusted-content.ts",
51
+ "./src/url-intelligence.ts",
52
+ "./src/workflow.ts",
53
+ "./src/workflows/decision-context.ts",
54
+ "./src/workflows/explain-change.ts",
55
+ "./src/workflows/index.ts",
56
+ "./src/workflows/plan-radar.ts"
57
+ ],
58
+ "packageManager": "bun@1.3.14",
59
+ "engines": {
60
+ "bun": ">=1.3.14"
61
+ },
62
+ "repository": {
63
+ "type": "git",
64
+ "url": "git+https://github.com/hraness/wordcell.git"
65
+ },
66
+ "homepage": "https://wordcell.io",
67
+ "bugs": {
68
+ "url": "https://github.com/hraness/wordcell/issues"
69
+ },
70
+ "keywords": [
71
+ "knowledge-base",
72
+ "coding-agents",
73
+ "agent-memory",
74
+ "repository-context",
75
+ "markdown",
76
+ "obsidian",
77
+ "agents-md",
78
+ "web-clipper",
79
+ "backlinks",
80
+ "knowledge-graph",
81
+ "semantic-search",
82
+ "local-first"
83
+ ],
84
+ "exports": {
85
+ ".": {
86
+ "types": "./src/index.ts",
87
+ "import": "./dist/index.js"
88
+ },
89
+ "./agent-context": {
90
+ "types": "./src/agent-context.ts",
91
+ "import": "./dist/agent-context.js"
92
+ },
93
+ "./agent-guide-audit": {
94
+ "types": "./src/agent-guide-audit.ts",
95
+ "import": "./dist/agent-guide-audit.js"
96
+ },
97
+ "./attachments": {
98
+ "types": "./src/attachments.ts",
99
+ "import": "./dist/attachments.js"
100
+ },
101
+ "./authoring": {
102
+ "types": "./src/authoring.ts",
103
+ "import": "./dist/authoring.js"
104
+ },
105
+ "./benchmark": {
106
+ "types": "./src/benchmark.ts",
107
+ "import": "./dist/benchmark.js"
108
+ },
109
+ "./browser-profiles": {
110
+ "types": "./src/clip/browser-profiles.ts",
111
+ "import": "./dist/clip/browser-profiles.js"
112
+ },
113
+ "./capture": {
114
+ "types": "./src/capture.ts",
115
+ "import": "./dist/capture.js"
116
+ },
117
+ "./cli": {
118
+ "types": "./src/cli.ts",
119
+ "import": "./dist/cli.js"
120
+ },
121
+ "./clip/acquire": {
122
+ "types": "./src/clip/acquire.ts",
123
+ "import": "./dist/clip/acquire.js"
124
+ },
125
+ "./clip/args": {
126
+ "types": "./src/clip/args.ts",
127
+ "import": "./dist/clip/args.js"
128
+ },
129
+ "./clip/bounded-byte-buffer": {
130
+ "types": "./src/clip/bounded-byte-buffer.ts",
131
+ "import": "./dist/clip/bounded-byte-buffer.js"
132
+ },
133
+ "./clip/bundle-reader": {
134
+ "types": "./src/clip/bundle-reader.ts",
135
+ "import": "./dist/clip/bundle-reader.js"
136
+ },
137
+ "./clip/cli": {
138
+ "types": "./src/clip/cli.ts",
139
+ "import": "./dist/clip/cli.js"
140
+ },
141
+ "./clip/cookies": {
142
+ "types": "./src/clip/cookies.ts",
143
+ "import": "./dist/clip/cookies.js"
144
+ },
145
+ "./clip/doctor": {
146
+ "types": "./src/clip/doctor.ts",
147
+ "import": "./dist/clip/doctor.js"
148
+ },
149
+ "./clip/jobs": {
150
+ "types": "./src/clip/jobs.ts",
151
+ "import": "./dist/clip/jobs.js"
152
+ },
153
+ "./clip/network": {
154
+ "types": "./src/clip/network.ts",
155
+ "import": "./dist/clip/network.js"
156
+ },
157
+ "./clip/network-proxy": {
158
+ "types": "./src/clip/network-proxy.ts",
159
+ "import": "./dist/clip/network-proxy.js"
160
+ },
161
+ "./clip/persist": {
162
+ "types": "./src/clip/persist.ts",
163
+ "import": "./dist/clip/persist.js"
164
+ },
165
+ "./clip/refresh": {
166
+ "types": "./src/clip/refresh.ts",
167
+ "import": "./dist/clip/refresh.js"
168
+ },
169
+ "./clip/terminal": {
170
+ "types": "./src/clip/terminal.ts",
171
+ "import": "./dist/clip/terminal.js"
172
+ },
173
+ "./evaluation": {
174
+ "types": "./src/evaluation.ts",
175
+ "import": "./dist/evaluation.js"
176
+ },
177
+ "./evaluation-builder": {
178
+ "types": "./src/evaluation-builder.ts",
179
+ "import": "./dist/evaluation-builder.js"
180
+ },
181
+ "./evaluation-kb": {
182
+ "types": "./src/evaluation-kb.ts",
183
+ "import": "./dist/evaluation-kb.js"
184
+ },
185
+ "./git": {
186
+ "types": "./src/git.ts",
187
+ "import": "./dist/git.js"
188
+ },
189
+ "./graph": {
190
+ "types": "./src/graph.ts",
191
+ "import": "./dist/graph.js"
192
+ },
193
+ "./navigation": {
194
+ "types": "./src/navigation.ts",
195
+ "import": "./dist/navigation.js"
196
+ },
197
+ "./pdf": {
198
+ "types": "./src/pdf.ts",
199
+ "import": "./dist/pdf.js"
200
+ },
201
+ "./percolate": {
202
+ "types": "./src/percolate.ts",
203
+ "import": "./dist/percolate.js"
204
+ },
205
+ "./portfolio": {
206
+ "types": "./src/portfolio.ts",
207
+ "import": "./dist/portfolio.js"
208
+ },
209
+ "./query": {
210
+ "types": "./src/query.ts",
211
+ "import": "./dist/query.js"
212
+ },
213
+ "./repository-memory": {
214
+ "types": "./src/repository-memory.ts",
215
+ "import": "./dist/repository-memory.js"
216
+ },
217
+ "./sdk": {
218
+ "types": "./src/sdk.ts",
219
+ "import": "./dist/sdk.js"
220
+ },
221
+ "./search": {
222
+ "types": "./src/search.ts",
223
+ "import": "./dist/search.js"
224
+ },
225
+ "./search-rules": {
226
+ "types": "./src/search-rules.ts",
227
+ "import": "./dist/search-rules.js"
228
+ },
229
+ "./semantic": {
230
+ "types": "./src/semantic.ts",
231
+ "import": "./dist/semantic.js"
232
+ },
233
+ "./source-inbox": {
234
+ "types": "./src/source-inbox.ts",
235
+ "import": "./dist/source-inbox.js"
236
+ },
237
+ "./untrusted-content": {
238
+ "types": "./src/untrusted-content.ts",
239
+ "import": "./dist/untrusted-content.js"
240
+ },
241
+ "./url-intelligence": {
242
+ "types": "./src/url-intelligence.ts",
243
+ "import": "./dist/url-intelligence.js"
244
+ },
245
+ "./workflow": {
246
+ "types": "./src/workflow.ts",
247
+ "import": "./dist/workflow.js"
248
+ },
249
+ "./workflows": {
250
+ "types": "./src/workflows/index.ts",
251
+ "import": "./dist/workflows/index.js"
252
+ },
253
+ "./workflows/decision-context": {
254
+ "types": "./src/workflows/decision-context.ts",
255
+ "import": "./dist/workflows/decision-context.js"
256
+ },
257
+ "./workflows/explain-change": {
258
+ "types": "./src/workflows/explain-change.ts",
259
+ "import": "./dist/workflows/explain-change.js"
260
+ },
261
+ "./workflows/plan-radar": {
262
+ "types": "./src/workflows/plan-radar.ts",
263
+ "import": "./dist/workflows/plan-radar.js"
264
+ }
265
+ },
266
+ "bin": {
267
+ "wordcell": "./dist/cli.js",
268
+ "kb": "./dist/kb-alias.js",
269
+ "wordcell-evaluation-builder": "./dist/evaluation-builder.js"
270
+ },
271
+ "main": "./dist/index.js",
272
+ "types": "./src/index.ts",
273
+ "files": [
274
+ "dist",
275
+ "src/agent-context.ts",
276
+ "src/agent-guide-audit.ts",
277
+ "src/authoring.ts",
278
+ "src/authoring-model.ts",
279
+ "src/authoring-platform.ts",
280
+ "src/authoring-program.ts",
281
+ "src/authoring-runtime.ts",
282
+ "src/attachments.ts",
283
+ "src/benchmark.ts",
284
+ "src/capture.ts",
285
+ "src/url-intelligence.ts",
286
+ "src/cli.ts",
287
+ "src/cli-program.ts",
288
+ "src/kb-alias.ts",
289
+ "src/clip/acquire.ts",
290
+ "src/clip/archive-today.ts",
291
+ "src/clip/args.ts",
292
+ "src/clip/assets.ts",
293
+ "src/clip/bounded-byte-buffer.ts",
294
+ "src/clip/browser-profiles.ts",
295
+ "src/clip/bundle-reader.ts",
296
+ "src/clip/capture.ts",
297
+ "src/clip/cli.ts",
298
+ "src/clip/cookies.ts",
299
+ "src/clip/doctor.ts",
300
+ "src/clip/jobs.ts",
301
+ "src/clip/extract.ts",
302
+ "src/clip/lib.ts",
303
+ "src/clip/media.ts",
304
+ "src/clip/network-proxy.ts",
305
+ "src/clip/network.ts",
306
+ "src/clip/package-root.ts",
307
+ "src/clip/persist.ts",
308
+ "src/clip/refresh.ts",
309
+ "src/clip/platforms.ts",
310
+ "src/clip/structured.ts",
311
+ "src/clip/terminal.ts",
312
+ "src/clip/metadata-search.ts",
313
+ "src/clip/url-intelligence.ts",
314
+ "src/clip/url-metadata.ts",
315
+ "src/clip/url-metadata-backfill.ts",
316
+ "src/clip/url-metadata-cli.ts",
317
+ "src/clip/metadata-search-tool/Cargo.toml",
318
+ "src/clip/metadata-search-tool/Cargo.lock",
319
+ "src/clip/metadata-search-tool/runner.ts",
320
+ "src/clip/metadata-search-tool/src/main.rs",
321
+ "src/git.ts",
322
+ "src/evaluation-analysis-v2.ts",
323
+ "src/evaluation-builder.ts",
324
+ "src/evaluation-corpus-authoring.ts",
325
+ "src/evaluation-evidence.ts",
326
+ "src/evaluation-execution-v2.ts",
327
+ "src/evaluation-implementation.ts",
328
+ "src/evaluation-kb-closure.ts",
329
+ "src/evaluation-kb-runner-v2.ts",
330
+ "src/evaluation-kb-v2.ts",
331
+ "src/evaluation-redaction.ts",
332
+ "src/evaluation-kb.ts",
333
+ "src/evaluation-measurement-v2.ts",
334
+ "src/evaluation-packing-v2.ts",
335
+ "src/evaluation-v2.ts",
336
+ "src/evaluation.ts",
337
+ "src/graph.ts",
338
+ "src/index.ts",
339
+ "src/init.ts",
340
+ "src/navigation.ts",
341
+ "src/note-lock.ts",
342
+ "src/oh-adoption.ts",
343
+ "src/percolate.ts",
344
+ "src/portfolio.ts",
345
+ "src/portfolio-audit.ts",
346
+ "src/portfolio-identity.ts",
347
+ "src/portfolio-registry.ts",
348
+ "src/pdf.ts",
349
+ "src/pdf/args.ts",
350
+ "src/pdf/capture.ts",
351
+ "src/pdf/cli.ts",
352
+ "src/pdf/extract.ts",
353
+ "src/pdf/layout.ts",
354
+ "src/pdf/markdown.ts",
355
+ "src/pdf/model.ts",
356
+ "src/pdf/ocr.ts",
357
+ "src/pdf/persist.ts",
358
+ "src/pdf/source.ts",
359
+ "src/pdf/tools.ts",
360
+ "src/query.ts",
361
+ "src/repository-memory.ts",
362
+ "src/search.ts",
363
+ "src/search-rules.ts",
364
+ "src/semantic-runtime.ts",
365
+ "src/semantic.ts",
366
+ "src/sdk.ts",
367
+ "src/source-inbox.ts",
368
+ "src/untrusted-content.ts",
369
+ "src/vault.ts",
370
+ "src/workflow.ts",
371
+ "src/workflow-model.ts",
372
+ "src/workflow-platform.ts",
373
+ "src/workflow-program.ts",
374
+ "src/workflow-runtime.ts",
375
+ "src/workflows/decision-context.ts",
376
+ "src/workflows/explain-change.ts",
377
+ "src/workflows/index.ts",
378
+ "src/workflows/plan-radar.ts",
379
+ "skills/wordcell",
380
+ "README.md",
381
+ "LICENSE"
382
+ ],
383
+ "scripts": {
384
+ "kb:refresh": "bunx --bun github:hraness/kb#v0.15.1 refresh --root kb",
385
+ "kb:check:lane": "bunx --bun github:hraness/kb#v0.15.1 check --root kb --no-catalog",
386
+ "kb:check": "bunx --bun github:hraness/kb#v0.15.1 check --root kb && bunx --bun github:hraness/kb#v0.15.1 agents check --root kb --repo .",
387
+ "kb:catalog": "bunx --bun github:hraness/kb#v0.15.1 catalog --root kb",
388
+ "build": "bun -e 'await (await import(\"node:fs/promises\")).rm(\"./dist\", { recursive: true, force: true })' && bun build ./src/index.ts ./src/agent-context.ts ./src/agent-guide-audit.ts ./src/attachments.ts ./src/authoring.ts ./src/benchmark.ts ./src/clip/browser-profiles.ts ./src/capture.ts ./src/cli.ts ./src/kb-alias.ts ./src/clip/acquire.ts ./src/clip/args.ts ./src/clip/bounded-byte-buffer.ts ./src/clip/bundle-reader.ts ./src/clip/cli.ts ./src/clip/cookies.ts ./src/clip/doctor.ts ./src/clip/jobs.ts ./src/clip/network.ts ./src/clip/network-proxy.ts ./src/clip/persist.ts ./src/clip/refresh.ts ./src/clip/terminal.ts ./src/evaluation.ts ./src/evaluation-builder.ts ./src/evaluation-kb.ts ./src/git.ts ./src/graph.ts ./src/navigation.ts ./src/pdf.ts ./src/percolate.ts ./src/portfolio.ts ./src/query.ts ./src/repository-memory.ts ./src/sdk.ts ./src/search.ts ./src/search-rules.ts ./src/semantic.ts ./src/source-inbox.ts ./src/untrusted-content.ts ./src/url-intelligence.ts ./src/workflow.ts ./src/workflows/index.ts ./src/workflows/decision-context.ts ./src/workflows/explain-change.ts ./src/workflows/plan-radar.ts ./src/clip/defuddle-worker.ts --outdir ./dist --root ./src --target bun --format esm --splitting --packages external",
389
+ "check:workflows": "bun ./scripts/check-workflow-yaml.ts",
390
+ "check:installed-command-docs": "bun ./scripts/check-installed-command-docs.ts",
391
+ "check:portfolio-inventory": "bun ./scripts/check-portfolio-inventory.ts",
392
+ "typecheck": "tsc --noEmit",
393
+ "test": "bun test ./src ./scripts",
394
+ "url-metadata:backfill": "bun ./dist/cli.js url-metadata backfill",
395
+ "url-metadata:tool:build": "bun ./dist/cli.js url-metadata tool build",
396
+ "url-metadata:tool:check": "bun ./dist/cli.js url-metadata tool check",
397
+ "test:package": "bun run ./scripts/package-smoke.ts",
398
+ "check": "bun run check:effect && bun run check:workflows && bun run check:portfolio-inventory && bun run check:installed-command-docs && bun run typecheck && bun run build && bun run test:package && bun run test && bun run url-metadata:tool:check",
399
+ "prepack": "bun run check",
400
+ "check:effect": "bun run scripts/check-effect-policy.ts && bun test ./scripts/check-effect-architecture.test.ts"
401
+ },
402
+ "dependencies": {
403
+ "@hraness/oh": "github:hraness/oh#v0.2.0",
404
+ "@steipete/sweet-cookie": "0.4.3",
405
+ "@tobilu/qmd": "git+https://github.com/hraness/qmd.git#aa993dceb3ef8cfb71d470554ca437570f5a2b3c",
406
+ "agent-browser": "0.32.3",
407
+ "defuddle": "0.19.1",
408
+ "yaml": "^2.9.0",
409
+ "zod": "^4.4.3",
410
+ "effect": "3.22.1"
411
+ },
412
+ "devDependencies": {
413
+ "@types/bun": "^1.3.14",
414
+ "fast-check": "^4.8.0",
415
+ "typescript": "^6.0.3"
416
+ },
417
+ "publishConfig": {
418
+ "access": "public",
419
+ "registry": "https://registry.npmjs.org"
420
+ }
421
+ }
@@ -0,0 +1,22 @@
1
+ # Contents
2
+
3
+ - `SKILL.md` – public entrypoint, runtime contract, and intent router for all hraness/wordcell agent workflows.
4
+ - `references/query.md` – scoped retrieval through exact metadata, hybrid search, graph structure, and Git provenance.
5
+ - `references/customize.md` and `companion-skills.md` – interview-first Wordcell setup, explicit approval boundaries, and contracts for optional recurring rituals.
6
+ - `references/save-url.md`, `url-authentication.md`, and `url-platforms.md` – auditable web capture, signed-in source handling, and platform-specific completeness boundaries.
7
+ - `references/save-pdf.md` and `pdf-review.md` – PDF ingestion, OCR, image evidence, and mixed-media review.
8
+ - `references/plan.md` and `plan-structure.md` – durable plan authoring and its adaptable Markdown contract.
9
+ - `references/percolate.md` and `refresh.md` – evidence-backed graph edits, catalog maintenance, and vault validation.
10
+ - `templates/companion-skill.template.md` – inert, copyable starting point for an approved companion skill.
11
+ - `agents/openai.yaml` – user-facing skill metadata and invocation prompt.
12
+
13
+ # Guidelines
14
+
15
+ - Keep `wordcell` as the only public skill entrypoint. Preserve substantial workflows as focused references and keep the router compact enough to load by default.
16
+ - Keep discovery language grounded in real user requests for knowledge bases, coding-agent memory, Markdown or Obsidian vaults, source capture, repository context, plans, and knowledge graphs. Exclude generic research, PDF reading, and planning outside hraness/wordcell.
17
+ - Invoke the installed `wordcell` CLI without depending on a source checkout. Check for an existing command first, require Bun when installation is needed, and pin installation to the current immutable repository tag.
18
+ - Never initialize or mutate a vault as part of skill or CLI installation.
19
+ - Route setup, evolution, and custom-ritual requests before runtime discovery. Keep inspection non-mutating until the exact proposal is approved, and never treat skill discovery or an ambient account as authority.
20
+ - Keep Markdown authoritative. Preserve incomplete source boundaries, read cited evidence before graph edits, and never generate reciprocal, inferred, transitive, or similarity-derived relationships.
21
+ - In parallel managed-catalog work, defer refresh to the integrating agent and use the catalog-skipping check in each edit lane. Authored-catalog refreshes leave the front door unchanged.
22
+ - Update `agents/openai.yaml`, README installation text, package inventory checks, and the pinned CLI tag together when the skill identity or package release changes.
@@ -0,0 +1,91 @@
1
+ ---
2
+ name: wordcell
3
+ description: >-
4
+ Set up, evolve, or operate a hraness/wordcell local-first Markdown knowledge base
5
+ for coding-agent memory. Use when a user asks to design Wordcell conventions or a
6
+ recurring Wordcell ritual; search or query a Wordcell or Obsidian vault; load or recover
7
+ repository context, plans, decisions, concepts, backlinks, semantic search,
8
+ or Git provenance from an earlier coding session; save, clip, scrape, or
9
+ archive a URL, article, social thread, signed-in browser page, or PDF as
10
+ auditable Markdown; create or update a durable plan in the vault; or refresh,
11
+ check, percolate, and maintain its knowledge graph. Do not use for generic
12
+ web research, generic PDF reading, or ordinary planning that will not use a
13
+ hraness/wordcell vault.
14
+ ---
15
+
16
+ # Work with Wordcell
17
+
18
+ Use hraness/wordcell to preserve and retrieve inspectable agent memory in Markdown
19
+ and Git. Select the smallest workflow that matches the request, then load only
20
+ its references.
21
+
22
+ ## Route the request
23
+
24
+ Route the request before discovering, installing, or running the CLI. A setup,
25
+ evolution, or custom-ritual request begins with read-only inspection and an
26
+ approved proposal; it does not require a runtime merely because this skill was
27
+ selected.
28
+
29
+ | User intent | Read |
30
+ | --- | --- |
31
+ | Design, set up, or evolve a Wordcell; choose its boundaries and conventions; or define a recurring Wordcell ritual | [Customize a Wordcell setup](references/customize.md); add [Companion skill contracts](references/companion-skills.md) only when the proposal includes a new or revised skill |
32
+ | Recover work from an earlier session, find notes, search one vault or an authorized portfolio, load repository-path context, inspect plans or decisions, follow backlinks or relationships, audit vault organization, or retrieve Git provenance | [Query the knowledge base](references/query.md) |
33
+ | Save, clip, scrape, or archive a URL, article, social post or thread, GitHub or Discourse discussion, signed-in page, feed, inbox, private document, WhatsApp conversation, or YouTube page | [Capture web content](references/save-url.md); add [browser authentication](references/url-authentication.md) for signed-in sources and [platform routing](references/url-platforms.md) when route choice or completeness matters |
34
+ | Import, extract, archive, OCR, or convert a local or public PDF into Markdown | [Save a PDF](references/save-pdf.md); add [PDF image review](references/pdf-review.md) for scans, screenshots, conversations, charts, or mixed media |
35
+ | Create or update an implementation plan, proposal, RFC, migration plan, execution audit, or phased checklist in the vault | [Write a durable plan](references/plan.md) and [use its structure](references/plan-structure.md) |
36
+ | Review recurring ideas, promote concepts, or add and verify typed relationships | [Percolate concepts and relationships](references/percolate.md) |
37
+ | Refresh or validate the catalog, graph, attachments, repository scopes, context mappings, or overall vault health | [Refresh and check the knowledge base](references/refresh.md) |
38
+
39
+ Read more than one primary reference only when the request spans those
40
+ workflows. For example, saving a source and linking it from a maintained note
41
+ uses the capture workflow followed by the relevant percolation and refresh
42
+ steps.
43
+
44
+ ## Prepare the runtime when execution needs it
45
+
46
+ Use an existing `wordcell` command when one is available. Do not reinstall or upgrade
47
+ it merely because this skill loaded.
48
+
49
+ If `wordcell` is missing, check for Bun. Bun is the required runtime. When Bun is
50
+ also missing, install it with the official instructions at
51
+ <https://bun.sh/docs/installation> under the environment's normal approval
52
+ rules, then repeat command discovery. Install Wordcell only while `wordcell` remains
53
+ missing:
54
+
55
+ ```sh
56
+ command -v kb >/dev/null 2>&1 || {
57
+ command -v bun >/dev/null 2>&1 || exit 1
58
+ bun add --global --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.20.0/hraness-wordcell-0.20.0.tgz
59
+ }
60
+ wordcell --help
61
+ ```
62
+
63
+ The versioned GitHub archive is the immutable release owned by this skill. Do not
64
+ replace it with `latest`, a branch, or an unpinned package source. Both installed
65
+ commands require Bun `1.3.14` or newer in `PATH`. Run `wordcell doctor` when the
66
+ chosen workflow may need browser capture, media tools, PDF extraction, OCR, or
67
+ local semantic search.
68
+
69
+ Installation ends after command verification. Never run `wordcell init`, create a
70
+ vault, refresh a catalog, or edit Markdown as an installation side effect.
71
+ Initialize or mutate a vault only when the user's request requires that change.
72
+
73
+ ## Preserve the Wordcell contract
74
+
75
+ - For an existing vault, resolve `KB_ROOT` to the directory that contains its
76
+ managed or authored `index.md`. During setup, inspect the explicitly proposed
77
+ location without assuming that `index.md` or any Wordcell directory exists. Read
78
+ the applicable repository and vault `AGENTS.md` files before writing. Do not
79
+ assume the session started in the vault.
80
+ - Treat authored Markdown and Git as the record. Catalogs, backlinks, graph
81
+ reports, search indexes, embeddings, and percolation candidates are derived
82
+ views.
83
+ - Open cited notes and source records before turning search results, tags,
84
+ mentions, or similarity into a conclusion. Author only relationships that
85
+ the source note's prose and evidence support.
86
+ - Keep source capture separate from synthesis. Preserve access, pagination,
87
+ extraction, OCR, and configured-limit failures instead of upgrading partial
88
+ evidence to complete.
89
+ - Follow the selected reference's final checks. In a managed-catalog vault,
90
+ parallel edit lanes use `wordcell check --root "$KB_ROOT" --no-catalog`; the
91
+ integrating agent performs one refresh and normal check.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Wordcell"
3
+ short_description: "Set up, query, capture, and maintain Markdown memory"
4
+ default_prompt: "Use $wordcell to set up or work with this hraness/wordcell knowledge base, routing the request before any runtime preparation and loading only the references needed."