@hraness/wordcell 0.25.1 → 0.26.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 +37 -35
- package/dist/capture.js +6 -6
- package/dist/cli-bin.js +14 -0
- package/dist/cli-release-c74c5m3k.js +799 -0
- package/dist/cli.js +26 -23
- package/dist/clip/acquire.js +3 -3
- package/dist/clip/cli.js +6 -6
- package/dist/clip/doctor.js +4 -4
- package/dist/evaluation-builder-bin.js +14 -0
- package/dist/evaluation-builder.js +12 -17
- package/dist/evaluation-kb.js +6 -6
- package/dist/graph-percolation.js +2 -2
- package/dist/index-3t0v457d.js +18 -0
- package/dist/{index-47893rgw.js → index-5h5awwh4.js} +4 -4
- package/dist/index-8pabwzqg.js +909 -0
- package/dist/{index-1wccy765.js → index-8w1zsgcm.js} +63 -930
- package/dist/{index-7drercgk.js → index-9fywek7g.js} +1 -1
- package/dist/{index-hz2wyggk.js → index-9paxge84.js} +1 -1
- package/dist/{index-mcpppwbq.js → index-9zkba8hr.js} +6 -6
- package/dist/{index-59bcxqee.js → index-j2jt49gr.js} +1 -1
- package/dist/index-ncgdaja4.js +64 -0
- package/dist/{index-nwrehke7.js → index-nd8v7r0z.js} +1 -1
- package/dist/{index-t3abkwk4.js → index-zbv70qmk.js} +15 -15
- package/dist/index.js +40 -40
- package/dist/pdf.js +2 -2
- package/dist/portfolio.js +5 -5
- package/dist/sdk.js +4 -4
- package/dist/{support-adj7bbge.js → support-ym4mpf7w.js} +19 -18
- package/dist/url-intelligence.js +3 -3
- package/dist/workflows/decision-context.js +5 -5
- package/dist/workflows/index.js +5 -5
- package/package.json +13 -6
- package/skills/wordcell/SKILL.md +10 -1
- package/src/cli-bin.ts +5 -0
- package/src/cli-help.ts +12 -0
- package/src/cli-program.ts +3 -57
- package/src/cli-release.ts +732 -0
- package/src/cli-startup.ts +76 -0
- package/src/cli-update.ts +53 -0
- package/src/cli.ts +5 -4
- package/src/evaluation-builder-bin.ts +5 -0
- package/src/evaluation-builder-cli-args.ts +30 -0
- package/src/evaluation-builder.ts +3 -27
- package/src/import-supermemory.ts +3 -1
- package/dist/{index-hxyjer3x.js → index-hacpnaew.js} +3 -3
- package/dist/{index-qfqjfxaa.js → index-m9p2a4mj.js} +4 -4
- package/dist/{index-xwxy71ew.js → index-ncwzmsge.js} +5 -5
- package/dist/{index-e26mdwxz.js → index-wqx1x32f.js} +3 -3
package/dist/cli.js
CHANGED
|
@@ -6,39 +6,40 @@ import {
|
|
|
6
6
|
parseArguments,
|
|
7
7
|
runExecutable,
|
|
8
8
|
usage
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
9
|
+
} from "./index-8w1zsgcm.js";
|
|
10
|
+
import"./index-5h5awwh4.js";
|
|
11
|
+
import"./index-m9p2a4mj.js";
|
|
12
|
+
import"./index-9paxge84.js";
|
|
13
13
|
import"./index-j4zgmzjr.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-npg9z1a4.js";
|
|
15
|
+
import"./index-zbv70qmk.js";
|
|
16
|
+
import"./index-hacpnaew.js";
|
|
16
17
|
import"./index-k86wepd8.js";
|
|
17
|
-
import"./index-
|
|
18
|
+
import"./index-nd8v7r0z.js";
|
|
18
19
|
import"./index-5n05se68.js";
|
|
19
|
-
import"./index-
|
|
20
|
+
import"./index-8pabwzqg.js";
|
|
21
|
+
import"./index-ncwzmsge.js";
|
|
20
22
|
import"./index-cd75vky9.js";
|
|
21
23
|
import"./index-2gv8y733.js";
|
|
24
|
+
import"./index-mxxxytys.js";
|
|
22
25
|
import"./index-w2zc0vwa.js";
|
|
23
26
|
import"./index-e5fbsywq.js";
|
|
24
|
-
import"./index-byz4kzww.js";
|
|
25
27
|
import"./index-gh719d91.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-mxxxytys.js";
|
|
28
|
+
import"./index-byz4kzww.js";
|
|
28
29
|
import"./index-23z4zxgg.js";
|
|
29
|
-
import"./index-pj501bh1.js";
|
|
30
30
|
import"./index-9rf81m0p.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-pj501bh1.js";
|
|
32
|
+
import"./index-j2jt49gr.js";
|
|
33
|
+
import"./index-9zkba8hr.js";
|
|
33
34
|
import"./index-adx6khj5.js";
|
|
34
35
|
import"./index-fp732bgg.js";
|
|
35
36
|
import"./index-4j3tt0c3.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-b88v3vtm.js";
|
|
38
|
-
import"./index-e26mdwxz.js";
|
|
39
|
-
import"./index-bdwcjvr4.js";
|
|
37
|
+
import"./index-wqx1x32f.js";
|
|
40
38
|
import"./index-3gc2yk4k.js";
|
|
41
39
|
import"./index-pgtm2nhf.js";
|
|
40
|
+
import"./index-bdwcjvr4.js";
|
|
41
|
+
import"./index-j70m75wd.js";
|
|
42
|
+
import"./index-b88v3vtm.js";
|
|
42
43
|
import"./index-1gwbassd.js";
|
|
43
44
|
import"./index-ahyhryb8.js";
|
|
44
45
|
import"./index-1xxnjn0d.js";
|
|
@@ -62,21 +63,23 @@ import {
|
|
|
62
63
|
} from "./index-z1w83f81.js";
|
|
63
64
|
|
|
64
65
|
// src/cli.ts
|
|
65
|
-
|
|
66
|
-
const { standaloneSupportEnvironment, isUsefulSupportResult, runProductSupportCommand, showProductSupportInvitation } = await import("./support-
|
|
66
|
+
async function runStandaloneCli(args = process.argv.slice(2)) {
|
|
67
|
+
const { standaloneSupportEnvironment, isUsefulSupportResult, runProductSupportCommand, showProductSupportInvitation } = await import("./support-ym4mpf7w.js");
|
|
67
68
|
const env = standaloneSupportEnvironment();
|
|
68
|
-
const args = process.argv.slice(2);
|
|
69
69
|
if (args[0] === "support") {
|
|
70
|
-
|
|
70
|
+
return await runProductSupportCommand(args.slice(1), { env });
|
|
71
71
|
} else {
|
|
72
72
|
const exitCode = await runExecutable(args);
|
|
73
|
-
process.exitCode = exitCode;
|
|
74
73
|
if (exitCode === 0 && isUsefulSupportResult(args, env))
|
|
75
74
|
await showProductSupportInvitation({ env });
|
|
75
|
+
return exitCode;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
+
if (import.meta.main)
|
|
79
|
+
process.exitCode = await runStandaloneCli();
|
|
78
80
|
export {
|
|
79
81
|
usage,
|
|
82
|
+
runStandaloneCli,
|
|
80
83
|
runExecutable,
|
|
81
84
|
parseArguments,
|
|
82
85
|
main,
|
package/dist/clip/acquire.js
CHANGED
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
mergeRenderedTextSnapshots,
|
|
23
23
|
readBrowserExpansionTelemetry,
|
|
24
24
|
seedOwnedBrowserCookies
|
|
25
|
-
} from "../index-
|
|
25
|
+
} from "../index-ncwzmsge.js";
|
|
26
26
|
import"../index-cd75vky9.js";
|
|
27
27
|
import"../index-2gv8y733.js";
|
|
28
|
+
import"../index-mxxxytys.js";
|
|
28
29
|
import"../index-w2zc0vwa.js";
|
|
29
30
|
import"../index-e5fbsywq.js";
|
|
30
|
-
import"../index-byz4kzww.js";
|
|
31
31
|
import"../index-gh719d91.js";
|
|
32
|
-
import"../index-
|
|
32
|
+
import"../index-byz4kzww.js";
|
|
33
33
|
import"../index-1xxnjn0d.js";
|
|
34
34
|
import"../index-4knsp9qj.js";
|
|
35
35
|
import"../index-z1w83f81.js";
|
package/dist/clip/cli.js
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
captureSucceeded,
|
|
6
6
|
captureSummary,
|
|
7
7
|
main
|
|
8
|
-
} from "../index-
|
|
9
|
-
import"../index-
|
|
8
|
+
} from "../index-zbv70qmk.js";
|
|
9
|
+
import"../index-hacpnaew.js";
|
|
10
10
|
import"../index-k86wepd8.js";
|
|
11
|
-
import"../index-
|
|
11
|
+
import"../index-nd8v7r0z.js";
|
|
12
12
|
import"../index-5n05se68.js";
|
|
13
|
-
import"../index-
|
|
13
|
+
import"../index-ncwzmsge.js";
|
|
14
14
|
import"../index-cd75vky9.js";
|
|
15
15
|
import"../index-2gv8y733.js";
|
|
16
|
+
import"../index-mxxxytys.js";
|
|
16
17
|
import"../index-w2zc0vwa.js";
|
|
17
18
|
import"../index-e5fbsywq.js";
|
|
18
|
-
import"../index-byz4kzww.js";
|
|
19
19
|
import"../index-gh719d91.js";
|
|
20
|
-
import"../index-
|
|
20
|
+
import"../index-byz4kzww.js";
|
|
21
21
|
import"../index-1xxnjn0d.js";
|
|
22
22
|
import"../index-4knsp9qj.js";
|
|
23
23
|
import"../index-z1w83f81.js";
|
package/dist/clip/doctor.js
CHANGED
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
renderAdapterCapabilities,
|
|
10
10
|
renderDoctorReport,
|
|
11
11
|
runDiagnosticCommand
|
|
12
|
-
} from "../index-
|
|
13
|
-
import"../index-
|
|
12
|
+
} from "../index-nd8v7r0z.js";
|
|
13
|
+
import"../index-ncwzmsge.js";
|
|
14
14
|
import"../index-cd75vky9.js";
|
|
15
15
|
import"../index-2gv8y733.js";
|
|
16
|
+
import"../index-mxxxytys.js";
|
|
16
17
|
import"../index-w2zc0vwa.js";
|
|
17
18
|
import"../index-e5fbsywq.js";
|
|
18
|
-
import"../index-byz4kzww.js";
|
|
19
19
|
import"../index-gh719d91.js";
|
|
20
|
-
import"../index-
|
|
20
|
+
import"../index-byz4kzww.js";
|
|
21
21
|
import"../index-1xxnjn0d.js";
|
|
22
22
|
import"../index-4knsp9qj.js";
|
|
23
23
|
import"../index-z1w83f81.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
// @bun
|
|
3
|
+
import {
|
|
4
|
+
runWordcellBin
|
|
5
|
+
} from "./index-ncgdaja4.js";
|
|
6
|
+
import"./index-3t0v457d.js";
|
|
7
|
+
import"./index-8pabwzqg.js";
|
|
8
|
+
import"./index-4knsp9qj.js";
|
|
9
|
+
import"./index-z1w83f81.js";
|
|
10
|
+
|
|
11
|
+
// src/evaluation-builder-bin.ts
|
|
12
|
+
import { fileURLToPath } from "url";
|
|
13
|
+
if (import.meta.main)
|
|
14
|
+
process.exitCode = await runWordcellBin("wordcell-evaluation-builder", fileURLToPath(import.meta.url), process.argv.slice(2));
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
+
import {
|
|
4
|
+
isEvaluationBuilderHelp,
|
|
5
|
+
kbEvidenceRoutingBuildUsage,
|
|
6
|
+
parseKbEvidenceRoutingBuildCliArguments
|
|
7
|
+
} from "./index-3t0v457d.js";
|
|
3
8
|
import {
|
|
4
9
|
knowledgeBaseEvaluationRetrieverIds,
|
|
5
10
|
openKnowledgeBaseEvaluation,
|
|
6
11
|
verifyFrozenEvaluationSnapshot
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
12
|
+
} from "./index-j2jt49gr.js";
|
|
13
|
+
import"./index-9zkba8hr.js";
|
|
9
14
|
import"./index-adx6khj5.js";
|
|
10
15
|
import {
|
|
11
16
|
indexSemanticVault,
|
|
@@ -13,16 +18,16 @@ import {
|
|
|
13
18
|
recommendedEmbeddingModelSha256
|
|
14
19
|
} from "./index-fp732bgg.js";
|
|
15
20
|
import"./index-4j3tt0c3.js";
|
|
21
|
+
import"./index-wqx1x32f.js";
|
|
22
|
+
import"./index-3gc2yk4k.js";
|
|
23
|
+
import"./index-pgtm2nhf.js";
|
|
24
|
+
import"./index-bdwcjvr4.js";
|
|
16
25
|
import"./index-j70m75wd.js";
|
|
17
26
|
import {
|
|
18
27
|
MAX_EVALUATION_DIAGNOSTICS,
|
|
19
28
|
MAX_EVALUATION_EVIDENCE_BYTES,
|
|
20
29
|
MAX_EVALUATION_RESULTS_PER_QUERY
|
|
21
30
|
} from "./index-b88v3vtm.js";
|
|
22
|
-
import"./index-e26mdwxz.js";
|
|
23
|
-
import"./index-bdwcjvr4.js";
|
|
24
|
-
import"./index-3gc2yk4k.js";
|
|
25
|
-
import"./index-pgtm2nhf.js";
|
|
26
31
|
import {
|
|
27
32
|
runGitCommand
|
|
28
33
|
} from "./index-1gwbassd.js";
|
|
@@ -12055,16 +12060,6 @@ async function buildKbEvidenceRoutingEvaluation(configPath, dependencies = {}) {
|
|
|
12055
12060
|
}
|
|
12056
12061
|
};
|
|
12057
12062
|
}
|
|
12058
|
-
var kbEvidenceRoutingBuildUsage = "Usage: wordcell-evaluation-builder <--anchor-seal|--build> --config <checked-config.json> --artifact-root <artifact-B>";
|
|
12059
|
-
function parseKbEvidenceRoutingBuildCliArguments(arguments_) {
|
|
12060
|
-
const mode = arguments_[0];
|
|
12061
|
-
const configPath = arguments_[2];
|
|
12062
|
-
const artifactRoot = arguments_[4];
|
|
12063
|
-
if (arguments_.length !== 5 || mode !== "--anchor-seal" && mode !== "--build" || arguments_[1] !== "--config" || arguments_[3] !== "--artifact-root" || configPath === undefined || configPath.trim() === "" || artifactRoot === undefined || artifactRoot.trim() === "") {
|
|
12064
|
-
throw new Error(kbEvidenceRoutingBuildUsage);
|
|
12065
|
-
}
|
|
12066
|
-
return Object.freeze({ mode: mode.slice(2), configPath, artifactRoot });
|
|
12067
|
-
}
|
|
12068
12063
|
async function runKbEvidenceRoutingBuildCli(arguments_, dependencies = {}) {
|
|
12069
12064
|
const options = parseKbEvidenceRoutingBuildCliArguments(arguments_);
|
|
12070
12065
|
if (options.mode === "anchor-seal") {
|
|
@@ -12096,7 +12091,7 @@ async function runKbEvidenceRoutingBuildCli(arguments_, dependencies = {}) {
|
|
|
12096
12091
|
}
|
|
12097
12092
|
if (import.meta.main) {
|
|
12098
12093
|
const arguments_ = process.argv.slice(2);
|
|
12099
|
-
if (
|
|
12094
|
+
if (isEvaluationBuilderHelp(arguments_)) {
|
|
12100
12095
|
console.log(kbEvidenceRoutingBuildUsage);
|
|
12101
12096
|
} else {
|
|
12102
12097
|
await runKbEvidenceRoutingBuildCli(arguments_);
|
package/dist/evaluation-kb.js
CHANGED
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
knowledgeBaseEvaluationRetrieverIds,
|
|
5
5
|
openKnowledgeBaseEvaluation,
|
|
6
6
|
verifyFrozenEvaluationSnapshot
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-j2jt49gr.js";
|
|
8
|
+
import"./index-9zkba8hr.js";
|
|
9
9
|
import"./index-adx6khj5.js";
|
|
10
10
|
import"./index-fp732bgg.js";
|
|
11
11
|
import"./index-4j3tt0c3.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-b88v3vtm.js";
|
|
14
|
-
import"./index-e26mdwxz.js";
|
|
15
|
-
import"./index-bdwcjvr4.js";
|
|
12
|
+
import"./index-wqx1x32f.js";
|
|
16
13
|
import"./index-3gc2yk4k.js";
|
|
17
14
|
import"./index-pgtm2nhf.js";
|
|
15
|
+
import"./index-bdwcjvr4.js";
|
|
16
|
+
import"./index-j70m75wd.js";
|
|
17
|
+
import"./index-b88v3vtm.js";
|
|
18
18
|
import"./index-1gwbassd.js";
|
|
19
19
|
import"./index-ahyhryb8.js";
|
|
20
20
|
import"./index-1xxnjn0d.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
percolateWithGraph
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-bdwcjvr4.js";
|
|
4
|
+
} from "./index-wqx1x32f.js";
|
|
6
5
|
import"./index-3gc2yk4k.js";
|
|
7
6
|
import"./index-pgtm2nhf.js";
|
|
7
|
+
import"./index-bdwcjvr4.js";
|
|
8
8
|
import"./index-1s8mc4hz.js";
|
|
9
9
|
import"./index-06c9ctr6.js";
|
|
10
10
|
import"./index-5vwpzb5a.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/evaluation-builder-cli-args.ts
|
|
3
|
+
var kbEvidenceRoutingBuildUsage = `Usage: wordcell-evaluation-builder <--anchor-seal|--build> --config <checked-config.json> --artifact-root <artifact-B>
|
|
4
|
+
` + " wordcell-evaluation-builder update [check|status|enable|disable] [--json]";
|
|
5
|
+
function parseKbEvidenceRoutingBuildCliArguments(arguments_) {
|
|
6
|
+
const mode = arguments_[0];
|
|
7
|
+
const configPath = arguments_[2];
|
|
8
|
+
const artifactRoot = arguments_[4];
|
|
9
|
+
if (arguments_.length !== 5 || mode !== "--anchor-seal" && mode !== "--build" || arguments_[1] !== "--config" || arguments_[3] !== "--artifact-root" || configPath === undefined || configPath.trim() === "" || artifactRoot === undefined || artifactRoot.trim() === "") {
|
|
10
|
+
throw new Error(kbEvidenceRoutingBuildUsage);
|
|
11
|
+
}
|
|
12
|
+
return Object.freeze({ mode: mode.slice(2), configPath, artifactRoot });
|
|
13
|
+
}
|
|
14
|
+
function isEvaluationBuilderHelp(arguments_) {
|
|
15
|
+
return arguments_.length === 1 && (arguments_[0] === "--help" || arguments_[0] === "-h");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { kbEvidenceRoutingBuildUsage, parseKbEvidenceRoutingBuildCliArguments, isEvaluationBuilderHelp };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
parseArchiveTodayMementoUrl,
|
|
6
6
|
parseMetadataSearchResponse,
|
|
7
7
|
rankMetadataSearchResults
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-hacpnaew.js";
|
|
9
|
+
import {
|
|
10
|
+
sanitizeArtifactUrl
|
|
11
|
+
} from "./index-mxxxytys.js";
|
|
9
12
|
import {
|
|
10
13
|
assertSafeNetworkUrl,
|
|
11
14
|
isPrivateHostname,
|
|
12
15
|
resolveSafeNetworkTarget
|
|
13
16
|
} from "./index-e5fbsywq.js";
|
|
14
|
-
import {
|
|
15
|
-
sanitizeArtifactUrl
|
|
16
|
-
} from "./index-mxxxytys.js";
|
|
17
17
|
import {
|
|
18
18
|
syncsDirectories
|
|
19
19
|
} from "./index-qkesh4c6.js";
|