@refrakt-md/types 0.10.1 → 0.11.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.
@@ -0,0 +1,48 @@
1
+ import type { JSONSchema7 } from 'json-schema';
2
+ /**
3
+ * A single command contributed by a `cli-plugin` export.
4
+ *
5
+ * The minimum a plugin command must declare is `name`, `description`, and
6
+ * `handler`. The optional fields below let the command participate in the MCP
7
+ * server (SPEC-043) without changing how the CLI itself dispatches argv.
8
+ */
9
+ export interface CliPluginCommand {
10
+ /** Subcommand name, used as `refrakt <namespace> <name>` and as the MCP
11
+ * tool's local name (final tool id is `<namespace>.<name>`). */
12
+ name: string;
13
+ /** One-line human description. Used in `--help` output and as the
14
+ * fallback MCP tool description when no input schema is provided. */
15
+ description: string;
16
+ /** Argv handler, invoked by the CLI. Receives the args after the
17
+ * subcommand name. */
18
+ handler: (args: string[]) => void | Promise<void>;
19
+ /** Optional JSON Schema for the structured input shape. Used by the MCP
20
+ * server to advertise this command as a typed tool. Ignored by the CLI
21
+ * itself, which always parses argv. */
22
+ inputSchema?: JSONSchema7;
23
+ /** Optional JSON Schema for the structured output shape. Used by MCP
24
+ * clients to validate or unpack the tool's result. Ignored by the CLI. */
25
+ outputSchema?: JSONSchema7;
26
+ /** Optional structured handler that bypasses argv parsing. When the MCP
27
+ * server has this, it calls it directly with the parsed input object.
28
+ * When absent, the MCP server falls back to argv-shimming via `handler`.
29
+ *
30
+ * New plugin commands should provide this for clean structured I/O. */
31
+ mcpHandler?: (input: unknown) => Promise<unknown>;
32
+ }
33
+ /**
34
+ * The shape of a `cli-plugin` module's default export. A package contributes
35
+ * commands by exporting an object of this shape from its `cli-plugin` entry
36
+ * (e.g., `@refrakt-md/plan/cli-plugin`).
37
+ */
38
+ export interface CliPlugin {
39
+ /** Namespace under which the commands are dispatched. Becomes the first
40
+ * positional argument: `refrakt <namespace> <command>`. */
41
+ namespace: string;
42
+ /** Commands contributed by this plugin. */
43
+ commands: CliPluginCommand[];
44
+ /** Optional namespace-level description for help output. */
45
+ description?: string;
46
+ }
47
+ export type { JSONSchema7 } from 'json-schema';
48
+ //# sourceMappingURL=cli-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-plugin.d.ts","sourceRoot":"","sources":["../src/cli-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAChC;qEACiE;IACjE,IAAI,EAAE,MAAM,CAAC;IAEb;0EACsE;IACtE,WAAW,EAAE,MAAM,CAAC;IAEpB;2BACuB;IACvB,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAElD;;4CAEwC;IACxC,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;+EAC2E;IAC3E,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B;;;;4EAIwE;IACxE,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAClD;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACzB;gEAC4D;IAC5D,SAAS,EAAE,MAAM,CAAC;IAElB,2CAA2C;IAC3C,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAE7B,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAID,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=cli-plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-plugin.js","sourceRoot":"","sources":["../src/cli-plugin.ts"],"names":[],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  export { Newable, NodeType, } from './interfaces.js';
2
2
  export type { DesignTokens } from './tokens.js';
3
- export type { RefraktConfig, ThemeManifest, LayoutDefinition, RouteRule, ComponentDefinition, } from './theme.js';
3
+ export type { RefraktConfig, SiteConfig, PlanConfig, ThemeManifest, LayoutDefinition, RouteRule, ComponentDefinition, } from './theme.js';
4
4
  export type { RunePackage, RunePackageEntry, RunePackageAttribute, RuneExtension, RunePackageThemeConfig, } from './package.js';
5
5
  export type { SerializedTag, RendererNode } from './serialized.js';
6
6
  export type { BaseComponentProps, PageSectionSlots, SplitLayoutProperties, } from './component-props.js';
7
7
  export type { ContentFieldDefinition, SequenceModel, HeadingExtractField, HeadingExtract, KnownSectionDefinition, SectionsModel, DelimitedZone, DelimitedModel, CustomModel, ItemFieldDefinition, ItemModel, AttributeInCondition, AttributeExistsCondition, HasChildCondition, ContentModelCondition, ConditionalContentModel, StructuralContentModel, ContentModel, ResolvedField, ResolvedContent, } from './content-model.js';
