@clarify-labs/cli 0.11.10 → 0.11.13
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/output/cli.cjs +1 -1
- package/output/cli.js +1 -1
- package/output/{engine-BuYsLjJN.cjs → engine--f7G04zS.cjs} +113 -11
- package/output/engine--f7G04zS.cjs.map +1 -0
- package/output/{engine-DisWfZp-.js → engine-CTFNxQRw.js} +113 -11
- package/output/engine-CTFNxQRw.js.map +1 -0
- package/output/index.cjs +1 -1
- package/output/index.js +1 -1
- package/output/plugins/content-artifacts/artifacts.d.ts +2 -1
- package/output/types.d.ts +9 -1
- package/package.json +3 -3
- package/output/engine-BuYsLjJN.cjs.map +0 -1
- package/output/engine-DisWfZp-.js.map +0 -1
package/output/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_engine = require("./engine
|
|
2
|
+
const require_engine = require("./engine--f7G04zS.cjs");
|
|
3
3
|
exports.ClarifyEngine = require_engine.ClarifyEngine;
|
|
4
4
|
exports.createClarifyEngine = require_engine.createClarifyEngine;
|
|
5
5
|
exports.createViteAdapter = require_engine.createViteAdapter;
|
package/output/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as defineConfig, n as createClarifyEngine, t as ClarifyEngine, u as createViteAdapter } from "./engine-
|
|
1
|
+
import { d as defineConfig, n as createClarifyEngine, t as ClarifyEngine, u as createViteAdapter } from "./engine-CTFNxQRw.js";
|
|
2
2
|
export { ClarifyEngine, createClarifyEngine, createViteAdapter, defineConfig };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ContentRoute, ResolvedProjectConfig } from '../../types.js';
|
|
1
|
+
import { ContentRoute, OpenAPISpec, ResolvedProjectConfig } from '../../types.js';
|
|
2
2
|
export declare function attachContentArtifactUrls(routes: ContentRoute[]): void;
|
|
3
3
|
export declare function readRouteContent(route: ContentRoute): string;
|
|
4
4
|
export declare function readRouteArtifactContent(route: ContentRoute): string;
|
|
5
|
+
export declare function createRootOpenAPISpec(routes: ContentRoute[], projectConfig: ResolvedProjectConfig): OpenAPISpec;
|
|
5
6
|
export declare function createLlmsTxt(routes: ContentRoute[], projectConfig: ResolvedProjectConfig): string;
|
|
6
7
|
export declare function createLlmsTxtArtifact(routes: ContentRoute[], projectConfig: ResolvedProjectConfig): string;
|
package/output/types.d.ts
CHANGED
|
@@ -157,9 +157,13 @@ export type ClarifyPagesItem = string | ClarifyPagesGroup | {
|
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
159
|
export type ClarifyPagesGroup = {
|
|
160
|
-
group: ClarifyLocalizedText;
|
|
161
160
|
/** Icon name from lucide-react, e.g. "BookOpen". */
|
|
162
161
|
icon?: string;
|
|
162
|
+
group: ClarifyLocalizedText;
|
|
163
|
+
/** Controls when this group appears in navigation. Defaults to "always". */
|
|
164
|
+
visible?: 'always' | 'active' | 'never';
|
|
165
|
+
/** Whether pages in this group are included in built-in search indexes. Defaults to true. */
|
|
166
|
+
searchable?: boolean;
|
|
163
167
|
/** Page layout inherited by pages in this group. */
|
|
164
168
|
layout?: 'documentation' | 'blog';
|
|
165
169
|
/** Pages or nested groups within this section. */
|
|
@@ -337,6 +341,8 @@ type ContentRouteBase = {
|
|
|
337
341
|
basePath?: string;
|
|
338
342
|
locale?: string;
|
|
339
343
|
isFallback?: boolean;
|
|
344
|
+
/** Whether this route is included in built-in search indexes. Defaults to true. */
|
|
345
|
+
searchable?: boolean;
|
|
340
346
|
/** Indicates this route is a bare alias for the default locale (e.g., /path instead of /locale/path). Should not be indexed. */
|
|
341
347
|
isBareAlias?: boolean;
|
|
342
348
|
alternates?: Record<string, string>;
|
|
@@ -398,6 +404,8 @@ export type ClarifyNavigationNode = {
|
|
|
398
404
|
title: string;
|
|
399
405
|
icon?: string;
|
|
400
406
|
layout?: 'documentation' | 'blog';
|
|
407
|
+
visible?: 'always' | 'active' | 'never';
|
|
408
|
+
searchable?: boolean;
|
|
401
409
|
children?: ClarifyNavigationNode[];
|
|
402
410
|
sections?: NavigationSection[];
|
|
403
411
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clarify-labs/cli",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.13",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@apidevtools/swagger-parser": "^12.1.0",
|
|
42
|
-
"@clarify-labs/renderer": "0.11.
|
|
43
|
-
"@clarify-labs/templates": "0.11.
|
|
42
|
+
"@clarify-labs/renderer": "0.11.13",
|
|
43
|
+
"@clarify-labs/templates": "0.11.13",
|
|
44
44
|
"@mdx-js/mdx": "^3.1.1",
|
|
45
45
|
"@mdx-js/rollup": "^3.1.1",
|
|
46
46
|
"@modelcontextprotocol/sdk": "^1.29.0",
|