@kawacode/mcp 5.2.2 → 6.1.1

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.
Files changed (86) hide show
  1. package/CLAUDE.md.example +11 -3
  2. package/README.md +54 -198
  3. package/build/index.js +10 -1
  4. package/build/index.js.map +1 -1
  5. package/build/kawacode-on-pre-edit.d.ts +27 -0
  6. package/build/kawacode-on-pre-edit.js +201 -0
  7. package/build/kawacode-on-pre-edit.js.map +1 -0
  8. package/build/kawacode-on-stop.d.ts +33 -0
  9. package/build/kawacode-on-stop.js +88 -0
  10. package/build/kawacode-on-stop.js.map +1 -0
  11. package/build/pre-edit/path-resolve.d.ts +32 -0
  12. package/build/pre-edit/path-resolve.js +52 -0
  13. package/build/pre-edit/path-resolve.js.map +1 -0
  14. package/build/pre-edit/path-resolve.test.d.ts +1 -0
  15. package/build/pre-edit/path-resolve.test.js +105 -0
  16. package/build/pre-edit/path-resolve.test.js.map +1 -0
  17. package/build/prompts/intent-first-workflow.js +2 -2
  18. package/build/services/muninn-ipc.js +11 -3
  19. package/build/services/muninn-ipc.js.map +1 -1
  20. package/build/tools/_fork-fields.d.ts +84 -0
  21. package/build/tools/_fork-fields.js +65 -0
  22. package/build/tools/_fork-fields.js.map +1 -0
  23. package/build/tools/activate-intent.d.ts +66 -0
  24. package/build/tools/activate-intent.js +59 -3
  25. package/build/tools/activate-intent.js.map +1 -1
  26. package/build/tools/check-active-intent.d.ts +64 -0
  27. package/build/tools/check-active-intent.js +16 -2
  28. package/build/tools/check-active-intent.js.map +1 -1
  29. package/build/tools/complete-intent.d.ts +115 -4
  30. package/build/tools/complete-intent.js +138 -12
  31. package/build/tools/complete-intent.js.map +1 -1
  32. package/build/tools/create-intent.d.ts +73 -1
  33. package/build/tools/create-intent.js +105 -7
  34. package/build/tools/create-intent.js.map +1 -1
  35. package/build/tools/detect-intent-conflicts.d.ts +52 -0
  36. package/build/tools/detect-intent-conflicts.js +14 -10
  37. package/build/tools/detect-intent-conflicts.js.map +1 -1
  38. package/build/tools/edit-session-decision.d.ts +76 -12
  39. package/build/tools/edit-session-decision.js +11 -2
  40. package/build/tools/edit-session-decision.js.map +1 -1
  41. package/build/tools/evolve-decisions.d.ts +52 -0
  42. package/build/tools/evolve-decisions.js +14 -15
  43. package/build/tools/evolve-decisions.js.map +1 -1
  44. package/build/tools/get-intent-changes.d.ts +52 -0
  45. package/build/tools/get-intent-changes.js +4 -1
  46. package/build/tools/get-intent-changes.js.map +1 -1
  47. package/build/tools/get-intents-for-file.d.ts +52 -0
  48. package/build/tools/get-intents-for-file.js +4 -1
  49. package/build/tools/get-intents-for-file.js.map +1 -1
  50. package/build/tools/get-intents-for-lines.d.ts +52 -0
  51. package/build/tools/get-intents-for-lines.js +4 -1
  52. package/build/tools/get-intents-for-lines.js.map +1 -1
  53. package/build/tools/get-project-decisions.d.ts +52 -0
  54. package/build/tools/get-project-decisions.js +4 -1
  55. package/build/tools/get-project-decisions.js.map +1 -1
  56. package/build/tools/get-relevant-context.d.ts +54 -0
  57. package/build/tools/get-relevant-context.js +19 -24
  58. package/build/tools/get-relevant-context.js.map +1 -1
  59. package/build/tools/get-session-decisions.d.ts +53 -0
  60. package/build/tools/get-session-decisions.js +6 -2
  61. package/build/tools/get-session-decisions.js.map +1 -1
  62. package/build/tools/index.d.ts +628 -18
  63. package/build/tools/index.js +12 -3
  64. package/build/tools/index.js.map +1 -1
  65. package/build/tools/infer-history.d.ts +6 -0
  66. package/build/tools/infer-history.js +28 -15
  67. package/build/tools/infer-history.js.map +1 -1
  68. package/build/tools/list-team-intents.d.ts +58 -6
  69. package/build/tools/list-team-intents.js +5 -2
  70. package/build/tools/list-team-intents.js.map +1 -1
  71. package/build/tools/log-work.d.ts +52 -0
  72. package/build/tools/log-work.js +4 -1
  73. package/build/tools/log-work.js.map +1 -1
  74. package/build/tools/pre-edit-acknowledge.d.ts +92 -0
  75. package/build/tools/pre-edit-acknowledge.js +48 -0
  76. package/build/tools/pre-edit-acknowledge.js.map +1 -0
  77. package/build/tools/pre-edit-decision-check.d.ts +141 -0
  78. package/build/tools/pre-edit-decision-check.js +77 -0
  79. package/build/tools/pre-edit-decision-check.js.map +1 -0
  80. package/build/tools/record-decision.d.ts +94 -12
  81. package/build/tools/record-decision.js +18 -1
  82. package/build/tools/record-decision.js.map +1 -1
  83. package/build/tools/update-intent.d.ts +60 -8
  84. package/build/tools/update-intent.js +6 -1
  85. package/build/tools/update-intent.js.map +1 -1
  86. package/package.json +6 -3
