vibeman 0.0.0 → 0.0.1

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