@hraness/wordcell 0.22.4 → 0.23.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.
Files changed (80) hide show
  1. package/README.md +63 -22
  2. package/dist/authoring.js +2 -2
  3. package/dist/{authority-06eqhqam.js → authority-35cbvp1x.js} +2 -2
  4. package/dist/benchmark.js +3 -3
  5. package/dist/capture.js +6 -6
  6. package/dist/cli.js +26 -24
  7. package/dist/clip/acquire.js +3 -3
  8. package/dist/clip/args.js +1 -1
  9. package/dist/clip/cli.js +6 -6
  10. package/dist/clip/doctor.js +4 -4
  11. package/dist/evaluation-builder.js +10 -10
  12. package/dist/evaluation-kb.js +10 -10
  13. package/dist/graph-authority.js +4 -4
  14. package/dist/graph-percolation.js +6 -6
  15. package/dist/graph.js +5 -1
  16. package/dist/{index-bcknqxrq.js → index-0eacgvpv.js} +9 -1
  17. package/dist/{index-xv80vzfp.js → index-1er88ckw.js} +4 -4
  18. package/dist/{index-233z9wmn.js → index-1s8mc4hz.js} +13 -5
  19. package/dist/{index-de2w8crk.js → index-2fmnttca.js} +82 -15
  20. package/dist/{index-vnybgywh.js → index-ahyhryb8.js} +1 -1
  21. package/dist/{index-ecqpgr5y.js → index-b0khj0h5.js} +164 -9
  22. package/dist/{index-jk1sgx36.js → index-bdwcjvr4.js} +1 -1
  23. package/dist/{index-dfag79p7.js → index-byz4kzww.js} +3 -0
  24. package/dist/{index-hgve9rh2.js → index-cd75vky9.js} +96 -1
  25. package/dist/{index-rr9kzq4n.js → index-fp732bgg.js} +2 -2
  26. package/dist/{index-qbssx940.js → index-jvb7w0gg.js} +227 -9
  27. package/dist/{index-f984hw45.js → index-k86wepd8.js} +1 -1
  28. package/dist/{index-1k595z6v.js → index-mnq2wy34.js} +2 -2
  29. package/dist/{index-n386evxj.js → index-nn67kzwa.js} +1 -1
  30. package/dist/{index-fc4dr114.js → index-nwrehke7.js} +1 -1
  31. package/dist/{index-76dbn6pe.js → index-p70t8j13.js} +1 -1
  32. package/dist/{index-tf4wzjew.js → index-pgtm2nhf.js} +1 -1
  33. package/dist/{index-054mb7d3.js → index-qfqjfxaa.js} +10 -9
  34. package/dist/{index-pnt9wr59.js → index-r0m5taz2.js} +2 -2
  35. package/dist/{index-bqtqeak3.js → index-r4qs6vq4.js} +4 -4
  36. package/dist/{index-djrcc1yf.js → index-tcaq1c7f.js} +4 -4
  37. package/dist/{index-q7tbg07z.js → index-tvd2sqrx.js} +7 -7
  38. package/dist/{index-9h7zh0wt.js → index-vtwbapjr.js} +3814 -162
  39. package/dist/{index-g5vsqmdy.js → index-xwxy71ew.js} +190 -4
  40. package/dist/index.js +22 -14
  41. package/dist/pdf.js +3 -3
  42. package/dist/percolate.js +2 -2
  43. package/dist/portfolio.js +10 -10
  44. package/dist/publish.js +3 -3
  45. package/dist/sdk.js +9 -9
  46. package/dist/search.js +2 -2
  47. package/dist/semantic.js +4 -4
  48. package/dist/{support-m3t917ev.js → support-c8hy7qfa.js} +25 -23
  49. package/dist/url-intelligence.js +1 -1
  50. package/dist/workflows/decision-context.js +10 -10
  51. package/dist/workflows/index.js +10 -10
  52. package/package.json +12 -4
  53. package/skills/wordcell/AGENTS.md +1 -0
  54. package/skills/wordcell/SKILL.md +5 -3
  55. package/skills/wordcell/references/plan-structure.md +1 -1
  56. package/skills/wordcell/references/query.md +35 -1
  57. package/skills/wordcell/references/session-memory.md +207 -0
  58. package/skills/wordcell/references/url-platforms.md +1 -1
  59. package/src/authoring-import.ts +32 -0
  60. package/src/authoring-model.ts +185 -2
  61. package/src/authoring-program.ts +19 -7
  62. package/src/cli-help.ts +893 -0
  63. package/src/cli-intro.ts +1 -1
  64. package/src/cli-program.ts +575 -82
  65. package/src/cli-style.ts +132 -0
  66. package/src/clip/acquire.ts +20 -0
  67. package/src/clip/args.ts +3 -0
  68. package/src/clip/cli.ts +82 -5
  69. package/src/clip/cookie-permission.ts +241 -0
  70. package/src/clip/url-metadata-cli.ts +6 -5
  71. package/src/clip/url-metadata.ts +14 -0
  72. package/src/graph.ts +88 -13
  73. package/src/import-supermemory.ts +1629 -0
  74. package/src/mcp-server.ts +415 -0
  75. package/src/mcp-tools.ts +1122 -0
  76. package/src/mention-index.ts +194 -0
  77. package/src/pdf/cli.ts +5 -4
  78. package/src/support-profile.ts +1 -1
  79. package/src/support.ts +3 -0
  80. package/src/vault.ts +26 -2
