@iksnerd/blazon 0.2.2 → 0.3.2
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/README.md +7 -6
- package/dist/chunks/{site-builder-CsBH_ocA.js → site-builder-NRN9UNyn.js} +2490 -2406
- package/dist/cli/commands/mcp-check.d.ts +3 -1
- package/dist/cli/commands/mcp-check.d.ts.map +1 -1
- package/dist/cli/commands/mcp.d.ts +2 -1
- package/dist/cli/commands/mcp.d.ts.map +1 -1
- package/dist/cli/index.js +1153 -1126
- package/dist/core/brand/export.d.ts +3 -1
- package/dist/core/brand/export.d.ts.map +1 -1
- package/dist/core/brand/schema.d.ts +21 -0
- package/dist/core/brand/schema.d.ts.map +1 -1
- package/dist/core/checker/catalogue.d.ts +8 -0
- package/dist/core/checker/catalogue.d.ts.map +1 -1
- package/dist/core/fonts.d.ts +10 -1
- package/dist/core/fonts.d.ts.map +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/inputs.d.ts.map +1 -1
- package/dist/core/mcp-config.d.ts +12 -6
- package/dist/core/mcp-config.d.ts.map +1 -1
- package/dist/core/operations/list.d.ts.map +1 -1
- package/dist/index.js +32 -32
- package/dist/types/data.d.ts +10 -0
- package/dist/types/data.d.ts.map +1 -1
- package/dist/ui/assets/index-Biy1hkeq.css +2 -0
- package/dist/ui/assets/{index-CLKH0m9J.js → index-BpdgjM9E.js} +7 -0
- package/dist/ui/index.html +2 -2
- package/mcp/dist/index.js +22748 -0
- package/package.json +7 -4
- package/plugins/blazon.office-template/bin/blazon-blazon.office-template./360/237/224/214 +1 -1
- package/plugins/blazon.platform-tokens/README.md +58 -2
- package/plugins/blazon.platform-tokens/bin/blazon-blazon.platform-tokens./360/237/224/214 +57 -12
- package/plugins/blazon.press-kit/README.md +54 -3
- package/plugins/blazon.press-kit/bin/blazon-blazon.press-kit./360/237/224/214 +247 -49
- package/plugins/blazon.print-book/README.md +6 -0
- package/plugins/shipped.lock +4 -4
- package/template/AGENTS.md +1 -1
- package/template/docs/01-principles.md +1 -1
- package/dist/ui/assets/index-DluSqfla.css +0 -2
|
@@ -15,7 +15,7 @@ export interface McpCheck {
|
|
|
15
15
|
}
|
|
16
16
|
/** The tool names the server must list: every operation that has a tool. */
|
|
17
17
|
export declare const expectedTools: () => string[];
|
|
18
|
-
/** (a) The server is
|
|
18
|
+
/** (a) The server is there: `mcp/dist/index.js` exists in this blazon's package (an install ships it; a source checkout builds it). */
|
|
19
19
|
export declare function checkBuilt(root: string): McpCheck & {
|
|
20
20
|
entry: string;
|
|
21
21
|
};
|
|
@@ -51,6 +51,8 @@ export interface McpCheckOptions {
|
|
|
51
51
|
env?: NodeJS.ProcessEnv;
|
|
52
52
|
home?: string;
|
|
53
53
|
timeoutMs?: number;
|
|
54
|
+
/** blazon's package root; tests give another. */
|
|
55
|
+
root?: string;
|
|
54
56
|
}
|
|
55
57
|
/** `blazon mcp --check`: runs the four checks, prints the answer, and returns the exit status: 0 when the server is ready, 1 when not. Writes no file. */
|
|
56
58
|
export declare function runMcpCheck(options: McpCheckOptions): Promise<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-check.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/mcp-check.ts"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"mcp-check.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/mcp-check.ts"],"names":[],"mappings":"AAKA,OAAO,EAAmF,KAAK,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAK3I,4EAA4E;AAC5E,eAAO,MAAM,oBAAoB,QAAS,CAAC;AAE3C,0MAA0M;AAC1M,eAAO,MAAM,YAAY,0PACgO,CAAC;AAE1P,4FAA4F;AAC5F,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,WAAW,GAAG,YAAY,CAAC;IACtD,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,MAAM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IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,0JAA0J;AAC1J,wBAAsB,WAAW,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,CAgC3E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* `blazon mcp --print-config [--client c] [--brand dir]`: prints what registers blazon-mcp (stdio) in a client. Writes no file.
|
|
3
3
|
* `blazon mcp --check [--client c] [--brand dir]`: says whether the server is built, can find blazon, answers a real MCP handshake and is registered.
|
|
4
|
-
* Exits 0, or 2 for an unknown client, both flags or neither. `--check` exits 1 when the server is not ready.
|
|
4
|
+
* Exits 0, or 2 for an unknown client, both flags or neither. `--check` exits 1 when the server is not ready; `--print-config` exits 1 when an install has lost its server file, because there is no command that works.
|
|
5
5
|
*/
|
|
6
6
|
export declare function runMcp(options?: {
|
|
7
7
|
printConfig?: boolean;
|
|
@@ -9,5 +9,6 @@ export declare function runMcp(options?: {
|
|
|
9
9
|
client?: string;
|
|
10
10
|
brand?: string;
|
|
11
11
|
json?: boolean;
|
|
12
|
+
root?: string;
|
|
12
13
|
}): Promise<number>;
|
|
13
14
|
//# sourceMappingURL=mcp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/mcp.ts"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,wBAAsB,MAAM,CAAC,OAAO,GAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/mcp.ts"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,wBAAsB,MAAM,CAAC,OAAO,GAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAkCtK"}
|