@farming-labs/docs 0.2.56 → 0.2.57
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/{agent-export-BtlITzt3.mjs → agent-export-CZR20g0e.mjs} +1 -1
- package/dist/{agent-3IpxY9F6.mjs → agent-v6R0V3lm.mjs} +1 -1
- package/dist/{agents-BguzxLhO.mjs → agents-BPonjolo.mjs} +1 -1
- package/dist/cli/index.mjs +25 -25
- package/dist/{cloud-HWFlbfLJ.mjs → cloud-C45jpBtp.mjs} +1 -1
- package/dist/{codeblocks-BzfkREEC.mjs → codeblocks-CSqgqbg-.mjs} +1 -1
- package/dist/{config-CydaZ5PB.mjs → config-DZbZiYEa.mjs} +18 -2
- package/dist/{doctor-Cra5qEEi.mjs → doctor-svA9Flsx.mjs} +2 -2
- package/dist/{init-gnHQ_Pz9.mjs → init-Dm0yDz6v.mjs} +1 -1
- package/dist/{mcp-BwYAu9DJ.mjs → mcp-BYIgKsPn.mjs} +1 -1
- package/dist/{review-x3zV5jZp.mjs → review-DZ81wm7h.mjs} +1 -1
- package/dist/{robots-BSPfXA3J.mjs → robots-mSc98PMp.mjs} +1 -1
- package/dist/{search-vG59kGqo.mjs → search-AMEoabYU.mjs} +1 -1
- package/dist/{sitemap-DqxsKlvI.mjs → sitemap-Cyc0Bbbn.mjs} +1 -1
- package/package.json +2 -2
|
@@ -7,7 +7,7 @@ import "./agent-evals-BD17jOqL.mjs";
|
|
|
7
7
|
import { createFilesystemDocsMcpSource, resolveDocsMcpConfig } from "./mcp.mjs";
|
|
8
8
|
import "./code-blocks-C9awWzEQ.mjs";
|
|
9
9
|
import "./server.mjs";
|
|
10
|
-
import { d as readStringProperty, f as readTopLevelBooleanProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, r as extractTopLevelConfigObject, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-
|
|
10
|
+
import { d as readStringProperty, f as readTopLevelBooleanProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, r as extractTopLevelConfigObject, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-DZbZiYEa.mjs";
|
|
11
11
|
import { t as detectFramework } from "./utils-DBCCkkJS.mjs";
|
|
12
12
|
import { existsSync, lstatSync, mkdirSync, readFileSync, realpathSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $t as stripGeneratedPageAgentContractMarkdown, Xt as normalizePageAgentFrontmatter, it as renderDocsMarkdownDocument, z as findDocsMarkdownPage } from "./agent-CxDzPqtl.mjs";
|
|
2
2
|
import { _ as hashGeneratedAgentContent, b as serializeGeneratedAgentDocument, g as GENERATED_AGENT_PROVENANCE_VERSION, y as parseGeneratedAgentDocument } from "./search-OHp36znm.mjs";
|
|
3
3
|
import { createFilesystemDocsMcpSource } from "./mcp.mjs";
|
|
4
|
-
import { c as readEnvReferenceProperty, d as readStringProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, o as loadProjectEnv, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral, u as readNumberProperty } from "./config-
|
|
4
|
+
import { c as readEnvReferenceProperty, d as readStringProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, o as loadProjectEnv, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral, u as readNumberProperty } from "./config-DZbZiYEa.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import matter from "gray-matter";
|
|
7
7
|
import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -5,7 +5,7 @@ import "./agent-evals-BD17jOqL.mjs";
|
|
|
5
5
|
import { resolveDocsMcpConfig } from "./mcp.mjs";
|
|
6
6
|
import "./code-blocks-C9awWzEQ.mjs";
|
|
7
7
|
import "./server.mjs";
|
|
8
|
-
import { d as readStringProperty, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-
|
|
8
|
+
import { d as readStringProperty, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-DZbZiYEa.mjs";
|
|
9
9
|
import { t as detectFramework } from "./utils-DBCCkkJS.mjs";
|
|
10
10
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
11
11
|
import path from "node:path";
|
package/dist/cli/index.mjs
CHANGED
|
@@ -105,43 +105,43 @@ async function main() {
|
|
|
105
105
|
]
|
|
106
106
|
};
|
|
107
107
|
if (!parsedCommand.command || parsedCommand.command === "init") {
|
|
108
|
-
const { init } = await import("../init-
|
|
108
|
+
const { init } = await import("../init-Dm0yDz6v.mjs");
|
|
109
109
|
await init(initOptions);
|
|
110
110
|
} else if (parsedCommand.command === "dev") {
|
|
111
111
|
const { dev } = await import("../dev-BA2kRuCn.mjs");
|
|
112
112
|
await dev(devOptions);
|
|
113
113
|
} else if (parsedCommand.command === "deploy") {
|
|
114
|
-
const { runCloudDeploy } = await import("../cloud-
|
|
114
|
+
const { runCloudDeploy } = await import("../cloud-C45jpBtp.mjs");
|
|
115
115
|
await runCloudDeploy(cloudOptions);
|
|
116
116
|
} else if (parsedCommand.command === "preview") {
|
|
117
|
-
const { runCloudPreview } = await import("../cloud-
|
|
117
|
+
const { runCloudPreview } = await import("../cloud-C45jpBtp.mjs");
|
|
118
118
|
await runCloudPreview(cloudOptions);
|
|
119
119
|
} else if (parsedCommand.command === "cloud" && subcommand === "deploy") {
|
|
120
|
-
const { runCloudDeploy } = await import("../cloud-
|
|
120
|
+
const { runCloudDeploy } = await import("../cloud-C45jpBtp.mjs");
|
|
121
121
|
await runCloudDeploy(cloudOptions);
|
|
122
122
|
} else if (parsedCommand.command === "cloud" && subcommand === "preview") {
|
|
123
|
-
const { runCloudPreview } = await import("../cloud-
|
|
123
|
+
const { runCloudPreview } = await import("../cloud-C45jpBtp.mjs");
|
|
124
124
|
await runCloudPreview(cloudOptions);
|
|
125
125
|
} else if (parsedCommand.command === "cloud" && subcommand === "init") {
|
|
126
|
-
const { runCloudInit } = await import("../cloud-
|
|
126
|
+
const { runCloudInit } = await import("../cloud-C45jpBtp.mjs");
|
|
127
127
|
await runCloudInit(cloudOptions);
|
|
128
128
|
} else if (parsedCommand.command === "cloud" && subcommand === "sync") {
|
|
129
|
-
const { syncCloudConfig } = await import("../cloud-
|
|
129
|
+
const { syncCloudConfig } = await import("../cloud-C45jpBtp.mjs");
|
|
130
130
|
await syncCloudConfig(cloudOptions);
|
|
131
131
|
} else if (parsedCommand.command === "cloud" && subcommand === "check") {
|
|
132
|
-
const { runCloudCheck } = await import("../cloud-
|
|
132
|
+
const { runCloudCheck } = await import("../cloud-C45jpBtp.mjs");
|
|
133
133
|
await runCloudCheck(cloudOptions);
|
|
134
134
|
} else if (parsedCommand.command === "cloud") {
|
|
135
135
|
console.error(pc.red(`Unknown cloud subcommand: ${subcommand ?? "(missing)"}`));
|
|
136
136
|
console.error();
|
|
137
|
-
const { printCloudHelp } = await import("../cloud-
|
|
137
|
+
const { printCloudHelp } = await import("../cloud-C45jpBtp.mjs");
|
|
138
138
|
printCloudHelp();
|
|
139
139
|
process.exit(1);
|
|
140
140
|
} else if (parsedCommand.command === "mcp") {
|
|
141
|
-
const { runMcp } = await import("../mcp-
|
|
141
|
+
const { runMcp } = await import("../mcp-BYIgKsPn.mjs");
|
|
142
142
|
await runMcp(mcpOptions);
|
|
143
143
|
} else if (parsedCommand.command === "agent" && subcommand === "compact") {
|
|
144
|
-
const { compactAgentDocs, parseAgentCompactArgs, printAgentCompactHelp } = await import("../agent-
|
|
144
|
+
const { compactAgentDocs, parseAgentCompactArgs, printAgentCompactHelp } = await import("../agent-v6R0V3lm.mjs").then((n) => n.t);
|
|
145
145
|
const agentCompactOptions = parseAgentCompactArgs(args.slice(2));
|
|
146
146
|
if (agentCompactOptions.help) {
|
|
147
147
|
printAgentCompactHelp();
|
|
@@ -149,7 +149,7 @@ async function main() {
|
|
|
149
149
|
}
|
|
150
150
|
await compactAgentDocs(agentCompactOptions);
|
|
151
151
|
} else if (parsedCommand.command === "agent" && subcommand === "export") {
|
|
152
|
-
const { exportAgentBundle, parseAgentExportArgs, printAgentExportHelp } = await import("../agent-export-
|
|
152
|
+
const { exportAgentBundle, parseAgentExportArgs, printAgentExportHelp } = await import("../agent-export-CZR20g0e.mjs");
|
|
153
153
|
const agentExportOptions = parseAgentExportArgs(args.slice(2));
|
|
154
154
|
if (agentExportOptions.help) {
|
|
155
155
|
printAgentExportHelp();
|
|
@@ -159,13 +159,13 @@ async function main() {
|
|
|
159
159
|
} else if (parsedCommand.command === "agent") {
|
|
160
160
|
console.error(pc.red(`Unknown agent subcommand: ${subcommand ?? "(missing)"}`));
|
|
161
161
|
console.error();
|
|
162
|
-
const { printAgentCompactHelp } = await import("../agent-
|
|
163
|
-
const { printAgentExportHelp } = await import("../agent-export-
|
|
162
|
+
const { printAgentCompactHelp } = await import("../agent-v6R0V3lm.mjs").then((n) => n.t);
|
|
163
|
+
const { printAgentExportHelp } = await import("../agent-export-CZR20g0e.mjs");
|
|
164
164
|
printAgentCompactHelp();
|
|
165
165
|
printAgentExportHelp();
|
|
166
166
|
process.exit(1);
|
|
167
167
|
} else if (parsedCommand.command === "agents" && subcommand === "generate") {
|
|
168
|
-
const { generateAgents, parseAgentsGenerateArgs, printAgentsGenerateHelp } = await import("../agents-
|
|
168
|
+
const { generateAgents, parseAgentsGenerateArgs, printAgentsGenerateHelp } = await import("../agents-BPonjolo.mjs");
|
|
169
169
|
const agentsOptions = parseAgentsGenerateArgs(args.slice(2));
|
|
170
170
|
if (agentsOptions.help) {
|
|
171
171
|
printAgentsGenerateHelp();
|
|
@@ -175,11 +175,11 @@ async function main() {
|
|
|
175
175
|
} else if (parsedCommand.command === "agents") {
|
|
176
176
|
console.error(pc.red(`Unknown agents subcommand: ${subcommand ?? "(missing)"}`));
|
|
177
177
|
console.error();
|
|
178
|
-
const { printAgentsGenerateHelp } = await import("../agents-
|
|
178
|
+
const { printAgentsGenerateHelp } = await import("../agents-BPonjolo.mjs");
|
|
179
179
|
printAgentsGenerateHelp();
|
|
180
180
|
process.exit(1);
|
|
181
181
|
} else if (parsedCommand.command === "doctor") {
|
|
182
|
-
const { parseDoctorArgs, printDoctorHelp, runDoctor } = await import("../doctor-
|
|
182
|
+
const { parseDoctorArgs, printDoctorHelp, runDoctor } = await import("../doctor-svA9Flsx.mjs");
|
|
183
183
|
const doctorOptions = parseDoctorArgs(args.slice(1));
|
|
184
184
|
if (doctorOptions.help) {
|
|
185
185
|
printDoctorHelp();
|
|
@@ -187,7 +187,7 @@ async function main() {
|
|
|
187
187
|
}
|
|
188
188
|
await runDoctor(doctorOptions);
|
|
189
189
|
} else if (parsedCommand.command === "review") {
|
|
190
|
-
const { parseReviewArgs, printReviewHelp, runReview } = await import("../review-
|
|
190
|
+
const { parseReviewArgs, printReviewHelp, runReview } = await import("../review-DZ81wm7h.mjs");
|
|
191
191
|
const reviewOptions = parseReviewArgs(args.slice(1));
|
|
192
192
|
if (reviewOptions.help) {
|
|
193
193
|
printReviewHelp();
|
|
@@ -195,7 +195,7 @@ async function main() {
|
|
|
195
195
|
}
|
|
196
196
|
await runReview(reviewOptions);
|
|
197
197
|
} else if ((parsedCommand.command === "codeblocks" || parsedCommand.command === "code-blocks") && subcommand === "validate") {
|
|
198
|
-
const { parseCodeBlocksValidateArgs, printCodeBlocksValidateHelp, runCodeBlocksValidate } = await import("../codeblocks-
|
|
198
|
+
const { parseCodeBlocksValidateArgs, printCodeBlocksValidateHelp, runCodeBlocksValidate } = await import("../codeblocks-CSqgqbg-.mjs");
|
|
199
199
|
const codeBlocksOptions = parseCodeBlocksValidateArgs(args.slice(2));
|
|
200
200
|
if (codeBlocksOptions.help) {
|
|
201
201
|
printCodeBlocksValidateHelp();
|
|
@@ -205,11 +205,11 @@ async function main() {
|
|
|
205
205
|
} else if (parsedCommand.command === "codeblocks" || parsedCommand.command === "code-blocks") {
|
|
206
206
|
console.error(pc.red(`Unknown codeblocks subcommand: ${subcommand ?? "(missing)"}`));
|
|
207
207
|
console.error();
|
|
208
|
-
const { printCodeBlocksValidateHelp } = await import("../codeblocks-
|
|
208
|
+
const { printCodeBlocksValidateHelp } = await import("../codeblocks-CSqgqbg-.mjs");
|
|
209
209
|
printCodeBlocksValidateHelp();
|
|
210
210
|
process.exit(1);
|
|
211
211
|
} else if (parsedCommand.command === "search" && subcommand === "sync") {
|
|
212
|
-
const { syncSearch } = await import("../search-
|
|
212
|
+
const { syncSearch } = await import("../search-AMEoabYU.mjs");
|
|
213
213
|
await syncSearch(searchSyncOptions);
|
|
214
214
|
} else if (parsedCommand.command === "search") {
|
|
215
215
|
console.error(pc.red(`Unknown search subcommand: ${subcommand ?? "(missing)"}`));
|
|
@@ -217,7 +217,7 @@ async function main() {
|
|
|
217
217
|
printHelp();
|
|
218
218
|
process.exit(1);
|
|
219
219
|
} else if (parsedCommand.command === "sitemap" && subcommand === "generate") {
|
|
220
|
-
const { generateSitemap, parseSitemapGenerateArgs, printSitemapGenerateHelp } = await import("../sitemap-
|
|
220
|
+
const { generateSitemap, parseSitemapGenerateArgs, printSitemapGenerateHelp } = await import("../sitemap-Cyc0Bbbn.mjs");
|
|
221
221
|
const sitemapOptions = parseSitemapGenerateArgs(args.slice(2));
|
|
222
222
|
if (sitemapOptions.help) {
|
|
223
223
|
printSitemapGenerateHelp();
|
|
@@ -227,11 +227,11 @@ async function main() {
|
|
|
227
227
|
} else if (parsedCommand.command === "sitemap") {
|
|
228
228
|
console.error(pc.red(`Unknown sitemap subcommand: ${subcommand ?? "(missing)"}`));
|
|
229
229
|
console.error();
|
|
230
|
-
const { printSitemapGenerateHelp } = await import("../sitemap-
|
|
230
|
+
const { printSitemapGenerateHelp } = await import("../sitemap-Cyc0Bbbn.mjs");
|
|
231
231
|
printSitemapGenerateHelp();
|
|
232
232
|
process.exit(1);
|
|
233
233
|
} else if (parsedCommand.command === "robots" && subcommand === "generate") {
|
|
234
|
-
const { generateRobots, parseRobotsGenerateArgs, printRobotsGenerateHelp } = await import("../robots-
|
|
234
|
+
const { generateRobots, parseRobotsGenerateArgs, printRobotsGenerateHelp } = await import("../robots-mSc98PMp.mjs");
|
|
235
235
|
const robotsOptions = parseRobotsGenerateArgs(args.slice(2));
|
|
236
236
|
if (robotsOptions.help) {
|
|
237
237
|
printRobotsGenerateHelp();
|
|
@@ -241,7 +241,7 @@ async function main() {
|
|
|
241
241
|
} else if (parsedCommand.command === "robots") {
|
|
242
242
|
console.error(pc.red(`Unknown robots subcommand: ${subcommand ?? "(missing)"}`));
|
|
243
243
|
console.error();
|
|
244
|
-
const { printRobotsGenerateHelp } = await import("../robots-
|
|
244
|
+
const { printRobotsGenerateHelp } = await import("../robots-mSc98PMp.mjs");
|
|
245
245
|
printRobotsGenerateHelp();
|
|
246
246
|
process.exit(1);
|
|
247
247
|
} else if (parsedCommand.command === "downgrade") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as markCliErrorReported } from "./errors-BFUtdZfC.mjs";
|
|
2
|
-
import { d as readStringProperty, f as readTopLevelBooleanProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, o as loadProjectEnv, p as readTopLevelStringProperty, t as extractNestedObjectLiteral } from "./config-
|
|
2
|
+
import { d as readStringProperty, f as readTopLevelBooleanProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, o as loadProjectEnv, p as readTopLevelStringProperty, t as extractNestedObjectLiteral } from "./config-DZbZiYEa.mjs";
|
|
3
3
|
import { i as detectPackageManagerFromProject, t as detectFramework } from "./utils-DBCCkkJS.mjs";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as validateCodeBlocks, r as resolveDocsCodeBlocksValidateConfig } from "./code-blocks-C9awWzEQ.mjs";
|
|
2
|
-
import { d as readStringProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral, u as readNumberProperty } from "./config-
|
|
2
|
+
import { d as readStringProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral, u as readNumberProperty } from "./config-DZbZiYEa.mjs";
|
|
3
3
|
import { existsSync, readFileSync } from "node:fs";
|
|
4
4
|
import pc from "picocolors";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { existsSync, readFileSync } from "node:fs";
|
|
2
|
-
import { join, resolve } from "node:path";
|
|
2
|
+
import { dirname, join, relative, resolve, sep } from "node:path";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/config.ts
|
|
5
5
|
const FILE_EXTS = [
|
|
@@ -295,6 +295,20 @@ function isPlainDocsConfig(value) {
|
|
|
295
295
|
const prototype = Object.getPrototypeOf(value);
|
|
296
296
|
return prototype === Object.prototype || prototype === null;
|
|
297
297
|
}
|
|
298
|
+
function resolveDocsConfigTsconfigPath(rootDir, configPath) {
|
|
299
|
+
const projectRoot = resolve(rootDir);
|
|
300
|
+
let currentDir = dirname(configPath);
|
|
301
|
+
while (true) {
|
|
302
|
+
const tsconfigPath = join(currentDir, "tsconfig.json");
|
|
303
|
+
if (existsSync(tsconfigPath)) return tsconfigPath;
|
|
304
|
+
if (currentDir === projectRoot) return false;
|
|
305
|
+
const parentDir = dirname(currentDir);
|
|
306
|
+
if (parentDir === currentDir) return false;
|
|
307
|
+
const relativeParent = relative(projectRoot, parentDir);
|
|
308
|
+
if (relativeParent === ".." || relativeParent.startsWith(`..${sep}`)) return false;
|
|
309
|
+
currentDir = parentDir;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
298
312
|
/**
|
|
299
313
|
* Load docs.config with an explicit confidence signal for diagnostics.
|
|
300
314
|
* Existing callers can keep using `loadDocsConfigModule`, which preserves the
|
|
@@ -307,7 +321,9 @@ async function loadDocsConfigModuleResult(rootDir, explicitPath, options = {}) {
|
|
|
307
321
|
const config = resolveDocsConfigModuleExport(await createJiti(import.meta.url, {
|
|
308
322
|
moduleCache: false,
|
|
309
323
|
fsCache: false,
|
|
310
|
-
interopDefault: false
|
|
324
|
+
interopDefault: false,
|
|
325
|
+
jsx: { runtime: "automatic" },
|
|
326
|
+
tsconfigPaths: resolveDocsConfigTsconfigPath(rootDir, configPath)
|
|
311
327
|
}).import(configPath));
|
|
312
328
|
if (!isPlainDocsConfig(config)) return {
|
|
313
329
|
status: "static-fallback",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as scanDocsPageTargets, n as compactAgentDocs, r as inspectAgentCompactionState } from "./agent-
|
|
1
|
+
import { i as scanDocsPageTargets, n as compactAgentDocs, r as inspectAgentCompactionState } from "./agent-v6R0V3lm.mjs";
|
|
2
2
|
import "./reading-time-W_Id2ayC.mjs";
|
|
3
3
|
import { At as DEFAULT_SITEMAP_MD_WELL_KNOWN_ROUTE, I as buildDocsMcpEndpointCandidates, Lt as resolveDocsSitemapConfig, M as buildDocsAgentDiscoverySpec, O as DOCS_CONFIG_MAP_TOP_LEVEL_KEYS, P as buildDocsConfigMap, S as DEFAULT_MCP_WELL_KNOWN_ROUTE, T as DEFAULT_SKILL_MD_WELL_KNOWN_ROUTE, Wt as PAGE_AGENT_CONTRACT_FIELDS, b as DEFAULT_MCP_PUBLIC_ROUTE, c as DEFAULT_AGENT_SPEC_WELL_KNOWN_JSON_ROUTE, f as DEFAULT_DOCS_CONFIG_ROUTE, h as DEFAULT_LLMS_FULL_TXT_ROUTE, i as DEFAULT_AGENT_FEEDBACK_ROUTE, jt as DEFAULT_SITEMAP_XML_ROUTE, kt as DEFAULT_SITEMAP_MD_ROUTE, l as DEFAULT_AGENT_SPEC_WELL_KNOWN_ROUTE, n as DEFAULT_AGENTS_MD_WELL_KNOWN_ROUTE, t as DEFAULT_AGENTS_MD_ROUTE, u as DEFAULT_DOCS_API_ROUTE, v as DEFAULT_LLMS_TXT_ROUTE, w as DEFAULT_SKILL_MD_ROUTE } from "./agent-CxDzPqtl.mjs";
|
|
4
4
|
import "./search-OHp36znm.mjs";
|
|
@@ -8,7 +8,7 @@ import { t as runDocsGoldenTasks } from "./agent-evals-BD17jOqL.mjs";
|
|
|
8
8
|
import { createFilesystemDocsMcpSource, getDocsConfigSchema, resolveDocsMcpConfig } from "./mcp.mjs";
|
|
9
9
|
import "./code-blocks-C9awWzEQ.mjs";
|
|
10
10
|
import "./server.mjs";
|
|
11
|
-
import { a as loadDocsConfigModuleResultWithProjectEnv, h as resolveDocsContentDir, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, r as extractTopLevelConfigObject, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-
|
|
11
|
+
import { a as loadDocsConfigModuleResultWithProjectEnv, h as resolveDocsContentDir, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, r as extractTopLevelConfigObject, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-DZbZiYEa.mjs";
|
|
12
12
|
import { t as detectFramework } from "./utils-DBCCkkJS.mjs";
|
|
13
13
|
import { n as analyzeAgentUsefulness, r as createAgentUsefulnessPagesFromMcp, t as analyzeAgentSurfaceDrift } from "./agent-surface-drift-rGFS38Ak.mjs";
|
|
14
14
|
import { existsSync, lstatSync, readFileSync, readdirSync } from "node:fs";
|
|
@@ -188,7 +188,7 @@ async function configureDocsCloudOnboarding(options) {
|
|
|
188
188
|
enabled = cloudAnswer;
|
|
189
189
|
}
|
|
190
190
|
if (!enabled) return;
|
|
191
|
-
const { initCloudConfig } = await import("./cloud-
|
|
191
|
+
const { initCloudConfig } = await import("./cloud-C45jpBtp.mjs");
|
|
192
192
|
printDocsCloudOnboardingInstructions(await initCloudConfig({
|
|
193
193
|
rootDir: options.rootDir,
|
|
194
194
|
configPath: getDocsCloudConfigPathForFramework(options.framework)
|
|
@@ -5,7 +5,7 @@ import "./agent-evals-BD17jOqL.mjs";
|
|
|
5
5
|
import { createFilesystemDocsMcpSource, resolveDocsMcpConfig, runDocsMcpStdio } from "./mcp.mjs";
|
|
6
6
|
import "./code-blocks-C9awWzEQ.mjs";
|
|
7
7
|
import "./server.mjs";
|
|
8
|
-
import { d as readStringProperty, h as resolveDocsContentDir, l as readNavTitle, m as resolveDocsConfigPath, n as extractObjectLiteral, s as readBooleanProperty } from "./config-
|
|
8
|
+
import { d as readStringProperty, h as resolveDocsContentDir, l as readNavTitle, m as resolveDocsConfigPath, n as extractObjectLiteral, s as readBooleanProperty } from "./config-DZbZiYEa.mjs";
|
|
9
9
|
import { readFileSync } from "node:fs";
|
|
10
10
|
import pc from "picocolors";
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ import "./search-OHp36znm.mjs";
|
|
|
3
3
|
import { c as resolveDocsReviewConfig, o as ensureDocsReviewWorkflow, s as readDocsReviewConfigFromSource, t as runDocsGoldenTasks } from "./agent-evals-BD17jOqL.mjs";
|
|
4
4
|
import { createFilesystemDocsMcpSource, getDocsConfigSchema, resolveDocsMcpConfig } from "./mcp.mjs";
|
|
5
5
|
import "./code-blocks-C9awWzEQ.mjs";
|
|
6
|
-
import { a as loadDocsConfigModuleResultWithProjectEnv, h as resolveDocsContentDir, m as resolveDocsConfigPath, p as readTopLevelStringProperty } from "./config-
|
|
6
|
+
import { a as loadDocsConfigModuleResultWithProjectEnv, h as resolveDocsContentDir, m as resolveDocsConfigPath, p as readTopLevelStringProperty } from "./config-DZbZiYEa.mjs";
|
|
7
7
|
import { t as detectFramework } from "./utils-DBCCkkJS.mjs";
|
|
8
8
|
import { i as extractAgentBlocks, n as analyzeAgentUsefulness, r as createAgentUsefulnessPagesFromMcp, t as analyzeAgentSurfaceDrift } from "./agent-surface-drift-rGFS38Ak.mjs";
|
|
9
9
|
import matter from "gray-matter";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./agent-CxDzPqtl.mjs";
|
|
2
2
|
import { c as renderDocsRobotsGeneratedBlock, f as upsertDocsRobotsGeneratedBlock, i as DOCS_ROBOTS_GENERATED_BLOCK_START, r as DOCS_ROBOTS_GENERATED_BLOCK_END, u as resolveDocsRobotsConfig } from "./robots-DRpoiYAV.mjs";
|
|
3
|
-
import { d as readStringProperty, i as loadDocsConfigModule, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-
|
|
3
|
+
import { d as readStringProperty, i as loadDocsConfigModule, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-DZbZiYEa.mjs";
|
|
4
4
|
import { t as detectFramework } from "./utils-DBCCkkJS.mjs";
|
|
5
5
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
@@ -5,7 +5,7 @@ import "./agent-evals-BD17jOqL.mjs";
|
|
|
5
5
|
import { createFilesystemDocsMcpSource } from "./mcp.mjs";
|
|
6
6
|
import "./code-blocks-C9awWzEQ.mjs";
|
|
7
7
|
import "./server.mjs";
|
|
8
|
-
import { h as resolveDocsContentDir, m as resolveDocsConfigPath, o as loadProjectEnv, p as readTopLevelStringProperty } from "./config-
|
|
8
|
+
import { h as resolveDocsContentDir, m as resolveDocsConfigPath, o as loadProjectEnv, p as readTopLevelStringProperty } from "./config-DZbZiYEa.mjs";
|
|
9
9
|
import { readFileSync } from "node:fs";
|
|
10
10
|
import pc from "picocolors";
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ import "./agent-evals-BD17jOqL.mjs";
|
|
|
5
5
|
import { createFilesystemDocsMcpSource } from "./mcp.mjs";
|
|
6
6
|
import "./code-blocks-C9awWzEQ.mjs";
|
|
7
7
|
import "./server.mjs";
|
|
8
|
-
import { d as readStringProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-
|
|
8
|
+
import { d as readStringProperty, h as resolveDocsContentDir, i as loadDocsConfigModule, l as readNavTitle, m as resolveDocsConfigPath, p as readTopLevelStringProperty, s as readBooleanProperty, t as extractNestedObjectLiteral } from "./config-DZbZiYEa.mjs";
|
|
9
9
|
import { t as detectFramework } from "./utils-DBCCkkJS.mjs";
|
|
10
10
|
import { existsSync, mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
|
|
11
11
|
import path from "node:path";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/docs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.57",
|
|
4
4
|
"description": "Modern, flexible MDX-based docs framework — core types, config, and CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@scalar/core": "^0.4.3",
|
|
54
54
|
"@vercel/sandbox": "^2.0.0",
|
|
55
55
|
"gray-matter": "^4.0.3",
|
|
56
|
-
"jiti": "^2.
|
|
56
|
+
"jiti": "^2.7.0",
|
|
57
57
|
"picocolors": "^1.1.1",
|
|
58
58
|
"zod": "^4.3.6"
|
|
59
59
|
},
|