@kawacode/mcp 5.2.2 → 6.0.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/CLAUDE.md.example +1 -1
- package/README.md +54 -198
- package/build/index.js +10 -1
- package/build/index.js.map +1 -1
- package/build/kawacode-on-pre-edit.d.ts +27 -0
- package/build/kawacode-on-pre-edit.js +205 -0
- package/build/kawacode-on-pre-edit.js.map +1 -0
- package/build/kawacode-on-stop.d.ts +29 -0
- package/build/kawacode-on-stop.js +84 -0
- package/build/kawacode-on-stop.js.map +1 -0
- package/build/prompts/intent-first-workflow.js +2 -2
- package/build/tools/_fork-fields.d.ts +84 -0
- package/build/tools/_fork-fields.js +65 -0
- package/build/tools/_fork-fields.js.map +1 -0
- package/build/tools/activate-intent.d.ts +66 -0
- package/build/tools/activate-intent.js +59 -3
- package/build/tools/activate-intent.js.map +1 -1
- package/build/tools/check-active-intent.d.ts +64 -0
- package/build/tools/check-active-intent.js +16 -2
- package/build/tools/check-active-intent.js.map +1 -1
- package/build/tools/complete-intent.d.ts +115 -4
- package/build/tools/complete-intent.js +130 -11
- package/build/tools/complete-intent.js.map +1 -1
- package/build/tools/create-intent.d.ts +73 -1
- package/build/tools/create-intent.js +105 -7
- package/build/tools/create-intent.js.map +1 -1
- package/build/tools/detect-intent-conflicts.d.ts +52 -0
- package/build/tools/detect-intent-conflicts.js +14 -10
- package/build/tools/detect-intent-conflicts.js.map +1 -1
- package/build/tools/edit-session-decision.d.ts +64 -12
- package/build/tools/edit-session-decision.js +4 -1
- package/build/tools/edit-session-decision.js.map +1 -1
- package/build/tools/evolve-decisions.d.ts +52 -0
- package/build/tools/evolve-decisions.js +14 -15
- package/build/tools/evolve-decisions.js.map +1 -1
- package/build/tools/get-intent-changes.d.ts +52 -0
- package/build/tools/get-intent-changes.js +4 -1
- package/build/tools/get-intent-changes.js.map +1 -1
- package/build/tools/get-intents-for-file.d.ts +52 -0
- package/build/tools/get-intents-for-file.js +4 -1
- package/build/tools/get-intents-for-file.js.map +1 -1
- package/build/tools/get-intents-for-lines.d.ts +52 -0
- package/build/tools/get-intents-for-lines.js +4 -1
- package/build/tools/get-intents-for-lines.js.map +1 -1
- package/build/tools/get-project-decisions.d.ts +52 -0
- package/build/tools/get-project-decisions.js +4 -1
- package/build/tools/get-project-decisions.js.map +1 -1
- package/build/tools/get-relevant-context.d.ts +52 -0
- package/build/tools/get-relevant-context.js +18 -24
- package/build/tools/get-relevant-context.js.map +1 -1
- package/build/tools/get-session-decisions.d.ts +52 -0
- package/build/tools/get-session-decisions.js +4 -1
- package/build/tools/get-session-decisions.js.map +1 -1
- package/build/tools/index.d.ts +620 -18
- package/build/tools/index.js +12 -3
- package/build/tools/index.js.map +1 -1
- package/build/tools/infer-history.d.ts +6 -0
- package/build/tools/infer-history.js +28 -15
- package/build/tools/infer-history.js.map +1 -1
- package/build/tools/list-team-intents.d.ts +58 -6
- package/build/tools/list-team-intents.js +5 -2
- package/build/tools/list-team-intents.js.map +1 -1
- package/build/tools/log-work.d.ts +52 -0
- package/build/tools/log-work.js +4 -1
- package/build/tools/log-work.js.map +1 -1
- package/build/tools/pre-edit-acknowledge.d.ts +92 -0
- package/build/tools/pre-edit-acknowledge.js +48 -0
- package/build/tools/pre-edit-acknowledge.js.map +1 -0
- package/build/tools/pre-edit-decision-check.d.ts +141 -0
- package/build/tools/pre-edit-decision-check.js +77 -0
- package/build/tools/pre-edit-decision-check.js.map +1 -0
- package/build/tools/record-decision.d.ts +88 -12
- package/build/tools/record-decision.js +15 -1
- package/build/tools/record-decision.js.map +1 -1
- package/build/tools/update-intent.d.ts +60 -8
- package/build/tools/update-intent.js +6 -1
- package/build/tools/update-intent.js.map +1 -1
- package/package.json +6 -3
package/build/tools/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { getIntentsForLinesTool, getIntentsForLines, getIntentsForLinesSchema }
|
|
|
7
7
|
import { listTeamIntentsTool, listTeamIntents, listTeamIntentsSchema } from './list-team-intents.js';
|
|
8
8
|
import { getIntentChangesTool, getIntentChanges, getIntentChangesSchema } from './get-intent-changes.js';
|
|
9
9
|
import { completeIntentTool, completeIntent, completeIntentSchema } from './complete-intent.js';
|
|
10
|
+
import { updateIntentTool, updateIntent, updateIntentSchema } from './update-intent.js';
|
|
10
11
|
import { logWorkTool, logWork, logWorkSchema } from './log-work.js';
|
|
11
12
|
import { recordDecisionTool, recordDecision, recordDecisionSchema } from './record-decision.js';
|
|
12
13
|
import { getSessionDecisionsTool, getSessionDecisions, getSessionDecisionsSchema } from './get-session-decisions.js';
|
|
@@ -15,25 +16,67 @@ import { editSessionDecisionTool, editSessionDecision, editSessionDecisionSchema
|
|
|
15
16
|
import { detectIntentConflictsTool, detectIntentConflicts, detectIntentConflictsSchema } from './detect-intent-conflicts.js';
|
|
16
17
|
import { inferHistoryTool, inferHistory, inferHistorySchema } from './infer-history.js';
|
|
17
18
|
import { evolveDecisionsTool, evolveDecisions, evolveDecisionsSchema } from './evolve-decisions.js';
|
|
18
|
-
|
|
19
|
+
import { preEditDecisionCheckTool, preEditDecisionCheck, preEditDecisionCheckSchema } from './pre-edit-decision-check.js';
|
|
20
|
+
import { preEditAcknowledgeTool, preEditAcknowledge, preEditAcknowledgeSchema } from './pre-edit-acknowledge.js';
|
|
21
|
+
export { getRelevantContextTool, getRelevantContext, getRelevantContextSchema, checkActiveIntentTool, checkActiveIntent, checkActiveIntentSchema, createAndActivateIntentTool, createAndActivateIntent, createAndActivateIntentSchema, activateIntentTool, activateIntent, activateIntentSchema, getIntentsForFileTool, getIntentsForFile, getIntentsForFileSchema, getIntentsForLinesTool, getIntentsForLines, getIntentsForLinesSchema, listTeamIntentsTool, listTeamIntents, listTeamIntentsSchema, getIntentChangesTool, getIntentChanges, getIntentChangesSchema, completeIntentTool, completeIntent, completeIntentSchema, updateIntentTool, updateIntent, updateIntentSchema, logWorkTool, logWork, logWorkSchema, recordDecisionTool, recordDecision, recordDecisionSchema, getSessionDecisionsTool, getSessionDecisions, getSessionDecisionsSchema, getProjectDecisionsTool, getProjectDecisions, getProjectDecisionsSchema, editSessionDecisionTool, editSessionDecision, editSessionDecisionSchema, detectIntentConflictsTool, detectIntentConflicts, detectIntentConflictsSchema, inferHistoryTool, inferHistory, inferHistorySchema, evolveDecisionsTool, evolveDecisions, evolveDecisionsSchema, preEditDecisionCheckTool, preEditDecisionCheck, preEditDecisionCheckSchema, preEditAcknowledgeTool, preEditAcknowledge, preEditAcknowledgeSchema };
|
|
19
22
|
export declare const allTools: ({
|
|
20
23
|
name: string;
|
|
21
24
|
description: string;
|
|
22
25
|
inputSchema: import("zod").ZodObject<{
|
|
26
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
27
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
28
|
+
user: import("zod").ZodString;
|
|
29
|
+
forkOrigin: import("zod").ZodString;
|
|
30
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
31
|
+
platform: "github" | "gitlab";
|
|
32
|
+
user: string;
|
|
33
|
+
forkOrigin: string;
|
|
34
|
+
}, {
|
|
35
|
+
platform: "github" | "gitlab";
|
|
36
|
+
user: string;
|
|
37
|
+
forkOrigin: string;
|
|
38
|
+
}>>;
|
|
39
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
40
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
41
|
repoPath: import("zod").ZodString;
|
|
25
42
|
}, "strip", import("zod").ZodTypeAny, {
|
|
26
43
|
repoPath: string;
|
|
27
44
|
repoOrigin?: string | undefined;
|
|
45
|
+
forkAuthor?: {
|
|
46
|
+
platform: "github" | "gitlab";
|
|
47
|
+
user: string;
|
|
48
|
+
forkOrigin: string;
|
|
49
|
+
} | undefined;
|
|
50
|
+
workspaceId?: string | undefined;
|
|
28
51
|
}, {
|
|
29
52
|
repoPath: string;
|
|
30
53
|
repoOrigin?: string | undefined;
|
|
54
|
+
forkAuthor?: {
|
|
55
|
+
platform: "github" | "gitlab";
|
|
56
|
+
user: string;
|
|
57
|
+
forkOrigin: string;
|
|
58
|
+
} | undefined;
|
|
59
|
+
workspaceId?: string | undefined;
|
|
31
60
|
}>;
|
|
32
61
|
handler: typeof checkActiveIntent;
|
|
33
62
|
} | {
|
|
34
63
|
name: string;
|
|
35
64
|
description: string;
|
|
36
65
|
inputSchema: import("zod").ZodObject<{
|
|
66
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
67
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
68
|
+
user: import("zod").ZodString;
|
|
69
|
+
forkOrigin: import("zod").ZodString;
|
|
70
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
71
|
+
platform: "github" | "gitlab";
|
|
72
|
+
user: string;
|
|
73
|
+
forkOrigin: string;
|
|
74
|
+
}, {
|
|
75
|
+
platform: "github" | "gitlab";
|
|
76
|
+
user: string;
|
|
77
|
+
forkOrigin: string;
|
|
78
|
+
}>>;
|
|
79
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
80
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
81
|
repoPath: import("zod").ZodString;
|
|
39
82
|
prompt: import("zod").ZodString;
|
|
@@ -48,11 +91,23 @@ export declare const allTools: ({
|
|
|
48
91
|
maxDecisions: number;
|
|
49
92
|
minRelevance: number;
|
|
50
93
|
repoOrigin?: string | undefined;
|
|
94
|
+
forkAuthor?: {
|
|
95
|
+
platform: "github" | "gitlab";
|
|
96
|
+
user: string;
|
|
97
|
+
forkOrigin: string;
|
|
98
|
+
} | undefined;
|
|
99
|
+
workspaceId?: string | undefined;
|
|
51
100
|
activeFiles?: string[] | undefined;
|
|
52
101
|
}, {
|
|
53
102
|
repoPath: string;
|
|
54
103
|
prompt: string;
|
|
55
104
|
repoOrigin?: string | undefined;
|
|
105
|
+
forkAuthor?: {
|
|
106
|
+
platform: "github" | "gitlab";
|
|
107
|
+
user: string;
|
|
108
|
+
forkOrigin: string;
|
|
109
|
+
} | undefined;
|
|
110
|
+
workspaceId?: string | undefined;
|
|
56
111
|
activeFiles?: string[] | undefined;
|
|
57
112
|
maxIntents?: number | undefined;
|
|
58
113
|
maxDecisions?: number | undefined;
|
|
@@ -63,6 +118,20 @@ export declare const allTools: ({
|
|
|
63
118
|
name: string;
|
|
64
119
|
description: string;
|
|
65
120
|
inputSchema: import("zod").ZodObject<{
|
|
121
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
122
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
123
|
+
user: import("zod").ZodString;
|
|
124
|
+
forkOrigin: import("zod").ZodString;
|
|
125
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
126
|
+
platform: "github" | "gitlab";
|
|
127
|
+
user: string;
|
|
128
|
+
forkOrigin: string;
|
|
129
|
+
}, {
|
|
130
|
+
platform: "github" | "gitlab";
|
|
131
|
+
user: string;
|
|
132
|
+
forkOrigin: string;
|
|
133
|
+
}>>;
|
|
134
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
66
135
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
67
136
|
repoPath: import("zod").ZodString;
|
|
68
137
|
title: import("zod").ZodString;
|
|
@@ -77,12 +146,24 @@ export declare const allTools: ({
|
|
|
77
146
|
templateType: "feature" | "refactor" | "exploration";
|
|
78
147
|
force: boolean;
|
|
79
148
|
repoOrigin?: string | undefined;
|
|
149
|
+
forkAuthor?: {
|
|
150
|
+
platform: "github" | "gitlab";
|
|
151
|
+
user: string;
|
|
152
|
+
forkOrigin: string;
|
|
153
|
+
} | undefined;
|
|
154
|
+
workspaceId?: string | undefined;
|
|
80
155
|
constraints?: string[] | undefined;
|
|
81
156
|
}, {
|
|
82
157
|
repoPath: string;
|
|
83
158
|
title: string;
|
|
84
159
|
description: string;
|
|
85
160
|
repoOrigin?: string | undefined;
|
|
161
|
+
forkAuthor?: {
|
|
162
|
+
platform: "github" | "gitlab";
|
|
163
|
+
user: string;
|
|
164
|
+
forkOrigin: string;
|
|
165
|
+
} | undefined;
|
|
166
|
+
workspaceId?: string | undefined;
|
|
86
167
|
templateType?: "feature" | "refactor" | "exploration" | undefined;
|
|
87
168
|
constraints?: string[] | undefined;
|
|
88
169
|
force?: boolean | undefined;
|
|
@@ -92,23 +173,66 @@ export declare const allTools: ({
|
|
|
92
173
|
name: string;
|
|
93
174
|
description: string;
|
|
94
175
|
inputSchema: import("zod").ZodObject<{
|
|
176
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
177
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
178
|
+
user: import("zod").ZodString;
|
|
179
|
+
forkOrigin: import("zod").ZodString;
|
|
180
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
181
|
+
platform: "github" | "gitlab";
|
|
182
|
+
user: string;
|
|
183
|
+
forkOrigin: string;
|
|
184
|
+
}, {
|
|
185
|
+
platform: "github" | "gitlab";
|
|
186
|
+
user: string;
|
|
187
|
+
forkOrigin: string;
|
|
188
|
+
}>>;
|
|
189
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
95
190
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
96
191
|
repoPath: import("zod").ZodString;
|
|
97
192
|
intentId: import("zod").ZodString;
|
|
193
|
+
force: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
98
194
|
}, "strip", import("zod").ZodTypeAny, {
|
|
99
195
|
repoPath: string;
|
|
196
|
+
force: boolean;
|
|
100
197
|
intentId: string;
|
|
101
198
|
repoOrigin?: string | undefined;
|
|
199
|
+
forkAuthor?: {
|
|
200
|
+
platform: "github" | "gitlab";
|
|
201
|
+
user: string;
|
|
202
|
+
forkOrigin: string;
|
|
203
|
+
} | undefined;
|
|
204
|
+
workspaceId?: string | undefined;
|
|
102
205
|
}, {
|
|
103
206
|
repoPath: string;
|
|
104
207
|
intentId: string;
|
|
105
208
|
repoOrigin?: string | undefined;
|
|
209
|
+
forkAuthor?: {
|
|
210
|
+
platform: "github" | "gitlab";
|
|
211
|
+
user: string;
|
|
212
|
+
forkOrigin: string;
|
|
213
|
+
} | undefined;
|
|
214
|
+
workspaceId?: string | undefined;
|
|
215
|
+
force?: boolean | undefined;
|
|
106
216
|
}>;
|
|
107
217
|
handler: typeof activateIntent;
|
|
108
218
|
} | {
|
|
109
219
|
name: string;
|
|
110
220
|
description: string;
|
|
111
221
|
inputSchema: import("zod").ZodObject<{
|
|
222
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
223
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
224
|
+
user: import("zod").ZodString;
|
|
225
|
+
forkOrigin: import("zod").ZodString;
|
|
226
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
227
|
+
platform: "github" | "gitlab";
|
|
228
|
+
user: string;
|
|
229
|
+
forkOrigin: string;
|
|
230
|
+
}, {
|
|
231
|
+
platform: "github" | "gitlab";
|
|
232
|
+
user: string;
|
|
233
|
+
forkOrigin: string;
|
|
234
|
+
}>>;
|
|
235
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
112
236
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
113
237
|
repoPath: import("zod").ZodString;
|
|
114
238
|
filePath: import("zod").ZodString;
|
|
@@ -116,16 +240,42 @@ export declare const allTools: ({
|
|
|
116
240
|
repoPath: string;
|
|
117
241
|
filePath: string;
|
|
118
242
|
repoOrigin?: string | undefined;
|
|
243
|
+
forkAuthor?: {
|
|
244
|
+
platform: "github" | "gitlab";
|
|
245
|
+
user: string;
|
|
246
|
+
forkOrigin: string;
|
|
247
|
+
} | undefined;
|
|
248
|
+
workspaceId?: string | undefined;
|
|
119
249
|
}, {
|
|
120
250
|
repoPath: string;
|
|
121
251
|
filePath: string;
|
|
122
252
|
repoOrigin?: string | undefined;
|
|
253
|
+
forkAuthor?: {
|
|
254
|
+
platform: "github" | "gitlab";
|
|
255
|
+
user: string;
|
|
256
|
+
forkOrigin: string;
|
|
257
|
+
} | undefined;
|
|
258
|
+
workspaceId?: string | undefined;
|
|
123
259
|
}>;
|
|
124
260
|
handler: typeof getIntentsForFile;
|
|
125
261
|
} | {
|
|
126
262
|
name: string;
|
|
127
263
|
description: string;
|
|
128
264
|
inputSchema: import("zod").ZodObject<{
|
|
265
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
266
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
267
|
+
user: import("zod").ZodString;
|
|
268
|
+
forkOrigin: import("zod").ZodString;
|
|
269
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
270
|
+
platform: "github" | "gitlab";
|
|
271
|
+
user: string;
|
|
272
|
+
forkOrigin: string;
|
|
273
|
+
}, {
|
|
274
|
+
platform: "github" | "gitlab";
|
|
275
|
+
user: string;
|
|
276
|
+
forkOrigin: string;
|
|
277
|
+
}>>;
|
|
278
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
129
279
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
130
280
|
repoPath: import("zod").ZodString;
|
|
131
281
|
filePath: import("zod").ZodString;
|
|
@@ -137,21 +287,47 @@ export declare const allTools: ({
|
|
|
137
287
|
startLine: number;
|
|
138
288
|
endLine: number;
|
|
139
289
|
repoOrigin?: string | undefined;
|
|
290
|
+
forkAuthor?: {
|
|
291
|
+
platform: "github" | "gitlab";
|
|
292
|
+
user: string;
|
|
293
|
+
forkOrigin: string;
|
|
294
|
+
} | undefined;
|
|
295
|
+
workspaceId?: string | undefined;
|
|
140
296
|
}, {
|
|
141
297
|
repoPath: string;
|
|
142
298
|
filePath: string;
|
|
143
299
|
startLine: number;
|
|
144
300
|
endLine: number;
|
|
145
301
|
repoOrigin?: string | undefined;
|
|
302
|
+
forkAuthor?: {
|
|
303
|
+
platform: "github" | "gitlab";
|
|
304
|
+
user: string;
|
|
305
|
+
forkOrigin: string;
|
|
306
|
+
} | undefined;
|
|
307
|
+
workspaceId?: string | undefined;
|
|
146
308
|
}>;
|
|
147
309
|
handler: typeof getIntentsForLines;
|
|
148
310
|
} | {
|
|
149
311
|
name: string;
|
|
150
312
|
description: string;
|
|
151
313
|
inputSchema: import("zod").ZodObject<{
|
|
314
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
315
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
316
|
+
user: import("zod").ZodString;
|
|
317
|
+
forkOrigin: import("zod").ZodString;
|
|
318
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
319
|
+
platform: "github" | "gitlab";
|
|
320
|
+
user: string;
|
|
321
|
+
forkOrigin: string;
|
|
322
|
+
}, {
|
|
323
|
+
platform: "github" | "gitlab";
|
|
324
|
+
user: string;
|
|
325
|
+
forkOrigin: string;
|
|
326
|
+
}>>;
|
|
327
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
152
328
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
153
329
|
repoPath: import("zod").ZodString;
|
|
154
|
-
status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "committed", "pushed", "done", "abandoned"]>>;
|
|
330
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "pending", "committed", "pushed", "done", "abandoned"]>>;
|
|
155
331
|
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
156
332
|
since: import("zod").ZodOptional<import("zod").ZodString>;
|
|
157
333
|
until: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -161,15 +337,27 @@ export declare const allTools: ({
|
|
|
161
337
|
repoPath: string;
|
|
162
338
|
limit: number;
|
|
163
339
|
offset: number;
|
|
340
|
+
status?: "pending" | "active" | "committed" | "pushed" | "done" | "abandoned" | undefined;
|
|
164
341
|
repoOrigin?: string | undefined;
|
|
165
|
-
|
|
342
|
+
forkAuthor?: {
|
|
343
|
+
platform: "github" | "gitlab";
|
|
344
|
+
user: string;
|
|
345
|
+
forkOrigin: string;
|
|
346
|
+
} | undefined;
|
|
347
|
+
workspaceId?: string | undefined;
|
|
166
348
|
author?: string | undefined;
|
|
167
349
|
since?: string | undefined;
|
|
168
350
|
until?: string | undefined;
|
|
169
351
|
}, {
|
|
170
352
|
repoPath: string;
|
|
353
|
+
status?: "pending" | "active" | "committed" | "pushed" | "done" | "abandoned" | undefined;
|
|
171
354
|
repoOrigin?: string | undefined;
|
|
172
|
-
|
|
355
|
+
forkAuthor?: {
|
|
356
|
+
platform: "github" | "gitlab";
|
|
357
|
+
user: string;
|
|
358
|
+
forkOrigin: string;
|
|
359
|
+
} | undefined;
|
|
360
|
+
workspaceId?: string | undefined;
|
|
173
361
|
author?: string | undefined;
|
|
174
362
|
since?: string | undefined;
|
|
175
363
|
until?: string | undefined;
|
|
@@ -181,20 +369,60 @@ export declare const allTools: ({
|
|
|
181
369
|
name: string;
|
|
182
370
|
description: string;
|
|
183
371
|
inputSchema: import("zod").ZodObject<{
|
|
372
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
373
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
374
|
+
user: import("zod").ZodString;
|
|
375
|
+
forkOrigin: import("zod").ZodString;
|
|
376
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
377
|
+
platform: "github" | "gitlab";
|
|
378
|
+
user: string;
|
|
379
|
+
forkOrigin: string;
|
|
380
|
+
}, {
|
|
381
|
+
platform: "github" | "gitlab";
|
|
382
|
+
user: string;
|
|
383
|
+
forkOrigin: string;
|
|
384
|
+
}>>;
|
|
385
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
184
386
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
185
387
|
repoPath: import("zod").ZodString;
|
|
186
388
|
}, "strip", import("zod").ZodTypeAny, {
|
|
187
389
|
repoPath: string;
|
|
188
390
|
repoOrigin?: string | undefined;
|
|
391
|
+
forkAuthor?: {
|
|
392
|
+
platform: "github" | "gitlab";
|
|
393
|
+
user: string;
|
|
394
|
+
forkOrigin: string;
|
|
395
|
+
} | undefined;
|
|
396
|
+
workspaceId?: string | undefined;
|
|
189
397
|
}, {
|
|
190
398
|
repoPath: string;
|
|
191
399
|
repoOrigin?: string | undefined;
|
|
400
|
+
forkAuthor?: {
|
|
401
|
+
platform: "github" | "gitlab";
|
|
402
|
+
user: string;
|
|
403
|
+
forkOrigin: string;
|
|
404
|
+
} | undefined;
|
|
405
|
+
workspaceId?: string | undefined;
|
|
192
406
|
}>;
|
|
193
407
|
handler: typeof getIntentChanges;
|
|
194
408
|
} | {
|
|
195
409
|
name: string;
|
|
196
410
|
description: string;
|
|
197
411
|
inputSchema: import("zod").ZodObject<{
|
|
412
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
413
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
414
|
+
user: import("zod").ZodString;
|
|
415
|
+
forkOrigin: import("zod").ZodString;
|
|
416
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
417
|
+
platform: "github" | "gitlab";
|
|
418
|
+
user: string;
|
|
419
|
+
forkOrigin: string;
|
|
420
|
+
}, {
|
|
421
|
+
platform: "github" | "gitlab";
|
|
422
|
+
user: string;
|
|
423
|
+
forkOrigin: string;
|
|
424
|
+
}>>;
|
|
425
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
198
426
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
199
427
|
repoPath: import("zod").ZodString;
|
|
200
428
|
intentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -202,16 +430,28 @@ export declare const allTools: ({
|
|
|
202
430
|
status: import("zod").ZodDefault<import("zod").ZodEnum<["committed", "pushed", "done", "abandoned", "superseded"]>>;
|
|
203
431
|
supersededBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
204
432
|
}, "strip", import("zod").ZodTypeAny, {
|
|
205
|
-
repoPath: string;
|
|
206
433
|
status: "committed" | "pushed" | "done" | "abandoned" | "superseded";
|
|
434
|
+
repoPath: string;
|
|
207
435
|
repoOrigin?: string | undefined;
|
|
436
|
+
forkAuthor?: {
|
|
437
|
+
platform: "github" | "gitlab";
|
|
438
|
+
user: string;
|
|
439
|
+
forkOrigin: string;
|
|
440
|
+
} | undefined;
|
|
441
|
+
workspaceId?: string | undefined;
|
|
208
442
|
intentId?: string | undefined;
|
|
209
443
|
commitSha?: string | undefined;
|
|
210
444
|
supersededBy?: string | undefined;
|
|
211
445
|
}, {
|
|
212
446
|
repoPath: string;
|
|
213
|
-
repoOrigin?: string | undefined;
|
|
214
447
|
status?: "committed" | "pushed" | "done" | "abandoned" | "superseded" | undefined;
|
|
448
|
+
repoOrigin?: string | undefined;
|
|
449
|
+
forkAuthor?: {
|
|
450
|
+
platform: "github" | "gitlab";
|
|
451
|
+
user: string;
|
|
452
|
+
forkOrigin: string;
|
|
453
|
+
} | undefined;
|
|
454
|
+
workspaceId?: string | undefined;
|
|
215
455
|
intentId?: string | undefined;
|
|
216
456
|
commitSha?: string | undefined;
|
|
217
457
|
supersededBy?: string | undefined;
|
|
@@ -221,6 +461,90 @@ export declare const allTools: ({
|
|
|
221
461
|
name: string;
|
|
222
462
|
description: string;
|
|
223
463
|
inputSchema: import("zod").ZodObject<{
|
|
464
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
465
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
466
|
+
user: import("zod").ZodString;
|
|
467
|
+
forkOrigin: import("zod").ZodString;
|
|
468
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
469
|
+
platform: "github" | "gitlab";
|
|
470
|
+
user: string;
|
|
471
|
+
forkOrigin: string;
|
|
472
|
+
}, {
|
|
473
|
+
platform: "github" | "gitlab";
|
|
474
|
+
user: string;
|
|
475
|
+
forkOrigin: string;
|
|
476
|
+
}>>;
|
|
477
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
478
|
+
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
479
|
+
repoPath: import("zod").ZodString;
|
|
480
|
+
intentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
481
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
482
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
483
|
+
constraints: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
484
|
+
scope: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
485
|
+
type: import("zod").ZodEnum<["repo", "folder", "files"]>;
|
|
486
|
+
paths: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
487
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
488
|
+
type: "repo" | "folder" | "files";
|
|
489
|
+
paths: string[];
|
|
490
|
+
}, {
|
|
491
|
+
type: "repo" | "folder" | "files";
|
|
492
|
+
paths: string[];
|
|
493
|
+
}>>;
|
|
494
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
495
|
+
repoPath: string;
|
|
496
|
+
repoOrigin?: string | undefined;
|
|
497
|
+
forkAuthor?: {
|
|
498
|
+
platform: "github" | "gitlab";
|
|
499
|
+
user: string;
|
|
500
|
+
forkOrigin: string;
|
|
501
|
+
} | undefined;
|
|
502
|
+
workspaceId?: string | undefined;
|
|
503
|
+
title?: string | undefined;
|
|
504
|
+
description?: string | undefined;
|
|
505
|
+
constraints?: string[] | undefined;
|
|
506
|
+
intentId?: string | undefined;
|
|
507
|
+
scope?: {
|
|
508
|
+
type: "repo" | "folder" | "files";
|
|
509
|
+
paths: string[];
|
|
510
|
+
} | undefined;
|
|
511
|
+
}, {
|
|
512
|
+
repoPath: string;
|
|
513
|
+
repoOrigin?: string | undefined;
|
|
514
|
+
forkAuthor?: {
|
|
515
|
+
platform: "github" | "gitlab";
|
|
516
|
+
user: string;
|
|
517
|
+
forkOrigin: string;
|
|
518
|
+
} | undefined;
|
|
519
|
+
workspaceId?: string | undefined;
|
|
520
|
+
title?: string | undefined;
|
|
521
|
+
description?: string | undefined;
|
|
522
|
+
constraints?: string[] | undefined;
|
|
523
|
+
intentId?: string | undefined;
|
|
524
|
+
scope?: {
|
|
525
|
+
type: "repo" | "folder" | "files";
|
|
526
|
+
paths: string[];
|
|
527
|
+
} | undefined;
|
|
528
|
+
}>;
|
|
529
|
+
handler: typeof updateIntent;
|
|
530
|
+
} | {
|
|
531
|
+
name: string;
|
|
532
|
+
description: string;
|
|
533
|
+
inputSchema: import("zod").ZodObject<{
|
|
534
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
535
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
536
|
+
user: import("zod").ZodString;
|
|
537
|
+
forkOrigin: import("zod").ZodString;
|
|
538
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
539
|
+
platform: "github" | "gitlab";
|
|
540
|
+
user: string;
|
|
541
|
+
forkOrigin: string;
|
|
542
|
+
}, {
|
|
543
|
+
platform: "github" | "gitlab";
|
|
544
|
+
user: string;
|
|
545
|
+
forkOrigin: string;
|
|
546
|
+
}>>;
|
|
547
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
224
548
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
225
549
|
repoPath: import("zod").ZodString;
|
|
226
550
|
title: import("zod").ZodString;
|
|
@@ -229,11 +553,23 @@ export declare const allTools: ({
|
|
|
229
553
|
repoPath: string;
|
|
230
554
|
title: string;
|
|
231
555
|
repoOrigin?: string | undefined;
|
|
556
|
+
forkAuthor?: {
|
|
557
|
+
platform: "github" | "gitlab";
|
|
558
|
+
user: string;
|
|
559
|
+
forkOrigin: string;
|
|
560
|
+
} | undefined;
|
|
561
|
+
workspaceId?: string | undefined;
|
|
232
562
|
files?: string[] | undefined;
|
|
233
563
|
}, {
|
|
234
564
|
repoPath: string;
|
|
235
565
|
title: string;
|
|
236
566
|
repoOrigin?: string | undefined;
|
|
567
|
+
forkAuthor?: {
|
|
568
|
+
platform: "github" | "gitlab";
|
|
569
|
+
user: string;
|
|
570
|
+
forkOrigin: string;
|
|
571
|
+
} | undefined;
|
|
572
|
+
workspaceId?: string | undefined;
|
|
237
573
|
files?: string[] | undefined;
|
|
238
574
|
}>;
|
|
239
575
|
handler: typeof logWork;
|
|
@@ -241,6 +577,20 @@ export declare const allTools: ({
|
|
|
241
577
|
name: string;
|
|
242
578
|
description: string;
|
|
243
579
|
inputSchema: import("zod").ZodObject<{
|
|
580
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
581
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
582
|
+
user: import("zod").ZodString;
|
|
583
|
+
forkOrigin: import("zod").ZodString;
|
|
584
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
585
|
+
platform: "github" | "gitlab";
|
|
586
|
+
user: string;
|
|
587
|
+
forkOrigin: string;
|
|
588
|
+
}, {
|
|
589
|
+
platform: "github" | "gitlab";
|
|
590
|
+
user: string;
|
|
591
|
+
forkOrigin: string;
|
|
592
|
+
}>>;
|
|
593
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
244
594
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
245
595
|
repoPath: import("zod").ZodString;
|
|
246
596
|
intentId: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
@@ -252,62 +602,100 @@ export declare const allTools: ({
|
|
|
252
602
|
consequences: import("zod").ZodOptional<import("zod").ZodString>;
|
|
253
603
|
symptom: import("zod").ZodOptional<import("zod").ZodString>;
|
|
254
604
|
relatedFiles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
605
|
+
supersedes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
255
606
|
constraintsChecked: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
256
607
|
constraintViolations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
257
608
|
alternative: import("zod").ZodString;
|
|
258
609
|
constraint: import("zod").ZodString;
|
|
259
610
|
reason: import("zod").ZodString;
|
|
260
611
|
}, "strip", import("zod").ZodTypeAny, {
|
|
612
|
+
reason: string;
|
|
261
613
|
alternative: string;
|
|
262
614
|
constraint: string;
|
|
263
|
-
reason: string;
|
|
264
615
|
}, {
|
|
616
|
+
reason: string;
|
|
265
617
|
alternative: string;
|
|
266
618
|
constraint: string;
|
|
267
|
-
reason: string;
|
|
268
619
|
}>, "many">>;
|
|
620
|
+
source: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["user", "agent", "extractor", "infer_history"]>>>;
|
|
621
|
+
confidence: import("zod").ZodOptional<import("zod").ZodEnum<["high", "medium", "low"]>>;
|
|
622
|
+
sourceThoughtIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
269
623
|
}, "strip", import("zod").ZodTypeAny, {
|
|
270
|
-
repoPath: string;
|
|
271
624
|
type: "abandoned" | "constraint" | "fork" | "discovery" | "tradeoff" | "dependency";
|
|
625
|
+
repoPath: string;
|
|
272
626
|
summary: string;
|
|
273
627
|
intentId: string;
|
|
274
628
|
rationale: string;
|
|
629
|
+
source: "user" | "agent" | "extractor" | "infer_history";
|
|
275
630
|
repoOrigin?: string | undefined;
|
|
631
|
+
forkAuthor?: {
|
|
632
|
+
platform: "github" | "gitlab";
|
|
633
|
+
user: string;
|
|
634
|
+
forkOrigin: string;
|
|
635
|
+
} | undefined;
|
|
636
|
+
workspaceId?: string | undefined;
|
|
276
637
|
context?: string | undefined;
|
|
277
638
|
alternatives?: string[] | undefined;
|
|
278
639
|
consequences?: string | undefined;
|
|
279
640
|
symptom?: string | undefined;
|
|
280
641
|
relatedFiles?: string[] | undefined;
|
|
642
|
+
supersedes?: string[] | undefined;
|
|
281
643
|
constraintsChecked?: string[] | undefined;
|
|
282
644
|
constraintViolations?: {
|
|
645
|
+
reason: string;
|
|
283
646
|
alternative: string;
|
|
284
647
|
constraint: string;
|
|
285
|
-
reason: string;
|
|
286
648
|
}[] | undefined;
|
|
649
|
+
confidence?: "high" | "medium" | "low" | undefined;
|
|
650
|
+
sourceThoughtIds?: string[] | undefined;
|
|
287
651
|
}, {
|
|
288
|
-
repoPath: string;
|
|
289
652
|
type: "abandoned" | "constraint" | "fork" | "discovery" | "tradeoff" | "dependency";
|
|
653
|
+
repoPath: string;
|
|
290
654
|
summary: string;
|
|
291
655
|
rationale: string;
|
|
292
656
|
repoOrigin?: string | undefined;
|
|
657
|
+
forkAuthor?: {
|
|
658
|
+
platform: "github" | "gitlab";
|
|
659
|
+
user: string;
|
|
660
|
+
forkOrigin: string;
|
|
661
|
+
} | undefined;
|
|
662
|
+
workspaceId?: string | undefined;
|
|
293
663
|
context?: string | undefined;
|
|
294
664
|
intentId?: string | undefined;
|
|
295
665
|
alternatives?: string[] | undefined;
|
|
296
666
|
consequences?: string | undefined;
|
|
297
667
|
symptom?: string | undefined;
|
|
298
668
|
relatedFiles?: string[] | undefined;
|
|
669
|
+
supersedes?: string[] | undefined;
|
|
299
670
|
constraintsChecked?: string[] | undefined;
|
|
300
671
|
constraintViolations?: {
|
|
672
|
+
reason: string;
|
|
301
673
|
alternative: string;
|
|
302
674
|
constraint: string;
|
|
303
|
-
reason: string;
|
|
304
675
|
}[] | undefined;
|
|
676
|
+
source?: "user" | "agent" | "extractor" | "infer_history" | undefined;
|
|
677
|
+
confidence?: "high" | "medium" | "low" | undefined;
|
|
678
|
+
sourceThoughtIds?: string[] | undefined;
|
|
305
679
|
}>;
|
|
306
680
|
handler: typeof recordDecision;
|
|
307
681
|
} | {
|
|
308
682
|
name: string;
|
|
309
683
|
description: string;
|
|
310
684
|
inputSchema: import("zod").ZodObject<{
|
|
685
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
686
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
687
|
+
user: import("zod").ZodString;
|
|
688
|
+
forkOrigin: import("zod").ZodString;
|
|
689
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
690
|
+
platform: "github" | "gitlab";
|
|
691
|
+
user: string;
|
|
692
|
+
forkOrigin: string;
|
|
693
|
+
}, {
|
|
694
|
+
platform: "github" | "gitlab";
|
|
695
|
+
user: string;
|
|
696
|
+
forkOrigin: string;
|
|
697
|
+
}>>;
|
|
698
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
311
699
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
312
700
|
repoPath: import("zod").ZodString;
|
|
313
701
|
intentId: import("zod").ZodString;
|
|
@@ -315,30 +703,82 @@ export declare const allTools: ({
|
|
|
315
703
|
repoPath: string;
|
|
316
704
|
intentId: string;
|
|
317
705
|
repoOrigin?: string | undefined;
|
|
706
|
+
forkAuthor?: {
|
|
707
|
+
platform: "github" | "gitlab";
|
|
708
|
+
user: string;
|
|
709
|
+
forkOrigin: string;
|
|
710
|
+
} | undefined;
|
|
711
|
+
workspaceId?: string | undefined;
|
|
318
712
|
}, {
|
|
319
713
|
repoPath: string;
|
|
320
714
|
intentId: string;
|
|
321
715
|
repoOrigin?: string | undefined;
|
|
716
|
+
forkAuthor?: {
|
|
717
|
+
platform: "github" | "gitlab";
|
|
718
|
+
user: string;
|
|
719
|
+
forkOrigin: string;
|
|
720
|
+
} | undefined;
|
|
721
|
+
workspaceId?: string | undefined;
|
|
322
722
|
}>;
|
|
323
723
|
handler: typeof getSessionDecisions;
|
|
324
724
|
} | {
|
|
325
725
|
name: string;
|
|
326
726
|
description: string;
|
|
327
727
|
inputSchema: import("zod").ZodObject<{
|
|
728
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
729
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
730
|
+
user: import("zod").ZodString;
|
|
731
|
+
forkOrigin: import("zod").ZodString;
|
|
732
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
733
|
+
platform: "github" | "gitlab";
|
|
734
|
+
user: string;
|
|
735
|
+
forkOrigin: string;
|
|
736
|
+
}, {
|
|
737
|
+
platform: "github" | "gitlab";
|
|
738
|
+
user: string;
|
|
739
|
+
forkOrigin: string;
|
|
740
|
+
}>>;
|
|
741
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
328
742
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
329
743
|
repoPath: import("zod").ZodString;
|
|
330
744
|
}, "strip", import("zod").ZodTypeAny, {
|
|
331
745
|
repoPath: string;
|
|
332
746
|
repoOrigin?: string | undefined;
|
|
747
|
+
forkAuthor?: {
|
|
748
|
+
platform: "github" | "gitlab";
|
|
749
|
+
user: string;
|
|
750
|
+
forkOrigin: string;
|
|
751
|
+
} | undefined;
|
|
752
|
+
workspaceId?: string | undefined;
|
|
333
753
|
}, {
|
|
334
754
|
repoPath: string;
|
|
335
755
|
repoOrigin?: string | undefined;
|
|
756
|
+
forkAuthor?: {
|
|
757
|
+
platform: "github" | "gitlab";
|
|
758
|
+
user: string;
|
|
759
|
+
forkOrigin: string;
|
|
760
|
+
} | undefined;
|
|
761
|
+
workspaceId?: string | undefined;
|
|
336
762
|
}>;
|
|
337
763
|
handler: typeof getProjectDecisions;
|
|
338
764
|
} | {
|
|
339
765
|
name: string;
|
|
340
766
|
description: string;
|
|
341
767
|
inputSchema: import("zod").ZodObject<{
|
|
768
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
769
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
770
|
+
user: import("zod").ZodString;
|
|
771
|
+
forkOrigin: import("zod").ZodString;
|
|
772
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
773
|
+
platform: "github" | "gitlab";
|
|
774
|
+
user: string;
|
|
775
|
+
forkOrigin: string;
|
|
776
|
+
}, {
|
|
777
|
+
platform: "github" | "gitlab";
|
|
778
|
+
user: string;
|
|
779
|
+
forkOrigin: string;
|
|
780
|
+
}>>;
|
|
781
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
342
782
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
343
783
|
repoPath: import("zod").ZodString;
|
|
344
784
|
intentId: import("zod").ZodString;
|
|
@@ -357,13 +797,13 @@ export declare const allTools: ({
|
|
|
357
797
|
constraint: import("zod").ZodString;
|
|
358
798
|
reason: import("zod").ZodString;
|
|
359
799
|
}, "strip", import("zod").ZodTypeAny, {
|
|
800
|
+
reason: string;
|
|
360
801
|
alternative: string;
|
|
361
802
|
constraint: string;
|
|
362
|
-
reason: string;
|
|
363
803
|
}, {
|
|
804
|
+
reason: string;
|
|
364
805
|
alternative: string;
|
|
365
806
|
constraint: string;
|
|
366
|
-
reason: string;
|
|
367
807
|
}>, "many">>;
|
|
368
808
|
}, "strip", import("zod").ZodTypeAny, {
|
|
369
809
|
context?: string | undefined;
|
|
@@ -374,9 +814,9 @@ export declare const allTools: ({
|
|
|
374
814
|
relatedFiles?: string[] | undefined;
|
|
375
815
|
constraintsChecked?: string[] | undefined;
|
|
376
816
|
constraintViolations?: {
|
|
817
|
+
reason: string;
|
|
377
818
|
alternative: string;
|
|
378
819
|
constraint: string;
|
|
379
|
-
reason: string;
|
|
380
820
|
}[] | undefined;
|
|
381
821
|
}, {
|
|
382
822
|
context?: string | undefined;
|
|
@@ -387,9 +827,9 @@ export declare const allTools: ({
|
|
|
387
827
|
relatedFiles?: string[] | undefined;
|
|
388
828
|
constraintsChecked?: string[] | undefined;
|
|
389
829
|
constraintViolations?: {
|
|
830
|
+
reason: string;
|
|
390
831
|
alternative: string;
|
|
391
832
|
constraint: string;
|
|
392
|
-
reason: string;
|
|
393
833
|
}[] | undefined;
|
|
394
834
|
}>>;
|
|
395
835
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -398,6 +838,12 @@ export declare const allTools: ({
|
|
|
398
838
|
action: "update" | "delete";
|
|
399
839
|
decisionId: string;
|
|
400
840
|
repoOrigin?: string | undefined;
|
|
841
|
+
forkAuthor?: {
|
|
842
|
+
platform: "github" | "gitlab";
|
|
843
|
+
user: string;
|
|
844
|
+
forkOrigin: string;
|
|
845
|
+
} | undefined;
|
|
846
|
+
workspaceId?: string | undefined;
|
|
401
847
|
updates?: {
|
|
402
848
|
context?: string | undefined;
|
|
403
849
|
summary?: string | undefined;
|
|
@@ -407,9 +853,9 @@ export declare const allTools: ({
|
|
|
407
853
|
relatedFiles?: string[] | undefined;
|
|
408
854
|
constraintsChecked?: string[] | undefined;
|
|
409
855
|
constraintViolations?: {
|
|
856
|
+
reason: string;
|
|
410
857
|
alternative: string;
|
|
411
858
|
constraint: string;
|
|
412
|
-
reason: string;
|
|
413
859
|
}[] | undefined;
|
|
414
860
|
} | undefined;
|
|
415
861
|
}, {
|
|
@@ -418,6 +864,12 @@ export declare const allTools: ({
|
|
|
418
864
|
action: "update" | "delete";
|
|
419
865
|
decisionId: string;
|
|
420
866
|
repoOrigin?: string | undefined;
|
|
867
|
+
forkAuthor?: {
|
|
868
|
+
platform: "github" | "gitlab";
|
|
869
|
+
user: string;
|
|
870
|
+
forkOrigin: string;
|
|
871
|
+
} | undefined;
|
|
872
|
+
workspaceId?: string | undefined;
|
|
421
873
|
updates?: {
|
|
422
874
|
context?: string | undefined;
|
|
423
875
|
summary?: string | undefined;
|
|
@@ -427,9 +879,9 @@ export declare const allTools: ({
|
|
|
427
879
|
relatedFiles?: string[] | undefined;
|
|
428
880
|
constraintsChecked?: string[] | undefined;
|
|
429
881
|
constraintViolations?: {
|
|
882
|
+
reason: string;
|
|
430
883
|
alternative: string;
|
|
431
884
|
constraint: string;
|
|
432
|
-
reason: string;
|
|
433
885
|
}[] | undefined;
|
|
434
886
|
} | undefined;
|
|
435
887
|
}>;
|
|
@@ -438,6 +890,20 @@ export declare const allTools: ({
|
|
|
438
890
|
name: string;
|
|
439
891
|
description: string;
|
|
440
892
|
inputSchema: import("zod").ZodObject<{
|
|
893
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
894
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
895
|
+
user: import("zod").ZodString;
|
|
896
|
+
forkOrigin: import("zod").ZodString;
|
|
897
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
898
|
+
platform: "github" | "gitlab";
|
|
899
|
+
user: string;
|
|
900
|
+
forkOrigin: string;
|
|
901
|
+
}, {
|
|
902
|
+
platform: "github" | "gitlab";
|
|
903
|
+
user: string;
|
|
904
|
+
forkOrigin: string;
|
|
905
|
+
}>>;
|
|
906
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
441
907
|
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
442
908
|
repoPath: import("zod").ZodString;
|
|
443
909
|
intentId: import("zod").ZodString;
|
|
@@ -446,11 +912,23 @@ export declare const allTools: ({
|
|
|
446
912
|
repoPath: string;
|
|
447
913
|
intentId: string;
|
|
448
914
|
repoOrigin?: string | undefined;
|
|
915
|
+
forkAuthor?: {
|
|
916
|
+
platform: "github" | "gitlab";
|
|
917
|
+
user: string;
|
|
918
|
+
forkOrigin: string;
|
|
919
|
+
} | undefined;
|
|
920
|
+
workspaceId?: string | undefined;
|
|
449
921
|
minScore?: number | undefined;
|
|
450
922
|
}, {
|
|
451
923
|
repoPath: string;
|
|
452
924
|
intentId: string;
|
|
453
925
|
repoOrigin?: string | undefined;
|
|
926
|
+
forkAuthor?: {
|
|
927
|
+
platform: "github" | "gitlab";
|
|
928
|
+
user: string;
|
|
929
|
+
forkOrigin: string;
|
|
930
|
+
} | undefined;
|
|
931
|
+
workspaceId?: string | undefined;
|
|
454
932
|
minScore?: number | undefined;
|
|
455
933
|
}>;
|
|
456
934
|
handler: typeof detectIntentConflicts;
|
|
@@ -460,6 +938,7 @@ export declare const allTools: ({
|
|
|
460
938
|
inputSchema: import("zod").ZodObject<{
|
|
461
939
|
repoPath: import("zod").ZodString;
|
|
462
940
|
commits: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
941
|
+
commitRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
463
942
|
contextIssues: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
464
943
|
model: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
465
944
|
maxStories: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
@@ -473,9 +952,11 @@ export declare const allTools: ({
|
|
|
473
952
|
allowCommitSplitting: boolean;
|
|
474
953
|
estimateOnly: boolean;
|
|
475
954
|
commits?: number | undefined;
|
|
955
|
+
commitRange?: string | undefined;
|
|
476
956
|
}, {
|
|
477
957
|
repoPath: string;
|
|
478
958
|
commits?: number | undefined;
|
|
959
|
+
commitRange?: string | undefined;
|
|
479
960
|
contextIssues?: boolean | undefined;
|
|
480
961
|
model?: string | undefined;
|
|
481
962
|
maxStories?: number | undefined;
|
|
@@ -487,6 +968,20 @@ export declare const allTools: ({
|
|
|
487
968
|
name: string;
|
|
488
969
|
description: string;
|
|
489
970
|
inputSchema: import("zod").ZodObject<{
|
|
971
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
972
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
973
|
+
user: import("zod").ZodString;
|
|
974
|
+
forkOrigin: import("zod").ZodString;
|
|
975
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
976
|
+
platform: "github" | "gitlab";
|
|
977
|
+
user: string;
|
|
978
|
+
forkOrigin: string;
|
|
979
|
+
}, {
|
|
980
|
+
platform: "github" | "gitlab";
|
|
981
|
+
user: string;
|
|
982
|
+
forkOrigin: string;
|
|
983
|
+
}>>;
|
|
984
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
490
985
|
stories: import("zod").ZodArray<import("zod").ZodAny, "many">;
|
|
491
986
|
model: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
492
987
|
repoPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -496,11 +991,118 @@ export declare const allTools: ({
|
|
|
496
991
|
stories: any[];
|
|
497
992
|
repoOrigin?: string | undefined;
|
|
498
993
|
repoPath?: string | undefined;
|
|
994
|
+
forkAuthor?: {
|
|
995
|
+
platform: "github" | "gitlab";
|
|
996
|
+
user: string;
|
|
997
|
+
forkOrigin: string;
|
|
998
|
+
} | undefined;
|
|
999
|
+
workspaceId?: string | undefined;
|
|
499
1000
|
}, {
|
|
500
1001
|
stories: any[];
|
|
501
1002
|
repoOrigin?: string | undefined;
|
|
502
1003
|
repoPath?: string | undefined;
|
|
1004
|
+
forkAuthor?: {
|
|
1005
|
+
platform: "github" | "gitlab";
|
|
1006
|
+
user: string;
|
|
1007
|
+
forkOrigin: string;
|
|
1008
|
+
} | undefined;
|
|
1009
|
+
workspaceId?: string | undefined;
|
|
503
1010
|
model?: string | undefined;
|
|
504
1011
|
}>;
|
|
505
1012
|
handler: typeof evolveDecisions;
|
|
1013
|
+
} | {
|
|
1014
|
+
name: string;
|
|
1015
|
+
description: string;
|
|
1016
|
+
inputSchema: import("zod").ZodObject<{
|
|
1017
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1018
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
1019
|
+
user: import("zod").ZodString;
|
|
1020
|
+
forkOrigin: import("zod").ZodString;
|
|
1021
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1022
|
+
platform: "github" | "gitlab";
|
|
1023
|
+
user: string;
|
|
1024
|
+
forkOrigin: string;
|
|
1025
|
+
}, {
|
|
1026
|
+
platform: "github" | "gitlab";
|
|
1027
|
+
user: string;
|
|
1028
|
+
forkOrigin: string;
|
|
1029
|
+
}>>;
|
|
1030
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1031
|
+
repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1032
|
+
repoPath: import("zod").ZodString;
|
|
1033
|
+
filePath: import("zod").ZodString;
|
|
1034
|
+
startLine: import("zod").ZodNumber;
|
|
1035
|
+
endLine: import("zod").ZodNumber;
|
|
1036
|
+
intentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1037
|
+
sessionToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1038
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1039
|
+
repoPath: string;
|
|
1040
|
+
filePath: string;
|
|
1041
|
+
startLine: number;
|
|
1042
|
+
endLine: number;
|
|
1043
|
+
repoOrigin?: string | undefined;
|
|
1044
|
+
forkAuthor?: {
|
|
1045
|
+
platform: "github" | "gitlab";
|
|
1046
|
+
user: string;
|
|
1047
|
+
forkOrigin: string;
|
|
1048
|
+
} | undefined;
|
|
1049
|
+
workspaceId?: string | undefined;
|
|
1050
|
+
intentId?: string | undefined;
|
|
1051
|
+
sessionToken?: string | undefined;
|
|
1052
|
+
}, {
|
|
1053
|
+
repoPath: string;
|
|
1054
|
+
filePath: string;
|
|
1055
|
+
startLine: number;
|
|
1056
|
+
endLine: number;
|
|
1057
|
+
repoOrigin?: string | undefined;
|
|
1058
|
+
forkAuthor?: {
|
|
1059
|
+
platform: "github" | "gitlab";
|
|
1060
|
+
user: string;
|
|
1061
|
+
forkOrigin: string;
|
|
1062
|
+
} | undefined;
|
|
1063
|
+
workspaceId?: string | undefined;
|
|
1064
|
+
intentId?: string | undefined;
|
|
1065
|
+
sessionToken?: string | undefined;
|
|
1066
|
+
}>;
|
|
1067
|
+
handler: typeof preEditDecisionCheck;
|
|
1068
|
+
} | {
|
|
1069
|
+
name: string;
|
|
1070
|
+
description: string;
|
|
1071
|
+
inputSchema: import("zod").ZodObject<{
|
|
1072
|
+
forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1073
|
+
platform: import("zod").ZodEnum<["github", "gitlab"]>;
|
|
1074
|
+
user: import("zod").ZodString;
|
|
1075
|
+
forkOrigin: import("zod").ZodString;
|
|
1076
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1077
|
+
platform: "github" | "gitlab";
|
|
1078
|
+
user: string;
|
|
1079
|
+
forkOrigin: string;
|
|
1080
|
+
}, {
|
|
1081
|
+
platform: "github" | "gitlab";
|
|
1082
|
+
user: string;
|
|
1083
|
+
forkOrigin: string;
|
|
1084
|
+
}>>;
|
|
1085
|
+
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1086
|
+
decisionIds: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
1087
|
+
sessionToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1088
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1089
|
+
decisionIds: string[];
|
|
1090
|
+
forkAuthor?: {
|
|
1091
|
+
platform: "github" | "gitlab";
|
|
1092
|
+
user: string;
|
|
1093
|
+
forkOrigin: string;
|
|
1094
|
+
} | undefined;
|
|
1095
|
+
workspaceId?: string | undefined;
|
|
1096
|
+
sessionToken?: string | undefined;
|
|
1097
|
+
}, {
|
|
1098
|
+
decisionIds: string[];
|
|
1099
|
+
forkAuthor?: {
|
|
1100
|
+
platform: "github" | "gitlab";
|
|
1101
|
+
user: string;
|
|
1102
|
+
forkOrigin: string;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
workspaceId?: string | undefined;
|
|
1105
|
+
sessionToken?: string | undefined;
|
|
1106
|
+
}>;
|
|
1107
|
+
handler: typeof preEditAcknowledge;
|
|
506
1108
|
})[];
|