@@ -1,7 +1,8 @@
1
1
  // @bun
2
2
  import {
3
- classifyPlatformUrl
4
- } from "./index-hgve9rh2.js";
3
+ classifyPlatformUrl,
4
+ symbol
5
+ } from "./index-cd75vky9.js";
5
6
  import {
6
7
  filterCookieProviderResult,
7
8
  readCookieFile,
@@ -17,7 +18,7 @@ import {
17
18
  } from "./index-e5fbsywq.js";
18
19
  import {
19
20
  captureUrl
20
- } from "./index-dfag79p7.js";
21
+ } from "./index-byz4kzww.js";
21
22
  import {
22
23
  readBoundedByteStream
23
24
  } from "./index-gh719d91.js";
@@ -44,6 +45,179 @@ import {
44
45
  import { homedir, tmpdir } from "os";
45
46
  import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
46
47
  import { getCookies } from "@steipete/sweet-cookie";
48
+
49
+ // src/clip/cookie-permission.ts
50
+ var PRODUCT = "Wordcell";
51
+ var KEYCHAIN_REQUESTER = "security";
52
+ var FULL_DISK_ACCESS_PATH = "System Settings \u203A Privacy & Security \u203A Full Disk Access";
53
+ var FULL_DISK_ACCESS_URL = "x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles";
54
+ var KEYCHAIN_BROWSERS = ["Chrome", "Brave", "Arc", "Chromium", "Dia", "Microsoft Edge"];
55
+ function keychainBrowserFor(source) {
56
+ switch (source) {
57
+ case "chrome":
58
+ return "Chrome";
59
+ case "brave":
60
+ return "Brave";
61
+ case "arc":
62
+ return "Arc";
63
+ case "chromium":
64
+ return "Chromium";
65
+ case "edge":
66
+ return "Microsoft Edge";
67
+ default:
68
+ return;
69
+ }
70
+ }
71
+ function cookiePermissionNeed(source, platform = process.platform) {
72
+ if (platform !== "darwin")
73
+ return;
74
+ if (source === "safari")
75
+ return { kind: "full-disk-access", browser: "Safari" };
76
+ const browser = keychainBrowserFor(source);
77
+ return browser === undefined ? undefined : { kind: "keychain", browser };
78
+ }
79
+ var KEYCHAIN_WARNING = /^Failed to read macOS Keychain \(([A-Za-z ]{1,40}) Safe Storage\): ([\s\S]{0,2000})$/u;
80
+ var SAFARI_WARNING = /^Failed to read Safari cookies: ([\s\S]{0,2000})$/u;
81
+ function classifyCookieProviderWarnings(warnings) {
82
+ if (!Array.isArray(warnings))
83
+ return;
84
+ for (const warning of warnings.slice(0, 64)) {
85
+ if (typeof warning !== "string")
86
+ continue;
87
+ const keychain = KEYCHAIN_WARNING.exec(warning);
88
+ if (keychain !== null) {
89
+ const browser = KEYCHAIN_BROWSERS.find((name) => name === keychain[1]);
90
+ if (browser === undefined)
91
+ continue;
92
+ return { kind: "keychain", browser, ...keychainState(keychain[2] ?? "") };
93
+ }
94
+ const safari = SAFARI_WARNING.exec(warning);
95
+ if (safari !== null && /\b(?:EPERM|EACCES)\b|operation not permitted|permission denied/iu.test(safari[1] ?? "")) {
96
+ return { kind: "full-disk-access", browser: "Safari", state: "denied" };
97
+ }
98
+ }
99
+ return;
100
+ }
101
+ function keychainState(detail) {
102
+ if (/-25300\b|could not be found/iu.test(detail))
103
+ return { state: "missing" };
104
+ if (/-25308\b|interaction is not allowed/iu.test(detail))
105
+ return { state: "unknown", locked: true };
106
+ if (/-128\b|-25293\b|canceled|cancelled|passphrase you entered is not correct/iu.test(detail)) {
107
+ return { state: "denied" };
108
+ }
109
+ return { state: "unknown" };
110
+ }
111
+ function terminalAppName(env) {
112
+ switch (env.TERM_PROGRAM) {
113
+ case "Apple_Terminal":
114
+ return "Terminal";
115
+ case "iTerm.app":
116
+ return "iTerm";
117
+ case "vscode":
118
+ return "Visual Studio Code";
119
+ case "WezTerm":
120
+ return "WezTerm";
121
+ case "ghostty":
122
+ return "Ghostty";
123
+ case "WarpTerminal":
124
+ return "Warp";
125
+ case "zed":
126
+ return "Zed";
127
+ default:
128
+ return "your terminal app";
129
+ }
130
+ }
131
+ function keychainAsk(browser) {
132
+ return `use "${browser} Safe Storage" from your keychain`;
133
+ }
134
+ function renderCookiePermissionNotice(need, env, style) {
135
+ const icon = symbol("notice", style);
136
+ if (need.kind === "keychain") {
137
+ return `${icon} macOS will ask to let ${KEYCHAIN_REQUESTER} ${keychainAsk(need.browser)} for ${PRODUCT}.
138
+ ` + ` ${PRODUCT} uses it to read the ${need.browser} sign-in you already have and never stores it. ` + `Enter your Mac password if asked, then choose Always Allow so macOS doesn't ask again.
139
+ `;
140
+ }
141
+ const requester = terminalAppName(env);
142
+ return `${icon} ${PRODUCT} needs Full Disk Access to read your Safari cookies.
143
+ ` + ` macOS doesn't ask for this. Turn on ${requester} in ${FULL_DISK_ACCESS_PATH}. ` + `${PRODUCT} reads only the cookies for the page you capture and never stores them.
144
+ `;
145
+ }
146
+ var CONFIRM_LINE = ` Press Enter to continue \xB7 s to skip
147
+ `;
148
+ var COOKIES_FILE_NEXT = "wordcell clip <url> --cookies-file <path>";
149
+ function cookiePermissionRecovery(failure, env) {
150
+ if (failure.kind === "full-disk-access") {
151
+ const requester = terminalAppName(env);
152
+ return {
153
+ message: `${PRODUCT} can't read your Safari cookies: macOS access is off for ${requester}.`,
154
+ detail: `Turn on ${requester} in ${FULL_DISK_ACCESS_PATH}, then run it again.`,
155
+ next: `open "${FULL_DISK_ACCESS_URL}"`,
156
+ code: "permission-denied",
157
+ permission: { kind: "full-disk-access", settingsUrl: FULL_DISK_ACCESS_URL }
158
+ };
159
+ }
160
+ const ask = keychainAsk(failure.browser);
161
+ switch (failure.state) {
162
+ case "denied":
163
+ return {
164
+ message: `${PRODUCT} can't ${ask}: the keychain request was denied.`,
165
+ detail: "Run it again and choose Always Allow when macOS asks, or pass a cookie file exported from the browser.",
166
+ next: COOKIES_FILE_NEXT,
167
+ code: "permission-denied",
168
+ permission: { kind: "keychain" }
169
+ };
170
+ case "missing":
171
+ return {
172
+ message: `${PRODUCT} can't find "${failure.browser} Safe Storage" in your keychain.`,
173
+ detail: `Open ${failure.browser} and sign in to the site once, or pass a cookie file exported from the browser.`,
174
+ next: COOKIES_FILE_NEXT,
175
+ code: "permission-missing",
176
+ permission: { kind: "keychain" }
177
+ };
178
+ case "unknown":
179
+ return {
180
+ message: `${PRODUCT} couldn't ${ask}. macOS may be blocking ${KEYCHAIN_REQUESTER}.`,
181
+ detail: failure.locked === true ? "Unlock your login keychain, then run it again." : "Check the key in Keychain Access, then run it again.",
182
+ next: COOKIES_FILE_NEXT,
183
+ code: "permission-unknown",
184
+ permission: { kind: "keychain" }
185
+ };
186
+ }
187
+ }
188
+ function renderCookiePermissionRecovery(recovery, style) {
189
+ return `${symbol("fail", style)} ${recovery.message}
190
+ ${recovery.detail}
191
+ ${symbol("next", style)} ${recovery.next}
192
+ `;
193
+ }
194
+ var reporter;
195
+ var answers = new Map;
196
+ function setCookiePermissionReporter(next) {
197
+ reporter = next;
198
+ answers.clear();
199
+ }
200
+ async function announceCookiePermissions(needs) {
201
+ const current = reporter;
202
+ if (current === undefined)
203
+ return true;
204
+ for (const need of needs) {
205
+ const key = `${need.kind}:${need.browser}`;
206
+ let answer = answers.get(key);
207
+ if (answer === undefined) {
208
+ answer = current.notice(need);
209
+ answers.set(key, answer);
210
+ }
211
+ if (await answer === "skip")
212
+ return false;
213
+ }
214
+ return true;
215
+ }
216
+ function reportCookiePermissionFailure(failure) {
217
+ reporter?.failure(failure);
218
+ }
219
+
220
+ // src/clip/acquire.ts
47
221
  var agentBrowserBinDirectory = join(resolvePackageDirectory("agent-browser"), "bin");
48
222
  function agentBrowserCommand() {
49
223
  return [process.execPath, join(agentBrowserBinDirectory, "agent-browser.js")];
@@ -951,6 +1125,13 @@ function createCookieRecordReader(reader) {
951
1125
  ...options.cookieSources.includes("safari") ? { safariCookiesFile: options.cookieProfile } : {}
952
1126
  }
953
1127
  };
1128
+ const needs = options.cookieSources.flatMap((source) => {
1129
+ const need = cookiePermissionNeed(source);
1130
+ return need === undefined ? [] : [need];
1131
+ });
1132
+ if (!await announceCookiePermissions(needs)) {
1133
+ throw new Error("reading browser cookies was skipped; pass --cookies-file <path> to use exported cookies instead");
1134
+ }
954
1135
  let provided;
955
1136
  try {
956
1137
  provided = await reader(cookieOptions);
@@ -961,6 +1142,11 @@ function createCookieRecordReader(reader) {
961
1142
  if (!filtered.validShape)
962
1143
  throw new Error("the selected browser cookie provider returned malformed data");
963
1144
  if (filtered.cookies.length === 0) {
1145
+ const permission = classifyCookieProviderWarnings(provided.warnings);
1146
+ if (permission !== undefined) {
1147
+ reportCookiePermissionFailure(permission);
1148
+ throw new Error(cookiePermissionRecovery(permission, process.env).message);
1149
+ }
964
1150
  throw new Error(filtered.rejected === 0 ? "no matching cookies were found in the explicitly selected browser" : `no usable origin-scoped cookies were found; rejected ${filtered.rejected} malformed, expired, or out-of-scope record(s)`);
965
1151
  }
966
1152
  const warnings = [];
@@ -1009,4 +1195,4 @@ async function acquireFile(options) {
1009
1195
  };
1010
1196
  }
1011
1197
 
1012
- export { agentBrowserCommand, isolatedAgentBrowserEnvironment, discoverChromeProfiles, mergeRenderedTextSnapshots, browserExpansionLimits, browserExpansionScript, readBrowserExpansionTelemetry, browserExpansionWarnings, browserExpansionStayedOnPage, browserNavigationReachedTarget, assertSafePersistentProfile, browserCookieCommands, seedOwnedBrowserCookies, browserProxyArguments, acquireBrowser, acquireHttp, acquireCookieHttp, createCookieRecordReader, createCookieHeaderReader, acquireCookieRecords, acquireCookieHeader, acquireFile };
1198
+ export { renderCookiePermissionNotice, CONFIRM_LINE, cookiePermissionRecovery, renderCookiePermissionRecovery, setCookiePermissionReporter, agentBrowserCommand, isolatedAgentBrowserEnvironment, discoverChromeProfiles, mergeRenderedTextSnapshots, browserExpansionLimits, browserExpansionScript, readBrowserExpansionTelemetry, browserExpansionWarnings, browserExpansionStayedOnPage, browserNavigationReachedTarget, assertSafePersistentProfile, browserCookieCommands, seedOwnedBrowserCookies, browserProxyArguments, acquireBrowser, acquireHttp, acquireCookieHttp, createCookieRecordReader, createCookieHeaderReader, acquireCookieRecords, acquireCookieHeader, acquireFile };
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  createSyntheticRankFusionFixture,
16
16
  evaluateRanking,
17
17
  evaluateRetrievalBenchmark
18
- } from "./index-n386evxj.js";
18
+ } from "./index-nn67kzwa.js";
19
19
  import {
20
20
  initVault
21
21
  } from "./index-23z4zxgg.js";
