@hotdocx/endash-kernel 0.1.0-preview.0 → 0.1.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/LICENSE +9 -1
- package/README.md +24 -2
- package/bin/endash-cli.cjs +4 -0
- package/bin/endash-mcp.cjs +7 -0
- package/browser.d.ts +44 -0
- package/endash-browser.js +698 -0
- package/index.cjs +704 -14
- package/index.d.ts +19 -11
- package/index.mjs +704 -14
- package/node.cjs +116606 -0
- package/node.d.ts +8 -0
- package/node.mjs +53 -0
- package/package.json +51 -7
- package/types/ast.d.ts +964 -0
- package/types/book/book_compiler.d.ts +57 -0
- package/types/book/html_renderer.d.ts +27 -0
- package/types/book/literate_en.d.ts +40 -0
- package/types/book/schema.d.ts +279 -0
- package/types/browser.d.ts +44 -0
- package/types/builders.d.ts +191 -0
- package/types/cache/core_snapshot.d.ts +259 -0
- package/types/cas/bar_hochschild.d.ts +106 -0
- package/types/cas/cotangent_deformation.d.ts +100 -0
- package/types/cas/cyclic_homology.d.ts +100 -0
- package/types/cas/derham_hkr.d.ts +117 -0
- package/types/cas/ext_algebra.d.ts +112 -0
- package/types/cas/groebner_syzygy.d.ts +43 -0
- package/types/cas/hilbert_proj_ag.d.ts +97 -0
- package/types/cas/hnf_snf.d.ts +49 -0
- package/types/cas/lefschetz_weil.d.ts +114 -0
- package/types/cas/localization_cech.d.ts +201 -0
- package/types/cas/matrix.d.ts +45 -0
- package/types/cas/modules_complexes.d.ts +141 -0
- package/types/cas/perm_coset_cgt.d.ts +166 -0
- package/types/cas/poly.d.ts +66 -0
- package/types/cas/reify_proofs.d.ts +104 -0
- package/types/cas/resolutions_spectral_seq.d.ts +193 -0
- package/types/cas/rings.d.ts +70 -0
- package/types/cas/smith_resultant_gauss.d.ts +164 -0
- package/types/cas/theta_stepanov.d.ts +182 -0
- package/types/check.d.ts +65 -0
- package/types/cli/endash_cli.d.ts +19 -0
- package/types/context.d.ts +110 -0
- package/types/duality.d.ts +76 -0
- package/types/elab/elab_ast.d.ts +274 -0
- package/types/elab/elaborate.d.ts +106 -0
- package/types/elab/env.d.ts +170 -0
- package/types/elab/match.d.ts +123 -0
- package/types/elab/pretty.d.ts +14 -0
- package/types/elab/structure.d.ts +46 -0
- package/types/elab/tactics.d.ts +238 -0
- package/types/elab/typeclass.d.ts +31 -0
- package/types/elab/unify.d.ts +166 -0
- package/types/eval.d.ts +28 -0
- package/types/index.d.ts +98 -0
- package/types/kernel_ops.d.ts +196 -0
- package/types/mcp/endash_mcp_server.d.ts +63 -0
- package/types/module/comparator.d.ts +86 -0
- package/types/module/desugar.d.ts +94 -0
- package/types/module/goal_inspector.d.ts +104 -0
- package/types/module/loader.d.ts +105 -0
- package/types/module/node_fs_provider.d.ts +26 -0
- package/types/module/package_builder.d.ts +83 -0
- package/types/module/proof_graph.d.ts +80 -0
- package/types/module/quasiquote.d.ts +37 -0
- package/types/module/stdlib_fresh_builders.d.ts +10 -0
- package/types/module/stdlib_tactic_hooks.d.ts +20 -0
- package/types/parser/lexer.d.ts +12 -0
- package/types/parser/parser.d.ts +78 -0
- package/types/parser/pratt.d.ts +17 -0
- package/types/parser/span.d.ts +26 -0
- package/types/parser/surface_ast.d.ts +501 -0
- package/types/stdlib_types.d.ts +113 -0
- package/types/value.d.ts +942 -0
package/node.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './index';
|
|
2
|
+
export { NodeFsModuleProvider, NodeEnDiskCacheStats, clearNodeEnDiskCache, clearNodeEnDiskCacheStats, getNodeEnDiskCacheDir, getNodeEnDiskCacheStats, setNodeEnDiskCacheDir } from './types/module/node_fs_provider';
|
|
3
|
+
export { PackageBuildOptions, PackageBuildResult, buildEnLibraryEnsnapBundle, buildEnPackage, computeKernelPinSha256 } from './types/module/package_builder';
|
|
4
|
+
export { CheckBookSeriesOptions, FullCheckedSeriesBundle, checkBookSeries, compileAndCheckBookSeries, queryBookSeries } from './types/book/book_compiler';
|
|
5
|
+
export { BuildBookSeriesOptions, buildBookSeriesSite, findExternalAssetUrlsInHtml } from './types/book/html_renderer';
|
|
6
|
+
export { ProofGraphAtlas, buildProofGraphAtlas } from './types/module/proof_graph';
|
|
7
|
+
export { CliIo, runEndashCli } from './types/cli/endash_cli';
|
|
8
|
+
export { ENDASH_MCP_TOOLS, EndashMcpServer, McpToolDefinition, startStdioMcpServer } from './types/mcp/endash_mcp_server';
|
package/node.mjs
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';
|
|
2
|
+
const req = createRequire(import.meta.url);
|
|
3
|
+
const mod = req('./node.cjs');
|
|
4
|
+
export const {
|
|
5
|
+
ALL_BUILTIN_STDLIB_MODULES,
|
|
6
|
+
BUILTIN_SHOWCASES,
|
|
7
|
+
ENDASH_MCP_TOOLS,
|
|
8
|
+
EndashMcpServer,
|
|
9
|
+
F2FieldReifySpec,
|
|
10
|
+
IntReifySpec,
|
|
11
|
+
KERNEL_TCB_PIN_SHA256,
|
|
12
|
+
MemoryModuleProvider,
|
|
13
|
+
ModuleLoader,
|
|
14
|
+
NodeFsModuleProvider,
|
|
15
|
+
RatFieldReifySpec,
|
|
16
|
+
VerifiedEnEnsnapBundleCache,
|
|
17
|
+
VerifiedStdlibBundleCache,
|
|
18
|
+
buildBookSeriesSite,
|
|
19
|
+
buildEnLibraryEnsnapBundle,
|
|
20
|
+
buildEnPackage,
|
|
21
|
+
buildProofGraphAtlas,
|
|
22
|
+
certifySnfInKernel,
|
|
23
|
+
checkBookSeries,
|
|
24
|
+
checkShowcaseOrSource,
|
|
25
|
+
clearNodeEnDiskCache,
|
|
26
|
+
clearNodeEnDiskCacheStats,
|
|
27
|
+
compareChallengeAndSolution,
|
|
28
|
+
compileAndCheckBookSeries,
|
|
29
|
+
computeAndCertifyP1TwistingCohomologyF2,
|
|
30
|
+
computeAndCertifyP1TwistingCohomologyQ,
|
|
31
|
+
computeKernelPinSha256,
|
|
32
|
+
createVerifier,
|
|
33
|
+
findExternalAssetUrlsInHtml,
|
|
34
|
+
formatCursorGoalReport,
|
|
35
|
+
getNodeEnDiskCacheDir,
|
|
36
|
+
getNodeEnDiskCacheStats,
|
|
37
|
+
getSharedBrowserLoader,
|
|
38
|
+
inspectGoalsAt,
|
|
39
|
+
inspectModuleSource,
|
|
40
|
+
loadBrowserEnEnsnapBundle,
|
|
41
|
+
loadBrowserStdlibSnapshot,
|
|
42
|
+
mkMatrix,
|
|
43
|
+
mkRat,
|
|
44
|
+
parseEnExpr,
|
|
45
|
+
parseEnModule,
|
|
46
|
+
queryBookSeries,
|
|
47
|
+
queryCursorGoals,
|
|
48
|
+
runEndashCli,
|
|
49
|
+
runTacticProbe,
|
|
50
|
+
setNodeEnDiskCacheDir,
|
|
51
|
+
startStdioMcpServer,
|
|
52
|
+
} = mod;
|
|
53
|
+
export default mod;
|
package/package.json
CHANGED
|
@@ -1,27 +1,71 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hotdocx/endash-kernel",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"license": "ISC",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Standalone direct Glued-NbE Functorial Type Theory proof verifier, .en elaborator, certified BigInt CAS, CLI, MCP server, and browser engine",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"proof-assistant",
|
|
8
|
+
"functorial-type-theory",
|
|
9
|
+
"directed-type-theory",
|
|
10
|
+
"homotopy-type-theory",
|
|
11
|
+
"higher-algebra",
|
|
12
|
+
"algebraic-geometry",
|
|
13
|
+
"endash",
|
|
14
|
+
"mcp"
|
|
15
|
+
],
|
|
6
16
|
"engines": {
|
|
7
17
|
"node": ">=22.13"
|
|
8
18
|
},
|
|
9
19
|
"main": "./index.cjs",
|
|
20
|
+
"module": "./index.mjs",
|
|
10
21
|
"types": "./index.d.ts",
|
|
22
|
+
"bin": {
|
|
23
|
+
"endash": "./bin/endash-cli.cjs",
|
|
24
|
+
"endash-mcp": "./bin/endash-mcp.cjs"
|
|
25
|
+
},
|
|
11
26
|
"exports": {
|
|
12
27
|
".": {
|
|
13
28
|
"types": "./index.d.ts",
|
|
14
29
|
"import": "./index.mjs",
|
|
15
|
-
"require": "./index.cjs"
|
|
16
|
-
|
|
30
|
+
"require": "./index.cjs",
|
|
31
|
+
"default": "./index.mjs"
|
|
32
|
+
},
|
|
33
|
+
"./node": {
|
|
34
|
+
"types": "./node.d.ts",
|
|
35
|
+
"import": "./node.mjs",
|
|
36
|
+
"require": "./node.cjs",
|
|
37
|
+
"default": "./node.mjs"
|
|
38
|
+
},
|
|
39
|
+
"./browser": {
|
|
40
|
+
"types": "./browser.d.ts",
|
|
41
|
+
"default": "./endash-browser.js"
|
|
42
|
+
},
|
|
43
|
+
"./sdk-types/*": {
|
|
44
|
+
"types": "./types/*.d.ts",
|
|
45
|
+
"default": "./index.cjs"
|
|
46
|
+
},
|
|
47
|
+
"./package.json": "./package.json"
|
|
17
48
|
},
|
|
18
49
|
"files": [
|
|
19
50
|
"index.mjs",
|
|
20
51
|
"index.cjs",
|
|
21
|
-
"index.d.ts"
|
|
52
|
+
"index.d.ts",
|
|
53
|
+
"node.mjs",
|
|
54
|
+
"node.cjs",
|
|
55
|
+
"node.d.ts",
|
|
56
|
+
"endash-browser.js",
|
|
57
|
+
"browser.d.ts",
|
|
58
|
+
"bin",
|
|
59
|
+
"types",
|
|
60
|
+
"README.md",
|
|
61
|
+
"LICENSE"
|
|
22
62
|
],
|
|
63
|
+
"homepage": "https://github.com/hotdocx/endash",
|
|
64
|
+
"repository": {
|
|
65
|
+
"type": "git",
|
|
66
|
+
"url": "git+https://github.com/hotdocx/endash.git"
|
|
67
|
+
},
|
|
23
68
|
"publishConfig": {
|
|
24
|
-
"access": "public"
|
|
25
|
-
"tag": "preview"
|
|
69
|
+
"access": "public"
|
|
26
70
|
}
|
|
27
71
|
}
|