@kb-labs/commit-contracts 2.94.0 → 2.98.0
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 +4 -4
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;
|
|
@@ -1100,16 +1100,16 @@ declare const SecretMatchSchema: z.ZodObject<{
|
|
|
1100
1100
|
matched: z.ZodString;
|
|
1101
1101
|
context: z.ZodString;
|
|
1102
1102
|
}, "strip", z.ZodTypeAny, {
|
|
1103
|
-
file: string;
|
|
1104
1103
|
type: string;
|
|
1104
|
+
file: string;
|
|
1105
1105
|
line: number;
|
|
1106
1106
|
column: number;
|
|
1107
1107
|
pattern: string;
|
|
1108
1108
|
matched: string;
|
|
1109
1109
|
context: string;
|
|
1110
1110
|
}, {
|
|
1111
|
-
file: string;
|
|
1112
1111
|
type: string;
|
|
1112
|
+
file: string;
|
|
1113
1113
|
line: number;
|
|
1114
1114
|
column: number;
|
|
1115
1115
|
pattern: string;
|
|
@@ -1172,7 +1172,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1172
1172
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1173
1173
|
id: string;
|
|
1174
1174
|
files: string[];
|
|
1175
|
-
releaseHint: "
|
|
1175
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1176
1176
|
breaking: boolean;
|
|
1177
1177
|
scope?: string | undefined;
|
|
1178
1178
|
body?: string | undefined;
|
|
@@ -1190,7 +1190,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1190
1190
|
files: string[];
|
|
1191
1191
|
scope?: string | undefined;
|
|
1192
1192
|
body?: string | undefined;
|
|
1193
|
-
releaseHint?: "
|
|
1193
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1194
1194
|
breaking?: boolean | undefined;
|
|
1195
1195
|
reasoning?: {
|
|
1196
1196
|
newBehavior?: boolean | undefined;
|
|
@@ -1233,7 +1233,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1233
1233
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1234
1234
|
id: string;
|
|
1235
1235
|
files: string[];
|
|
1236
|
-
releaseHint: "
|
|
1236
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1237
1237
|
breaking: boolean;
|
|
1238
1238
|
scope?: string | undefined;
|
|
1239
1239
|
body?: string | undefined;
|
|
@@ -1268,7 +1268,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1268
1268
|
files: string[];
|
|
1269
1269
|
scope?: string | undefined;
|
|
1270
1270
|
body?: string | undefined;
|
|
1271
|
-
releaseHint?: "
|
|
1271
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1272
1272
|
breaking?: boolean | undefined;
|
|
1273
1273
|
reasoning?: {
|
|
1274
1274
|
newBehavior?: boolean | undefined;
|
|
@@ -1298,16 +1298,16 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1298
1298
|
matched: z.ZodString;
|
|
1299
1299
|
context: z.ZodString;
|
|
1300
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
file: string;
|
|
1302
1301
|
type: string;
|
|
1302
|
+
file: string;
|
|
1303
1303
|
line: number;
|
|
1304
1304
|
column: number;
|
|
1305
1305
|
pattern: string;
|
|
1306
1306
|
matched: string;
|
|
1307
1307
|
context: string;
|
|
1308
1308
|
}, {
|
|
1309
|
-
file: string;
|
|
1310
1309
|
type: string;
|
|
1310
|
+
file: string;
|
|
1311
1311
|
line: number;
|
|
1312
1312
|
column: number;
|
|
1313
1313
|
pattern: string;
|
|
@@ -1334,7 +1334,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1334
1334
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1335
1335
|
id: string;
|
|
1336
1336
|
files: string[];
|
|
1337
|
-
releaseHint: "
|
|
1337
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1338
1338
|
breaking: boolean;
|
|
1339
1339
|
scope?: string | undefined;
|
|
1340
1340
|
body?: string | undefined;
|
|
@@ -1356,8 +1356,8 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1356
1356
|
} | undefined;
|
|
1357
1357
|
planPath?: string | undefined;
|
|
1358
1358
|
secrets?: {
|
|
1359
|
-
file: string;
|
|
1360
1359
|
type: string;
|
|
1360
|
+
file: string;
|
|
1361
1361
|
line: number;
|
|
1362
1362
|
column: number;
|
|
1363
1363
|
pattern: string;
|
|
@@ -1366,8 +1366,8 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1366
1366
|
}[] | undefined;
|
|
1367
1367
|
}, {
|
|
1368
1368
|
success: boolean;
|
|
1369
|
-
scope?: string | undefined;
|
|
1370
1369
|
message?: string | undefined;
|
|
1370
|
+
scope?: string | undefined;
|
|
1371
1371
|
plan?: {
|
|
1372
1372
|
schemaVersion: "1.0";
|
|
1373
1373
|
createdAt: string;
|
|
@@ -1384,7 +1384,7 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1384
1384
|
files: string[];
|
|
1385
1385
|
scope?: string | undefined;
|
|
1386
1386
|
body?: string | undefined;
|
|
1387
|
-
releaseHint?: "
|
|
1387
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1388
1388
|
breaking?: boolean | undefined;
|
|
1389
1389
|
reasoning?: {
|
|
1390
1390
|
newBehavior?: boolean | undefined;
|
|
@@ -1405,8 +1405,8 @@ declare const GenerateResponseSchema: z.ZodObject<{
|
|
|
1405
1405
|
planPath?: string | undefined;
|
|
1406
1406
|
secretsDetected?: boolean | undefined;
|
|
1407
1407
|
secrets?: {
|
|
1408
|
-
file: string;
|
|
1409
1408
|
type: string;
|
|
1409
|
+
file: string;
|
|
1410
1410
|
line: number;
|
|
1411
1411
|
column: number;
|
|
1412
1412
|
pattern: string;
|
|
@@ -1470,7 +1470,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1470
1470
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1471
1471
|
id: string;
|
|
1472
1472
|
files: string[];
|
|
1473
|
-
releaseHint: "
|
|
1473
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1474
1474
|
breaking: boolean;
|
|
1475
1475
|
scope?: string | undefined;
|
|
1476
1476
|
body?: string | undefined;
|
|
@@ -1488,7 +1488,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1488
1488
|
files: string[];
|
|
1489
1489
|
scope?: string | undefined;
|
|
1490
1490
|
body?: string | undefined;
|
|
1491
|
-
releaseHint?: "
|
|
1491
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1492
1492
|
breaking?: boolean | undefined;
|
|
1493
1493
|
reasoning?: {
|
|
1494
1494
|
newBehavior?: boolean | undefined;
|
|
@@ -1531,7 +1531,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1531
1531
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1532
1532
|
id: string;
|
|
1533
1533
|
files: string[];
|
|
1534
|
-
releaseHint: "
|
|
1534
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1535
1535
|
breaking: boolean;
|
|
1536
1536
|
scope?: string | undefined;
|
|
1537
1537
|
body?: string | undefined;
|
|
@@ -1566,7 +1566,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1566
1566
|
files: string[];
|
|
1567
1567
|
scope?: string | undefined;
|
|
1568
1568
|
body?: string | undefined;
|
|
1569
|
-
releaseHint?: "
|
|
1569
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1570
1570
|
breaking?: boolean | undefined;
|
|
1571
1571
|
reasoning?: {
|
|
1572
1572
|
newBehavior?: boolean | undefined;
|
|
@@ -1602,7 +1602,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1602
1602
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1603
1603
|
id: string;
|
|
1604
1604
|
files: string[];
|
|
1605
|
-
releaseHint: "
|
|
1605
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1606
1606
|
breaking: boolean;
|
|
1607
1607
|
scope?: string | undefined;
|
|
1608
1608
|
body?: string | undefined;
|
|
@@ -1641,7 +1641,7 @@ declare const PlanResponseSchema: z.ZodObject<{
|
|
|
1641
1641
|
files: string[];
|
|
1642
1642
|
scope?: string | undefined;
|
|
1643
1643
|
body?: string | undefined;
|
|
1644
|
-
releaseHint?: "
|
|
1644
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1645
1645
|
breaking?: boolean | undefined;
|
|
1646
1646
|
reasoning?: {
|
|
1647
1647
|
newBehavior?: boolean | undefined;
|
|
@@ -1680,9 +1680,9 @@ declare const PatchPlanRequestSchema: z.ZodObject<{
|
|
|
1680
1680
|
scope_?: string | undefined;
|
|
1681
1681
|
}, {
|
|
1682
1682
|
commitId: string;
|
|
1683
|
-
scope?: string | undefined;
|
|
1684
1683
|
message?: string | undefined;
|
|
1685
1684
|
type?: string | undefined;
|
|
1685
|
+
scope?: string | undefined;
|
|
1686
1686
|
body?: string | undefined;
|
|
1687
1687
|
scope_?: string | undefined;
|
|
1688
1688
|
}>;
|
|
@@ -1761,7 +1761,7 @@ declare const RegenerateCommitResponseSchema: z.ZodObject<{
|
|
|
1761
1761
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1762
1762
|
id: string;
|
|
1763
1763
|
files: string[];
|
|
1764
|
-
releaseHint: "
|
|
1764
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1765
1765
|
breaking: boolean;
|
|
1766
1766
|
scope?: string | undefined;
|
|
1767
1767
|
body?: string | undefined;
|
|
@@ -1779,7 +1779,7 @@ declare const RegenerateCommitResponseSchema: z.ZodObject<{
|
|
|
1779
1779
|
files: string[];
|
|
1780
1780
|
scope?: string | undefined;
|
|
1781
1781
|
body?: string | undefined;
|
|
1782
|
-
releaseHint?: "
|
|
1782
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1783
1783
|
breaking?: boolean | undefined;
|
|
1784
1784
|
reasoning?: {
|
|
1785
1785
|
newBehavior?: boolean | undefined;
|
|
@@ -1798,7 +1798,7 @@ declare const RegenerateCommitResponseSchema: z.ZodObject<{
|
|
|
1798
1798
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1799
1799
|
id: string;
|
|
1800
1800
|
files: string[];
|
|
1801
|
-
releaseHint: "
|
|
1801
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1802
1802
|
breaking: boolean;
|
|
1803
1803
|
scope?: string | undefined;
|
|
1804
1804
|
body?: string | undefined;
|
|
@@ -1821,7 +1821,7 @@ declare const RegenerateCommitResponseSchema: z.ZodObject<{
|
|
|
1821
1821
|
files: string[];
|
|
1822
1822
|
scope?: string | undefined;
|
|
1823
1823
|
body?: string | undefined;
|
|
1824
|
-
releaseHint?: "
|
|
1824
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1825
1825
|
breaking?: boolean | undefined;
|
|
1826
1826
|
reasoning?: {
|
|
1827
1827
|
newBehavior?: boolean | undefined;
|
|
@@ -1982,8 +1982,8 @@ declare const ResetResponseSchema: z.ZodObject<{
|
|
|
1982
1982
|
message: z.ZodString;
|
|
1983
1983
|
scope: z.ZodDefault<z.ZodString>;
|
|
1984
1984
|
}, "strip", z.ZodTypeAny, {
|
|
1985
|
-
scope: string;
|
|
1986
1985
|
message: string;
|
|
1986
|
+
scope: string;
|
|
1987
1987
|
success: boolean;
|
|
1988
1988
|
}, {
|
|
1989
1989
|
message: string;
|
|
@@ -2017,11 +2017,11 @@ declare const GitStatusResponseSchema: z.ZodObject<{
|
|
|
2017
2017
|
binary: z.ZodDefault<z.ZodBoolean>;
|
|
2018
2018
|
isNewFile: z.ZodDefault<z.ZodBoolean>;
|
|
2019
2019
|
}, "strip", z.ZodTypeAny, {
|
|
2020
|
-
binary: boolean;
|
|
2021
2020
|
path: string;
|
|
2022
2021
|
status: "added" | "modified" | "deleted" | "renamed" | "copied";
|
|
2023
2022
|
additions: number;
|
|
2024
2023
|
deletions: number;
|
|
2024
|
+
binary: boolean;
|
|
2025
2025
|
isNewFile: boolean;
|
|
2026
2026
|
}, {
|
|
2027
2027
|
path: string;
|
|
@@ -2033,19 +2033,19 @@ declare const GitStatusResponseSchema: z.ZodObject<{
|
|
|
2033
2033
|
}>, "many">;
|
|
2034
2034
|
totalFiles: z.ZodNumber;
|
|
2035
2035
|
}, "strip", z.ZodTypeAny, {
|
|
2036
|
-
scope: string;
|
|
2037
2036
|
status: {
|
|
2038
2037
|
staged: string[];
|
|
2039
2038
|
unstaged: string[];
|
|
2040
2039
|
untracked: string[];
|
|
2041
2040
|
};
|
|
2041
|
+
scope: string;
|
|
2042
2042
|
totalFiles: number;
|
|
2043
2043
|
summaries: {
|
|
2044
|
-
binary: boolean;
|
|
2045
2044
|
path: string;
|
|
2046
2045
|
status: "added" | "modified" | "deleted" | "renamed" | "copied";
|
|
2047
2046
|
additions: number;
|
|
2048
2047
|
deletions: number;
|
|
2048
|
+
binary: boolean;
|
|
2049
2049
|
isNewFile: boolean;
|
|
2050
2050
|
}[];
|
|
2051
2051
|
}, {
|
|
@@ -2076,17 +2076,17 @@ declare const FileDiffResponseSchema: z.ZodObject<{
|
|
|
2076
2076
|
additions: z.ZodDefault<z.ZodNumber>;
|
|
2077
2077
|
deletions: z.ZodDefault<z.ZodNumber>;
|
|
2078
2078
|
}, "strip", z.ZodTypeAny, {
|
|
2079
|
-
file: string;
|
|
2080
|
-
scope: string;
|
|
2081
2079
|
additions: number;
|
|
2082
2080
|
deletions: number;
|
|
2081
|
+
scope: string;
|
|
2082
|
+
file: string;
|
|
2083
2083
|
diff: string;
|
|
2084
2084
|
}, {
|
|
2085
2085
|
file: string;
|
|
2086
2086
|
diff: string;
|
|
2087
|
-
scope?: string | undefined;
|
|
2088
2087
|
additions?: number | undefined;
|
|
2089
2088
|
deletions?: number | undefined;
|
|
2089
|
+
scope?: string | undefined;
|
|
2090
2090
|
}>;
|
|
2091
2091
|
type FileDiffResponse = z.infer<typeof FileDiffResponseSchema>;
|
|
2092
2092
|
/**
|
|
@@ -2100,8 +2100,8 @@ declare const SummarizeRequestSchema: z.ZodObject<{
|
|
|
2100
2100
|
scope: string;
|
|
2101
2101
|
file?: string | undefined;
|
|
2102
2102
|
}, {
|
|
2103
|
-
file?: string | undefined;
|
|
2104
2103
|
scope?: string | undefined;
|
|
2104
|
+
file?: string | undefined;
|
|
2105
2105
|
}>;
|
|
2106
2106
|
type SummarizeRequest = z.infer<typeof SummarizeRequestSchema>;
|
|
2107
2107
|
/**
|
|
@@ -2116,13 +2116,13 @@ declare const SummarizeResponseSchema: z.ZodObject<{
|
|
|
2116
2116
|
}, "strip", z.ZodTypeAny, {
|
|
2117
2117
|
scope: string;
|
|
2118
2118
|
summary: string;
|
|
2119
|
-
file?: string | undefined;
|
|
2120
2119
|
tokensUsed?: number | undefined;
|
|
2120
|
+
file?: string | undefined;
|
|
2121
2121
|
}, {
|
|
2122
2122
|
summary: string;
|
|
2123
|
-
file?: string | undefined;
|
|
2124
2123
|
scope?: string | undefined;
|
|
2125
2124
|
tokensUsed?: number | undefined;
|
|
2125
|
+
file?: string | undefined;
|
|
2126
2126
|
}>;
|
|
2127
2127
|
type SummarizeResponse = z.infer<typeof SummarizeResponseSchema>;
|
|
2128
2128
|
|
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;
|
|
@@ -1211,7 +1211,7 @@ declare const OpenOutputSchema: z.ZodObject<{
|
|
|
1211
1211
|
type: "feat" | "fix" | "refactor" | "chore" | "docs" | "test" | "build" | "ci" | "perf";
|
|
1212
1212
|
id: string;
|
|
1213
1213
|
files: string[];
|
|
1214
|
-
releaseHint: "
|
|
1214
|
+
releaseHint: "none" | "patch" | "minor" | "major";
|
|
1215
1215
|
breaking: boolean;
|
|
1216
1216
|
scope?: string | undefined;
|
|
1217
1217
|
body?: string | undefined;
|
|
@@ -1250,7 +1250,7 @@ declare const OpenOutputSchema: z.ZodObject<{
|
|
|
1250
1250
|
files: string[];
|
|
1251
1251
|
scope?: string | undefined;
|
|
1252
1252
|
body?: string | undefined;
|
|
1253
|
-
releaseHint?: "
|
|
1253
|
+
releaseHint?: "none" | "patch" | "minor" | "major" | undefined;
|
|
1254
1254
|
breaking?: boolean | undefined;
|
|
1255
1255
|
reasoning?: {
|
|
1256
1256
|
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.98.0",
|
|
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.
|
|
30
|
+
"@kb-labs/sdk": "2.22.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^24.3.3",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"rimraf": "^6.0.1",
|
|
36
36
|
"tsup": "^8.5.0",
|
|
37
37
|
"typescript": "^5.6.3",
|
|
38
|
-
"vitest": "^3.2.
|
|
39
|
-
"@kb-labs/devkit": "2.
|
|
38
|
+
"vitest": "^3.2.6",
|
|
39
|
+
"@kb-labs/devkit": "2.98.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=20.0.0",
|