vibeman 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -7
- package/dist/runtime/api/.tsbuildinfo +1 -1
- package/dist/runtime/api/agent/agent-service.d.ts +11 -13
- package/dist/runtime/api/agent/agent-service.js +25 -31
- package/dist/runtime/api/agent/ai-providers/claude-code-adapter.d.ts +2 -2
- package/dist/runtime/api/agent/ai-providers/claude-code-adapter.js +25 -36
- package/dist/runtime/api/agent/ai-providers/codex-cli-provider.js +48 -14
- package/dist/runtime/api/agent/ai-providers/types.d.ts +2 -0
- package/dist/runtime/api/agent/codex-cli-provider.test.js +37 -0
- package/dist/runtime/api/agent/parsers.d.ts +1 -0
- package/dist/runtime/api/agent/parsers.js +75 -8
- package/dist/runtime/api/agent/prompt-service.d.ts +14 -1
- package/dist/runtime/api/agent/prompt-service.js +123 -14
- package/dist/runtime/api/agent/prompt-service.test.d.ts +1 -0
- package/dist/runtime/api/agent/prompt-service.test.js +230 -0
- package/dist/runtime/api/agent/routing-policy.d.ts +14 -14
- package/dist/runtime/api/api/routers/ai.d.ts +6 -6
- package/dist/runtime/api/api/routers/ai.js +2 -17
- package/dist/runtime/api/api/routers/executions.d.ts +5 -5
- package/dist/runtime/api/api/routers/executions.js +12 -21
- package/dist/runtime/api/api/routers/provider-config.d.ts +165 -0
- package/dist/runtime/api/api/routers/provider-config.js +252 -0
- package/dist/runtime/api/api/routers/tasks.d.ts +10 -10
- package/dist/runtime/api/api/routers/workflows.d.ts +15 -16
- package/dist/runtime/api/api/routers/workflows.js +28 -26
- package/dist/runtime/api/api/routers/worktrees.d.ts +4 -5
- package/dist/runtime/api/api/routers/worktrees.js +11 -11
- package/dist/runtime/api/api/trpc.d.ts +18 -18
- package/dist/runtime/api/index.js +2 -10
- package/dist/runtime/api/lib/local-config.d.ts +245 -0
- package/dist/runtime/api/lib/local-config.js +288 -0
- package/dist/runtime/api/lib/provider-detection.d.ts +59 -0
- package/dist/runtime/api/lib/provider-detection.js +244 -0
- package/dist/runtime/api/lib/server/bootstrap.d.ts +38 -0
- package/dist/runtime/api/lib/server/bootstrap.js +197 -0
- package/dist/runtime/api/lib/server/project-root.js +24 -1
- package/dist/runtime/api/lib/trpc/server.d.ts +124 -31
- package/dist/runtime/api/lib/trpc/server.js +8 -8
- package/dist/runtime/api/lib/trpc/ws-server.js +2 -2
- package/dist/runtime/api/router.d.ts +125 -32
- package/dist/runtime/api/router.js +9 -31
- package/dist/runtime/api/settings-service.js +2 -0
- package/dist/runtime/api/workflows/vibing-orchestrator.d.ts +8 -3
- package/dist/runtime/api/workflows/vibing-orchestrator.js +182 -183
- package/dist/runtime/web/.next/BUILD_ID +1 -1
- package/dist/runtime/web/.next/app-build-manifest.json +2 -2
- package/dist/runtime/web/.next/build-manifest.json +2 -2
- package/dist/runtime/web/.next/prerender-manifest.json +3 -3
- package/dist/runtime/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/runtime/web/.next/server/app/_not-found.html +2 -2
- package/dist/runtime/web/.next/server/app/_not-found.rsc +5 -5
- package/dist/runtime/web/.next/server/app/api/health/route.js +1 -1
- package/dist/runtime/web/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
- package/dist/runtime/web/.next/server/app/api/images/[...path]/route_client-reference-manifest.js +1 -1
- package/dist/runtime/web/.next/server/app/api/upload/route_client-reference-manifest.js +1 -1
- package/dist/runtime/web/.next/server/app/index.html +2 -2
- package/dist/runtime/web/.next/server/app/index.rsc +6 -6
- package/dist/runtime/web/.next/server/app/page.js +3 -3
- package/dist/runtime/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/runtime/web/.next/server/chunks/458.js +1 -1
- package/dist/runtime/web/.next/server/pages/404.html +2 -2
- package/dist/runtime/web/.next/server/pages/500.html +1 -1
- package/dist/runtime/web/.next/server/pages-manifest.json +1 -1
- package/dist/runtime/web/.next/server/server-reference-manifest.json +1 -1
- package/dist/runtime/web/.next/static/chunks/app/{layout-dc0cfd29075b2160.js → layout-8435322f09fd0975.js} +1 -1
- package/dist/runtime/web/.next/static/chunks/app/page-8c3ba579efc6f918.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -1
- package/dist/runtime/web/.next/static/chunks/app/page-f34a8b196b18850b.js +0 -1
- /package/dist/runtime/web/.next/static/{1HR8N0rJkCvFRtbTPJMyH → mRpNgPfbYR_0wrODzlg_4}/_buildManifest.js +0 -0
- /package/dist/runtime/web/.next/static/{1HR8N0rJkCvFRtbTPJMyH → mRpNgPfbYR_0wrODzlg_4}/_ssgManifest.js +0 -0
|
@@ -6,44 +6,21 @@ import { buildWorkflowRoutes } from './api/routers/workflows.js';
|
|
|
6
6
|
import { buildGitRoutes } from './api/routers/git.js';
|
|
7
7
|
import { buildAIRoutes } from './api/routers/ai.js';
|
|
8
8
|
import { buildSettingsRoutes } from './api/routers/settings.js';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
if (vibingOrchestrator)
|
|
12
|
-
return vibingOrchestrator;
|
|
13
|
-
if (getVibingOrchestratorAsync)
|
|
14
|
-
return await getVibingOrchestratorAsync();
|
|
15
|
-
throw new Error('Vibing orchestrator unavailable');
|
|
16
|
-
};
|
|
17
|
-
const requireOrchestratorSync = () => {
|
|
18
|
-
if (vibingOrchestrator)
|
|
19
|
-
return vibingOrchestrator;
|
|
20
|
-
throw new Error('Vibing orchestrator unavailable');
|
|
21
|
-
};
|
|
9
|
+
import { buildProviderConfigRoutes } from './api/routers/provider-config.js';
|
|
10
|
+
export function createRouter(taskService, gitService, vibingOrchestrator) {
|
|
22
11
|
const tasks = buildTaskRoutes(taskService, gitService);
|
|
23
12
|
const executions = buildExecutionRoutes({
|
|
24
13
|
taskService,
|
|
25
|
-
|
|
26
|
-
requireOrchestratorSync,
|
|
14
|
+
vibingOrchestrator,
|
|
27
15
|
});
|
|
28
|
-
const worktrees = buildWorktreeRoutes({
|
|
29
|
-
const workflows = buildWorkflowRoutes({
|
|
16
|
+
const worktrees = buildWorktreeRoutes({ vibingOrchestrator });
|
|
17
|
+
const workflows = buildWorkflowRoutes({ vibingOrchestrator });
|
|
30
18
|
const settings = buildSettingsRoutes();
|
|
31
|
-
|
|
32
|
-
const gitFallback = gitService ||
|
|
33
|
-
new Proxy({}, {
|
|
34
|
-
get() {
|
|
35
|
-
return () => {
|
|
36
|
-
throw new Error('Git service unavailable in this environment');
|
|
37
|
-
};
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
const git = buildGitRoutes(taskService, gitFallback);
|
|
19
|
+
const git = buildGitRoutes(taskService, gitService);
|
|
41
20
|
const ai = buildAIRoutes({
|
|
42
|
-
|
|
43
|
-
const orchestrator = requireOrchestratorSync();
|
|
44
|
-
return orchestrator.getAgentService();
|
|
45
|
-
},
|
|
21
|
+
agentService: vibingOrchestrator.getAgentService(),
|
|
46
22
|
});
|
|
23
|
+
const providerConfig = buildProviderConfigRoutes();
|
|
47
24
|
return router({
|
|
48
25
|
...tasks,
|
|
49
26
|
...executions,
|
|
@@ -52,5 +29,6 @@ export function createRouter(taskService, gitService, vibingOrchestrator, getVib
|
|
|
52
29
|
...settings,
|
|
53
30
|
...git,
|
|
54
31
|
...ai,
|
|
32
|
+
...providerConfig,
|
|
55
33
|
});
|
|
56
34
|
}
|
|
@@ -35,6 +35,8 @@ const VibemanSettingsSchema = z.object({
|
|
|
35
35
|
systemPrompt: z.string().min(10),
|
|
36
36
|
taskPrompt: z.string().min(10),
|
|
37
37
|
}),
|
|
38
|
+
// Note: Provider binary paths are now stored in local config (.vibeman/.local/)
|
|
39
|
+
// This field is kept for backwards compatibility but deprecated
|
|
38
40
|
providers: z
|
|
39
41
|
.object({
|
|
40
42
|
claudeCode: z.object({ binPath: z.string().min(1).optional() }).optional(),
|
|
@@ -4,6 +4,7 @@ import { TaskService } from '../tasks/task-service.js';
|
|
|
4
4
|
import { AgentService } from '../agent/agent-service.js';
|
|
5
5
|
import { WorktreeService } from '../vcs/worktree-service.js';
|
|
6
6
|
import { GitService } from '../vcs/git-service.js';
|
|
7
|
+
import type { ResolvedProvider } from '../agent/routing-policy.js';
|
|
7
8
|
export declare class VibingOrchestrator extends EventEmitter {
|
|
8
9
|
private taskService;
|
|
9
10
|
private agentService;
|
|
@@ -63,13 +64,14 @@ export declare class VibingOrchestrator extends EventEmitter {
|
|
|
63
64
|
type: string;
|
|
64
65
|
priority: string;
|
|
65
66
|
content: string;
|
|
67
|
+
title?: string;
|
|
66
68
|
executionId: string;
|
|
67
69
|
selectedModel?: string;
|
|
68
70
|
}>;
|
|
69
|
-
|
|
71
|
+
aiReviewCode(taskId: string, reviewContext?: string, options?: {
|
|
70
72
|
workflowId?: string;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
overrides?: Partial<ResolvedProvider>;
|
|
74
|
+
executionId?: string;
|
|
73
75
|
}): Promise<{
|
|
74
76
|
executionId: string;
|
|
75
77
|
reviewSummary: string;
|
|
@@ -81,6 +83,7 @@ export declare class VibingOrchestrator extends EventEmitter {
|
|
|
81
83
|
workflowId?: string;
|
|
82
84
|
provider?: string;
|
|
83
85
|
model?: string;
|
|
86
|
+
executionId?: string;
|
|
84
87
|
}): Promise<{
|
|
85
88
|
executionId: string;
|
|
86
89
|
}>;
|
|
@@ -203,6 +206,7 @@ export declare class VibingOrchestrator extends EventEmitter {
|
|
|
203
206
|
* Execute AI review as a dedicated phase
|
|
204
207
|
*/
|
|
205
208
|
private executeAiReviewPhase;
|
|
209
|
+
private executeAwaitingReview;
|
|
206
210
|
/**
|
|
207
211
|
* Execute validation phase with quality checks
|
|
208
212
|
*/
|
|
@@ -215,6 +219,7 @@ export declare class VibingOrchestrator extends EventEmitter {
|
|
|
215
219
|
* Execute merge phase
|
|
216
220
|
*/
|
|
217
221
|
private executeMerge;
|
|
222
|
+
private updateCleanupStatus;
|
|
218
223
|
/**
|
|
219
224
|
* Public: run merge phase on demand
|
|
220
225
|
* This will attempt merge regardless of current phase.
|