@andrebuzeli/git-mcp 2.48.0 → 3.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.
Files changed (40) hide show
  1. package/README.md +356 -329
  2. package/dist/server.d.ts.map +1 -1
  3. package/dist/server.js +55 -78
  4. package/dist/server.js.map +1 -1
  5. package/dist/tools/git-commits.d.ts +2 -2
  6. package/dist/tools/git-config.d.ts +2 -2
  7. package/dist/tools/git-files.d.ts +2 -2
  8. package/dist/tools/git-issues.d.ts +6 -6
  9. package/dist/tools/git-packages.d.ts +2 -2
  10. package/dist/tools/git-projects.d.ts +142 -57
  11. package/dist/tools/git-projects.d.ts.map +1 -1
  12. package/dist/tools/git-projects.js +281 -283
  13. package/dist/tools/git-projects.js.map +1 -1
  14. package/dist/tools/git-pulls.d.ts +8 -8
  15. package/dist/tools/git-releases.d.ts +2 -2
  16. package/dist/tools/git-remote.d.ts +2 -2
  17. package/dist/tools/git-repositories.d.ts +4 -4
  18. package/dist/tools/git-sync.d.ts +4 -4
  19. package/dist/tools/git-tags.d.ts +2 -2
  20. package/dist/tools/git-undo.d.ts +268 -0
  21. package/dist/tools/git-undo.d.ts.map +1 -0
  22. package/dist/tools/git-undo.js +516 -0
  23. package/dist/tools/git-undo.js.map +1 -0
  24. package/dist/tools/git-update-project.d.ts +4 -159
  25. package/dist/tools/git-update-project.d.ts.map +1 -1
  26. package/dist/tools/git-update-project.js +7 -349
  27. package/dist/tools/git-update-project.js.map +1 -1
  28. package/dist/tools/git-versioning.d.ts +286 -0
  29. package/dist/tools/git-versioning.d.ts.map +1 -0
  30. package/dist/tools/git-versioning.js +483 -0
  31. package/dist/tools/git-versioning.js.map +1 -0
  32. package/dist/tools/git-workflow.d.ts +230 -252
  33. package/dist/tools/git-workflow.d.ts.map +1 -1
  34. package/dist/tools/git-workflow.js +452 -479
  35. package/dist/tools/git-workflow.js.map +1 -1
  36. package/package.json +4 -13
  37. package/dist/tools/git-publish.d.ts +0 -327
  38. package/dist/tools/git-publish.d.ts.map +0 -1
  39. package/dist/tools/git-publish.js +0 -632
  40. package/dist/tools/git-publish.js.map +0 -1
@@ -2,159 +2,217 @@ import { z } from 'zod';
2
2
  /**
3
3
  * Tool: git-workflow
4
4
  *
5
- * DESCRIÇÃO:
6
- * Automação completa de workflows de desenvolvimento para programadores individuais autônomos
5
+ * FERRAMENTA UNIFICADA PARA WORKFLOW GIT COMPLETO
6
+ * Combina as funcionalidades essenciais de:
7
+ * - git-update-project (init, update, sync)
8
+ * - git-commits (create, push, pull)
9
+ * - git-stash (save, apply, list)
10
+ * - git-reset (soft, mixed, hard)
7
11
  *
8
- * FUNCIONALIDADES:
9
- * - Setup inicial automatizado de projetos
10
- * - Workflows diários de desenvolvimento
11
- * - Gerenciamento de features automatizado
12
- * - Processos de release completos
13
- * - Limpeza automática de repositórios
14
- * - Templates para diferentes tipos de projeto
15
- *
16
- * USO:
17
- * - Automação de todo o ciclo de desenvolvimento
18
- * - Setup consistente de novos projetos
19
- * - Workflows padronizados
20
- * - Eliminação de tarefas manuais repetitivas
21
- *
22
- * OTIMIZADO PARA AI AGENTS:
23
- * - Interface simples e intuitiva
24
- * - Auto-detecção de contexto
25
- * - Validação automática
26
- * - Error handling robusto
27
- * - Workflows em uma única chamada
12
+ * DESIGNED FOR: Programador individual autônomo
13
+ * PHILOSOPHY: Simplicidade + Funcionalidade + Error Handling Robusto
28
14
  */
29
15
  declare const GitWorkflowInputSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
30
- action: z.ZodLiteral<"setup-project">;
16
+ action: z.ZodLiteral<"init">;
31
17
  repo: z.ZodString;
32
- provider: z.ZodEnum<["gitea", "github"]>;
33
18
  projectPath: z.ZodString;
34
- template: z.ZodDefault<z.ZodOptional<z.ZodEnum<["node-api", "react-app", "python-package", "go-service", "rust-binary"]>>>;
35
- platforms: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["npm", "github", "docker", "pypi"]>, "many">>>;
36
- autoConfigure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
19
+ provider: z.ZodEnum<["gitea", "github"]>;
20
+ message: z.ZodString;
37
21
  createRemote: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
38
- initGit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
22
+ branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
39
23
  }, "strip", z.ZodTypeAny, {
40
24
  provider: "gitea" | "github";
25
+ message: string;
41
26
  repo: string;
42
- action: "setup-project";
27
+ action: "init";
28
+ branch: string;
43
29
  projectPath: string;
44
30
  createRemote: boolean;
45
- platforms: ("github" | "npm" | "docker" | "pypi")[];
46
- template: "node-api" | "react-app" | "python-package" | "go-service" | "rust-binary";
47
- autoConfigure: boolean;
48
- initGit: boolean;
49
31
  }, {
50
32
  provider: "gitea" | "github";
33
+ message: string;
51
34
  repo: string;
52
- action: "setup-project";
35
+ action: "init";
53
36
  projectPath: string;
37
+ branch?: string | undefined;
54
38
  createRemote?: boolean | undefined;
55
- platforms?: ("github" | "npm" | "docker" | "pypi")[] | undefined;
56
- template?: "node-api" | "react-app" | "python-package" | "go-service" | "rust-binary" | undefined;
57
- autoConfigure?: boolean | undefined;
58
- initGit?: boolean | undefined;
59
39
  }>, z.ZodObject<{
60
- action: z.ZodLiteral<"daily-dev">;
40
+ action: z.ZodLiteral<"commit">;
41
+ projectPath: z.ZodString;
42
+ message: z.ZodString;
43
+ addAll: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
44
+ push: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
45
+ branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
46
+ provider: z.ZodOptional<z.ZodEnum<["gitea", "github"]>>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ push: boolean;
49
+ message: string;
50
+ action: "commit";
51
+ branch: string;
52
+ projectPath: string;
53
+ addAll: boolean;
54
+ provider?: "gitea" | "github" | undefined;
55
+ }, {
56
+ message: string;
57
+ action: "commit";
58
+ projectPath: string;
59
+ provider?: "gitea" | "github" | undefined;
60
+ push?: boolean | undefined;
61
+ branch?: string | undefined;
62
+ addAll?: boolean | undefined;
63
+ }>, z.ZodObject<{
64
+ action: z.ZodLiteral<"sync">;
65
+ repo: z.ZodString;
66
+ projectPath: z.ZodString;
67
+ provider: z.ZodEnum<["gitea", "github"]>;
68
+ message: z.ZodString;
69
+ branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
70
+ forcePush: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ provider: "gitea" | "github";
73
+ message: string;
74
+ repo: string;
75
+ action: "sync";
76
+ branch: string;
77
+ projectPath: string;
78
+ forcePush: boolean;
79
+ }, {
80
+ provider: "gitea" | "github";
81
+ message: string;
82
+ repo: string;
83
+ action: "sync";
84
+ projectPath: string;
85
+ branch?: string | undefined;
86
+ forcePush?: boolean | undefined;
87
+ }>, z.ZodObject<{
88
+ action: z.ZodLiteral<"status">;
89
+ projectPath: z.ZodString;
90
+ detailed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ action: "status";
93
+ projectPath: string;
94
+ detailed: boolean;
95
+ }, {
96
+ action: "status";
97
+ projectPath: string;
98
+ detailed?: boolean | undefined;
99
+ }>, z.ZodObject<{
100
+ action: z.ZodLiteral<"diff">;
101
+ projectPath: z.ZodString;
102
+ staged: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
103
+ file: z.ZodOptional<z.ZodString>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ action: "diff";
106
+ projectPath: string;
107
+ staged: boolean;
108
+ file?: string | undefined;
109
+ }, {
110
+ action: "diff";
111
+ projectPath: string;
112
+ file?: string | undefined;
113
+ staged?: boolean | undefined;
114
+ }>, z.ZodObject<{
115
+ action: z.ZodLiteral<"log">;
116
+ projectPath: z.ZodString;
117
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
118
+ oneline: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ limit: number;
121
+ action: "log";
122
+ projectPath: string;
123
+ oneline: boolean;
124
+ }, {
125
+ action: "log";
126
+ projectPath: string;
127
+ limit?: number | undefined;
128
+ oneline?: boolean | undefined;
129
+ }>, z.ZodObject<{
130
+ action: z.ZodLiteral<"stash">;
131
+ projectPath: z.ZodString;
132
+ name: z.ZodOptional<z.ZodString>;
133
+ includeUntracked: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ action: "stash";
136
+ projectPath: string;
137
+ includeUntracked: boolean;
138
+ name?: string | undefined;
139
+ }, {
140
+ action: "stash";
141
+ projectPath: string;
142
+ name?: string | undefined;
143
+ includeUntracked?: boolean | undefined;
144
+ }>, z.ZodObject<{
145
+ action: z.ZodLiteral<"stash-list">;
61
146
  projectPath: z.ZodString;
62
- autoCommit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
63
- autoPush: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
64
- createBackup: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
65
- runTests: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
66
- checkLint: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
67
147
  }, "strip", z.ZodTypeAny, {
68
- action: "daily-dev";
148
+ action: "stash-list";
69
149
  projectPath: string;
70
- autoPush: boolean;
71
- createBackup: boolean;
72
- runTests: boolean;
73
- autoCommit: boolean;
74
- checkLint: boolean;
75
150
  }, {
76
- action: "daily-dev";
151
+ action: "stash-list";
77
152
  projectPath: string;
78
- autoPush?: boolean | undefined;
79
- createBackup?: boolean | undefined;
80
- runTests?: boolean | undefined;
81
- autoCommit?: boolean | undefined;
82
- checkLint?: boolean | undefined;
83
153
  }>, z.ZodObject<{
84
- action: z.ZodLiteral<"feature-dev">;
154
+ action: z.ZodLiteral<"stash-apply">;
85
155
  projectPath: z.ZodString;
86
- featureName: z.ZodString;
87
- createBranch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
88
- baseBranch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
89
- mergeWhenReady: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
90
- runTests: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
91
- createPR: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
156
+ index: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
92
157
  }, "strip", z.ZodTypeAny, {
93
- action: "feature-dev";
158
+ action: "stash-apply";
94
159
  projectPath: string;
95
- runTests: boolean;
96
- createBranch: boolean;
97
- featureName: string;
98
- baseBranch: string;
99
- mergeWhenReady: boolean;
100
- createPR: boolean;
160
+ index: number;
101
161
  }, {
102
- action: "feature-dev";
162
+ action: "stash-apply";
103
163
  projectPath: string;
104
- featureName: string;
105
- runTests?: boolean | undefined;
106
- createBranch?: boolean | undefined;
107
- baseBranch?: string | undefined;
108
- mergeWhenReady?: boolean | undefined;
109
- createPR?: boolean | undefined;
164
+ index?: number | undefined;
110
165
  }>, z.ZodObject<{
111
- action: z.ZodLiteral<"release-workflow">;
166
+ action: z.ZodLiteral<"reset">;
112
167
  projectPath: z.ZodString;
113
- version: z.ZodOptional<z.ZodString>;
114
- platforms: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["npm", "github", "docker", "pypi"]>, "many">>>;
115
- createTag: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
116
- createRelease: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
117
- updateChangelog: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
118
- runTests: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
168
+ mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["soft", "mixed", "hard"]>>>;
169
+ commit: z.ZodOptional<z.ZodString>;
170
+ confirm: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
119
171
  }, "strip", z.ZodTypeAny, {
120
- action: "release-workflow";
172
+ action: "reset";
121
173
  projectPath: string;
122
- platforms: ("github" | "npm" | "docker" | "pypi")[];
123
- runTests: boolean;
124
- createTag: boolean;
125
- createRelease: boolean;
126
- updateChangelog: boolean;
127
- version?: string | undefined;
174
+ mode: "soft" | "hard" | "mixed";
175
+ confirm: boolean;
176
+ commit?: string | undefined;
128
177
  }, {
129
- action: "release-workflow";
178
+ action: "reset";
130
179
  projectPath: string;
131
- version?: string | undefined;
132
- platforms?: ("github" | "npm" | "docker" | "pypi")[] | undefined;
133
- runTests?: boolean | undefined;
134
- createTag?: boolean | undefined;
135
- createRelease?: boolean | undefined;
136
- updateChangelog?: boolean | undefined;
180
+ commit?: string | undefined;
181
+ mode?: "soft" | "hard" | "mixed" | undefined;
182
+ confirm?: boolean | undefined;
137
183
  }>, z.ZodObject<{
138
- action: z.ZodLiteral<"cleanup-workflow">;
184
+ action: z.ZodLiteral<"pull">;
139
185
  projectPath: z.ZodString;
140
- removeMergedBranches: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
141
- removeOldBackups: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
142
- optimizeRepository: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
143
- daysOld: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
186
+ branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
187
+ provider: z.ZodOptional<z.ZodEnum<["gitea", "github"]>>;
144
188
  }, "strip", z.ZodTypeAny, {
145
- action: "cleanup-workflow";
189
+ action: "pull";
190
+ branch: string;
146
191
  projectPath: string;
147
- removeMergedBranches: boolean;
148
- removeOldBackups: boolean;
149
- optimizeRepository: boolean;
150
- daysOld: number;
192
+ provider?: "gitea" | "github" | undefined;
151
193
  }, {
152
- action: "cleanup-workflow";
194
+ action: "pull";
195
+ projectPath: string;
196
+ provider?: "gitea" | "github" | undefined;
197
+ branch?: string | undefined;
198
+ }>, z.ZodObject<{
199
+ action: z.ZodLiteral<"push">;
200
+ projectPath: z.ZodString;
201
+ branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
202
+ provider: z.ZodOptional<z.ZodEnum<["gitea", "github"]>>;
203
+ force: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
204
+ }, "strip", z.ZodTypeAny, {
205
+ action: "push";
206
+ branch: string;
207
+ force: boolean;
153
208
  projectPath: string;
154
- removeMergedBranches?: boolean | undefined;
155
- removeOldBackups?: boolean | undefined;
156
- optimizeRepository?: boolean | undefined;
157
- daysOld?: number | undefined;
209
+ provider?: "gitea" | "github" | undefined;
210
+ }, {
211
+ action: "push";
212
+ projectPath: string;
213
+ provider?: "gitea" | "github" | undefined;
214
+ branch?: string | undefined;
215
+ force?: boolean | undefined;
158
216
  }>]>;
159
217
  export type GitWorkflowInput = z.infer<typeof GitWorkflowInputSchema>;
160
218
  declare const GitWorkflowResultSchema: z.ZodObject<{
@@ -163,18 +221,24 @@ declare const GitWorkflowResultSchema: z.ZodObject<{
163
221
  message: z.ZodString;
164
222
  data: z.ZodOptional<z.ZodAny>;
165
223
  error: z.ZodOptional<z.ZodString>;
224
+ recoverable: z.ZodOptional<z.ZodBoolean>;
225
+ suggestion: z.ZodOptional<z.ZodString>;
166
226
  }, "strip", z.ZodTypeAny, {
167
227
  message: string;
168
228
  action: string;
169
229
  success: boolean;
170
230
  error?: string | undefined;
171
231
  data?: any;
232
+ recoverable?: boolean | undefined;
233
+ suggestion?: string | undefined;
172
234
  }, {
173
235
  message: string;
174
236
  action: string;
175
237
  success: boolean;
176
238
  error?: string | undefined;
177
239
  data?: any;
240
+ recoverable?: boolean | undefined;
241
+ suggestion?: string | undefined;
178
242
  }>;
179
243
  export type GitWorkflowResult = z.infer<typeof GitWorkflowResultSchema>;
180
244
  export declare const gitWorkflowTool: {
@@ -192,224 +256,138 @@ export declare const gitWorkflowTool: {
192
256
  type: string;
193
257
  description: string;
194
258
  };
195
- provider: {
196
- type: string;
197
- enum: string[];
198
- description: string;
199
- };
200
259
  projectPath: {
201
260
  type: string;
202
261
  description: string;
203
262
  };
204
- template: {
263
+ provider: {
205
264
  type: string;
206
265
  enum: string[];
207
266
  description: string;
208
- default: string;
209
267
  };
210
- platforms: {
268
+ message: {
211
269
  type: string;
212
- items: {
213
- type: string;
214
- enum: string[];
215
- };
216
270
  description: string;
217
- default: string[];
218
- };
219
- autoConfigure: {
220
- type: string;
221
- description: string;
222
- default: boolean;
223
271
  };
224
272
  createRemote: {
225
273
  type: string;
226
274
  description: string;
227
275
  default: boolean;
228
276
  };
229
- initGit: {
277
+ branch: {
230
278
  type: string;
231
279
  description: string;
232
- default: boolean;
233
- };
234
- autoCommit: {
235
- type: string;
236
- description: string;
237
- default: boolean;
280
+ default: string;
238
281
  };
239
- autoPush: {
282
+ addAll: {
240
283
  type: string;
241
284
  description: string;
242
285
  default: boolean;
243
286
  };
244
- createBackup: {
287
+ push: {
245
288
  type: string;
246
289
  description: string;
247
290
  default: boolean;
248
291
  };
249
- runTests: {
292
+ forcePush: {
250
293
  type: string;
251
294
  description: string;
252
295
  default: boolean;
253
296
  };
254
- checkLint: {
297
+ detailed: {
255
298
  type: string;
256
299
  description: string;
257
300
  default: boolean;
258
301
  };
259
- featureName: {
260
- type: string;
261
- description: string;
262
- };
263
- createBranch: {
302
+ staged: {
264
303
  type: string;
265
304
  description: string;
266
305
  default: boolean;
267
306
  };
268
- baseBranch: {
307
+ file: {
269
308
  type: string;
270
309
  description: string;
271
- default: string;
272
310
  };
273
- mergeWhenReady: {
311
+ limit: {
274
312
  type: string;
275
313
  description: string;
276
- default: boolean;
314
+ default: number;
277
315
  };
278
- createPR: {
316
+ oneline: {
279
317
  type: string;
280
318
  description: string;
281
319
  default: boolean;
282
320
  };
283
- version: {
321
+ name: {
284
322
  type: string;
285
323
  description: string;
286
324
  };
287
- createTag: {
325
+ includeUntracked: {
288
326
  type: string;
289
327
  description: string;
290
328
  default: boolean;
291
329
  };
292
- createRelease: {
330
+ index: {
293
331
  type: string;
294
332
  description: string;
295
- default: boolean;
296
- };
297
- updateChangelog: {
298
- type: string;
299
- description: string;
300
- default: boolean;
333
+ default: number;
301
334
  };
302
- removeMergedBranches: {
335
+ mode: {
303
336
  type: string;
337
+ enum: string[];
304
338
  description: string;
305
- default: boolean;
339
+ default: string;
306
340
  };
307
- removeOldBackups: {
341
+ confirm: {
308
342
  type: string;
309
343
  description: string;
310
344
  default: boolean;
311
345
  };
312
- optimizeRepository: {
346
+ force: {
313
347
  type: string;
314
348
  description: string;
315
349
  default: boolean;
316
350
  };
317
- daysOld: {
318
- type: string;
319
- description: string;
320
- default: number;
321
- };
322
351
  };
323
352
  required: string[];
324
353
  };
325
354
  handler(input: GitWorkflowInput): Promise<GitWorkflowResult>;
326
- handleSetupProject(params: GitWorkflowInput & {
327
- action: "setup-project";
355
+ handleInit(params: GitWorkflowInput & {
356
+ action: "init";
357
+ }): Promise<GitWorkflowResult>;
358
+ handleCommit(params: GitWorkflowInput & {
359
+ action: "commit";
360
+ }): Promise<GitWorkflowResult>;
361
+ handleSync(params: GitWorkflowInput & {
362
+ action: "sync";
363
+ }): Promise<GitWorkflowResult>;
364
+ handleStatus(params: GitWorkflowInput & {
365
+ action: "status";
366
+ }): Promise<GitWorkflowResult>;
367
+ handleDiff(params: GitWorkflowInput & {
368
+ action: "diff";
369
+ }): Promise<GitWorkflowResult>;
370
+ handleLog(params: GitWorkflowInput & {
371
+ action: "log";
372
+ }): Promise<GitWorkflowResult>;
373
+ handleStash(params: GitWorkflowInput & {
374
+ action: "stash";
375
+ }): Promise<GitWorkflowResult>;
376
+ handleStashList(params: GitWorkflowInput & {
377
+ action: "stash-list";
328
378
  }): Promise<GitWorkflowResult>;
329
- handleDailyDev(params: GitWorkflowInput & {
330
- action: "daily-dev";
379
+ handleStashApply(params: GitWorkflowInput & {
380
+ action: "stash-apply";
331
381
  }): Promise<GitWorkflowResult>;
332
- handleFeatureDev(params: GitWorkflowInput & {
333
- action: "feature-dev";
382
+ handleReset(params: GitWorkflowInput & {
383
+ action: "reset";
334
384
  }): Promise<GitWorkflowResult>;
335
- handleReleaseWorkflow(params: GitWorkflowInput & {
336
- action: "release-workflow";
385
+ handlePull(params: GitWorkflowInput & {
386
+ action: "pull";
337
387
  }): Promise<GitWorkflowResult>;
338
- handleCleanupWorkflow(params: GitWorkflowInput & {
339
- action: "cleanup-workflow";
388
+ handlePush(params: GitWorkflowInput & {
389
+ action: "push";
340
390
  }): Promise<GitWorkflowResult>;
341
- initializeGit(projectPath: string): Promise<{
342
- success: boolean;
343
- error?: string;
344
- }>;
345
- createRemoteRepository(repo: string, provider: string, projectPath: string): Promise<{
346
- success: boolean;
347
- error?: string;
348
- }>;
349
- applyTemplate(projectPath: string, template: string): Promise<{
350
- success: boolean;
351
- error?: string;
352
- }>;
353
- autoConfigureProject(projectPath: string, template: string, platforms: string[]): Promise<{
354
- success: boolean;
355
- error?: string;
356
- }>;
357
- createBackup(projectPath: string): Promise<{
358
- success: boolean;
359
- error?: string;
360
- }>;
361
- runTests(projectPath: string): Promise<{
362
- success: boolean;
363
- error?: string;
364
- }>;
365
- checkLinting(projectPath: string): Promise<{
366
- success: boolean;
367
- error?: string;
368
- }>;
369
- smartCommit(projectPath: string): Promise<{
370
- success: boolean;
371
- error?: string;
372
- }>;
373
- pushChanges(projectPath: string): Promise<{
374
- success: boolean;
375
- error?: string;
376
- }>;
377
- createFeatureBranch(projectPath: string, featureName: string, baseBranch: string): Promise<{
378
- success: boolean;
379
- error?: string;
380
- }>;
381
- mergeFeature(projectPath: string, featureName: string, baseBranch: string): Promise<{
382
- success: boolean;
383
- error?: string;
384
- }>;
385
- createPullRequest(projectPath: string, featureName: string): Promise<{
386
- success: boolean;
387
- error?: string;
388
- }>;
389
- updateChangelog(projectPath: string, version?: string): Promise<{
390
- success: boolean;
391
- error?: string;
392
- }>;
393
- createReleaseTag(projectPath: string, version: string): Promise<{
394
- success: boolean;
395
- error?: string;
396
- }>;
397
- createRelease(projectPath: string, version: string, platforms: string[]): Promise<{
398
- success: boolean;
399
- error?: string;
400
- }>;
401
- removeMergedBranches(projectPath: string): Promise<{
402
- success: boolean;
403
- error?: string;
404
- }>;
405
- removeOldBackups(projectPath: string, daysOld: number): Promise<{
406
- success: boolean;
407
- error?: string;
408
- }>;
409
- optimizeRepository(projectPath: string): Promise<{
410
- success: boolean;
411
- error?: string;
412
- }>;
413
391
  };
414
392
  export {};
415
393
  //# sourceMappingURL=git-workflow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-workflow.d.ts","sourceRoot":"","sources":["../../src/tools/git-workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0D1B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;EAM3B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAmDL,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;+BA6BjC,gBAAgB,GAAG;QAAE,MAAM,EAAE,eAAe,CAAA;KAAE,GAAG,OAAO,CAAC,iBAAiB,CAAC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