vibe-splain 3.4.2 → 4.0.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 +110 -158
- package/dist/commands/install.d.ts +0 -5
- package/dist/commands/install.js +5 -55
- package/dist/commands/serve.js +1 -1
- package/dist/export/ArtifactBundleWriter.js +3 -3
- package/dist/export/ExportOrchestrator.d.ts +2 -20
- package/dist/export/ExportOrchestrator.js +5 -116
- package/dist/export/Watcher.js +5 -5
- package/dist/export/renderers/AgentMarkdownRenderer.d.ts +1 -1
- package/dist/export/renderers/GraphRenderer.d.ts +2 -2
- package/dist/export/renderers/HtmlRenderer.d.ts +1 -1
- package/dist/export/renderers/HtmlRenderer.js +1 -1
- package/dist/export/renderers/JsonRenderer.d.ts +1 -1
- package/dist/export/renderers/RawAnalysisRenderer.d.ts +1 -1
- package/dist/export/renderers/Renderer.d.ts +1 -1
- package/dist/export/renderers/ValidationRenderer.d.ts +1 -1
- package/dist/index.js +1425 -6511
- package/dist/mcp/server.js +6 -46
- package/dist/mcp/tools/get_file_context.js +1 -1
- package/dist/mcp/tools/get_project_map.js +1 -1
- package/dist/mcp/tools/get_strategic_overview.js +1 -1
- package/dist/mcp/tools/get_wild_discoveries.js +1 -1
- package/dist/mcp/tools/inspect_pillar.js +1 -1
- package/dist/mcp/tools/mark_stale.js +1 -1
- package/dist/mcp/tools/scan_project.d.ts +2 -3
- package/dist/mcp/tools/scan_project.js +12 -13
- package/dist/mcp/tools/set_project_brief.js +1 -1
- package/dist/mcp/tools/write_decision_card.d.ts +1 -1
- package/dist/mcp/tools/write_decision_card.js +2 -2
- package/dist/ui/index.html +1 -1
- package/package.json +9 -14
- package/dist/commands/bundle.d.ts +0 -4
- package/dist/commands/bundle.js +0 -68
- package/dist/commands/export.d.ts +0 -1
- package/dist/commands/export.js +0 -19
- package/dist/commands/gc.d.ts +0 -3
- package/dist/commands/gc.js +0 -59
- package/dist/commands/hook.d.ts +0 -9
- package/dist/commands/hook.js +0 -84
- package/dist/commands/importBundle.d.ts +0 -4
- package/dist/commands/importBundle.js +0 -80
- package/dist/commands/network.d.ts +0 -1
- package/dist/commands/network.js +0 -91
- package/dist/commands/scan.d.ts +0 -13
- package/dist/commands/scan.js +0 -97
- package/dist/export/renderers/DeltaRenderer.d.ts +0 -6
- package/dist/export/renderers/DeltaRenderer.js +0 -22
- package/dist/hook/preToolUse.d.ts +0 -30
- package/dist/hook/preToolUse.js +0 -81
- package/dist/hook-entry.d.ts +0 -2
- package/dist/hook-entry.js +0 -8
- package/dist/hook.d.ts +0 -1
- package/dist/hook.js +0 -337
- package/dist/mcp/BudgetGuard.d.ts +0 -13
- package/dist/mcp/BudgetGuard.js +0 -55
- package/dist/mcp/SessionScope.d.ts +0 -26
- package/dist/mcp/SessionScope.js +0 -56
- package/dist/mcp/tools/apply_patch.d.ts +0 -37
- package/dist/mcp/tools/apply_patch.js +0 -103
- package/dist/mcp/tools/explainSpecialistScope.d.ts +0 -15
- package/dist/mcp/tools/explainSpecialistScope.js +0 -30
- package/dist/mcp/tools/get_call_chain.d.ts +0 -42
- package/dist/mcp/tools/get_call_chain.js +0 -50
- package/dist/mcp/tools/get_file_skeleton.d.ts +0 -23
- package/dist/mcp/tools/get_file_skeleton.js +0 -124
- package/dist/mcp/tools/hydration/get_evidence_slice.d.ts +0 -31
- package/dist/mcp/tools/hydration/get_evidence_slice.js +0 -57
- package/dist/mcp/tools/hydration/get_project_summary.d.ts +0 -23
- package/dist/mcp/tools/hydration/get_project_summary.js +0 -58
- package/dist/mcp/tools/hydration/get_start_here.d.ts +0 -23
- package/dist/mcp/tools/hydration/get_start_here.js +0 -52
- package/dist/mcp/tools/prepareTaskContext.d.ts +0 -38
- package/dist/mcp/tools/prepareTaskContext.js +0 -93
- package/dist/mcp/tools/read_file.d.ts +0 -31
- package/dist/mcp/tools/read_file.js +0 -90
- package/dist/mcp/tools/set_session_scope.d.ts +0 -19
- package/dist/mcp/tools/set_session_scope.js +0 -40
- package/dist/mcp/tools/submit_receipt.d.ts +0 -68
- package/dist/mcp/tools/submit_receipt.js +0 -94
- package/dist/mcp/tools/work_orders.d.ts +0 -79
- package/dist/mcp/tools/work_orders.js +0 -126
- package/dist/mcp/tools/yield_for_scope_expansion.d.ts +0 -29
- package/dist/mcp/tools/yield_for_scope_expansion.js +0 -59
- package/dist/store/BlobStore.d.ts +0 -22
- package/dist/store/BlobStore.js +0 -96
- package/dist/store/PointerStore.d.ts +0 -52
- package/dist/store/PointerStore.js +0 -154
package/dist/export/Watcher.js
CHANGED
|
@@ -2,7 +2,7 @@ import chokidar from 'chokidar';
|
|
|
2
2
|
import { createHash } from 'crypto';
|
|
3
3
|
import { readFile } from 'fs/promises';
|
|
4
4
|
import { join } from 'path';
|
|
5
|
-
import { readDossier } from '@
|
|
5
|
+
import { readDossier } from '@vibesplain/brain';
|
|
6
6
|
import { ExportOrchestrator } from './ExportOrchestrator.js';
|
|
7
7
|
const activeWatchers = new Map();
|
|
8
8
|
export async function startWatcher(projectRoot, watchedPaths) {
|
|
@@ -14,7 +14,7 @@ export async function startWatcher(projectRoot, watchedPaths) {
|
|
|
14
14
|
}
|
|
15
15
|
const watcher = chokidar.watch(watchedPaths.length > 0 ? watchedPaths : projectRoot, {
|
|
16
16
|
ignoreInitial: true,
|
|
17
|
-
ignored: ['**/node_modules/**', '**/dist/**', '**/build/**', '**/.
|
|
17
|
+
ignored: ['**/node_modules/**', '**/dist/**', '**/build/**', '**/.vibesplain/**'],
|
|
18
18
|
persistent: true,
|
|
19
19
|
});
|
|
20
20
|
watcher.on('change', async (filepath) => {
|
|
@@ -42,14 +42,14 @@ export async function startWatcher(projectRoot, watchedPaths) {
|
|
|
42
42
|
if (mutated) {
|
|
43
43
|
const orchestrator = new ExportOrchestrator(projectRoot);
|
|
44
44
|
await orchestrator.writeBundle(dossier);
|
|
45
|
-
console.error(`[
|
|
45
|
+
console.error(`[vibesplain] File changed: ${filepath}. Dossier artifacts updated.`);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
catch (err) {
|
|
49
|
-
console.error('[
|
|
49
|
+
console.error('[vibesplain] Watcher error:', err);
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
activeWatchers.set(projectRoot, watcher);
|
|
53
|
-
console.error('[
|
|
53
|
+
console.error('[vibesplain] File watcher started');
|
|
54
54
|
}
|
|
55
55
|
//# sourceMappingURL=Watcher.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DossierViewModel, AnalysisStore } from '@
|
|
1
|
+
import type { DossierViewModel, AnalysisStore } from '@vibesplain/brain';
|
|
2
2
|
import type { Renderer } from './Renderer.js';
|
|
3
3
|
import type { Artifact } from '../ArtifactBundleWriter.js';
|
|
4
4
|
export declare class AgentMarkdownRenderer implements Renderer {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type ImportGraph } from '@
|
|
2
|
-
import type { DossierViewModel, AnalysisStore } from '@
|
|
1
|
+
import { type ImportGraph } from '@vibesplain/brain';
|
|
2
|
+
import type { DossierViewModel, AnalysisStore } from '@vibesplain/brain';
|
|
3
3
|
import type { Renderer } from './Renderer.js';
|
|
4
4
|
import type { Artifact } from '../ArtifactBundleWriter.js';
|
|
5
5
|
export declare class GraphRenderer implements Renderer {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DossierViewModel, AnalysisStore } from '@
|
|
1
|
+
import type { DossierViewModel, AnalysisStore } from '@vibesplain/brain';
|
|
2
2
|
import type { Renderer } from './Renderer.js';
|
|
3
3
|
import type { Artifact } from '../ArtifactBundleWriter.js';
|
|
4
4
|
export declare class HtmlRenderer implements Renderer {
|
|
@@ -46,7 +46,7 @@ export class HtmlRenderer {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
if (!templateDir) {
|
|
49
|
-
console.error('[
|
|
49
|
+
console.error('[vibesplain] UI template not found. Checked:', candidatePaths);
|
|
50
50
|
return [];
|
|
51
51
|
}
|
|
52
52
|
const artifacts = [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DossierViewModel, AnalysisStore } from '@
|
|
1
|
+
import type { DossierViewModel, AnalysisStore } from '@vibesplain/brain';
|
|
2
2
|
import type { Renderer } from './Renderer.js';
|
|
3
3
|
import type { Artifact } from '../ArtifactBundleWriter.js';
|
|
4
4
|
export declare class JsonRenderer implements Renderer {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DossierViewModel, AnalysisStore } from '@
|
|
1
|
+
import type { DossierViewModel, AnalysisStore } from '@vibesplain/brain';
|
|
2
2
|
import type { Renderer } from './Renderer.js';
|
|
3
3
|
import type { Artifact } from '../ArtifactBundleWriter.js';
|
|
4
4
|
export declare class RawAnalysisRenderer implements Renderer {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DossierViewModel, AnalysisStore } from '@
|
|
1
|
+
import type { DossierViewModel, AnalysisStore } from '@vibesplain/brain';
|
|
2
2
|
import type { Artifact } from '../ArtifactBundleWriter.js';
|
|
3
3
|
export interface Renderer {
|
|
4
4
|
render(viewModel: DossierViewModel, store: AnalysisStore): Promise<Artifact[]> | Artifact[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DossierViewModel, AnalysisStore } from '@
|
|
1
|
+
import type { DossierViewModel, AnalysisStore } from '@vibesplain/brain';
|
|
2
2
|
import type { Renderer } from './Renderer.js';
|
|
3
3
|
import type { Artifact } from '../ArtifactBundleWriter.js';
|
|
4
4
|
export declare class ValidationRenderer implements Renderer {
|