opentakeoff-mcp 0.9.0 → 0.9.2

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/README.md CHANGED
@@ -168,9 +168,10 @@ set becomes browsable natively (`resources/list` re-announces itself via
168
168
  Page numbers — not file-derived sheet keys — address resources, so URIs stay
169
169
  clean regardless of the PDF's name; the human-facing key (`plan.pdf#2`) and
170
170
  title-block number (`A-101`) ride along as the resource name and title.
171
- Rendering uses `@napi-rs/canvas` (pdf.js's own optional dependency): on a
172
- platform without a prebuilt binary every non-raster capability still works and
173
- the image read explains exactly what's missing.
171
+ Rendering uses `@napi-rs/canvas`, declared as this package's own optional
172
+ dependency so a plain `npx opentakeoff-mcp` installs the prebuilt binary and
173
+ arrives with eyes; on a platform without a prebuilt binary every non-raster
174
+ capability still works and the image read explains exactly what's missing.
174
175
 
175
176
  The intended agent loop: read `takeoff://sheets` → look at
176
177
  `takeoff://sheet/{page}/image` → pick click targets → measure with the tools.
@@ -2547,7 +2547,7 @@ function registerResources(server, session) {
2547
2547
  // package.json
2548
2548
  var package_default = {
2549
2549
  name: "opentakeoff-mcp",
2550
- version: "0.9.0",
2550
+ version: "0.9.2",
2551
2551
  mcpName: "io.github.Kentucky-ai/opentakeoff",
2552
2552
  type: "module",
2553
2553
  description: "OpenTakeoff MCP server \u2014 drive the takeoff engine from your MCP client over stdio.",
@@ -2570,6 +2570,9 @@ var package_default = {
2570
2570
  "pdfjs-dist": "^4.10.38",
2571
2571
  zod: "^3.24.1"
2572
2572
  },
2573
+ optionalDependencies: {
2574
+ "@napi-rs/canvas": "^0.1.100"
2575
+ },
2573
2576
  devDependencies: {
2574
2577
  "@types/node": "^22.19.21",
2575
2578
  typescript: "^5.7.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opentakeoff-mcp",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "mcpName": "io.github.Kentucky-ai/opentakeoff",
5
5
  "type": "module",
6
6
  "description": "OpenTakeoff MCP server \u2014 drive the takeoff engine from your MCP client over stdio.",
@@ -23,6 +23,9 @@
23
23
  "pdfjs-dist": "^4.10.38",
24
24
  "zod": "^3.24.1"
25
25
  },
26
+ "optionalDependencies": {
27
+ "@napi-rs/canvas": "^0.1.100"
28
+ },
26
29
  "devDependencies": {
27
30
  "@types/node": "^22.19.21",
28
31
  "typescript": "^5.7.2",