modality-kit 0.5.2 → 0.5.4

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.
@@ -1,3 +1,3 @@
1
1
  import { z } from "zod";
2
- export declare const emptySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2
+ export declare const emptySchema: z.ZodObject<{}, z.core.$strip>;
3
3
  export type EmptyType = z.infer<typeof emptySchema>;
@@ -2,56 +2,47 @@ import { z } from "zod";
2
2
  declare const positionSchema: z.ZodObject<{
3
3
  line: z.ZodNumber;
4
4
  col: z.ZodNumber;
5
- }, "strip", z.ZodTypeAny, {
6
- line: number;
7
- col: number;
8
- }, {
9
- line: number;
10
- col: number;
11
- }>;
5
+ }, z.core.$strip>;
12
6
  export declare const symbolKinds: readonly ["File", "Module", "Namespace", "Package", "Class", "Method", "Property", "Field", "Constructor", "Enum", "Interface", "Function", "Variable", "Constant", "String", "Number", "Boolean", "Array", "Object", "Key", "Null", "EnumMember", "Struct", "Event", "Operator", "TypeParameter"];
13
- export declare const symbolKindSchema: z.ZodEnum<["File", "Module", "Namespace", "Package", "Class", "Method", "Property", "Field", "Constructor", "Enum", "Interface", "Function", "Variable", "Constant", "String", "Number", "Boolean", "Array", "Object", "Key", "Null", "EnumMember", "Struct", "Event", "Operator", "TypeParameter"]>;
7
+ export declare const symbolKindSchema: z.ZodEnum<{
8
+ File: "File";
9
+ Module: "Module";
10
+ Namespace: "Namespace";
11
+ Package: "Package";
12
+ Class: "Class";
13
+ Method: "Method";
14
+ Property: "Property";
15
+ Field: "Field";
16
+ Constructor: "Constructor";
17
+ Enum: "Enum";
18
+ Interface: "Interface";
19
+ Function: "Function";
20
+ Variable: "Variable";
21
+ Constant: "Constant";
22
+ String: "String";
23
+ Number: "Number";
24
+ Boolean: "Boolean";
25
+ Array: "Array";
26
+ Object: "Object";
27
+ Key: "Key";
28
+ Null: "Null";
29
+ EnumMember: "EnumMember";
30
+ Struct: "Struct";
31
+ Event: "Event";
32
+ Operator: "Operator";
33
+ TypeParameter: "TypeParameter";
34
+ }>;
14
35
  export type SymbolKindType = z.infer<typeof symbolKindSchema>;
15
36
  export declare const rangeSchema: z.ZodObject<{
16
37
  start: z.ZodObject<{
17
38
  line: z.ZodNumber;
18
39
  col: z.ZodNumber;
19
- }, "strip", z.ZodTypeAny, {
20
- line: number;
21
- col: number;
22
- }, {
23
- line: number;
24
- col: number;
25
- }>;
40
+ }, z.core.$strip>;
26
41
  end: z.ZodObject<{
27
42
  line: z.ZodNumber;
28
43
  col: z.ZodNumber;
29
- }, "strip", z.ZodTypeAny, {
30
- line: number;
31
- col: number;
32
- }, {
33
- line: number;
34
- col: number;
35
- }>;
36
- }, "strip", z.ZodTypeAny, {
37
- start: {
38
- line: number;
39
- col: number;
40
- };
41
- end: {
42
- line: number;
43
- col: number;
44
- };
45
- }, {
46
- start: {
47
- line: number;
48
- col: number;
49
- };
50
- end: {
51
- line: number;
52
- col: number;
53
- };
54
- }>;
44
+ }, z.core.$strip>;
45
+ }, z.core.$strip>;
55
46
  export type Position = z.infer<typeof positionSchema>;
56
47
  export type Range = z.infer<typeof rangeSchema>;
57
48
  interface SymbolBase {
@@ -87,17 +78,12 @@ export interface VSCodeSymbol extends SymbolBase {
87
78
  }
88
79
  declare const fileEntrySchema: z.ZodObject<{
89
80
  path: z.ZodString;
90
- type: z.ZodEnum<["file", "directory"]>;
81
+ type: z.ZodEnum<{
82
+ file: "file";
83
+ directory: "directory";
84
+ }>;
91
85
  lastModified: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
92
- }, "strip", z.ZodTypeAny, {
93
- type: "file" | "directory";
94
- path: string;
95
- lastModified?: number | null | undefined;
96
- }, {
97
- type: "file" | "directory";
98
- path: string;
99
- lastModified?: number | null | undefined;
100
- }>;
86
+ }, z.core.$strip>;
101
87
  export type FileEntryType = z.infer<typeof fileEntrySchema>;
102
88
  export interface VSCodeFileEntryType extends FileEntryType {
103
89
  position: VSCodePosition;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.5.2",
2
+ "version": "0.5.4",
3
3
  "name": "modality-kit",
4
4
  "repository": {
5
5
  "type": "git",
@@ -12,10 +12,13 @@
12
12
  ],
13
13
  "author": "Hill <hill@kimo.com>",
14
14
  "license": "ISC",
15
+ "dependencies": {
16
+ "zod": "^4.0.14"
17
+ },
15
18
  "devDependencies": {
16
19
  "@types/node": "^24.0.10",
17
20
  "fastmcp": "^3.8.2",
18
- "zod": "^3.25.74"
21
+ "typescript": "^5.8.3"
19
22
  },
20
23
  "exports": {
21
24
  "require": "./dist/index.js",