typst-mcp 1.0.1 → 1.0.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/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ import "./node-shim.js";
2
3
  import { readFileSync } from "node:fs";
3
4
  import { resolve } from "node:path";
4
5
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
@@ -0,0 +1,5 @@
1
+ // Node 22+ installs a localStorage getter that warns on access; lib0 probes it at load time.
2
+ if (Object.getOwnPropertyDescriptor(globalThis, "localStorage")) {
3
+ Reflect.deleteProperty(globalThis, "localStorage");
4
+ }
5
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typst-mcp",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Model Context Protocol (MCP) server for https://typst.app/ cloud projects, Yjs real-time text editing, asset management, and Typst compiler diagnostics",
5
5
  "keywords": [
6
6
  "mcp",