@@ -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
- 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, logWorkTool, logWork, logWorkSchema, recordDecisionTool, recordDecision, recordDecisionSchema, getSessionDecisionsTool, getSessionDecisions, getSessionDecisionsSchema, getProjectDecisionsTool, getProjectDecisions, getProjectDecisionsSchema, editSessionDecisionTool, editSessionDecision, editSessionDecisionSchema, detectIntentConflictsTool, detectIntentConflicts, detectIntentConflictsSchema, inferHistoryTool, inferHistory, inferHistorySchema, evolveDecisionsTool, evolveDecisions, evolveDecisionsSchema };
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
- status?: "active" | "committed" | "pushed" | "done" | "abandoned" | undefined;
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
- status?: "active" | "committed" | "pushed" | "done" | "abandoned" | undefined;
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,103 @@ 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">>;
623
+ appliesWhen: import("zod").ZodOptional<import("zod").ZodString>;
269
624
  }, "strip", import("zod").ZodTypeAny, {
270
- repoPath: string;
271
625
  type: "abandoned" | "constraint" | "fork" | "discovery" | "tradeoff" | "dependency";
626
+ repoPath: string;
272
627
  summary: string;
273
628
  intentId: string;
274
629
  rationale: string;
630
+ source: "user" | "agent" | "extractor" | "infer_history";
275
631
  repoOrigin?: string | undefined;
632
+ forkAuthor?: {
633
+ platform: "github" | "gitlab";
634
+ user: string;
635
+ forkOrigin: string;
636
+ } | undefined;
637
+ workspaceId?: string | undefined;
276
638
  context?: string | undefined;
277
639
  alternatives?: string[] | undefined;
278
640
  consequences?: string | undefined;
279
641
  symptom?: string | undefined;
280
642
  relatedFiles?: string[] | undefined;
643
+ supersedes?: string[] | undefined;
281
644
  constraintsChecked?: string[] | undefined;
282
645
  constraintViolations?: {
646
+ reason: string;
283
647
  alternative: string;
284
648
  constraint: string;
285
- reason: string;
286
649
  }[] | undefined;
650
+ confidence?: "high" | "medium" | "low" | undefined;
651
+ sourceThoughtIds?: string[] | undefined;
652
+ appliesWhen?: string | undefined;
287
653
  }, {
288
- repoPath: string;
289
654
  type: "abandoned" | "constraint" | "fork" | "discovery" | "tradeoff" | "dependency";
655
+ repoPath: string;
290
656
  summary: string;
291
657
  rationale: string;
292
658
  repoOrigin?: string | undefined;
659
+ forkAuthor?: {
660
+ platform: "github" | "gitlab";
661
+ user: string;
662
+ forkOrigin: string;
663
+ } | undefined;
664
+ workspaceId?: string | undefined;
293
665
  context?: string | undefined;
294
666
  intentId?: string | undefined;
295
667
  alternatives?: string[] | undefined;
296
668
  consequences?: string | undefined;
297
669
  symptom?: string | undefined;
298
670
  relatedFiles?: string[] | undefined;
671
+ supersedes?: string[] | undefined;
299
672
  constraintsChecked?: string[] | undefined;
300
673
  constraintViolations?: {
674
+ reason: string;
301
675
  alternative: string;
302
676
  constraint: string;
303
- reason: string;
304
677
  }[] | undefined;
678
+ source?: "user" | "agent" | "extractor" | "infer_history" | undefined;
679
+ confidence?: "high" | "medium" | "low" | undefined;
680
+ sourceThoughtIds?: string[] | undefined;
681
+ appliesWhen?: string | undefined;
305
682
  }>;
