carrick 0.3.148 → 0.3.150
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/hook/post-edit.js +4 -0
- package/dist/hook/post-edit.js.map +1 -1
- package/dist/hook/rechecks.d.ts +6 -0
- package/dist/hook/rechecks.js +19 -0
- package/dist/hook/rechecks.js.map +1 -1
- package/dist/hook/stop-wait.js +12 -2
- package/dist/hook/stop-wait.js.map +1 -1
- package/dist/hook/worktree.d.ts +6 -0
- package/dist/hook/worktree.js +36 -0
- package/dist/hook/worktree.js.map +1 -0
- package/package.json +6 -6
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/sidecar/dist/src/capture/index.d.ts +1 -1
- package/sidecar/dist/src/capture/index.js +1 -1
- package/sidecar/dist/src/capture/project-references.d.ts +6 -0
- package/sidecar/dist/src/capture/project-references.js +11 -1
- package/sidecar/dist/src/capture/service-config.d.ts +40 -10
- package/sidecar/dist/src/capture/service-config.js +83 -33
- package/sidecar/dist/src/library-claims.js +167 -15
- package/sidecar/dist/src/position-rows.d.ts +12 -2
- package/sidecar/dist/src/position-rows.js +46 -1
- package/sidecar/dist/src/project-loader.d.ts +12 -24
- package/sidecar/dist/src/project-loader.js +19 -46
- package/sidecar/dist/src/types.d.ts +19 -3
- package/sidecar/dist/src/validators.d.ts +180 -34
- package/sidecar/dist/src/validators.js +16 -2
|
@@ -443,12 +443,26 @@ const NamePartsSchema = z
|
|
|
443
443
|
const NameLiteralSchema = z.object({ literal: z.string().min(1) }).strict();
|
|
444
444
|
const BoundNameSchema = z
|
|
445
445
|
.object({
|
|
446
|
-
bound: z.enum(['maker', 'scope', 'key', 'path', 'export', 'subscribed']),
|
|
446
|
+
bound: z.enum(['maker', 'scope', 'key', 'path', 'export', 'subscribed', 'decorated']),
|
|
447
447
|
join: z.string().min(1).optional(),
|
|
448
448
|
param: z.number().int().nonnegative().optional(),
|
|
449
449
|
at: z.array(z.string().min(1)).optional(),
|
|
450
450
|
})
|
|
451
451
|
.strict();
|
|
452
|
+
/**
|
|
453
|
+
* Amendment 8: the first entry the call fills names the op, read in order. An
|
|
454
|
+
* entry is a plain slot or the decorated method's name. How many entries,
|
|
455
|
+
* their order and duplicates are the verifier's verdict, since one element
|
|
456
|
+
* this schema refuses fails the whole request.
|
|
457
|
+
*/
|
|
458
|
+
const NameFirstSchema = z
|
|
459
|
+
.object({
|
|
460
|
+
first: z.array(z.union([
|
|
461
|
+
z.object({ arg: z.number().int().nonnegative(), key: z.string().min(1).optional() }).strict(),
|
|
462
|
+
z.object({ bound: z.literal('decorated') }).strict(),
|
|
463
|
+
])),
|
|
464
|
+
})
|
|
465
|
+
.strict();
|
|
452
466
|
/** Procedure routers (#2474 R6a): where a router member takes its procedures, and how nested keys join. */
|
|
453
467
|
const CollectsSchema = z
|
|
454
468
|
.object({
|
|
@@ -557,7 +571,7 @@ const LibraryClaimSchema = z.discriminatedUnion('kind', [
|
|
|
557
571
|
.strict()
|
|
558
572
|
.optional(),
|
|
559
573
|
returns: z.object({ result: ResultShapeSchema.optional() }).strict().optional(),
|
|
560
|
-
name: z.union([BoundNameSchema, NamePartsSchema, NameLiteralSchema, NameSlotSchema]).optional(),
|
|
574
|
+
name: z.union([BoundNameSchema, NamePartsSchema, NameLiteralSchema, NameFirstSchema, NameSlotSchema]).optional(),
|
|
561
575
|
payload: ClaimSlotSchema.optional(),
|
|
562
576
|
handler: ClaimSlotSchema.optional(),
|
|
563
577
|
ack: ClaimSlotSchema.optional(),
|