diff --git a/eval/package.json b/eval/package.json index 409148e..44e42e4 100644 --- a/eval/package.json +++ b/eval/package.json @@ -1,6 +1,6 @@ { "name": "@coderadar/eval", - "version": "0.2.0", + "version": "0.3.0", "private": true, "description": "CodeRadar eval harness — scans failure-mode fixtures, diffs against golden outputs, emits the scorecard that gates every phase.", "license": "MIT", diff --git a/package.json b/package.json index e6d7162..56a65db 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "coderadar", "private": true, - "version": "0.2.0", + "version": "0.3.0", "description": "Static analysis toolkit that maps UI components to their data sources (APIs, state, events) — enabling AI agents to trace any screenshot back to the code and data behind it.", "license": "MIT", "packageManager": "pnpm@11.2.2", diff --git a/packages/agent-sdk/package.json b/packages/agent-sdk/package.json index fc59c54..0a82b52 100644 --- a/packages/agent-sdk/package.json +++ b/packages/agent-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@coderadar/agent-sdk", - "version": "0.2.0", + "version": "0.3.0", "private": true, "description": "resolveContext orchestrator — classifies a ticket and runs the matching engine. Deterministic, no LLM in the node. Bundled into the published ui-lineage package.", "license": "MIT", diff --git a/packages/cli/README.md b/packages/cli/README.md index 5219e5e..01670fa 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -102,13 +102,17 @@ Turn a screenshot into `{ terms, structure, annotations }` and match it — term Endpoints (constants, templates, API wrappers, react-query/SWR), i18n text, cross-file instance trees & per-instance prop-flow, Redux/Zustand stores, portals/modals/toasts, React Router & Next.js routes, action effects (navigate/fetch/dispatch/setState), form libraries & non-JSX events (react-hook-form, `addEventListener`, hotkeys), and feature-flag/role conditions. -## New in 0.2.0 +## New in 0.3.0 + +The agent interface: `resolve`/`bundle` produce a budgeted **context bundle** (match → lineage → journeys → blast radius → tests → response types → git history) · `impact` blast-radius traversal · test-coverage mapping · response-schema linking (generic / annotation / OpenAPI, via `scan --openapi`) · and the **`ui-lineage-mcp`** MCP server exposing `resolve_context` · `find_component` · `trace_lineage` · `journeys` · `blast_radius` over stdio. + +### Previously (0.2.0) User journeys · action effects · form & non-JSX events · flag/role conditions · a real matching engine (rarity + fuzzy/OCR + structural + most-specific-subtree) · screenshot/vision adapter · alias glossary + corrections store · calibrated confidence with honesty metrics. ## Status -Pre-1.0. The context-bundle orchestrator and MCP server are next. Output is deterministic and language-agnostic (a plain JSON graph), designed to feed AI agents as a context provider — not to be one. +Pre-1.0. Output is deterministic and language-agnostic (a plain JSON graph), designed to feed AI agents as a context provider — not to be one. Next: lifecycle/scale hardening (incremental scan, caching) and backend lineage (pixel → API handler). ## License diff --git a/packages/cli/package.json b/packages/cli/package.json index 9b4886c..9942d15 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "ui-lineage", - "version": "0.2.0", + "version": "0.3.0", "description": "Map UI components to their data sources and user journeys — trace any screenshot back to the code, APIs, state, and navigation behind it. Deterministic static analysis for React/TSX.", "license": "MIT", "type": "module", diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index 5d449af..da6afb9 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -30,7 +30,7 @@ program .description( "Map UI components to their data sources and user journeys — trace any screenshot back to the code, APIs, state, and navigation behind it.", ) - .version("0.2.0"); + .version("0.3.0"); program .command("scan") diff --git a/packages/core/package.json b/packages/core/package.json index 1f7d90b..76f7e8d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@coderadar/core", - "version": "0.2.0", + "version": "0.3.0", "private": true, "description": "CodeRadar lineage graph schema — the language-agnostic contract every parser emits and every agent consumes. Bundled into the published `ui-lineage` package.", "license": "MIT", diff --git a/packages/mcp/package.json b/packages/mcp/package.json index a9662fe..482ce75 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "@coderadar/mcp", - "version": "0.2.0", + "version": "0.3.0", "private": true, "description": "Model Context Protocol server exposing CodeRadar as a context-provider node: resolve_context, find_component, trace_lineage, journeys, blast_radius over a pre-built graph.", "license": "MIT", diff --git a/packages/mcp/src/server.ts b/packages/mcp/src/server.ts index 9a030ca..3085890 100644 --- a/packages/mcp/src/server.ts +++ b/packages/mcp/src/server.ts @@ -33,7 +33,7 @@ function envelope(value: unknown): ToolResult { /** Build a configured MCP server bound to one pre-built graph. */ export function createServer(graph: LineageGraph): McpServer { - const server = new McpServer({ name: "coderadar", version: "0.2.0" }); + const server = new McpServer({ name: "coderadar", version: "0.3.0" }); server.registerTool( "resolve_context", diff --git a/packages/parser-react/package.json b/packages/parser-react/package.json index 31076a5..447b363 100644 --- a/packages/parser-react/package.json +++ b/packages/parser-react/package.json @@ -1,6 +1,6 @@ { "name": "@coderadar/parser-react", - "version": "0.2.0", + "version": "0.3.0", "private": true, "description": "React/TSX parser for CodeRadar — extracts components, hooks, data sources, state, and events into a lineage graph. Bundled into the published `ui-lineage` package.", "license": "MIT", diff --git a/packages/parser-react/src/scan.ts b/packages/parser-react/src/scan.ts index 52e8473..db7ba2a 100644 --- a/packages/parser-react/src/scan.ts +++ b/packages/parser-react/src/scan.ts @@ -263,7 +263,7 @@ export function scanReact(options: ScanOptions): LineageGraph { version: 2, root, generatedAt: new Date().toISOString(), - generator: "ui-lineage@0.2.0", + generator: "ui-lineage@0.3.0", nodes: [...nodes.values()], edges, }; diff --git a/packages/vision/package.json b/packages/vision/package.json index 9f21882..3d92d7e 100644 --- a/packages/vision/package.json +++ b/packages/vision/package.json @@ -1,6 +1,6 @@ { "name": "@coderadar/vision", - "version": "0.2.0", + "version": "0.3.0", "private": true, "description": "Screenshot → { terms, structure, annotations } vision adapter for ui-lineage. Images are processed in memory and never persisted (G7). Bundled into the published ui-lineage package.", "license": "MIT",