306
683
  handler: typeof recordDecision;
307
684
  } | {
308
685
  name: string;
309
686
  description: string;
310
687
  inputSchema: import("zod").ZodObject<{
688
+ forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
689
+ platform: import("zod").ZodEnum<["github", "gitlab"]>;
690
+ user: import("zod").ZodString;
691
+ forkOrigin: import("zod").ZodString;
692
+ }, "strip", import("zod").ZodTypeAny, {
693
+ platform: "github" | "gitlab";
694
+ user: string;
695
+ forkOrigin: string;
696
+ }, {
697
+ platform: "github" | "gitlab";
698
+ user: string;
699
+ forkOrigin: string;
700
+ }>>;
701
+ workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
311
702
  repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
312
703
  repoPath: import("zod").ZodString;
313
704
  intentId: import("zod").ZodString;
@@ -315,30 +706,82 @@ export declare const allTools: ({
315
706
  repoPath: string;
316
707
  intentId: string;
317
708
  repoOrigin?: string | undefined;
709
+ forkAuthor?: {
710
+ platform: "github" | "gitlab";
711
+ user: string;
712
+ forkOrigin: string;
713
+ } | undefined;
714
+ workspaceId?: string | undefined;
318
715
  }, {
319
716
  repoPath: string;
320
717
  intentId: string;
321
718
  repoOrigin?: string | undefined;
719
+ forkAuthor?: {
720
+ platform: "github" | "gitlab";
721
+ user: string;
722
+ forkOrigin: string;
723
+ } | undefined;
724
+ workspaceId?: string | undefined;
322
725
  }>;
323
726
  handler: typeof getSessionDecisions;
324
727
  } | {
325
728
  name: string;
326
729
  description: string;
327
730
  inputSchema: import("zod").ZodObject<{
731
+ forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
732
+ platform: import("zod").ZodEnum<["github", "gitlab"]>;
733
+ user: import("zod").ZodString;
734
+ forkOrigin: import("zod").ZodString;
735
+ }, "strip", import("zod").ZodTypeAny, {
736
+ platform: "github" | "gitlab";
737
+ user: string;
738
+ forkOrigin: string;
739
+ }, {
740
+ platform: "github" | "gitlab";
741
+ user: string;
742
+ forkOrigin: string;
743
+ }>>;
744
+ workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
328
745
  repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
329
746
  repoPath: import("zod").ZodString;
330
747
  }, "strip", import("zod").ZodTypeAny, {
331
748
  repoPath: string;
332
749
  repoOrigin?: string | undefined;
750
+ forkAuthor?: {
751
+ platform: "github" | "gitlab";
752
+ user: string;
753
+ forkOrigin: string;
754
+ } | undefined;
755
+ workspaceId?: string | undefined;
333
756
  }, {
334
757
  repoPath: string;
335
758
  repoOrigin?: string | undefined;
759
+ forkAuthor?: {
760
+ platform: "github" | "gitlab";
761
+ user: string;
762
+ forkOrigin: string;
763
+ } | undefined;
764
+ workspaceId?: string | undefined;
336
765
  }>;
337
766
  handler: typeof getProjectDecisions;
338
767
  } | {
339
768
  name: string;
340
769
  description: string;
341
770
  inputSchema: import("zod").ZodObject<{
771
+ forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
772
+ platform: import("zod").ZodEnum<["github", "gitlab"]>;
773
+ user: import("zod").ZodString;
774
+ forkOrigin: import("zod").ZodString;
775
+ }, "strip", import("zod").ZodTypeAny, {
776
+ platform: "github" | "gitlab";
777
+ user: string;
778
+ forkOrigin: string;
779
+ }, {
780
+ platform: "github" | "gitlab";
781
+ user: string;
782
+ forkOrigin: string;
783
+ }>>;
784
+ workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
342
785
  repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
343
786
  repoPath: import("zod").ZodString;
344
787
  intentId: import("zod").ZodString;
@@ -357,14 +800,15 @@ export declare const allTools: ({
357
800
  constraint: import("zod").ZodString;
358
801
  reason: import("zod").ZodString;
359
802
  }, "strip", import("zod").ZodTypeAny, {
803
+ reason: string;
360
804
  alternative: string;
361
805
  constraint: string;
362
- reason: string;
363
806
  }, {
807
+ reason: string;
364
808
  alternative: string;
365
809
  constraint: string;
366
- reason: string;
367
810
  }>, "many">>;
811
+ appliesWhen: import("zod").ZodOptional<import("zod").ZodString>;
368
812
  }, "strip", import("zod").ZodTypeAny, {
369
813
  context?: string | undefined;
370
814
  summary?: string | undefined;
@@ -374,10 +818,11 @@ export declare const allTools: ({
374
818
  relatedFiles?: string[] | undefined;
375
819
  constraintsChecked?: string[] | undefined;
376
820
  constraintViolations?: {
821
+ reason: string;
377
822
  alternative: string;
378
823
  constraint: string;
379
- reason: string;
380
824
  }[] | undefined;
825
+ appliesWhen?: string | undefined;
381
826
  }, {
382
827
  context?: string | undefined;
383
828
  summary?: string | undefined;
@@ -387,10 +832,11 @@ export declare const allTools: ({
387
832
  relatedFiles?: string[] | undefined;
388
833
  constraintsChecked?: string[] | undefined;
389
834
  constraintViolations?: {
835
+ reason: string;
390
836
  alternative: string;
391
837
  constraint: string;
392
- reason: string;
393
838
  }[] | undefined;
839
+ appliesWhen?: string | undefined;
394
840
  }>>;
395
841
  }, "strip", import("zod").ZodTypeAny, {
396
842
  repoPath: string;
@@ -398,6 +844,12 @@ export declare const allTools: ({
398
844
  action: "update" | "delete";
399
845
  decisionId: string;
400
846
  repoOrigin?: string | undefined;
847
+ forkAuthor?: {
848
+ platform: "github" | "gitlab";
849
+ user: string;
850
+ forkOrigin: string;
851
+ } | undefined;
852
+ workspaceId?: string | undefined;
401
853
  updates?: {
402
854
  context?: string | undefined;
403
855
  summary?: string | undefined;
@@ -407,10 +859,11 @@ export declare const allTools: ({
407
859
  relatedFiles?: string[] | undefined;
408
860
  constraintsChecked?: string[] | undefined;
409
861
  constraintViolations?: {
862
+ reason: string;
410
863
  alternative: string;
411
864
  constraint: string;
412
- reason: string;
413
865
  }[] | undefined;
866
+ appliesWhen?: string | undefined;
414
867
  } | undefined;
415
868
  }, {
416
869
  repoPath: string;
@@ -418,6 +871,12 @@ export declare const allTools: ({
418
871
  action: "update" | "delete";
419
872
  decisionId: string;
420
873
  repoOrigin?: string | undefined;
874
+ forkAuthor?: {
875
+ platform: "github" | "gitlab";
876
+ user: string;
877
+ forkOrigin: string;
878
+ } | undefined;
879
+ workspaceId?: string | undefined;
421
880
  updates?: {
422
881
  context?: string | undefined;
423
882
  summary?: string | undefined;
@@ -427,10 +886,11 @@ export declare const allTools: ({
427
886
  relatedFiles?: string[] | undefined;
428
887
  constraintsChecked?: string[] | undefined;
429
888
  constraintViolations?: {
889
+ reason: string;
430
890
  alternative: string;
431
891
  constraint: string;
432
- reason: string;
433
892
  }[] | undefined;
893
+ appliesWhen?: string | undefined;
434
894
  } | undefined;
435
895
  }>;
436
896
  handler: typeof editSessionDecision;
@@ -438,6 +898,20 @@ export declare const allTools: ({
438
898
  name: string;
439
899
  description: string;
440
900
  inputSchema: import("zod").ZodObject<{
901
+ forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
902
+ platform: import("zod").ZodEnum<["github", "gitlab"]>;
903
+ user: import("zod").ZodString;
904
+ forkOrigin: import("zod").ZodString;
905
+ }, "strip", import("zod").ZodTypeAny, {
906
+ platform: "github" | "gitlab";
907
+ user: string;
908
+ forkOrigin: string;
909
+ }, {
910
+ platform: "github" | "gitlab";
911
+ user: string;
912
+ forkOrigin: string;
913
+ }>>;
914
+ workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
441
915
  repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
442
916
  repoPath: import("zod").ZodString;
443
917
  intentId: import("zod").ZodString;
@@ -446,11 +920,23 @@ export declare const allTools: ({
446
920
  repoPath: string;
447
921
  intentId: string;
448
922
  repoOrigin?: string | undefined;
923
+ forkAuthor?: {
924
+ platform: "github" | "gitlab";
925
+ user: string;
926
+ forkOrigin: string;
927
+ } | undefined;
928
+ workspaceId?: string | undefined;
449
929
  minScore?: number | undefined;
450
930
  }, {
451
931
  repoPath: string;
452
932
  intentId: string;
453
933
  repoOrigin?: string | undefined;
934
+ forkAuthor?: {
935
+ platform: "github" | "gitlab";
936
+ user: string;
937
+ forkOrigin: string;
938
+ } | undefined;
939
+ workspaceId?: string | undefined;
454
940
  minScore?: number | undefined;
455
941
  }>;
456
942
  handler: typeof detectIntentConflicts;
@@ -460,6 +946,7 @@ export declare const allTools: ({
460
946
  inputSchema: import("zod").ZodObject<{
461
947
  repoPath: import("zod").ZodString;
462
948
  commits: import("zod").ZodOptional<import("zod").ZodNumber>;
949
+ commitRange: import("zod").ZodOptional<import("zod").ZodString>;
463
950
  contextIssues: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
464
951
  model: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
465
952
  maxStories: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
@@ -473,9 +960,11 @@ export declare const allTools: ({
473
960
  allowCommitSplitting: boolean;
474
961
  estimateOnly: boolean;
475
962
  commits?: number | undefined;
963
+ commitRange?: string | undefined;
476
964
  }, {
477
965
  repoPath: string;
478
966
  commits?: number | undefined;
967
+ commitRange?: string | undefined;
479
968
  contextIssues?: boolean | undefined;
480
969
  model?: string | undefined;
481
970
  maxStories?: number | undefined;
@@ -487,6 +976,20 @@ export declare const allTools: ({
487
976
  name: string;
488
977
  description: string;
489
978
  inputSchema: import("zod").ZodObject<{
979
+ forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
980
+ platform: import("zod").ZodEnum<["github", "gitlab"]>;
981
+ user: import("zod").ZodString;
982
+ forkOrigin: import("zod").ZodString;
983
+ }, "strip", import("zod").ZodTypeAny, {
984
+ platform: "github" | "gitlab";
985
+ user: string;
986
+ forkOrigin: string;
987
+ }, {
988
+ platform: "github" | "gitlab";
989
+ user: string;
990
+ forkOrigin: string;
991
+ }>>;
992
+ workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
490
993
  stories: import("zod").ZodArray<import("zod").ZodAny, "many">;
491
994
  model: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
492
995
  repoPath: import("zod").ZodOptional<import("zod").ZodString>;
@@ -496,11 +999,118 @@ export declare const allTools: ({
496
999
  stories: any[];
497
1000
  repoOrigin?: string | undefined;
498
1001
  repoPath?: string | undefined;
1002
+ forkAuthor?: {
1003
+ platform: "github" | "gitlab";
1004
+ user: string;
1005
+ forkOrigin: string;
1006
+ } | undefined;
1007
+ workspaceId?: string | undefined;
499
1008
  }, {
500
1009
  stories: any[];
501
1010
  repoOrigin?: string | undefined;
502
1011
  repoPath?: string | undefined;
1012
+ forkAuthor?: {
1013
+ platform: "github" | "gitlab";
1014
+ user: string;
1015
+ forkOrigin: string;
1016
+ } | undefined;
1017
+ workspaceId?: string | undefined;
503
1018
  model?: string | undefined;
504
1019
  }>;
505
1020
  handler: typeof evolveDecisions;
1021
+ } | {
1022
+ name: string;
1023
+ description: string;
1024
+ inputSchema: import("zod").ZodObject<{
1025
+ forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
1026
+ platform: import("zod").ZodEnum<["github", "gitlab"]>;
1027
+ user: import("zod").ZodString;
1028
+ forkOrigin: import("zod").ZodString;
1029
+ }, "strip", import("zod").ZodTypeAny, {
1030
+ platform: "github" | "gitlab";
1031
+ user: string;
1032
+ forkOrigin: string;
1033
+ }, {
1034
+ platform: "github" | "gitlab";
1035
+ user: string;
1036
+ forkOrigin: string;
1037
+ }>>;
1038
+ workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
1039
+ repoOrigin: import("zod").ZodOptional<import("zod").ZodString>;
1040
+ repoPath: import("zod").ZodString;
1041
+ filePath: import("zod").ZodString;
1042
+ startLine: import("zod").ZodNumber;
1043
+ endLine: import("zod").ZodNumber;
1044
+ intentId: import("zod").ZodOptional<import("zod").ZodString>;
1045
+ sessionToken: import("zod").ZodOptional<import("zod").ZodString>;
1046
+ }, "strip", import("zod").ZodTypeAny, {
1047
+ repoPath: string;
1048
+ filePath: string;
1049
+ startLine: number;
1050
+ endLine: number;
1051
+ repoOrigin?: string | undefined;
1052
+ forkAuthor?: {
1053
+ platform: "github" | "gitlab";
1054
+ user: string;
1055
+ forkOrigin: string;
1056
+ } | undefined;
1057
+ workspaceId?: string | undefined;
1058
+ intentId?: string | undefined;
1059
+ sessionToken?: string | undefined;
1060
+ }, {
1061
+ repoPath: string;
1062
+ filePath: string;
1063
+ startLine: number;
1064
+ endLine: number;
1065
+ repoOrigin?: string | undefined;
1066
+ forkAuthor?: {
1067
+ platform: "github" | "gitlab";
1068
+ user: string;
1069
+ forkOrigin: string;
1070
+ } | undefined;
1071
+ workspaceId?: string | undefined;
1072
+ intentId?: string | undefined;
1073
+ sessionToken?: string | undefined;
1074
+ }>;
1075
+ handler: typeof preEditDecisionCheck;
1076
+ } | {
1077
+ name: string;
1078
+ description: string;
1079
+ inputSchema: import("zod").ZodObject<{
1080
+ forkAuthor: import("zod").ZodOptional<import("zod").ZodObject<{
1081
+ platform: import("zod").ZodEnum<["github", "gitlab"]>;
1082
+ user: import("zod").ZodString;
1083
+ forkOrigin: import("zod").ZodString;
1084
+ }, "strip", import("zod").ZodTypeAny, {
1085
+ platform: "github" | "gitlab";
1086
+ user: string;
1087
+ forkOrigin: string;
1088
+ }, {
1089
+ platform: "github" | "gitlab";
1090
+ user: string;
1091
+ forkOrigin: string;
1092
+ }>>;
1093
+ workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
1094
+ decisionIds: import("zod").ZodArray<import("zod").ZodString, "many">;
1095
+ sessionToken: import("zod").ZodOptional<import("zod").ZodString>;
1096
+ }, "strip", import("zod").ZodTypeAny, {
1097
+ decisionIds: string[];
1098
+ forkAuthor?: {
1099
+ platform: "github" | "gitlab";
1100
+ user: string;
1101
+ forkOrigin: string;
1102
+ } | undefined;
1103
+ workspaceId?: string | undefined;
1104
+ sessionToken?: string | undefined;
1105
+ }, {
1106
+ decisionIds: string[];
1107
+ forkAuthor?: {
1108
+ platform: "github" | "gitlab";
1109
+ user: string;
1110
+ forkOrigin: string;
1111
+ } | undefined;
1112
+ workspaceId?: string | undefined;
1113
+ sessionToken?: string | undefined;
1114
+ }>;
1115
+ handler: typeof preEditAcknowledge;
506
1116
  })[];