@modality-counter/core 0.12.2 → 1.0.1
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
|
@@ -8,6 +8,7 @@ export { DeepWiki } from "./util_scripts/DeepWiki";
|
|
|
8
8
|
export { getPagination, needsChunking, getChunk, } from "./util_scripts/pagination";
|
|
9
9
|
export { getCounterContent, getAllCounterItems, type CounterContent, type CounterTuple, } from "./util_counter_data";
|
|
10
10
|
export { setupMcpCounter } from "./mcp_counter";
|
|
11
|
+
export { executeMethod } from "./execute_method";
|
|
11
12
|
export { validateMethodFile } from "./schemas/methodology-validation.js";
|
|
12
13
|
export { validateTemplateFile } from "./schemas/template-validation.js";
|
|
13
14
|
export { validateProtocolFile } from "./schemas/protocol-validation.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
/**
|
|
3
|
+
* Counter Method CLI
|
|
4
|
+
*
|
|
5
|
+
* Usage:
|
|
6
|
+
* bun src/tools/execute-method.ts '<method>' ['<params-json>']
|
|
7
|
+
*
|
|
8
|
+
* Examples:
|
|
9
|
+
* bun src/tools/execute-method.ts '*assemble'
|
|
10
|
+
* bun src/tools/execute-method.ts '*code' '{"input":"fix login bug"}'
|
|
11
|
+
*/
|
|
12
|
+
export {};
|
|
@@ -33,7 +33,7 @@ export interface CounterInstructions {
|
|
|
33
33
|
}
|
|
34
34
|
/** Execution result tuple: supports 0, 1, or 2 elements */
|
|
35
35
|
export type CounterTuple = [] | [CounterInstructions] | [CounterInstructions, Array<MethodMetadata | ReferenceMetadata>];
|
|
36
|
-
interface CounterItem {
|
|
36
|
+
export interface CounterItem {
|
|
37
37
|
callSign: string;
|
|
38
38
|
type: ResourceType;
|
|
39
39
|
id: string;
|
|
@@ -43,6 +43,13 @@ interface CounterItem {
|
|
|
43
43
|
folderPath?: string;
|
|
44
44
|
category?: string;
|
|
45
45
|
}
|
|
46
|
+
export declare const getNormalizedName: (name: string, counterType?: string) => {
|
|
47
|
+
resolveParams: Record<string, any> | undefined;
|
|
48
|
+
resolveName: string;
|
|
49
|
+
} | {
|
|
50
|
+
resolveName: string;
|
|
51
|
+
resolveParams?: undefined;
|
|
52
|
+
};
|
|
46
53
|
/**
|
|
47
54
|
* Get content by ID - TypeScript Promise Detection Solution
|
|
48
55
|
*/
|
|
@@ -57,4 +64,3 @@ export declare function getAllCounterItems(types?: ResourceType[], baseDir?: str
|
|
|
57
64
|
* Find all template files - convenience wrapper around recursiveScanForFiles
|
|
58
65
|
*/
|
|
59
66
|
export declare function findAllTemplateFiles(baseDir: string): ScannedFile[];
|
|
60
|
-
export {};
|
package/package.json
CHANGED