@@ -37,7 +37,7 @@ import {
37
37
  knowledgeBaseEvaluationRetrieverIds,
38
38
  openKnowledgeBaseEvaluation,
39
39
  verifyFrozenEvaluationSnapshot
40
- } from "./index-1k595z6v.js";
40
+ } from "./index-mnq2wy34.js";
41
41
  import {
42
42
  DEFAULT_SEARCH_RESULTS,
43
43
  MAX_SEARCH_CANDIDATES,
@@ -50,7 +50,7 @@ import {
50
50
  packUntrustedSearchContext,
51
51
  searchEvidenceRank,
52
52
  validateKnowledgeBaseSearchHistory
53
- } from "./index-q7tbg07z.js";
53
+ } from "./index-tvd2sqrx.js";
54
54
  import"./index-adx6khj5.js";
55
55
  import {
56
56
  MAX_EMBEDDING_MODEL_BYTES,
@@ -67,7 +67,7 @@ import {
67
67
  searchSemanticVault,
68
68
  semanticDatabasePath,
69
69
  sha256EmbeddingModelFile
70
- } from "./index-rr9kzq4n.js";
70
+ } from "./index-fp732bgg.js";
71
71
  import"./index-4j3tt0c3.js";
72
72
  import {
73
73
  MAX_RERANK_CANDIDATES,
@@ -94,7 +94,7 @@ import {
94
94
  } from "./index-b88v3vtm.js";
95
95
  import {
96
96
  percolateWithGraph
97
- } from "./index-djrcc1yf.js";
97
+ } from "./index-tcaq1c7f.js";
98
98
  import {
99
99
  DEFAULT_PERCOLATION_LIMIT,
100
100
  DEFAULT_PERCOLATION_MIN_SUPPORT,
@@ -115,19 +115,19 @@ import {
115
115
  parsePercolationResultV1,
116
116
  parsePercolationResultV2,
117
117
  percolateVault
118
- } from "./index-jk1sgx36.js";
118
+ } from "./index-bdwcjvr4.js";
119
119
  import {
120
120
  createGraphSnapshot,
121
121
  openGraphAuthority,
122
122
  queryGraph,
123
123
  rebuildGraph,
124
124
  verifyGraph
125
- } from "./index-xv80vzfp.js";
125
+ } from "./index-1er88ckw.js";
126
126
  import {
127
127
  GRAPH_LIMITS,
128
128
  GraphAuthorityError,
129
129
  validateGraphQueryRequest
130
- } from "./index-tf4wzjew.js";
130
+ } from "./index-pgtm2nhf.js";
131
131
  import {
132
132
  GitHistoryError,
133
133
  MAX_GIT_HISTORY_COMMITS,
@@ -154,7 +154,7 @@ import {
154
154
  fuseRankedCandidates,
155
155
  searchExactVault,
156
156
  validateSearchQuery
157
- } from "./index-vnybgywh.js";
157
+ } from "./index-ahyhryb8.js";
158
158
  import"./index-1xxnjn0d.js";
