🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@sunaiva/gate

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sunaiva/gate - npm Package Compare versions

Comparing version
2.0.3
to
2.0.4
+40
-0
CHANGELOG.md

@@ -7,2 +7,42 @@ # Changelog

## [2.0.4] — 2026-07-19 — "QA Fix-Wave"
### Fixed
- **Rule count copy coherence** — all surfaces now report the canonical 35 local rules (27 constitutional + 8 recommended-default) / 69 premium / 104 total as enforced by `verify-bundle.js`. Previously some surfaces reported stale 31/100 figures from before the v2.0.0 Wave U5 hardening.
- **Dev tier entitlement truth** — `TIER_FEATURES.dev` was claiming "22 curated premium rules"; corrected to "35 local rules (pattern-based enforcement, free tier)" matching `TIER_PREMIUM_RULE_COUNT.dev = 0` and `getRulesForTier("dev")` returning `[]`.
- **Free-signup URL** — replaced dead `portal.sunaiva.ai` reference with live signup path `POST https://mcp.sunaivacore.io/v1/signup {"email":"..."}` + dashboard at `https://dashboard.sunaivacore.io`.
- **Bin name** — `llms.txt` corrected from non-existent `sunaiva-gate-pp-mcp` to the actual bin `sunaiva-gate`.
- **Tier name drift** — `SUPPORT.md` tier references updated from stale "Starter / Pro / Power" to current "Dev / Pro / Team / Enterprise".
- **gate-metadata.json audit trail** — `_verified`, `_verified_by`, `_breakdown`, `_notes`, and `_copy_approved` fields updated to reflect verify-bundle.js canonical counts (was "A8 gate-metadata sync" referencing 31 user-visible rules).
- **mcp.json version** — `.well-known/mcp.json` version bumped to match package version.
- **STATUS page** — `status.html` health badges now fetched live from `https://mcp.sunaivacore.io/v1/health` instead of hardcoded "Operational".
- **PyPI labels** — removed non-existent "· PyPI" labels for `sunaiva-memory` and `sunaiva-ship-confidence` from `index.html`.
- **ship-confidence layer count** — `sunaiva-ship-confidence/README.md` corrected from "5-layer" to "14-layer" to match the actual 14 files in `layers/`.
- **Pricing checkout buttons** — `gate-pricing.html` Pro and Team rows now wire `startCheckout()` with correct Stripe price IDs instead of dead `href="pricing.html"` links.
- **LICENSE Change Date** — updated to `2030-07-19` (4 years from this 2026-07-19 publish date).
---
## [2.0.3] — 2026-07-15 — "Tier Entitlement Patch"
### Fixed
- Premium entitlement dev-tier enforcement: `TIER_PREMIUM_RULE_COUNT.dev` locked to 0 (premium must be paid — Kinan directive 2026-07-15).
---
## [2.0.2] — 2026-07-11 — "Metadata Sync"
### Fixed
- `gate-metadata.json` version + free_rules + constitutional_rules + total fields synced to canonical values after Wave 1 U5 hardening.
---
## [2.0.1] — 2026-07-04 — "Post-Launch Maintenance"
### Fixed
- Minor documentation corrections post-2.0.0 launch.
- `PKG_VERSION` constant verified to match `package.json` version.
---
## [2.0.0] — 2026-06-28 — "Enforcement Release"

@@ -9,0 +49,0 @@

+1
-1

@@ -30,3 +30,3 @@ #!/usr/bin/env node

import { fileURLToPath } from "node:url";
const PKG_VERSION = "2.0.3";
const PKG_VERSION = "2.0.4";
const __dirname = path.dirname(fileURLToPath(import.meta.url));

@@ -33,0 +33,0 @@ const server = new Server({ name: "sunaiva-gate", version: PKG_VERSION }, { capabilities: { tools: {} } });

@@ -5,3 +5,3 @@ Business Source License 1.1

Licensed Work: @sunaiva/gate
Change Date: 2030-06-30 (4 years from the @sunaiva/gate@2.0.0 publication; finalized to the exact publish-date + 4 years at npm publish, per Rule 43 per-publish doctrine)
Change Date: 2030-07-19 (4 years from the @sunaiva/gate@2.0.4 publication date of 2026-07-19; per Rule 43 per-publish doctrine, this date is finalized at npm publish)
Change License: Apache License, Version 2.0

@@ -8,0 +8,0 @@

