Elffuss BraidHub

kikocis/continue public

fix type errors
Changeset0e93a6dcb1e3601eaac2654fe1f2462e8eaba8f2cdcfbb349360eac9bb9fa517
AuthorNate <sestinj@gmail.com> · 2025-07-01 11:20 -07:00
CommitterNate <sestinj@gmail.com> · 2025-07-01 11:20 -07:00
Parentsd0f2024aba48

Browse the files at this changeset

1 file changed

modified packages/config-yaml/src/schemas/data/index.ts +10 −0
@@ -28,6 +28,7 @@
2828 editInteractionEventSchema_0_2_0,
2929 editInteractionEventSchema_0_2_0_noCode,
3030 } from "./editInteraction/v0.2.0.js";
31+import { editOutcomeEventAllSchema } from "./editOutcome/index.js";
3132 import {
3233 editOutcomeEventSchema_0_2_0,
3334 editOutcomeEventSchema_0_2_0_noCode,
@@ -51,6 +52,11 @@
5152 tokensGeneratedEventSchema_0_2_0,
5253 tokensGeneratedEventSchema_0_2_0_noCode,
5354 } from "./tokensGenerated/v0.2.0.js";
55+import { toolUsageEventAllSchema } from "./toolUsage/index.js";
56+import {
57+ toolUsageEventSchema_0_2_0,
58+ toolUsageEventSchema_0_2_0_noCode,
59+} from "./toolUsage/v0.2.0.js";
5460
5561 const semverRegex =
5662 /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9A-Za-z-][0-9A-Za-z-]*)(?:\.(?:0|[1-9A-Za-z-][0-9A-Za-z-]*))*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$/;
@@ -81,7 +87,9 @@
8187 tokensGenerated: tokensGeneratedEventAllSchema,
8288 chatInteraction: chatInteractionEventAllSchema,
8389 editInteraction: editInteractionEventAllSchema,
90+ editOutcome: editOutcomeEventAllSchema,
8491 nextEdit: nextEditEventAllSchema,
92+ toolUsage: toolUsageEventAllSchema,
8593 });
8694
8795 // Version and level specific schemas are organized here
@@ -109,6 +117,7 @@
109117 editInteraction: editInteractionEventSchema_0_2_0,
110118 editOutcome: editOutcomeEventSchema_0_2_0,
111119 nextEdit: nextEditEventSchema_0_2_0,
120+ toolUsage: toolUsageEventSchema_0_2_0,
112121 },
113122 noCode: {
114123 autocomplete: autocompleteEventSchema_0_2_0_noCode,
@@ -118,6 +127,7 @@
118127 editInteraction: editInteractionEventSchema_0_2_0_noCode,
119128 editOutcome: editOutcomeEventSchema_0_2_0_noCode,
120129 nextEdit: nextEditEventSchema_0_2_0_noCode,
130+ toolUsage: toolUsageEventSchema_0_2_0_noCode,
121131 },
122132 },
123133 };