@evref-bl/dev-nexus 0.1.0-alpha.0
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/README.md +677 -0
- package/dist/browserOpener.d.ts +9 -0
- package/dist/browserOpener.js +47 -0
- package/dist/cli.d.ts +18 -0
- package/dist/cli.js +2374 -0
- package/dist/gitWorktreeService.d.ts +57 -0
- package/dist/gitWorktreeService.js +157 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +47 -0
- package/dist/nexusAgentMcpConfig.d.ts +30 -0
- package/dist/nexusAgentMcpConfig.js +228 -0
- package/dist/nexusAutomation.d.ts +103 -0
- package/dist/nexusAutomation.js +390 -0
- package/dist/nexusAutomationAgentLaunch.d.ts +148 -0
- package/dist/nexusAutomationAgentLaunch.js +855 -0
- package/dist/nexusAutomationAgentProfile.d.ts +39 -0
- package/dist/nexusAutomationAgentProfile.js +103 -0
- package/dist/nexusAutomationAgentSurface.d.ts +62 -0
- package/dist/nexusAutomationAgentSurface.js +90 -0
- package/dist/nexusAutomationCommandExecutor.d.ts +29 -0
- package/dist/nexusAutomationCommandExecutor.js +251 -0
- package/dist/nexusAutomationConfig.d.ts +114 -0
- package/dist/nexusAutomationConfig.js +547 -0
- package/dist/nexusAutomationEnqueue.d.ts +37 -0
- package/dist/nexusAutomationEnqueue.js +128 -0
- package/dist/nexusAutomationRunOnce.d.ts +91 -0
- package/dist/nexusAutomationRunOnce.js +586 -0
- package/dist/nexusAutomationScheduler.d.ts +50 -0
- package/dist/nexusAutomationScheduler.js +196 -0
- package/dist/nexusAutomationStatus.d.ts +55 -0
- package/dist/nexusAutomationStatus.js +462 -0
- package/dist/nexusAutomationTarget.d.ts +19 -0
- package/dist/nexusAutomationTarget.js +33 -0
- package/dist/nexusAutomationTargetCycle.d.ts +90 -0
- package/dist/nexusAutomationTargetCycle.js +282 -0
- package/dist/nexusAutomationTargetReport.d.ts +136 -0
- package/dist/nexusAutomationTargetReport.js +504 -0
- package/dist/nexusAutomationWorktreeSetup.d.ts +89 -0
- package/dist/nexusAutomationWorktreeSetup.js +661 -0
- package/dist/nexusCoordination.d.ts +198 -0
- package/dist/nexusCoordination.js +1018 -0
- package/dist/nexusExtension.d.ts +31 -0
- package/dist/nexusExtension.js +1 -0
- package/dist/nexusHomeConfig.d.ts +38 -0
- package/dist/nexusHomeConfig.js +133 -0
- package/dist/nexusMcpServer.d.ts +31 -0
- package/dist/nexusMcpServer.js +1036 -0
- package/dist/nexusPluginCapabilities.d.ts +197 -0
- package/dist/nexusPluginCapabilities.js +201 -0
- package/dist/nexusProjectConfig.d.ts +95 -0
- package/dist/nexusProjectConfig.js +880 -0
- package/dist/nexusProjectHomeService.d.ts +121 -0
- package/dist/nexusProjectHomeService.js +171 -0
- package/dist/nexusProjectLifecycle.d.ts +62 -0
- package/dist/nexusProjectLifecycle.js +205 -0
- package/dist/nexusProjectOperations.d.ts +101 -0
- package/dist/nexusProjectOperations.js +296 -0
- package/dist/nexusProjectRegistry.d.ts +42 -0
- package/dist/nexusProjectRegistry.js +91 -0
- package/dist/nexusProjectScaffold.d.ts +25 -0
- package/dist/nexusProjectScaffold.js +61 -0
- package/dist/nexusProjectTemplate.d.ts +34 -0
- package/dist/nexusProjectTemplate.js +354 -0
- package/dist/nexusSkills.d.ts +134 -0
- package/dist/nexusSkills.js +647 -0
- package/dist/nexusWorkerContextBundle.d.ts +142 -0
- package/dist/nexusWorkerContextBundle.js +375 -0
- package/dist/processSupervisor.d.ts +89 -0
- package/dist/processSupervisor.js +440 -0
- package/dist/vibeKanbanApi.d.ts +11 -0
- package/dist/vibeKanbanApi.js +14 -0
- package/dist/vibeKanbanAuth.d.ts +25 -0
- package/dist/vibeKanbanAuth.js +101 -0
- package/dist/vibeKanbanBoardAdapter.d.ts +36 -0
- package/dist/vibeKanbanBoardAdapter.js +196 -0
- package/dist/vibeKanbanMcpConfig.d.ts +36 -0
- package/dist/vibeKanbanMcpConfig.js +191 -0
- package/dist/vibeKanbanProjectAdapter.d.ts +39 -0
- package/dist/vibeKanbanProjectAdapter.js +113 -0
- package/dist/vibeKanbanWorkspaceSetup.d.ts +1 -0
- package/dist/vibeKanbanWorkspaceSetup.js +96 -0
- package/dist/workItemService.d.ts +60 -0
- package/dist/workItemService.js +163 -0
- package/dist/workTrackingGitHubProvider.d.ts +71 -0
- package/dist/workTrackingGitHubProvider.js +663 -0
- package/dist/workTrackingGitLabProvider.d.ts +62 -0
- package/dist/workTrackingGitLabProvider.js +523 -0
- package/dist/workTrackingJiraProvider.d.ts +67 -0
- package/dist/workTrackingJiraProvider.js +652 -0
- package/dist/workTrackingLocalProvider.d.ts +49 -0
- package/dist/workTrackingLocalProvider.js +463 -0
- package/dist/workTrackingProviderService.d.ts +21 -0
- package/dist/workTrackingProviderService.js +117 -0
- package/dist/workTrackingTypes.d.ts +202 -0
- package/dist/workTrackingTypes.js +1 -0
- package/dist/workTrackingVibeProvider.d.ts +35 -0
- package/dist/workTrackingVibeProvider.js +119 -0
- package/dist/worktreeExecutionMetadata.d.ts +76 -0
- package/dist/worktreeExecutionMetadata.js +239 -0
- package/package.json +37 -0
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { type GitRunner } from "./gitWorktreeService.js";
|
|
2
|
+
import type { WorkComment, WorkItem } from "./workTrackingTypes.js";
|
|
3
|
+
export declare const coordinationHandoffCommentMarker = "DevNexus coordination handoff";
|
|
4
|
+
export declare const coordinationHandoffKind = "dev-nexus.coordination.handoff";
|
|
5
|
+
export declare const defaultCoordinationHandoffStaleAfterMs: number;
|
|
6
|
+
export type NexusCoordinationHandoffStatus = "working" | "ready" | "blocked" | "merged";
|
|
7
|
+
export interface NexusCoordinationGitStatus {
|
|
8
|
+
repositoryPath: string | null;
|
|
9
|
+
branch: string | null;
|
|
10
|
+
upstream: string | null;
|
|
11
|
+
baseRef: string | null;
|
|
12
|
+
headCommit: string | null;
|
|
13
|
+
dirty: boolean | null;
|
|
14
|
+
stagedCount: number;
|
|
15
|
+
unstagedCount: number;
|
|
16
|
+
untrackedCount: number;
|
|
17
|
+
ahead: number | null;
|
|
18
|
+
behind: number | null;
|
|
19
|
+
pushed: boolean | null;
|
|
20
|
+
warnings: string[];
|
|
21
|
+
}
|
|
22
|
+
export interface NexusCoordinationHandoffRecord {
|
|
23
|
+
kind: typeof coordinationHandoffKind;
|
|
24
|
+
version: 1;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
projectId: string;
|
|
27
|
+
projectRoot: string;
|
|
28
|
+
componentId: string;
|
|
29
|
+
componentName: string;
|
|
30
|
+
workItemId: string;
|
|
31
|
+
hostId: string;
|
|
32
|
+
agentId: string | null;
|
|
33
|
+
status: NexusCoordinationHandoffStatus;
|
|
34
|
+
repositoryPath: string | null;
|
|
35
|
+
branch: string | null;
|
|
36
|
+
upstream: string | null;
|
|
37
|
+
baseRef: string | null;
|
|
38
|
+
headCommit: string | null;
|
|
39
|
+
dirty: boolean | null;
|
|
40
|
+
ahead: number | null;
|
|
41
|
+
behind: number | null;
|
|
42
|
+
pushed: boolean | null;
|
|
43
|
+
changedAreas: string[];
|
|
44
|
+
decisions: string[];
|
|
45
|
+
verificationSummary: string | null;
|
|
46
|
+
integrationPreference: string | null;
|
|
47
|
+
note: string | null;
|
|
48
|
+
}
|
|
49
|
+
export interface NexusCoordinationHandoffSummary extends NexusCoordinationHandoffRecord {
|
|
50
|
+
commentId: string | null;
|
|
51
|
+
commentCreatedAt: string | null;
|
|
52
|
+
stale: boolean;
|
|
53
|
+
ageMs: number | null;
|
|
54
|
+
}
|
|
55
|
+
export interface NexusCoordinationHandoffCollection {
|
|
56
|
+
available: boolean;
|
|
57
|
+
provider: string | null;
|
|
58
|
+
records: NexusCoordinationHandoffSummary[];
|
|
59
|
+
warnings: string[];
|
|
60
|
+
}
|
|
61
|
+
export type NexusCoordinationIntegrationScope = "work_item" | "component" | "target_branch";
|
|
62
|
+
export type NexusCoordinationMergeStatus = "clean" | "conflict" | "skipped" | "unknown";
|
|
63
|
+
export interface NexusCoordinationIntegrationFetchPlan {
|
|
64
|
+
requested: boolean;
|
|
65
|
+
allowed: boolean;
|
|
66
|
+
remote: string | null;
|
|
67
|
+
targetBranch: string | null;
|
|
68
|
+
ran: boolean;
|
|
69
|
+
exitCode: number | null;
|
|
70
|
+
warning: string | null;
|
|
71
|
+
}
|
|
72
|
+
export interface NexusCoordinationIntegrationBranchMerge {
|
|
73
|
+
status: NexusCoordinationMergeStatus;
|
|
74
|
+
mergeBase: string | null;
|
|
75
|
+
targetCommit: string | null;
|
|
76
|
+
branchCommit: string | null;
|
|
77
|
+
changedFiles: string[];
|
|
78
|
+
conflictFiles: string[];
|
|
79
|
+
messages: string[];
|
|
80
|
+
summary: string;
|
|
81
|
+
rangeDiff: string[];
|
|
82
|
+
}
|
|
83
|
+
export interface NexusCoordinationIntegrationBranchPlan {
|
|
84
|
+
workItemId: string;
|
|
85
|
+
branch: string;
|
|
86
|
+
status: NexusCoordinationHandoffStatus;
|
|
87
|
+
stale: boolean;
|
|
88
|
+
headCommit: string | null;
|
|
89
|
+
handoff: {
|
|
90
|
+
hostId: string;
|
|
91
|
+
agentId: string | null;
|
|
92
|
+
status: NexusCoordinationHandoffStatus;
|
|
93
|
+
createdAt: string;
|
|
94
|
+
stale: boolean;
|
|
95
|
+
changedAreas: string[];
|
|
96
|
+
decisions: string[];
|
|
97
|
+
verificationSummary: string | null;
|
|
98
|
+
integrationPreference: string | null;
|
|
99
|
+
note: string | null;
|
|
100
|
+
};
|
|
101
|
+
merge: NexusCoordinationIntegrationBranchMerge;
|
|
102
|
+
}
|
|
103
|
+
export interface NexusCoordinationDecisionConflict {
|
|
104
|
+
kind: "changed_area" | "integration_preference";
|
|
105
|
+
branches: string[];
|
|
106
|
+
changedArea: string | null;
|
|
107
|
+
decisions: string[];
|
|
108
|
+
summary: string;
|
|
109
|
+
}
|
|
110
|
+
export interface NexusCoordinationSuggestedMergeStep {
|
|
111
|
+
branch: string;
|
|
112
|
+
workItemId: string;
|
|
113
|
+
direction: string;
|
|
114
|
+
reason: string;
|
|
115
|
+
}
|
|
116
|
+
export interface NexusCoordinationIntegrationPlan {
|
|
117
|
+
project: NexusCoordinationStatus["project"];
|
|
118
|
+
component: NexusCoordinationStatus["component"];
|
|
119
|
+
scope: NexusCoordinationIntegrationScope;
|
|
120
|
+
target: {
|
|
121
|
+
branch: string | null;
|
|
122
|
+
ref: string;
|
|
123
|
+
commit: string | null;
|
|
124
|
+
};
|
|
125
|
+
fetch: NexusCoordinationIntegrationFetchPlan;
|
|
126
|
+
handoffs: {
|
|
127
|
+
available: boolean;
|
|
128
|
+
provider: string | null;
|
|
129
|
+
totalCount: number;
|
|
130
|
+
activeCount: number;
|
|
131
|
+
staleCount: number;
|
|
132
|
+
records: NexusCoordinationHandoffSummary[];
|
|
133
|
+
warnings: string[];
|
|
134
|
+
};
|
|
135
|
+
branches: NexusCoordinationIntegrationBranchPlan[];
|
|
136
|
+
decisionConflicts: NexusCoordinationDecisionConflict[];
|
|
137
|
+
suggestedOrder: NexusCoordinationSuggestedMergeStep[];
|
|
138
|
+
nextAction: string;
|
|
139
|
+
warnings: string[];
|
|
140
|
+
mutatesSource: false;
|
|
141
|
+
}
|
|
142
|
+
export interface NexusCoordinationStatus {
|
|
143
|
+
project: {
|
|
144
|
+
id: string;
|
|
145
|
+
name: string;
|
|
146
|
+
projectRoot: string;
|
|
147
|
+
};
|
|
148
|
+
component: {
|
|
149
|
+
id: string;
|
|
150
|
+
name: string;
|
|
151
|
+
role: string;
|
|
152
|
+
sourceRoot: string;
|
|
153
|
+
worktreesRoot: string;
|
|
154
|
+
workTrackingProvider: string | null;
|
|
155
|
+
};
|
|
156
|
+
workItem: WorkItem | null;
|
|
157
|
+
git: NexusCoordinationGitStatus;
|
|
158
|
+
handoffs: NexusCoordinationHandoffCollection;
|
|
159
|
+
nextAction: string;
|
|
160
|
+
blocking: boolean;
|
|
161
|
+
warnings: string[];
|
|
162
|
+
}
|
|
163
|
+
export interface NexusCoordinationStatusOptions {
|
|
164
|
+
projectRoot: string;
|
|
165
|
+
componentId?: string;
|
|
166
|
+
workItemId?: string;
|
|
167
|
+
currentPath?: string;
|
|
168
|
+
gitRunner?: GitRunner;
|
|
169
|
+
now?: () => Date | string;
|
|
170
|
+
maxHandoffAgeMs?: number;
|
|
171
|
+
}
|
|
172
|
+
export interface NexusCoordinationHandoffOptions extends NexusCoordinationStatusOptions {
|
|
173
|
+
workItemId: string;
|
|
174
|
+
status: NexusCoordinationHandoffStatus;
|
|
175
|
+
hostId?: string;
|
|
176
|
+
agentId?: string;
|
|
177
|
+
changedAreas?: string[];
|
|
178
|
+
decisions?: string[];
|
|
179
|
+
verificationSummary?: string | null;
|
|
180
|
+
integrationPreference?: string | null;
|
|
181
|
+
note?: string | null;
|
|
182
|
+
}
|
|
183
|
+
export interface NexusCoordinationIntegrationOptions extends NexusCoordinationStatusOptions {
|
|
184
|
+
targetBranch?: string;
|
|
185
|
+
fetch?: boolean;
|
|
186
|
+
}
|
|
187
|
+
export interface NexusCoordinationHandoffResult {
|
|
188
|
+
project: NexusCoordinationStatus["project"];
|
|
189
|
+
component: NexusCoordinationStatus["component"];
|
|
190
|
+
record: NexusCoordinationHandoffRecord;
|
|
191
|
+
comment: WorkComment;
|
|
192
|
+
git: NexusCoordinationGitStatus;
|
|
193
|
+
}
|
|
194
|
+
export declare function getNexusCoordinationStatus(options: NexusCoordinationStatusOptions): Promise<NexusCoordinationStatus>;
|
|
195
|
+
export declare function createNexusCoordinationHandoff(options: NexusCoordinationHandoffOptions): Promise<NexusCoordinationHandoffResult>;
|
|
196
|
+
export declare function getNexusCoordinationIntegrationPlan(options: NexusCoordinationIntegrationOptions): Promise<NexusCoordinationIntegrationPlan>;
|
|
197
|
+
export declare function parseNexusCoordinationHandoffStatus(value: string, pathName: string): NexusCoordinationHandoffStatus;
|
|
198
|
+
export declare function formatCoordinationHandoffComment(record: NexusCoordinationHandoffRecord): string;
|