{
  "ml": {
    "analyzed_at": "2026-11-08T21:41:50Z",
    "files": [
      {
        "lvl": -1,
        "prob": 0.5128466,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": -1,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      },
      {
        "lvl": -1,
        "id": 5
      }
    ],
    "lvl": -1,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.5128466,
    "v": "7",
    "version": "v20.20"
  },
  "path": "comfyui-modelmirror-0.1.2.zip",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "archive": {
              "compressed_size": 151374,
              "compression.method_counts.deflate": 10,
              "compression.ratio": 0.79,
              "crc_collision_count": 0,
              "directory_count": 0,
              "double_extension_count": 0,
              "duplicate_member_count": 0,
              "entry_comment_count": 0,
              "eocd_signature_count": 1,
              "executable_count": 0,
              "extra_field_size": 0,
              "file_count": 10,
              "format.regular_count": 10,
              "hidden_file_count": 1,
              "homoglyph_filename_count": 0,
              "local_header_signature_count": 10,
              "max_filename_length": 19,
              "member_count": 10,
              "misplaced_executable_count": 0,
              "nested_archive_count": 0,
              "noise_file_count": 0,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 2,
              "security.encrypted_count": 0,
              "security.setgid_count": 0,
              "security.setuid_count": 0,
              "security.sticky_count": 0,
              "security.symlink_count": 0,
              "security.world_writable_count": 0,
              "symlink_escape_count": 0,
              "timing.mtime_dominant_count": 4,
              "timing.mtime_dominant_ratio": 0.4,
              "timing.mtime_spread_seconds": 3818,
              "timing.mtime_unique_count": 7,
              "timing.mtime_unique_ratio": 0.7,
              "timing.sentinel_mtime_count": 0,
              "uncompressed_size": 190447,
              "unicode_filename_count": 0,
              "zip_bomb_ratio": 3.14
            },
            "binary": {
              "peak_region_bytes": 151552,
              "peak_region_entropy": 7.84
            },
            "file": {
              "entropy": 8,
              "size": 152396
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "comfyui-modelmirror",
            "source": "file.basename",
            "verified": false
          },
          "trust": "unsigned",
          "version": {
            "value": "0.1.2",
            "source": "file.basename",
            "verified": false
          }
        },
        "mol": "H₇(Cm₁₈Db₁₂F₂Os₅Po₄TiU₆)Md₄(In₆Pa₄Pt₂)",
        "path": "comfyui-modelmirror-0.1.2.zip",
        "risk": 27,
        "sha": "bb21e54d5fbd78fe595ff80f19938e9a97c87b467c5f515e6007c6ec0f32f172",
        "size": 152396,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive contains at least ten members",
            "id": "metadata/file/archive::archive-at-least-10-members"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/naming::uppercase-readme-md-basename"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown section headings",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/profile/markup::at-least-four-markdown-section-headings"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Markdown-style heading precedes a code fence",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/profile/markup::markdown-heading-before-fenced-block"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports web from aiohttp",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/aiohttp/web::web"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports aiohttp",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/aiohttp::aiohttp"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/os::os"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib.error",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/urllib/error::urllib/error"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib.parse as _up",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/urllib/parse::_up"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib.request",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/urllib/request::urllib/request"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Contains Hiragana or Katakana script",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/lang/natural/script::lang-japanese"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Source binds host/url/endpoint to call syntax",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/source/declaration::named-variable-call-assignment"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python asyncio library reference",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/source/naming/interface::asyncio-reference"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Declares Python project dependency list",
            "id": "metadata/package/dependencies/manifest/presence::python-project-dependency-list"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive ships a README beside HTML or JavaScript files",
            "id": "metadata/package/files/archive-member::archive-documented-web-project",
            "uses": [
              15,
              118
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive member named with JavaScript extension",
            "id": "metadata/package/files/archive-member::archive-js-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "pyproject.toml at the archive root",
            "id": "metadata/package/files/included::sdist-root-pyproject-toml"
          },
          {
            "atk": "T1195.002",
            "conf": 0.7,
            "crit": 3,
            "desc": "pyproject.toml with empty dependencies",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/package/files/wheel-sdist::pyproject-empty-dependencies",
            "mbc": "F0004"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the aiohttp Python HTTP client",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/client/library::aiohttp-import"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python HTTP Content-Length header",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/header/content-length::python-content-length-header",
            "mbc": "C0002"
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "References the application/json media type",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/header/content-type::application-json"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References HTTP Content-Type application/json",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/header/content-type::json-header"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "urllib.request.Request symbol",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-request-symbol"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "References urllib.request.urlopen",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-urlopen"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Calls function named urlopen",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-urlopen-call-symbol"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "References Python urllib HTTP client",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-word"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Multiple urllib URL-open calls in Python file",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/lib/urllib::urlopen-multiple-calls"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Reads urllib response body",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/lib/urllib::urlopen-response-body-read"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "fetch POST directly serializes JSON body",
            "id": "micro-behaviors/communications/http/post::fetch-direct-json-post-body"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "fetch POST sends a JSON.stringify body",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/post::fetch-flow-json-post-body",
            "mbc": "C0002"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Calls fetch with a POST method option",
            "id": "micro-behaviors/communications/http/post::fetch-post-call",
            "mbc": "C0002"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "fetch POST sends a JSON.stringify body",
            "from": [
              {
                "file": 4,
                "line": 397,
                "off": 15983
              }
            ],
            "id": "micro-behaviors/communications/http/post::json-body-post",
            "uses": [
              28,
              29,
              30
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "HTTP POST method string literal",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/post::post",
            "mbc": "C0002"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Script request option specifies POST",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/post::request-options-post-method",
            "mbc": "C0002"
          },
          {
            "atk": "T1071.001",
            "conf": 0.9,
            "crit": 3,
            "desc": "JavaScript fetch call near an HTTP POST method",
            "from": [
              {
                "file": 4,
                "line": 164,
                "off": 6354
              }
            ],
            "id": "micro-behaviors/communications/http/request/client::fetch-post-pattern",
            "mbc": "C0002",
            "uses": [
              36,
              42
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.74,
            "crit": 3,
            "desc": "fetch() response JSON parse",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/request/client::fetch-then-json",
            "mbc": "C0002"
          },
          {
            "atk": "T1071.001",
            "conf": 0.8,
            "crit": 3,
            "desc": "Calls JavaScript fetch API",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/request/client::js-fetch-call",
            "mbc": "C0002"
          },
          {
            "conf": 0.91,
            "crit": 3,
            "desc": "Fetch call near JSON response parsing",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/request/json::fetch-call-near-json-parse"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Fetch request uses JSON.stringify body",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/request/json::fetch-json-stringify-body"
          },
          {
            "atk": "T1071.001",
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP POST request with JSON content",
            "from": [
              {
                "file": 4,
                "line": 398,
                "off": 16014
              }
            ],
            "id": "micro-behaviors/communications/http/request/json::http-post-json",
            "mbc": "C0002",
            "uses": [
              20,
              42
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.8,
            "crit": 3,
            "desc": "HTTP POST method field",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/request/result::http-post-method",
            "mbc": "C0002"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Method option selects POST, PUT or PATCH",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/request/verb::mutating-method-option"
          },
          {
            "atk": "T1071.001",
            "conf": 0.94,
            "crit": 3,
            "desc": "Configures an HTTP POST request",
            "id": "micro-behaviors/communications/http/request/verb::post-method-text",
            "mbc": "C0002"
          },
          {
            "atk": "T1071.001",
            "conf": 0.9,
            "crit": 3,
            "desc": "Python basic HTTP route decorator",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/server/framework::python-http-route-basic-method",
            "mbc": "C0002"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Extract data from JSON request body",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/server/request::extract-from-request-json"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "ComfyUI service name reference",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/services/comfyui::service-keyword"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Contains a hardcoded remote HTTP(S) URL",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/url/domain::js-remote-host-url"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References a public code-forge URL",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/communications/http/url/forge::public-code-forge-url"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "JavaScript fetches a relative application route",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/communications/http/url/path::js-relative-route-fetch"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/url/scheme::http-url-literal"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Non-Mozilla User-Agent header value in text",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/communications/http/user-agent::non-mozilla-user-agent-header"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python iterates buffer in fixed steps",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/buffer/chunk::python-fixed-step-chunk-loop"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "References nonlocal appendChild method",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/collection/dom::append-child-reference"
          },
          {
            "conf": 0.96,
            "crit": 3,
            "desc": "Creates DOM element",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/collection/dom::document-create-element"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Assigns an identifier value to textContent",
            "id": "micro-behaviors/data/collection/dom::javascript-identifier-textcontent-assignment"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Queries multiple DOM elements",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/collection/dom::query-selector-all-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls appendChild without a local implementation",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/collection/dom::source-append-child-call"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Four word keys mapped to short integers",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/collection/map::four-word-numeric-table"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python mapping reads the url key",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/collection/map::mapping-get-url-key"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python minimum sequence length check",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/control-flow/analysis::python-min-length-check"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Broad exception returns failure sentinel",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/control-flow/error-handling::broad-exception-return-suppression",
            "mbc": "C0027"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Empty arrow catch discards rejection",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/control-flow/error-handling::empty-arrow-catch-handler"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "JavaScript silently discards caught errors",
            "id": "micro-behaviors/data/control-flow/error-handling::empty-catch-block"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Text has empty named-parameter catch",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/control-flow/error-handling::empty-named-catch-text"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "exception suppression via try/except pass",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/control-flow/error-handling::silent-exception-pass",
            "mbc": "C0027"
          },
          {
            "conf": 0.3,
            "crit": 3,
            "desc": "Python not-in membership check",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/control-flow/membership::not-in-membership-check"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Python set() construction",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/control-flow/membership::set-construction"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "URL-encodes data via encodeURIComponent",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/encode/url::encode-uri-component-call"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Source contains a bytes= string literal",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/format/string::source-bytes-equals-literal"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Parses JSON data with Python",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/parse/json::json-loads-call"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "References appendChild or setAttribute member",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/property/access::appendchild-or-setattribute-member"
          },
          {
            "conf": 0.96,
            "crit": 3,
            "desc": "Reads an element's dataset store property",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/property/access::dom-dataset-store-read"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Serializes an object into a body field",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/serialize/json::json-object-body-field"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Calls JSON.stringify()",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/serialize/json::json-stringify-call"
          },
          {
            "conf": 0.84,
            "crit": 3,
            "desc": "JSON.stringify beside a variable-valued field",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/serialize/json::json-stringify-variable-value"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "References a serialization-related symbol",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/serialize/object::js-serialise"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "gname, gmail or repo object-key syntax",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/serialize/schema-object::repository-object-fields"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "File deletion (os.remove/os.unlink)",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/fs/delete/file/library::py-remove"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Python or Node.js file rename API",
            "from": [
              {
                "file": 3,
                "line": 180,
                "off": 6352
              }
            ],
            "id": "micro-behaviors/fs/file/rename::file-rename-api",
            "uses": [
              119
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "References a browser clipboard API",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/os/clipboard/reference::browser-clipboard-api-marker"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "References a clipboard API member",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/os/clipboard/reference::clipboard-api-member-reference"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Writes to the browser clipboard",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/os/clipboard/write::browser-clipboard-write"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Logs a single identifier with console.log",
            "id": "micro-behaviors/os/console/io::js-console-log-identifier"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Python reads an environment variable",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/os/env/read::python-os-getenv-call"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "pip install command text",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/os/package-manager/install::pip-install-cli-text",
            "mbc": "C0002"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Creates a daemon thread in Python",
            "id": "micro-behaviors/process/create/thread::python-daemon-thread"
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "Creates a thread in Python",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/process/create/thread::python-thread-create"
          },
          {
            "atk": "T1105",
            "conf": 0.9,
            "crit": 3,
            "desc": "Git clone command",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "micro-behaviors/process/create/vcs/git::git-clone-command"
          },
          {
            "atk": "T1105",
            "conf": 0.92,
            "crit": 3,
            "desc": "Git clones a public code forge",
            "from": [
              {
                "file": 1,
                "off": 804
              },
              {
                "file": 2,
                "off": 1164
              },
              {
                "file": 4,
                "line": 365,
                "off": 15073
              }
            ],
            "id": "micro-behaviors/process/create/vcs/git::public-forge-git-clone",
            "uses": [
              47,
              87
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Writes a response-named stream's read result",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/process/io/stream::python-response-read-to-write"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Constructs a Python ThreadPoolExecutor",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/process/work/pool::parallel-thread-executor"
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "References a worker, thread, or goroutine pool",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/process/work/pool::worker-pool"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Repeated interval timer",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/time/schedule/interval::interval-call-text"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Schedules a repeated callback with setInterval()",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/time/schedule/interval::setInterval"
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Schedules a JavaScript callback with setTimeout",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/time/schedule/timeout::setTimeout"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Calls browser modal alert dialog",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/dialog/prompt::browser-window-alert-call"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Watches DOM changes with MutationObserver",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/window/event::browser-mutation-observer"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": ".observe(document.body) call",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/window/event::document-body-observe-call"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Writes HTML into the DOM with innerHTML",
            "id": "micro-behaviors/ui/window/insert-html::browser-innerhtml-assignment"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Opens browser window or tab",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/window/navigation::browser-window-open"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Opens window to external HTTP URL",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/window/navigation::browser-window-open-external-url"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Browser window.open text call",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/window/navigation::browser-window-open-text-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References display:none CSS text",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/window/style::css-display-none"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "CSS fixed-position declaration",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/window/style::css-fixed-position"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Sets an element style to full width",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/window/style::element-viewport-width-assignment"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Script hides an element via style.display",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/ui/window/visibility::display-none-style"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Basename is pyproject.toml",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/file/naming::pyproject-toml-basename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports asyncio",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/asyncio::asyncio"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ThreadPoolExecutor from concurrent.futures",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/concurrent/futures/threadpoolexecutor::threadpoolexecutor"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports concurrent.futures",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/concurrent/futures::concurrent/futures"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports folder_paths",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/folder_paths::folder_paths"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports json",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/json::json"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PromptServer from server",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/server/promptserver::promptserver"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports server",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/server::server"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports threading",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/threading::threading"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/time::time"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "JavaScript or TypeScript source filename",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/lang/source/shape::js-ts-source-basename"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Archive member is a README document",
            "id": "metadata/package/files/archive-member::archive-readme-member"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "os.replace file movement",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/fs/file/rename::os-replace"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Reads a remote HTTP response body",
            "from": [
              {
                "file": 3,
                "line": 204,
                "off": 7212
              }
            ],
            "id": "micro-behaviors/communications/http/client/response-body::remote-response-body-read",
            "uses": [
              27
            ]
          }
        ],
        "type": "zip"
      },
      {
        "ctx": [
          {
            "ln": 0,
            "s": "# åå¸æ­¥éª¤ï¼ç§çæ²ï¼5 åéï¼\r\n\r\nåå¸åå·²ç»åå¤å¥½ï¼\r\n\r\n```\r\nE:\\WorkSpace\\_shared\\assets\\ComfyUI-ModelMirror\\\r\n```\r\n\r\n## 0. åæ LICENSE éçå ä½ç¬¦æ¹æ\r\n\r\n```powershell\r\nnotepad E:\\WorkSpace\\_shared\\assets\\ComfyUI-ModelMirror\\LICENSE\r\n```\r\n\r\næ `\u003cYOUR NAME\u003e` æ¢æä½ çåå­æ IDã\r\n\r\n## 1. å»ºä»åº\r\n\r\nåå­å»ºè®®ï¼`ComfyUI-ModelMirror`ï¼è·ç®å½åä¸è´ï¼ComfyUI ç¨æ·ä¸ç¼çæï¼\r\n\r\nå¨ GitHub ä¸æ°å»ºä¸ä¸ª **ç©º** ä»åºï¼ä¸è¦å¾ README / .gitignore / LICENSEï¼æä»¬æ¬å°å·²æï¼ã\r\n\r\n## 2. æ¬å°åå§åå¹¶æ¨é\r\n\r\n```powershell\r\ncd E:\\WorkSpace\\_shared\\assets\\ComfyUI-ModelMirror\r\n\r\ngit init\r\ngit add .\r\ngit commit -m \"feat: ç¼ºæ¨¡åä¸é®éåè¡¥é½ï¼æå/ç»­ä¼ /å¹¶å/å®æ´æ§æ ¡éªï¼\"\r\ngit branch -M main\r\ngit remote add origin https://github.com/\u003cä½ çç¨æ·å\u003e/ComfyUI-ModelMirror.git\r\ngit push -u origin main\r\n```\r\n\r\n## 3. æä¸ä¸ª tag\r\n\r\n```powershell\r\ngit tag -a v0.1.0 -m \"v0.1.0 é¦ä¸ªå¯ç¨çæ¬\"\r\ngit push origin v0.1.0\r\n```\r\n\r\n## 4. å Release\r\n\r\nGitHub é¡µé¢ â Releases â Draft a new release â é `v0.1.0` â åå¸ã\r\n\r\n**èµäº§ä¸ç¨ä¼ **ï¼ç¨æ· `git clone` å³å¯ã\r\n\r\n## 5. åå°ç¤¾åºï¼å¯éï¼ä½å³å®ææ²¡æäººç¨ï¼\r\n\r\n**æ¨èä¸ä¸ªå°æ¹ï¼**\r\n\r\n```\r\nâ  ComfyUI ä¸­æç¤¾åº / QQ ç¾¤ / å¾®ä¿¡ç¾¤\r\n   ä¸å¥è¯ï¼ãç¼ºæ¨¡åä¸ä¸å¨ï¼è¿ä¸"
          },
          {
            "ln": 1586,
            "s": "çæ¶ååªæ¾ä¸å¼ æªå¾ + ä¸å¥è¯ï¼å«åé¿ç¯ã**\r\n\r\n## 6. åå¸ååä¸å¤©è¦åçäº\r\n\r\n```\r\nÂ· ç¯ issueï¼åä¸ä¸ª bug å³å®é¡¹ç®çæ­»\r\nÂ· æäººæ¥\"æé®ä¸åºç°\"â åé® ComfyUI çæ¬åçé¢è¯­è¨\r\n  ï¼æ"
          },
          {
            "ln": 1930,
            "s": "å¤å®é®é¢ï¼è®©ä»ç¹ãå¤å¶è¯æ­ãåä½ \r\n```\r\n\r\n---\r\n\r\n## éè¦æ³¨æçä¸ä»¶äº\r\n\r\n**â  README éé£ä¸ªæªå¾æ¯æ¬å°æµè¯æ¶æªç**\r\n\r\n`docs/screenshot.png` å¯ä»¥ç¨ï¼ä½å¦æä½ æ³è¦æ´å¥½ççï¼"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 2831,
              "peak_region_entropy": 6.25
            },
            "file": {
              "entropy": 6.42,
              "size": 2831
            },
            "text": {
              "avg_line_length": 25.22,
              "char_entropy": 6.42,
              "digit_ratio": 0.04,
              "empty_line_ratio": 0.38,
              "last_line_length": 73,
              "line_length_stddev": 31.46,
              "lines": 104,
              "long_token_count": 1,
              "max_line_length": 123,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0.61,
              "space_count": 131,
              "top_char": 229,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "unique_chars": 139,
              "whitespace_ratio": 0.12
            }
          }
        },
        "id": 1,
        "mol": "K(Am)Md(Pt)",
        "path": "comfyui-modelmirror-0.1.2.zip!!PUBLISH.md",
        "pid": 0,
        "risk": 2,
        "sha": "2320fe9a42b973e24b955af9bfa43dc20cc923cf9a77d8fbc04ca6e28625013e",
        "sid": 6659458783,
        "size": 2831,
        "traits": [
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings",
            "spans": [
              [
                137,
                43
              ],
              [
                319,
                16
              ],
              [
                545,
                31
              ],
              [
                898,
                20
              ],
              [
                1017,
                18
              ],
              [
                1177,
                58
              ],
              [
                1650,
                37
              ],
              [
                1994,
                28
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Markdown-style heading precedes a code fence",
            "id": "metadata/lang/source/syntax/markup/markdown::markdown-heading-before-fenced-block",
            "spans": [
              [
                137,
                49
              ],
              [
                545,
                37
              ],
              [
                898,
                26
              ],
              [
                1650,
                43
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                804,
                19
              ]
            ]
          }
        ],
        "type": "markdown"
      },
      {
        "ctx": [
          {
            "ln": 0,
            "s": "# ComfyUI-ModelMirror Â· éåè¡¥ç¼º\r\n\r\n\u003e ç± @çå±é¿ å¶ä½ Â· [B ç«](https://space.bilibili.com/322892)\r\n\r\n\u003e ç¼ºæ¨¡åæ¶ï¼ä¸é®ä»éåè¡¥é½ã**ä¸æ¹å®æ¹ä»»ä½æä»¶ï¼åçº§ä¸ç¢ã**\r\n\r\næå¼ä¸ä¸ªå«äººåäº«çå·¥ä½æµï¼å³ä¾§è·³åºãç¼ºå¤±æ¨¡åãââç¹å®æ¹çãä¸è½½ãï¼å®ç´è¿\r\n`huggingface.co`ï¼å¨å½ååºæ¬"
          },
          {
            "ln": 528,
            "s": "®çç®å½ã\r\n\r\n![ä½ç½®ç¤ºæ](docs/screenshot.png)\r\n\r\n---\r\n\r\n## One-liner (EN)\r\n\r\n**ComfyUI shows \"missing models\" when you open a shared workflow, and its download button\r\ngoes straight to `huggingface.co` â which is unreachable for many users.**\r\n\r\nThis extension adds a **Mirror Fetch** button next to it: it detects the missing model files,\r\nresolves each to its official HF repo through a configurable mirror, and "
          },
          {
            "ln": 965,
            "s": "m into\r\nthe correct `models/\u003ctype\u003e/` folder â with pause / resume / retry / concurrency limit, and\r\n**without patching ComfyUI itself** (safe across upgrades).\r\n\r\n```bash\r\ncd ComfyUI/custom_nodes\r\ngit clone https://github.com/AinJuZen/ComfyUI-ModelMirror.git\r\n# restart ComfyUI â no pip install needed\r\n```\r\n\r\nEverything below is in Chinese, which is the primary audience. If you need English docs,\r\nopen an issue and I'll write them.\r\n\r\n---\r\n\r\n## å®è£\r\n\r\n**è¦æ±**ï¼ComfyUI â¥ 0.3.xï¼å« Desktop çï¼ãçº¯æ ååºï¼æ é¢å¤ä¾èµã\r\n\r\n### æ¹å¼ A Â· ä¸è¡å½ä»¤ï¼æ¨èï¼\r\n\r\n```bash\r\ncomfy node install comfyui-modelmirror\r\n```\r\n\r\n**æ²¡æ `comfy` å½ä»¤ï¼åè£ä¸æ¬¡ï¼**\r\n\r\n```bash\r\npip install comfy-c"
          },
          {
            "ln": 2320,
            "s": "/ComfyUI/custom_nodes/\r\n```\r\n\r\n**â£ éå¯ ComfyUI**\r\n\r\n---\r\n\r\n## ä½¿ç¨\r\n\r\n1. æå¼ä¸ä¸ªç¼ºæ¨¡åçå·¥ä½æµ\r\n2. å³ä¾§ãç¼ºå¤±æ¨¡åãé¢æ¿ â ãå¨é¨ä¸è½½ãä¸é¢å¤äº **ãéåè¡¥ç¼ºã"
          },
          {
            "ln": 2697,
            "s": " / éè¯**ï¼å¸¦è¿åº¦æ¡ãéåº¦ãå©ä½æ¶é´ã\r\n\r\n---\r\n\r\n## ç¹æ§\r\n\r\n| | |\r\n|---|---|\r\n| èªå¨è¯å«ç¼ºå¤± | ä»å½åå·¥ä½æµéæ«åºè¢«å¼ç¨çæ¨¡åæä»¶ |\r\n| ææä»¶ååæ¥ä»åº | "
          },
          {
            "ln": 3393,
            "s": "\n| ä¸ä¿®æ¹å®æ¹æä»¶ | çº¯æ©å±ï¼åçº§ä¸ç¢ |\r\n\r\n---\r\n\r\n## å·¥ä½åç\r\n\r\n**é®é¢**ï¼å®æ¹ãç¼ºå¤±æ¨¡åãé¢æ¿çä¸è½½èµ° Electron ä¸»è¿ç¨ç´è¿ `huggingface.co`ï¼\r\nURL åæ­»å¨æ¨¡æ¿çè"
          },
          {
            "ln": 4235,
            "s": "»¶å«ä»ä¹åå­\"ââè¿ä»¶äºå®æ¹ä¸ä¼æ¹ã**\r\n\r\n---\r\n\r\n## éç½®\r\n\r\n| ç¯å¢åé | é»è®¤ | è¯´æ |\r\n|---|---|---|\r\n| `HF_MIRROR` | `https://hf-mirror.com` | æ¨¡åä¸è½½éåç«¯ç¹ |\r\n| `M"
          },
          {
            "ln": 4440,
            "s": "OR_FETCH_CONCURRENCY` | `5` | åæ¶ä¸è½½æ°ä¸é |\r\n\r\n---\r\n\r\n## å·²ç¥éå¶ï¼è¯·åè¯»ï¼\r\n\r\n```\r\nâ  åªè½æ¾å°å¬å¼ä»åºéçæä»¶\r\n   ç§äººä¸ä¼ ãéå¬å¼ä»åºæ¾ä¸å° ââ é¢æ¿ä¼æ¾ç¤º\"æ å°å\"\r\n\r\nâ¡ "
          },
          {
            "ln": 4928,
            "s": "±æ è½ä¸ºåï¼éè¦ä»£ç\r\n\r\nâ¤ æ¹ .py åå¿é¡»éå¯ ComfyUI\r\n   æ¹ .js åªéå·æ°é¡µé¢ ââ è¿æ¯ ComfyUI çå è½½æºå¶ï¼ä¸æ¯æ¬æ©å±ç\r\n```\r\n\r\n---\r\n\r\n## å¸¸è§é®é¢\r\n\r\n**Qï¼ç¹äºãéåè¡¥ç¼ºãæ²¡ååºï¼**\r\næ `Ctrl + F5` å¼ºå·ãå¦æè¿ä¸è¡ï¼çæ§å¶å°ææ²¡æ `[mirror-fetch"
          },
          {
            "ln": 7424,
            "s": "¯ â ï¼æ¹å è¡ JS å°±è½ä¿®ï¼ä¸éè¦éå¯ã**\r\n\r\n---\r\n\r\n## åè´£å£°æ\r\n\r\n```\r\nâ ï¸ æ¬æ©å±åªåä¸ä»¶äºï¼ææ¨¡åæä»¶ä»éåä¸è½½å°æ­£ç¡®çç®å½ã\r\n   ä¸ç»è¿ä»»ä½è®¿é®æ§å¶ï¼ä¸æ"
          },
          {
            "ln": 7916,
            "s": "   åç¨ãäºæ¬¡ååç­è¡ä¸ºè¯·èªè¡ç¡®è®¤ææã\r\n\r\nâ ï¸ æ¬æ©å±ä¸ ComfyUI / Comfy Org å®æ¹æ é¶å±å³ç³»ï¼éå®æ¹é¡¹ç®ã\r\n\r\nâ "
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 8432,
              "peak_region_entropy": 6.38
            },
            "file": {
              "entropy": 6.47,
              "size": 8432
            },
            "text": {
              "avg_line_length": 30.68,
              "char_entropy": 6.47,
              "digit_ratio": 0.04,
              "empty_line_ratio": 0.33,
              "invisible_chars": 5,
              "last_line_length": 33,
              "line_length_stddev": 35.16,
              "lines": 258,
              "long_token_count": 3,
              "max_line_length": 120,
              "max_whitespace_run": 5,
              "non_ascii_ratio": 0.59,
              "space_count": 487,
              "top_char": 229,
              "top_char_null": 0,
              "top_char_ratio": 0.05,
              "unique_chars": 159,
              "whitespace_ratio": 0.12
            }
          }
        },
        "id": 2,
        "mol": "H₃(CmOsPo)Md",
        "path": "comfyui-modelmirror-0.1.2.zip!!README.md",
        "pid": 0,
        "risk": 5,
        "sha": "24aba746b8297d1f394a7ee8efe39bf6dd5619729c105cc5b86b19199e5ec458",
        "sid": 6659458784,
        "size": 8432,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "id": "metadata/file/naming::uppercase-readme-md-basename"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown section headings",
            "id": "metadata/file/profile/markup::at-least-four-markdown-section-headings",
            "spans": [
              [
                592,
                18
              ],
              [
                1414,
                10
              ],
              [
                2384,
                10
              ],
              [
                2761,
                10
              ],
              [
                3457,
                16
              ],
              [
                4299,
                10
              ],
              [
                4504,
                31
              ],
              [
                5102,
                16
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Markdown-style heading precedes a code fence",
            "id": "metadata/file/profile/markup::markdown-heading-before-fenced-block",
            "spans": [
              [
                1518,
                47
              ],
              [
                4504,
                37
              ],
              [
                7488,
                22
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References a public code-forge URL",
            "id": "micro-behaviors/communications/http/url/forge::public-code-forge-url",
            "spans": [
              [
                1174,
                19
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "pip install command text",
            "id": "micro-behaviors/os/package-manager/install::pip-install-cli-text",
            "mbc": "C0002",
            "spans": [
              [
                1252,
                19
              ]
            ]
          },
          {
            "atk": "T1105",
            "conf": 0.9,
            "crit": 3,
            "desc": "Git clone command",
            "id": "micro-behaviors/process/create/vcs/git::git-clone-command",
            "spans": [
              [
                1164,
                61
              ]
            ]
          },
          {
            "atk": "T1105",
            "conf": 0.92,
            "crit": 3,
            "desc": "Git clones a public code forge",
            "id": "micro-behaviors/process/create/vcs/git::public-forge-git-clone",
            "spans": [
              [
                1164,
                61
              ],
              [
                1174,
                19
              ]
            ],
            "uses": [
              3,
              5
            ]
          }
        ],
        "type": "markdown"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-field-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "\"\"\"\r\nComfyUI éåè¡¥ç¼ºï¼comfyui-mirror-fetchï¼\r\n\r\nç¼ºæ¨¡åæ¶ï¼ä¸é®ä»å¯éç½®çéåç«¯ç¹è¡¥é½ï¼å¸¦æ­ç¹ç»­ä¼ ã\r\nä¸æ¹å®æ¹ä»»ä½æä»¶ï¼åçº§ä¸ç¢ã\r\n\r\nåç«¯ï¼æ³¨åä¸ä¸ªæ¥å£\r\n    GET  /mirror_fetch/info            çæ¬ä¸éç½®\r\n    POST /mirror_fetch/check           ç»ä¸æ¹ {name, directory}ï¼è¿ååªäºå·²å­å¨\r\n  "
          },
          {
            "col": 10,
            "line": 14,
            "ln": 527,
            "s": "åé HF_MIRROR  \u003e  æ¬æä»¶ MIRROR é»è®¤å¼\r\n\"\"\"\r\n\r\nimport os\r\nimport time\r\nimport json\r\nimport threading\r\nimport urllib.request\r\nimport urllib.error\r\n\r\ntry:\r\n    from server import PromptServer\r\n    from aiohttp import web\r\n    import folder_paths\r\nexcept Exception as e:  # ä¸å¨ ComfyUI éæ¶åºéé»å¤±è´¥ï¼ä¸æå®å¯å¨\r\n    print(f\"[mirror-fetch] æ æ³å è½½ ComfyUI ä¾èµ: {e}\")\r\n    PromptServer = None\r\n\r\nVERSION = \"0.1.0\"\r\nMIRROR = os.environ.get(\"HF_MIRROR\", \"https://hf-mirror.com\")\r\nUA = {\"User-Agent\": \"comfyui-mirror-fetch/\" + VERSION}\r\n\r\nWEB_DIRECTORY = \"./js\"\r\nNODE_CLASS_MAPPINGS = {}\r\nNODE_DISPLAY_NAME_MAPPINGS = {}\r\n__all__ = [\"WEB_DIRECTORY\", \"N"
          },
          {
            "col": 69,
            "line": 39,
            "ln": 1245,
            "s": "E_MAPPINGS\"]\r\n\r\nJOBS = {}\r\nJOBS_LOCK = threading.Lock()\r\n\r\n# å¹¶åä¸éï¼åæ¶æå¤ä¸ 5 ä¸ªï¼å¶ä½æéï¼è·æµè§å¨ä¸è½½å¨çåæ³ä¸è´"
          },
          {
            "col": 81,
            "line": 54,
            "ln": 1753,
            "s": "][0][0])\r\n    except Exception:\r\n        return os.path.join(os.path.dirname(os.path.dirname(__file__)), \"models\")\r\n\r\n\r\n_DIR_ALIAS = {\r\n    \"unet\": \"diffusion_models\",\r\n    \"transformer\": \"diffusio"
          },
          {
            "col": 27,
            "line": 78,
            "ln": 2525,
            "s": "d)\r\n    p = os.path.join(models_root(), d)\r\n    os.makedirs(p, exist_ok=True)\r\n    return p\r\n\r\n\r\ndef find_existing(name, directory):\r\n    \"\"\"è¿å (ç¶æ"
          },
          {
            "col": 65,
            "line": 85,
            "ln": 2723,
            "s": " / partial / missing\"\"\"\r\n    name = (name or \"\").replace(\"\\\\\", \"/\")\r\n    base = os.path.basename(name)\r\n    d = target_dir(directory)\r\n    dest = os.path"
          },
          {
            "col": 22,
            "line": 89,
            "ln": 2879,
            "s": "in(d, base)\r\n    tmp = dest + \".part\"\r\n\r\n    if os.path.exists(dest):\r\n        try:\r\n            return \"complete\", os.path.getsize(dest), dest\r\n        excep"
          },
          {
            "col": 44,
            "line": 106,
            "ln": 3309,
            "s": "\"\"\"\r\n    if not isinstance(url, str):\r\n        return None\r\n    for host in (\"https://huggingface.co/\", \"https://hf.co/\"):\r\n        if url.startswith(host):\r\n            return MIRROR + \"/\" + url[len(host):]\r\n    if url.startswith(MIRROR + \"/\"):\r"
          },
          {
            "col": 79,
            "line": 122,
            "ln": 3836,
            "s": "åº\r\n    DL_SLOTS.acquire()\r\n    try:\r\n        with JOBS_LOCK:\r\n            if job.get(\"stop\") or job.get(\"cancel\"):\r\n                job.update(state=\"cancelled\" if job.get(\"cancel\") else \"paused\", speed=0)\r"
          },
          {
            "col": 10,
            "line": 142,
            "ln": 4512,
            "s": "rs = dict(UA)\r\n    if start_from:\r\n        headers[\"Range\"] = f\"bytes={start_from}-\"\r\n\r\n    try:\r\n        req = urllib.request.Request(url, headers=headers)\r\n        with urllib.request.urlopen(req, timeout=60) as r:\r\n            # æå¡ç«¯å¿é¡»å 206 ææ¯çæ­£çç»­ä¼ ã\r\n            # å¦æå®å¿½ç¥ Range ç´æ"
          },
          {
            "col": 93,
            "line": 150,
            "ln": 4885,
            "s": "¨æ\"çåæä»¶ã\r\n            if start_from and r.status != 206:\r\n                start_from = 0\r\n                headers.pop(\"Range\", None)\r\n "
          },
          {
            "col": 20,
            "line": 155,
            "ln": 5083,
            "s": " job[\"resumed\"] = False\r\n            total = int(r.headers.get(\"Content-Length\") or 0) + start_from\r\n            with JOBS_LOCK:\r\n                job.update(state=\"downloading\", total=total, done=start_from"
          },
          {
            "col": 6,
            "line": 161,
            "ln": 5398,
            "s": "       done, base, t0 = start_from, start_from, time.time()\r\n            with open(tmp, mode) as f:\r\n                while True:\r\n                    if job.get(\"stop\"):\r\n                        raise IOError(\"å·²åæ¶\")\r\n                    chunk = r.read(1 \u003c\u003c 20)\r\n                    if not chunk:\r\n                        break\r\n                    f.write(chunk)\r\n                    done += len(chunk)\r\n                    el = max(time.time() - t0, 0.001)\r\n                    rate"
          },
          {
            "col": 43,
            "line": 179,
            "ln": 6288,
            "s": "´: {done}/{total} å­èï¼å·²ä¿ç .part ä¾ç»­ä¼ \")\r\n        os.replace(tmp, dest)\r\n        with JOBS_LOCK:\r\n            job.update(state=\"done\", path=dest, speed=0, eta=0)\r\n    except Exception as e"
          },
          {
            "col": 16,
            "line": 188,
            "ln": 6660,
            "s": ":\r\n                if os.path.exists(tmp):\r\n                    os.remove(tmp)\r\n            except Exception:\r\n                pass\r\n            with JOBS_LOCK:\r\n                job.update(state=\"cancelled\", speed=0, eta=0)\r\n        else:\r\n            with JO"
          },
          {
            "col": 12,
            "line": 203,
            "ln": 7148,
            "s": "rllib.request.Request(url, headers=UA)\r\n    with urllib.request.urlopen(req, timeout=timeout) as r:\r\n        return json.loads(r.read().decode(\"utf-8\", \"replace\"))\r\n\r\n\r\ndef _fix_dir(path, directory):\r\n    \"\"\"æä»åºéçè·¯å¾æ®µæ å°æ ComfyUI çå­ç®å½"
          },
          {
            "col": 5,
            "line": 220,
            "ln": 7792,
            "s": "return d\r\n\r\n\r\n_CACHE = {}\r\n\r\n\r\ndef _search_ids(kw):\r\n    import urllib.parse as _up\r\n    try:\r\n        d = mirror_get_json(f\"{MIRROR}/api/models?search={_up.quote(kw)}\u0026limit=40\u0026full=false\")\r\n    except Ex"
          },
          {
            "col": 15,
            "line": 233,
            "ln": 8072,
            "s": " []\r\n    return [c.get(\"id\") or c.get(\"modelId\") for c in d if (c.get(\"id\") or c.get(\"modelId\"))]\r\n\r\n\r\ndef _repo_hit(repo, stem):\r\n    try:\r\n        d = mirror_get_json(f\"{MIRROR}/api/models/{repo}?blobs=true\")\r\n    except Exception:\r\n        return None\r\n    for s in d.get(\"siblings\", []):\r\n        p = s.get(\"rfilename\", \"\")\r\n        if os.path.basename(p) == stem:\r\n            "
          },
          {
            "col": 19,
            "line": 259,
            "ln": 8975,
            "s": "path, url, size} æ Noneã\r\n    \"\"\"\r\n    from concurrent.futures import ThreadPoolExecutor\r\n\r\n    stem = os.path.basename((name or \"\").replace(\"\\\\\", \"/\"))\r\n    if not stem:\r\n        return None\r\n    base = stem"
          },
          {
            "col": 24,
            "line": 270,
            "ln": 9395,
            "s": "_h3ï¼ä¸æ¯å¼å¤´ç qwen3vlã\r\n    parts = [p for p in base.replace(\"-\", \"_\").split(\"_\") if p]\r\n    kws = [base]\r\n    for i in range(len(parts) - 1):\r\n        kws.append(parts[i] + \"_\" + parts[i + 1])\r\n    kws += [p for p in parts if len(p) \u003e= 4]\r\n    seen_kw, dedup = set(), []\r\n    for k in kws:\r\n        k = k.strip().lower()\r\n        if len(k) \u003e= 3 and k not in seen_kw:\r\n            seen_kw.add(k)\r\n            dedup.append(k)\r\n    kws = dedup[:8]\r\n\r\n    # â  å³é®è¯å¹¶è¡æç´¢\r\n    ids = []\r\n    with ThreadPoolExecutor(max_workers=min(8, len(kws))) as ex:\r\n        for res in ex.map(_search_ids, kws):\r\n            for i in res:\r\n                if i not in ids:\r\n                    ids.append(i)\r\n\r\n    if not ids:\r\n        return None\r\n\r\n    # â¡ æåºï¼å®æ¹ä»åºä¼åï¼å¶æ¬¡ä»"
          },
          {
            "col": 4,
            "line": 299,
            "ln": 10330,
            "s": "     low = repo.lower()\r\n        overlap = sum(1 for t in toks if t in low)\r\n        return (0 if any(repo.startswith(o + \"/\") for o in prefer_orgs) else "
          },
          {
            "col": 4,
            "line": 306,
            "ln": 10558,
            "s": " # â¢ ä»åºæ¢æµå¹¶è¡ï¼æ¯æ¹ 5 ä¸ªï¼å½ä¸­å³åï¼\r\n    for start in range(0, min(len(ids), 20), 5):\r\n        batch = ids[start:start + 5]\r\n        with ThreadPoolExecutor(max_workers=len(batch)) as ex:\r\n            for hit"
          },
          {
            "col": 8,
            "line": 325,
            "ln": 11237,
            "s": " return self._deco()\r\n\r\n    def post(self, *a, **k):\r\n        return self._deco()\r\n\r\n\r\nif PromptServ"
          },
          {
            "col": 20,
            "line": 333,
            "ln": 11383,
            "s": "omptServer.instance.routes\r\n    except Exception as _e:\r\n        routes = _NoRoutes()\r\n        print(f\"[mirror-fetch] P"
          },
          {
            "col": 59,
            "line": 336,
            "ln": 11528,
            "s": "ªå°±ç»ª: {_e}\")\r\nelse:\r\n    routes = _NoRoutes()\r\n\r\nif True:\r\n\r\n    @routes.get(\"/mirror_fetch/info\")\r\n    async def mf_info(request):\r\n        return web.json_response({\r\n            \"version\": VERSION,\r\n   "
          },
          {
            "col": 41,
            "line": 347,
            "ln": 11804,
            "s": ",\r\n            \"max_concurrent\": MAX_CONCURRENT,\r\n        })\r\n\r\n    @routes.post(\"/mirror_fetch/check\")\r\n    async def mf_check(request):\r\n        try:\r\n            body = await request.json()\r\n        except Exception:\r\n            body = {}\r\n        items = body.get(\"items\") or []\r\n        out = []\r\n        for it in items:\r\n            st, have, path = find_existing(it.get(\"name\"), it.get(\"directory\"))\r\n            out.append({\"name\": it."
          },
          {
            "col": 31,
            "line": 365,
            "ln": 12446,
            "s": "h/resolve\")\r\n    async def mf_resolve(request):\r\n        import asyncio\r\n\r\n        try:\r\n            body = await request.json()\r\n        except Exception:\r\n            body = {}\r\n        names = [n "
          },
          {
            "col": 40,
            "line": 387,
            "ln": 13094,
            "s": "¦å ç§ï¼ä¹åç¬æ¶\r\n        results = await asyncio.gather(*[loop.run_in_executor(None, work, n) for n in names])\r\n        found = {n: r for n, r in resul"
          },
          {
            "col": 7,
            "line": 401,
            "ln": 13605,
            "s": "          hit = body.get(\"all\") or j[\"job\"] == body.get(\"job\") or \\\r\n                      (body.get(\"name\") a"
          },
          {
            "col": 28,
            "line": 433,
            "ln": 14987,
            "s": "_response({\"error\": \"bad json\"}, status=400)\r\n        raw = body.get(\"url\")\r\n        name = body.get(\"name\") or \"\"\r\n        directory = body.get(\"directory\") or \"diffusion_models\"\r\n        url = to_mirror(raw)\r\n        if not url:\r\n            return web.json_response({\"error\": f\"ä¸æ¯ææä¸éè¦æ¹å: {str(raw)[:80]}\"}, stat"
          },
          {
            "col": 69,
            "line": 458,
            "ln": 16309,
            "s": "ctory,\r\n                         \"url\": url, \"state\": \"queued\", \"done\": 0, \"total\": 0,\r\n                         \"speed\": 0, \"eta\": 0}\r\n            # åªä¿çæè¿ 50 æ¡ï¼é¿åé¿æ¶é´ä½¿ç¨ååå­åçé¢æ éå¢é¿\r\n            if len(JOBS) \u003e 50:\r\n "
          },
          {
            "col": 16,
            "line": 470,
            "ln": 16964,
            "s": "urn web.json_response({\"job\": jid, \"skipped\": True})\r\n\r\n        threading.Thread(target=run_download, args=(jid, url, name, directory),\r\n                         daemon=True).start()\r\n        return web.json_response({\"job\": jid})\r\n\r\n    @routes.get(\"/mirror_fetch/jobs\")\r\n    async def mf_jobs(r"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "models_root",
              1603
            ],
            [
              "target_dir",
              2126
            ],
            [
              "find_existing",
              2622
            ],
            [
              "to_mirror",
              3245
            ],
            [
              "run_download",
              3683
            ],
            [
              "_do_download",
              4215
            ],
            [
              "mirror_get_json",
              7098
            ],
            [
              "_fix_dir",
              7317
            ],
            [
              "_search_ids",
              7823
            ],
            [
              "_repo_hit",
              8175
            ],
            [
              "resolve_by_filename",
              8670
            ],
            [
              "score",
              10309
            ],
            [
              "_deco",
              11105
            ],
            [
              "wrap",
              11140
            ],
            [
              "get",
              11205
            ],
            [
              "post",
              11265
            ],
            [
              "mf_info",
              11635
            ],
            [
              "mf_check",
              11913
            ],
            [
              "mf_resolve",
              12463
            ],
            [
              "work",
              12740
            ],
            [
              "mf_pause",
              13387
            ],
            [
              "mf_cancel",
              14043
            ],
            [
              "mf_download",
              14845
            ],
            [
              "mf_jobs",
              17241
            ]
          ],
          "imp": [
            [
              "",
              "print"
            ],
            [
              "",
              "os.environ.get"
            ],
            [
              "",
              "threading.Lock"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "os.environ.get"
            ],
            [
              "",
              "threading.Semaphore"
            ],
            [
              "",
              "os.path.dirname"
            ],
            [
              "",
              "os.path.join"
            ],
            [
              "",
              "os.path.dirname"
            ],
            [
              "",
              "os.path.dirname"
            ],
            [
              "",
              "_DIR_ALIAS.get"
            ],
            [
              "",
              "os.path.join"
            ],
            [
              "",
              "models_root"
            ],
            [
              "",
              "os.makedirs"
            ],
            [
              "",
              "os.path.basename"
            ],
            [
              "",
              "target_dir"
            ],
            [
              "",
              "os.path.join"
            ],
            [
              "",
              "os.path.exists"
            ],
            [
              "",
              "os.path.getsize"
            ],
            [
              "",
              "os.path.exists"
            ],
            [
              "",
              "os.path.getsize"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "url.startswith"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "url.startswith"
            ],
            [
              "",
              "DL_SLOTS.acquire"
            ],
            [
              "",
              "job.get"
            ],
            [
              "",
              "job.get"
            ],
            [
              "",
              "job.update"
            ],
            [
              "",
              "job.get"
            ],
            [
              "",
              "_do_download"
            ],
            [
              "",
              "DL_SLOTS.release"
            ],
            [
              "",
              "target_dir"
            ],
            [
              "",
              "os.path.join"
            ],
            [
              "",
              "os.path.basename"
            ],
            [
              "",
              "name.replace"
            ],
            [
              "",
              "os.makedirs"
            ],
            [
              "",
              "os.path.getsize"
            ],
            [
              "",
              "os.path.exists"
            ],
            [
              "",
              "dict"
            ],
            [
              "",
              "urllib.request.Request"
            ],
            [
              "",
              "urllib.request.urlopen"
            ],
            [
              "",
              "headers.pop"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "r.headers.get"
            ],
            [
              "",
              "job.update"
            ],
            [
              "",
              "time.time"
            ],
            [
              "",
              "open"
            ],
            [
              "",
              "job.get"
            ],
            [
              "",
              "IOError"
            ],
            [
              "",
              "r.read"
            ],
            [
              "",
              "f.write"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "max"
            ],
            [
              "",
              "time.time"
            ],
            [
              "",
              "IOError"
            ],
            [
              "",
              "os.replace"
            ],
            [
              "",
              "job.update"
            ],
            [
              "",
              "job.get"
            ],
            [
              "",
              "job.update"
            ],
            [
              "",
              "job.get"
            ],
            [
              "",
              "os.path.exists"
            ],
            [
              "",
              "os.remove"
            ],
            [
              "",
              "job.update"
            ],
            [
              "",
              "job.update"
            ],
            [
              "",
              "type"
            ],
            [
              "",
              "urllib.request.Request"
            ],
            [
              "",
              "urllib.request.urlopen"
            ],
            [
              "",
              "json.loads"
            ],
            [
              "",
              "r.read.decode"
            ],
            [
              "",
              "r.read"
            ],
            [
              "",
              "mirror_get_json"
            ],
            [
              "",
              "_up.quote"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "c.get"
            ],
            [
              "",
              "c.get"
            ],
            [
              "",
              "c.get"
            ],
            [
              "",
              "c.get"
            ],
            [
              "",
              "mirror_get_json"
            ],
            [
              "",
              "d.get"
            ],
            [
              "",
              "s.get"
            ],
            [
              "",
              "os.path.basename"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "s.get"
            ],
            [
              "",
              "os.path.basename"
            ],
            [
              "",
              "stem.rsplit"
            ],
            [
              "",
              "base.replace.split"
            ],
            [
              "",
              "base.replace"
            ],
            [
              "",
              "range"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "kws.append"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "set"
            ],
            [
              "",
              "k.strip.lower"
            ],
            [
              "",
              "k.strip"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "seen_kw.add"
            ],
            [
              "",
              "dedup.append"
            ],
            [
              "",
              "ThreadPoolExecutor"
            ],
            [
              "",
              "min"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "ex.map"
            ],
            [
              "",
              "ids.append"
            ],
            [
              "",
              "p.lower"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "repo.lower"
            ],
            [
              "",
              "sum"
            ],
            [
              "",
              "any"
            ],
            [
              "",
              "repo.startswith"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "ids.sort"
            ],
            [
              "",
              "range"
            ],
            [
              "",
              "min"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "ThreadPoolExecutor"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "ex.map"
            ],
            [
              "",
              "_repo_hit"
            ],
            [
              "",
              "self._deco"
            ],
            [
              "",
              "self._deco"
            ],
            [
              "",
              "_NoRoutes"
            ],
            [
              "",
              "print"
            ],
            [
              "",
              "_NoRoutes"
            ],
            [
              "",
              "routes.get"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "models_root"
            ],
            [
              "",
              "routes.post"
            ],
            [
              "",
              "request.json"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "find_existing"
            ],
            [
              "",
              "it.get"
            ],
            [
              "",
              "it.get"
            ],
            [
              "",
              "out.append"
            ],
            [
              "",
              "it.get"
            ],
            [
              "",
              "it.get"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "routes.post"
            ],
            [
              "",
              "request.json"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "asyncio.get_event_loop"
            ],
            [
              "",
              "_CACHE.get"
            ],
            [
              "",
              "resolve_by_filename"
            ],
            [
              "",
              "_fix_dir"
            ],
            [
              "",
              "r.get"
            ],
            [
              "",
              "r.get"
            ],
            [
              "",
              "asyncio.gather"
            ],
            [
              "",
              "loop.run_in_executor"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "routes.post"
            ],
            [
              "",
              "request.json"
            ],
            [
              "",
              "JOBS.values"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "os.path.basename"
            ],
            [
              "",
              "j.get"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "routes.post"
            ],
            [
              "",
              "request.json"
            ],
            [
              "",
              "JOBS.values"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "os.path.basename"
            ],
            [
              "",
              "j.get"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "routes.post"
            ],
            [
              "",
              "request.json"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "body.get"
            ],
            [
              "",
              "to_mirror"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "str"
            ],
            [
              "",
              "find_existing"
            ],
            [
              "",
              "int"
            ],
            [
              "",
              "time.time"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "os.path.basename"
            ],
            [
              "",
              "JOBS.values"
            ],
            [
              "",
              "os.path.basename"
            ],
            [
              "",
              "j.get"
            ],
            [
              "",
              "j.get"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "JOBS.items"
            ],
            [
              "",
              "os.path.basename"
            ],
            [
              "",
              "j.get"
            ],
            [
              "",
              "j.get"
            ],
            [
              "",
              "JOBS.pop"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "sorted"
            ],
            [
              "",
              "JOBS.keys"
            ],
            [
              "",
              "JOBS.pop"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "threading.Thread.start"
            ],
            [
              "",
              "threading.Thread"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "routes.get"
            ],
            [
              "",
              "web.json_response"
            ],
            [
              "",
              "dict"
            ],
            [
              "",
              "print"
            ],
            [
              "server",
              "PromptServer"
            ],
            [
              "concurrent.futures",
              "ThreadPoolExecutor"
            ],
            [
              "",
              "aiohttp"
            ],
            [
              "",
              "asyncio"
            ],
            [
              "",
              "concurrent.futures"
            ],
            [
              "",
              "folder_paths"
            ],
            [
              "",
              "json"
            ],
            [
              "",
              "os"
            ],
            [
              "",
              "server"
            ],
            [
              "",
              "threading"
            ],
            [
              "",
              "time"
            ],
            [
              "",
              "urllib.error"
            ],
            [
              "",
              "urllib.parse"
            ],
            [
              "",
              "urllib.request"
            ],
            [
              "aiohttp",
              "web"
            ]
          ],
          "mbr": [
            "DL_SLOTS.acquire",
            "DL_SLOTS.release",
            "JOBS.items",
            "JOBS.keys",
            "JOBS.pop",
            "JOBS.values",
            "PromptServer.instance",
            "PromptServer.instance.routes",
            "_CACHE.get",
            "_DIR_ALIAS.get",
            "_up.quote",
            "asyncio.gather",
            "asyncio.get_event_loop",
            "base.replace",
            "base.replace.split",
            "body.get",
            "body.name",
            "c.get",
            "d.get",
            "dedup.append",
            "ex.map",
            "f.write",
            "folder_paths.folder_names_and_paths",
            "folder_paths.folder_names_and_paths.checkpoints",
            "headers.Range",
            "headers.pop",
            "ids.append",
            "ids.sort",
            "it.get",
            "j.cancel",
            "j.get",
            "j.job",
            "j.pause",
            "j.state",
            "j.stop",
            "job.done",
            "job.eta",
            "job.get",
            "job.resumed",
            "job.speed",
            "job.state",
            "job.update",
            "json.loads",
            "k.strip",
            "k.strip.lower",
            "kws.append",
            "loop.run_in_executor",
            "name.replace",
            "os.environ",
            "os.environ.get",
            "os.makedirs",
            "os.path",
            "os.path.basename",
            "os.path.dirname",
            "os.path.exists",
            "os.path.getsize",
            "os.path.join",
            "os.remove",
            "os.replace",
            "out.append",
            "p.lower",
            "r.directory",
            "r.get",
            "r.headers",
            "r.headers.get",
            "r.read",
            "r.read.decode",
            "r.status",
            "repo.lower",
            "repo.startswith",
            "request.json",
            "routes.get",
            "routes.post",
            "s.get",
            "seen_kw.add",
            "self._deco",
            "stem.rsplit",
            "threading.Lock",
            "threading.Semaphore",
            "threading.Thread",
            "threading.Thread.start",
            "time.time",
            "type.__name__",
            "url.startswith",
            "urllib.request",
            "urllib.request.Request",
            "urllib.request.urlopen",
            "web.json_response"
          ],
          "metrics": {
            "ast": {
              "call_count": 211,
              "identity_function_count": 1,
              "infinite_loop_count": 1,
              "max_array_length": 4,
              "max_concat_chain": 3,
              "max_depth": 21,
              "max_member_depth": 3,
              "member_count": 88,
              "node_count": 5381,
              "op.add": 16,
              "op.div": 2,
              "op.land": 11,
              "op.lor": 21,
              "op.mul": 1,
              "op.shl": 1,
              "op.sub": 7,
              "op_density.add": 0,
              "op_density.div": 0,
              "op_density.land": 0,
              "op_density.lor": 0,
              "op_density.mul": 0,
              "op_density.shl": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 3072,
              "peak_region_entropy": 5.98
            },
            "binds": {
              "count": 102
            },
            "comments": {
              "chars": 1385,
              "count": 20,
              "high_entropy": 15,
              "lines": 20,
              "to_code_ratio": 0.04
            },
            "file": {
              "entropy": 5.3,
              "size": 17422
            },
            "functions": {
              "anonymous": 1,
              "avg_length_lines": 15,
              "avg_name_length": 8.92,
              "avg_nesting_depth": 0.16,
              "avg_param_name_length": 4.64,
              "avg_params": 1.68,
              "code_ratio": 0.74,
              "count": 25,
              "density": 5.2,
              "high_entropy_names": 1,
              "length_stddev": 16.57,
              "max_length_lines": 63,
              "max_nesting_depth": 1,
              "max_params": 5,
              "min_length_lines": 1,
              "nested": 3,
              "no_params_count": 1,
              "one_liners": 1,
              "single_char_params": 8
            },
            "identifiers": {
              "all_lowercase_ratio": 0.88,
              "all_uppercase_ratio": 0.06,
              "avg_entropy": 2.09,
              "avg_length": 5.98,
              "count": 941,
              "double_underscore_count": 3,
              "has_digit_ratio": 0.01,
              "high_entropy_count": 6,
              "high_entropy_ratio": 0.03,
              "length_stddev": 3.9,
              "max_length": 26,
              "min_length": 1,
              "numeric_suffix_count": 1,
              "reuse_ratio": 0.21,
              "sequential_names": 15,
              "single_char_count": 14,
              "single_char_ratio": 0.07,
              "underscore_prefix_count": 13,
              "unique": 199
            },
            "imports": {
              "aliased": 1,
              "count": 15,
              "stdlib_count": 9,
              "stdlib_ratio": 0.6,
              "third_party_count": 6,
              "third_party_ratio": 0.4
            },
            "references": {
              "declared_count": 3,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 2,
              "unresolved_extension_count": 0
            },
            "source": {
              "class_count": 1,
              "function_count": 24
            },
            "strings": {
              "avg_entropy": 2.4,
              "avg_length": 14.65,
              "bytes": 3325,
              "count": 227,
              "empty_count": 13,
              "entropy_stddev": 1.2,
              "high_entropy_count": 7,
              "max_length": 574,
              "path_count": 9,
              "url_count": 3
            },
            "text": {
              "anonymous_function_ratio": 0.04,
              "ascii_art_lines": 3,
              "avg_line_length": 34.22,
              "char_entropy": 5.3,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.16,
              "identifier_density": 1.96,
              "identifiers_to_functions_ratio": 7.96,
              "import_density": 3.12,
              "imports_to_functions_ratio": 0.6,
              "last_line_length": 73,
              "line_length_stddev": 25.79,
              "lines": 481,
              "max_line_length": 112,
              "max_whitespace_run": 12,
              "non_ascii_ratio": 0.12,
              "normalized_function_count": 1.14,
              "normalized_import_count": 0.68,
              "normalized_string_count": 10.35,
              "normalized_unique_identifiers": 22.33,
              "repeated_char_sequences": 137,
              "space_count": 4429,
              "string_density": 0.47,
              "strings_to_functions_ratio": 9.08,
              "suspicious_comment_ratio": 0.75,
              "suspicious_identifier_ratio": 0.08,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.05,
              "unique_chars": 158,
              "whitespace_ratio": 0.31
            }
          },
          "tgt": [
            "DL_SLOTS.acquire",
            "DL_SLOTS.release",
            "IOError",
            "JOBS.items",
            "JOBS.keys",
            "JOBS.pop",
            "JOBS.values",
            "ThreadPoolExecutor",
            "_CACHE.get",
            "_DIR_ALIAS.get",
            "_NoRoutes",
            "_do_download",
            "_fix_dir",
            "_repo_hit",
            "_up.quote",
            "any",
            "asyncio.gather",
            "asyncio.get_event_loop",
            "base.replace",
            "base.replace.split",
            "body.get",
            "c.get",
            "d.get",
            "dedup.append",
            "dict",
            "ex.map",
            "f.write",
            "find_existing",
            "headers.pop",
            "ids.append",
            "ids.sort",
            "int",
            "isinstance",
            "it.get",
            "j.get",
            "job.get",
            "job.update",
            "json.loads",
            "k.strip",
            "k.strip.lower",
            "kws.append",
            "len",
            "loop.run_in_executor",
            "max",
            "min",
            "mirror_get_json",
            "models_root",
            "name.replace",
            "open",
            "os.environ.get",
            "os.makedirs",
            "os.path.basename",
            "os.path.dirname",
            "os.path.exists",
            "os.path.getsize",
            "os.path.join",
            "os.remove",
            "os.replace",
            "out.append",
            "p.lower",
            "print",
            "r.get",
            "r.headers.get",
            "r.read",
            "r.read.decode",
            "range",
            "repo.lower",
            "repo.startswith",
            "request.json",
            "resolve_by_filename",
            "routes.get",
            "routes.post",
            "s.get",
            "seen_kw.add",
            "self._deco",
            "set",
            "sorted",
            "stem.rsplit",
            "str",
            "sum",
            "target_dir",
            "threading.Lock",
            "threading.Semaphore",
            "threading.Thread",
            "threading.Thread.start",
            "time.time",
            "to_mirror",
            "type",
            "url.startswith",
            "urllib.request.Request",
            "urllib.request.urlopen",
            "web.json_response"
          ]
        },
        "id": 3,
        "mol": "H₅(Cm₁₁Db₇F₂OsPo₄)Md₂(In₇Pt)",
        "path": "comfyui-modelmirror-0.1.2.zip!!__init__.py",
        "pid": 0,
        "risk": 16,
        "sha": "1e9e8d9f347b0ad051592c6bf62b1002ee498dab9b338058a2691f805cf5660b",
        "sid": 6659458782,
        "size": 17422,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/lang/locale::cjk-ui-prose-source",
                "spans": [
                  [
                    55,
                    33
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/lang/encoding::non-ascii-script-text",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports web from aiohttp",
            "id": "metadata/import/python/aiohttp/web::web",
            "spans": [
              [
                752,
                3
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports aiohttp",
            "id": "metadata/import/python/aiohttp::aiohttp",
            "spans": [
              [
                737,
                7
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "id": "metadata/import/python/os::os",
            "spans": [
              [
                591,
                2
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib.error",
            "id": "metadata/import/python/urllib/error::urllib/error",
            "spans": [
              [
                669,
                12
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib.parse as _up",
            "id": "metadata/import/python/urllib/parse::_up",
            "spans": [
              [
                7856,
                12
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports urllib.request",
            "id": "metadata/import/python/urllib/request::urllib/request",
            "spans": [
              [
                646,
                14
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Source binds host/url/endpoint to call syntax",
            "id": "metadata/lang/source/declaration::named-variable-call-assignment",
            "spans": [
              [
                15175,
                17
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python asyncio library reference",
            "id": "metadata/lang/source/naming/interface::asyncio-reference",
            "spans": [
              [
                12510,
                7
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the aiohttp Python HTTP client",
            "id": "micro-behaviors/communications/http/client/library::aiohttp-import",
            "spans": [
              [
                737,
                7
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python HTTP Content-Length header",
            "id": "micro-behaviors/communications/http/header/content-length::python-content-length-header",
            "mbc": "C0002",
            "spans": [
              [
                5147,
                14
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "urllib.request.Request symbol",
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-request-symbol",
            "spans": [
              [
                4624,
                22
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "References urllib.request.urlopen",
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-urlopen",
            "spans": [
              [
                4683,
                22
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Calls function named urlopen",
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-urlopen-call-symbol",
            "spans": [
              [
                4683,
                22
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "References Python urllib HTTP client",
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-word",
            "spans": [
              [
                646,
                14
              ],
              [
                4683,
                22
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Multiple urllib URL-open calls in Python file",
            "id": "micro-behaviors/communications/http/lib/urllib::urlopen-multiple-calls",
            "spans": [
              [
                4683,
                22
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Reads urllib response body",
            "id": "micro-behaviors/communications/http/lib/urllib::urlopen-response-body-read",
            "spans": [
              [
                7212,
                70
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.9,
            "crit": 3,
            "desc": "Python basic HTTP route decorator",
            "id": "micro-behaviors/communications/http/server/framework::python-http-route-basic-method",
            "mbc": "C0002",
            "spans": [
              [
                11592,
                16
              ],
              [
                11868,
                17
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Extract data from JSON request body",
            "id": "micro-behaviors/communications/http/server/request::extract-from-request-json",
            "spans": [
              [
                11981,
                13
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "ComfyUI service name reference",
            "id": "micro-behaviors/communications/http/services/comfyui::service-keyword",
            "spans": [
              [
                1057,
                7
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "id": "micro-behaviors/communications/http/url/scheme::http-url-literal",
            "spans": [
              [
                1011,
                21
              ],
              [
                3388,
                22
              ],
              [
                3415,
                13
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Non-Mozilla User-Agent header value in text",
            "id": "micro-behaviors/communications/http/user-agent::non-mozilla-user-agent-header",
            "spans": [
              [
                1042,
                37
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python iterates buffer in fixed steps",
            "id": "micro-behaviors/data/buffer/chunk::python-fixed-step-chunk-loop",
            "spans": [
              [
                10622,
                39
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Four word keys mapped to short integers",
            "id": "micro-behaviors/data/collection/map::four-word-numeric-table",
            "spans": [
              [
                16373,
                69
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Python mapping reads the url key",
            "id": "micro-behaviors/data/collection/map::mapping-get-url-key",
            "spans": [
              [
                15051,
                11
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Python minimum sequence length check",
            "id": "micro-behaviors/data/control-flow/analysis::python-min-length-check",
            "spans": [
              [
                9632,
                11
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Broad exception returns failure sentinel",
            "id": "micro-behaviors/data/control-flow/error-handling::broad-exception-return-suppression",
            "mbc": "C0027",
            "spans": [
              [
                8288,
                38
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "exception suppression via try/except pass",
            "id": "micro-behaviors/data/control-flow/error-handling::silent-exception-pass",
            "mbc": "C0027",
            "spans": [
              [
                6740,
                51
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 3,
            "desc": "Python not-in membership check",
            "id": "micro-behaviors/data/control-flow/membership::not-in-membership-check",
            "spans": [
              [
                10056,
                16
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Python set() construction",
            "id": "micro-behaviors/data/control-flow/membership::set-construction",
            "spans": [
              [
                9659,
                13
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Source contains a bytes= string literal",
            "id": "micro-behaviors/data/format/string::source-bytes-equals-literal",
            "spans": [
              [
                4576,
                6
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Parses JSON data with Python",
            "id": "micro-behaviors/data/parse/json::json-loads-call",
            "spans": [
              [
                7264,
                10
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "File deletion (os.remove/os.unlink)",
            "id": "micro-behaviors/fs/delete/file/library::py-remove",
            "spans": [
              [
                6724,
                10
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Python or Node.js file rename API",
            "id": "micro-behaviors/fs/file/rename::file-rename-api",
            "spans": [
              [
                6352,
                10
              ]
            ],
            "uses": [
              55
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Python reads an environment variable",
            "id": "micro-behaviors/os/env/read::python-os-getenv-call",
            "spans": [
              [
                982,
                14
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Creates a daemon thread in Python",
            "id": "micro-behaviors/process/create/thread::python-daemon-thread",
            "spans": [
              [
                17028,
                103
              ],
              [
                17126,
                6
              ]
            ]
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "Creates a thread in Python",
            "id": "micro-behaviors/process/create/thread::python-thread-create",
            "spans": [
              [
                17037,
                8
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Writes a response-named stream's read result",
            "id": "micro-behaviors/process/io/stream::python-response-read-to-write",
            "spans": [
              [
                5752,
                7
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Constructs a Python ThreadPoolExecutor",
            "id": "micro-behaviors/process/work/pool::parallel-thread-executor",
            "spans": [
              [
                9910,
                18
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "References a worker, thread, or goroutine pool",
            "id": "micro-behaviors/process/work/pool::worker-pool",
            "spans": [
              [
                9048,
                11
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Python package __init__.py file",
            "id": "metadata/file/size::init-py-file"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports asyncio",
            "id": "metadata/import/python/asyncio::asyncio",
            "spans": [
              [
                12510,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ThreadPoolExecutor from concurrent.futures",
            "id": "metadata/import/python/concurrent/futures/threadpoolexecutor::threadpoolexecutor",
            "spans": [
              [
                9049,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports concurrent.futures",
            "id": "metadata/import/python/concurrent/futures::concurrent/futures",
            "spans": [
              [
                9023,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports folder_paths",
            "id": "metadata/import/python/folder_paths::folder_paths",
            "spans": [
              [
                768,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports json",
            "id": "metadata/import/python/json::json",
            "spans": [
              [
                615,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports PromptServer from server",
            "id": "metadata/import/python/server/promptserver::promptserver",
            "spans": [
              [
                714,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports server",
            "id": "metadata/import/python/server::server",
            "spans": [
              [
                700,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports threading",
            "id": "metadata/import/python/threading::threading",
            "spans": [
              [
                628,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "id": "metadata/import/python/time::time",
            "spans": [
              [
                602,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "for loop (content)",
            "id": "micro-behaviors/data/control-flow/analysis::for-loop-content",
            "spans": [
              [
                10378,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "While-loop control flow",
            "id": "micro-behaviors/data/control-flow/analysis::while-loop",
            "spans": [
              [
                5499,
                0
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 2,
            "desc": "except keyword",
            "id": "micro-behaviors/data/control-flow/error-handling::except-keyword-dup",
            "mbc": "C0027",
            "spans": [
              [
                782,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Python unconditional while-loop header",
            "id": "micro-behaviors/data/control-flow/loop::python-unconditional-while-header",
            "spans": [
              [
                5515,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Calls Python open() on a file",
            "id": "micro-behaviors/fs/file/open::generic-dup",
            "spans": [
              [
                5476,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "os.replace file movement",
            "id": "micro-behaviors/fs/file/rename::os-replace",
            "spans": [
              [
                6352,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "os.path directory of the running module",
            "id": "micro-behaviors/fs/path/self::python-ospath-module-dir",
            "spans": [
              [
                1814,
                0
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 2,
            "desc": "Python write method call",
            "id": "micro-behaviors/process/io/stream::python-write-method-call",
            "spans": [
              [
                5752,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                868,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token",
            "spans": [
              [
                11269,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                2772,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                4933,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                12149,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                3374,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                3884,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Imports a Python network client library",
            "id": "metadata/import/package::python-network-client-imports",
            "spans": [
              [
                646,
                14
              ],
              [
                669,
                12
              ]
            ],
            "uses": [
              3,
              4,
              5
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Reads a remote HTTP response body",
            "id": "micro-behaviors/communications/http/client/response-body::remote-response-body-read",
            "spans": [
              [
                7212,
                70
              ]
            ],
            "uses": [
              15
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "urllib Request object creation",
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-request-object",
            "spans": [
              [
                4624,
                22
              ]
            ],
            "uses": [
              10
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.9,
            "crit": 3,
            "desc": "Python HTTP method route decorator",
            "id": "micro-behaviors/communications/http/server/framework::python-http-method-route",
            "mbc": "C0002",
            "spans": [
              [
                11592,
                17
              ]
            ],
            "uses": [
              16
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "HTTP handler reads request input",
            "id": "micro-behaviors/communications/http/server/request::http-request-input",
            "spans": [
              [
                11981,
                13
              ]
            ],
            "uses": [
              17
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Python JSON parsing or serialization reference",
            "id": "micro-behaviors/data/codec::python-json-transform-reference",
            "spans": [
              [
                7264,
                10
              ]
            ],
            "uses": [
              30
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "File removal API or shell deletion",
            "id": "micro-behaviors/fs/delete/file/library::file-removal-api-or-command",
            "spans": [
              [
                6724,
                10
              ]
            ],
            "uses": [
              31
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Uses a parallel task dispatch API",
            "id": "micro-behaviors/process/create/workers::parallel-task-dispatch-api",
            "spans": [
              [
                9910,
                18
              ]
            ],
            "uses": [
              37
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Compression and decompression library evidence",
            "id": "micro-behaviors/data/compression::compression-library-evidence",
            "spans": [
              [
                7264,
                10
              ]
            ],
            "uses": [
              70
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "Python urllib urlopen reference or call",
            "id": "micro-behaviors/communications/http/lib/urllib::urllib-urlopen-call",
            "spans": [
              [
                4683,
                22
              ]
            ],
            "uses": [
              11,
              12
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Uses common HTTP client APIs",
            "id": "micro-behaviors/communications/http/request/client::http-client",
            "spans": [
              [
                646,
                14
              ],
              [
                4683,
                22
              ]
            ],
            "uses": [
              13
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Sends an HTTP request with a Python client library",
            "id": "micro-behaviors/communications/http/request/client::request-python",
            "spans": [
              [
                4624,
                22
              ]
            ],
            "uses": [
              67
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "File can issue HTTP requests",
            "id": "micro-behaviors/communications/http/request/client::http-request-capability",
            "spans": [
              [
                646,
                14
              ],
              [
                4683,
                22
              ]
            ],
            "uses": [
              75
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Python network endpoint activity",
            "id": "micro-behaviors/communications/ip/endpoint::python-network-any",
            "spans": [
              [
                4624,
                22
              ],
              [
                4683,
                22
              ]
            ],
            "uses": [
              74,
              76
            ]
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-field-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// ComfyUI éåè¡¥ç¼º Â· åç«¯é¢æ¿\r\n// ç¼ºæ¨¡åæ¶ï¼ä¸é®ä»å¯éç½®çéåç«¯ç¹è¡¥é½ï¼å¸¦æ­ç¹ç»­ä¼ åå®æ¶è¿åº¦ã\r\n// ä¸æ¹å®æ¹ä»»ä½æä»¶ã\r\n\r\nconst API = \"/mirror_fetch\";\r\n\r\nconst MODEL_RE = /\\.(safetensors|sft|ckpt|pt|pth|bin|gguf)$/i;\r\n\r\nconst log = (...a) =\u003e console.log(\"[mirror-fetch]\", ...a);\r\nconst mb = (n) =\u003e {\r\n  if (!n) return \"0\";\r\n  return n \u003e= 1073741824 ? (n / 1073741824).toFixed(2) + \" GB\" : (n / 1048576).toFixed(1) + \" MB\";\r\n};\r\nconst baseName = (p) =\u003e String(p || \"\").split(/[\\\\/]/).pop();\r\n\r\n// -"
          },
          {
            "col": 21,
            "line": 16,
            "ln": 561,
            "s": "----------------------------------------------- æ¶éæ¨¡åå¼ç¨\r\n\r\n// æ§ä»¶å â ComfyUI ç®å½ï¼æå¨æ å°ï¼æ§ä»¶å¯éå¼æ¬èº«å°±æ¥èªè¿ä¸ªç®å½ï¼\r\nconst WIDGET"
          },
          {
            "col": 2,
            "line": 36,
            "ln": 1224,
            "s": " const n = String(name).toLowerCase();\r\n  if (n.includes(\"lora\")) return \"loras\";\r\n  if (n.includes(\"vae\")) return \"vae\";\r\n  if (n.includes(\"clip\") || n."
          },
          {
            "col": 23,
            "line": 46,
            "ln": 1705,
            "s": " 7) return;\r\n  if (typeof root !== \"object\") return;\r\n  if (visited.has(root)) return;\r\n  visited.add(root);\r\n\r\n  if (Array.isArray(root)) {\r\n    for (const v of root) deepFindModels(v, out, seen, visited, depth + 1);\r\n    return;\r\n  }\r\n\r\n  const "
          },
          {
            "col": 11,
            "line": 56,
            "ln": 1954,
            "s": " = root.name;\r\n  if (typeof nm === \"string\" \u0026\u0026 MODEL_RE.test(nm)) {\r\n    const key = (root.directory || \"\") + \"|\" + nm;\r\n    if (!seen.has(key)) {\r\n      seen.add(key);\r\n      out.push({\r\n        name: nm,\r\n        url: typeof root.url === \"string\""
          },
          {
            "col": 45,
            "line": 87,
            "ln": 2847,
            "s": "= \"object\") roots.push(o); };\r\n\r\n  try { push(graph.serialize ? graph.serialize() : null); } catch (e) {}\r\n  push(graph);\r\n  try { push(app.workflowManager?.activeWorkflow); } catch (e) {}\r\n  try { push(app.workflowManager?.activeWor"
          },
          {
            "col": 10,
            "line": 101,
            "ln": 3356,
            "s": "const w of n?.widgets || []) {\r\n      const v = w?.value;\r\n      if (typeof v === \"string\" \u0026\u0026 MODEL_RE.test(v)) {\r\n        const key = \"|\" + v;\r\n      "
          },
          {
            "col": 35,
            "line": 122,
            "ln": 3933,
            "s": "--------------------------------- ç¶æ\r\n\r\nlet panel = null;\r\nlet rows = [];        // å½åç¼ºå¤±/å­å¨çè¡\r\nlet jobsBy = {};      // basename -\u003e job\r\n"
          },
          {
            "col": 2,
            "line": 132,
            "ln": 4294,
            "s": "\nfunction buildPanel() {\r\n  if (panel) return panel;\r\n  panel = document.createElement(\"div\");\r\n  panel.id = \"mirror-fetch-panel\";\r\n  panel.style.cssText = [\r\n    \"position:fixed\", \"right:16px\", \"top:80px\", \"width:440px\", \"max-height:74vh\",\r\n    \"z-index:99998\", \"display:none\", \"flex-direction:column\",\r\n    \"background:#16161f\", \"border:1px solid #2e2e42\", \"border-radius:12px\",\r\n    \"box-shadow:0 10px"
          },
          {
            "col": 37,
            "line": 142,
            "ln": 4775,
            "s": "oft YaHei',sans-serif\", \"overflow:hidden\",\r\n  ].join(\";\");\r\n\r\n  panel.innerHTML =\r\n    '\u003cdiv style=\"padding:11px 14px;border-bottom:1px solid #2e2e42;display:flex;align-items:center;gap:8px\"\u003e' +\r\n      '\u003cb style=\"flex:1\"\u003eéåè¡¥ç¼º\u003c/b\u003e' +\r\n      '\u003cspan id=\"mf-mirror\" style=\"font-size:11px;col"
          },
          {
            "col": 130,
            "line": 155,
            "ln": 5841,
            "s": "r;font-weight:600\"\u003eå¨é¨æå\u003c/button\u003e' +\r\n    '\u003c/div\u003e';\r\n\r\n  document.body.appendChild(panel);\r\n  panel.querySelector(\"#mf-close\").onclick = () =\u003e (panel.style.display = \"none\");\r\n  panel.querySelector(\"#mf-scan\").onclick = () =\u003e scan();\r\n  panel.querySelector(\"#mf-all\").onclick = () =\u003e withBatchFeedbac"
          },
          {
            "col": 78,
            "line": 162,
            "ln": 6290,
            "s": ".querySelector(\"#mf-pauseall\"), \"æåä¸­â¦\", pauseAll);\r\n\r\n  fetch(API + \"/info\").then((r) =\u003e r.json()).then((d) =\u003e {\r\n    panel.querySelector(\"#mf-mirror\").textContent = d.mirror || \"\";\r\n  }).catch(() =\u003e {});\r\n\r\n  return panel;\r\n}\r\n\r\nfunction openPanel() {\r\n  const p = buildPanel();\r\n  const show = p.style.display !== \"flex\";\r\n  p.style.display = show ? \"flex\" : \"none\";\r\n  if (show) scan"
          },
          {
            "col": 43,
            "line": 192,
            "ln": 7232,
            "s": "n \"pending\";\r\n  return r.state === \"complete\" ? \"done\" : \"idle\";\r\n}\r\n\r\nlet lastCats = {};\r\n\r\n// å¨ééç»ï"
          },
          {
            "col": 21,
            "line": 202,
            "ln": 7498,
            "s": "\r\n\r\n  const withUrl = rows.filter((r) =\u003e r.url).length;\r\n  const missing = rows.filter((r) =\u003e r.state !== \"complete\");\r\n\r\n  let html =\r\n    '\u003cdiv styl"
          },
          {
            "col": 128,
            "line": 209,
            "ln": 7921,
            "s": "span\u003e\" +\r\n      '\u003cbutton id=\"mf-copy\" style=\"background:#2e2e42;border:0;color:#cfd8ff;border-radius"
          },
          {
            "col": 84,
            "line": 214,
            "ln": 8223,
            "s": "eHtml(statusMsg) + \"\u003c/div\u003e\";\r\n  }\r\n\r\n  if (!rows.length) {\r\n    body.innerHTML = html + '\u003cdiv style=\"color:#8a8aa0;padding:20px 0;text-align:center\"\u003eç¹å³ä¸ãéæ°æ«æãæ¥çç¼ºä»ä¹\u003c/div\u003e';\r\n    bindCopy();\r\n    return;\r\n  }\r\n  if (!missing.length) {\r\n    body.innerHTML = html + '\u003cdiv style=\"color:#3ecf8e;padding:20px 0;text-align:center\"\u003eâ å¨é¨å·²å­å¨ï¼ä¸ç¼ºä¸è¥¿\u003c/div\u003e';\r\n    bindCopy();\r\n    return;\r\n  }\r\n  if (!withUrl) {\r\n    html += '\u003cdiv style=\"color:#f0c060;padding:8px 0 12px;font-size:12px;line-height:1.6\"\u003eæ²¡å¨éåä¸æ¾å°è¿å ä¸ªæä»¶ï¼å¯è½æ¯ç§æä»åºæèåæ¥æ¹è¿åã\u003cbr\u003eç¹å³"
          },
          {
            "col": 85,
            "line": 243,
            "ln": 9496,
            "s": "¨\u003c/span\u003e';\r\n    } else if (cat === \"downloading\" || cat === \"queued\") {\r\n      right = '\u003cdiv style=\"display:flex;gap:4px;flex-shrink"
          },
          {
            "col": 146,
            "line": 245,
            "ln": 9714,
            "s": " \"\u003c/div\u003e\";\r\n    } else if (cat === \"pending\") {\r\n      right = '\u003cdiv style=\"display:flex;gap:4px;flex-shrink"
          },
          {
            "col": 107,
            "line": 247,
            "ln": 9869,
            "s": " \"\u003c/div\u003e\";\r\n    } else if (cat === \"paused\") {\r\n      color = \"#f0c060\";\r\n      right = '\u003cdiv style=\"displa"
          },
          {
            "col": 63,
            "line": 274,
            "ln": 11486,
            "s": "t-size:11px;color:#7a7a92\"\u003e\u003c/div\u003e' +\r\n      \"\u003c/div\u003e\";\r\n  }\r\n\r\n  body.innerHTML = html;\r\n  bindCopy();\r\n\r\n  body.querySelectorAll(\"button.mf-dl\").forEach((b) =\u003e {\r\n    b.onclick = () =\u003e {\r\n      const r = missing.find((x) =\u003e x.name === b.dataset.n);\r\n      if (r) startDownload(r);\r\n    };\r\n  });\r\n  body.querySelectorAll(\"button.mf-pause\").forEach((b) =\u003e {\r\n    b.onclick = "
          },
          {
            "col": 34,
            "line": 316,
            "ln": 12847,
            "s": "cat === \"queued\") {\r\n      barEl.style.width = pct.toFixed(1) + \"%\";\r\n      barEl.style.background = \"#4a7dff\""
          },
          {
            "col": 61,
            "line": 332,
            "ln": 13696,
            "s": " / \" + mb(job.total);\r\n    } else if (cat === \"error\") {\r\n      barEl.style.width = \"100%\";\r\n      barEl.style.background = \"#ff6b6b\";\r\n      numEl.style.color = \"#ff6b6b\";\r\n      numEl.textContent = \"å¤±è´¥ï¼\" + String(job.error || \"\").slice(0, 60);\r\n    } else if (cat === \"cancelled\") {\r\n      numEl.style.color = \"#8a"
          },
          {
            "col": 20,
            "line": 349,
            "ln": 14364,
            "s": "tent = r.state === \"partial\" ? \"å·²ä¸ \" + mb(r.have) : \"æªä¸è½½\";\r\n    }\r\n  }\r\n}\r\n\r\nconst cssEscape = (s) =\u003e String(s).replace(/[\"\\\\]/g, \"\\\\$\u0026\");\r\nfunction bindCopy() {\r\n  const btn = panel.querySelector(\"#mf-copy\");\r\n  if (!btn) return;\r\n  btn.onclick = async () =\u003e {\r\n    const txt = JSON.stringify(rows, null, 2);\r\n    try {\r\n      await navigator.clipboard.writeText(txt);\r\n      btn.textContent = \"å·²å¤å¶ï¼æ­£å¨æå¼åé¦é¡µâ¦\";\n      const title = encodeURIComponent(\"[æ æ³è§£æ] \" + rows.filter(r =\u003e !r.url).map(r =\u003e r.name).join(\", \").slice(0, 120));\n      const body = encodeURIComponent(\"è¯·æåªè´´æ¿éçè¯æ­ä¿¡æ¯ç²è´´å°è¿éï¼Ctrl+Vï¼ã\\n\\n---\\n\\n\");\n      window.open(\"https://github.com/AinJuZen/ComfyUI-ModelMirror/issues/new?title=\" + title + \"\u0026body=\" + body, \"_blank\");\r\n    } catch (e) {\r\n      btn.textContent = \"å¤å¶å¤±è´¥\";\r\n      console.log(txt);\r\n    }\r\n    setTimeout(() =\u003e (btn.textContent = \"å¤å¶å¹¶æ¥å\"), 1500);\r\n  };\r\n}\r\n\r\nconst escapeHtml = (s) =\u003e String(s).replace(/[\u003c\u003e\u0026\"]/g, (c) =\u003e\r\n"
          },
          {
            "col": 2,
            "line": 388,
            "ln": 15809,
            "s": "   rows = [];\r\n    statusMsg = \"å½åå·¥ä½æµæ²¡æ£æµå°æ¨¡åå¼ç¨\";\r\n    scanning = false;\r\n    renderRows();\r\n    return;\r\n  }\r\n\r\n  let res;\r\n  try {\r\n    res = await fetch(API + \"/check\", {\r\n      method: \"POST\",\r\n      headers: { \"Content-Type\": \"application/json\" },\r\n      body: JSON.stringify({ items: refs }),\r\n    }).then((r) =\u003e r.json());\r\n  } catch (e) {\r\n    statusMsg = \"æ£æ¥å¤±è´¥ï¼\" + e.message;\r\n    scanning = false;\r\n    renderRows();\r\n    return;\r\n  }\r\n\r"
          },
          {
            "col": 40,
            "line": 410,
            "ln": 16372,
            "s": " === it.name);\r\n    return { ...it, url: src?.url || \"\", size: 0, repo: \"\" };\r\n  });\r\n\r\n  const need = rows.filter((r) =\u003e r.state !== \"complete\" \u0026\u0026 !r.url).map((r) =\u003e r.name);\r\n  if (need.length) {\r\n    statusMsg = \"æ­£å¨éåä¸æ¥æ¾ä¸è½½å°åâ¦ï¼é¦æ¬¡çº¦ 10 ç§ï¼ä¹åæç¼å­ï¼\";\r\n    renderRows();\r\n    try {\r\n      const rv = await fetch(API + \"/resolve\", {\r\n        method: \"POST\",\r\n        headers: { \"Content-Type\": \"application/json\" },\r\n        body: JSON.stringify({ names: need }),\r\n      }).then((r) =\u003e r.json());\r\n      const found = rv.found || {};\r\n      for (const r of rows) {\r\n        const f = found[r.name];\r\n        if (f) {\r\n   "
          },
          {
            "col": 59,
            "line": 434,
            "ln": 17273,
            "s": "¦åä¼æå·²æçæä»¶æ¥æç¼ºå¤±\r\n      const res2 = await fetch(API + \"/check\", {\r\n        method: \"POST\",\r\n        headers: { \"Content-Type\": \"application/json\" },\r\n        body: JSON.stringify({ items: rows.map((r) =\u003e ({ name: r.name, directory: r.directory })) }),\r\n      }).then((r) =\u003e r.json());\r\n      for (const it of res2.items || []) {\r\n        const r = rows.find((x) =\u003e x.name === it.name);\r\n        if (r) { r.sta"
          },
          {
            "col": 17,
            "line": 455,
            "ln": 17946,
            "s": "seName(r.name));\r\n  renderRows();\r\n  try {\r\n    const d = await fetch(API + \"/download\", {\r\n      method: \"POST\",\r\n      headers: { \"Content-Type\": \"application/json\" },\r\n      body: JSON.stringify({ url: r.url, name: r.name, directory: r.directory }),\r\n    }).then((x) =\u003e x.json());\r\n    if (d.error) alert(\"æäº¤å¤±è´¥ï¼\" + d.error);\r\n    else statusMsg = \"\";\r\n  } catch (e) {\r\n    alert(\"æäº¤å¤±è´¥ï¼\" + e.message);\r\n  }\r\n  pollJobs();\r\n}\r\n\r\nasync function postJob(path, name, btn) {\r\n  try {\r\n    const r = await fetch(path, {\r\n      method: \"POST\",\r\n      headers: { \"Content-Type\": \"application/json\" },\r\n      body: JSON.stringify({ name: name }),\r\n    });\r\n    if (!r.ok) {\r\n      statusMsg =\r\n        \"æ¥å£ \" + path + \" è¿å HTTP \" + r.status +\r\n        \" ââ åç"
          },
          {
            "col": 54,
            "line": 516,
            "ln": 19956,
            "s": " === \"queued\");\r\n  });\r\n  const todo = missing.filter((r) =\u003e {\r\n    const j = jobFor(r.name);\r\n    r"
          },
          {
            "col": 16,
            "line": 538,
            "ln": 20738,
            "s": "tn.textContent;\r\n  batchBusy = true;\r\n  btn.disabled = true;\r\n  btn.textContent = label;\r\n  btn.style.opacity = \".6\";\r\n  try {\r\n    await fn();\r\n  } finally {\r\n    setTimeout(() =\u003e {\r\n      batchBusy = false;\r\n     "
          },
          {
            "col": 62,
            "line": 557,
            "ln": 21214,
            "s": "eued\");\r\n  });\r\n  if (!busy.length) return;\r\n  try {\r\n    await fetch(\"/mirror_fetch/pause\", {\r\n      method: \"POST\",\r\n      headers: { \"Content-Type\": \"application/json\" },\r\n      body: JSON.stringify({ all: true }),\r\n    });\r\n  } catch (e) {\r\n    log(\"å¨é¨æåå¤±è´¥\", e);\r\n  }\r\n  setTimeout(pollJobs, 400);\r\n}\r\n\r\n// --------------------"
          },
          {
            "col": 23,
            "line": 575,
            "ln": 21663,
            "s": "style.display !== \"flex\") return;\r\n  try {\r\n    const j = await fetch(API + \"/jobs\").then((r) =\u003e r.json());\r\n    const next = {};\r\n    for (const k of Object.keys(j)) {\r\n      const nm = baseName(j[k].name);\r\n      const cur = next[nm];\r\n      // ææ­£å¨è·çä¼åæ¾ç¤ºæ­£å¨è·ç\r\n      if (!cur || j[k].state === \"downloadi"
          },
          {
            "col": 9,
            "line": 585,
            "ln": 22091,
            "s": "\n    }\r\n    jobsBy = next;\r\n    for (const nm of Array.from(pending)) {\r\n      if (jobsBy[nm]) pending.delete(nm);\r\n    }\r\n  } catch (e) {\r\n    return;\r\n  }\r\n  // åªæ\"ç¶"
          },
          {
            "col": 18,
            "line": 601,
            "ln": 22585,
            "s": "nderRows();\r\n  else updateNumbers();\r\n  updateBatchBar();\r\n}\r\n\r\nsetInterval(pollJobs, 1000);\r\n\r\n// ---------------------------------------------------------------- å¥å£ï¼åªæ¾å³ä¾§åçé¢æ¿éï¼\r"
          },
          {
            "col": 5,
            "line": 629,
            "ln": 23576,
            "s": "lle herunterladen\", \"Tout tÃ©lÃ©charger\", \"Descargar todo\",\r\n  \"ãã¹ã¦ãã¦ã³ã­ã¼ã\", \"å¨é¨ä¸è¼\",\r\n];\r\n\r\nfunction injectInline() {\r\n  if (document.getElementById(\"mirror-fetch-inline\")) return true;\r\n  const btns = Array.from(document.querySelectorAll(\"button\"));\r\n\r\n  let anchor = btns.find((b) =\u003e ALL_DL_LABELS.includes(b.textContent.trim()));\r\n\r\n  // ååº 1ï¼æ¾\"ç¼ºå¤±æ¨¡å"
          },
          {
            "col": 44,
            "line": 644,
            "ln": 24299,
            "s": "| marker.parentElement;\r\n      const inner = scope ? Array.from(scope.querySelectorAll(\"button\")) : [];\r\n      anchor = inner[inner.length - 1] || null;\r\n    }\r\n  }\r\n\r\n  // ååº 2ï¼é½æ²¡æ¾å° â æä¸ä¸ªæµ®å"
          },
          {
            "col": 17,
            "line": 658,
            "ln": 24705,
            "s": "= \"éåè¡¥ç¼º\";\r\n  b.title = \"ç¼ºçæ¨¡åä»å½åéåä¸è½½ï¼æ­ç¹ç»­ä¼ ï¼\";\r\n  b.style.cssText = fakeStyleFrom(ancho"
          },
          {
            "col": 37,
            "line": 664,
            "ln": 25018,
            "s": "b, anchor.nextSibling);\r\n  log(\"å·²æå¥å°ç¼ºå¤±æ¨¡åé¢æ¿\");\r\n  return true;\r\n}\r\n\r\nfunction mountFloating() {\r\n  if (docu"
          },
          {
            "col": 11,
            "line": 686,
            "ln": 25707,
            "s": "s \u003e 240) clearInterval(timer);\r\n}, 500);\r\n\r\ntry {\r\n  const mo = new MutationObserver(() =\u003e injectInline());\r\n  mo.observe(document.body, { childList: true, subtree: true });\r\n} catch (e) {\r\n  log(\"MutationObserver ä¸å¯ç¨\", e);\r\n}\r\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "anonymous",
              280
            ],
            [
              "anonymous",
              339
            ],
            [
              "anonymous",
              493
            ],
            [
              "guessDir",
              1196
            ],
            [
              "deepFindModels",
              1623
            ],
            [
              "collectModelRefs",
              2590
            ],
            [
              "anonymous",
              2818
            ],
            [
              "buildPanel",
              4295
            ],
            [
              "anonymous",
              5985
            ],
            [
              "anonymous",
              6068
            ],
            [
              "anonymous",
              6126
            ],
            [
              "anonymous",
              6261
            ],
            [
              "anonymous",
              6380
            ],
            [
              "anonymous",
              6402
            ],
            [
              "anonymous",
              6492
            ],
            [
              "openPanel",
              6528
            ],
            [
              "jobFor",
              6772
            ],
            [
              "bar",
              6844
            ],
            [
              "catOf",
              7114
            ],
            [
              "renderRows",
              7381
            ],
            [
              "anonymous",
              7532
            ],
            [
              "anonymous",
              7585
            ],
            [
              "anonymous",
              9057
            ],
            [
              "anonymous",
              11639
            ],
            [
              "anonymous",
              11665
            ],
            [
              "anonymous",
              11703
            ],
            [
              "anonymous",
              11834
            ],
            [
              "anonymous",
              11860
            ],
            [
              "anonymous",
              11974
            ],
            [
              "anonymous",
              12000
            ],
            [
              "updateNumbers",
              12287
            ],
            [
              "anonymous",
              14469
            ],
            [
              "bindCopy",
              14514
            ],
            [
              "anonymous",
              14622
            ],
            [
              "r",
              14880
            ],
            [
              "r",
              14897
            ],
            [
              "anonymous",
              15286
            ],
            [
              "anonymous",
              15369
            ],
            [
              "anonymous",
              15405
            ],
            [
              "anonymous",
              15500
            ],
            [
              "scan",
              15626
            ],
            [
              "anonymous",
              16145
            ],
            [
              "anonymous",
              16322
            ],
            [
              "anonymous",
              16359
            ],
            [
              "anonymous",
              16487
            ],
            [
              "anonymous",
              16532
            ],
            [
              "anonymous",
              16893
            ],
            [
              "anonymous",
              17492
            ],
            [
              "anonymous",
              17562
            ],
            [
              "anonymous",
              17653
            ],
            [
              "startDownload",
              17895
            ],
            [
              "anonymous",
              18212
            ],
            [
              "postJob",
              18396
            ],
            [
              "downloadAll",
              19210
            ],
            [
              "anonymous",
              19269
            ],
            [
              "updateBatchBar",
              19580
            ],
            [
              "anonymous",
              19790
            ],
            [
              "anonymous",
              19862
            ],
            [
              "anonymous",
              20010
            ],
            [
              "withBatchFeedback",
              20671
            ],
            [
              "anonymous",
              20913
            ],
            [
              "pauseAll",
              21056
            ],
            [
              "anonymous",
              21112
            ],
            [
              "pollJobs",
              21612
            ],
            [
              "anonymous",
              21753
            ],
            [
              "fakeStyleFrom",
              23007
            ],
            [
              "injectInline",
              23693
            ],
            [
              "anonymous",
              23880
            ],
            [
              "anonymous",
              24124
            ],
            [
              "anonymous",
              24855
            ],
            [
              "anonymous",
              24915
            ],
            [
              "mountFloating",
              25106
            ],
            [
              "anonymous",
              25657
            ],
            [
              "anonymous",
              25792
            ]
          ],
          "imp": [
            [
              "",
              "console.log"
            ],
            [
              "",
              "String.split.pop"
            ],
            [
              "",
              "String.split"
            ],
            [
              "",
              "String"
            ],
            [
              "",
              "String.toLowerCase"
            ],
            [
              "",
              "String"
            ],
            [
              "",
              "n.includes"
            ],
            [
              "",
              "n.includes"
            ],
            [
              "",
              "n.includes"
            ],
            [
              "",
              "n.includes"
            ],
            [
              "",
              "n.includes"
            ],
            [
              "",
              "n.includes"
            ],
            [
              "",
              "visited.has"
            ],
            [
              "",
              "visited.add"
            ],
            [
              "",
              "Array.isArray"
            ],
            [
              "",
              "deepFindModels"
            ],
            [
              "",
              "MODEL_RE.test"
            ],
            [
              "",
              "seen.has"
            ],
            [
              "",
              "seen.add"
            ],
            [
              "",
              "out.push"
            ],
            [
              "",
              "guessDir"
            ],
            [
              "",
              "Object.keys"
            ],
            [
              "",
              "deepFindModels"
            ],
            [
              "",
              "Set"
            ],
            [
              "",
              "Set"
            ],
            [
              "",
              "roots.push"
            ],
            [
              "",
              "push"
            ],
            [
              "",
              "graph.serialize"
            ],
            [
              "",
              "push"
            ],
            [
              "",
              "push"
            ],
            [
              "",
              "push"
            ],
            [
              "",
              "push"
            ],
            [
              "",
              "push"
            ],
            [
              "",
              "deepFindModels"
            ],
            [
              "",
              "MODEL_RE.test"
            ],
            [
              "",
              "seen.has"
            ],
            [
              "",
              "seen.add"
            ],
            [
              "",
              "out.push"
            ],
            [
              "",
              "guessDir"
            ],
            [
              "",
              "Set"
            ],
            [
              "",
              "document.createElement"
            ],
            [
              "",
              "document.body.appendChild"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "scan"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "withBatchFeedback"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "withBatchFeedback"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "fetch.then.then.catch"
            ],
            [
              "",
              "fetch.then.then"
            ],
            [
              "",
              "fetch.then"
            ],
            [
              "",
              "fetch"
            ],
            [
              "",
              "r.json"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "buildPanel"
            ],
            [
              "",
              "scan"
            ],
            [
              "",
              "baseName"
            ],
            [
              "",
              "Math.max"
            ],
            [
              "",
              "Math.min"
            ],
            [
              "",
              "jobFor"
            ],
            [
              "",
              "pending.has"
            ],
            [
              "",
              "baseName"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "rows.filter"
            ],
            [
              "",
              "rows.filter"
            ],
            [
              "",
              "escapeHtml"
            ],
            [
              "",
              "bindCopy"
            ],
            [
              "",
              "bindCopy"
            ],
            [
              "",
              "catOf"
            ],
            [
              "",
              "jobFor"
            ],
            [
              "",
              "escapeAttr"
            ],
            [
              "",
              "btn"
            ],
            [
              "",
              "btn"
            ],
            [
              "",
              "btn"
            ],
            [
              "",
              "btn"
            ],
            [
              "",
              "btn"
            ],
            [
              "",
              "btn"
            ],
            [
              "",
              "btn"
            ],
            [
              "",
              "btn"
            ],
            [
              "",
              "escapeAttr"
            ],
            [
              "",
              "escapeHtml"
            ],
            [
              "",
              "escapeHtml"
            ],
            [
              "",
              "mb"
            ],
            [
              "",
              "escapeHtml"
            ],
            [
              "",
              "escapeAttr"
            ],
            [
              "",
              "escapeAttr"
            ],
            [
              "",
              "bindCopy"
            ],
            [
              "",
              "body.querySelectorAll.forEach"
            ],
            [
              "",
              "body.querySelectorAll"
            ],
            [
              "",
              "missing.find"
            ],
            [
              "",
              "startDownload"
            ],
            [
              "",
              "body.querySelectorAll.forEach"
            ],
            [
              "",
              "body.querySelectorAll"
            ],
            [
              "",
              "postJob"
            ],
            [
              "",
              "body.querySelectorAll.forEach"
            ],
            [
              "",
              "body.querySelectorAll"
            ],
            [
              "",
              "postJob"
            ],
            [
              "",
              "updateBatchBar"
            ],
            [
              "",
              "catOf"
            ],
            [
              "",
              "updateNumbers"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "jobFor"
            ],
            [
              "",
              "catOf"
            ],
            [
              "",
              "body.querySelector"
            ],
            [
              "",
              "cssEscape"
            ],
            [
              "",
              "body.querySelector"
            ],
            [
              "",
              "cssEscape"
            ],
            [
              "",
              "pct.toFixed"
            ],
            [
              "",
              "Math.round"
            ],
            [
              "",
              "pct.toFixed"
            ],
            [
              "",
              "mb"
            ],
            [
              "",
              "mb"
            ],
            [
              "",
              "pct.toFixed"
            ],
            [
              "",
              "mb"
            ],
            [
              "",
              "mb"
            ],
            [
              "",
              "String.slice"
            ],
            [
              "",
              "String"
            ],
            [
              "",
              "mb"
            ],
            [
              "",
              "String.replace"
            ],
            [
              "",
              "String"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "navigator.clipboard.writeText"
            ],
            [
              "",
              "encodeURIComponent"
            ],
            [
              "",
              "rows.filter.map.join.slice"
            ],
            [
              "",
              "rows.filter.map.join"
            ],
            [
              "",
              "rows.filter.map"
            ],
            [
              "",
              "rows.filter"
            ],
            [
              "",
              "encodeURIComponent"
            ],
            [
              "",
              "window.open"
            ],
            [
              "",
              "console.log"
            ],
            [
              "",
              "setTimeout"
            ],
            [
              "",
              "String.replace"
            ],
            [
              "",
              "String"
            ],
            [
              "",
              "escapeHtml.replace"
            ],
            [
              "",
              "escapeHtml"
            ],
            [
              "",
              "renderRows"
            ],
            [
              "",
              "collectModelRefs"
            ],
            [
              "",
              "renderRows"
            ],
            [
              "",
              "fetch.then"
            ],
            [
              "",
              "fetch"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "r.json"
            ],
            [
              "",
              "renderRows"
            ],
            [
              "",
              "refs.find"
            ],
            [
              "",
              "rows.filter.map"
            ],
            [
              "",
              "rows.filter"
            ],
            [
              "",
              "renderRows"
            ],
            [
              "",
              "fetch.then"
            ],
            [
              "",
              "fetch"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "r.json"
            ],
            [
              "",
              "fetch.then"
            ],
            [
              "",
              "fetch"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "rows.map"
            ],
            [
              "",
              "r.json"
            ],
            [
              "",
              "rows.find"
            ],
            [
              "",
              "log"
            ],
            [
              "",
              "renderRows"
            ],
            [
              "",
              "pending.add"
            ],
            [
              "",
              "baseName"
            ],
            [
              "",
              "renderRows"
            ],
            [
              "",
              "fetch.then"
            ],
            [
              "",
              "fetch"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "x.json"
            ],
            [
              "",
              "alert"
            ],
            [
              "",
              "alert"
            ],
            [
              "",
              "pollJobs"
            ],
            [
              "",
              "fetch"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "renderRows"
            ],
            [
              "",
              "renderRows"
            ],
            [
              "",
              "setTimeout"
            ],
            [
              "",
              "rows.filter"
            ],
            [
              "",
              "jobFor"
            ],
            [
              "",
              "startDownload"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "panel.querySelector"
            ],
            [
              "",
              "rows.filter"
            ],
            [
              "",
              "missing.filter"
            ],
            [
              "",
              "jobFor"
            ],
            [
              "",
              "missing.filter"
            ],
            [
              "",
              "jobFor"
            ],
            [
              "",
              "fn"
            ],
            [
              "",
              "setTimeout"
            ],
            [
              "",
              "updateBatchBar"
            ],
            [
              "",
              "rows.filter"
            ],
            [
              "",
              "jobFor"
            ],
            [
              "",
              "fetch"
            ],
            [
              "",
              "JSON.stringify"
            ],
            [
              "",
              "log"
            ],
            [
              "",
              "setTimeout"
            ],
            [
              "",
              "fetch.then"
            ],
            [
              "",
              "fetch"
            ],
            [
              "",
              "r.json"
            ],
            [
              "",
              "Object.keys"
            ],
            [
              "",
              "baseName"
            ],
            [
              "",
              "Array.from"
            ],
            [
              "",
              "pending.delete"
            ],
            [
              "",
              "catOf"
            ],
            [
              "",
              "renderRows"
            ],
            [
              "",
              "updateNumbers"
            ],
            [
              "",
              "updateBatchBar"
            ],
            [
              "",
              "setInterval"
            ],
            [
              "",
              "getComputedStyle"
            ],
            [
              "",
              "document.getElementById"
            ],
            [
              "",
              "Array.from"
            ],
            [
              "",
              "document.querySelectorAll"
            ],
            [
              "",
              "btns.find"
            ],
            [
              "",
              "ALL_DL_LABELS.includes"
            ],
            [
              "",
              "b.textContent.trim"
            ],
            [
              "",
              "Array.from.find"
            ],
            [
              "",
              "Array.from"
            ],
            [
              "",
              "document.querySelectorAll"
            ],
            [
              "",
              "marker.closest"
            ],
            [
              "",
              "Array.from"
            ],
            [
              "",
              "scope.querySelectorAll"
            ],
            [
              "",
              "mountFloating"
            ],
            [
              "",
              "document.createElement"
            ],
            [
              "",
              "fakeStyleFrom"
            ],
            [
              "",
              "anchor.parentElement.insertBefore"
            ],
            [
              "",
              "log"
            ],
            [
              "",
              "document.getElementById"
            ],
            [
              "",
              "document.createElement"
            ],
            [
              "",
              "document.body.appendChild"
            ],
            [
              "",
              "setInterval"
            ],
            [
              "",
              "injectInline"
            ],
            [
              "",
              "clearInterval"
            ],
            [
              "",
              "MutationObserver"
            ],
            [
              "",
              "injectInline"
            ],
            [
              "",
              "mo.observe"
            ],
            [
              "",
              "log"
            ]
          ],
          "mbr": [
            "ALL_DL_LABELS.includes",
            "Array.from",
            "Array.from.find",
            "Array.isArray",
            "JSON.stringify",
            "MODEL_RE.test",
            "Math.max",
            "Math.min",
            "Math.round",
            "Object.keys",
            "String.replace",
            "String.slice",
            "String.split",
            "String.split.pop",
            "String.toLowerCase",
            "all.disabled",
            "all.style",
            "all.style.cursor",
            "all.style.opacity",
            "all.textContent",
            "anchor.nextSibling",
            "anchor.parentElement",
            "anchor.parentElement.insertBefore",
            "app.graph",
            "app.workflowManager",
            "app.workflowManager.activeWorkflow",
            "app.workflowManager.activeWorkflow.activeState",
            "b.dataset",
            "b.dataset.n",
            "b.id",
            "b.onclick",
            "b.onmouseenter",
            "b.onmouseleave",
            "b.style",
            "b.style.background",
            "b.style.cssText",
            "b.textContent",
            "b.textContent.trim",
            "b.title",
            "barEl.style",
            "barEl.style.background",
            "barEl.style.width",
            "body.innerHTML",
            "body.querySelector",
            "body.querySelectorAll",
            "body.querySelectorAll.forEach",
            "btn.disabled",
            "btn.onclick",
            "btn.style",
            "btn.style.opacity",
            "btn.textContent",
            "btns.find",
            "busy.length",
            "console.log",
            "cs.borderRadius",
            "cs.font",
            "cur.job",
            "cur.state",
            "d.error",
            "d.mirror",
            "document.body",
            "document.body.appendChild",
            "document.createElement",
            "document.getElementById",
            "document.querySelectorAll",
            "e.message",
            "el.children",
            "el.children.length",
            "el.textContent",
            "escapeHtml.replace",
            "f.directory",
            "f.repo",
            "f.size",
            "f.url",
            "fetch.then",
            "fetch.then.then",
            "fetch.then.then.catch",
            "graph._nodes",
            "graph.serialize",
            "inner.length",
            "it.have",
            "it.name",
            "it.path",
            "it.state",
            "j.state",
            "job.done",
            "job.error",
            "job.eta",
            "job.resumed",
            "job.speed",
            "job.total",
            "marker.closest",
            "marker.parentElement",
            "missing.filter",
            "missing.find",
            "missing.length",
            "mo.observe",
            "n.constructor",
            "n.constructor.nodeData",
            "n.includes",
            "n.widgets",
            "navigator.clipboard",
            "navigator.clipboard.writeText",
            "need.length",
            "numEl.style",
            "numEl.style.color",
            "numEl.textContent",
            "out.push",
            "p.style",
            "p.style.display",
            "pa.disabled",
            "pa.style",
            "pa.style.cursor",
            "pa.style.opacity",
            "pa.textContent",
            "panel.id",
            "panel.innerHTML",
            "panel.querySelector",
            "panel.querySelector.onclick",
            "panel.querySelector.textContent",
            "panel.style",
            "panel.style.cssText",
            "panel.style.display",
            "pct.toFixed",
            "pending.add",
            "pending.delete",
            "pending.has",
            "r.dirKnown",
            "r.directory",
            "r.have",
            "r.json",
            "r.name",
            "r.ok",
            "r.path",
            "r.repo",
            "r.size",
            "r.state",
            "r.status",
            "r.url",
            "refs.find",
            "refs.length",
            "res.items",
            "res2.items",
            "root.directory",
            "root.name",
            "root.url",
            "roots.push",
            "rows.filter",
            "rows.filter.length",
            "rows.filter.map",
            "rows.filter.map.join",
            "rows.filter.map.join.slice",
            "rows.find",
            "rows.length",
            "rows.map",
            "rv.found",
            "scope.querySelectorAll",
            "seen.add",
            "seen.has",
            "src.url",
            "todo.length",
            "visited.add",
            "visited.has",
            "w.name",
            "w.value",
            "window.app",
            "window.open",
            "x.json",
            "x.name"
          ],
          "metrics": {
            "ast": {
              "call_count": 243,
              "max_array_length": 15,
              "max_concat_chain": 29,
              "max_depth": 38,
              "max_member_depth": 5,
              "member_count": 169,
              "node_count": 8421,
              "op.add": 140,
              "op.div": 4,
              "op.eq": 39,
              "op.ge": 1,
              "op.gt": 3,
              "op.land": 15,
              "op.lnot": 36,
              "op.lor": 38,
              "op.mul": 1,
              "op.ne": 9,
              "op.sub": 1,
              "op_density.add": 0.02,
              "op_density.div": 0,
              "op_density.eq": 0,
              "op_density.ge": 0,
              "op_density.gt": 0,
              "op_density.land": 0,
              "op_density.lnot": 0,
              "op_density.lor": 0,
              "op_density.mul": 0,
              "op_density.ne": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 7168,
              "peak_region_entropy": 6.1
            },
            "binds": {
              "count": 210
            },
            "comments": {
              "chars": 1941,
              "count": 28,
              "high_entropy": 17,
              "lines": 28,
              "to_code_ratio": 0.04
            },
            "file": {
              "entropy": 5.68,
              "size": 25941
            },
            "functions": {
              "anonymous": 52,
              "avg_length_lines": 9.24,
              "avg_name_length": 10.09,
              "avg_nesting_depth": 0.72,
              "avg_param_name_length": 2.02,
              "avg_params": 0.74,
              "code_ratio": 0.85,
              "count": 22,
              "density": 10.66,
              "high_entropy_names": 1,
              "length_stddev": 17.02,
              "max_length_lines": 100,
              "max_nesting_depth": 3,
              "max_params": 5,
              "min_length_lines": 1,
              "nested": 19,
              "no_params_count": 30,
              "one_liners": 36,
              "single_char_params": 34
            },
            "identifiers": {
              "all_lowercase_ratio": 0.69,
              "all_uppercase_ratio": 0.03,
              "avg_entropy": 2.18,
              "avg_length": 6.51,
              "count": 1338,
              "has_digit_ratio": 0.02,
              "high_entropy_count": 3,
              "high_entropy_ratio": 0.01,
              "length_stddev": 3.9,
              "max_length": 18,
              "min_length": 1,
              "numeric_suffix_count": 4,
              "reuse_ratio": 0.18,
              "sequential_names": 16,
              "single_char_count": 16,
              "single_char_ratio": 0.07,
              "underscore_prefix_count": 1,
              "unique": 240
            },
            "source": {
              "function_count": 22
            },
            "strings": {
              "avg_entropy": 2.86,
              "avg_length": 17.11,
              "bytes": 6434,
              "count": 376,
              "empty_count": 20,
              "entropy_stddev": 1.13,
              "high_entropy_count": 12,
              "max_length": 255,
              "path_count": 10,
              "url_count": 1
            },
            "text": {
              "anonymous_function_ratio": 0.7,
              "ascii_art_lines": 6,
              "avg_line_length": 35.38,
              "char_entropy": 5.68,
              "digit_ratio": 0.04,
              "empty_line_ratio": 0.11,
              "identifier_density": 1.93,
              "identifiers_to_functions_ratio": 3.24,
              "last_line_length": 1,
              "line_length_stddev": 33.68,
              "lines": 694,
              "lines_over_200": 1,
              "long_token_count": 2,
              "max_line_length": 270,
              "max_whitespace_run": 8,
              "non_ascii_ratio": 0.1,
              "normalized_function_count": 2.81,
              "normalized_string_count": 14.27,
              "normalized_unique_identifiers": 25.43,
              "repeated_char_sequences": 26,
              "space_count": 4127,
              "string_density": 0.54,
              "strings_to_functions_ratio": 5.08,
              "suspicious_comment_ratio": 0.61,
              "suspicious_identifier_ratio": 0.07,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.05,
              "unique_chars": 166,
              "whitespace_ratio": 0.21
            }
          },
          "tgt": [
            "ALL_DL_LABELS.includes",
            "Array.from",
            "Array.from.find",
            "Array.isArray",
            "JSON.stringify",
            "MODEL_RE.test",
            "Math.max",
            "Math.min",
            "Math.round",
            "MutationObserver",
            "Object.keys",
            "Set",
            "String",
            "String.replace",
            "String.slice",
            "String.split",
            "String.split.pop",
            "String.toLowerCase",
            "alert",
            "anchor.parentElement.insertBefore",
            "b.textContent.trim",
            "baseName",
            "bindCopy",
            "body.querySelector",
            "body.querySelectorAll",
            "body.querySelectorAll.forEach",
            "btn",
            "btns.find",
            "buildPanel",
            "catOf",
            "clearInterval",
            "collectModelRefs",
            "console.log",
            "cssEscape",
            "deepFindModels",
            "document.body.appendChild",
            "document.createElement",
            "document.getElementById",
            "document.querySelectorAll",
            "encodeURIComponent",
            "escapeAttr",
            "escapeHtml",
            "escapeHtml.replace",
            "fakeStyleFrom",
            "fetch",
            "fetch.then",
            "fetch.then.then",
            "fetch.then.then.catch",
            "fn",
            "getComputedStyle",
            "graph.serialize",
            "guessDir",
            "injectInline",
            "jobFor",
            "log",
            "marker.closest",
            "mb",
            "missing.filter",
            "missing.find",
            "mo.observe",
            "mountFloating",
            "n.includes",
            "navigator.clipboard.writeText",
            "out.push",
            "panel.querySelector",
            "pct.toFixed",
            "pending.add",
            "pending.delete",
            "pending.has",
            "pollJobs",
            "postJob",
            "push",
            "r.json",
            "refs.find",
            "renderRows",
            "roots.push",
            "rows.filter",
            "rows.filter.map",
            "rows.filter.map.join",
            "rows.filter.map.join.slice",
            "rows.find",
            "rows.map",
            "scan",
            "scope.querySelectorAll",
            "seen.add",
            "seen.has",
            "setInterval",
            "setTimeout",
            "startDownload",
            "updateBatchBar",
            "updateNumbers",
            "visited.add",
            "visited.has",
            "window.open",
            "withBatchFeedback",
            "x.json"
          ]
        },
        "id": 4,
        "mol": "H₅(Cm₁₀Db₇Os₃TiU₆)Md(Pt)",
        "path": "comfyui-modelmirror-0.1.2.zip!!js/panel.js",
        "pid": 0,
        "risk": 11,
        "sha": "24b7d51f9f22ae1e5cec7fade0b34424300e49626c9502a3c7284a4a1265243d",
        "sid": 6659458785,
        "size": 25941,
        "supp": [
          {
            "by": [
              {
                "id": "tree-sitter",
                "spans": [
                  [
                    290,
                    35
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/lang/source/shape::javascript-literal-tables-pure-helpers",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Contains Hiragana or Katakana script",
            "id": "metadata/lang/natural/script::lang-japanese",
            "spans": [
              [
                23640,
                9
              ],
              [
                23649,
                12
              ]
            ]
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "References the application/json media type",
            "id": "micro-behaviors/communications/http/header/content-type::application-json",
            "spans": [
              [
                16065,
                16
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References HTTP Content-Type application/json",
            "id": "micro-behaviors/communications/http/header/content-type::json-header",
            "spans": [
              [
                16049,
                32
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "fetch POST directly serializes JSON body",
            "id": "micro-behaviors/communications/http/post::fetch-direct-json-post-body",
            "spans": [
              [
                15983,
                103
              ],
              [
                16014,
                6
              ],
              [
                16022,
                6
              ],
              [
                16093,
                4
              ],
              [
                16099,
                4
              ],
              [
                16104,
                9
              ],
              [
                16721,
                103
              ],
              [
                17337,
                103
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "fetch POST sends a JSON.stringify body",
            "id": "micro-behaviors/communications/http/post::fetch-flow-json-post-body",
            "mbc": "C0002",
            "spans": [
              [
                15983,
                5
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Calls fetch with a POST method option",
            "id": "micro-behaviors/communications/http/post::fetch-post-call",
            "mbc": "C0002",
            "spans": [
              [
                15983,
                103
              ],
              [
                16014,
                6
              ],
              [
                16022,
                6
              ],
              [
                16721,
                103
              ],
              [
                17337,
                103
              ],
              [
                18010,
                103
              ],
              [
                18468,
                103
              ],
              [
                21278,
                103
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "fetch POST sends a JSON.stringify body",
            "id": "micro-behaviors/communications/http/post::json-body-post",
            "spans": [
              [
                15983,
                103
              ],
              [
                16014,
                6
              ],
              [
                16022,
                6
              ],
              [
                16093,
                4
              ],
              [
                16099,
                4
              ],
              [
                16104,
                9
              ],
              [
                16721,
                103
              ],
              [
                17337,
                103
              ]
            ],
            "uses": [
              3,
              4,
              5
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "HTTP POST method string literal",
            "id": "micro-behaviors/communications/http/post::post",
            "mbc": "C0002",
            "spans": [
              [
                16022,
                6
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Script request option specifies POST",
            "id": "micro-behaviors/communications/http/post::request-options-post-method",
            "mbc": "C0002",
            "spans": [
              [
                16014,
                14
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.9,
            "crit": 3,
            "desc": "JavaScript fetch call near an HTTP POST method",
            "id": "micro-behaviors/communications/http/request/client::fetch-post-pattern",
            "mbc": "C0002",
            "spans": [
              [
                15983,
                5
              ],
              [
                16014,
                6
              ],
              [
                16022,
                6
              ]
            ],
            "uses": [
              11,
              17
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.74,
            "crit": 3,
            "desc": "fetch() response JSON parse",
            "id": "micro-behaviors/communications/http/request/client::fetch-then-json",
            "mbc": "C0002",
            "spans": [
              [
                6354,
                40
              ],
              [
                21727,
                40
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.8,
            "crit": 3,
            "desc": "Calls JavaScript fetch API",
            "id": "micro-behaviors/communications/http/request/client::js-fetch-call",
            "mbc": "C0002",
            "spans": [
              [
                6354,
                5
              ]
            ]
          },
          {
            "conf": 0.91,
            "crit": 3,
            "desc": "Fetch call near JSON response parsing",
            "id": "micro-behaviors/communications/http/request/json::fetch-call-near-json-parse",
            "spans": [
              [
                6354,
                40
              ],
              [
                15983,
                176
              ],
              [
                16721,
                186
              ],
              [
                17337,
                239
              ],
              [
                18010,
                216
              ],
              [
                21727,
                40
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Fetch request uses JSON.stringify body",
            "id": "micro-behaviors/communications/http/request/json::fetch-json-stringify-body",
            "spans": [
              [
                15983,
                131
              ],
              [
                16721,
                139
              ],
              [
                17337,
                137
              ],
              [
                18010,
                134
              ],
              [
                18468,
                121
              ],
              [
                21278,
                138
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP POST request with JSON content",
            "id": "micro-behaviors/communications/http/request/json::http-post-json",
            "mbc": "C0002",
            "spans": [
              [
                16014,
                6
              ],
              [
                16022,
                6
              ],
              [
                16065,
                16
              ]
            ],
            "uses": [
              1,
              17
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.8,
            "crit": 3,
            "desc": "HTTP POST method field",
            "id": "micro-behaviors/communications/http/request/result::http-post-method",
            "mbc": "C0002",
            "spans": [
              [
                16014,
                14
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Method option selects POST, PUT or PATCH",
            "id": "micro-behaviors/communications/http/request/verb::mutating-method-option",
            "spans": [
              [
                16014,
                14
              ]
            ]
          },
          {
            "atk": "T1071.001",
            "conf": 0.94,
            "crit": 3,
            "desc": "Configures an HTTP POST request",
            "id": "micro-behaviors/communications/http/request/verb::post-method-text",
            "mbc": "C0002",
            "spans": [
              [
                16014,
                6
              ],
              [
                16022,
                6
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Contains a hardcoded remote HTTP(S) URL",
            "id": "micro-behaviors/communications/http/url/domain::js-remote-host-url",
            "spans": [
              [
                15073,
                18
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References a public code-forge URL",
            "id": "micro-behaviors/communications/http/url/forge::public-code-forge-url",
            "spans": [
              [
                15073,
                19
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "JavaScript fetches a relative application route",
            "id": "micro-behaviors/communications/http/url/path::js-relative-route-fetch",
            "spans": [
              [
                21278,
                5
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "HTTP URL string literal",
            "id": "micro-behaviors/communications/http/url/scheme::http-url-literal",
            "spans": [
              [
                15073,
                65
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "References nonlocal appendChild method",
            "id": "micro-behaviors/data/collection/dom::append-child-reference",
            "spans": [
              [
                5905,
                25
              ]
            ]
          },
          {
            "conf": 0.96,
            "crit": 3,
            "desc": "Creates DOM element",
            "id": "micro-behaviors/data/collection/dom::document-create-element",
            "spans": [
              [
                4358,
                22
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Assigns an identifier value to textContent",
            "id": "micro-behaviors/data/collection/dom::javascript-identifier-textcontent-assignment",
            "spans": [
              [
                20802,
                23
              ],
              [
                20806,
                11
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "Queries multiple DOM elements",
            "id": "micro-behaviors/data/collection/dom::query-selector-all-call",
            "spans": [
              [
                11593,
                21
              ],
              [
                23814,
                25
              ],
              [
                24363,
                22
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls appendChild without a local implementation",
            "id": "micro-behaviors/data/collection/dom::source-append-child-call",
            "spans": [
              [
                5905,
                25
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Empty arrow catch discards rejection",
            "id": "micro-behaviors/data/control-flow/error-handling::empty-arrow-catch-handler",
            "spans": [
              [
                6485,
                16
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "JavaScript silently discards caught errors",
            "id": "micro-behaviors/data/control-flow/error-handling::empty-catch-block",
            "spans": [
              [
                2950,
                2
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Text has empty named-parameter catch",
            "id": "micro-behaviors/data/control-flow/error-handling::empty-named-catch-text",
            "spans": [
              [
                2940,
                12
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "URL-encodes data via encodeURIComponent",
            "id": "micro-behaviors/data/encode/url::encode-uri-component-call",
            "spans": [
              [
                14829,
                18
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "References appendChild or setAttribute member",
            "id": "micro-behaviors/data/property/access::appendchild-or-setattribute-member",
            "spans": [
              [
                5905,
                25
              ]
            ]
          },
          {
            "conf": 0.96,
            "crit": 3,
            "desc": "Reads an element's dataset store property",
            "id": "micro-behaviors/data/property/access::dom-dataset-store-read",
            "spans": [
              [
                11722,
                10
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Serializes an object into a body field",
            "id": "micro-behaviors/data/serialize/json::json-object-body-field",
            "spans": [
              [
                16093,
                22
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Calls JSON.stringify()",
            "id": "micro-behaviors/data/serialize/json::json-stringify-call",
            "spans": [
              [
                14653,
                14
              ]
            ]
          },
          {
            "conf": 0.84,
            "crit": 3,
            "desc": "JSON.stringify beside a variable-valued field",
            "id": "micro-behaviors/data/serialize/json::json-stringify-variable-value",
            "spans": [
              [
                16099,
                30
              ],
              [
                16845,
                30
              ],
              [
                18574,
                29
              ],
              [
                21401,
                28
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "References a serialization-related symbol",
            "id": "micro-behaviors/data/serialize/object::js-serialise",
            "spans": [
              [
                2911,
                15
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "gname, gmail or repo object-key syntax",
            "id": "micro-behaviors/data/serialize/schema-object::repository-object-fields",
            "spans": [
              [
                16436,
                7
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "References a browser clipboard API",
            "id": "micro-behaviors/os/clipboard/reference::browser-clipboard-api-marker",
            "spans": [
              [
                14708,
                19
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "References a clipboard API member",
            "id": "micro-behaviors/os/clipboard/reference::clipboard-api-member-reference",
            "spans": [
              [
                14708,
                29
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Writes to the browser clipboard",
            "id": "micro-behaviors/os/clipboard/write::browser-clipboard-write",
            "spans": [
              [
                14708,
                30
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Logs a single identifier with console.log",
            "id": "micro-behaviors/os/console/io::js-console-log-identifier",
            "spans": [
              [
                15245,
                16
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Repeated interval timer",
            "id": "micro-behaviors/time/schedule/interval::interval-call-text",
            "spans": [
              [
                22649,
                12
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Schedules a repeated callback with setInterval()",
            "id": "micro-behaviors/time/schedule/interval::setInterval",
            "spans": [
              [
                22649,
                11
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 3,
            "desc": "Schedules a JavaScript callback with setTimeout",
            "id": "micro-behaviors/time/schedule/timeout::setTimeout",
            "spans": [
              [
                15275,
                10
              ]
            ]
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Calls browser modal alert dialog",
            "id": "micro-behaviors/ui/dialog/prompt::browser-window-alert-call",
            "spans": [
              [
                18231,
                24
              ],
              [
                18328,
                11
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Watches DOM changes with MutationObserver",
            "id": "micro-behaviors/ui/window/event::browser-mutation-observer",
            "spans": [
              [
                25771,
                16
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": ".observe(document.body) call",
            "id": "micro-behaviors/ui/window/event::document-body-observe-call",
            "spans": [
              [
                25821,
                21
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Writes HTML into the DOM with innerHTML",
            "id": "micro-behaviors/ui/window/insert-html::browser-innerhtml-assignment",
            "spans": [
              [
                4839,
                103
              ],
              [
                8287,
                131
              ],
              [
                8489,
                125
              ],
              [
                11550,
                21
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Opens browser window or tab",
            "id": "micro-behaviors/ui/window/navigation::browser-window-open",
            "spans": [
              [
                15060,
                11
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Opens window to external HTTP URL",
            "id": "micro-behaviors/ui/window/navigation::browser-window-open-external-url",
            "spans": [
              [
                15060,
                21
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Browser window.open text call",
            "id": "micro-behaviors/ui/window/navigation::browser-window-open-text-call",
            "spans": [
              [
                15060,
                12
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References display:none CSS text",
            "id": "micro-behaviors/ui/window/style::css-display-none",
            "spans": [
              [
                4558,
                12
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "CSS fixed-position declaration",
            "id": "micro-behaviors/ui/window/style::css-fixed-position",
            "spans": [
              [
                4458,
                14
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Sets an element style to full width",
            "id": "micro-behaviors/ui/window/style::element-viewport-width-assignment",
            "spans": [
              [
                13760,
                26
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Script hides an element via style.display",
            "id": "micro-behaviors/ui/window/visibility::display-none-style",
            "spans": [
              [
                5998,
                22
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "ctx": [
          {
            "ln": 233,
            "s": "{ text = \"MIT\" }\nreadme = \"README.md\"\nrequires-python = \"\u003e=3.9\"\ndependencies = []\n\n[project.urls]\nRepository = \"https://github.com/AinJuZen/ComfyUI-ModelMirror\"\nIssues = \"https://github.com/AinJuZen/ComfyUI-Mo"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 655,
              "peak_region_entropy": 5.92
            },
            "file": {
              "entropy": 5.92,
              "size": 655
            }
          }
        },
        "id": 5,
        "mol": "Md(Pa₂)",
        "path": "comfyui-modelmirror-0.1.2.zip!!pyproject.toml",
        "pid": 0,
        "risk": 2,
        "sha": "f32435e9788b64250b1302af937b232fabc39e4468b5a5e4face502154f5456c",
        "sid": 6659458786,
        "size": 655,
        "traits": [
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Declares Python project dependency list",
            "id": "metadata/package/dependencies/manifest/presence::python-project-dependency-list"
          },
          {
            "atk": "T1195.002",
            "conf": 0.7,
            "crit": 3,
            "desc": "pyproject.toml with empty dependencies",
            "id": "metadata/package/files/wheel-sdist::pyproject-empty-dependencies",
            "mbc": "F0004",
            "spans": [
              [
                297,
                17
              ]
            ]
          }
        ],
        "type": "pyproject.toml"
      }
    ],
    "v": 8
  }
}