vibeman 0.0.3 → 0.0.6

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