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,938 +0,0 @@
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: {
124
- defaultProvider: string;
125
- operations?: Partial<Record<"execute_task" | "quality_checks" | "improve_task" | "ai_merge" | "ai_codereview", {
126
- provider: string;
127
- options?: {
128
- temperature?: number | undefined;
129
- maxTokens?: number | undefined;
130
- tools?: string[] | undefined;
131
- } | undefined;
132
- model?: string | undefined;
133
- fallback?: string[] | undefined;
134
- }>> | undefined;
135
- };
136
- meta: object;
137
- }>;
138
- updateRoutingPolicy: import("@trpc/server").TRPCMutationProcedure<{
139
- input: {
140
- policy: {
141
- defaultProvider?: string | undefined;
142
- operations?: Partial<Record<"execute_task" | "quality_checks" | "improve_task" | "ai_merge" | "ai_codereview", {
143
- provider: string;
144
- options?: {
145
- temperature?: number | undefined;
146
- maxTokens?: number | undefined;
147
- tools?: string[] | undefined;
148
- } | undefined;
149
- model?: string | undefined;
150
- fallback?: string[] | undefined;
151
- }>> | undefined;
152
- };
153
- };
154
- output: {
155
- success: boolean;
156
- policy: any;
157
- };
158
- meta: object;
159
- }>;
160
- setDefaultProvider: import("@trpc/server").TRPCMutationProcedure<{
161
- input: {
162
- provider: string;
163
- };
164
- output: {
165
- success: boolean;
166
- provider: string;
167
- };
168
- meta: object;
169
- }>;
170
- setOperationConfig: import("@trpc/server").TRPCMutationProcedure<{
171
- input: {
172
- operation: "execute_task" | "quality_checks" | "improve_task" | "ai_merge" | "ai_codereview";
173
- config: {
174
- provider: string;
175
- options?: {
176
- temperature?: number | undefined;
177
- maxTokens?: number | undefined;
178
- tools?: string[] | undefined;
179
- } | undefined;
180
- model?: string | undefined;
181
- fallback?: string[] | undefined;
182
- };
183
- };
184
- output: {
185
- success: boolean;
186
- };
187
- meta: object;
188
- }>;
189
- validateProviders: import("@trpc/server").TRPCMutationProcedure<{
190
- input: {
191
- force?: boolean | undefined;
192
- } | undefined;
193
- output: {
194
- success: boolean;
195
- results: {
196
- provider: string;
197
- available: boolean;
198
- error: string | undefined;
199
- modelCount: number;
200
- capabilities: import("./agent/ai-providers/types.js").ProviderCapabilities;
201
- }[];
202
- totalProviders: number;
203
- availableProviders: number;
204
- };
205
- meta: object;
206
- }>;
207
- getGitStatus: import("@trpc/server").TRPCQueryProcedure<{
208
- input: void;
209
- output: {
210
- current: string;
211
- staged: string[];
212
- modified: string[];
213
- untracked: string[];
214
- ahead: number;
215
- behind: number;
216
- };
217
- meta: object;
218
- }>;
219
- createBranch: import("@trpc/server").TRPCMutationProcedure<{
220
- input: {
221
- taskId: string;
222
- baseBranch?: string | undefined;
223
- };
224
- output: import("./vcs/git-service.js").BranchInfo;
225
- meta: object;
226
- }>;
227
- commitChanges: import("@trpc/server").TRPCMutationProcedure<{
228
- input: {
229
- taskId: string;
230
- message?: string | undefined;
231
- files?: string[] | undefined;
232
- };
233
- output: import("./vcs/git-service.js").CommitInfo;
234
- meta: object;
235
- }>;
236
- getCommitHistory: import("@trpc/server").TRPCQueryProcedure<{
237
- input: {
238
- maxCount?: number | undefined;
239
- };
240
- output: import("./vcs/git-service.js").CommitInfo[];
241
- meta: object;
242
- }>;
243
- hasUncommittedChanges: import("@trpc/server").TRPCQueryProcedure<{
244
- input: void;
245
- output: boolean;
246
- meta: object;
247
- }>;
248
- getSettings: import("@trpc/server").TRPCQueryProcedure<{
249
- input: void;
250
- output: import("./types/settings.js").VibemanSettings;
251
- meta: object;
252
- }>;
253
- detectQualityChecks: import("@trpc/server").TRPCMutationProcedure<{
254
- input: void;
255
- output: {
256
- checks: {
257
- name: string;
258
- command: string;
259
- args: string[];
260
- timeout: number;
261
- enabled: boolean;
262
- }[];
263
- workingDirectory: string;
264
- };
265
- meta: object;
266
- }>;
267
- getSetting: import("@trpc/server").TRPCQueryProcedure<{
268
- input: {
269
- path: string[];
270
- };
271
- output: unknown;
272
- meta: object;
273
- }>;
274
- updateSettings: import("@trpc/server").TRPCMutationProcedure<{
275
- input: {
276
- path: string[];
277
- value?: unknown;
278
- }[];
279
- output: {
280
- success: boolean;
281
- errors: import("./types/settings.js").SettingsValidationError[];
282
- };
283
- meta: object;
284
- }>;
285
- resetToDefaults: import("@trpc/server").TRPCMutationProcedure<{
286
- input: void;
287
- output: import("./types/settings.js").VibemanSettings;
288
- meta: object;
289
- }>;
290
- validateSettings: import("@trpc/server").TRPCQueryProcedure<{
291
- input: Record<string, unknown>;
292
- output: {
293
- valid: boolean;
294
- errors: import("./types/settings.js").SettingsValidationError[];
295
- };
296
- meta: object;
297
- }>;
298
- getSettingsInfo: import("@trpc/server").TRPCQueryProcedure<{
299
- input: void;
300
- output: {
301
- path: string;
302
- exists: boolean;
303
- };
304
- meta: object;
305
- }>;
306
- getEditorPresets: import("@trpc/server").TRPCQueryProcedure<{
307
- input: void;
308
- output: Record<string, Partial<{
309
- type?: "vscode" | "cursor" | "vim" | "custom";
310
- command?: string;
311
- args?: string[];
312
- name?: string;
313
- openFileCommand?: string[];
314
- openFolderCommand?: string[];
315
- } | undefined>>;
316
- meta: object;
317
- }>;
318
- getTerminalPresets: import("@trpc/server").TRPCQueryProcedure<{
319
- input: void;
320
- output: Record<string, Partial<{
321
- type?: "system" | "iterm2" | "warp" | "custom";
322
- command?: string;
323
- args?: string[];
324
- name?: string;
325
- openCommand?: string[];
326
- } | undefined>>;
327
- meta: object;
328
- }>;
329
- applyEditorPreset: import("@trpc/server").TRPCMutationProcedure<{
330
- input: {
331
- presetName: string;
332
- };
333
- output: {
334
- success: boolean;
335
- errors: import("./types/settings.js").SettingsValidationError[];
336
- };
337
- meta: object;
338
- }>;
339
- applyTerminalPreset: import("@trpc/server").TRPCMutationProcedure<{
340
- input: {
341
- presetName: string;
342
- };
343
- output: {
344
- success: boolean;
345
- errors: import("./types/settings.js").SettingsValidationError[];
346
- };
347
- meta: object;
348
- }>;
349
- updateWorkflowOptions: import("@trpc/server").TRPCMutationProcedure<{
350
- input: {
351
- workflowId: string;
352
- config: {
353
- autoCommit?: boolean | undefined;
354
- createPR?: boolean | undefined;
355
- autoQualityChecks?: boolean | undefined;
356
- requireHumanApproval?: boolean | undefined;
357
- stepByStepMode?: boolean | undefined;
358
- autoMerge?: boolean | undefined;
359
- aiCodeReview?: boolean | undefined;
360
- aiRoutingOverrides?: {
361
- execute_task?: {
362
- provider?: string | undefined;
363
- model?: string | undefined;
364
- } | undefined;
365
- quality_checks?: {
366
- provider?: string | undefined;
367
- model?: string | undefined;
368
- } | undefined;
369
- improve_task?: {
370
- provider?: string | undefined;
371
- model?: string | undefined;
372
- } | undefined;
373
- ai_merge?: {
374
- provider?: string | undefined;
375
- model?: string | undefined;
376
- } | undefined;
377
- ai_codereview?: {
378
- provider?: string | undefined;
379
- model?: string | undefined;
380
- } | undefined;
381
- } | undefined;
382
- };
383
- };
384
- output: {
385
- readonly success: true;
386
- };
387
- meta: object;
388
- }>;
389
- startWorkflow: import("@trpc/server").TRPCMutationProcedure<{
390
- input: {
391
- taskId: string;
392
- config?: {
393
- autoCommit?: boolean | undefined;
394
- createPR?: boolean | undefined;
395
- autoQualityChecks?: boolean | undefined;
396
- requireHumanApproval?: boolean | undefined;
397
- stepByStepMode?: boolean | undefined;
398
- autoMerge?: boolean | undefined;
399
- aiCodeReview?: boolean | undefined;
400
- aiRoutingOverrides?: {
401
- execute_task?: {
402
- provider?: string | undefined;
403
- model?: string | undefined;
404
- } | undefined;
405
- quality_checks?: {
406
- provider?: string | undefined;
407
- model?: string | undefined;
408
- } | undefined;
409
- improve_task?: {
410
- provider?: string | undefined;
411
- model?: string | undefined;
412
- } | undefined;
413
- ai_merge?: {
414
- provider?: string | undefined;
415
- model?: string | undefined;
416
- } | undefined;
417
- ai_codereview?: {
418
- provider?: string | undefined;
419
- model?: string | undefined;
420
- } | undefined;
421
- } | undefined;
422
- } | undefined;
423
- };
424
- output: {
425
- workflowId: string;
426
- };
427
- meta: object;
428
- }>;
429
- continueWorkflow: import("@trpc/server").TRPCMutationProcedure<{
430
- input: {
431
- workflowId: string;
432
- };
433
- output: {
434
- readonly success: true;
435
- };
436
- meta: object;
437
- }>;
438
- runValidation: import("@trpc/server").TRPCMutationProcedure<{
439
- input: {
440
- workflowId: string;
441
- };
442
- output: {
443
- readonly success: true;
444
- };
445
- meta: object;
446
- }>;
447
- runMerge: import("@trpc/server").TRPCMutationProcedure<{
448
- input: {
449
- workflowId: string;
450
- provider?: string | undefined;
451
- model?: string | undefined;
452
- };
453
- output: {
454
- readonly success: true;
455
- };
456
- meta: object;
457
- }>;
458
- runCleanup: import("@trpc/server").TRPCMutationProcedure<{
459
- input: {
460
- workflowId: string;
461
- };
462
- output: {
463
- readonly success: true;
464
- };
465
- meta: object;
466
- }>;
467
- pauseWorkflow: import("@trpc/server").TRPCMutationProcedure<{
468
- input: {
469
- workflowId: string;
470
- };
471
- output: {
472
- readonly success: true;
473
- };
474
- meta: object;
475
- }>;
476
- resetWorkflow: import("@trpc/server").TRPCMutationProcedure<{
477
- input: {
478
- workflowId: string;
479
- force?: boolean | undefined;
480
- deleteWorktree?: boolean | undefined;
481
- };
482
- output: {
483
- success: true;
484
- };
485
- meta: object;
486
- }>;
487
- approveWorkflow: import("@trpc/server").TRPCMutationProcedure<{
488
- input: {
489
- workflowId: string;
490
- comments?: string | undefined;
491
- };
492
- output: {
493
- readonly success: true;
494
- };
495
- meta: object;
496
- }>;
497
- rejectWorkflow: import("@trpc/server").TRPCMutationProcedure<{
498
- input: {
499
- workflowId: string;
500
- feedback: string;
501
- };
502
- output: {
503
- readonly success: true;
504
- };
505
- meta: object;
506
- }>;
507
- onTaskWorkflowEvents: import("@trpc/server").TRPCSubscriptionProcedure<{
508
- input: {
509
- taskId?: string | undefined;
510
- } | undefined;
511
- output: AsyncIterable<{
512
- type: "started" | "phase" | "completed" | "failed" | "updated" | "deleted";
513
- workflowId: string;
514
- phase?: string;
515
- workflow?: any;
516
- executionId?: string;
517
- }, void, any>;
518
- meta: object;
519
- }>;
520
- getWorkflow: import("@trpc/server").TRPCQueryProcedure<{
521
- input: {
522
- workflowId: string;
523
- };
524
- output: import("./types/index.js").VibingExecution | null;
525
- meta: object;
526
- }>;
527
- getWorkflowsByTaskId: import("@trpc/server").TRPCQueryProcedure<{
528
- input: {
529
- taskId: string;
530
- };
531
- output: import("./types/index.js").VibingExecution[];
532
- meta: object;
533
- }>;
534
- getLatestWorkflowByTaskId: import("@trpc/server").TRPCQueryProcedure<{
535
- input: {
536
- taskId: string;
537
- };
538
- output: import("./types/index.js").VibingExecution | null;
539
- meta: object;
540
- }>;
541
- aiReviewCode: import("@trpc/server").TRPCMutationProcedure<{
542
- input: {
543
- taskId: string;
544
- provider?: string | undefined;
545
- workflowId?: string | undefined;
546
- model?: string | undefined;
547
- reviewContext?: string | undefined;
548
- };
549
- output: {
550
- executionId: string;
551
- reviewSummary: string;
552
- recommendations: string[];
553
- qualityScore: number;
554
- };
555
- meta: object;
556
- }>;
557
- approveAndContinueReview: import("@trpc/server").TRPCMutationProcedure<{
558
- input: {
559
- workflowId: string;
560
- };
561
- output: {
562
- success: true;
563
- };
564
- meta: object;
565
- }>;
566
- markCompleted: import("@trpc/server").TRPCMutationProcedure<{
567
- input: {
568
- workflowId: string;
569
- };
570
- output: {
571
- success: true;
572
- };
573
- meta: object;
574
- }>;
575
- checkWorktreeStatus: import("@trpc/server").TRPCMutationProcedure<{
576
- input: {
577
- workflowId: string;
578
- };
579
- output: {
580
- clean: boolean;
581
- uncommittedFiles: string[];
582
- worktreePath?: string;
583
- };
584
- meta: object;
585
- }>;
586
- rerunImplementation: import("@trpc/server").TRPCMutationProcedure<{
587
- input: {
588
- workflowId: string;
589
- provider?: string | undefined;
590
- model?: string | undefined;
591
- feedback?: string | undefined;
592
- };
593
- output: {
594
- success: true;
595
- };
596
- meta: object;
597
- }>;
598
- skipToNextPhase: import("@trpc/server").TRPCMutationProcedure<{
599
- input: {
600
- workflowId: string;
601
- };
602
- output: {
603
- success: true;
604
- };
605
- meta: object;
606
- }>;
607
- rerunFromPhase: import("@trpc/server").TRPCMutationProcedure<{
608
- input: {
609
- workflowId: string;
610
- phase: "completed" | "failed" | "draft" | "awaiting-review" | "approved" | "merged" | "paused" | "implementing" | "validating" | "ai-reviewing" | "merging" | "cleaning";
611
- };
612
- output: {
613
- success: true;
614
- };
615
- meta: object;
616
- }>;
617
- listWorktrees: import("@trpc/server").TRPCQueryProcedure<{
618
- input: void;
619
- output: (import("./types/index.js").WorktreeInfo & {
620
- isConnectedToTask: boolean;
621
- })[];
622
- meta: object;
623
- }>;
624
- syncWorktreeState: import("@trpc/server").TRPCMutationProcedure<{
625
- input: void;
626
- output: {
627
- readonly success: true;
628
- readonly message: "Worktree state synchronized";
629
- };
630
- meta: object;
631
- }>;
632
- getWorktreeInfo: import("@trpc/server").TRPCQueryProcedure<{
633
- input: {
634
- taskId: string;
635
- };
636
- output: any;
637
- meta: object;
638
- }>;
639
- createWorktree: import("@trpc/server").TRPCMutationProcedure<{
640
- input: {
641
- taskId: string;
642
- };
643
- output: any;
644
- meta: object;
645
- }>;
646
- deleteWorktree: import("@trpc/server").TRPCMutationProcedure<{
647
- input: {
648
- taskId: string;
649
- force?: boolean | undefined;
650
- };
651
- output: {
652
- readonly success: true;
653
- };
654
- meta: object;
655
- }>;
656
- openInEditor: import("@trpc/server").TRPCMutationProcedure<{
657
- input: {
658
- worktreePath: string;
659
- };
660
- output: {
661
- readonly success: true;
662
- };
663
- meta: object;
664
- }>;
665
- openInTerminal: import("@trpc/server").TRPCMutationProcedure<{
666
- input: {
667
- worktreePath: string;
668
- };
669
- output: {
670
- readonly success: true;
671
- };
672
- meta: object;
673
- }>;
674
- createWorktreePR: import("@trpc/server").TRPCMutationProcedure<{
675
- input: {
676
- taskId: string;
677
- baseBranch?: string | undefined;
678
- };
679
- output: {
680
- success: boolean;
681
- pullRequest?: any;
682
- error?: string;
683
- };
684
- meta: object;
685
- }>;
686
- createPullRequest: import("@trpc/server").TRPCMutationProcedure<{
687
- input: {
688
- taskId: string;
689
- baseBranch?: string | undefined;
690
- };
691
- output: {
692
- success: boolean;
693
- pullRequest?: any;
694
- error?: string;
695
- };
696
- meta: object;
697
- }>;
698
- cleanupWorktree: import("@trpc/server").TRPCMutationProcedure<{
699
- input: {
700
- isConnectedToTask: boolean;
701
- taskId?: string | undefined;
702
- force?: boolean | undefined;
703
- worktreePath?: string | undefined;
704
- branchName?: string | undefined;
705
- };
706
- output: {
707
- readonly success: true;
708
- };
709
- meta: object;
710
- }>;
711
- executeTask: import("@trpc/server").TRPCMutationProcedure<{
712
- input: {
713
- taskId: string;
714
- };
715
- output: {
716
- readonly executionId: string;
717
- };
718
- meta: object;
719
- }>;
720
- stopTaskExecution: import("@trpc/server").TRPCMutationProcedure<{
721
- input: {
722
- executionId: string;
723
- };
724
- output: {
725
- readonly success: true;
726
- };
727
- meta: object;
728
- }>;
729
- getTaskExecutionStatus: import("@trpc/server").TRPCQueryProcedure<{
730
- input: {
731
- executionId: string;
732
- };
733
- output: import("./types/index.js").AgentExecution | null;
734
- meta: object;
735
- }>;
736
- getTaskExecutionLogs: import("@trpc/server").TRPCQueryProcedure<{
737
- input: {
738
- executionId: string;
739
- };
740
- output: {
741
- logs: any[];
742
- };
743
- meta: object;
744
- }>;
745
- getTaskExecutions: import("@trpc/server").TRPCQueryProcedure<{
746
- input: {
747
- taskId: string;
748
- };
749
- output: import("./types/index.js").AgentExecution[];
750
- meta: object;
751
- }>;
752
- getTaskExecutionStats: import("@trpc/server").TRPCQueryProcedure<{
753
- input: void;
754
- output: {
755
- total: number;
756
- pending: number;
757
- running: number;
758
- completed: number;
759
- failed: number;
760
- cancelled: number;
761
- worktrees: {
762
- active: number;
763
- total: number;
764
- enabled: boolean;
765
- };
766
- };
767
- meta: object;
768
- }>;
769
- improveTask: import("@trpc/server").TRPCMutationProcedure<{
770
- input: {
771
- title: string;
772
- type: "feature" | "bug" | "chore" | "refactor" | "test" | "doc";
773
- priority: "low" | "medium" | "high";
774
- content: string;
775
- taskId: string;
776
- executionId?: string | undefined;
777
- };
778
- output: {
779
- type: string;
780
- priority: string;
781
- content: string;
782
- title?: string;
783
- executionId: string;
784
- selectedModel?: string;
785
- };
786
- meta: object;
787
- }>;
788
- onExecutionUpdate: import("@trpc/server").TRPCSubscriptionProcedure<{
789
- input: {
790
- executionId: string;
791
- };
792
- output: AsyncIterable<{
793
- executionId: string;
794
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
795
- logs: string[];
796
- error?: string;
797
- }, void, any>;
798
- meta: object;
799
- }>;
800
- listTasks: import("@trpc/server").TRPCQueryProcedure<{
801
- input: {
802
- status?: "review" | "in-progress" | "backlog" | "done" | undefined;
803
- type?: "feature" | "bug" | "chore" | "refactor" | "test" | "doc" | undefined;
804
- tags?: string[] | undefined;
805
- priority?: "low" | "medium" | "high" | undefined;
806
- search?: string | undefined;
807
- includeDeleted?: boolean | undefined;
808
- onlyDeleted?: boolean | undefined;
809
- } | undefined;
810
- output: import("./types/index.js").Task[];
811
- meta: object;
812
- }>;
813
- getTask: import("@trpc/server").TRPCQueryProcedure<{
814
- input: {
815
- id: string;
816
- };
817
- output: import("./types/index.js").Task;
818
- meta: object;
819
- }>;
820
- createTask: import("@trpc/server").TRPCMutationProcedure<{
821
- input: {
822
- title: string;
823
- type: "feature" | "bug" | "chore" | "refactor" | "test" | "doc";
824
- content: string;
825
- status?: "review" | "in-progress" | "backlog" | "done" | undefined;
826
- id?: string | undefined;
827
- tags?: string[] | undefined;
828
- due_date?: string | undefined;
829
- assignee?: string[] | undefined;
830
- priority?: "low" | "medium" | "high" | undefined;
831
- comments?: string[] | undefined;
832
- };
833
- output: import("./types/index.js").Task;
834
- meta: object;
835
- }>;
836
- updateTask: import("@trpc/server").TRPCMutationProcedure<{
837
- input: {
838
- id: string;
839
- status?: "review" | "in-progress" | "backlog" | "done" | undefined;
840
- title?: string | undefined;
841
- type?: "feature" | "bug" | "chore" | "refactor" | "test" | "doc" | undefined;
842
- tags?: string[] | undefined;
843
- due_date?: string | undefined;
844
- assignee?: string[] | undefined;
845
- priority?: "low" | "medium" | "high" | undefined;
846
- comments?: string[] | undefined;
847
- content?: string | undefined;
848
- deleted_at?: string | undefined;
849
- };
850
- output: import("./types/index.js").Task;
851
- meta: object;
852
- }>;
853
- deleteTask: import("@trpc/server").TRPCMutationProcedure<{
854
- input: {
855
- id: string;
856
- };
857
- output: {
858
- readonly success: true;
859
- };
860
- meta: object;
861
- }>;
862
- moveTask: import("@trpc/server").TRPCMutationProcedure<{
863
- input: {
864
- status: "review" | "in-progress" | "backlog" | "done";
865
- id: string;
866
- };
867
- output: import("./types/index.js").Task;
868
- meta: object;
869
- }>;
870
- getTaskStats: import("@trpc/server").TRPCQueryProcedure<{
871
- input: void;
872
- output: any;
873
- meta: object;
874
- }>;
875
- searchTasks: import("@trpc/server").TRPCQueryProcedure<{
876
- input: {
877
- query: string;
878
- includeDeleted?: boolean | undefined;
879
- onlyDeleted?: boolean | undefined;
880
- };
881
- output: import("./types/index.js").Task[];
882
- meta: object;
883
- }>;
884
- healthCheck: import("@trpc/server").TRPCQueryProcedure<{
885
- input: void;
886
- output: {
887
- status: string;
888
- timestamp: string;
889
- tasksLoaded: number;
890
- };
891
- meta: object;
892
- }>;
893
- onTaskUpdate: import("@trpc/server").TRPCSubscriptionProcedure<{
894
- input: {
895
- taskId?: string | undefined;
896
- } | undefined;
897
- output: AsyncIterable<{
898
- type: "update" | "delete";
899
- taskId: string;
900
- task?: any;
901
- }, void, any>;
902
- meta: object;
903
- }>;
904
- getTaskHistory: import("@trpc/server").TRPCQueryProcedure<{
905
- input: {
906
- taskId: string;
907
- limit?: number | undefined;
908
- };
909
- output: {
910
- available: boolean;
911
- history: import("./vcs/git-history-service.js").TaskHistoryEntry[];
912
- error?: undefined;
913
- } | {
914
- available: boolean;
915
- history: never[];
916
- error: string;
917
- };
918
- meta: object;
919
- }>;
920
- getTaskVersion: import("@trpc/server").TRPCQueryProcedure<{
921
- input: {
922
- taskId: string;
923
- commitHash: string;
924
- };
925
- output: import("./vcs/git-history-service.js").TaskFileContent;
926
- meta: object;
927
- }>;
928
- getTaskDiff: import("@trpc/server").TRPCQueryProcedure<{
929
- input: {
930
- taskId: string;
931
- fromHash: string;
932
- toHash: string;
933
- };
934
- output: import("./vcs/git-history-service.js").TaskDiffEntry;
935
- meta: object;
936
- }>;
937
- }>>;
938
- export type AppRouter = ReturnType<typeof createRouter>;