modality-kit 0.1.18 → 0.2.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.
package/dist/index.js
CHANGED
|
@@ -252,9 +252,9 @@ function withErrorHandling(fn, operation) {
|
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
|
-
// src/
|
|
256
|
-
var
|
|
257
|
-
__export(
|
|
255
|
+
// src/schemas/schemas_symbol.ts
|
|
256
|
+
var exports_schemas_symbol = {};
|
|
257
|
+
__export(exports_schemas_symbol, {
|
|
258
258
|
symbolKinds: () => symbolKinds,
|
|
259
259
|
symbolKindSchema: () => symbolKindSchema,
|
|
260
260
|
rangeSchema: () => rangeSchema
|
|
@@ -4233,7 +4233,7 @@ var coerce = {
|
|
|
4233
4233
|
date: (arg) => ZodDate.create({ ...arg, coerce: true })
|
|
4234
4234
|
};
|
|
4235
4235
|
var NEVER = INVALID;
|
|
4236
|
-
// src/
|
|
4236
|
+
// src/schemas/schemas_symbol.ts
|
|
4237
4237
|
var positionSchema = exports_external.object({
|
|
4238
4238
|
line: exports_external.number().min(1),
|
|
4239
4239
|
col: exports_external.number().min(1)
|
|
@@ -4274,7 +4274,7 @@ var rangeSchema = exports_external.object({
|
|
|
4274
4274
|
var fileEntrySchema = exports_external.object({
|
|
4275
4275
|
path: exports_external.string().describe("Relative path from workspace root"),
|
|
4276
4276
|
type: exports_external.enum(["file", "directory"]).describe("Entry type"),
|
|
4277
|
-
lastModified: exports_external.number().describe("Last modified timestamp in milliseconds since epoch")
|
|
4277
|
+
lastModified: exports_external.number().optional().nullable().describe("Last modified timestamp in milliseconds since epoch")
|
|
4278
4278
|
});
|
|
4279
4279
|
export {
|
|
4280
4280
|
withErrorHandling,
|
|
@@ -4282,6 +4282,6 @@ export {
|
|
|
4282
4282
|
getLoggerInstance,
|
|
4283
4283
|
formatSuccessResponse,
|
|
4284
4284
|
formatErrorResponse,
|
|
4285
|
-
|
|
4285
|
+
exports_schemas_symbol as SymbolType,
|
|
4286
4286
|
ErrorCode
|
|
4287
4287
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export type { AITools, AITool } from "./schemas/schemas_tool_config";
|
|
|
3
3
|
export { formatErrorResponse, formatSuccessResponse } from "./util_response";
|
|
4
4
|
export { getLoggerInstance, type ModalityLogger } from "./util_logger";
|
|
5
5
|
export { withErrorHandling, ErrorCode } from "./util_error";
|
|
6
|
-
export * as SymbolType from "./
|
|
6
|
+
export * as SymbolType from "./schemas/schemas_symbol";
|
|
@@ -85,15 +85,15 @@ export interface VSCodeSymbol extends SymbolBase {
|
|
|
85
85
|
declare const fileEntrySchema: z.ZodObject<{
|
|
86
86
|
path: z.ZodString;
|
|
87
87
|
type: z.ZodEnum<["file", "directory"]>;
|
|
88
|
-
lastModified: z.ZodNumber
|
|
88
|
+
lastModified: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
type: "file" | "directory";
|
|
91
91
|
path: string;
|
|
92
|
-
lastModified
|
|
92
|
+
lastModified?: number | null | undefined;
|
|
93
93
|
}, {
|
|
94
94
|
type: "file" | "directory";
|
|
95
95
|
path: string;
|
|
96
|
-
lastModified
|
|
96
|
+
lastModified?: number | null | undefined;
|
|
97
97
|
}>;
|
|
98
98
|
export type FileEntryType = z.infer<typeof fileEntrySchema>;
|
|
99
99
|
export {};
|
package/package.json
CHANGED