@modality-counter/core 1.6.6 → 1.7.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.
@@ -8,8 +8,6 @@
8
8
  * Provides bidirectional mapping for alias resolution.
9
9
  */
10
10
  declare const METHOD_TO_ALIASES: {
11
- readonly code: readonly ["change", "modify", "develop", "update", "implement", "add", "fix", "improve"];
12
- readonly "code-verify": readonly ["check", "code-test"];
13
11
  readonly "fix-bun-test": readonly ["bun-test"];
14
12
  readonly "fresh-eyes-review": readonly ["review"];
15
13
  readonly "counter-manager": readonly ["method-manager"];
@@ -63,8 +63,8 @@ export declare const workflowDeploySchema: z.ZodObject<{
63
63
  export type WorkflowDeployType = z.infer<typeof workflowDeploySchema>;
64
64
  export declare const counterAssembleSchema: z.ZodObject<{
65
65
  types: z.ZodDefault<z.ZodArray<z.ZodEnum<{
66
- persona: "persona";
67
66
  method: "method";
67
+ persona: "persona";
68
68
  workflow: "workflow";
69
69
  }>>>;
70
70
  keyword: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -3,12 +3,12 @@ declare const ExpectedOutputSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodString>
3
3
  declare const ParameterDefinitionSchema: z.ZodObject<{
4
4
  description: z.ZodString;
5
5
  type: z.ZodOptional<z.ZodEnum<{
6
- string: "string";
7
- number: "number";
8
- boolean: "boolean";
9
- object: "object";
10
6
  array: "array";
7
+ boolean: "boolean";
11
8
  integer: "integer";
9
+ number: "number";
10
+ object: "object";
11
+ string: "string";
12
12
  }>>;
13
13
  required: z.ZodDefault<z.ZodBoolean>;
14
14
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -19,12 +19,12 @@ declare const UsageSchema: z.ZodObject<{
19
19
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
20
20
  description: z.ZodString;
21
21
  type: z.ZodOptional<z.ZodEnum<{
22
- string: "string";
23
- number: "number";
24
- boolean: "boolean";
25
- object: "object";
26
22
  array: "array";
23
+ boolean: "boolean";
27
24
  integer: "integer";
25
+ number: "number";
26
+ object: "object";
27
+ string: "string";
28
28
  }>>;
29
29
  required: z.ZodDefault<z.ZodBoolean>;
30
30
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -98,12 +98,12 @@ export declare const MethodFileSchema: z.ZodObject<{
98
98
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
99
99
  description: z.ZodString;
100
100
  type: z.ZodOptional<z.ZodEnum<{
101
- string: "string";
102
- number: "number";
103
- boolean: "boolean";
104
- object: "object";
105
101
  array: "array";
102
+ boolean: "boolean";
106
103
  integer: "integer";
104
+ number: "number";
105
+ object: "object";
106
+ string: "string";
107
107
  }>>;
108
108
  required: z.ZodDefault<z.ZodBoolean>;
109
109
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -41,8 +41,8 @@ export declare const getNormalizedName: (name: string, counterType?: string, sta
41
41
  resolveParams: Record<string, any> | undefined;
42
42
  resolveName: string;
43
43
  } | {
44
- resolveName: string;
45
44
  resolveParams?: undefined;
45
+ resolveName: string;
46
46
  };
47
47
  /** Resolved Counter content: prompt data, optional script, and party mode flag */
48
48
  export interface CounterContent {
@@ -9,7 +9,16 @@ export declare class DeepWiki {
9
9
  callOnce(maxRetries?: number, baseDelayMs?: number): Promise<any>;
10
10
  listTools(): Promise<{
11
11
  [x: string]: unknown;
12
+ _meta?: {
13
+ [x: string]: unknown;
14
+ progressToken?: string | number | undefined;
15
+ "io.modelcontextprotocol/related-task"?: {
16
+ taskId: string;
17
+ } | undefined;
18
+ } | undefined;
19
+ nextCursor?: string | undefined;
12
20
  tools: {
21
+ description?: string | undefined;
13
22
  inputSchema: {
14
23
  [x: string]: unknown;
15
24
  type: "object";
@@ -18,8 +27,6 @@ export declare class DeepWiki {
18
27
  } | undefined;
19
28
  required?: string[] | undefined;
20
29
  };
21
- name: string;
22
- description?: string | undefined;
23
30
  outputSchema?: {
24
31
  [x: string]: unknown;
25
32
  type: "object";
@@ -36,7 +43,7 @@ export declare class DeepWiki {
36
43
  openWorldHint?: boolean | undefined;
37
44
  } | undefined;
38
45
  execution?: {
39
- taskSupport?: "optional" | "required" | "forbidden" | undefined;
46
+ taskSupport?: "forbidden" | "optional" | "required" | undefined;
40
47
  } | undefined;
41
48
  _meta?: {
42
49
  [x: string]: unknown;
@@ -45,18 +52,11 @@ export declare class DeepWiki {
45
52
  src: string;
46
53
  mimeType?: string | undefined;
47
54
  sizes?: string[] | undefined;
48
- theme?: "light" | "dark" | undefined;
55
+ theme?: "dark" | "light" | undefined;
49
56
  }[] | undefined;
57
+ name: string;
50
58
  title?: string | undefined;
51
59
  }[];
52
- _meta?: {
53
- [x: string]: unknown;
54
- progressToken?: string | number | undefined;
55
- "io.modelcontextprotocol/related-task"?: {
56
- taskId: string;
57
- } | undefined;
58
- } | undefined;
59
- nextCursor?: string | undefined;
60
60
  }>;
61
61
  getToolParams(): any;
62
62
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.6.6",
2
+ "version": "1.7.0",
3
3
  "name": "@modality-counter/core",
4
4
  "repository": {
5
5
  "type": "git",
@@ -14,13 +14,13 @@
14
14
  "author": "Hill <hill@kimo.com>",
15
15
  "license": "ISC",
16
16
  "peerDependencies": {
17
- "modality-mcp-kit": "^1.7.1",
17
+ "modality-mcp-kit": "^2.0.2",
18
18
  "react": "^19.2.7",
19
19
  "react-dom": "^19.2.7"
20
20
  },
21
21
  "dependencies": {
22
22
  "@mdx-js/esbuild": "^3.1.1",
23
- "modality-ai": "^0.6.0",
23
+ "modality-ai": "^0.7.1",
24
24
  "modality-kit": "^0.17.12",
25
25
  "modality-safe": "^0.4.1",
26
26
  "node-html-markdown": "^2.0.0",
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@types/react": "^19.2.17",
34
34
  "@types/react-dom": "^19.2.3",
35
- "modality-bun-kit": "^1.3.14",
35
+ "modality-bun-kit": "^1.3.14-1",
36
36
  "xdm": "3.4.0"
37
37
  },
38
38
  "exports": {