159
159
  import {
160
160
  DEFAULT_PUBLISH_LIST_LIMIT,
@@ -167,7 +167,7 @@ import {
167
167
  publishVault,
168
168
  renderPublishReportText,
169
169
  serializeSiteFile
170
- } from "./index-pnt9wr59.js";
170
+ } from "./index-r0m5taz2.js";
171
171
  import {
172
172
  MAX_NOTE_UTF8_BYTES,
173
173
  MAX_SCANNED_NOTES,
@@ -177,8 +177,10 @@ import {
177
177
  markdownFiles,
178
178
  readVaultNotes,
179
179
  refreshVault,
180
- scanVault
181
- } from "./index-233z9wmn.js";
180
+ refreshVaultComplete,
181
+ scanVault,
182
+ scanVaultComplete
183
+ } from "./index-1s8mc4hz.js";
182
184
  import {
183
185
  MAX_NAVIGATION_INDEXED_CONNECTIONS,
184
186
  MAX_NAVIGATION_RETURNED_CONNECTIONS,
@@ -295,7 +297,7 @@ import {
295
297
  noteRevision,
296
298
  removeNoteRelation,
297
299
  updateNoteBody
298
- } from "./index-ecqpgr5y.js";
300
+ } from "./index-b0khj0h5.js";
299
301
  import"./index-3rm7cz6h.js";
