homegraph 1.1.2 → 1.2.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/LICENSE +21 -21
- package/README.md +268 -243
- package/dist/arkts/ohos-api-index.d.ts +15 -0
- package/dist/arkts/ohos-api-index.d.ts.map +1 -0
- package/dist/arkts/ohos-api-index.js +190 -0
- package/dist/arkts/ohos-api-index.js.map +1 -0
- package/dist/arkts/ohos-sdk-input.d.ts +36 -0
- package/dist/arkts/ohos-sdk-input.d.ts.map +1 -0
- package/dist/arkts/ohos-sdk-input.js +214 -0
- package/dist/arkts/ohos-sdk-input.js.map +1 -0
- package/dist/bin/command-supervision.d.ts +12 -0
- package/dist/bin/command-supervision.d.ts.map +1 -0
- package/dist/bin/command-supervision.js +86 -0
- package/dist/bin/command-supervision.js.map +1 -0
- package/dist/bin/homegraph.d.ts +1 -1
- package/dist/bin/homegraph.js +971 -71
- package/dist/bin/homegraph.js.map +1 -1
- package/dist/db/index.d.ts +20 -0
- package/dist/db/index.d.ts.map +1 -1
- package/dist/db/index.js +39 -0
- package/dist/db/index.js.map +1 -1
- package/dist/db/migrations.d.ts +1 -1
- package/dist/db/migrations.d.ts.map +1 -1
- package/dist/db/migrations.js +58 -19
- package/dist/db/migrations.js.map +1 -1
- package/dist/db/queries.d.ts +14 -0
- package/dist/db/queries.d.ts.map +1 -1
- package/dist/db/queries.js +314 -143
- package/dist/db/queries.js.map +1 -1
- package/dist/db/schema.sql +172 -152
- package/dist/directory.d.ts +32 -0
- package/dist/directory.d.ts.map +1 -1
- package/dist/directory.js +88 -5
- package/dist/directory.js.map +1 -1
- package/dist/extraction/arkts-batch-worker.d.ts +2 -0
- package/dist/extraction/arkts-batch-worker.d.ts.map +1 -0
- package/dist/extraction/arkts-batch-worker.js +28 -0
- package/dist/extraction/arkts-batch-worker.js.map +1 -0
- package/dist/extraction/context.d.ts +11 -0
- package/dist/extraction/context.d.ts.map +1 -1
- package/dist/extraction/context.js +20 -0
- package/dist/extraction/context.js.map +1 -1
- package/dist/extraction/index.d.ts +16 -2
- package/dist/extraction/index.d.ts.map +1 -1
- package/dist/extraction/index.js +619 -380
- package/dist/extraction/index.js.map +1 -1
- package/dist/extraction/languages/arkts-state-decorators.d.ts +13 -0
- package/dist/extraction/languages/arkts-state-decorators.d.ts.map +1 -0
- package/dist/extraction/languages/arkts-state-decorators.js +26 -0
- package/dist/extraction/languages/arkts-state-decorators.js.map +1 -0
- package/dist/extraction/languages/arkts-viewtree.d.ts +4 -2
- package/dist/extraction/languages/arkts-viewtree.d.ts.map +1 -1
- package/dist/extraction/languages/arkts-viewtree.js +21 -6
- package/dist/extraction/languages/arkts-viewtree.js.map +1 -1
- package/dist/extraction/languages/arkts.d.ts +98 -2
- package/dist/extraction/languages/arkts.d.ts.map +1 -1
- package/dist/extraction/languages/arkts.js +1290 -61
- package/dist/extraction/languages/arkts.js.map +1 -1
- package/dist/extraction/languages/c-cpp.d.ts +56 -0
- package/dist/extraction/languages/c-cpp.d.ts.map +1 -1
- package/dist/extraction/languages/c-cpp.js +198 -1
- package/dist/extraction/languages/c-cpp.js.map +1 -1
- package/dist/extraction/languages/ohos-api-consumer.d.ts +34 -0
- package/dist/extraction/languages/ohos-api-consumer.d.ts.map +1 -0
- package/dist/extraction/languages/ohos-api-consumer.js +283 -0
- package/dist/extraction/languages/ohos-api-consumer.js.map +1 -0
- package/dist/extraction/parse-pool.d.ts +126 -0
- package/dist/extraction/parse-pool.d.ts.map +1 -0
- package/dist/extraction/parse-pool.js +319 -0
- package/dist/extraction/parse-pool.js.map +1 -0
- package/dist/extraction/tree-sitter-types.d.ts +17 -0
- package/dist/extraction/tree-sitter-types.d.ts.map +1 -1
- package/dist/extraction/tree-sitter.d.ts +21 -0
- package/dist/extraction/tree-sitter.d.ts.map +1 -1
- package/dist/extraction/tree-sitter.js +198 -27
- package/dist/extraction/tree-sitter.js.map +1 -1
- package/dist/extraction/wasm/tree-sitter-c_sharp.wasm +0 -0
- package/dist/extraction/wasm/tree-sitter-pascal.wasm +0 -0
- package/dist/graph/traversal.d.ts.map +1 -1
- package/dist/graph/traversal.js +76 -17
- package/dist/graph/traversal.js.map +1 -1
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +78 -4
- package/dist/index.js.map +1 -1
- package/dist/installer/instructions-template.js +9 -9
- package/dist/installer/targets/shared.d.ts +5 -6
- package/dist/installer/targets/shared.d.ts.map +1 -1
- package/dist/installer/targets/shared.js +5 -6
- package/dist/installer/targets/shared.js.map +1 -1
- package/dist/mcp/daemon-paths.d.ts +30 -3
- package/dist/mcp/daemon-paths.d.ts.map +1 -1
- package/dist/mcp/daemon-paths.js +50 -10
- package/dist/mcp/daemon-paths.js.map +1 -1
- package/dist/mcp/daemon-registry.d.ts.map +1 -1
- package/dist/mcp/daemon-registry.js +7 -3
- package/dist/mcp/daemon-registry.js.map +1 -1
- package/dist/mcp/daemon.d.ts +48 -0
- package/dist/mcp/daemon.d.ts.map +1 -1
- package/dist/mcp/daemon.js +196 -32
- package/dist/mcp/daemon.js.map +1 -1
- package/dist/mcp/engine.d.ts +17 -0
- package/dist/mcp/engine.d.ts.map +1 -1
- package/dist/mcp/engine.js +73 -1
- package/dist/mcp/engine.js.map +1 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +25 -43
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/liveness-watchdog.js +16 -16
- package/dist/mcp/ppid-watchdog.d.ts +18 -0
- package/dist/mcp/ppid-watchdog.d.ts.map +1 -1
- package/dist/mcp/ppid-watchdog.js +37 -0
- package/dist/mcp/ppid-watchdog.js.map +1 -1
- package/dist/mcp/query-cache.d.ts +25 -0
- package/dist/mcp/query-cache.d.ts.map +1 -0
- package/dist/mcp/query-cache.js +191 -0
- package/dist/mcp/query-cache.js.map +1 -0
- package/dist/mcp/query-pool.d.ts +94 -0
- package/dist/mcp/query-pool.d.ts.map +1 -0
- package/dist/mcp/query-pool.js +297 -0
- package/dist/mcp/query-pool.js.map +1 -0
- package/dist/mcp/query-worker.d.ts +24 -0
- package/dist/mcp/query-worker.d.ts.map +1 -0
- package/dist/mcp/query-worker.js +87 -0
- package/dist/mcp/query-worker.js.map +1 -0
- package/dist/mcp/server-instructions.d.ts +5 -7
- package/dist/mcp/server-instructions.d.ts.map +1 -1
- package/dist/mcp/server-instructions.js +72 -74
- package/dist/mcp/server-instructions.js.map +1 -1
- package/dist/mcp/tools.d.ts +94 -4
- package/dist/mcp/tools.d.ts.map +1 -1
- package/dist/mcp/tools.js +877 -71
- package/dist/mcp/tools.js.map +1 -1
- package/dist/project-config.d.ts +20 -0
- package/dist/project-config.d.ts.map +1 -1
- package/dist/project-config.js +42 -2
- package/dist/project-config.js.map +1 -1
- package/dist/reasoning/login.js +1 -1
- package/dist/reasoning/login.js.map +1 -1
- package/dist/reasoning/reasoner.js +32 -32
- package/dist/resolution/c-fnptr-synthesizer.d.ts +0 -28
- package/dist/resolution/c-fnptr-synthesizer.d.ts.map +1 -1
- package/dist/resolution/c-fnptr-synthesizer.js +765 -79
- package/dist/resolution/c-fnptr-synthesizer.js.map +1 -1
- package/dist/resolution/callback-synthesizer.d.ts +1 -1
- package/dist/resolution/callback-synthesizer.d.ts.map +1 -1
- package/dist/resolution/callback-synthesizer.js +72 -11
- package/dist/resolution/callback-synthesizer.js.map +1 -1
- package/dist/resolution/cooperative-yield.d.ts +32 -0
- package/dist/resolution/cooperative-yield.d.ts.map +1 -0
- package/dist/resolution/cooperative-yield.js +42 -0
- package/dist/resolution/cooperative-yield.js.map +1 -0
- package/dist/resolution/index.d.ts +11 -2
- package/dist/resolution/index.d.ts.map +1 -1
- package/dist/resolution/index.js +72 -4
- package/dist/resolution/index.js.map +1 -1
- package/dist/resolution/name-matcher.d.ts +22 -0
- package/dist/resolution/name-matcher.d.ts.map +1 -1
- package/dist/resolution/name-matcher.js +317 -20
- package/dist/resolution/name-matcher.js.map +1 -1
- package/dist/spec/config.d.ts +39 -0
- package/dist/spec/config.d.ts.map +1 -0
- package/dist/spec/config.js +304 -0
- package/dist/spec/config.js.map +1 -0
- package/dist/spec/db/commit-node.d.ts +23 -0
- package/dist/spec/db/commit-node.d.ts.map +1 -0
- package/dist/spec/db/commit-node.js +62 -0
- package/dist/spec/db/commit-node.js.map +1 -0
- package/dist/spec/db/fragment-node.d.ts +24 -0
- package/dist/spec/db/fragment-node.d.ts.map +1 -0
- package/dist/spec/db/fragment-node.js +128 -0
- package/dist/spec/db/fragment-node.js.map +1 -0
- package/dist/spec/db/fts.d.ts +74 -0
- package/dist/spec/db/fts.d.ts.map +1 -0
- package/dist/spec/db/fts.js +324 -0
- package/dist/spec/db/fts.js.map +1 -0
- package/dist/spec/db/index.d.ts +13 -0
- package/dist/spec/db/index.d.ts.map +1 -0
- package/dist/spec/db/index.js +50 -0
- package/dist/spec/db/index.js.map +1 -0
- package/dist/spec/db/relations.d.ts +55 -0
- package/dist/spec/db/relations.d.ts.map +1 -0
- package/dist/spec/db/relations.js +158 -0
- package/dist/spec/db/relations.js.map +1 -0
- package/dist/spec/db/schema.d.ts +33 -0
- package/dist/spec/db/schema.d.ts.map +1 -0
- package/dist/spec/db/schema.js +119 -0
- package/dist/spec/db/schema.js.map +1 -0
- package/dist/spec/db/schema.sql +117 -0
- package/dist/spec/db/spec-node.d.ts +41 -0
- package/dist/spec/db/spec-node.d.ts.map +1 -0
- package/dist/spec/db/spec-node.js +114 -0
- package/dist/spec/db/spec-node.js.map +1 -0
- package/dist/spec/evolve/impact-locator.d.ts +13 -0
- package/dist/spec/evolve/impact-locator.d.ts.map +1 -0
- package/dist/spec/evolve/impact-locator.js +25 -0
- package/dist/spec/evolve/impact-locator.js.map +1 -0
- package/dist/spec/evolve/llm-client.d.ts +50 -0
- package/dist/spec/evolve/llm-client.d.ts.map +1 -0
- package/dist/spec/evolve/llm-client.js +176 -0
- package/dist/spec/evolve/llm-client.js.map +1 -0
- package/dist/spec/evolve/logic-checker.d.ts +12 -0
- package/dist/spec/evolve/logic-checker.d.ts.map +1 -0
- package/dist/spec/evolve/logic-checker.js +24 -0
- package/dist/spec/evolve/logic-checker.js.map +1 -0
- package/dist/spec/evolve/pipeline.d.ts +42 -0
- package/dist/spec/evolve/pipeline.d.ts.map +1 -0
- package/dist/spec/evolve/pipeline.js +567 -0
- package/dist/spec/evolve/pipeline.js.map +1 -0
- package/dist/spec/evolve/spec-rewriter.d.ts +42 -0
- package/dist/spec/evolve/spec-rewriter.d.ts.map +1 -0
- package/dist/spec/evolve/spec-rewriter.js +230 -0
- package/dist/spec/evolve/spec-rewriter.js.map +1 -0
- package/dist/spec/graph/queries.d.ts +155 -0
- package/dist/spec/graph/queries.d.ts.map +1 -0
- package/dist/spec/graph/queries.js +440 -0
- package/dist/spec/graph/queries.js.map +1 -0
- package/dist/spec/llm/client.d.ts +29 -0
- package/dist/spec/llm/client.d.ts.map +1 -0
- package/dist/spec/llm/client.js +123 -0
- package/dist/spec/llm/client.js.map +1 -0
- package/dist/spec/llm/index.d.ts +3 -0
- package/dist/spec/llm/index.d.ts.map +1 -0
- package/dist/spec/llm/index.js +11 -0
- package/dist/spec/llm/index.js.map +1 -0
- package/dist/spec/llm/prompts.d.ts +13 -0
- package/dist/spec/llm/prompts.d.ts.map +1 -0
- package/dist/spec/llm/prompts.js +75 -0
- package/dist/spec/llm/prompts.js.map +1 -0
- package/dist/spec/mining/diff-parser.d.ts +33 -0
- package/dist/spec/mining/diff-parser.d.ts.map +1 -0
- package/dist/spec/mining/diff-parser.js +166 -0
- package/dist/spec/mining/diff-parser.js.map +1 -0
- package/dist/spec/mining/git-scanner.d.ts +103 -0
- package/dist/spec/mining/git-scanner.d.ts.map +1 -0
- package/dist/spec/mining/git-scanner.js +307 -0
- package/dist/spec/mining/git-scanner.js.map +1 -0
- package/dist/spec/mining/pipeline.d.ts +53 -0
- package/dist/spec/mining/pipeline.d.ts.map +1 -0
- package/dist/spec/mining/pipeline.js +178 -0
- package/dist/spec/mining/pipeline.js.map +1 -0
- package/dist/spec/mining/scope-resolver.d.ts +45 -0
- package/dist/spec/mining/scope-resolver.d.ts.map +1 -0
- package/dist/spec/mining/scope-resolver.js +103 -0
- package/dist/spec/mining/scope-resolver.js.map +1 -0
- package/dist/spec/mining/spec-extractor.d.ts +69 -0
- package/dist/spec/mining/spec-extractor.d.ts.map +1 -0
- package/dist/spec/mining/spec-extractor.js +369 -0
- package/dist/spec/mining/spec-extractor.js.map +1 -0
- package/dist/spec/types.d.ts +149 -0
- package/dist/spec/types.d.ts.map +1 -0
- package/dist/spec/types.js +15 -0
- package/dist/spec/types.js.map +1 -0
- package/dist/spec/utils.d.ts +167 -0
- package/dist/spec/utils.d.ts.map +1 -0
- package/dist/spec/utils.js +463 -0
- package/dist/spec/utils.js.map +1 -0
- package/dist/sync/worktree.d.ts +9 -0
- package/dist/sync/worktree.d.ts.map +1 -1
- package/dist/sync/worktree.js +40 -0
- package/dist/sync/worktree.js.map +1 -1
- package/dist/types.d.ts +6 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/ui/shimmer-progress.d.ts +2 -0
- package/dist/ui/shimmer-progress.d.ts.map +1 -1
- package/dist/ui/shimmer-progress.js +19 -2
- package/dist/ui/shimmer-progress.js.map +1 -1
- package/dist/upgrade/index.js +1 -1
- package/dist/upgrade/index.js.map +1 -1
- package/package.json +58 -57
- package/scripts/add-lang/bench.sh +60 -60
- package/scripts/add-lang/check-grammar.mjs +75 -75
- package/scripts/add-lang/dump-ast.mjs +103 -103
- package/scripts/add-lang/verify-extraction.mjs +70 -70
- package/scripts/agent-eval/ab-adoption.sh +91 -91
- package/scripts/agent-eval/ab-hook.sh +86 -86
- package/scripts/agent-eval/ab-impl.sh +78 -78
- package/scripts/agent-eval/ab-new-vs-baseline.sh +102 -102
- package/scripts/agent-eval/ab-sufficiency.sh +78 -78
- package/scripts/agent-eval/arms-F.sh +21 -21
- package/scripts/agent-eval/arms-matrix.sh +37 -37
- package/scripts/agent-eval/audit.sh +68 -68
- package/scripts/agent-eval/bench-readme.sh +28 -28
- package/scripts/agent-eval/bench-why-repo.sh +22 -22
- package/scripts/agent-eval/block-read-hook.sh +19 -19
- package/scripts/agent-eval/hook-settings.json +15 -15
- package/scripts/agent-eval/itrun.sh +120 -120
- package/scripts/agent-eval/offload-eval-3arm.sh +72 -72
- package/scripts/agent-eval/offload-eval-cost.mjs +133 -133
- package/scripts/agent-eval/offload-eval-effort.mjs +108 -108
- package/scripts/agent-eval/offload-eval-frontload-matrix.sh +25 -25
- package/scripts/agent-eval/offload-eval-frontload.sh +47 -47
- package/scripts/agent-eval/offload-eval-ground-truth.json +18 -18
- package/scripts/agent-eval/offload-eval-hook.mjs +84 -84
- package/scripts/agent-eval/offload-eval-judge.mjs +103 -103
- package/scripts/agent-eval/offload-eval-matrix.sh +20 -20
- package/scripts/agent-eval/offload-eval-metrics.mjs +94 -94
- package/scripts/agent-eval/offload-eval-refs1.sh +50 -50
- package/scripts/agent-eval/offload-eval-setup.sh +24 -24
- package/scripts/agent-eval/offload-eval-styles.sh +71 -71
- package/scripts/agent-eval/offload-eval-summarize.mjs +68 -68
- package/scripts/agent-eval/offload-eval.md +76 -76
- package/scripts/agent-eval/parse-arms.mjs +116 -116
- package/scripts/agent-eval/parse-bench-readme.mjs +84 -84
- package/scripts/agent-eval/parse-run.mjs +45 -45
- package/scripts/agent-eval/parse-session.mjs +93 -93
- package/scripts/agent-eval/probe-context.mjs +21 -21
- package/scripts/agent-eval/probe-explore.mjs +40 -40
- package/scripts/agent-eval/probe-node.mjs +20 -20
- package/scripts/agent-eval/probe-sweep.mjs +119 -119
- package/scripts/agent-eval/probe-trace.mjs +20 -20
- package/scripts/agent-eval/redirect-read-hook.sh +38 -38
- package/scripts/agent-eval/repro-concurrent-explore.mjs +119 -0
- package/scripts/agent-eval/repro-daemon-clients.mjs +125 -0
- package/scripts/agent-eval/run-agent.sh +34 -34
- package/scripts/agent-eval/run-all.sh +69 -69
- package/scripts/agent-eval/run-arms.sh +56 -56
- package/scripts/agent-eval/seq-matrix.mjs +137 -137
- package/scripts/build-bundle.sh +118 -118
- package/scripts/exp_boundary_eval/README.md +247 -0
- package/scripts/exp_boundary_eval/__pycache__/_utils.cpython-310.pyc +0 -0
- package/scripts/exp_boundary_eval/__pycache__/analyze.cpython-310.pyc +0 -0
- package/scripts/exp_boundary_eval/__pycache__/deveco_arm.cpython-310.pyc +0 -0
- package/scripts/exp_boundary_eval/__pycache__/run_one.cpython-310.pyc +0 -0
- package/scripts/exp_boundary_eval/__pycache__/run_session.cpython-310.pyc +0 -0
- package/scripts/exp_boundary_eval/__pycache__/setup.cpython-310.pyc +0 -0
- package/scripts/exp_boundary_eval/_test_mcp_chain.py +78 -0
- package/scripts/exp_boundary_eval/_test_stdin.py +8 -0
- package/scripts/exp_boundary_eval/_utils.py +1116 -0
- package/scripts/exp_boundary_eval/analyze.py +1313 -0
- package/scripts/exp_boundary_eval/data/agents.json +109 -0
- package/scripts/exp_boundary_eval/data/experiments.json +140 -0
- package/scripts/exp_boundary_eval/deveco_arm.py +519 -0
- package/scripts/exp_boundary_eval/run_all.py +378 -0
- package/scripts/exp_boundary_eval/run_one.py +165 -0
- package/scripts/exp_boundary_eval/run_session.py +158 -0
- package/scripts/exp_boundary_eval/setup.py +120 -0
- package/scripts/exp_boundary_eval/win_mcp_launcher.py +73 -0
- package/scripts/exp_boundary_eval/win_mcp_stdio_wrap.js +36 -0
- package/scripts/exp_boundary_eval/win_node_launcher.py +24 -0
- package/scripts/extract-release-notes.mjs +130 -130
- package/scripts/local-install.sh +41 -41
- package/scripts/npm-sdk.js +75 -75
- package/scripts/npm-shim.js +268 -246
- package/scripts/ohos-sdk-publish.mjs +133 -0
- package/scripts/pack-npm.sh +119 -119
- package/scripts/prepare-release.mjs +270 -270
- package/scripts/qa_eval/README.md +407 -404
- package/scripts/qa_eval/_test_deveco_probe.py +41 -41
- package/scripts/qa_eval/agent_runner.py +526 -526
- package/scripts/qa_eval/data/.gitignore +4 -4
- package/scripts/qa_eval/data/test-set.jsonl +2 -22
- package/scripts/qa_eval/eval_metrics.py +274 -233
- package/scripts/qa_eval/external_agent.py +976 -671
- package/scripts/qa_eval/llm_config.py +92 -92
- package/scripts/qa_eval/memory_monitor.py +132 -132
- package/scripts/qa_eval/my_answer_accuracy.py +187 -187
- package/scripts/qa_eval/requirements.txt +2 -2
- package/scripts/qa_eval/run_pipeline.py +804 -711
- package/scripts/qa_eval/stats_efficiency.py +279 -279
- package/scripts/qa_eval/stats_scores.py +207 -207
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Commit4Spec Type Definitions
|
|
3
|
+
*
|
|
4
|
+
* Core types for the Spec knowledge graph — a higher-level semantic overlay
|
|
5
|
+
* on top of HomeGraph's code-symbol graph. Tracks design documents (Specs),
|
|
6
|
+
* Git commits, and code-change fragments, linked through a three-layer
|
|
7
|
+
* relationship model.
|
|
8
|
+
*
|
|
9
|
+
* These types mirror the Python dataclasses in Commit4Spec's
|
|
10
|
+
* `db/models/*.py` and are stored in separate SQLite tables from
|
|
11
|
+
* HomeGraph's `nodes` / `edges` core graph.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* A design Spec — a higher-level document describing system behavior,
|
|
15
|
+
* discovered from either commit-message scopes or spec files on disk.
|
|
16
|
+
*/
|
|
17
|
+
export interface SpecNode {
|
|
18
|
+
/** Unique spec identifier (e.g. "spec28", "auth-module") */
|
|
19
|
+
id: string;
|
|
20
|
+
/** Title extracted from the spec document's first heading */
|
|
21
|
+
title: string;
|
|
22
|
+
/** Subtitle entries — markdown headings with content previews */
|
|
23
|
+
subtitles: string[];
|
|
24
|
+
/** Lifecycle status */
|
|
25
|
+
status: 'active' | 'deprecated';
|
|
26
|
+
/** Version number (incremented on each self-evolution rewrite) */
|
|
27
|
+
version: number;
|
|
28
|
+
/** Filesystem path to the spec document */
|
|
29
|
+
filePath: string;
|
|
30
|
+
/** Unix epoch millisecond timestamp of last update */
|
|
31
|
+
timestamp: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A Git commit — metadata extracted from the repository history.
|
|
35
|
+
*/
|
|
36
|
+
export interface CommitNode {
|
|
37
|
+
/** Full commit hash (40-char hex) */
|
|
38
|
+
hash: string;
|
|
39
|
+
/** Commit message (first line) */
|
|
40
|
+
message: string;
|
|
41
|
+
/** Commit author name */
|
|
42
|
+
author: string;
|
|
43
|
+
/** Unix epoch millisecond timestamp */
|
|
44
|
+
timestamp: number;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A code-change fragment — a single file's diff from a commit,
|
|
48
|
+
* tracked as a coarse-grained range (not AST-level).
|
|
49
|
+
*/
|
|
50
|
+
export interface CodeFragmentNode {
|
|
51
|
+
/** 12-character hex identifier (auto-generated UUID prefix) */
|
|
52
|
+
id: string;
|
|
53
|
+
/** Kind of change */
|
|
54
|
+
changeType: 'ADD' | 'MODIFY' | 'DELETE';
|
|
55
|
+
/** Changed file path relative to repo root */
|
|
56
|
+
filePath: string;
|
|
57
|
+
/** First changed line (1-indexed) */
|
|
58
|
+
startLine: number;
|
|
59
|
+
/** Last changed line (1-indexed) */
|
|
60
|
+
endLine: number;
|
|
61
|
+
/** Unified diff text for this fragment */
|
|
62
|
+
codeDiff: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Relationship types between Spec entities.
|
|
66
|
+
*
|
|
67
|
+
* - GENERATE: commit → spec (parsed from commit message scope)
|
|
68
|
+
* - SUMMARIZED_FROM: spec → commit (discovered during mining)
|
|
69
|
+
* - SIMILAR_TO: spec ↔ spec (semantic similarity match)
|
|
70
|
+
* - EVOLVED_FROM: new spec → old/deprecated spec (self-evolve)
|
|
71
|
+
* - CONTAINS: commit → code fragment
|
|
72
|
+
*/
|
|
73
|
+
export type RelationType = 'GENERATE' | 'SUMMARIZED_FROM' | 'SIMILAR_TO' | 'EVOLVED_FROM' | 'CONTAINS';
|
|
74
|
+
/**
|
|
75
|
+
* A link between a Spec and a Commit.
|
|
76
|
+
*/
|
|
77
|
+
export interface SpecCommitRelation {
|
|
78
|
+
specId: string;
|
|
79
|
+
commitHash: string;
|
|
80
|
+
relationType: RelationType;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* A link between a Commit and a CodeFragment.
|
|
84
|
+
*/
|
|
85
|
+
export interface CommitFragmentRelation {
|
|
86
|
+
commitHash: string;
|
|
87
|
+
fragmentId: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* A link between two Specs.
|
|
91
|
+
*/
|
|
92
|
+
export interface SpecSpecRelation {
|
|
93
|
+
sourceId: string;
|
|
94
|
+
targetId: string;
|
|
95
|
+
relationType: RelationType;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Full context for a Spec — the spec itself, all linked commits,
|
|
99
|
+
* and the code fragments each commit touched.
|
|
100
|
+
*/
|
|
101
|
+
export interface SpecContext {
|
|
102
|
+
spec: SpecNode;
|
|
103
|
+
commits: SpecCommitContext[];
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* A commit with its relation type and code fragments, all bound
|
|
107
|
+
* to a specific spec.
|
|
108
|
+
*/
|
|
109
|
+
export interface SpecCommitContext {
|
|
110
|
+
commit: CommitNode;
|
|
111
|
+
relationType: RelationType;
|
|
112
|
+
fragments: CodeFragmentNode[];
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* A compact commit reference (hash + message only) for lightweight
|
|
116
|
+
* context serialisation.
|
|
117
|
+
*/
|
|
118
|
+
export interface CommitReference {
|
|
119
|
+
hash: string;
|
|
120
|
+
message: string;
|
|
121
|
+
timestamp: number;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* A search result for a spec with scoring metadata.
|
|
125
|
+
*/
|
|
126
|
+
export interface SpecSearchResult {
|
|
127
|
+
/** Matching spec */
|
|
128
|
+
id: string;
|
|
129
|
+
title: string;
|
|
130
|
+
subtitles: string[];
|
|
131
|
+
/** Relevance score — 3.0 (exact title) → 1.0 (subtitles-only match) */
|
|
132
|
+
_score: number;
|
|
133
|
+
/** Which search stage produced this result */
|
|
134
|
+
_method?: 'fts5' | 'like' | 'all' | 'discovery';
|
|
135
|
+
/** LIKE tier label (only for LIKE results) */
|
|
136
|
+
_tier?: 'exact_title' | 'starts_with_title' | 'contains_title' | 'contains_subtitle';
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Statistics about the Spec knowledge graph.
|
|
140
|
+
*/
|
|
141
|
+
export interface SpecStats {
|
|
142
|
+
specCount: number;
|
|
143
|
+
commitCount: number;
|
|
144
|
+
fragmentCount: number;
|
|
145
|
+
relationCount: number;
|
|
146
|
+
activeSpecCount: number;
|
|
147
|
+
deprecatedSpecCount: number;
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/spec/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Commit4Spec Type Definitions
|
|
4
|
+
*
|
|
5
|
+
* Core types for the Spec knowledge graph — a higher-level semantic overlay
|
|
6
|
+
* on top of HomeGraph's code-symbol graph. Tracks design documents (Specs),
|
|
7
|
+
* Git commits, and code-change fragments, linked through a three-layer
|
|
8
|
+
* relationship model.
|
|
9
|
+
*
|
|
10
|
+
* These types mirror the Python dataclasses in Commit4Spec's
|
|
11
|
+
* `db/models/*.py` and are stored in separate SQLite tables from
|
|
12
|
+
* HomeGraph's `nodes` / `edges` core graph.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/spec/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Spec utility functions — replaces `file_utils.py`, `meta.py`, and
|
|
3
|
+
* `truncate.py` from Python Commit4Spec.
|
|
4
|
+
*
|
|
5
|
+
* Covers file I/O, meta.json read/write, text/diff truncation, and budget
|
|
6
|
+
* computation. All functions are synchronous and use Node.js built-ins.
|
|
7
|
+
*
|
|
8
|
+
* @module spec/utils
|
|
9
|
+
*/
|
|
10
|
+
export interface SpecEntry {
|
|
11
|
+
specId: string;
|
|
12
|
+
entryType: 'directory' | 'file';
|
|
13
|
+
path: string;
|
|
14
|
+
}
|
|
15
|
+
export interface SpecMeta {
|
|
16
|
+
repoPath: string;
|
|
17
|
+
specStoragePath: string;
|
|
18
|
+
currentCommitID?: string;
|
|
19
|
+
createdAt?: string;
|
|
20
|
+
updatedAt: string;
|
|
21
|
+
}
|
|
22
|
+
export interface BudgetProfile {
|
|
23
|
+
tier: 'tiny' | 'small' | 'medium' | 'large' | 'vlarge';
|
|
24
|
+
maxFragments: number;
|
|
25
|
+
maxContents: number;
|
|
26
|
+
contentBudget: number;
|
|
27
|
+
}
|
|
28
|
+
/** Root directory for spec data, relative to the repository root. */
|
|
29
|
+
export declare const SPEC_DATA_DIR = ".homegraph/commit4spec";
|
|
30
|
+
/**
|
|
31
|
+
* Read a UTF-8 file synchronously.
|
|
32
|
+
*
|
|
33
|
+
* Returns `null` for ENOENT (not found), EISDIR (is a directory), or EACCES
|
|
34
|
+
* (permission denied). Other errors propagate.
|
|
35
|
+
*/
|
|
36
|
+
export declare function readFileContent(filePath: string): string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Write a UTF-8 file synchronously, creating parent directories as needed.
|
|
39
|
+
*
|
|
40
|
+
* Parent directories are created with `fs.mkdirSync({ recursive: true })`.
|
|
41
|
+
* If the parent exists but is not a directory the underlying error propagates.
|
|
42
|
+
*/
|
|
43
|
+
export declare function writeFileContent(filePath: string, content: string): void;
|
|
44
|
+
/**
|
|
45
|
+
* Parse commit-info.md content for a commit hash.
|
|
46
|
+
*
|
|
47
|
+
* Searches line by line for one of:
|
|
48
|
+
* - `commit: HASH`
|
|
49
|
+
* - `commit-id: HASH`
|
|
50
|
+
* - `commit_id: HASH`
|
|
51
|
+
* - a bare 40-char hex hash on its own line
|
|
52
|
+
*
|
|
53
|
+
* Returns the first matched hash (7–40 hex chars), or `null` if no hash is
|
|
54
|
+
* found. Empty or whitespace-only input returns `null`.
|
|
55
|
+
*/
|
|
56
|
+
export declare function parseCommitInfoMd(content: string): string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Discover specs in a storage directory.
|
|
59
|
+
*
|
|
60
|
+
* A "spec" is any `.md` file OR any subdirectory. For `.md` files the
|
|
61
|
+
* `specId` is the basename without the extension. For subdirectories the
|
|
62
|
+
* `specId` is the directory name.
|
|
63
|
+
*
|
|
64
|
+
* Returns an empty array when `specStoragePath` does not exist or is not a
|
|
65
|
+
* directory.
|
|
66
|
+
*/
|
|
67
|
+
export declare function discoverSpecs(specStoragePath: string): SpecEntry[];
|
|
68
|
+
/**
|
|
69
|
+
* Resolve the database path.
|
|
70
|
+
*
|
|
71
|
+
* Priority:
|
|
72
|
+
* 1. If `explicitDbPath` is given, return it as-is (no side effects).
|
|
73
|
+
* 2. If `repoPath` is given, default to `{repoPath}/${SPEC_DATA_DIR}/commit4spec.db`
|
|
74
|
+
* and ensure `${SPEC_DATA_DIR}/.gitignore` exists containing `"*"`.
|
|
75
|
+
* 3. If neither is given, return `"./commit4spec.db"`.
|
|
76
|
+
*/
|
|
77
|
+
export declare function resolveDbPath(repoPath?: string, explicitDbPath?: string): string;
|
|
78
|
+
/**
|
|
79
|
+
* Read `${SPEC_DATA_DIR}/meta.json` from `repoPath`.
|
|
80
|
+
*
|
|
81
|
+
* Returns `null` when the file is missing, unreadable, or contains invalid
|
|
82
|
+
* JSON or a JSON value that is not a plain object.
|
|
83
|
+
*/
|
|
84
|
+
export declare function readMeta(repoPath: string): SpecMeta | null;
|
|
85
|
+
/**
|
|
86
|
+
* Write `${SPEC_DATA_DIR}/meta.json` to `repoPath`.
|
|
87
|
+
*
|
|
88
|
+
* If existing meta has a `createdAt` field it is preserved; otherwise a new
|
|
89
|
+
* ISO-8601 timestamp is generated. `updatedAt` is always set to the current
|
|
90
|
+
* time. The `${SPEC_DATA_DIR}` directory is created if it does not exist.
|
|
91
|
+
*
|
|
92
|
+
* Returns the full `SpecMeta` that was written.
|
|
93
|
+
*/
|
|
94
|
+
export declare function writeMeta(repoPath: string, specStoragePath: string, currentCommitID?: string): SpecMeta;
|
|
95
|
+
/**
|
|
96
|
+
* Truncate a unified diff at a sensible boundary.
|
|
97
|
+
*
|
|
98
|
+
* The algorithm prefers semantic boundaries to keep diffs readable:
|
|
99
|
+
*
|
|
100
|
+
* 1. If the diff is shorter than `maxChars` (default 3800), return it unchanged.
|
|
101
|
+
* 2. Try: find the **last** `@@` hunk header in the trailing 50% portion of
|
|
102
|
+
* the diff and cut right before it.
|
|
103
|
+
* 3. Fallback: find the **last** newline in the trailing 80% portion and cut
|
|
104
|
+
* after it.
|
|
105
|
+
* 4. Hard fallback: cut exactly at `maxChars`.
|
|
106
|
+
*
|
|
107
|
+
* Always appends `" …(truncated)"` when truncation occurs.
|
|
108
|
+
*
|
|
109
|
+
* @param diff - The unified diff text to truncate.
|
|
110
|
+
* @param maxChars - Maximum allowed characters (including suffix). Default 3800.
|
|
111
|
+
* @returns The (possibly truncated) diff text.
|
|
112
|
+
*/
|
|
113
|
+
export declare function truncateCodeDiff(diff: string, maxChars?: number): string;
|
|
114
|
+
/**
|
|
115
|
+
* Truncate plain text with newline-awareness.
|
|
116
|
+
*
|
|
117
|
+
* When the text is longer than `maxChars`, it is cut at the last newline
|
|
118
|
+
* found before `maxChars` (minus the suffix length). If no suitable newline
|
|
119
|
+
* exists, a hard cut is made.
|
|
120
|
+
*
|
|
121
|
+
* The suffix `" …(truncated)"` is appended only when truncation occurs.
|
|
122
|
+
*
|
|
123
|
+
* @param text - The text to truncate.
|
|
124
|
+
* @param maxChars - Maximum allowed characters (including suffix).
|
|
125
|
+
* @returns The (possibly truncated) text.
|
|
126
|
+
*/
|
|
127
|
+
export declare function truncateText(text: string, maxChars: number): string;
|
|
128
|
+
/**
|
|
129
|
+
* Truncate a subtitles array.
|
|
130
|
+
*
|
|
131
|
+
* 1. If the array has more than `maxEntries`, it is sliced to `maxEntries`.
|
|
132
|
+
* 2. Each remaining entry that exceeds `maxChars` is individually truncated
|
|
133
|
+
* via `truncateText`.
|
|
134
|
+
*
|
|
135
|
+
* Entries that already fit within both limits are left unchanged.
|
|
136
|
+
*
|
|
137
|
+
* @param subtitles - Array of subtitle strings.
|
|
138
|
+
* @param maxChars - Maximum characters per entry (including suffix).
|
|
139
|
+
* @param maxEntries - Maximum number of entries to keep.
|
|
140
|
+
* @returns The truncated subtitles array (always a new array).
|
|
141
|
+
*/
|
|
142
|
+
export declare function truncateSubtitles(subtitles: string[], maxChars: number, maxEntries: number): string[];
|
|
143
|
+
/**
|
|
144
|
+
* Compute a budget profile based on spec and optional fragment counts.
|
|
145
|
+
*
|
|
146
|
+
* The profile determines how many fragments, contents, and characters the
|
|
147
|
+
* pipeline should budget when building LLM prompts. Higher counts produce
|
|
148
|
+
* tighter budgets to keep prompts manageable.
|
|
149
|
+
*
|
|
150
|
+
* Thresholds (matching `truncate.py:38-57`):
|
|
151
|
+
*
|
|
152
|
+
* | specCount | tier | maxFragments | maxContents | contentBudget |
|
|
153
|
+
* |-----------|---------|--------------|-------------|---------------|
|
|
154
|
+
* | ≤ 3 | tiny | 12 | 16 | 48000 |
|
|
155
|
+
* | ≤ 8 | small | 10 | 14 | 40000 |
|
|
156
|
+
* | ≤ 15 | medium | 8 | 12 | 32000 |
|
|
157
|
+
* | ≤ 30 | large | 6 | 10 | 24000 |
|
|
158
|
+
* | > 30 | vlarge | 0 | 0 | 16000 |
|
|
159
|
+
*
|
|
160
|
+
* The `vlarge` tier disables fragment/contents inclusion entirely (0 values).
|
|
161
|
+
*
|
|
162
|
+
* @param specCount - Number of specs in the knowledge graph.
|
|
163
|
+
* @param fragmentCount - (Unused) reserved for future per-fragment weighting.
|
|
164
|
+
* @returns The budget profile for the given scale.
|
|
165
|
+
*/
|
|
166
|
+
export declare function computeBudgetProfile(specCount: number, _fragmentCount?: number): BudgetProfile;
|
|
167
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/spec/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAUH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,WAAW,GAAG,MAAM,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IACvD,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAMD,qEAAqE;AACrE,eAAO,MAAM,aAAa,2BAA2B,CAAC;AAStD;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAS/D;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAMxE;AAmBD;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAuBhE;AAMD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,EAAE,CA6BlE;AAMD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAiChF;AAMD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CA8C1D;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CACvB,QAAQ,EAAE,MAAM,EAChB,eAAe,EAAE,MAAM,EACvB,eAAe,CAAC,EAAE,MAAM,GACvB,QAAQ,CAyBV;AAMD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAa,GAAG,MAAM,CA6C9E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAoBnE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,EAAE,EACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,GACjB,MAAM,EAAE,CAMV;AAMD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,EACjB,cAAc,CAAC,EAAE,MAAM,GACtB,aAAa,CAcf"}
|