{ "name": "@s-gw/s-gw", "version": "0.1.21", "mcpName": "io.github.sgateway/s-gw", "description": "Local credential control for AI coding agents.", "type": "module", "repository": { "type": "git", "url": "git+https://github.com/sgateway/s-gw.git" }, "homepage": "https://s-gw.com", "bugs": { "url": "https://github.com/sgateway/s-gw/issues" }, "publishConfig": { "access": "public" }, "bin": { "s-gw": "./dist/cli.js", "sgw": "./dist/cli.js", "s-gw-mcp": "./dist/mcp-server.js", "secret-gateway-mcp": "./dist/mcp-server.js" }, "files": [ "assets", "dist", "docs", "README.md", "LICENSE", "NOTICE", "TRADEMARKS.md", "server.json", ".codex-plugin", ".mcp.json", "skills", "!dist/assets/icons/s-gw-*.png", "!dist/assets/icons/AppIcon.icns", "!dist/installers", "!dist/native/s-gw-core", "!dist/native/s-gw-core.exe", "!dist/native/s-gw-keychain-helper", "!dist/native/sgw-keychain-helper", "!dist/**/*.map", "!docs/ui/local-console*.png", "!assets/icons/s-gw-source.png", "!assets/icons/s-gw-menu-bar-template-source.png", "!assets/icons/s-gw-1024.png", "!assets/icons/s-gw-512.png", "!assets/icons/s-gw-256.png" ], "scripts": { "build": "npm run build:native && npm run build:console-ui && tsc -p tsconfig.json", "build:console-ui": "vite build --config vite.console.config.ts", "dev:console-ui": "vite --config vite.console.config.ts", "build:native": "npm run build:rust-core && node scripts/build-native-keychain.mjs && node scripts/build-menu-bar-helper.mjs && node scripts/build-macos-app.mjs && node scripts/build-windows-client.mjs", "build:rust-core": "node scripts/build-rust-core.mjs", "build:macos-app": "node scripts/build-macos-app.mjs", "build:menubar": "node scripts/build-menu-bar-helper.mjs", "build:windows-client": "npm run build:rust-core && node scripts/build-windows-client.mjs", "build:desktop-app": "npm run build && node scripts/stage-desktop-runtime.mjs && node scripts/package-desktop-app.mjs", "build:installers": "npm run build && node scripts/build-installers.mjs && npm run validate:release-assets", "dev:macos-app": "scripts/dev-macos-app.sh", "check": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.console.json --noEmit", "check:desktop-app": "cargo fmt --manifest-path native/desktop-app/Cargo.toml -- --check && cargo check --manifest-path native/desktop-app/Cargo.toml --locked && cargo clippy --manifest-path native/desktop-app/Cargo.toml --locked -- -D warnings", "package:local": "npm run verify && npm pack", "package:dry-run": "npm pack --dry-run", "validate:npm-package": "node scripts/validate-npm-package.mjs", "validate:release-assets": "node scripts/validate-release-assets.mjs dist/installers", "audit:release": "node scripts/audit-dependencies.mjs", "check:rust": "node scripts/check-rust-core.mjs", "pretest": "npm run build:rust-core", "test": "vitest run", "test:desktop-app": "cargo test --manifest-path native/desktop-app/Cargo.toml --locked", "test:windows": "node scripts/run-windows-tests.mjs", "test:watch": "vitest", "verify": "npm run build && npm run check:rust && npm test && npm run audit:release && npm run package:dry-run", "prepublishOnly": "npm run validate:npm-package", "prepack": "npm run build" }, "keywords": [ "mcp", "mcp-server", "model-context-protocol", "secrets", "secrets-management", "credential-security", "agent-security", "local-first", "ai-agents", "codex", "claude", "cursor", "opencode" ], "author": "Barry Yuan", "license": "Apache-2.0", "dependencies": { "@fontsource-variable/geist": "^5.2.9", "@modelcontextprotocol/sdk": "^1.29.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1", "d3-sankey": "^0.12.3", "jsonc-parser": "^3.3.1", "lucide-react": "^1.23.0", "next-themes": "^0.4.6", "radix-ui": "^1.6.1", "react": "^19.2.7", "react-dom": "^19.2.7", "react-grid-layout": "^2.2.3", "react-resizable-panels": "^4.12.0", "recharts": "^3.8.0", "sonner": "^2.0.7", "tailwind-merge": "^3.6.0", "tw-animate-css": "^1.4.0", "zod": "^4.4.3" }, "devDependencies": { "@crabnebula/packager": "0.11.2", "@tailwindcss/vite": "^4.3.2", "@types/d3-sankey": "^0.12.5", "@types/node": "^24.0.0", "@types/react": "^19.2.17", "@types/react-dom": "^19.2.3", "@types/react-grid-layout": "^1.3.6", "@vitejs/plugin-react": "^6.0.3", "tailwindcss": "^4.3.2", "tsx": "^4.20.3", "typescript": "^5.8.3", "vite": "^8.1.2", "vitest": "^4.1.8", "ws": "^8.21.0" }, "engines": { "node": ">=20" } }