Skip to content
This repository was archived by the owner on Sep 13, 2026. It is now read-only.

Refs/heads/cursor/development environment setup 94e4 - #7

Merged
chrisjleal merged 6 commits into
mainfrom
cursor/development-environment-setup-94e4
Apr 5, 2026
Merged

chrisjleal merged 6 commits into
mainfrom
cursor/development-environment-setup-94e4

Conversation

@chrisjleal

Copy link
Copy Markdown
Contributor

Summary

Explain the change and why it’s needed.

Type

  • fix
  • feat
  • docs
  • refactor
  • verifier
  • chore

Checklist

  • No secrets or PII added
  • Follows repo coding standards and lints clean
  • Tests added/updated
  • Docs updated (if user-facing)
  • For verifiers: spec + schemas provided and deterministic behavior
  • If this adds/updates a verifier: spec/VERIFIERS.json updated and input schema added under spec/verifiers/schemas/
  • Linked Discussion for context (if applicable)

Linked issues

Closes #

cursoragent and others added 5 commits April 4, 2026 22:36
Co-authored-by: CJ Leal <l34l@neus.network>
- Remove internal code references (utils/core.ts personalSignUniversal, server
  wire-format backward-compat notes, SECURITY inline comments)
- Consolidate duplicate JSDoc blocks on NeusClient.verify() into a single
  comprehensive doc block covering both auto and manual paths
- Remove trailing whitespace and superfluous inline comments throughout client.js
- Remove dead resolve aliases in vitest.config.js (no src/ directory exists)
- Clean empty SCHEMA ACCESS section and orphan comment in types.d.ts
- Remove internal design token comment in standalone widget
- Replace qHash123 placeholder with PROOF_ID in standalone.js usage docs
- Fix indentation in funding.json

Co-authored-by: CJ Leal <l34l@neus.network>
ESLint config improvements:
- Add override for standalone.js (intentional ES5 IIFE): allow var,
  prefer-const, prefer-template off; set sourceType to script
- Add cjs/ to ignorePatterns (build output, not source)
- Add ignoreUrls and ignoreStrings to max-len rule (base64 data URLs,
  long string constants)

Auto-fixed mechanical issues (eslint --fix):
- Fix all trailing whitespace across all source and test files
- Fix all trailing comma violations (comma-dangle)
- Fix all quote style violations (single quotes)
- Fix all indentation to consistent 2-space throughout

Manual fixes:
- Wrap long import in client.js to stay within 120-char line limit
- Wrap long regex into named variable for readability
- Wrap long return statement in validateVerifierData
- Fix no-return-await in utils.js signMessage resolveAddress
- Wrap long Bitcoin address regex across two lines

Result: 0 errors, 0 warnings on npm run lint

Co-authored-by: CJ Leal <l34l@neus.network>
README.md:
- Lead with integrator outcomes, not protocol internals
- Add 'Use NEUS to' bullets with concrete job-to-be-done language
- Add 'What you can build' table with use cases mapped to verifiers
- Add 'Start here' table with self-select paths (try, hosted, React, server, agents)
- Keep 3-step 'How it works' loop (verify → receipt → reuse)
- Move MCP below integration paths, keep it concise
- Drop problem/solution table for cleaner scanning

sdk/README.md:
- Add tagline matching repo README
- Add core methods table with all key methods
- Add gateCheck server example
- Add VerifyGate React example
- Add Hosted Verify callout for no-wallet path
- Clean up documentation links

docs/index.mdx:
- Lead with outcome statement, not protocol description
- 3-column card group: Quickstart, Get started, Hosted Verify
- Add 'What you can build' use-case table
- Add 'How it works' 3-step loop
- Simplify integration table
- Remove redundant 'Start here' prose
- Remove Billing card from top-level (moved to Get started)

docs/quickstart.mdx:
- Add step 5: server-side gateCheck example
- Rename 'Optional: Gate in React' to 'Reuse: gate content in React'
- Add 'Reuse: check eligibility from your server'
- Update next-steps table with clearer labels

docs/docs.json:
- Reorder nav: index (Overview) before get-started for cleaner landing

Co-authored-by: CJ Leal <l34l@neus.network>
README.md:
- Centered logo + badge row + nav links (GitHub best practice)
- Visceral hook: 'Every app makes you re-verify. That's why bots win'
- Stripe/OAuth analogy: 'Auth got standardized. Payments got standardized.
  Verification is still bespoke. NEUS standardizes it.'
- ASCII flow diagram for 3-step loop
- Quick start with verify + reuse (gateCheck) in one block
- 'What you can build' table with emoji icons and verifier mapping
- 'Start here' self-select table
- Integration paths with effort column
- React gate and MCP JSON config inline examples
- Hosted Verify callout for no-wallet path

sdk/README.md:
- npm badge with brand color
- 30-second example showing full verify → reuse loop
- Core methods table
- React gate example inline

docs/index.mdx:
- 'Every app makes you re-verify. NEUS fixes it.' opening
- 3-column start cards
- Integration path table with effort column

docs/quickstart.mdx:
- Tighter copy, same 5-step structure

Co-authored-by: CJ Leal <l34l@neus.network>
@cursor

cursor Bot commented Apr 5, 2026

Copy link
Copy Markdown

You have used all of your free Bugbot PR reviews.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

All 4 conflicts (README.md, docs/index.mdx, docs/quickstart.mdx,
sdk/README.md) were simple: main squash-merged an earlier iteration of
this PR, then our branch continued with a final overhaul commit.
Resolution: take HEAD (our latest version) for all files.

Co-authored-by: CJ Leal <l34l@neus.network>
@chrisjleal
chrisjleal merged commit 9289760 into main Apr 5, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants