vibeman 0.0.0 → 0.0.2

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 (230) hide show
  1. package/README.md +12 -0
  2. package/dist/index.js +114 -0
  3. package/dist/runtime/api/.tsbuildinfo +1 -0
  4. package/dist/runtime/api/agent/agent-service.d.ts +224 -0
  5. package/dist/runtime/api/agent/agent-service.js +895 -0
  6. package/dist/runtime/api/agent/ai-providers/claude-code-adapter.d.ts +61 -0
  7. package/dist/runtime/api/agent/ai-providers/claude-code-adapter.js +362 -0
  8. package/dist/runtime/api/agent/ai-providers/codex-cli-provider.d.ts +34 -0
  9. package/dist/runtime/api/agent/ai-providers/codex-cli-provider.js +315 -0
  10. package/dist/runtime/api/agent/ai-providers/index.d.ts +9 -0
  11. package/dist/runtime/api/agent/ai-providers/index.js +7 -0
  12. package/dist/runtime/api/agent/ai-providers/types.d.ts +182 -0
  13. package/dist/runtime/api/agent/ai-providers/types.js +5 -0
  14. package/dist/runtime/api/agent/codex-cli-provider.test.d.ts +1 -0
  15. package/dist/runtime/api/agent/codex-cli-provider.test.js +125 -0
  16. package/dist/runtime/api/agent/core-agent-service.d.ts +119 -0
  17. package/dist/runtime/api/agent/core-agent-service.js +267 -0
  18. package/dist/runtime/api/agent/parsers.d.ts +16 -0
  19. package/dist/runtime/api/agent/parsers.js +308 -0
  20. package/dist/runtime/api/agent/prompt-service.d.ts +30 -0
  21. package/dist/runtime/api/agent/prompt-service.js +449 -0
  22. package/dist/runtime/api/agent/prompt-service.test.d.ts +1 -0
  23. package/dist/runtime/api/agent/prompt-service.test.js +230 -0
  24. package/dist/runtime/api/agent/routing-policy.d.ts +188 -0
  25. package/dist/runtime/api/agent/routing-policy.js +246 -0
  26. package/dist/runtime/api/api/router-helpers.d.ts +32 -0
  27. package/dist/runtime/api/api/router-helpers.js +31 -0
  28. package/dist/runtime/api/api/routers/ai.d.ts +188 -0
  29. package/dist/runtime/api/api/routers/ai.js +395 -0
  30. package/dist/runtime/api/api/routers/executions.d.ts +98 -0
  31. package/dist/runtime/api/api/routers/executions.js +94 -0
  32. package/dist/runtime/api/api/routers/git.d.ts +45 -0
  33. package/dist/runtime/api/api/routers/git.js +35 -0
  34. package/dist/runtime/api/api/routers/provider-config.d.ts +165 -0
  35. package/dist/runtime/api/api/routers/provider-config.js +252 -0
  36. package/dist/runtime/api/api/routers/settings.d.ts +139 -0
  37. package/dist/runtime/api/api/routers/settings.js +113 -0
  38. package/dist/runtime/api/api/routers/tasks.d.ts +141 -0
  39. package/dist/runtime/api/api/routers/tasks.js +238 -0
  40. package/dist/runtime/api/api/routers/workflows.d.ts +267 -0
  41. package/dist/runtime/api/api/routers/workflows.js +310 -0
  42. package/dist/runtime/api/api/routers/worktrees.d.ts +101 -0
  43. package/dist/runtime/api/api/routers/worktrees.js +80 -0
  44. package/dist/runtime/api/api/trpc.d.ts +118 -0
  45. package/dist/runtime/api/api/trpc.js +34 -0
  46. package/dist/runtime/api/index.d.ts +9 -0
  47. package/dist/runtime/api/index.js +117 -0
  48. package/dist/runtime/api/lib/id-generator.d.ts +70 -0
  49. package/dist/runtime/api/lib/id-generator.js +123 -0
  50. package/dist/runtime/api/lib/image-paste-drop-extension.d.ts +26 -0
  51. package/dist/runtime/api/lib/image-paste-drop-extension.js +125 -0
  52. package/dist/runtime/api/lib/local-config.d.ts +245 -0
  53. package/dist/runtime/api/lib/local-config.js +288 -0
  54. package/dist/runtime/api/lib/logger.d.ts +11 -0
  55. package/dist/runtime/api/lib/logger.js +188 -0
  56. package/dist/runtime/api/lib/markdown-utils.d.ts +8 -0
  57. package/dist/runtime/api/lib/markdown-utils.js +282 -0
  58. package/dist/runtime/api/lib/markdown-utils.test.d.ts +1 -0
  59. package/dist/runtime/api/lib/markdown-utils.test.js +348 -0
  60. package/dist/runtime/api/lib/provider-detection.d.ts +59 -0
  61. package/dist/runtime/api/lib/provider-detection.js +244 -0
  62. package/dist/runtime/api/lib/server/agent-service-singleton.d.ts +6 -0
  63. package/dist/runtime/api/lib/server/agent-service-singleton.js +27 -0
  64. package/dist/runtime/api/lib/server/bootstrap.d.ts +38 -0
  65. package/dist/runtime/api/lib/server/bootstrap.js +197 -0
  66. package/dist/runtime/api/lib/server/git-service-singleton.d.ts +6 -0
  67. package/dist/runtime/api/lib/server/git-service-singleton.js +47 -0
  68. package/dist/runtime/api/lib/server/project-root.d.ts +2 -0
  69. package/dist/runtime/api/lib/server/project-root.js +61 -0
  70. package/dist/runtime/api/lib/server/task-service-singleton.d.ts +7 -0
  71. package/dist/runtime/api/lib/server/task-service-singleton.js +58 -0
  72. package/dist/runtime/api/lib/server/vibing-orchestrator-singleton.d.ts +7 -0
  73. package/dist/runtime/api/lib/server/vibing-orchestrator-singleton.js +57 -0
  74. package/dist/runtime/api/lib/tiptap-utils.clamp-selection.test.d.ts +1 -0
  75. package/dist/runtime/api/lib/tiptap-utils.clamp-selection.test.js +27 -0
  76. package/dist/runtime/api/lib/tiptap-utils.d.ts +130 -0
  77. package/dist/runtime/api/lib/tiptap-utils.js +327 -0
  78. package/dist/runtime/api/lib/trpc/client.d.ts +1 -0
  79. package/dist/runtime/api/lib/trpc/client.js +5 -0
  80. package/dist/runtime/api/lib/trpc/server.d.ts +915 -0
  81. package/dist/runtime/api/lib/trpc/server.js +11 -0
  82. package/dist/runtime/api/lib/trpc/ws-server.d.ts +8 -0
  83. package/dist/runtime/api/lib/trpc/ws-server.js +33 -0
  84. package/dist/runtime/api/persistence/database-service.d.ts +14 -0
  85. package/dist/runtime/api/persistence/database-service.js +74 -0
  86. package/dist/runtime/api/persistence/execution-log-persistence.d.ts +90 -0
  87. package/dist/runtime/api/persistence/execution-log-persistence.js +410 -0
  88. package/dist/runtime/api/persistence/execution-log-persistence.test.d.ts +1 -0
  89. package/dist/runtime/api/persistence/execution-log-persistence.test.js +170 -0
  90. package/dist/runtime/api/router.d.ts +918 -0
  91. package/dist/runtime/api/router.js +34 -0
  92. package/dist/runtime/api/settings-service.d.ts +110 -0
  93. package/dist/runtime/api/settings-service.js +613 -0
  94. package/dist/runtime/api/tasks/file-watcher.d.ts +23 -0
  95. package/dist/runtime/api/tasks/file-watcher.js +88 -0
  96. package/dist/runtime/api/tasks/task-file-parser.d.ts +13 -0
  97. package/dist/runtime/api/tasks/task-file-parser.js +161 -0
  98. package/dist/runtime/api/tasks/task-service.d.ts +36 -0
  99. package/dist/runtime/api/tasks/task-service.js +173 -0
  100. package/dist/runtime/api/types/index.d.ts +179 -0
  101. package/dist/runtime/api/types/index.js +1 -0
  102. package/dist/runtime/api/types/settings.d.ts +81 -0
  103. package/dist/runtime/api/types/settings.js +2 -0
  104. package/dist/runtime/api/types.d.ts +2 -0
  105. package/dist/runtime/api/types.js +1 -0
  106. package/dist/runtime/api/utils/env.d.ts +6 -0
  107. package/dist/runtime/api/utils/env.js +12 -0
  108. package/dist/runtime/api/utils/stripNextEnv.d.ts +7 -0
  109. package/dist/runtime/api/utils/stripNextEnv.js +22 -0
  110. package/dist/runtime/api/utils/title-slug.d.ts +6 -0
  111. package/dist/runtime/api/utils/title-slug.js +77 -0
  112. package/dist/runtime/api/utils/url.d.ts +2 -0
  113. package/dist/runtime/api/utils/url.js +19 -0
  114. package/dist/runtime/api/vcs/git-history-service.d.ts +57 -0
  115. package/dist/runtime/api/vcs/git-history-service.js +228 -0
  116. package/dist/runtime/api/vcs/git-service.d.ts +127 -0
  117. package/dist/runtime/api/vcs/git-service.js +284 -0
  118. package/dist/runtime/api/vcs/worktree-service.d.ts +93 -0
  119. package/dist/runtime/api/vcs/worktree-service.js +506 -0
  120. package/dist/runtime/api/vcs/worktree-service.test.d.ts +1 -0
  121. package/dist/runtime/api/vcs/worktree-service.test.js +20 -0
  122. package/dist/runtime/api/workflows/quality-pipeline.d.ts +58 -0
  123. package/dist/runtime/api/workflows/quality-pipeline.js +400 -0
  124. package/dist/runtime/api/workflows/vibing-orchestrator.d.ts +318 -0
  125. package/dist/runtime/api/workflows/vibing-orchestrator.js +1860 -0
  126. package/dist/runtime/web/.next/BUILD_ID +1 -0
  127. package/dist/runtime/web/.next/app-build-manifest.json +59 -0
  128. package/dist/runtime/web/.next/app-path-routes-manifest.json +7 -0
  129. package/dist/runtime/web/.next/build-manifest.json +33 -0
  130. package/dist/runtime/web/.next/package.json +1 -0
  131. package/dist/runtime/web/.next/prerender-manifest.json +61 -0
  132. package/dist/runtime/web/.next/react-loadable-manifest.json +39 -0
  133. package/dist/runtime/web/.next/required-server-files.json +334 -0
  134. package/dist/runtime/web/.next/routes-manifest.json +62 -0
  135. package/dist/runtime/web/.next/server/app/_not-found/page.js +2 -0
  136. package/dist/runtime/web/.next/server/app/_not-found/page.js.nft.json +1 -0
  137. package/dist/runtime/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  138. package/dist/runtime/web/.next/server/app/_not-found.html +7 -0
  139. package/dist/runtime/web/.next/server/app/_not-found.meta +8 -0
  140. package/dist/runtime/web/.next/server/app/_not-found.rsc +22 -0
  141. package/dist/runtime/web/.next/server/app/api/health/route.js +1 -0
  142. package/dist/runtime/web/.next/server/app/api/health/route.js.nft.json +1 -0
  143. package/dist/runtime/web/.next/server/app/api/health/route_client-reference-manifest.js +1 -0
  144. package/dist/runtime/web/.next/server/app/api/images/[...path]/route.js +1 -0
  145. package/dist/runtime/web/.next/server/app/api/images/[...path]/route.js.nft.json +1 -0
  146. package/dist/runtime/web/.next/server/app/api/images/[...path]/route_client-reference-manifest.js +1 -0
  147. package/dist/runtime/web/.next/server/app/api/upload/route.js +1 -0
  148. package/dist/runtime/web/.next/server/app/api/upload/route.js.nft.json +1 -0
  149. package/dist/runtime/web/.next/server/app/api/upload/route_client-reference-manifest.js +1 -0
  150. package/dist/runtime/web/.next/server/app/index.html +7 -0
  151. package/dist/runtime/web/.next/server/app/index.meta +7 -0
  152. package/dist/runtime/web/.next/server/app/index.rsc +27 -0
  153. package/dist/runtime/web/.next/server/app/page.js +147 -0
  154. package/dist/runtime/web/.next/server/app/page.js.nft.json +1 -0
  155. package/dist/runtime/web/.next/server/app/page_client-reference-manifest.js +1 -0
  156. package/dist/runtime/web/.next/server/app-paths-manifest.json +7 -0
  157. package/dist/runtime/web/.next/server/chunks/217.js +1 -0
  158. package/dist/runtime/web/.next/server/chunks/383.js +6 -0
  159. package/dist/runtime/web/.next/server/chunks/458.js +1 -0
  160. package/dist/runtime/web/.next/server/chunks/576.js +18 -0
  161. package/dist/runtime/web/.next/server/chunks/635.js +22 -0
  162. package/dist/runtime/web/.next/server/chunks/761.js +1 -0
  163. package/dist/runtime/web/.next/server/chunks/777.js +3 -0
  164. package/dist/runtime/web/.next/server/chunks/825.js +1 -0
  165. package/dist/runtime/web/.next/server/chunks/838.js +1 -0
  166. package/dist/runtime/web/.next/server/chunks/973.js +15 -0
  167. package/dist/runtime/web/.next/server/functions-config-manifest.json +4 -0
  168. package/dist/runtime/web/.next/server/middleware-build-manifest.js +1 -0
  169. package/dist/runtime/web/.next/server/middleware-manifest.json +6 -0
  170. package/dist/runtime/web/.next/server/middleware-react-loadable-manifest.js +1 -0
  171. package/dist/runtime/web/.next/server/next-font-manifest.js +1 -0
  172. package/dist/runtime/web/.next/server/next-font-manifest.json +1 -0
  173. package/dist/runtime/web/.next/server/pages/404.html +7 -0
  174. package/dist/runtime/web/.next/server/pages/500.html +1 -0
  175. package/dist/runtime/web/.next/server/pages/_app.js +1 -0
  176. package/dist/runtime/web/.next/server/pages/_app.js.nft.json +1 -0
  177. package/dist/runtime/web/.next/server/pages/_document.js +1 -0
  178. package/dist/runtime/web/.next/server/pages/_document.js.nft.json +1 -0
  179. package/dist/runtime/web/.next/server/pages/_error.js +19 -0
  180. package/dist/runtime/web/.next/server/pages/_error.js.nft.json +1 -0
  181. package/dist/runtime/web/.next/server/pages-manifest.json +6 -0
  182. package/dist/runtime/web/.next/server/server-reference-manifest.js +1 -0
  183. package/dist/runtime/web/.next/server/server-reference-manifest.json +1 -0
  184. package/dist/runtime/web/.next/server/webpack-runtime.js +1 -0
  185. package/dist/runtime/web/.next/static/chunks/18-15c10d3288afef2e.js +1 -0
  186. package/dist/runtime/web/.next/static/chunks/1c0ca389.537bbe362e3ffbd9.js +3 -0
  187. package/dist/runtime/web/.next/static/chunks/22747d63-ad5da0c19f4cfe41.js +71 -0
  188. package/dist/runtime/web/.next/static/chunks/277-0142a939f08738c3.js +63 -0
  189. package/dist/runtime/web/.next/static/chunks/355.056c2645878a799a.js +1 -0
  190. package/dist/runtime/web/.next/static/chunks/420.a5ccf151c9e2b2f1.js +1 -0
  191. package/dist/runtime/web/.next/static/chunks/439.1be0c6242fd248d5.js +15 -0
  192. package/dist/runtime/web/.next/static/chunks/440.c52e7c0f797e22b2.js +1 -0
  193. package/dist/runtime/web/.next/static/chunks/575-e2478287c27da87b.js +1 -0
  194. package/dist/runtime/web/.next/static/chunks/691.920d88c115087314.js +1 -0
  195. package/dist/runtime/web/.next/static/chunks/765-e838910065b50c3d.js +1 -0
  196. package/dist/runtime/web/.next/static/chunks/87c73c54-09e1ba5c70e60a51.js +1 -0
  197. package/dist/runtime/web/.next/static/chunks/891cff7f.0f71fc028f87e683.js +1 -0
  198. package/dist/runtime/web/.next/static/chunks/8bb4d8db-3e2aa02b0a2384b9.js +1 -0
  199. package/dist/runtime/web/.next/static/chunks/9af238c7-271a911d4e99ab18.js +1 -0
  200. package/dist/runtime/web/.next/static/chunks/app/_not-found/page-1cb74d1cba27d0ab.js +1 -0
  201. package/dist/runtime/web/.next/static/chunks/app/api/health/route-105a61ae865ba536.js +1 -0
  202. package/dist/runtime/web/.next/static/chunks/app/api/images/[...path]/route-105a61ae865ba536.js +1 -0
  203. package/dist/runtime/web/.next/static/chunks/app/api/upload/route-105a61ae865ba536.js +1 -0
  204. package/dist/runtime/web/.next/static/chunks/app/layout-8435322f09fd0975.js +1 -0
  205. package/dist/runtime/web/.next/static/chunks/app/page-8c3ba579efc6f918.js +1 -0
  206. package/dist/runtime/web/.next/static/chunks/cac567b0-5b77dd12911823cd.js +1 -0
  207. package/dist/runtime/web/.next/static/chunks/framework-2518f1345b5b2806.js +1 -0
  208. package/dist/runtime/web/.next/static/chunks/main-17665e5e39de9a8a.js +1 -0
  209. package/dist/runtime/web/.next/static/chunks/main-app-c0b0f5ba4f7f9d75.js +1 -0
  210. package/dist/runtime/web/.next/static/chunks/pages/_app-d6f6b3bbc3d81ee1.js +1 -0
  211. package/dist/runtime/web/.next/static/chunks/pages/_error-75a96cf1997cc3b9.js +1 -0
  212. package/dist/runtime/web/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  213. package/dist/runtime/web/.next/static/chunks/webpack-c8de37305b4635cf.js +1 -0
  214. package/dist/runtime/web/.next/static/css/08c950681f1a9a92.css +1 -0
  215. package/dist/runtime/web/.next/static/css/2728291c68f99cb1.css +3 -0
  216. package/dist/runtime/web/.next/static/css/521bd69cc298cd1a.css +1 -0
  217. package/dist/runtime/web/.next/static/css/537e22821e101b87.css +1 -0
  218. package/dist/runtime/web/.next/static/mRpNgPfbYR_0wrODzlg_4/_buildManifest.js +1 -0
  219. package/dist/runtime/web/.next/static/mRpNgPfbYR_0wrODzlg_4/_ssgManifest.js +1 -0
  220. package/dist/runtime/web/.next/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
  221. package/dist/runtime/web/.next/static/media/21350d82a1f187e9-s.woff2 +0 -0
  222. package/dist/runtime/web/.next/static/media/8e9860b6e62d6359-s.woff2 +0 -0
  223. package/dist/runtime/web/.next/static/media/ba9851c3c22cd980-s.woff2 +0 -0
  224. package/dist/runtime/web/.next/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
  225. package/dist/runtime/web/.next/static/media/df0a9ae256c0569c-s.woff2 +0 -0
  226. package/dist/runtime/web/.next/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
  227. package/dist/runtime/web/package.json +65 -0
  228. package/dist/runtime/web/server.js +44 -0
  229. package/dist/tsconfig.tsbuildinfo +1 -0
  230. package/package.json +84 -7
@@ -0,0 +1,918 @@
1
+ import type { TaskService } from './tasks/task-service.js';
2
+ import type { GitService } from './vcs/git-service.js';
3
+ import type { VibingOrchestrator } from './workflows/vibing-orchestrator.js';
4
+ export declare function createRouter(taskService: TaskService, gitService: GitService, vibingOrchestrator: VibingOrchestrator): import("@trpc/server").TRPCBuiltRouter<{
5
+ ctx: import("./api/trpc.js").Context;
6
+ meta: object;
7
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
8
+ transformer: true;
9
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
10
+ detectAllProviders: import("@trpc/server").TRPCQueryProcedure<{
11
+ input: void;
12
+ output: Record<string, import("./lib/provider-detection.js").DetectionResult>;
13
+ meta: object;
14
+ }>;
15
+ detectProvider: import("@trpc/server").TRPCQueryProcedure<{
16
+ input: {
17
+ provider: string;
18
+ };
19
+ output: import("./lib/provider-detection.js").DetectionResult;
20
+ meta: object;
21
+ }>;
22
+ setProviderPath: import("@trpc/server").TRPCMutationProcedure<{
23
+ input: {
24
+ path: string;
25
+ provider: string;
26
+ };
27
+ output: {
28
+ success: boolean;
29
+ result: import("./lib/provider-detection.js").DetectionResult;
30
+ };
31
+ meta: object;
32
+ }>;
33
+ clearProviderPath: import("@trpc/server").TRPCMutationProcedure<{
34
+ input: {
35
+ provider: string;
36
+ };
37
+ output: {
38
+ success: boolean;
39
+ };
40
+ meta: object;
41
+ }>;
42
+ getLocalConfigInfo: import("@trpc/server").TRPCQueryProcedure<{
43
+ input: void;
44
+ output: {
45
+ providers: {
46
+ 'claude-code'?: {
47
+ binPath?: string | undefined;
48
+ detectedPath?: string | undefined;
49
+ lastDetected?: string | undefined;
50
+ detectionMethod?: "explicit" | "PATH" | "common-location" | undefined;
51
+ } | undefined;
52
+ codex?: {
53
+ binPath?: string | undefined;
54
+ detectedPath?: string | undefined;
55
+ lastDetected?: string | undefined;
56
+ detectionMethod?: "explicit" | "PATH" | "common-location" | undefined;
57
+ } | undefined;
58
+ };
59
+ path: string;
60
+ exists: boolean;
61
+ size?: number;
62
+ };
63
+ meta: object;
64
+ }>;
65
+ clearValidationCache: import("@trpc/server").TRPCMutationProcedure<{
66
+ input: void;
67
+ output: {
68
+ success: boolean;
69
+ };
70
+ meta: object;
71
+ }>;
72
+ getProviderDiagnostics: import("@trpc/server").TRPCQueryProcedure<{
73
+ input: void;
74
+ output: {
75
+ localConfigPath: string;
76
+ localConfigExists: boolean;
77
+ providers: {
78
+ provider: string;
79
+ detection: import("./lib/provider-detection.js").DetectionResult;
80
+ localConfig: {
81
+ binPath?: string | undefined;
82
+ detectedPath?: string | undefined;
83
+ lastDetected?: string | undefined;
84
+ detectionMethod?: "explicit" | "PATH" | "common-location" | undefined;
85
+ } | {
86
+ binPath?: string | undefined;
87
+ detectedPath?: string | undefined;
88
+ lastDetected?: string | undefined;
89
+ detectionMethod?: "explicit" | "PATH" | "common-location" | undefined;
90
+ } | undefined;
91
+ cached: {
92
+ available: boolean;
93
+ error: string | undefined;
94
+ version: string | undefined;
95
+ checkedAt: string;
96
+ isFresh: boolean;
97
+ } | null;
98
+ }[];
99
+ };
100
+ meta: object;
101
+ }>;
102
+ listProviders: import("@trpc/server").TRPCQueryProcedure<{
103
+ input: void;
104
+ output: {
105
+ name: string;
106
+ displayName: string;
107
+ available: boolean;
108
+ error: string | undefined;
109
+ capabilities: import("./agent/ai-providers/types.js").ProviderCapabilities;
110
+ models: import("./agent/ai-providers/types.js").ModelInfo[];
111
+ }[];
112
+ meta: object;
113
+ }>;
114
+ listModels: import("@trpc/server").TRPCQueryProcedure<{
115
+ input: {
116
+ provider?: string | undefined;
117
+ } | undefined;
118
+ output: import("./agent/ai-providers/types.js").ModelInfo[];
119
+ meta: object;
120
+ }>;
121
+ getRoutingPolicy: import("@trpc/server").TRPCQueryProcedure<{
122
+ input: void;
123
+ output: any;
124
+ meta: object;
125
+ }>;
126
+ updateRoutingPolicy: import("@trpc/server").TRPCMutationProcedure<{
127
+ input: {
128
+ policy: {
129
+ defaultProvider?: string | undefined;
130
+ operations?: Partial<Record<"execute_task" | "improve_task" | "ai_merge" | "ai_codereview", {
131
+ provider: string;
132
+ options?: {
133
+ temperature?: number | undefined;
134
+ maxTokens?: number | undefined;
135
+ tools?: string[] | undefined;
136
+ } | undefined;
137
+ model?: string | undefined;
138
+ fallback?: string[] | undefined;
139
+ }>> | undefined;
140
+ };
141
+ };
142
+ output: {
143
+ success: boolean;
144
+ policy: any;
145
+ };
146
+ meta: object;
147
+ }>;
148
+ setDefaultProvider: import("@trpc/server").TRPCMutationProcedure<{
149
+ input: {
150
+ provider: string;
151
+ };
152
+ output: {
153
+ success: boolean;
154
+ provider: string;
155
+ };
156
+ meta: object;
157
+ }>;
158
+ setOperationConfig: import("@trpc/server").TRPCMutationProcedure<{
159
+ input: {
160
+ operation: "execute_task" | "improve_task" | "ai_merge" | "ai_codereview";
161
+ config: {
162
+ provider: string;
163
+ options?: {
164
+ temperature?: number | undefined;
165
+ maxTokens?: number | undefined;
166
+ tools?: string[] | undefined;
167
+ } | undefined;
168
+ model?: string | undefined;
169
+ fallback?: string[] | undefined;
170
+ };
171
+ };
172
+ output: {
173
+ success: boolean;
174
+ };
175
+ meta: object;
176
+ }>;
177
+ validateProviders: import("@trpc/server").TRPCMutationProcedure<{
178
+ input: {
179
+ force?: boolean | undefined;
180
+ } | undefined;
181
+ output: {
182
+ success: boolean;
183
+ results: {
184
+ provider: string;
185
+ available: boolean;
186
+ error: string | undefined;
187
+ modelCount: number;
188
+ capabilities: import("./agent/ai-providers/types.js").ProviderCapabilities;
189
+ }[];
190
+ totalProviders: number;
191
+ availableProviders: number;
192
+ };
193
+ meta: object;
194
+ }>;
195
+ getGitStatus: import("@trpc/server").TRPCQueryProcedure<{
196
+ input: void;
197
+ output: {
198
+ current: string;
199
+ staged: string[];
200
+ modified: string[];
201
+ untracked: string[];
202
+ ahead: number;
203
+ behind: number;
204
+ };
205
+ meta: object;
206
+ }>;
207
+ createBranch: import("@trpc/server").TRPCMutationProcedure<{
208
+ input: {
209
+ taskId: string;
210
+ baseBranch?: string | undefined;
211
+ };
212
+ output: import("./vcs/git-service.js").BranchInfo;
213
+ meta: object;
214
+ }>;
215
+ commitChanges: import("@trpc/server").TRPCMutationProcedure<{
216
+ input: {
217
+ taskId: string;
218
+ message?: string | undefined;
219
+ files?: string[] | undefined;
220
+ };
221
+ output: import("./vcs/git-service.js").CommitInfo;
222
+ meta: object;
223
+ }>;
224
+ getCommitHistory: import("@trpc/server").TRPCQueryProcedure<{
225
+ input: {
226
+ maxCount?: number | undefined;
227
+ };
228
+ output: import("./vcs/git-service.js").CommitInfo[];
229
+ meta: object;
230
+ }>;
231
+ hasUncommittedChanges: import("@trpc/server").TRPCQueryProcedure<{
232
+ input: void;
233
+ output: boolean;
234
+ meta: object;
235
+ }>;
236
+ getSettings: import("@trpc/server").TRPCQueryProcedure<{
237
+ input: void;
238
+ output: import("./types/settings.js").VibemanSettings;
239
+ meta: object;
240
+ }>;
241
+ detectQualityChecks: import("@trpc/server").TRPCMutationProcedure<{
242
+ input: void;
243
+ output: {
244
+ checks: {
245
+ name: string;
246
+ command: string;
247
+ args: string[];
248
+ timeout: number;
249
+ enabled: boolean;
250
+ }[];
251
+ workingDirectory: string;
252
+ };
253
+ meta: object;
254
+ }>;
255
+ getSetting: import("@trpc/server").TRPCQueryProcedure<{
256
+ input: {
257
+ path: string[];
258
+ };
259
+ output: unknown;
260
+ meta: object;
261
+ }>;
262
+ updateSettings: import("@trpc/server").TRPCMutationProcedure<{
263
+ input: {
264
+ path: string[];
265
+ value?: unknown;
266
+ }[];
267
+ output: {
268
+ success: boolean;
269
+ errors: import("./types/settings.js").SettingsValidationError[];
270
+ };
271
+ meta: object;
272
+ }>;
273
+ resetToDefaults: import("@trpc/server").TRPCMutationProcedure<{
274
+ input: void;
275
+ output: import("./types/settings.js").VibemanSettings;
276
+ meta: object;
277
+ }>;
278
+ validateSettings: import("@trpc/server").TRPCQueryProcedure<{
279
+ input: Record<string, unknown>;
280
+ output: {
281
+ valid: boolean;
282
+ errors: import("./types/settings.js").SettingsValidationError[];
283
+ };
284
+ meta: object;
285
+ }>;
286
+ getSettingsInfo: import("@trpc/server").TRPCQueryProcedure<{
287
+ input: void;
288
+ output: {
289
+ path: string;
290
+ exists: boolean;
291
+ };
292
+ meta: object;
293
+ }>;
294
+ getEditorPresets: import("@trpc/server").TRPCQueryProcedure<{
295
+ input: void;
296
+ output: Record<string, Partial<{
297
+ type?: "vscode" | "cursor" | "vim" | "custom";
298
+ command?: string;
299
+ args?: string[];
300
+ name?: string;
301
+ openFileCommand?: string[];
302
+ openFolderCommand?: string[];
303
+ } | undefined>>;
304
+ meta: object;
305
+ }>;
306
+ getTerminalPresets: import("@trpc/server").TRPCQueryProcedure<{
307
+ input: void;
308
+ output: Record<string, Partial<{
309
+ type?: "system" | "iterm2" | "warp" | "custom";
310
+ command?: string;
311
+ args?: string[];
312
+ name?: string;
313
+ openCommand?: string[];
314
+ } | undefined>>;
315
+ meta: object;
316
+ }>;
317
+ applyEditorPreset: import("@trpc/server").TRPCMutationProcedure<{
318
+ input: {
319
+ presetName: string;
320
+ };
321
+ output: {
322
+ success: boolean;
323
+ errors: import("./types/settings.js").SettingsValidationError[];
324
+ };
325
+ meta: object;
326
+ }>;
327
+ applyTerminalPreset: import("@trpc/server").TRPCMutationProcedure<{
328
+ input: {
329
+ presetName: string;
330
+ };
331
+ output: {
332
+ success: boolean;
333
+ errors: import("./types/settings.js").SettingsValidationError[];
334
+ };
335
+ meta: object;
336
+ }>;
337
+ updateWorkflowOptions: import("@trpc/server").TRPCMutationProcedure<{
338
+ input: {
339
+ workflowId: string;
340
+ config: {
341
+ autoCommit?: boolean | undefined;
342
+ createPR?: boolean | undefined;
343
+ autoQualityChecks?: boolean | undefined;
344
+ requireHumanApproval?: boolean | undefined;
345
+ stepByStepMode?: boolean | undefined;
346
+ autoMerge?: boolean | undefined;
347
+ aiCodeReview?: boolean | undefined;
348
+ aiRoutingOverrides?: {
349
+ execute_task?: {
350
+ provider?: string | undefined;
351
+ model?: string | undefined;
352
+ } | undefined;
353
+ improve_task?: {
354
+ provider?: string | undefined;
355
+ model?: string | undefined;
356
+ } | undefined;
357
+ ai_merge?: {
358
+ provider?: string | undefined;
359
+ model?: string | undefined;
360
+ } | undefined;
361
+ ai_codereview?: {
362
+ provider?: string | undefined;
363
+ model?: string | undefined;
364
+ } | undefined;
365
+ } | undefined;
366
+ };
367
+ };
368
+ output: {
369
+ readonly success: true;
370
+ };
371
+ meta: object;
372
+ }>;
373
+ startWorkflow: import("@trpc/server").TRPCMutationProcedure<{
374
+ input: {
375
+ taskId: string;
376
+ config?: {
377
+ autoCommit?: boolean | undefined;
378
+ createPR?: boolean | undefined;
379
+ autoQualityChecks?: boolean | undefined;
380
+ requireHumanApproval?: boolean | undefined;
381
+ stepByStepMode?: boolean | undefined;
382
+ autoMerge?: boolean | undefined;
383
+ aiCodeReview?: boolean | undefined;
384
+ aiRoutingOverrides?: {
385
+ execute_task?: {
386
+ provider?: string | undefined;
387
+ model?: string | undefined;
388
+ } | undefined;
389
+ improve_task?: {
390
+ provider?: string | undefined;
391
+ model?: string | undefined;
392
+ } | undefined;
393
+ ai_merge?: {
394
+ provider?: string | undefined;
395
+ model?: string | undefined;
396
+ } | undefined;
397
+ ai_codereview?: {
398
+ provider?: string | undefined;
399
+ model?: string | undefined;
400
+ } | undefined;
401
+ } | undefined;
402
+ } | undefined;
403
+ };
404
+ output: {
405
+ workflowId: string;
406
+ };
407
+ meta: object;
408
+ }>;
409
+ continueWorkflow: import("@trpc/server").TRPCMutationProcedure<{
410
+ input: {
411
+ workflowId: string;
412
+ };
413
+ output: {
414
+ readonly success: true;
415
+ };
416
+ meta: object;
417
+ }>;
418
+ runValidation: import("@trpc/server").TRPCMutationProcedure<{
419
+ input: {
420
+ workflowId: string;
421
+ };
422
+ output: {
423
+ readonly success: true;
424
+ };
425
+ meta: object;
426
+ }>;
427
+ runMerge: import("@trpc/server").TRPCMutationProcedure<{
428
+ input: {
429
+ workflowId: string;
430
+ provider?: string | undefined;
431
+ model?: string | undefined;
432
+ };
433
+ output: {
434
+ readonly success: true;
435
+ };
436
+ meta: object;
437
+ }>;
438
+ runCleanup: import("@trpc/server").TRPCMutationProcedure<{
439
+ input: {
440
+ workflowId: string;
441
+ };
442
+ output: {
443
+ readonly success: true;
444
+ };
445
+ meta: object;
446
+ }>;
447
+ pauseWorkflow: import("@trpc/server").TRPCMutationProcedure<{
448
+ input: {
449
+ workflowId: string;
450
+ };
451
+ output: {
452
+ readonly success: true;
453
+ };
454
+ meta: object;
455
+ }>;
456
+ resetWorkflow: import("@trpc/server").TRPCMutationProcedure<{
457
+ input: {
458
+ workflowId: string;
459
+ force?: boolean | undefined;
460
+ deleteWorktree?: boolean | undefined;
461
+ };
462
+ output: {
463
+ success: true;
464
+ };
465
+ meta: object;
466
+ }>;
467
+ approveWorkflow: import("@trpc/server").TRPCMutationProcedure<{
468
+ input: {
469
+ workflowId: string;
470
+ comments?: string | undefined;
471
+ };
472
+ output: {
473
+ readonly success: true;
474
+ };
475
+ meta: object;
476
+ }>;
477
+ rejectWorkflow: import("@trpc/server").TRPCMutationProcedure<{
478
+ input: {
479
+ workflowId: string;
480
+ feedback: string;
481
+ };
482
+ output: {
483
+ readonly success: true;
484
+ };
485
+ meta: object;
486
+ }>;
487
+ onTaskWorkflowEvents: import("@trpc/server").TRPCSubscriptionProcedure<{
488
+ input: {
489
+ taskId?: string | undefined;
490
+ } | undefined;
491
+ output: AsyncIterable<{
492
+ type: "started" | "phase" | "completed" | "failed" | "updated" | "deleted";
493
+ workflowId: string;
494
+ phase?: string;
495
+ workflow?: any;
496
+ executionId?: string;
497
+ }, void, any>;
498
+ meta: object;
499
+ }>;
500
+ getWorkflow: import("@trpc/server").TRPCQueryProcedure<{
501
+ input: {
502
+ workflowId: string;
503
+ };
504
+ output: import("./types/index.js").VibingExecution | null;
505
+ meta: object;
506
+ }>;
507
+ getWorkflowsByTaskId: import("@trpc/server").TRPCQueryProcedure<{
508
+ input: {
509
+ taskId: string;
510
+ };
511
+ output: import("./types/index.js").VibingExecution[];
512
+ meta: object;
513
+ }>;
514
+ getLatestWorkflowByTaskId: import("@trpc/server").TRPCQueryProcedure<{
515
+ input: {
516
+ taskId: string;
517
+ };
518
+ output: import("./types/index.js").VibingExecution | null;
519
+ meta: object;
520
+ }>;
521
+ aiReviewCode: import("@trpc/server").TRPCMutationProcedure<{
522
+ input: {
523
+ taskId: string;
524
+ provider?: string | undefined;
525
+ workflowId?: string | undefined;
526
+ model?: string | undefined;
527
+ reviewContext?: string | undefined;
528
+ };
529
+ output: {
530
+ executionId: string;
531
+ reviewSummary: string;
532
+ recommendations: string[];
533
+ qualityScore: number;
534
+ };
535
+ meta: object;
536
+ }>;
537
+ approveAndContinueReview: import("@trpc/server").TRPCMutationProcedure<{
538
+ input: {
539
+ workflowId: string;
540
+ };
541
+ output: {
542
+ success: true;
543
+ };
544
+ meta: object;
545
+ }>;
546
+ markCompleted: import("@trpc/server").TRPCMutationProcedure<{
547
+ input: {
548
+ workflowId: string;
549
+ };
550
+ output: {
551
+ success: true;
552
+ };
553
+ meta: object;
554
+ }>;
555
+ checkWorktreeStatus: import("@trpc/server").TRPCMutationProcedure<{
556
+ input: {
557
+ workflowId: string;
558
+ };
559
+ output: {
560
+ clean: boolean;
561
+ uncommittedFiles: string[];
562
+ worktreePath?: string;
563
+ };
564
+ meta: object;
565
+ }>;
566
+ rerunImplementation: import("@trpc/server").TRPCMutationProcedure<{
567
+ input: {
568
+ workflowId: string;
569
+ provider?: string | undefined;
570
+ model?: string | undefined;
571
+ feedback?: string | undefined;
572
+ };
573
+ output: {
574
+ success: true;
575
+ };
576
+ meta: object;
577
+ }>;
578
+ skipToNextPhase: import("@trpc/server").TRPCMutationProcedure<{
579
+ input: {
580
+ workflowId: string;
581
+ };
582
+ output: {
583
+ success: true;
584
+ };
585
+ meta: object;
586
+ }>;
587
+ rerunFromPhase: import("@trpc/server").TRPCMutationProcedure<{
588
+ input: {
589
+ workflowId: string;
590
+ phase: "completed" | "failed" | "draft" | "awaiting-review" | "approved" | "merged" | "paused" | "implementing" | "validating" | "ai-reviewing" | "merging" | "cleaning";
591
+ };
592
+ output: {
593
+ success: true;
594
+ };
595
+ meta: object;
596
+ }>;
597
+ listWorktrees: import("@trpc/server").TRPCQueryProcedure<{
598
+ input: void;
599
+ output: (import("./types/index.js").WorktreeInfo & {
600
+ isConnectedToTask: boolean;
601
+ })[];
602
+ meta: object;
603
+ }>;
604
+ syncWorktreeState: import("@trpc/server").TRPCMutationProcedure<{
605
+ input: void;
606
+ output: {
607
+ readonly success: true;
608
+ readonly message: "Worktree state synchronized";
609
+ };
610
+ meta: object;
611
+ }>;
612
+ getWorktreeInfo: import("@trpc/server").TRPCQueryProcedure<{
613
+ input: {
614
+ taskId: string;
615
+ };
616
+ output: any;
617
+ meta: object;
618
+ }>;
619
+ createWorktree: import("@trpc/server").TRPCMutationProcedure<{
620
+ input: {
621
+ taskId: string;
622
+ };
623
+ output: any;
624
+ meta: object;
625
+ }>;
626
+ deleteWorktree: import("@trpc/server").TRPCMutationProcedure<{
627
+ input: {
628
+ taskId: string;
629
+ force?: boolean | undefined;
630
+ };
631
+ output: {
632
+ readonly success: true;
633
+ };
634
+ meta: object;
635
+ }>;
636
+ openInEditor: import("@trpc/server").TRPCMutationProcedure<{
637
+ input: {
638
+ worktreePath: string;
639
+ };
640
+ output: {
641
+ readonly success: true;
642
+ };
643
+ meta: object;
644
+ }>;
645
+ openInTerminal: import("@trpc/server").TRPCMutationProcedure<{
646
+ input: {
647
+ worktreePath: string;
648
+ };
649
+ output: {
650
+ readonly success: true;
651
+ };
652
+ meta: object;
653
+ }>;
654
+ createWorktreePR: import("@trpc/server").TRPCMutationProcedure<{
655
+ input: {
656
+ taskId: string;
657
+ baseBranch?: string | undefined;
658
+ };
659
+ output: {
660
+ success: boolean;
661
+ pullRequest?: any;
662
+ error?: string;
663
+ };
664
+ meta: object;
665
+ }>;
666
+ createPullRequest: import("@trpc/server").TRPCMutationProcedure<{
667
+ input: {
668
+ taskId: string;
669
+ baseBranch?: string | undefined;
670
+ };
671
+ output: {
672
+ success: boolean;
673
+ pullRequest?: any;
674
+ error?: string;
675
+ };
676
+ meta: object;
677
+ }>;
678
+ cleanupWorktree: import("@trpc/server").TRPCMutationProcedure<{
679
+ input: {
680
+ isConnectedToTask: boolean;
681
+ taskId?: string | undefined;
682
+ force?: boolean | undefined;
683
+ worktreePath?: string | undefined;
684
+ branchName?: string | undefined;
685
+ };
686
+ output: {
687
+ readonly success: true;
688
+ };
689
+ meta: object;
690
+ }>;
691
+ executeTask: import("@trpc/server").TRPCMutationProcedure<{
692
+ input: {
693
+ taskId: string;
694
+ };
695
+ output: {
696
+ readonly executionId: string;
697
+ };
698
+ meta: object;
699
+ }>;
700
+ stopTaskExecution: import("@trpc/server").TRPCMutationProcedure<{
701
+ input: {
702
+ executionId: string;
703
+ };
704
+ output: {
705
+ readonly success: true;
706
+ };
707
+ meta: object;
708
+ }>;
709
+ getTaskExecutionStatus: import("@trpc/server").TRPCQueryProcedure<{
710
+ input: {
711
+ executionId: string;
712
+ };
713
+ output: import("./types/index.js").AgentExecution | null;
714
+ meta: object;
715
+ }>;
716
+ getTaskExecutionLogs: import("@trpc/server").TRPCQueryProcedure<{
717
+ input: {
718
+ executionId: string;
719
+ };
720
+ output: {
721
+ logs: any[];
722
+ };
723
+ meta: object;
724
+ }>;
725
+ getTaskExecutions: import("@trpc/server").TRPCQueryProcedure<{
726
+ input: {
727
+ taskId: string;
728
+ };
729
+ output: import("./types/index.js").AgentExecution[];
730
+ meta: object;
731
+ }>;
732
+ getTaskExecutionStats: import("@trpc/server").TRPCQueryProcedure<{
733
+ input: void;
734
+ output: {
735
+ total: number;
736
+ pending: number;
737
+ running: number;
738
+ completed: number;
739
+ failed: number;
740
+ cancelled: number;
741
+ worktrees: {
742
+ active: number;
743
+ total: number;
744
+ enabled: boolean;
745
+ };
746
+ };
747
+ meta: object;
748
+ }>;
749
+ improveTask: import("@trpc/server").TRPCMutationProcedure<{
750
+ input: {
751
+ title: string;
752
+ type: "feature" | "bug" | "chore" | "refactor" | "test" | "doc";
753
+ priority: "high" | "medium" | "low";
754
+ content: string;
755
+ taskId: string;
756
+ executionId?: string | undefined;
757
+ };
758
+ output: {
759
+ type: string;
760
+ priority: string;
761
+ content: string;
762
+ title?: string;
763
+ executionId: string;
764
+ selectedModel?: string;
765
+ };
766
+ meta: object;
767
+ }>;
768
+ onExecutionUpdate: import("@trpc/server").TRPCSubscriptionProcedure<{
769
+ input: {
770
+ executionId: string;
771
+ };
772
+ output: AsyncIterable<{
773
+ executionId: string;
774
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
775
+ logs: string[];
776
+ error?: string;
777
+ }, void, any>;
778
+ meta: object;
779
+ }>;
780
+ listTasks: import("@trpc/server").TRPCQueryProcedure<{
781
+ input: {
782
+ status?: "review" | "in-progress" | "backlog" | "done" | undefined;
783
+ type?: "feature" | "bug" | "chore" | "refactor" | "test" | "doc" | undefined;
784
+ tags?: string[] | undefined;
785
+ priority?: "high" | "medium" | "low" | undefined;
786
+ search?: string | undefined;
787
+ includeDeleted?: boolean | undefined;
788
+ onlyDeleted?: boolean | undefined;
789
+ } | undefined;
790
+ output: import("./types/index.js").Task[];
791
+ meta: object;
792
+ }>;
793
+ getTask: import("@trpc/server").TRPCQueryProcedure<{
794
+ input: {
795
+ id: string;
796
+ };
797
+ output: import("./types/index.js").Task;
798
+ meta: object;
799
+ }>;
800
+ createTask: import("@trpc/server").TRPCMutationProcedure<{
801
+ input: {
802
+ title: string;
803
+ type: "feature" | "bug" | "chore" | "refactor" | "test" | "doc";
804
+ content: string;
805
+ status?: "review" | "in-progress" | "backlog" | "done" | undefined;
806
+ id?: string | undefined;
807
+ tags?: string[] | undefined;
808
+ due_date?: string | undefined;
809
+ assignee?: string[] | undefined;
810
+ priority?: "high" | "medium" | "low" | undefined;
811
+ comments?: string[] | undefined;
812
+ };
813
+ output: import("./types/index.js").Task;
814
+ meta: object;
815
+ }>;
816
+ updateTask: import("@trpc/server").TRPCMutationProcedure<{
817
+ input: {
818
+ id: string;
819
+ status?: "review" | "in-progress" | "backlog" | "done" | undefined;
820
+ title?: string | undefined;
821
+ type?: "feature" | "bug" | "chore" | "refactor" | "test" | "doc" | undefined;
822
+ tags?: string[] | undefined;
823
+ due_date?: string | undefined;
824
+ assignee?: string[] | undefined;
825
+ priority?: "high" | "medium" | "low" | undefined;
826
+ comments?: string[] | undefined;
827
+ content?: string | undefined;
828
+ deleted_at?: string | undefined;
829
+ };
830
+ output: import("./types/index.js").Task;
831
+ meta: object;
832
+ }>;
833
+ deleteTask: import("@trpc/server").TRPCMutationProcedure<{
834
+ input: {
835
+ id: string;
836
+ };
837
+ output: {
838
+ readonly success: true;
839
+ };
840
+ meta: object;
841
+ }>;
842
+ moveTask: import("@trpc/server").TRPCMutationProcedure<{
843
+ input: {
844
+ status: "review" | "in-progress" | "backlog" | "done";
845
+ id: string;
846
+ };
847
+ output: import("./types/index.js").Task;
848
+ meta: object;
849
+ }>;
850
+ getTaskStats: import("@trpc/server").TRPCQueryProcedure<{
851
+ input: void;
852
+ output: any;
853
+ meta: object;
854
+ }>;
855
+ searchTasks: import("@trpc/server").TRPCQueryProcedure<{
856
+ input: {
857
+ query: string;
858
+ includeDeleted?: boolean | undefined;
859
+ onlyDeleted?: boolean | undefined;
860
+ };
861
+ output: import("./types/index.js").Task[];
862
+ meta: object;
863
+ }>;
864
+ healthCheck: import("@trpc/server").TRPCQueryProcedure<{
865
+ input: void;
866
+ output: {
867
+ status: string;
868
+ timestamp: string;
869
+ tasksLoaded: number;
870
+ };
871
+ meta: object;
872
+ }>;
873
+ onTaskUpdate: import("@trpc/server").TRPCSubscriptionProcedure<{
874
+ input: {
875
+ taskId?: string | undefined;
876
+ } | undefined;
877
+ output: AsyncIterable<{
878
+ type: "update" | "delete";
879
+ taskId: string;
880
+ task?: any;
881
+ }, void, any>;
882
+ meta: object;
883
+ }>;
884
+ getTaskHistory: import("@trpc/server").TRPCQueryProcedure<{
885
+ input: {
886
+ taskId: string;
887
+ limit?: number | undefined;
888
+ };
889
+ output: {
890
+ available: boolean;
891
+ history: import("./vcs/git-history-service.js").TaskHistoryEntry[];
892
+ error?: undefined;
893
+ } | {
894
+ available: boolean;
895
+ history: never[];
896
+ error: string;
897
+ };
898
+ meta: object;
899
+ }>;
900
+ getTaskVersion: import("@trpc/server").TRPCQueryProcedure<{
901
+ input: {
902
+ taskId: string;
903
+ commitHash: string;
904
+ };
905
+ output: import("./vcs/git-history-service.js").TaskFileContent;
906
+ meta: object;
907
+ }>;
908
+ getTaskDiff: import("@trpc/server").TRPCQueryProcedure<{
909
+ input: {
910
+ taskId: string;
911
+ fromHash: string;
912
+ toHash: string;
913
+ };
914
+ output: import("./vcs/git-history-service.js").TaskDiffEntry;
915
+ meta: object;
916
+ }>;
917
+ }>>;
918
+ export type AppRouter = ReturnType<typeof createRouter>;