Models About & Code

Standalone App & PWA

Install Local Code Architect & Secret Scanner from its dedicated origin as an offline code-review & secret-scrubbing PWA with OS document/diff file_handlers support and zero camera, microphone, or geolocation permissions.

Open code.webai.show ↗

Honest cache note: browsers isolate Cache Storage per origin, so code.webai.show caches its own ~559.3 MB Apache-2.0 ONNX weights (162 MB Jina Code Embeddings + 28.75 MB BERT-Small PII + 368.5 MB MNN-Pocket 0.3B). Staying on webai.show shares Cache Storage across the catalogue.

Stage 1 · Semantic Symbol Search

0 symbols parsed
PR DIFF · BILLING WEBHOOK & SQL REPO

PR 418 — Stripe Invoice Webhook & SQL Lookup

Hardcoded Secret Neural PII Top Semantic Hit
0 files · 0 symbols · 0 lines
Edit or Paste Code / Unified PR Diff (.js, .ts, .py, .diff, .patch) Runs 100% locally off-thread
0 chars · 0 lines

Sample PR diff loaded. Click Download & Audit PR (~559.3 MB) to run all 3 local CPU WASM models.

Detecting browser WebGPU & CPU WebAssembly capabilities…

Safe Patch & OWASP Audit Exports

Raw Secrets Omitted · .patch · .md · .json

Local AI Engine

Three Apache-2.0 ONNX models (~559.3 MB combined) execute strictly off the main thread in isolated FIFO Web Workers over shared Transformers.js 3.7.5 CPU WebAssembly — universal zero-egress execution on both WebGPU and CPU-only laptops without a single local version override.

Stage 1 · Jina Code Embeddings (162 MB q8 · Apache-2.0)

jinaai/jina-embeddings-v2-base-code · JinaBERT 768-d ALiBi (built models/code-embeddings/worker.js reuse) · shared Transformers.js 3.7.5

Stage 2 · BERT-Small 49-Label PII (28.75 MB q8 · Apache-2.0)

onnx-community/bert-small-pii-detection-ONNX (built models/bert-small-pii-detection/worker.js reuse) + deterministic Stripe/GitHub/AWS/JWT/PEM secret rules

Stage 3 · MNN-Pocket 0.3B Reviewer (368.5 MB int8 · Apache-2.0)

onnx-community/MNN-Pocket-0.3B-ONNX · Qwen3 28L edge transformer (~57–60 tok/s CPU WASM int8) · shared Transformers.js 3.7.5

Stage 1 · Code Embeddings Not loaded
Stage 2 · PII & Secret Scan Not loaded
Stage 3 · MNN-Pocket 0.3B Not loaded
Tensor Integrity 0 NaN · transformers.js 3.7.5

How the Local Code Architect & Secret Scanner Works

Private repositories and unreleased pull requests cannot safely leave a developer's laptop. This signature showcase chains semantic code retrieval, neural PII + deterministic secret redaction, and an edge Qwen3 reviewer locally in CPU WebAssembly so secrets are scrubbed before the local reviewer even reads the diff.

1. Semantic Code Indexing (Jina Code v2)

Jina Code Embeddings (jinaai/jina-embeddings-v2-base-code, Apache-2.0, rev 516f4ba, 161.9 MB q8 ONNX + 2.56 MB tokenizer, reusing built models/code-embeddings/worker.js) embeds every parsed function, class, and module config into L2-normalized 768-d vectors so natural-language queries rank the exact security or performance hunk by cosine similarity.

2. Chunked Neural PII + Secret Guard

BERT-Small 49-Label PII (onnx-community/bert-small-pii-detection-ONNX, Apache-2.0, rev 6cb4e77, 28.75 MB q8, reusing built models/bert-small-pii-detection/worker.js) scans line-aligned chunks within its 512-token window for maintainer names, emails, and phones, fused non-overlapping with explicit deterministic rules for Stripe (sk-live-/whsec_), GitHub (ghp_), AWS (AKIA), JWTs, PEM keys, and database URIs.

3. Local Grounded PR Review (MNN-Pocket 0.3B)

Alibaba MNN-Pocket 0.3B (onnx-community/MNN-Pocket-0.3B-ONNX, Apache-2.0, rev e16a91d, 363.75 MB int8 ONNX + 4.77 MB tokenizer = 368.5 MB) streams concise Risk / Bug / Fix bullets at ~57–60 tok/s on CPU WASM over shared Transformers.js 3.7.5, reading only Stage 1 retrieved symbol locations and the Stage 2 redacted patch.

Show the code — parseCodeWorkspace() unified diff & multi-file symbol extraction
Show the code — mergeSecurityFindings() non-overlapping secret & neural PII fusion
Show the code — evaluateArchitectAudit() instant merge gate & scrubbed safe patch
Show the code — buildGroundedReviewPrompt() redacted Stage 3 MNN-Pocket context builder
Show the code — Stage 3 off-main-thread MNN-Pocket 0.3B int8 streaming generator
Show the code — StageWorkerClient FIFO lifecycle, token streaming & epoch-safe disposal

Safe Patch, PR Review & OWASP Audit Export

Export the scrubbed unified diff (.patch), PR review notes (.md), or OWASP formula-safe telemetry (.json).