@nuasite/llm-enhancements 0.64.2 → 0.65.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/dist/{types/build-processor.d.ts → build-processor.d.ts} +1 -1
- package/dist/build-processor.d.ts.map +1 -0
- package/dist/build-processor.js +135 -0
- package/dist/{types/cms-marker.d.ts → cms-marker.d.ts} +1 -1
- package/dist/cms-marker.d.ts.map +1 -0
- package/dist/cms-marker.js +59 -0
- package/dist/cms.d.ts.map +1 -0
- package/dist/cms.js +21 -0
- package/dist/{types/dev-middleware.d.ts → dev-middleware.d.ts} +1 -1
- package/dist/dev-middleware.d.ts.map +1 -0
- package/dist/dev-middleware.js +216 -0
- package/dist/html-to-markdown.d.ts.map +1 -0
- package/dist/html-to-markdown.js +298 -0
- package/dist/{types/index.d.ts → index.d.ts} +2 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -0
- package/dist/{types/llm-endpoint.d.ts → llm-endpoint.d.ts} +1 -1
- package/dist/llm-endpoint.d.ts.map +1 -0
- package/dist/llm-endpoint.js +52 -0
- package/dist/{types/llms-txt-endpoint.d.ts → llms-txt-endpoint.d.ts} +1 -1
- package/dist/llms-txt-endpoint.d.ts.map +1 -0
- package/dist/llms-txt-endpoint.js +92 -0
- package/dist/{types/markdown-generator.d.ts → markdown-generator.d.ts} +1 -1
- package/dist/markdown-generator.d.ts.map +1 -0
- package/dist/markdown-generator.js +106 -0
- package/dist/mdx.d.ts.map +1 -0
- package/dist/mdx.js +90 -0
- package/dist/{types/page-markdown.d.ts → page-markdown.d.ts} +4 -4
- package/dist/page-markdown.d.ts.map +1 -0
- package/dist/page-markdown.js +34 -0
- package/dist/paths.d.ts.map +1 -0
- package/dist/paths.js +79 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/tests/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +11 -0
- package/package.json +9 -9
- package/src/build-processor.ts +10 -10
- package/src/cms-marker.ts +3 -3
- package/src/dev-middleware.ts +10 -10
- package/src/index.ts +4 -4
- package/src/llm-endpoint.ts +2 -2
- package/src/llms-txt-endpoint.ts +2 -2
- package/src/markdown-generator.ts +1 -1
- package/src/page-markdown.ts +5 -5
- package/src/tsconfig.json +5 -1
- package/dist/types/build-processor.d.ts.map +0 -1
- package/dist/types/cms-marker.d.ts.map +0 -1
- package/dist/types/cms.d.ts.map +0 -1
- package/dist/types/dev-middleware.d.ts.map +0 -1
- package/dist/types/html-to-markdown.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/llm-endpoint.d.ts.map +0 -1
- package/dist/types/llms-txt-endpoint.d.ts.map +0 -1
- package/dist/types/markdown-generator.d.ts.map +0 -1
- package/dist/types/mdx.d.ts.map +0 -1
- package/dist/types/page-markdown.d.ts.map +0 -1
- package/dist/types/paths.d.ts.map +0 -1
- package/dist/types/tsconfig.tsbuildinfo +0 -1
- package/dist/types/types.d.ts.map +0 -1
- /package/dist/{types/cms.d.ts → cms.d.ts} +0 -0
- /package/dist/{types/html-to-markdown.d.ts → html-to-markdown.d.ts} +0 -0
- /package/dist/{types/mdx.d.ts → mdx.d.ts} +0 -0
- /package/dist/{types/paths.d.ts → paths.d.ts} +0 -0
- /package/dist/{types/types.d.ts → types.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IACnC,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,+DAA+D;IAC/D,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,0DAA0D;IAC1D,WAAW,CAAC,EAAE,OAAO,GAAG,kBAAkB,CAAA;IAC1C,gDAAgD;IAChD,OAAO,CAAC,EAAE,OAAO,GAAG,cAAc,CAAA;CAClC;AAED,MAAM,WAAW,kBAAkB;IAClC,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,cAAc;IAC9B,yBAAyB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kDAAkD;IAClD,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,cAAc;IAC9B,8BAA8B;IAC9B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACpC,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,eAAe;IAC/B,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,KAAK,GAAG,kBAAkB,CAAA;IACvC,OAAO,EAAE,KAAK,GAAG,cAAc,CAAA;CAC/B;AAED,wBAAgB,cAAc,CAAC,OAAO,GAAE,mBAAwB,GAAG,eAAe,CAUjF"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function resolveOptions(options = {}) {
|
|
2
|
+
const llmEndpoint = options.llmEndpoint ?? true;
|
|
3
|
+
const llmsTxt = options.llmsTxt ?? true;
|
|
4
|
+
return {
|
|
5
|
+
contentDir: options.contentDir ?? 'src/content',
|
|
6
|
+
includeStaticPages: options.includeStaticPages ?? true,
|
|
7
|
+
includeFrontmatter: options.includeFrontmatter ?? true,
|
|
8
|
+
llmEndpoint: llmEndpoint === false ? false : llmEndpoint === true ? {} : llmEndpoint,
|
|
9
|
+
llmsTxt: llmsTxt === false ? false : llmsTxt === true ? {} : llmsTxt,
|
|
10
|
+
};
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
"directory": "packages/llm-enhancements"
|
|
15
15
|
},
|
|
16
16
|
"license": "Apache-2.0",
|
|
17
|
-
"version": "0.
|
|
18
|
-
"module": "
|
|
19
|
-
"types": "
|
|
17
|
+
"version": "0.65.0",
|
|
18
|
+
"module": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
20
|
"type": "module",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
-
"types": "./
|
|
24
|
-
"import": "./
|
|
25
|
-
"default": "./
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.js",
|
|
25
|
+
"default": "./dist/index.js"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@nuasite/cms-core": "0.
|
|
29
|
+
"@nuasite/cms-core": "0.65.0",
|
|
30
30
|
"node-html-parser": "^7.1.0",
|
|
31
31
|
"remark-directive": "^3.0.1",
|
|
32
32
|
"remark-mdx": "^3.1.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"astro": "^7.0.0",
|
|
42
42
|
"typescript": "^6.0.2",
|
|
43
43
|
"vite": "^8.3.4",
|
|
44
|
-
"@nuasite/cms": "0.
|
|
44
|
+
"@nuasite/cms": "0.65.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependenciesMeta": {
|
|
47
47
|
"@nuasite/cms": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
|
-
"prepack": "bun run ../../scripts/workspace-deps/resolve-deps.ts"
|
|
52
|
+
"prepack": "bun run ../../scripts/workspace-deps/resolve-deps.ts --compiled-exports"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
55
55
|
"markdown",
|
package/src/build-processor.ts
CHANGED
|
@@ -2,16 +2,16 @@ import type { AstroConfig, AstroIntegrationLogger } from 'astro'
|
|
|
2
2
|
import fs from 'node:fs/promises'
|
|
3
3
|
import path from 'node:path'
|
|
4
4
|
import { fileURLToPath } from 'node:url'
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { htmlToMarkdown } from './html-to-markdown'
|
|
8
|
-
import { generateLlmMarkdown, type PageEntry, type SiteMetadata } from './llm-endpoint'
|
|
9
|
-
import { generateLlmsTxt } from './llms-txt-endpoint'
|
|
10
|
-
import { generateMarkdown } from './markdown-generator'
|
|
11
|
-
import { markdownSyntaxOf } from './mdx'
|
|
12
|
-
import { resolvePageMarkdown } from './page-markdown'
|
|
13
|
-
import { getHtmlPath, getLlmOutputPath, getLlmsTxtOutputPath, getMdOutputPath, injectMarkdownLink, normalizePath } from './paths'
|
|
14
|
-
import type { ResolvedOptions } from './types'
|
|
5
|
+
import { findCollectionPages } from './cms-marker.ts'
|
|
6
|
+
import { cms } from './cms.ts'
|
|
7
|
+
import { htmlToMarkdown } from './html-to-markdown.ts'
|
|
8
|
+
import { generateLlmMarkdown, type PageEntry, type SiteMetadata } from './llm-endpoint.ts'
|
|
9
|
+
import { generateLlmsTxt } from './llms-txt-endpoint.ts'
|
|
10
|
+
import { generateMarkdown } from './markdown-generator.ts'
|
|
11
|
+
import { markdownSyntaxOf } from './mdx.ts'
|
|
12
|
+
import { resolvePageMarkdown } from './page-markdown.ts'
|
|
13
|
+
import { getHtmlPath, getLlmOutputPath, getLlmsTxtOutputPath, getMdOutputPath, injectMarkdownLink, normalizePath } from './paths.ts'
|
|
14
|
+
import type { ResolvedOptions } from './types.ts'
|
|
15
15
|
|
|
16
16
|
interface PageInfo {
|
|
17
17
|
pathname: string
|
package/src/cms-marker.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { CollectionInfo, MarkdownContent } from '@nuasite/cms'
|
|
2
2
|
import path from 'node:path'
|
|
3
|
-
import { cms } from './cms'
|
|
4
|
-
import { type MarkdownSyntax, mdxBodyAsMarkdown } from './mdx'
|
|
5
|
-
import { normalizePath } from './paths'
|
|
3
|
+
import { cms } from './cms.ts'
|
|
4
|
+
import { type MarkdownSyntax, mdxBodyAsMarkdown } from './mdx.ts'
|
|
5
|
+
import { normalizePath } from './paths.ts'
|
|
6
6
|
|
|
7
7
|
/** The pages that render a collection entry, by normalized pathname. */
|
|
8
8
|
export type CollectionPages = Map<string, CollectionInfo>
|
package/src/dev-middleware.ts
CHANGED
|
@@ -3,16 +3,16 @@ import type { AstroConfig } from 'astro'
|
|
|
3
3
|
import path from 'node:path'
|
|
4
4
|
import { fileURLToPath } from 'node:url'
|
|
5
5
|
import type { ViteDevServer } from 'vite'
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { htmlToMarkdown, type HtmlToMarkdownResult } from './html-to-markdown'
|
|
9
|
-
import { generateLlmMarkdown, type PageEntry, type SiteMetadata } from './llm-endpoint'
|
|
10
|
-
import { generateLlmsTxt } from './llms-txt-endpoint'
|
|
11
|
-
import { generateMarkdown } from './markdown-generator'
|
|
12
|
-
import { markdownSyntaxOf } from './mdx'
|
|
13
|
-
import { resolvePageMarkdown, type SiteContent } from './page-markdown'
|
|
14
|
-
import { injectMarkdownLink, LLM_ENDPOINT_PATH, LLMS_TXT_PATH, mdUrlToPagePath, normalizePath } from './paths'
|
|
15
|
-
import type { ResolvedOptions } from './types'
|
|
6
|
+
import { findCollectionPages } from './cms-marker.ts'
|
|
7
|
+
import { cms } from './cms.ts'
|
|
8
|
+
import { htmlToMarkdown, type HtmlToMarkdownResult } from './html-to-markdown.ts'
|
|
9
|
+
import { generateLlmMarkdown, type PageEntry, type SiteMetadata } from './llm-endpoint.ts'
|
|
10
|
+
import { generateLlmsTxt } from './llms-txt-endpoint.ts'
|
|
11
|
+
import { generateMarkdown } from './markdown-generator.ts'
|
|
12
|
+
import { markdownSyntaxOf } from './mdx.ts'
|
|
13
|
+
import { resolvePageMarkdown, type SiteContent } from './page-markdown.ts'
|
|
14
|
+
import { injectMarkdownLink, LLM_ENDPOINT_PATH, LLMS_TXT_PATH, mdUrlToPagePath, normalizePath } from './paths.ts'
|
|
15
|
+
import type { ResolvedOptions } from './types.ts'
|
|
16
16
|
|
|
17
17
|
const ASSET_PATTERN = /\.(js|css|png|jpg|jpeg|gif|svg|ico|woff|woff2|ttf|eot|json)$/
|
|
18
18
|
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AstroConfig, AstroIntegration } from 'astro'
|
|
2
|
-
import { processBuildOutput } from './build-processor'
|
|
3
|
-
import { createDevMiddleware } from './dev-middleware'
|
|
4
|
-
import { type PageMarkdownOptions, resolveOptions } from './types'
|
|
2
|
+
import { processBuildOutput } from './build-processor.ts'
|
|
3
|
+
import { createDevMiddleware } from './dev-middleware.ts'
|
|
4
|
+
import { type PageMarkdownOptions, resolveOptions } from './types.ts'
|
|
5
5
|
|
|
6
6
|
export default function pageMarkdown(options: PageMarkdownOptions = {}): AstroIntegration {
|
|
7
7
|
const resolvedOptions = resolveOptions(options)
|
|
@@ -27,4 +27,4 @@ export default function pageMarkdown(options: PageMarkdownOptions = {}): AstroIn
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export type { LlmEndpointOptions, LlmsTxtOptions, MarkdownOutput, PageMarkdownOptions } from './types'
|
|
30
|
+
export type { LlmEndpointOptions, LlmsTxtOptions, MarkdownOutput, PageMarkdownOptions } from './types.ts'
|
package/src/llm-endpoint.ts
CHANGED
package/src/llms-txt-endpoint.ts
CHANGED
package/src/page-markdown.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type CollectionPages, getCollectionContent } from './cms-marker'
|
|
2
|
-
import type { HtmlToMarkdownResult } from './html-to-markdown'
|
|
3
|
-
import { createCollectionOutput, createStaticOutput } from './markdown-generator'
|
|
4
|
-
import type { MarkdownSyntax } from './mdx'
|
|
5
|
-
import type { MarkdownOutput, ResolvedOptions } from './types'
|
|
1
|
+
import { type CollectionPages, getCollectionContent } from './cms-marker.ts'
|
|
2
|
+
import type { HtmlToMarkdownResult } from './html-to-markdown.ts'
|
|
3
|
+
import { createCollectionOutput, createStaticOutput } from './markdown-generator.ts'
|
|
4
|
+
import type { MarkdownSyntax } from './mdx.ts'
|
|
5
|
+
import type { MarkdownOutput, ResolvedOptions } from './types.ts'
|
|
6
6
|
|
|
7
7
|
/** What a page is resolved against: the pages that render an entry, and how the site parses markdown. */
|
|
8
8
|
export interface SiteContent {
|
package/src/tsconfig.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": "../tsconfig.settings.json",
|
|
3
3
|
"compilerOptions": {
|
|
4
|
-
"outDir": "../dist
|
|
4
|
+
"outDir": "../dist",
|
|
5
|
+
"rootDir": ".",
|
|
6
|
+
// Compiled JS is what the published package runs (see scripts/workspace-deps).
|
|
7
|
+
"emitDeclarationOnly": false,
|
|
8
|
+
"rewriteRelativeImportExtensions": true
|
|
5
9
|
},
|
|
6
10
|
"references": [
|
|
7
11
|
{ "path": "../../cms/src" },
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build-processor.d.ts","sourceRoot":"","sources":["../../src/build-processor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAA;AAahE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,UAAU,QAAQ;IACjB,QAAQ,EAAE,MAAM,CAAA;CAChB;AAWD;;;GAGG;AACH,wBAAgB,kBAAkB,CACjC,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,QAAQ,EAAE,EACjB,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,sBAAsB,EAC9B,MAAM,EAAE,WAAW,GACjB,OAAO,CAAC,IAAI,CAAC,CAGf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cms-marker.d.ts","sourceRoot":"","sources":["../../src/cms-marker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAGnE,OAAO,EAAE,KAAK,cAAc,EAAqB,MAAM,OAAO,CAAA;AAG9D,wEAAwE;AACxE,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAEzD;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAAE,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAA;AAQzF,wBAAsB,oBAAoB,CACzC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,cAAc,GACpB,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAmBrC;AAED;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAAG,OAAO,CAAC,eAAe,CAAC,CAoBvH"}
|
package/dist/types/cms.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cms.d.ts","sourceRoot":"","sources":["../../src/cms.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,GAAG,MAAM,cAAc,CAAA;AAExC;;;;;;;GAOG;AACH,eAAO,MAAM,GAAG,EAAE,OAAO,GAAG,GAAG,SAG7B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dev-middleware.d.ts","sourceRoot":"","sources":["../../src/dev-middleware.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAGxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAA;AAUzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AA2E9C;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,WAAW,QAsKvG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"html-to-markdown.d.ts","sourceRoot":"","sources":["../../src/html-to-markdown.ts"],"names":[],"mappings":"AAkTA,MAAM,WAAW,oBAAoB;IACpC,yCAAyC;IACzC,QAAQ,EAAE;QACT,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,WAAW,CAAC,EAAE,MAAM,CAAA;KACpB,CAAA;IACD,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAA;CACZ;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB,CA+BjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,gBAAgB,EAAE,MAAM,OAAO,CAAA;AAG1D,OAAO,EAAE,KAAK,mBAAmB,EAAkB,MAAM,SAAS,CAAA;AAElE,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,OAAO,GAAE,mBAAwB,GAAG,gBAAgB,CAsBxF;AAED,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llm-endpoint.d.ts","sourceRoot":"","sources":["../../src/llm-endpoint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEjD,MAAM,WAAW,SAAS;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,YAAY,GAAG,QAAQ,CAAA;CAC7B;AAED,MAAM,WAAW,YAAY;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAClC,KAAK,EAAE,SAAS,EAAE,EAClB,YAAY,EAAE,YAAY,EAC1B,OAAO,EAAE,kBAAkB,GACzB,MAAM,CAyDR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llms-txt-endpoint.d.ts","sourceRoot":"","sources":["../../src/llms-txt-endpoint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,MAAM,WAAW,SAAS;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,YAAY,GAAG,QAAQ,CAAA;CAC7B;AAED,MAAM,WAAW,YAAY;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC9B,KAAK,EAAE,SAAS,EAAE,EAClB,YAAY,EAAE,YAAY,EAC1B,OAAO,EAAE,cAAc,GACrB,MAAM,CAiGR"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-generator.d.ts","sourceRoot":"","sources":["../../src/markdown-generator.ts"],"names":[],"mappings":"AAAA,O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AG,MAAM,GAAG,SAAS,CAmC1F"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"page-markdown.d.ts","sourceRoot":"","sources":["../../src/page-markdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAwB,MAAM,cAAc,CAAA;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAE9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9D,yGAAyG;AACzG,MAAM,WAAW,WAAW;IAC3B,KAAK,EAAE,eAAe,CAAA;IACtB,MAAM,EAAE,cAAc,CAAA;CACtB;AAED,MAAM,WAAW,YAAY;IAC5B,MAAM,EAAE,cAAc,CAAA;IACtB,IAAI,EAAE,YAAY,GAAG,QAAQ,CAAA;IAC7B,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,oBAAoB,CAAC,UAAU,CAAC,CAAA;CAC3C;AAED;;;;GAIG;AACH,wBAAsB,mBAAmB,CACxC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,eAAe,EACxB,IAAI,EAAE,WAAW,EACjB,QAAQ,EAAE,MAAM,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,GACvD,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAyBnC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../src/paths.ts"],"names":[],"mappings":"AAEA,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,wBAAwB,CAAA;AAEtD,iCAAiC;AACjC,eAAO,MAAM,aAAa,cAAc,CAAA;AAExC;;GAEG;AACH,wBAAgB,aAAa,CAA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