@modality-counter/core 1.2.3 → 1.2.5
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 @@
|
|
|
1
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { getCounterContent, getAllCounterItems, type CounterContent, type Counte
|
|
|
10
10
|
export { setupMcpCounter } from "./mcp_counter";
|
|
11
11
|
export { executeMethod } from "./execute_method";
|
|
12
12
|
export { toCounterCLI } from "./toCounterCLI";
|
|
13
|
+
export { toCounterCLIHelp, toCounterMethodHelp, type HelpFormat } from "./toCounterCLIHelp";
|
|
13
14
|
export { validateMethodFile } from "./schemas/methodology-validation.js";
|
|
14
15
|
export { validateTemplateFile } from "./schemas/template-validation.js";
|
|
15
16
|
export { validateProtocolFile } from "./schemas/protocol-validation.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function toCounterCLI(baseDir: string): (args: string[]) => Promise<void>;
|
|
1
|
+
export declare function toCounterCLI(baseDir: string, commandName?: string): (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface HelpFormat {
|
|
2
|
+
bold: (s: string) => string;
|
|
3
|
+
dim: (s: string) => string;
|
|
4
|
+
header: (s: string) => string;
|
|
5
|
+
example: (s: string) => string;
|
|
6
|
+
}
|
|
7
|
+
export declare function toCounterMethodHelp(cliName: string, baseDir: string, commandName?: string): Promise<{
|
|
8
|
+
usage: string[];
|
|
9
|
+
examples: string[];
|
|
10
|
+
}>;
|
|
11
|
+
export declare function toCounterCLIHelp(cliName: string, baseDir: string, format?: HelpFormat, commandName?: string): (args: string[]) => Promise<boolean>;
|
package/package.json
CHANGED