@nebulacomponents/citable 1.17.0 → 1.18.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/CHANGELOG.md +22 -0
- package/dist/universal/.agents/skills/citable/SKILL.md +20 -1
- package/dist/universal/.agents/skills/citable/VERSION +1 -1
- package/dist/universal/.agents/skills/citable/manifest.json +6 -5
- package/dist/universal/.agents/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.claude/agents/citable/manifest.json +2 -2
- package/dist/universal/.claude/skills/citable/SKILL.md +20 -1
- package/dist/universal/.claude/skills/citable/VERSION +1 -1
- package/dist/universal/.claude/skills/citable/manifest.json +6 -5
- package/dist/universal/.claude/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.cursor/skills/citable/SKILL.md +20 -1
- package/dist/universal/.cursor/skills/citable/VERSION +1 -1
- package/dist/universal/.cursor/skills/citable/manifest.json +6 -5
- package/dist/universal/.cursor/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.gemini/skills/citable/SKILL.md +20 -1
- package/dist/universal/.gemini/skills/citable/VERSION +1 -1
- package/dist/universal/.gemini/skills/citable/manifest.json +6 -5
- package/dist/universal/.gemini/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.github/skills/citable/SKILL.md +20 -1
- package/dist/universal/.github/skills/citable/VERSION +1 -1
- package/dist/universal/.github/skills/citable/manifest.json +6 -5
- package/dist/universal/.github/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.kiro/skills/citable/SKILL.md +20 -1
- package/dist/universal/.kiro/skills/citable/VERSION +1 -1
- package/dist/universal/.kiro/skills/citable/manifest.json +6 -5
- package/dist/universal/.kiro/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.opencode/skills/citable/SKILL.md +20 -1
- package/dist/universal/.opencode/skills/citable/VERSION +1 -1
- package/dist/universal/.opencode/skills/citable/manifest.json +6 -5
- package/dist/universal/.opencode/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.pi/agent/skills/citable/SKILL.md +20 -1
- package/dist/universal/.pi/agent/skills/citable/VERSION +1 -1
- package/dist/universal/.pi/agent/skills/citable/manifest.json +6 -5
- package/dist/universal/.pi/agent/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.qoder/skills/citable/SKILL.md +20 -1
- package/dist/universal/.qoder/skills/citable/VERSION +1 -1
- package/dist/universal/.qoder/skills/citable/manifest.json +6 -5
- package/dist/universal/.qoder/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.rovodev/skills/citable/SKILL.md +20 -1
- package/dist/universal/.rovodev/skills/citable/VERSION +1 -1
- package/dist/universal/.rovodev/skills/citable/manifest.json +6 -5
- package/dist/universal/.rovodev/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.trae/skills/citable/SKILL.md +20 -1
- package/dist/universal/.trae/skills/citable/VERSION +1 -1
- package/dist/universal/.trae/skills/citable/manifest.json +6 -5
- package/dist/universal/.trae/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/.trae-cn/skills/citable/SKILL.md +20 -1
- package/dist/universal/.trae-cn/skills/citable/VERSION +1 -1
- package/dist/universal/.trae-cn/skills/citable/manifest.json +6 -5
- package/dist/universal/.trae-cn/skills/citable/schemas/sow.schema.json +92 -0
- package/dist/universal/manifest.json +76 -64
- package/package.json +1 -1
- package/schemas/sow.schema.json +92 -0
- package/skill/SKILL.md +20 -1
- package/src/analysis/behavioral.js +126 -0
- package/src/analysis/croAudit.js +302 -0
- package/src/analysis/croRoadmap.js +121 -0
- package/src/analysis/eeat.js +300 -0
- package/src/analysis/funnelAnalysis.js +171 -0
- package/src/analysis/iceMatrix.js +205 -0
- package/src/analysis/offpage.js +228 -0
- package/src/analysis/readiness.js +253 -0
- package/src/analysis/schemaRecommendations.js +173 -0
- package/src/analysis/strategicRoadmap.js +148 -0
- package/src/cli/index.js +149 -3
- package/src/commands/answerEngineReadiness.js +48 -0
- package/src/commands/auditBacklinks.js +79 -0
- package/src/commands/croBacklog.js +182 -0
- package/src/commands/croSuite.js +156 -0
- package/src/commands/executive.js +6 -0
- package/src/commands/executiveCro.js +30 -0
- package/src/commands/executiveSearch.js +28 -0
- package/src/commands/inspectCro.js +7 -0
- package/src/commands/inspectEeat.js +53 -0
- package/src/commands/prioritize.js +42 -6
- package/src/commands/roadmapCmd.js +69 -0
- package/src/commands/schemaCmd.js +10 -2
- package/src/commands/sowCmd.js +67 -0
- package/src/commands/sweep.js +357 -0
- package/src/reporting/executiveCroReport.js +731 -0
- package/src/reporting/executiveExport.js +62 -0
- package/src/reporting/executiveSearchReport.js +704 -0
- package/src/sow/admissibilityGate.js +194 -0
- package/src/sow/generateSow.js +762 -0
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { readJson } from "../shared/io.js";
|
|
4
|
+
import { exportExecutiveSearchReport, buildExecutiveSearchReport, renderSearchReportMarkdown, renderSearchReportHtml } from "./executiveSearchReport.js";
|
|
5
|
+
import { exportExecutiveCroReport, buildExecutiveCroReport, renderCroReportMarkdown, renderCroReportHtml } from "./executiveCroReport.js";
|
|
6
|
+
|
|
7
|
+
export {
|
|
8
|
+
exportExecutiveSearchReport,
|
|
9
|
+
buildExecutiveSearchReport,
|
|
10
|
+
renderSearchReportMarkdown,
|
|
11
|
+
renderSearchReportHtml,
|
|
12
|
+
exportExecutiveCroReport,
|
|
13
|
+
buildExecutiveCroReport,
|
|
14
|
+
renderCroReportMarkdown,
|
|
15
|
+
renderCroReportHtml,
|
|
16
|
+
};
|
|
4
17
|
|
|
5
18
|
/**
|
|
6
19
|
* Generates an executive briefing deliverable (HTML brief or Markdown deck)
|
|
@@ -10,7 +23,56 @@ export async function exportExecutiveReport(root, runId, {
|
|
|
10
23
|
format = "html-brief",
|
|
11
24
|
clientName = "Nebula Client",
|
|
12
25
|
output = null,
|
|
26
|
+
type = null,
|
|
27
|
+
target = null,
|
|
28
|
+
baseUrl = null,
|
|
29
|
+
refDate = null,
|
|
30
|
+
input = null,
|
|
31
|
+
funnelId = null,
|
|
13
32
|
} = {}) {
|
|
33
|
+
if (type === 'search' || type === 'seo' || format === 'search') {
|
|
34
|
+
const r = await exportExecutiveSearchReport(root, {
|
|
35
|
+
runId,
|
|
36
|
+
format: ['html-brief', 'html'].includes(format) ? 'html' : format === 'search' ? 'markdown' : format,
|
|
37
|
+
clientName,
|
|
38
|
+
output,
|
|
39
|
+
target,
|
|
40
|
+
baseUrl,
|
|
41
|
+
refDate,
|
|
42
|
+
backlinksInput: input,
|
|
43
|
+
});
|
|
44
|
+
return {
|
|
45
|
+
format: r.format,
|
|
46
|
+
client_name: r.client_name,
|
|
47
|
+
run_id: runId,
|
|
48
|
+
output_path: r.output_path,
|
|
49
|
+
content: r.content,
|
|
50
|
+
data: r.data,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (type === 'cro' || format === 'cro') {
|
|
55
|
+
const r = await exportExecutiveCroReport(root, {
|
|
56
|
+
runId,
|
|
57
|
+
format: ['html-brief', 'html'].includes(format) ? 'html' : format === 'cro' ? 'markdown' : format,
|
|
58
|
+
clientName,
|
|
59
|
+
output,
|
|
60
|
+
target,
|
|
61
|
+
baseUrl,
|
|
62
|
+
refDate,
|
|
63
|
+
telemetryInput: input,
|
|
64
|
+
funnelId,
|
|
65
|
+
});
|
|
66
|
+
return {
|
|
67
|
+
format: r.format,
|
|
68
|
+
client_name: r.client_name,
|
|
69
|
+
run_id: runId,
|
|
70
|
+
output_path: r.output_path,
|
|
71
|
+
content: r.content,
|
|
72
|
+
data: r.data,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
14
76
|
const runsDir = path.join(root, ".citable", "runs");
|
|
15
77
|
let targetRun = runId;
|
|
16
78
|
|