@kb-labs/commit-contracts 2.118.1 → 2.119.0-canary.0b1ec4151
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.d.ts +39 -39
- package/dist/schema.d.ts +27 -27
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -208,7 +208,7 @@ declare const pluginContractsSchema: z.ZodObject<{
|
|
|
208
208
|
}>>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
210
|
id: string;
|
|
211
|
-
kind: "
|
|
211
|
+
kind: "binary" | "json" | "file" | "markdown" | "dir" | "log";
|
|
212
212
|
description?: string | undefined;
|
|
213
213
|
pathPattern?: string | undefined;
|
|
214
214
|
mediaType?: string | undefined;
|
|
@@ -219,7 +219,7 @@ declare const pluginContractsSchema: z.ZodObject<{
|
|
|
219
219
|
} | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
id: string;
|
|
222
|
-
kind: "
|
|
222
|
+
kind: "binary" | "json" | "file" | "markdown" | "dir" | "log";
|
|
223
223
|
description?: string | undefined;
|
|
224
224
|
pathPattern?: string | undefined;
|
|
225
225
|
mediaType?: string | undefined;
|
|
@@ -506,7 +506,7 @@ declare const pluginContractsSchema: z.ZodObject<{
|
|
|
506
506
|
contractsVersion: string;
|
|
507
507
|
artifacts: Record<string, {
|
|
508
508
|
id: string;
|
|
509
|
-
kind: "
|
|
509
|
+
kind: "binary" | "json" | "file" | "markdown" | "dir" | "log";
|
|
510
510
|
description?: string | undefined;
|
|
511
511
|
pathPattern?: string | undefined;
|
|
512
512
|
mediaType?: string | undefined;
|
|
@@ -575,7 +575,7 @@ declare const pluginContractsSchema: z.ZodObject<{
|
|
|
575
575
|
contractsVersion: string;
|
|
576
576
|
artifacts: Record<string, {
|
|
577
577
|
id: string;
|
|
578
|
-
kind: "
|
|
578
|
+
kind: "binary" | "json" | "file" | "markdown" | "dir" | "log";
|
|
579
579
|
description?: string | undefined;
|
|
580
580
|
pathPattern?: string | undefined;
|
|
581
581
|
mediaType?: string | undefined;
|
|
@@ -645,7 +645,7 @@ declare function parsePluginContracts(input: unknown): {
|
|
|
645
645
|
contractsVersion: string;
|
|
646
646
|
artifacts: Record<string, {
|
|
647
647
|
id: string;
|
|
648
|
-
kind: "
|
|
648
|
+
kind: "binary" | "json" | "file" | "markdown" | "dir" | "log";
|
|
649
649
|
description?: string | undefined;
|
|
650
650
|
pathPattern?: string | undefined;
|
|
651
651
|
mediaType?: string | undefined;
|
|
@@ -1112,16 +1112,16 @@ declare const SecretMatchSchema: z.ZodObject<{
|
|
|
1112
1112
|
matched: z.ZodString;
|
|
1113
1113
|
context: z.ZodString;
|
|
1114
1114
|
}, "strip", z.ZodTypeAny, {
|
|
1115
|
-
file: string;
|
|
1116
1115
|
type: string;
|
|
1116
|
+
file: string;
|
|
1117
1117
|
line: number;
|
|
1118
1118
|
column: number;
|
|
1119
1119
|
pattern: string;
|
|
1120
1120
|
matched: string;
|
|
1121
1121
|
context: string;
|
|
1122
1122
|
}, {
|
|
1123
|
-
file: string;
|
|
1124
1123
|
type: string;
|
|
1124
|
+
file: string;
|
|
1125
1125
|
line: number;
|
|
1126
1126
|
column: number;
|
|
1127
1127
|
pattern: string;
|
|
@@ -1184,7 +1184,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1184
1184
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1185
1185
|
id: string;
|
|
1186
1186
|
files: string[];
|
|
1187
|
-
releaseHint: "
|
|
1187
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1188
1188
|
breaking: boolean;
|
|
1189
1189
|
scope?: string | undefined;
|
|
1190
1190
|
body?: string | undefined;
|
|
@@ -1202,7 +1202,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1202
1202
|
files: string[];
|
|
1203
1203
|
scope?: string | undefined;
|
|
1204
1204
|
body?: string | undefined;
|
|
1205
|
-
releaseHint?: "
|
|
1205
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1206
1206
|
breaking?: boolean | undefined;
|
|
1207
1207
|
reasoning?: {
|
|
1208
1208
|
newBehavior?: boolean | undefined;
|
|
@@ -1245,7 +1245,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1245
1245
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1246
1246
|
id: string;
|
|
1247
1247
|
files: string[];
|
|
1248
|
-
releaseHint: "
|
|
1248
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1249
1249
|
breaking: boolean;
|
|
1250
1250
|
scope?: string | undefined;
|
|
1251
1251
|
body?: string | undefined;
|
|
@@ -1280,7 +1280,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1280
1280
|
files: string[];
|
|
1281
1281
|
scope?: string | undefined;
|
|
1282
1282
|
body?: string | undefined;
|
|
1283
|
-
releaseHint?: "
|
|
1283
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1284
1284
|
breaking?: boolean | undefined;
|
|
1285
1285
|
reasoning?: {
|
|
1286
1286
|
newBehavior?: boolean | undefined;
|
|
@@ -1310,16 +1310,16 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1310
1310
|
matched: z.ZodString;
|
|
1311
1311
|
context: z.ZodString;
|
|
1312
1312
|
}, "strip", z.ZodTypeAny, {
|
|
1313
|
-
file: string;
|
|
1314
1313
|
type: string;
|
|
1314
|
+
file: string;
|
|
1315
1315
|
line: number;
|
|
1316
1316
|
column: number;
|
|
1317
1317
|
pattern: string;
|
|
1318
1318
|
matched: string;
|
|
1319
1319
|
context: string;
|
|
1320
1320
|
}, {
|
|
1321
|
-
file: string;
|
|
1322
1321
|
type: string;
|
|
1322
|
+
file: string;
|
|
1323
1323
|
line: number;
|
|
1324
1324
|
column: number;
|
|
1325
1325
|
pattern: string;
|
|
@@ -1346,7 +1346,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1346
1346
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1347
1347
|
id: string;
|
|
1348
1348
|
files: string[];
|
|
1349
|
-
releaseHint: "
|
|
1349
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1350
1350
|
breaking: boolean;
|
|
1351
1351
|
scope?: string | undefined;
|
|
1352
1352
|
body?: string | undefined;
|
|
@@ -1368,8 +1368,8 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1368
1368
|
} | undefined;
|
|
1369
1369
|
planPath?: string | undefined;
|
|
1370
1370
|
secrets?: {
|
|
1371
|
-
file: string;
|
|
1372
1371
|
type: string;
|
|
1372
|
+
file: string;
|
|
1373
1373
|
line: number;
|
|
1374
1374
|
column: number;
|
|
1375
1375
|
pattern: string;
|
|
@@ -1378,8 +1378,8 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1378
1378
|
}[] | undefined;
|
|
1379
1379
|
}, {
|
|
1380
1380
|
success: boolean;
|
|
1381
|
-
scope?: string | undefined;
|
|
1382
1381
|
message?: string | undefined;
|
|
1382
|
+
scope?: string | undefined;
|
|
1383
1383
|
plan?: {
|
|
1384
1384
|
schemaVersion: "1.0";
|
|
1385
1385
|
createdAt: string;
|
|
@@ -1396,7 +1396,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1396
1396
|
files: string[];
|
|
1397
1397
|
scope?: string | undefined;
|
|
1398
1398
|
body?: string | undefined;
|
|
1399
|
-
releaseHint?: "
|
|
1399
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1400
1400
|
breaking?: boolean | undefined;
|
|
1401
1401
|
reasoning?: {
|
|
1402
1402
|
newBehavior?: boolean | undefined;
|
|
@@ -1417,8 +1417,8 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1417
1417
|
planPath?: string | undefined;
|
|
1418
1418
|
secretsDetected?: boolean | undefined;
|
|
1419
1419
|
secrets?: {
|
|
1420
|
-
file: string;
|
|
1421
1420
|
type: string;
|
|
1421
|
+
file: string;
|
|
1422
1422
|
line: number;
|
|
1423
1423
|
column: number;
|
|
1424
1424
|
pattern: string;
|
|
@@ -1482,7 +1482,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1482
1482
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1483
1483
|
id: string;
|
|
1484
1484
|
files: string[];
|
|
1485
|
-
releaseHint: "
|
|
1485
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1486
1486
|
breaking: boolean;
|
|
1487
1487
|
scope?: string | undefined;
|
|
1488
1488
|
body?: string | undefined;
|
|
@@ -1500,7 +1500,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1500
1500
|
files: string[];
|
|
1501
1501
|
scope?: string | undefined;
|
|
1502
1502
|
body?: string | undefined;
|
|
1503
|
-
releaseHint?: "
|
|
1503
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1504
1504
|
breaking?: boolean | undefined;
|
|
1505
1505
|
reasoning?: {
|
|
1506
1506
|
newBehavior?: boolean | undefined;
|
|
@@ -1543,7 +1543,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1543
1543
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1544
1544
|
id: string;
|
|
1545
1545
|
files: string[];
|
|
1546
|
-
releaseHint: "
|
|
1546
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1547
1547
|
breaking: boolean;
|
|
1548
1548
|
scope?: string | undefined;
|
|
1549
1549
|
body?: string | undefined;
|
|
@@ -1578,7 +1578,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1578
1578
|
files: string[];
|
|
1579
1579
|
scope?: string | undefined;
|
|
1580
1580
|
body?: string | undefined;
|
|
1581
|
-
releaseHint?: "
|
|
1581
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1582
1582
|
breaking?: boolean | undefined;
|
|
1583
1583
|
reasoning?: {
|
|
1584
1584
|
newBehavior?: boolean | undefined;
|
|
@@ -1614,7 +1614,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1614
1614
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1615
1615
|
id: string;
|
|
1616
1616
|
files: string[];
|
|
1617
|
-
releaseHint: "
|
|
1617
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1618
1618
|
breaking: boolean;
|
|
1619
1619
|
scope?: string | undefined;
|
|
1620
1620
|
body?: string | undefined;
|
|
@@ -1653,7 +1653,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1653
1653
|
files: string[];
|
|
1654
1654
|
scope?: string | undefined;
|
|
1655
1655
|
body?: string | undefined;
|
|
1656
|
-
releaseHint?: "
|
|
1656
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1657
1657
|
breaking?: boolean | undefined;
|
|
1658
1658
|
reasoning?: {
|
|
1659
1659
|
newBehavior?: boolean | undefined;
|
|
@@ -1692,9 +1692,9 @@ declare const PatchPlanRequestSchema: z.ZodObject<{
|
|
|
1692
1692
|
scope_?: string | undefined;
|
|
1693
1693
|
}, {
|
|
1694
1694
|
commitId: string;
|
|
1695
|
-
scope?: string | undefined;
|
|
1696
1695
|
message?: string | undefined;
|
|
1697
1696
|
type?: string | undefined;
|
|
1697
|
+
scope?: string | undefined;
|
|
1698
1698
|
body?: string | undefined;
|
|
1699
1699
|
scope_?: string | undefined;
|
|
1700
1700
|
}>;
|
|
@@ -1773,7 +1773,7 @@ declare const RegenerateCommitResponseSchema: z.ZodObject<{
|
|
|
1773
1773
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1774
1774
|
id: string;
|
|
1775
1775
|
files: string[];
|
|
1776
|
-
releaseHint: "
|
|
1776
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1777
1777
|
breaking: boolean;
|
|
1778
1778
|
scope?: string | undefined;
|
|
1779
1779
|
body?: string | undefined;
|
|
@@ -1791,7 +1791,7 @@ declare const RegenerateCommitResponseSchema: z.ZodObject<{
|
|
|
1791
1791
|
files: string[];
|
|
1792
1792
|
scope?: string | undefined;
|
|
1793
1793
|
body?: string | undefined;
|
|
1794
|
-
releaseHint?: "
|
|
1794
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1795
1795
|
breaking?: boolean | undefined;
|
|
1796
1796
|
reasoning?: {
|
|
1797
1797
|
newBehavior?: boolean | undefined;
|
|
@@ -1810,7 +1810,7 @@ declare const RegenerateCommitResponseSchema: z.ZodObject<{
|
|
|
1810
1810
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1811
1811
|
id: string;
|
|
1812
1812
|
files: string[];
|
|
1813
|
-
releaseHint: "
|
|
1813
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1814
1814
|
breaking: boolean;
|
|
1815
1815
|
scope?: string | undefined;
|
|
1816
1816
|
body?: string | undefined;
|
|
@@ -1833,7 +1833,7 @@ declare const RegenerateCommitResponseSchema: z.ZodObject<{
|
|
|
1833
1833
|
files: string[];
|
|
1834
1834
|
scope?: string | undefined;
|
|
1835
1835
|
body?: string | undefined;
|
|
1836
|
-
releaseHint?: "
|
|
1836
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1837
1837
|
breaking?: boolean | undefined;
|
|
1838
1838
|
reasoning?: {
|
|
1839
1839
|
newBehavior?: boolean | undefined;
|
|
@@ -1994,8 +1994,8 @@ declare const ResetResponseSchema: z.ZodObject<{
|
|
|
1994
1994
|
message: z.ZodString;
|
|
1995
1995
|
scope: z.ZodDefault<z.ZodString>;
|
|
1996
1996
|
}, "strip", z.ZodTypeAny, {
|
|
1997
|
-
scope: string;
|
|
1998
1997
|
message: string;
|
|
1998
|
+
scope: string;
|
|
1999
1999
|
success: boolean;
|
|
2000
2000
|
}, {
|
|
2001
2001
|
message: string;
|
|
@@ -2029,11 +2029,11 @@ declare const GitStatusResponseSchema: z.ZodObject<{
|
|
|
2029
2029
|
binary: z.ZodDefault<z.ZodBoolean>;
|
|
2030
2030
|
isNewFile: z.ZodDefault<z.ZodBoolean>;
|
|
2031
2031
|
}, "strip", z.ZodTypeAny, {
|
|
2032
|
-
binary: boolean;
|
|
2033
2032
|
path: string;
|
|
2034
2033
|
status: "added" | "modified" | "deleted" | "renamed" | "copied";
|
|
2035
2034
|
additions: number;
|
|
2036
2035
|
deletions: number;
|
|
2036
|
+
binary: boolean;
|
|
2037
2037
|
isNewFile: boolean;
|
|
2038
2038
|
}, {
|
|
2039
2039
|
path: string;
|
|
@@ -2045,19 +2045,19 @@ declare const GitStatusResponseSchema: z.ZodObject<{
|
|
|
2045
2045
|
}>, "many">;
|
|
2046
2046
|
totalFiles: z.ZodNumber;
|
|
2047
2047
|
}, "strip", z.ZodTypeAny, {
|
|
2048
|
-
scope: string;
|
|
2049
2048
|
status: {
|
|
2050
2049
|
staged: string[];
|
|
2051
2050
|
unstaged: string[];
|
|
2052
2051
|
untracked: string[];
|
|
2053
2052
|
};
|
|
2053
|
+
scope: string;
|
|
2054
2054
|
totalFiles: number;
|
|
2055
2055
|
summaries: {
|
|
2056
|
-
binary: boolean;
|
|
2057
2056
|
path: string;
|
|
2058
2057
|
status: "added" | "modified" | "deleted" | "renamed" | "copied";
|
|
2059
2058
|
additions: number;
|
|
2060
2059
|
deletions: number;
|
|
2060
|
+
binary: boolean;
|
|
2061
2061
|
isNewFile: boolean;
|
|
2062
2062
|
}[];
|
|
2063
2063
|
}, {
|
|
@@ -2088,17 +2088,17 @@ declare const FileDiffResponseSchema: z.ZodObject<{
|
|
|
2088
2088
|
additions: z.ZodDefault<z.ZodNumber>;
|
|
2089
2089
|
deletions: z.ZodDefault<z.ZodNumber>;
|
|
2090
2090
|
}, "strip", z.ZodTypeAny, {
|
|
2091
|
-
file: string;
|
|
2092
|
-
scope: string;
|
|
2093
2091
|
additions: number;
|
|
2094
2092
|
deletions: number;
|
|
2093
|
+
scope: string;
|
|
2094
|
+
file: string;
|
|
2095
2095
|
diff: string;
|
|
2096
2096
|
}, {
|
|
2097
2097
|
file: string;
|
|
2098
2098
|
diff: string;
|
|
2099
|
-
scope?: string | undefined;
|
|
2100
2099
|
additions?: number | undefined;
|
|
2101
2100
|
deletions?: number | undefined;
|
|
2101
|
+
scope?: string | undefined;
|
|
2102
2102
|
}>;
|
|
2103
2103
|
type FileDiffResponse = z.infer<typeof FileDiffResponseSchema>;
|
|
2104
2104
|
/**
|
|
@@ -2112,8 +2112,8 @@ declare const SummarizeRequestSchema: z.ZodObject<{
|
|
|
2112
2112
|
scope: string;
|
|
2113
2113
|
file?: string | undefined;
|
|
2114
2114
|
}, {
|
|
2115
|
-
file?: string | undefined;
|
|
2116
2115
|
scope?: string | undefined;
|
|
2116
|
+
file?: string | undefined;
|
|
2117
2117
|
}>;
|
|
2118
2118
|
type SummarizeRequest = z.infer<typeof SummarizeRequestSchema>;
|
|
2119
2119
|
/**
|
|
@@ -2128,13 +2128,13 @@ declare const SummarizeResponseSchema: z.ZodObject<{
|
|
|
2128
2128
|
}, "strip", z.ZodTypeAny, {
|
|
2129
2129
|
scope: string;
|
|
2130
2130
|
summary: string;
|
|
2131
|
-
file?: string | undefined;
|
|
2132
2131
|
tokensUsed?: number | undefined;
|
|
2132
|
+
file?: string | undefined;
|
|
2133
2133
|
}, {
|
|
2134
2134
|
summary: string;
|
|
2135
|
-
file?: string | undefined;
|
|
2136
2135
|
scope?: string | undefined;
|
|
2137
2136
|
tokensUsed?: number | undefined;
|
|
2137
|
+
file?: string | undefined;
|
|
2138
2138
|
}>;
|
|
2139
2139
|
type SummarizeResponse = z.infer<typeof SummarizeResponseSchema>;
|
|
2140
2140
|
|
package/dist/schema.d.ts
CHANGED
|
@@ -39,11 +39,11 @@ declare const FileSummarySchema: z.ZodObject<{
|
|
|
39
39
|
/** Whether file is truly new (never existed in repo history) */
|
|
40
40
|
isNewFile: z.ZodDefault<z.ZodBoolean>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
binary: boolean;
|
|
43
42
|
path: string;
|
|
44
43
|
status: "added" | "modified" | "deleted" | "renamed" | "copied";
|
|
45
44
|
additions: number;
|
|
46
45
|
deletions: number;
|
|
46
|
+
binary: boolean;
|
|
47
47
|
isNewFile: boolean;
|
|
48
48
|
}, {
|
|
49
49
|
path: string;
|
|
@@ -124,7 +124,7 @@ declare const CommitGroupSchema: z.ZodObject<{
|
|
|
124
124
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
125
125
|
id: string;
|
|
126
126
|
files: string[];
|
|
127
|
-
releaseHint: "
|
|
127
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
128
128
|
breaking: boolean;
|
|
129
129
|
scope?: string | undefined;
|
|
130
130
|
body?: string | undefined;
|
|
@@ -142,7 +142,7 @@ declare const CommitGroupSchema: z.ZodObject<{
|
|
|
142
142
|
files: string[];
|
|
143
143
|
scope?: string | undefined;
|
|
144
144
|
body?: string | undefined;
|
|
145
|
-
releaseHint?: "
|
|
145
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
146
146
|
breaking?: boolean | undefined;
|
|
147
147
|
reasoning?: {
|
|
148
148
|
newBehavior?: boolean | undefined;
|
|
@@ -212,7 +212,7 @@ declare const CommitPlanSchema: z.ZodObject<{
|
|
|
212
212
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
213
213
|
id: string;
|
|
214
214
|
files: string[];
|
|
215
|
-
releaseHint: "
|
|
215
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
216
216
|
breaking: boolean;
|
|
217
217
|
scope?: string | undefined;
|
|
218
218
|
body?: string | undefined;
|
|
@@ -230,7 +230,7 @@ declare const CommitPlanSchema: z.ZodObject<{
|
|
|
230
230
|
files: string[];
|
|
231
231
|
scope?: string | undefined;
|
|
232
232
|
body?: string | undefined;
|
|
233
|
-
releaseHint?: "
|
|
233
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
234
234
|
breaking?: boolean | undefined;
|
|
235
235
|
reasoning?: {
|
|
236
236
|
newBehavior?: boolean | undefined;
|
|
@@ -274,7 +274,7 @@ declare const CommitPlanSchema: z.ZodObject<{
|
|
|
274
274
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
275
275
|
id: string;
|
|
276
276
|
files: string[];
|
|
277
|
-
releaseHint: "
|
|
277
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
278
278
|
breaking: boolean;
|
|
279
279
|
scope?: string | undefined;
|
|
280
280
|
body?: string | undefined;
|
|
@@ -309,7 +309,7 @@ declare const CommitPlanSchema: z.ZodObject<{
|
|
|
309
309
|
files: string[];
|
|
310
310
|
scope?: string | undefined;
|
|
311
311
|
body?: string | undefined;
|
|
312
|
-
releaseHint?: "
|
|
312
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
313
313
|
breaking?: boolean | undefined;
|
|
314
314
|
reasoning?: {
|
|
315
315
|
newBehavior?: boolean | undefined;
|
|
@@ -356,11 +356,11 @@ declare const GitStatusSnapshotSchema: z.ZodObject<{
|
|
|
356
356
|
/** Whether file is truly new (never existed in repo history) */
|
|
357
357
|
isNewFile: z.ZodDefault<z.ZodBoolean>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
binary: boolean;
|
|
360
359
|
path: string;
|
|
361
360
|
status: "added" | "modified" | "deleted" | "renamed" | "copied";
|
|
362
361
|
additions: number;
|
|
363
362
|
deletions: number;
|
|
363
|
+
binary: boolean;
|
|
364
364
|
isNewFile: boolean;
|
|
365
365
|
}, {
|
|
366
366
|
path: string;
|
|
@@ -379,11 +379,11 @@ declare const GitStatusSnapshotSchema: z.ZodObject<{
|
|
|
379
379
|
schemaVersion: "1.0";
|
|
380
380
|
createdAt: string;
|
|
381
381
|
summaries: {
|
|
382
|
-
binary: boolean;
|
|
383
382
|
path: string;
|
|
384
383
|
status: "added" | "modified" | "deleted" | "renamed" | "copied";
|
|
385
384
|
additions: number;
|
|
386
385
|
deletions: number;
|
|
386
|
+
binary: boolean;
|
|
387
387
|
isNewFile: boolean;
|
|
388
388
|
}[];
|
|
389
389
|
}, {
|
|
@@ -475,7 +475,7 @@ declare const CommitRunOutputSchema: z.ZodObject<{
|
|
|
475
475
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
476
476
|
id: string;
|
|
477
477
|
files: string[];
|
|
478
|
-
releaseHint: "
|
|
478
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
479
479
|
breaking: boolean;
|
|
480
480
|
scope?: string | undefined;
|
|
481
481
|
body?: string | undefined;
|
|
@@ -493,7 +493,7 @@ declare const CommitRunOutputSchema: z.ZodObject<{
|
|
|
493
493
|
files: string[];
|
|
494
494
|
scope?: string | undefined;
|
|
495
495
|
body?: string | undefined;
|
|
496
|
-
releaseHint?: "
|
|
496
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
497
497
|
breaking?: boolean | undefined;
|
|
498
498
|
reasoning?: {
|
|
499
499
|
newBehavior?: boolean | undefined;
|
|
@@ -537,7 +537,7 @@ declare const CommitRunOutputSchema: z.ZodObject<{
|
|
|
537
537
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
538
538
|
id: string;
|
|
539
539
|
files: string[];
|
|
540
|
-
releaseHint: "
|
|
540
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
541
541
|
breaking: boolean;
|
|
542
542
|
scope?: string | undefined;
|
|
543
543
|
body?: string | undefined;
|
|
@@ -572,7 +572,7 @@ declare const CommitRunOutputSchema: z.ZodObject<{
|
|
|
572
572
|
files: string[];
|
|
573
573
|
scope?: string | undefined;
|
|
574
574
|
body?: string | undefined;
|
|
575
|
-
releaseHint?: "
|
|
575
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
576
576
|
breaking?: boolean | undefined;
|
|
577
577
|
reasoning?: {
|
|
578
578
|
newBehavior?: boolean | undefined;
|
|
@@ -625,7 +625,7 @@ declare const CommitRunOutputSchema: z.ZodObject<{
|
|
|
625
625
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
626
626
|
id: string;
|
|
627
627
|
files: string[];
|
|
628
|
-
releaseHint: "
|
|
628
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
629
629
|
breaking: boolean;
|
|
630
630
|
scope?: string | undefined;
|
|
631
631
|
body?: string | undefined;
|
|
@@ -669,7 +669,7 @@ declare const CommitRunOutputSchema: z.ZodObject<{
|
|
|
669
669
|
files: string[];
|
|
670
670
|
scope?: string | undefined;
|
|
671
671
|
body?: string | undefined;
|
|
672
|
-
releaseHint?: "
|
|
672
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
673
673
|
breaking?: boolean | undefined;
|
|
674
674
|
reasoning?: {
|
|
675
675
|
newBehavior?: boolean | undefined;
|
|
@@ -756,7 +756,7 @@ declare const GenerateOutputSchema: z.ZodObject<{
|
|
|
756
756
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
757
757
|
id: string;
|
|
758
758
|
files: string[];
|
|
759
|
-
releaseHint: "
|
|
759
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
760
760
|
breaking: boolean;
|
|
761
761
|
scope?: string | undefined;
|
|
762
762
|
body?: string | undefined;
|
|
@@ -774,7 +774,7 @@ declare const GenerateOutputSchema: z.ZodObject<{
|
|
|
774
774
|
files: string[];
|
|
775
775
|
scope?: string | undefined;
|
|
776
776
|
body?: string | undefined;
|
|
777
|
-
releaseHint?: "
|
|
777
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
778
778
|
breaking?: boolean | undefined;
|
|
779
779
|
reasoning?: {
|
|
780
780
|
newBehavior?: boolean | undefined;
|
|
@@ -818,7 +818,7 @@ declare const GenerateOutputSchema: z.ZodObject<{
|
|
|
818
818
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
819
819
|
id: string;
|
|
820
820
|
files: string[];
|
|
821
|
-
releaseHint: "
|
|
821
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
822
822
|
breaking: boolean;
|
|
823
823
|
scope?: string | undefined;
|
|
824
824
|
body?: string | undefined;
|
|
@@ -853,7 +853,7 @@ declare const GenerateOutputSchema: z.ZodObject<{
|
|
|
853
853
|
files: string[];
|
|
854
854
|
scope?: string | undefined;
|
|
855
855
|
body?: string | undefined;
|
|
856
|
-
releaseHint?: "
|
|
856
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
857
857
|
breaking?: boolean | undefined;
|
|
858
858
|
reasoning?: {
|
|
859
859
|
newBehavior?: boolean | undefined;
|
|
@@ -887,7 +887,7 @@ declare const GenerateOutputSchema: z.ZodObject<{
|
|
|
887
887
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
888
888
|
id: string;
|
|
889
889
|
files: string[];
|
|
890
|
-
releaseHint: "
|
|
890
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
891
891
|
breaking: boolean;
|
|
892
892
|
scope?: string | undefined;
|
|
893
893
|
body?: string | undefined;
|
|
@@ -925,7 +925,7 @@ declare const GenerateOutputSchema: z.ZodObject<{
|
|
|
925
925
|
files: string[];
|
|
926
926
|
scope?: string | undefined;
|
|
927
927
|
body?: string | undefined;
|
|
928
|
-
releaseHint?: "
|
|
928
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
929
929
|
breaking?: boolean | undefined;
|
|
930
930
|
reasoning?: {
|
|
931
931
|
newBehavior?: boolean | undefined;
|
|
@@ -1079,7 +1079,7 @@ declare const OpenOutputSchema: z.ZodObject<{
|
|
|
1079
1079
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1080
1080
|
id: string;
|
|
1081
1081
|
files: string[];
|
|
1082
|
-
releaseHint: "
|
|
1082
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1083
1083
|
breaking: boolean;
|
|
1084
1084
|
scope?: string | undefined;
|
|
1085
1085
|
body?: string | undefined;
|
|
@@ -1097,7 +1097,7 @@ declare const OpenOutputSchema: z.ZodObject<{
|
|
|
1097
1097
|
files: string[];
|
|
1098
1098
|
scope?: string | undefined;
|
|
1099
1099
|
body?: string | undefined;
|
|
1100
|
-
releaseHint?: "
|
|
1100
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1101
1101
|
breaking?: boolean | undefined;
|
|
1102
1102
|
reasoning?: {
|
|
1103
1103
|
newBehavior?: boolean | undefined;
|
|
@@ -1141,7 +1141,7 @@ declare const OpenOutputSchema: z.ZodObject<{
|
|
|
1141
1141
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1142
1142
|
id: string;
|
|
1143
1143
|
files: string[];
|
|
1144
|
-
releaseHint: "
|
|
1144
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1145
1145
|
breaking: boolean;
|
|
1146
1146
|
scope?: string | undefined;
|
|
1147
1147
|
body?: string | undefined;
|
|
@@ -1176,7 +1176,7 @@ declare const OpenOutputSchema: z.ZodObject<{
|
|
|
1176
1176
|
files: string[];
|
|
1177
1177
|
scope?: string | undefined;
|
|
1178
1178
|
body?: string | undefined;
|
|
1179
|
-
releaseHint?: "
|
|
1179
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1180
1180
|
breaking?: boolean | undefined;
|
|
1181
1181
|
reasoning?: {
|
|
1182
1182
|
newBehavior?: boolean | undefined;
|
|
@@ -1213,7 +1213,7 @@ declare const OpenOutputSchema: z.ZodObject<{
|
|
|
1213
1213
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1214
1214
|
id: string;
|
|
1215
1215
|
files: string[];
|
|
1216
|
-
releaseHint: "
|
|
1216
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1217
1217
|
breaking: boolean;
|
|
1218
1218
|
scope?: string | undefined;
|
|
1219
1219
|
body?: string | undefined;
|
|
@@ -1254,7 +1254,7 @@ declare const OpenOutputSchema: z.ZodObject<{
|
|
|
1254
1254
|
files: string[];
|
|
1255
1255
|
scope?: string | undefined;
|
|
1256
1256
|
body?: string | undefined;
|
|
1257
|
-
releaseHint?: "
|
|
1257
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1258
1258
|
breaking?: boolean | undefined;
|
|
1259
1259
|
reasoning?: {
|
|
1260
1260
|
newBehavior?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kb-labs/commit-contracts",
|
|
3
3
|
"description": "Public contracts package for KB Labs Commit plugin. Provides typed guarantees about artifacts, commands, and APIs.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.119.0-canary.0b1ec4151",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"zod": "^3.25.76",
|
|
30
|
-
"@kb-labs/sdk": "2.115.
|
|
30
|
+
"@kb-labs/sdk": "2.115.4"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^24.3.3",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"tsup": "^8.5.0",
|
|
37
37
|
"typescript": "^5.6.3",
|
|
38
38
|
"vitest": "^3.2.6",
|
|
39
|
-
"@kb-labs/devkit": "2.
|
|
39
|
+
"@kb-labs/devkit": "2.119.0-canary.0b1ec4151"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=22.0.0",
|