8
8
  export type { TransformedPage, PipelineHeadingInfo, EntityRegistration, EntityRegistry, AggregatedData, PipelineContext, PipelineWarning, PackagePipelineHooks, } from './pipeline.js';
9
+ export type { CliPlugin, CliPluginCommand, JSONSchema7, } from './cli-plugin.js';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EACP,QAAQ,GACT,MAAM,iBAAiB,CAAC;AAIzB,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,YAAY,EACV,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,mBAAmB,GACpB,MAAM,YAAY,CAAC;AAGpB,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAGtB,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGnE,YAAY,EACX,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,GACrB,MAAM,sBAAsB,CAAC;AAG9B,YAAY,EACX,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,aAAa,EACb,aAAa,EACb,cAAc,EACd,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,eAAe,GACf,MAAM,oBAAoB,CAAC;AAG5B,YAAY,EACX,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,oBAAoB,GACpB,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EACP,QAAQ,GACT,MAAM,iBAAiB,CAAC;AAIzB,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,YAAY,EACV,aAAa,EACb,UAAU,EACV,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,mBAAmB,GACpB,MAAM,YAAY,CAAC;AAGpB,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,aAAa,EACb,sBAAsB,GACvB,MAAM,cAAc,CAAC;AAGtB,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAGnE,YAAY,EACX,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,GACrB,MAAM,sBAAsB,CAAC;AAG9B,YAAY,EACX,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,aAAa,EACb,aAAa,EACb,cAAc,EACd,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,eAAe,GACf,MAAM,oBAAoB,CAAC;AAG5B,YAAY,EACX,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,oBAAoB,GACpB,MAAM,eAAe,CAAC;AAGvB,YAAY,EACX,SAAS,EACT,gBAAgB,EAChB,WAAW,GACX,MAAM,iBAAiB,CAAC"}
package/dist/theme.d.ts CHANGED
@@ -1,5 +1,7 @@
1
- /** Project-level configuration (refrakt.config.json) */
2
- export interface RefraktConfig {
1
+ /** Per-site configuration. A project may declare a single site (via `site`) or
2
+ * multiple named sites (via `sites: { name: SiteConfig }`).
3
+ * All fields except `contentDir`, `theme`, and `target` are optional. */
4
+ export interface SiteConfig {
3
5
  /** Path to content directory, relative to project root */
4
6
  contentDir: string;
5
7
  /** Active theme — package name or relative path */
@@ -12,15 +14,14 @@ export interface RefraktConfig {
12
14
  routeRules?: RouteRule[];
13
15
  /** Syntax highlighting options */
14
16
  highlight?: {
15
- /** Shiki theme — a built-in theme name, or { light, dark } pair for dual themes */
16
17
  theme?: string | {
17
18
  light: string;
18
19
  dark: string;
19
20
  };
20
21
  };
21
- /** Custom icon SVGs — merged into the theme's global icon group (icon name → SVG string) */
22
+ /** Custom icon SVGs — merged into the theme's global icon group */
22
23
  icons?: Record<string, string>;
23
- /** Community rune packages to load (npm package names) */
24
+ /** Community rune packages to merge into this site's ThemeConfig */
24
25
  packages?: string[];
25
26
  /** Project-level tint presets — merged after theme tints (last wins) */
26
27
  tints?: Record<string, Record<string, unknown>>;
@@ -28,27 +29,90 @@ export interface RefraktConfig {
28
29
  backgrounds?: Record<string, Record<string, unknown>>;
29
30
  /** Sandbox configuration */
30
31
  sandbox?: {
31
- /** Directory for external sandbox examples, relative to project root. Default: './examples' */
32
32
  examplesDir?: string;
33
33
  };
34
- /** Base URL for canonical links and og:url (e.g. "https://example.com"). Falls back to SITE_URL env var. */
34
+ /** Base URL for canonical links and og:url */
35
35
  baseUrl?: string;
36
- /** Human-readable site name for og:site_name meta tag */
36
+ /** Human-readable site name for og:site_name */
37
37
  siteName?: string;
38
- /** Default og:image for pages without their own image (path relative to site root, e.g. "/og-image.png"). Recommended size: 1200x630px. */
38
+ /** Default og:image for pages without their own image */
39
39
  defaultImage?: string;
40
- /** Site logo for Organization JSON-LD schema (path relative to site root, e.g. "/favicon-192.png"). Google uses this for the site icon in search results. */
40
+ /** Site logo for Organization JSON-LD schema */
41
41
  logo?: string;
42
42
  /** Rune resolution configuration */
43
43
  runes?: {
44
- /** Resolve name collisions between community packages: rune name → preferred package name.
45
- * Use "__core__" as the value to force the core version when a package overrides it. */
46
44
  prefer?: Record<string, string>;
47
- /** Tag name aliases: alias → canonical rune name.
48
- * Resolved after package merge — can alias any resolved name (core, package, or local). */
49
45
  aliases?: Record<string, string>;
50
- /** Local rune module paths: rune name → relative path to module exporting a rune entry.
51
- * Local runes have highest priority in the resolution order. */
46
+ local?: Record<string, string>;
47
+ };
48
+ }
49
+ /** Plan-management configuration. Optional — when absent, plan tooling falls
50
+ * back to autodetecting `./plan` from the working directory. */
51
+ export interface PlanConfig {
52
+ /** Plan directory, relative to project root. Default: `plan` */
53
+ dir?: string;
54
+ }
55
+ /** Project-level configuration (refrakt.config.json).
56
+ *
57
+ * Three valid input shapes — all collapse to the same normalized internal form:
58
+ * - **Flat** (legacy): top-level `contentDir`, `theme`, `target`, …
59
+ * - **Singular**: `{ "site": { contentDir, theme, target, … } }`
60
+ * - **Plural**: `{ "sites": { "main": { … }, "blog": { … } } }`
61
+ *
62
+ * Flat and singular shapes both collapse to `sites.default`. Plural projects
63
+ * must reference sites by name in CLI commands and adapter options. */
64
+ export interface RefraktConfig {
65
+ /** Plugin packages contributing CLI commands and MCP tools.
66
+ * When set, this is authoritative; when absent, plugin discovery falls back
67
+ * to scanning `package.json` for `@refrakt-md/*` dependencies. */
68
+ plugins?: string[];
69
+ /** Plan-management configuration. */
70
+ plan?: PlanConfig;
71
+ /** Singular-site declaration. Mutually exclusive with `sites`. */
72
+ site?: SiteConfig;
73
+ /** Multi-site declaration keyed by site name. Mutually exclusive with `site`. */
74
+ sites?: Record<string, SiteConfig>;
75
+ /** @deprecated Shorthand for `sites.default.contentDir` */
76
+ contentDir: string;
77
+ /** @deprecated Shorthand for `sites.default.theme` */
78
+ theme: string;
79
+ /** @deprecated Shorthand for `sites.default.target` */
80
+ target: string;
81
+ /** @deprecated Shorthand for `sites.default.overrides` */
82
+ overrides?: Record<string, string>;
83
+ /** @deprecated Shorthand for `sites.default.routeRules` */
84
+ routeRules?: RouteRule[];
85
+ /** @deprecated Shorthand for `sites.default.highlight` */
86
+ highlight?: {
87
+ theme?: string | {
88
+ light: string;
89
+ dark: string;
90
+ };
91
+ };
92
+ /** @deprecated Shorthand for `sites.default.icons` */
93
+ icons?: Record<string, string>;
94
+ /** @deprecated Shorthand for `sites.default.packages` */
95
+ packages?: string[];
96
+ /** @deprecated Shorthand for `sites.default.tints` */
97
+ tints?: Record<string, Record<string, unknown>>;
98
+ /** @deprecated Shorthand for `sites.default.backgrounds` */
99
+ backgrounds?: Record<string, Record<string, unknown>>;
100
+ /** @deprecated Shorthand for `sites.default.sandbox` */
101
+ sandbox?: {
102
+ examplesDir?: string;
103
+ };
104
+ /** @deprecated Shorthand for `sites.default.baseUrl` */
105
+ baseUrl?: string;
106
+ /** @deprecated Shorthand for `sites.default.siteName` */
107
+ siteName?: string;
108
+ /** @deprecated Shorthand for `sites.default.defaultImage` */
109
+ defaultImage?: string;
110
+ /** @deprecated Shorthand for `sites.default.logo` */
111
+ logo?: string;
112
+ /** @deprecated Shorthand for `sites.default.runes` */
113
+ runes?: {
114
+ prefer?: Record<string, string>;
115
+ aliases?: Record<string, string>;
52
116
  local?: Record<string, string>;
53
117
  };
54
118
  }
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,MAAM,WAAW,aAAa;I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HANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@refrakt-md/types",
3
3
  "description": "Shared type definitions for refrakt.md",
4
- "version": "0.10.1",
4
+ "version": "0.11.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -27,5 +27,8 @@
27
27
  ],
28
28
  "scripts": {
29
29
  "build": "tsc"
30
+ },
31
+ "dependencies": {
32
+ "@types/json-schema": "^7.0.15"
30
33
  }
31
34
  }