300
302
  import {
301
303
  MAX_ANALYZED_NOTES,
@@ -304,10 +306,12 @@ import {
304
306
  MAX_MENTION_PAIRS,
305
307
  VaultAnalysisBudgetError,
306
308
  analyzeVault,
309
+ analyzeVaultComplete,
307
310
  catalogEnd,
308
311
  catalogStart,
309
312
  isCanonicalNoteId,
310
313
  isCanonicalRelationPredicate,
314
+ isMetadataNumber,
311
315
  lookupNote,
312
316
  metadataValueFromUnknown,
313
317
  normalizeVaultPath,
@@ -316,7 +320,7 @@ import {
316
320
  replaceCatalog,
317
321
  searchableMarkdown,
318
322
  wikiLinks
319
- } from "./index-qbssx940.js";
323
+ } from "./index-jvb7w0gg.js";
320
324
  import"./index-z1w83f81.js";
321
325
  // src/oh-adoption.ts
322
326
  import { createHash } from "crypto";
@@ -768,6 +772,7 @@ export {
768
772
  searchGitHistory,
769
773
  searchExactVault,
770
774
  searchEvidenceRank,
775
+ scanVaultComplete,
771
776
  scanVault,
772
777
  runWorkflow,
773
778
  runRetrievalEvaluation,
@@ -779,6 +784,7 @@ export {
779
784
  renderPublishReportText,
780
785
  renderCatalog,
781
786
  removeNoteRelation,
787
+ refreshVaultComplete,
782
788
  refreshVault,
783
789
  recommendedEmbeddingModelSha256,
784
790
  recommendedEmbeddingModel,
@@ -832,6 +838,7 @@ export {
832
838
  knowledgeBaseEvaluationRetrieverIds,
833
839
  isTerminalPlanStatus,
834
840
  isPlanStatus,
841
+ isMetadataNumber,
835
842
  isCanonicalRelationPredicate,
836
843
  isCanonicalNoteId,
837
844
  isActivePlanStatus,
@@ -875,6 +882,7 @@ export {
875
882
  auditAgentGuideRepository,
876
883
  attestSemanticWarmCache,
877
884
  applyRerank,
885
+ analyzeVaultComplete,
878
886
  analyzeVault,
879
887
  analyzeAuthoredRepositoryScopes,
880
888
  analyzeAgentContexts,
package/dist/pdf.js CHANGED
@@ -24,9 +24,9 @@ import {
24
24
  resolvePdfTools,
25
25
  runPdfCapture,
26
26
  runPdfToolCommand
27
- } from "./index-054mb7d3.js";
28
- import"./index-f984hw45.js";
29
- import"./index-hgve9rh2.js";
27
+ } from "./index-qfqjfxaa.js";
28
+ import"./index-k86wepd8.js";
29
+ import"./index-cd75vky9.js";
30
30
  import"./index-e5fbsywq.js";
31
31
  import"./index-gh719d91.js";
32
32
  import"./index-mxxxytys.js";
package/dist/percolate.js CHANGED
@@ -19,8 +19,8 @@ import {
19
19
  parsePercolationResultV1,
20
20
  parsePercolationResultV2,
21
21
  percolateVault
22
- } from "./index-jk1sgx36.js";
23
- import"./index-qbssx940.js";
22
+ } from "./index-bdwcjvr4.js";
23
+ import"./index-jvb7w0gg.js";
24
24
  import"./index-z1w83f81.js";
25
25
  export {
26
26
  percolateVault,
package/dist/portfolio.js CHANGED
@@ -20,20 +20,20 @@ import {
20
20
  selectAuthorizedVaults,
21
21
  snapshotPortfolioRegistry,
22
22
  validateResolvedPortfolioVaults
23
- } from "./index-bqtqeak3.js";
24
- import"./index-q7tbg07z.js";
23
+ } from "./index-r4qs6vq4.js";
24
+ import"./index-tvd2sqrx.js";
25
25
  import"./index-adx6khj5.js";
26
- import"./index-rr9kzq4n.js";
26
+ import"./index-fp732bgg.js";
27
27
  import"./index-4j3tt0c3.js";
28
28
  import"./index-j70m75wd.js";
29
- import"./index-djrcc1yf.js";
30
- import"./index-jk1sgx36.js";
31
- import"./index-xv80vzfp.js";
32
- import"./index-tf4wzjew.js";
29
+ import"./index-tcaq1c7f.js";
30
+ import"./index-bdwcjvr4.js";
31
+ import"./index-1er88ckw.js";
32
+ import"./index-pgtm2nhf.js";
33
33
  import"./index-1gwbassd.js";
34
- import"./index-vnybgywh.js";
34
+ import"./index-ahyhryb8.js";
35
35
  import"./index-1xxnjn0d.js";
36
- import"./index-233z9wmn.js";
36
+ import"./index-1s8mc4hz.js";
37
37
  import"./index-d13v9ckt.js";
38
38
  import"./index-48pz4jpc.js";
39
39
  import"./index-06c9ctr6.js";
@@ -50,7 +50,7 @@ import {
50
50
  parseVaultKey,
51
51
  portfolioDocumentIdentity,
52
52
  portfolioVaultIdentity
53
- } from "./index-qbssx940.js";
53
+ } from "./index-jvb7w0gg.js";
54
54
  import"./index-z1w83f81.js";
55
55
  export {
56
56
  validateResolvedPortfolioVaults,
package/dist/publish.js CHANGED
@@ -10,8 +10,8 @@ import {
10
10
  publishVault,
11
11
  renderPublishReportText,
12
12
  serializeSiteFile
13
- } from "./index-pnt9wr59.js";
14
- import"./index-233z9wmn.js";
13
+ } from "./index-r0m5taz2.js";
14
+ import"./index-1s8mc4hz.js";
15
15
  import"./index-d13v9ckt.js";
16
16
  import"./index-48pz4jpc.js";
17
17
  import"./index-06c9ctr6.js";
@@ -20,7 +20,7 @@ import"./index-66pshdtx.js";
20
20
  import"./index-23m6bbjt.js";
21
21
  import"./index-5vwpzb5a.js";
22
22
  import"./index-x3fthpsc.js";
23
- import"./index-qbssx940.js";
23
+ import"./index-jvb7w0gg.js";
24
24
  import"./index-z1w83f81.js";
25
25
  export {
26
26
  serializeSiteFile,
package/dist/sdk.js CHANGED
@@ -11,25 +11,25 @@ import {
11
11
  packUntrustedSearchContext,
12
12
  searchEvidenceRank,
13
13
  validateKnowledgeBaseSearchHistory
14
- } from "./index-q7tbg07z.js";
14
+ } from "./index-tvd2sqrx.js";
15
15
  import"./index-adx6khj5.js";
16
- import"./index-rr9kzq4n.js";
16
+ import"./index-fp732bgg.js";
17
17
  import"./index-4j3tt0c3.js";
18
18
  import"./index-j70m75wd.js";
19
- import"./index-djrcc1yf.js";
20
- import"./index-jk1sgx36.js";
21
- import"./index-xv80vzfp.js";
22
- import"./index-tf4wzjew.js";
19
+ import"./index-tcaq1c7f.js";
20
+ import"./index-bdwcjvr4.js";
21
+ import"./index-1er88ckw.js";
22
+ import"./index-pgtm2nhf.js";
23
23
  import"./index-1gwbassd.js";
24
- import"./index-vnybgywh.js";
24
+ import"./index-ahyhryb8.js";
25
25
  import"./index-1xxnjn0d.js";
26
- import"./index-233z9wmn.js";
26
+ import"./index-1s8mc4hz.js";
27
27
  import"./index-d13v9ckt.js";
28
28
  import"./index-48pz4jpc.js";
29
29
  import"./index-06c9ctr6.js";
30
30
  import"./index-5vwpzb5a.js";
31
31
  import"./index-3rm7cz6h.js";
32
- import"./index-qbssx940.js";
32
+ import"./index-jvb7w0gg.js";
33
33
  import"./index-z1w83f81.js";
34
34
  export {
35
35
  validateKnowledgeBaseSearchHistory,
package/dist/search.js CHANGED
@@ -6,12 +6,12 @@ import {
6
6
  fuseRankedCandidates,
7
7
  searchExactVault,
8
8
  validateSearchQuery
9
- } from "./index-vnybgywh.js";
9
+ } from "./index-ahyhryb8.js";
10
10
  import"./index-d13v9ckt.js";
11
11
  import"./index-48pz4jpc.js";
12
12
  import"./index-06c9ctr6.js";
13
13
  import"./index-5vwpzb5a.js";
14
- import"./index-qbssx940.js";
14
+ import"./index-jvb7w0gg.js";
15
15
  import"./index-z1w83f81.js";
16
16
  export {
17
17
  validateSearchQuery,
package/dist/semantic.js CHANGED
@@ -14,14 +14,14 @@ import {
14
14
  searchSemanticVault,
15
15
  semanticDatabasePath,
16
16
  sha256EmbeddingModelFile
17
- } from "./index-rr9kzq4n.js";
18
- import"./index-vnybgywh.js";
19
- import"./index-233z9wmn.js";
17
+ } from "./index-fp732bgg.js";
18
+ import"./index-ahyhryb8.js";
19
+ import"./index-1s8mc4hz.js";
20
20
  import"./index-d13v9ckt.js";
21
21
  import"./index-48pz4jpc.js";
22
22
  import"./index-06c9ctr6.js";
23
23
  import"./index-5vwpzb5a.js";
24
- import"./index-qbssx940.js";
24
+ import"./index-jvb7w0gg.js";
25
25
  import"./index-z1w83f81.js";
26
26
  export {
27
27
  sha256EmbeddingModelFile,
@@ -2,48 +2,48 @@
2
2
  import {
3
3
  parseArguments as parseArguments2,
4
4
  parseUrlMetadataArguments
5
- } from "./index-9h7zh0wt.js";
6
- import"./index-bcknqxrq.js";
5
+ } from "./index-vtwbapjr.js";
6
+ import"./index-0eacgvpv.js";
7
7
  import {
8
8
  parsePdfArguments
9
- } from "./index-054mb7d3.js";
10
- import"./index-bqtqeak3.js";
9
+ } from "./index-qfqjfxaa.js";
10
+ import"./index-r4qs6vq4.js";
11
11
  import"./index-j4zgmzjr.js";
12
- import"./index-de2w8crk.js";
12
+ import"./index-2fmnttca.js";
13
13
  import"./index-6jcz0m1c.js";
14
- import"./index-f984hw45.js";
15
- import"./index-fc4dr114.js";
14
+ import"./index-k86wepd8.js";
15
+ import"./index-nwrehke7.js";
16
16
  import"./index-5n05se68.js";
17
- import"./index-g5vsqmdy.js";
18
- import"./index-hgve9rh2.js";
17
+ import"./index-xwxy71ew.js";
18
+ import"./index-cd75vky9.js";
19
19
  import"./index-2gv8y733.js";
20
20
  import"./index-w2zc0vwa.js";
21
21
  import"./index-e5fbsywq.js";
22
22
  import {
23
23
  parseArguments
24
- } from "./index-dfag79p7.js";
24
+ } from "./index-byz4kzww.js";
25
25
  import"./index-gh719d91.js";
