{
  "name": "@opensip-tools/graph",
  "version": "2.13.0",
  "license": "MIT",
  "description": "Static call-graph + dead-end analysis (seven-stage pipeline)",
  "keywords": [
    "opensip-tools",
    "static-analysis",
    "code-quality",
    "call-graph",
    "dependency-graph",
    "code-analysis",
    "architecture"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/opensip-ai/opensip-tools.git",
    "directory": "packages/graph/engine"
  },
  "homepage": "https://github.com/opensip-ai/opensip-tools",
  "bugs": {
    "url": "https://github.com/opensip-ai/opensip-tools/issues"
  },
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": "./dist/index.js"
  },
  "files": [
    "dist"
  ],
  "opensipTools": {
    "kind": "tool",
    "id": "graph",
    "apiVersion": 1,
    "commands": [
      {
        "name": "graph",
        "description": "Run static call-graph analysis (rules, entry points, catalog summary in one report)"
      },
      {
        "name": "graph-lookup",
        "description": "Look up function occurrences by simple name from the persisted catalog"
      },
      {
        "name": "graph-symbol-index",
        "description": "Emit a symbolindex.json artifact (name→file:line and file→names) from the persisted catalog"
      },
      {
        "name": "graph-baseline-export",
        "description": "Export the graph gate baseline (JSON) from the datastore to a file"
      },
      {
        "name": "graph-shard-worker",
        "description": "[internal] Build one shard from a spec file and emit a ShardBuildResult JSON (spawned by the sharded build)"
      },
      {
        "name": "catalog-export",
        "description": "Run graph analysis and write the CatalogExport JSON document (symbols + edges + provenance) to a file"
      },
      {
        "name": "sarif-export",
        "description": "Run graph analysis and write OpenSIP-convention SARIF v2.1.0 findings to a file"
      },
      {
        "name": "graph-recipes",
        "description": "List available graph recipes",
        "aliases": [
          "list-graph-recipes"
        ]
      }
    ],
    "capabilities": [
      {
        "id": "graph-adapter",
        "apiVersion": 1,
        "contributionKind": "module-export",
        "contributionSchema": {
          "requiredKeys": [
            "id"
          ]
        }
      }
    ]
  },
  "dependencies": {
    "@opentelemetry/api": "^1.9.1",
    "commander": "^14.0.3",
    "drizzle-orm": "^0.45.2",
    "glob": "^13.0.0",
    "ink": "^7.0.4",
    "react": "^19.2.6",
    "zod": "^4.4.3",
    "@opensip-tools/cli-ui": "2.13.0",
    "@opensip-tools/contracts": "2.13.0",
    "@opensip-tools/core": "2.13.0",
    "@opensip-tools/datastore": "2.13.0",
    "@opensip-tools/session-store": "2.13.0",
    "@opensip-tools/config": "2.13.0"
  },
  "devDependencies": {
    "@types/node": "^22.19.19",
    "@types/react": "^19.2.15",
    "typescript": "~6.0.3",
    "vitest": "^4.1.7",
    "@opensip-tools/output": "2.13.0"
  },
  "scripts": {
    "build": "tsc",
    "test": "vitest run --passWithNoTests",
    "typecheck": "tsc --noEmit",
    "clean": "rm -rf dist"
  }
}