{
    "name": "@gjsify/http-soup-bridge",
    "version": "0.23.0",
    "description": "Vala-based main-thread bridge for libsoup HTTP server. Marshals SoupServer + SoupServerMessage signals onto the GLib main context and keeps every libsoup boxed type (MessageBody, MessageHeaders, the message's GMainContext ref, the HTTP1 IO GSource) on the C side, so SpiderMonkey GC has no chance to race a libsoup-side cleanup. Used by @gjsify/http to keep MCP/SSE/long-poll workloads stable on GJS.",
    "type": "module",
    "main": "lib/esm/index.js",
    "module": "lib/esm/index.js",
    "types": "lib/types/index.d.ts",
    "exports": {
        ".": {
            "types": "./lib/types/index.d.ts",
            "default": "./lib/esm/index.js"
        }
    },
    "files": [
        "lib",
        "prebuilds",
        "meson.build",
        "src/vala"
    ],
    "gjsify": {
        "platforms": [
            "linux-x86_64",
            "linux-aarch64",
            "linux-ppc64",
            "linux-s390x",
            "linux-riscv64",
            "darwin-arm64"
        ],
        "prebuilds": "prebuilds",
        "runtimes": {
            "gjs": "polyfill",
            "node": "none",
            "browser": "none",
            "nativescript": "none"
        },
        "tier": 1
    },
    "scripts": {
        "clear": "rm -rf lib build tsconfig.tsbuildinfo tsconfig.types.tsbuildinfo || exit 0",
        "check": "gjsify tsc --noEmit",
        "init:meson": "meson setup build .",
        "init:meson:wipe": "gjsify run init:meson --wipe",
        "build": "gjsify run build:gjsify && gjsify run build:types",
        "build:gjsify": "gjsify build --library 'src/ts/**/*.{ts,js}'",
        "build:meson": "gjsify run init:meson && meson compile -C build",
        "build:types": "gjsify tsc",
        "build:gir-types": "ts-for-gir generate --externalDeps --allowMissingDeps --girDirectories=./prebuilds/linux-x86_64 --girDirectories=/usr/share/gir-1.0 --modules=GjsifyHttpSoupBridge-1.0 --outdir=src/ts --npmScope=@girs --package=false --ignoreVersionConflicts=true",
        "build:prebuilds": "gjsify run build:meson && node ../../../scripts/stage-prebuild.mjs ."
    },
    "keywords": [
        "gjs",
        "http",
        "server",
        "libsoup",
        "soup",
        "vala",
        "native",
        "sse",
        "long-poll"
    ],
    "dependencies": {
        "@girs/gio-2.0": "^4.1.0",
        "@girs/gjs": "^4.1.0",
        "@girs/glib-2.0": "^4.1.0",
        "@girs/gobject-2.0": "^4.1.0",
        "@girs/soup-3.0": "^4.1.0"
    },
    "devDependencies": {
        "@gjsify/cli": "^0.23.0",
        "@ts-for-gir/cli": "^4.1.0",
        "@types/node": "^25.9.2",
        "typescript": "^6.0.3"
    },
    "license": "MIT",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/gjsify/gjsify.git",
        "directory": "packages/node/http-soup-bridge"
    },
    "bugs": {
        "url": "https://github.com/gjsify/gjsify/issues"
    },
    "homepage": "https://github.com/gjsify/gjsify/tree/main/packages/node/http-soup-bridge#readme"
}