{
"name": "@sunaiva/gate",
"mcpName": "io.sunaivacore/gate",
"version": "2.0.3",
"version": "2.0.4",
"description": "Sunaiva Gate MCP \u2014 enforcement layer for AI agent rules. Stop documenting rules your agents ignore. Start enforcing them.",

@@ -6,0 +6,0 @@ "main": "dist/index.js",

@@ -14,4 +14,3 @@ # @sunaiva/gate

> **Status**: `2.0.0` "Freemium Monetization" — strip-patterns constitutional fix +
> per-session upsell trigger. Full changelog: [`CHANGELOG.md`](./CHANGELOG.md).
> **Status**: `2.0.4` "QA Coherence" — copy/count/URL coherence fixes. Full changelog: [`CHANGELOG.md`](./CHANGELOG.md).

@@ -32,3 +31,3 @@ ---

# → Status: HEALTHY
# → Version: 2.0.0
# → Version: 2.0.4

@@ -88,4 +87,4 @@ # 3. Add to your MCP client (Claude Code, Cursor, Windsurf, Cline)

| Dev | $0/mo (account) | 35 local rules | — | 1 | — | Email (2 business days) |
| Pro | $29/mo † | 69 premium rules | 5 | Multiple | ✓ | Priority (1 business day) |
| Team | $79/mo | 69 premium rules | Larger team | Larger team | ✓ | Priority email (same day) |
| Pro | $29/mo † | 69 premium rules | 5 | Multiple | ✓ | Email support (48h SLA) |
| Team | $79/mo | 69 premium rules | Larger team | Larger team | ✓ | Priority support (24h SLA) |
| Enterprise | Custom | Custom rule sets | Unlimited | Unlimited | ✓ + SSO | Dedicated + MSA SLA |

@@ -103,3 +102,3 @@

**Dev (free account)** (sign up at [portal.sunaiva.ai](https://portal.sunaiva.ai)):
**Dev (free account)** (get a free API key: `POST https://mcp.sunaivacore.io/v1/signup` with `{"email":"you@example.com"}` — returns an `sgk_dev_` key instantly, no credit card required; dashboard at [dashboard.sunaivacore.io](https://dashboard.sunaivacore.io)):
your own live dashboard showing enforcement activity, blocked actions, and rule coverage — your

@@ -284,3 +283,3 @@ value made visible. Premium rules and features are shown visible-but-locked until you upgrade.

```
[sunaiva-gate v2.0.0] BLOCK — rule: dat-001 (recursive root deletion)
[sunaiva-gate v2.0.4] BLOCK — rule: dat-001 (recursive root deletion)
Escape: export DISABLE_SUNAIVA_GATE=1

@@ -343,3 +342,3 @@ Audit: ~/.sunaiva/audit/audit.jsonl

Status: HEALTHY
Version: 2.0.0
Version: 2.0.4
Support: support@sunaiva.ai

@@ -346,0 +345,0 @@ ```

@@ -13,3 +13,3 @@ # Support — `@sunaiva/gate`

| Licensing question (BUSL-1.1, commercial use, etc.) | `support@sunaiva.ai` | `[licensing]` | 2 business days |
| Commercial / paid-tier inquiry (Starter / Pro / Power) | `support@sunaiva.ai` | `[sales]` | 1 business day |
| Commercial / paid-tier inquiry (Dev / Pro / Team / Enterprise) | `support@sunaiva.ai` | `[sales]` | 1 business day |
| Account / billing | `support@sunaiva.ai` | `[billing]` | 1 business day |

@@ -76,2 +76,2 @@ | General feedback | `support@sunaiva.ai` | `[feedback]` | Reviewed weekly |

*Support for `@sunaiva/gate` — Sunaiva Digital.*
*Last updated: 2026-05-25 (v1.1.1).*
*Last updated: 2026-07-19 (v2.0.4).*

@@ -45,3 +45,3 @@ # Tier Definitions — `@sunaiva/gate`

- **Free account** — sign up at https://portal.sunaiva.ai; no credit card required
- **Free account** — get a free API key via `POST https://mcp.sunaivacore.io/v1/signup` with `{"email":"you@example.com"}`; dashboard at https://dashboard.sunaivacore.io; no credit card required
- **Hosted dashboard** — real-time validation activity, audit log search/filter/export, rules manager UI, per-agent integration cards (see `LOVABLE_DASHBOARD_PROMPT.md` in this directory for the spec)

@@ -48,0 +48,0 @@ - **Shadow preview** — premium rule matches are shown in the dashboard without blocking, so you can see what you'd gain before upgrading; no backend rule evaluation, no metering