aspectcode 0.3.4 → 0.3.5
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/ui/theme.d.ts +3 -3
- package/dist/ui/theme.js +3 -3
- package/dist/ui/theme.js.map +1 -1
- package/node_modules/@aspectcode/evaluator/dist/diagnosis.d.ts +33 -0
- package/node_modules/@aspectcode/evaluator/dist/diagnosis.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/diagnosis.js +172 -0
- package/node_modules/@aspectcode/evaluator/dist/diagnosis.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/aider.d.ts +23 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/aider.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/aider.js +125 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/aider.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/claudeCode.d.ts +17 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/claudeCode.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/claudeCode.js +223 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/claudeCode.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/cline.d.ts +17 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/cline.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/cline.js +179 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/cline.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/common.d.ts +39 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/common.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/common.js +170 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/common.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/export.d.ts +23 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/export.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/export.js +98 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/export.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/index.d.ts +29 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/index.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/index.js +94 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/index.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/vscodeDb.d.ts +37 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/vscodeDb.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/vscodeDb.js +473 -0
- package/node_modules/@aspectcode/evaluator/dist/harvest/vscodeDb.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/index.d.ts +48 -0
- package/node_modules/@aspectcode/evaluator/dist/index.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/index.js +75 -0
- package/node_modules/@aspectcode/evaluator/dist/index.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/probes.d.ts +38 -0
- package/node_modules/@aspectcode/evaluator/dist/probes.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/probes.js +229 -0
- package/node_modules/@aspectcode/evaluator/dist/probes.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/runner.d.ts +34 -0
- package/node_modules/@aspectcode/evaluator/dist/runner.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/runner.js +183 -0
- package/node_modules/@aspectcode/evaluator/dist/runner.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/types.d.ts +176 -0
- package/node_modules/@aspectcode/evaluator/dist/types.d.ts.map +1 -0
- package/node_modules/@aspectcode/evaluator/dist/types.js +9 -0
- package/node_modules/@aspectcode/evaluator/dist/types.js.map +1 -0
- package/node_modules/@aspectcode/evaluator/package.json +41 -0
- package/package.json +2 -1
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @aspectcode/evaluator — core types.
|
|
3
|
+
*
|
|
4
|
+
* Types for probe-based evaluation, prompt harvesting, and
|
|
5
|
+
* evidence-based diagnosis of AGENTS.md quality.
|
|
6
|
+
*/
|
|
7
|
+
import type { LlmProvider, OptLogger } from '@aspectcode/optimizer';
|
|
8
|
+
export type { LlmProvider, OptLogger } from '@aspectcode/optimizer';
|
|
9
|
+
/**
|
|
10
|
+
* A single micro-test that evaluates whether AGENTS.md guides
|
|
11
|
+
* the AI correctly for a specific scenario scoped to the codebase.
|
|
12
|
+
*/
|
|
13
|
+
export interface Probe {
|
|
14
|
+
/** Unique identifier (e.g. "hub-auth-middleware-naming"). */
|
|
15
|
+
id: string;
|
|
16
|
+
/** Human-readable description of what this probe tests. */
|
|
17
|
+
description: string;
|
|
18
|
+
/** Category for grouping (e.g. "hub-safety", "naming", "architecture"). */
|
|
19
|
+
category: ProbeCategory;
|
|
20
|
+
/**
|
|
21
|
+
* Workspace-relative paths of files relevant to this probe.
|
|
22
|
+
* These are included as context when running the probe.
|
|
23
|
+
*/
|
|
24
|
+
contextFiles: string[];
|
|
25
|
+
/** The task/question posed to the AI in this probe. */
|
|
26
|
+
task: string;
|
|
27
|
+
/**
|
|
28
|
+
* Specific behaviours the AI's response should exhibit.
|
|
29
|
+
* Used by the evaluator to score the response.
|
|
30
|
+
*/
|
|
31
|
+
expectedBehaviors: string[];
|
|
32
|
+
}
|
|
33
|
+
/** Probe categories for grouping and prioritization. */
|
|
34
|
+
export type ProbeCategory = 'hub-safety' | 'naming' | 'architecture' | 'entry-point' | 'integration' | 'convention' | 'dependency' | 'harvested';
|
|
35
|
+
/** Result of running a single probe against the current AGENTS.md. */
|
|
36
|
+
export interface ProbeResult {
|
|
37
|
+
/** The probe that was run. */
|
|
38
|
+
probeId: string;
|
|
39
|
+
/** Whether all expected behaviours were exhibited. */
|
|
40
|
+
passed: boolean;
|
|
41
|
+
/** The AI's simulated response to the probe task. */
|
|
42
|
+
response: string;
|
|
43
|
+
/**
|
|
44
|
+
* Specific shortcomings identified by the evaluator.
|
|
45
|
+
* Empty if `passed` is true.
|
|
46
|
+
*/
|
|
47
|
+
shortcomings: string[];
|
|
48
|
+
/** Per-behaviour pass/fail breakdown. */
|
|
49
|
+
behaviorResults: BehaviorResult[];
|
|
50
|
+
}
|
|
51
|
+
/** Pass/fail for a single expected behaviour within a probe. */
|
|
52
|
+
export interface BehaviorResult {
|
|
53
|
+
/** The expected behaviour description. */
|
|
54
|
+
behavior: string;
|
|
55
|
+
/** Whether the response exhibited this behaviour. */
|
|
56
|
+
passed: boolean;
|
|
57
|
+
/** Brief explanation of why it passed or failed. */
|
|
58
|
+
explanation: string;
|
|
59
|
+
}
|
|
60
|
+
/** Diagnosis of AGENTS.md shortcomings based on failed probes. */
|
|
61
|
+
export interface Diagnosis {
|
|
62
|
+
/** Specific edits proposed for AGENTS.md. */
|
|
63
|
+
edits: AgentsEdit[];
|
|
64
|
+
/** High-level summary of what's wrong. */
|
|
65
|
+
summary: string;
|
|
66
|
+
/** Number of probe failures this diagnosis addresses. */
|
|
67
|
+
failureCount: number;
|
|
68
|
+
}
|
|
69
|
+
/** A specific proposed edit to AGENTS.md. */
|
|
70
|
+
export interface AgentsEdit {
|
|
71
|
+
/** What section/area of AGENTS.md to modify. */
|
|
72
|
+
section: string;
|
|
73
|
+
/** The type of edit. */
|
|
74
|
+
action: 'add' | 'modify' | 'strengthen' | 'remove';
|
|
75
|
+
/** The proposed rule or content change. */
|
|
76
|
+
content: string;
|
|
77
|
+
/** Which probe failures motivated this edit. */
|
|
78
|
+
motivatedBy: string[];
|
|
79
|
+
}
|
|
80
|
+
/** A conversation turn harvested from an AI tool's history. */
|
|
81
|
+
export interface HarvestedPrompt {
|
|
82
|
+
/** Which tool this came from. */
|
|
83
|
+
source: PromptSource;
|
|
84
|
+
/** When this conversation happened (ISO-8601, if available). */
|
|
85
|
+
timestamp?: string;
|
|
86
|
+
/** The user's prompt/question. */
|
|
87
|
+
userPrompt: string;
|
|
88
|
+
/** The AI's response. */
|
|
89
|
+
assistantResponse: string;
|
|
90
|
+
/** Workspace-relative file paths referenced in the conversation. */
|
|
91
|
+
filesReferenced: string[];
|
|
92
|
+
}
|
|
93
|
+
/** Supported prompt history sources. */
|
|
94
|
+
export type PromptSource = 'aider' | 'claude-code' | 'cline' | 'copilot-chat' | 'cursor' | 'windsurf' | 'export';
|
|
95
|
+
/** Options for probe generation. */
|
|
96
|
+
export interface ProbeGeneratorOptions {
|
|
97
|
+
/** Full KB content for deriving probes. */
|
|
98
|
+
kb: string;
|
|
99
|
+
/**
|
|
100
|
+
* Line-level KB diff (undefined on first run).
|
|
101
|
+
* When provided, probes focus on changed areas.
|
|
102
|
+
*/
|
|
103
|
+
kbDiff?: string;
|
|
104
|
+
/** Harvested prompts to generate additional probes from. */
|
|
105
|
+
harvestedPrompts?: HarvestedPrompt[];
|
|
106
|
+
/** Maximum number of probes to generate. Default: 10. */
|
|
107
|
+
maxProbes?: number;
|
|
108
|
+
/** File contents map (workspace-relative path → content). */
|
|
109
|
+
fileContents?: ReadonlyMap<string, string>;
|
|
110
|
+
}
|
|
111
|
+
/** Options for running probes. */
|
|
112
|
+
export interface ProbeRunnerOptions {
|
|
113
|
+
/** Current AGENTS.md content (used as system prompt for probes). */
|
|
114
|
+
agentsContent: string;
|
|
115
|
+
/** Probes to run. */
|
|
116
|
+
probes: Probe[];
|
|
117
|
+
/** LLM provider for simulating AI responses. */
|
|
118
|
+
provider: LlmProvider;
|
|
119
|
+
/** File contents map for including context files. */
|
|
120
|
+
fileContents?: ReadonlyMap<string, string>;
|
|
121
|
+
/** Optional logger. */
|
|
122
|
+
log?: OptLogger;
|
|
123
|
+
/** AbortSignal for cooperative cancellation. */
|
|
124
|
+
signal?: AbortSignal;
|
|
125
|
+
}
|
|
126
|
+
/** Options for evaluating probe responses. */
|
|
127
|
+
export interface ProbeEvaluatorOptions {
|
|
128
|
+
/** Probe results to evaluate. */
|
|
129
|
+
results: ProbeResult[];
|
|
130
|
+
/** LLM provider for evaluation. */
|
|
131
|
+
provider: LlmProvider;
|
|
132
|
+
/** Optional logger. */
|
|
133
|
+
log?: OptLogger;
|
|
134
|
+
/** AbortSignal for cooperative cancellation. */
|
|
135
|
+
signal?: AbortSignal;
|
|
136
|
+
}
|
|
137
|
+
/** Options for diagnosing AGENTS.md issues from probe failures. */
|
|
138
|
+
export interface DiagnosisOptions {
|
|
139
|
+
/** Failed probe results. */
|
|
140
|
+
failures: ProbeResult[];
|
|
141
|
+
/** Current AGENTS.md content. */
|
|
142
|
+
agentsContent: string;
|
|
143
|
+
/** LLM provider for diagnosis. */
|
|
144
|
+
provider: LlmProvider;
|
|
145
|
+
/** Optional logger. */
|
|
146
|
+
log?: OptLogger;
|
|
147
|
+
/** AbortSignal for cooperative cancellation. */
|
|
148
|
+
signal?: AbortSignal;
|
|
149
|
+
}
|
|
150
|
+
/** Options for prompt harvesting. */
|
|
151
|
+
export interface HarvestOptions {
|
|
152
|
+
/** Workspace root directory. */
|
|
153
|
+
root: string;
|
|
154
|
+
/** Which sources to harvest from. Defaults to all available. */
|
|
155
|
+
sources?: PromptSource[];
|
|
156
|
+
/** Maximum prompts to harvest per source. Default: 50. */
|
|
157
|
+
maxPerSource?: number;
|
|
158
|
+
/** Only harvest prompts newer than this date. */
|
|
159
|
+
since?: Date;
|
|
160
|
+
/** Optional logger. */
|
|
161
|
+
log?: OptLogger;
|
|
162
|
+
}
|
|
163
|
+
/** Full result of the evaluation pipeline. */
|
|
164
|
+
export interface EvaluationResult {
|
|
165
|
+
/** All probe results (passed + failed). */
|
|
166
|
+
probeResults: ProbeResult[];
|
|
167
|
+
/** Diagnosis based on failures (undefined if all probes passed). */
|
|
168
|
+
diagnosis?: Diagnosis;
|
|
169
|
+
/** Number of probes that passed. */
|
|
170
|
+
passCount: number;
|
|
171
|
+
/** Number of probes that failed. */
|
|
172
|
+
failCount: number;
|
|
173
|
+
/** Total probes run. */
|
|
174
|
+
total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W,gBAAgB;IAC/B,2CAA2C;IAC3C,YAAY,EAAE,WAAW,EAAE,CAAC;IAE5B,oEAAoE;IACpE,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,oCAAoC;IACpC,SAAS,EAAE,MAAM,CAAC;IAElB,oCAAoC;IACpC,SAAS,EAAE,MAAM,CAAC;IAElB,wBAAwB;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @aspectcode/evaluator — core types.
|
|
4
|
+
*
|
|
5
|
+
* Types for probe-based evaluation, prompt harvesting, and
|
|
6
|
+
* evidence-based diagnosis of AGENTS.md quality.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aspectcode/evaluator",
|
|
3
|
+
"version": "0.3.4",
|
|
4
|
+
"private": true,
|
|
5
|
+
"description": "Evidence-based evaluation for Aspect Code",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=18"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/asashepard/aspectcode.git",
|
|
18
|
+
"directory": "packages/evaluator"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"typecheck": "tsc --noEmit",
|
|
23
|
+
"prepublishOnly": "npm run build",
|
|
24
|
+
"test": "mocha --require ts-node/register test/**/*.test.ts"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@aspectcode/core": "0.3.1",
|
|
28
|
+
"@aspectcode/optimizer": "0.3.4"
|
|
29
|
+
},
|
|
30
|
+
"optionalDependencies": {
|
|
31
|
+
"better-sqlite3": "^11.0.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@types/better-sqlite3": "^7.6.0",
|
|
35
|
+
"@types/mocha": "^10.0.0",
|
|
36
|
+
"@types/node": "^22.0.0",
|
|
37
|
+
"mocha": "^10.4.0",
|
|
38
|
+
"ts-node": "^10.9.2",
|
|
39
|
+
"typescript": "^5.5.4"
|
|
40
|
+
}
|
|
41
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aspectcode",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "CLI for Aspect Code — generate knowledge-base artifacts from the command line",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"prepublishOnly": "npm run build",
|
|
39
39
|
"prepack": "node scripts/prepack.mjs",
|
|
40
40
|
"postpack": "node scripts/postpack.mjs",
|
|
41
|
+
"check:bundled": "node scripts/check-bundled-deps.mjs",
|
|
41
42
|
"test": "mocha --require ts-node/register 'test/**/*.test.ts'"
|
|
42
43
|
},
|
|
43
44
|
"bundledDependencies": [
|