@intelligentelectron/pcb-lens 0.0.8 → 0.0.9

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 CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.0.9] - 2026-03-01
9
+
10
+ ### Added
11
+
12
+ - Library exports for programmatic use from TypeScript codebases (`@intelligentelectron/pcb-lens/service`)
13
+ - New `src/service.ts` barrel file re-exporting all tool functions and public types
14
+ - Package `exports` map with `./service` and `./types` subpath entry points
15
+
8
16
  ## [0.0.8] - 2026-02-27
9
17
 
10
18
  ### Changed
@@ -0,0 +1,15 @@
1
+ /**
2
+ * PCB Lens Service
3
+ *
4
+ * Public API for IPC-2581 PCB layout analysis.
5
+ * All tool logic is exposed as standalone async functions for programmatic use.
6
+ */
7
+ export { getDesignOverview } from "./tools/get-design-overview.js";
8
+ export { queryComponents } from "./tools/query-components.js";
9
+ export { queryNet } from "./tools/query-net.js";
10
+ export { exportCadenceBoard } from "./tools/export-cadence-board.js";
11
+ export { exportCadenceConstraints } from "./tools/export-cadence-constraints.js";
12
+ export { queryConstraints } from "./tools/query-constraints.js";
13
+ export type { ErrorResult, DesignOverview, LayerInfo, SectionInfo, ComponentInfo, ComponentResult, QueryComponentsResult, NetPin, NetRouteInfo, NetViaInfo, QueryNetResult, QueryNetsResult, CadenceInstall, ExportCadenceBoardResult, ExportCadenceConstraintsResult, ConstraintObject, CrossSection, CrossSectionLayer, ConstraintsOverviewResult, ConstraintsSectionResult, } from "./tools/lib/types.js";
14
+ export { isErrorResult } from "./tools/lib/types.js";
15
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAGhE,YAAY,EACV,WAAW,EACX,cAAc,EACd,SAAS,EACT,WAAW,EACX,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,YAAY,EACZ,UAAU,EACV,cAAc,EACd,eAAe,EACf,cAAc,EACd,wBAAwB,EACxB,8BAA8B,EAC9B,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * PCB Lens Service
3
+ *
4
+ * Public API for IPC-2581 PCB layout analysis.
5
+ * All tool logic is exposed as standalone async functions for programmatic use.
6
+ */
7
+ export { getDesignOverview } from "./tools/get-design-overview.js";
8
+ export { queryComponents } from "./tools/query-components.js";
9
+ export { queryNet } from "./tools/query-net.js";
10
+ export { exportCadenceBoard } from "./tools/export-cadence-board.js";
11
+ export { exportCadenceConstraints } from "./tools/export-cadence-constraints.js";
12
+ export { queryConstraints } from "./tools/query-constraints.js";
13
+ export { isErrorResult } from "./tools/lib/types.js";
14
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AA0BhE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,10 +1,24 @@
1
1
  {
2
2
  "name": "@intelligentelectron/pcb-lens",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "MCP server for IPC-2581 PCB layout analysis and review",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ },
13
+ "./service": {
14
+ "types": "./dist/service.d.ts",
15
+ "default": "./dist/service.js"
16
+ },
17
+ "./types": {
18
+ "types": "./dist/tools/lib/types.d.ts",
19
+ "default": "./dist/tools/lib/types.js"
20
+ }
21
+ },
8
22
  "bin": {
9
23
  "pcb-lens": "./dist/index.js"
10
24
  },