@hraness/wordcell 0.22.5 → 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.
- package/README.md +56 -18
- package/dist/authoring.js +2 -2
- package/dist/{authority-3ga47syb.js → authority-35cbvp1x.js} +2 -2
- package/dist/benchmark.js +3 -3
- package/dist/capture.js +6 -6
- package/dist/cli.js +26 -24
- package/dist/clip/acquire.js +3 -3
- package/dist/clip/args.js +1 -1
- package/dist/clip/cli.js +6 -6
- package/dist/clip/doctor.js +4 -4
- package/dist/evaluation-builder.js +10 -10
- package/dist/evaluation-kb.js +10 -10
- package/dist/graph-authority.js +4 -4
- package/dist/graph-percolation.js +6 -6
- package/dist/graph.js +3 -1
- package/dist/{index-bcknqxrq.js → index-0eacgvpv.js} +9 -1
- package/dist/{index-f75zmmdr.js → index-1er88ckw.js} +4 -4
- package/dist/{index-8v6k9h4r.js → index-1s8mc4hz.js} +1 -1
- package/dist/{index-de2w8crk.js → index-2fmnttca.js} +82 -15
- package/dist/{index-aer0jdrq.js → index-ahyhryb8.js} +1 -1
- package/dist/{index-f7fnww7a.js → index-b0khj0h5.js} +164 -9
- package/dist/{index-qdb8f8va.js → index-bdwcjvr4.js} +1 -1
- package/dist/{index-dfag79p7.js → index-byz4kzww.js} +3 -0
- package/dist/{index-hgve9rh2.js → index-cd75vky9.js} +96 -1
- package/dist/{index-n57tewfr.js → index-fp732bgg.js} +2 -2
- package/dist/{index-zy7an84p.js → index-jvb7w0gg.js} +5 -2
- package/dist/{index-f984hw45.js → index-k86wepd8.js} +1 -1
- package/dist/{index-1r5rnkfr.js → index-mnq2wy34.js} +2 -2
- package/dist/{index-p96kb6t2.js → index-nn67kzwa.js} +1 -1
- package/dist/{index-fc4dr114.js → index-nwrehke7.js} +1 -1
- package/dist/{index-n9kwenpt.js → index-p70t8j13.js} +1 -1
- package/dist/{index-pz2b2x0y.js → index-pgtm2nhf.js} +1 -1
- package/dist/{index-054mb7d3.js → index-qfqjfxaa.js} +10 -9
- package/dist/{index-xzvcw9ga.js → index-r0m5taz2.js} +2 -2
- package/dist/{index-h2qn3y3f.js → index-r4qs6vq4.js} +4 -4
- package/dist/{index-gtwqye5a.js → index-tcaq1c7f.js} +4 -4
- package/dist/{index-42tb8qqp.js → index-tvd2sqrx.js} +7 -7
- package/dist/{index-8bgnhjgq.js → index-vtwbapjr.js} +3810 -159
- package/dist/{index-g5vsqmdy.js → index-xwxy71ew.js} +190 -4
- package/dist/index.js +15 -13
- package/dist/pdf.js +3 -3
- package/dist/percolate.js +2 -2
- package/dist/portfolio.js +10 -10
- package/dist/publish.js +3 -3
- package/dist/sdk.js +9 -9
- package/dist/search.js +2 -2
- package/dist/semantic.js +4 -4
- package/dist/{support-jf9v10j7.js → support-c8hy7qfa.js} +25 -23
- package/dist/url-intelligence.js +1 -1
- package/dist/workflows/decision-context.js +10 -10
- package/dist/workflows/index.js +10 -10
- package/package.json +11 -4
- package/skills/wordcell/AGENTS.md +1 -0
- package/skills/wordcell/SKILL.md +5 -3
- package/skills/wordcell/references/query.md +35 -1
- package/skills/wordcell/references/session-memory.md +207 -0
- package/src/authoring-import.ts +32 -0
- package/src/authoring-model.ts +185 -2
- package/src/authoring-program.ts +19 -7
- package/src/cli-help.ts +893 -0
- package/src/cli-intro.ts +1 -1
- package/src/cli-program.ts +571 -80
- package/src/cli-style.ts +132 -0
- package/src/clip/acquire.ts +20 -0
- package/src/clip/args.ts +3 -0
- package/src/clip/cli.ts +82 -5
- package/src/clip/cookie-permission.ts +241 -0
- package/src/clip/url-metadata-cli.ts +6 -5
- package/src/clip/url-metadata.ts +14 -0
- package/src/graph.ts +9 -4
- package/src/import-supermemory.ts +1629 -0
- package/src/mcp-server.ts +415 -0
- package/src/mcp-tools.ts +1122 -0
- package/src/pdf/cli.ts +5 -4
- package/src/support-profile.ts +1 -1
- package/src/support.ts +3 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
classifyPlatformUrl
|
|
4
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
125
|
+
} from "./index-1er88ckw.js";
|
|
126
126
|
import {
|
|
127
127
|
GRAPH_LIMITS,
|
|
128
128
|
GraphAuthorityError,
|
|
129
129
|
validateGraphQueryRequest
|
|
130
|
-
} from "./index-
|
|
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-
|
|
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-
|
|
170
|
+
} from "./index-r0m5taz2.js";
|
|
171
171
|
import {
|
|
172
172
|
MAX_NOTE_UTF8_BYTES,
|
|
173
173
|
MAX_SCANNED_NOTES,
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
refreshVaultComplete,
|
|
181
181
|
scanVault,
|
|
182
182
|
scanVaultComplete
|
|
183
|
-
} from "./index-
|
|
183
|
+
} from "./index-1s8mc4hz.js";
|
|
184
184
|
import {
|
|
185
185
|
MAX_NAVIGATION_INDEXED_CONNECTIONS,
|
|
186
186
|
MAX_NAVIGATION_RETURNED_CONNECTIONS,
|
|
@@ -297,7 +297,7 @@ import {
|
|
|
297
297
|
noteRevision,
|
|
298
298
|
removeNoteRelation,
|
|
299
299
|
updateNoteBody
|
|
300
|
-
} from "./index-
|
|
300
|
+
} from "./index-b0khj0h5.js";
|
|
301
301
|
import"./index-3rm7cz6h.js";
|
|
302
302
|
import {
|
|
303
303
|
MAX_ANALYZED_NOTES,
|
|
@@ -311,6 +311,7 @@ import {
|
|
|
311
311
|
catalogStart,
|
|
312
312
|
isCanonicalNoteId,
|
|
313
313
|
isCanonicalRelationPredicate,
|
|
314
|
+
isMetadataNumber,
|
|
314
315
|
lookupNote,
|
|
315
316
|
metadataValueFromUnknown,
|
|
316
317
|
normalizeVaultPath,
|
|
@@ -319,7 +320,7 @@ import {
|
|
|
319
320
|
replaceCatalog,
|
|
320
321
|
searchableMarkdown,
|
|
321
322
|
wikiLinks
|
|
322
|
-
} from "./index-
|
|
323
|
+
} from "./index-jvb7w0gg.js";
|
|
323
324
|
import"./index-z1w83f81.js";
|
|
324
325
|
// src/oh-adoption.ts
|
|
325
326
|
import { createHash } from "crypto";
|
|
@@ -837,6 +838,7 @@ export {
|
|
|
837
838
|
knowledgeBaseEvaluationRetrieverIds,
|
|
838
839
|
isTerminalPlanStatus,
|
|
839
840
|
isPlanStatus,
|
|
841
|
+
isMetadataNumber,
|
|
840
842
|
isCanonicalRelationPredicate,
|
|
841
843
|
isCanonicalNoteId,
|
|
842
844
|
isActivePlanStatus,
|
package/dist/pdf.js
CHANGED
|
@@ -24,9 +24,9 @@ import {
|
|
|
24
24
|
resolvePdfTools,
|
|
25
25
|
runPdfCapture,
|
|
26
26
|
runPdfToolCommand
|
|
27
|
-
} from "./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
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-
|
|
23
|
-
import"./index-
|
|
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-
|
|
24
|
-
import"./index-
|
|
23
|
+
} from "./index-r4qs6vq4.js";
|
|
24
|
+
import"./index-tvd2sqrx.js";
|
|
25
25
|
import"./index-adx6khj5.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-fp732bgg.js";
|
|
27
27
|
import"./index-4j3tt0c3.js";
|
|
28
28
|
import"./index-j70m75wd.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
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-
|
|
34
|
+
import"./index-ahyhryb8.js";
|
|
35
35
|
import"./index-1xxnjn0d.js";
|
|
36
|
-
import"./index-
|
|
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-
|
|
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-
|
|
14
|
-
import"./index-
|
|
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-
|
|
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-
|
|
14
|
+
} from "./index-tvd2sqrx.js";
|
|
15
15
|
import"./index-adx6khj5.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-fp732bgg.js";
|
|
17
17
|
import"./index-4j3tt0c3.js";
|
|
18
18
|
import"./index-j70m75wd.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
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-
|
|
24
|
+
import"./index-ahyhryb8.js";
|
|
25
25
|
import"./index-1xxnjn0d.js";
|
|
26
|
-
import"./index-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
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-
|
|
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-
|
|
6
|
-
import"./index-
|
|
5
|
+
} from "./index-vtwbapjr.js";
|
|
6
|
+
import"./index-0eacgvpv.js";
|
|
7
7
|
import {
|
|
8
8
|
parsePdfArguments
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
9
|
+
} from "./index-qfqjfxaa.js";
|
|
10
|
+
import"./index-r4qs6vq4.js";
|
|
11
11
|
import"./index-j4zgmzjr.js";
|
|
12
|
-
import"./index-
|
|
12
|
+
import"./index-2fmnttca.js";
|
|
13
13
|
import"./index-6jcz0m1c.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-k86wepd8.js";
|
|
15
|
+
import"./index-nwrehke7.js";
|
|
16
16
|
import"./index-5n05se68.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
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-
|
|
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-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-mnq2wy34.js";
|
|
32
|
+
import"./index-tvd2sqrx.js";
|
|
33
33
|
import"./index-adx6khj5.js";
|
|
34
|
-
import"./index-
|
|
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-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
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-
|
|
43
|
+
import"./index-ahyhryb8.js";
|
|
44
44
|
import"./index-1xxnjn0d.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
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-
|
|
56
|
+
import"./index-b0khj0h5.js";
|
|
57
57
|
import"./index-3rm7cz6h.js";
|
|
58
|
-
import"./index-
|
|
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
|
|
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
|
}
|
package/dist/url-intelligence.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
decisionContextWorkflow
|
|
4
|
-
} from "../index-
|
|
4
|
+
} from "../index-p70t8j13.js";
|
|
5
5
|
import"../index-h170byqw.js";
|
|
6
|
-
import"../index-
|
|
6
|
+
import"../index-tvd2sqrx.js";
|
|
7
7
|
import"../index-adx6khj5.js";
|
|
8
|
-
import"../index-
|
|
8
|
+
import"../index-fp732bgg.js";
|
|
9
9
|
import"../index-4j3tt0c3.js";
|
|
10
10
|
import"../index-j70m75wd.js";
|
|
11
|
-
import"../index-
|
|
12
|
-
import"../index-
|
|
13
|
-
import"../index-
|
|
14
|
-
import"../index-
|
|
11
|
+
import"../index-tcaq1c7f.js";
|
|
12
|
+
import"../index-bdwcjvr4.js";
|
|
13
|
+
import"../index-1er88ckw.js";
|
|
14
|
+
import"../index-pgtm2nhf.js";
|
|
15
15
|
import"../index-1gwbassd.js";
|
|
16
|
-
import"../index-
|
|
16
|
+
import"../index-ahyhryb8.js";
|
|
17
17
|
import"../index-1xxnjn0d.js";
|
|
18
|
-
import"../index-
|
|
18
|
+
import"../index-1s8mc4hz.js";
|
|
19
19
|
import"../index-d13v9ckt.js";
|
|
20
20
|
import"../index-48pz4jpc.js";
|
|
21
21
|
import"../index-06c9ctr6.js";
|
|
22
22
|
import"../index-5vwpzb5a.js";
|
|
23
23
|
import"../index-3rm7cz6h.js";
|
|
24
|
-
import"../index-
|
|
24
|
+
import"../index-jvb7w0gg.js";
|
|
25
25
|
import"../index-z1w83f81.js";
|
|
26
26
|
export {
|
|
27
27
|
decisionContextWorkflow
|