carrick 0.3.125 → 0.3.126
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/package.json +6 -6
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/sidecar/dist/src/capture/api.d.ts +5 -1
- package/sidecar/dist/src/capture/deno-project.d.ts +7 -0
- package/sidecar/dist/src/capture/deno-project.js +7 -0
- package/sidecar/dist/src/declaration-attribution.d.ts +11 -0
- package/sidecar/dist/src/declaration-attribution.js +16 -0
- package/sidecar/dist/src/implementations.d.ts +43 -0
- package/sidecar/dist/src/implementations.js +224 -0
- package/sidecar/dist/src/index.js +35 -1
- package/sidecar/dist/src/library-claims.d.ts +17 -2
- package/sidecar/dist/src/library-claims.js +242 -47
- package/sidecar/dist/src/position-rows.d.ts +119 -1
- package/sidecar/dist/src/position-rows.js +163 -9
- package/sidecar/dist/src/project-loader.d.ts +15 -0
- package/sidecar/dist/src/project-loader.js +16 -0
- package/sidecar/dist/src/type-inferrer.d.ts +94 -1
- package/sidecar/dist/src/type-inferrer.js +364 -47
- package/sidecar/dist/src/types.d.ts +46 -2
- package/sidecar/dist/src/validators.d.ts +73 -0
- package/sidecar/dist/src/validators.js +10 -0
|
@@ -277,6 +277,15 @@ export const PositionRowsRequestSchema = BaseRequestSchema.extend({
|
|
|
277
277
|
out_path: z.string().min(1, 'Out path cannot be empty'),
|
|
278
278
|
service: z.string(),
|
|
279
279
|
});
|
|
280
|
+
export const ImplementationsRequestSchema = BaseRequestSchema.extend({
|
|
281
|
+
action: z.literal('implementations'),
|
|
282
|
+
queries: z.array(z.object({
|
|
283
|
+
file: z.string().min(1, 'File path cannot be empty'),
|
|
284
|
+
start: z.number().int().nonnegative(),
|
|
285
|
+
end: z.number().int().nonnegative(),
|
|
286
|
+
})),
|
|
287
|
+
scan_root: z.string().min(1, 'Scan root cannot be empty'),
|
|
288
|
+
});
|
|
280
289
|
export const ResolveDefinitionsRequestSchema = BaseRequestSchema.extend({
|
|
281
290
|
action: z.literal('resolve_definitions'),
|
|
282
291
|
stub_dir: z.string().min(1, 'Stub dir cannot be empty'),
|
|
@@ -522,6 +531,7 @@ export const SidecarRequestSchema = z.discriminatedUnion('action', [
|
|
|
522
531
|
ListProgramFilesRequestSchema,
|
|
523
532
|
AddProgramFilesRequestSchema,
|
|
524
533
|
PositionRowsRequestSchema,
|
|
534
|
+
ImplementationsRequestSchema,
|
|
525
535
|
]);
|
|
526
536
|
/**
|
|
527
537
|
* Validates and parses incoming JSON into a typed SidecarRequest
|