26
26
  import"./index-npg9z1a4.js";
27
27
  import"./index-mxxxytys.js";
28
28
  import"./index-23z4zxgg.js";
29
29
  import"./index-pj501bh1.js";
30
30
  import"./index-9rf81m0p.js";
31
- import"./index-1k595z6v.js";
32
- import"./index-q7tbg07z.js";
31
+ import"./index-mnq2wy34.js";
32
+ import"./index-tvd2sqrx.js";
33
33
  import"./index-adx6khj5.js";
34
- import"./index-rr9kzq4n.js";
34
+ import"./index-fp732bgg.js";
35
35
  import"./index-4j3tt0c3.js";
36
36
  import"./index-j70m75wd.js";
37
37
  import"./index-b88v3vtm.js";
38
- import"./index-djrcc1yf.js";
39
- import"./index-jk1sgx36.js";
40
- import"./index-xv80vzfp.js";
41
- import"./index-tf4wzjew.js";
38
+ import"./index-tcaq1c7f.js";
39
+ import"./index-bdwcjvr4.js";
40
+ import"./index-1er88ckw.js";
41
+ import"./index-pgtm2nhf.js";
42
42
  import"./index-1gwbassd.js";
43
- import"./index-vnybgywh.js";
43
+ import"./index-ahyhryb8.js";
44
44
  import"./index-1xxnjn0d.js";
45
- import"./index-pnt9wr59.js";
46
- import"./index-233z9wmn.js";
45
+ import"./index-r0m5taz2.js";
46
+ import"./index-1s8mc4hz.js";
47
47
  import"./index-d13v9ckt.js";
48
48
  import"./index-48pz4jpc.js";
49
49
  import"./index-06c9ctr6.js";
@@ -53,9 +53,9 @@ import"./index-23m6bbjt.js";
53
53
  import"./index-hya40gb2.js";
54
54
  import"./index-5vwpzb5a.js";
55
55
  import"./index-x3fthpsc.js";
56
- import"./index-ecqpgr5y.js";
56
+ import"./index-b0khj0h5.js";
57
57
  import"./index-3rm7cz6h.js";
58
- import"./index-qbssx940.js";
58
+ import"./index-jvb7w0gg.js";
59
59
  import"./index-z1w83f81.js";
60
60
 
61
61
  // src/support.ts
@@ -65,7 +65,7 @@ import { maybeShowSupportInvitation, runSupportCommand } from "@hraness/support-
65
65
  var supportProfile = {
66
66
  id: "kb",
67
67
  name: "Wordcell",
68
- valueProposition: "Support ongoing development of inspectable Markdown memory.",
68
+ valueProposition: "Support ongoing development of Wordcell.",
69
69
  updates: false
70
70
  };
71
71
 
@@ -115,6 +115,8 @@ function isUsefulSupportResult(args, environment) {
115
115
  const metadata = parseUrlMetadataArguments(command.arguments, environment);
116
116
  return metadata.ok && metadata.value.kind === "backfill";
117
117
  }
118
+ case "mcp":
119
+ return false;
118
120
  default:
119
121
  return false;
120
122
  }
@@ -10,7 +10,7 @@ import {
10
10
  readUrlMetadataDocument,
11
11
  renderUrlMetadataDocument,
12
12
  writeUrlMetadataDocument
13
- } from "./index-bcknqxrq.js";
13
+ } from "./index-0eacgvpv.js";
14
14
  import {
15
15
  ARCHIVE_TODAY_HOSTS,
16
16
  ArchiveTodayFailure,