fieldproof 0.2.3__tar.gz → 0.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fieldproof-0.2.3 → fieldproof-0.2.5}/CHANGELOG.md +26 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/PKG-INFO +5 -2
- {fieldproof-0.2.3 → fieldproof-0.2.5}/README.md +4 -1
- {fieldproof-0.2.3 → fieldproof-0.2.5}/pyproject.toml +1 -1
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/__init__.py +1 -1
- fieldproof-0.2.5/src/fieldproof/server/static/assets/fraunces-latin-DihXLNYH.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/fraunces-latin-ext-CJcjJNj7.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/fraunces-vietnamese-Czevyj-6.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-400-cyrillic-BSMlKf0J.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-400-cyrillic-ext-xuaO2J-f.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-400-latin-DMJ8VG8y.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-400-latin-ext-BmRBH3aV.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-400-vietnamese-BulugwFq.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-500-cyrillic-Bq9vWWag.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-500-cyrillic-ext-BqneJy0T.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-500-latin-DSY6xOcd.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-500-latin-ext-CAhNIIs5.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-500-vietnamese-DZ4AoWbu.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/index-CwE4D8C4.css +1 -0
- fieldproof-0.2.3/src/fieldproof/server/static/assets/index-BLATbujI.js → fieldproof-0.2.5/src/fieldproof/server/static/assets/index-DqZp-lu_.js +1 -1
- fieldproof-0.2.5/src/fieldproof/server/static/assets/inter-cyrillic-DqGufNeO.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/inter-cyrillic-ext-BOeWTOD4.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/inter-greek-CkhJZR-_.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/inter-greek-ext-DlzME5K_.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/inter-latin-Dx4kXJAl.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/inter-latin-ext-DO1Apj_S.woff2 +0 -0
- fieldproof-0.2.5/src/fieldproof/server/static/assets/inter-vietnamese-CBcvBZtf.woff2 +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/server/static/index.html +3 -8
- fieldproof-0.2.3/src/fieldproof/server/static/assets/index-Bo892MpF.css +0 -1
- {fieldproof-0.2.3 → fieldproof-0.2.5}/.gitignore +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/LICENSE +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/cli.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/document/__init__.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/document/loader.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/document/model.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/document/ocr.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/document/render.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/extract/__init__.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/extract/anthropic_provider.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/extract/base.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/extract/fixture_provider.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/ground/__init__.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/ground/align.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/ground/normalize.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/schemas/__init__.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/schemas/base.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/schemas/contract.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/schemas/invoice.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/schemas/receipt.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/server/__init__.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/server/app.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/server/store.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/verify/__init__.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/verify/cross_field.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/verify/engine.py +0 -0
- {fieldproof-0.2.3 → fieldproof-0.2.5}/src/fieldproof/verify/value_checks.py +0 -0
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.2.5] - 2026-10-02
|
|
6
|
+
|
|
7
|
+
### Security
|
|
8
|
+
|
|
9
|
+
- The review UI carries a Content-Security-Policy. Scripts, styles and fonts
|
|
10
|
+
load from the server that served the page only, and `connect-src 'self'`
|
|
11
|
+
has the browser refuse to send a document, or anything read from it, to
|
|
12
|
+
any other host, even for a script injected through a bug in how a field
|
|
13
|
+
is rendered. Inline event handlers and `eval` are not allowed. Checked in
|
|
14
|
+
Chromium and Firefox with a listener for policy violations, on the demo and
|
|
15
|
+
on `fieldproof serve` through an upload, an extraction and the page images:
|
|
16
|
+
none.
|
|
17
|
+
|
|
18
|
+
## [0.2.4] - 2026-10-02
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- The review UI's fonts ship in the package. `fieldproof serve` runs on your
|
|
23
|
+
own machine, over documents you may not be free to share, and its page
|
|
24
|
+
asked Google Fonts for its typography on every load (and fell back to
|
|
25
|
+
system fonts without a connection). The same font files are now part of
|
|
26
|
+
the wheel, with their SIL Open Font License texts (`web/src/fonts/`), and
|
|
27
|
+
the page makes no request to any host but the server it came from. Nothing
|
|
28
|
+
looks different: screenshots before and after match. The wheel grows from
|
|
29
|
+
about 60 KB to about 530 KB.
|
|
30
|
+
|
|
5
31
|
## [0.2.3] - 2026-10-02
|
|
6
32
|
|
|
7
33
|
### Security
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: fieldproof
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: Document extraction that shows its work: every field linked to the exact words it came from.
|
|
5
5
|
Project-URL: Homepage, https://antonsoo.github.io/fieldproof/
|
|
6
6
|
Project-URL: Repository, https://github.com/antonsoo/fieldproof
|
|
@@ -103,7 +103,10 @@ useful for CI/offline). To extract with Claude instead, set
|
|
|
103
103
|
model; `--max-tokens` raises the output limit for a document whose
|
|
104
104
|
extraction is cut off at the default 16,000). To review the result in
|
|
105
105
|
the browser instead: `fieldproof serve`. The PyPI package includes the built
|
|
106
|
-
UI
|
|
106
|
+
UI, fonts and all, so the page asks no host but your own server for anything,
|
|
107
|
+
and its Content-Security-Policy would not let it: a document you review stays
|
|
108
|
+
on your machine. From a source checkout, build the UI first (see
|
|
109
|
+
[Development](#development)).
|
|
107
110
|
|
|
108
111
|
## Features
|
|
109
112
|
|
|
@@ -60,7 +60,10 @@ useful for CI/offline). To extract with Claude instead, set
|
|
|
60
60
|
model; `--max-tokens` raises the output limit for a document whose
|
|
61
61
|
extraction is cut off at the default 16,000). To review the result in
|
|
62
62
|
the browser instead: `fieldproof serve`. The PyPI package includes the built
|
|
63
|
-
UI
|
|
63
|
+
UI, fonts and all, so the page asks no host but your own server for anything,
|
|
64
|
+
and its Content-Security-Policy would not let it: a document you review stays
|
|
65
|
+
on your machine. From a source checkout, build the UI first (see
|
|
66
|
+
[Development](#development)).
|
|
64
67
|
|
|
65
68
|
## Features
|
|
66
69
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-400-cyrillic-BSMlKf0J.woff2
ADDED
|
Binary file
|
fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-400-cyrillic-ext-xuaO2J-f.woff2
ADDED
|
Binary file
|
|
Binary file
|
fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-400-latin-ext-BmRBH3aV.woff2
ADDED
|
Binary file
|
fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-400-vietnamese-BulugwFq.woff2
ADDED
|
Binary file
|
fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-500-cyrillic-Bq9vWWag.woff2
ADDED
|
Binary file
|
fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-500-cyrillic-ext-BqneJy0T.woff2
ADDED
|
Binary file
|
|
Binary file
|
fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-500-latin-ext-CAhNIIs5.woff2
ADDED
|
Binary file
|
fieldproof-0.2.5/src/fieldproof/server/static/assets/ibm-plex-mono-500-vietnamese-DZ4AoWbu.woff2
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:Fraunces;font-style:normal;font-weight:480;font-display:swap;src:url(/assets/fraunces-vietnamese-Czevyj-6.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:normal;font-weight:480;font-display:swap;src:url(/assets/fraunces-latin-ext-CJcjJNj7.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces;font-style:normal;font-weight:480;font-display:swap;src:url(/assets/fraunces-latin-DihXLNYH.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces;font-style:normal;font-weight:560;font-display:swap;src:url(/assets/fraunces-vietnamese-Czevyj-6.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:normal;font-weight:560;font-display:swap;src:url(/assets/fraunces-latin-ext-CJcjJNj7.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces;font-style:normal;font-weight:560;font-display:swap;src:url(/assets/fraunces-latin-DihXLNYH.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-cyrillic-ext-xuaO2J-f.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-cyrillic-BSMlKf0J.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-vietnamese-BulugwFq.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-latin-ext-BmRBH3aV.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/ibm-plex-mono-400-latin-DMJ8VG8y.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-cyrillic-ext-BqneJy0T.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-cyrillic-Bq9vWWag.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-vietnamese-DZ4AoWbu.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-latin-ext-CAhNIIs5.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/ibm-plex-mono-500-latin-DSY6xOcd.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-cyrillic-ext-BOeWTOD4.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-cyrillic-DqGufNeO.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-greek-ext-DlzME5K_.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-greek-CkhJZR-_.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-vietnamese-CBcvBZtf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-latin-ext-DO1Apj_S.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/inter-latin-Dx4kXJAl.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-cyrillic-ext-BOeWTOD4.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-cyrillic-DqGufNeO.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-greek-ext-DlzME5K_.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-greek-CkhJZR-_.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-vietnamese-CBcvBZtf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-latin-ext-DO1Apj_S.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/inter-latin-Dx4kXJAl.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-cyrillic-ext-BOeWTOD4.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-cyrillic-DqGufNeO.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-greek-ext-DlzME5K_.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-greek-CkhJZR-_.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-vietnamese-CBcvBZtf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-latin-ext-DO1Apj_S.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/inter-latin-Dx4kXJAl.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-cyrillic-ext-BOeWTOD4.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-cyrillic-DqGufNeO.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-greek-ext-DlzME5K_.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-greek-CkhJZR-_.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-vietnamese-CBcvBZtf.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-latin-ext-DO1Apj_S.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/inter-latin-Dx4kXJAl.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font-display: "Fraunces", Georgia, serif;--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;--color-bg: #f2f4f1;--color-surface: #ffffff;--color-surface-sunken: #e9ece7;--color-ink: #14181a;--color-ink-muted: #5c6670;--color-ink-faint: #8b949c;--color-border: #d7dcd6;--color-border-strong: #b7bfb9;--color-accent: #14524c;--color-accent-ink: #ffffff;--color-focus: #1c7a70;--color-verified: #0e7a5f;--color-verified-bg: #e4f3ec;--color-review: #a6650f;--color-review-bg: #fbf0dc;--color-unsupported: #b3392c;--color-unsupported-bg: #fbe7e3;--radius-sm: 4px;--radius-md: 7px;--shadow-card: 0 1px 2px rgba(20, 24, 26, .06), 0 1px 1px rgba(20, 24, 26, .04);--shadow-panel: 0 4px 16px rgba(20, 24, 26, .08);color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--color-bg: #10151a;--color-surface: #171d23;--color-surface-sunken: #0d1216;--color-ink: #e8edee;--color-ink-muted: #93a1aa;--color-ink-faint: #66727c;--color-border: #2a333b;--color-border-strong: #3b4750;--color-accent: #49c9b3;--color-accent-ink: #08201c;--color-focus: #49c9b3;--color-verified: #49c9b3;--color-verified-bg: rgba(73, 201, 179, .14);--color-review: #e3ab41;--color-review-bg: rgba(227, 171, 65, .14);--color-unsupported: #e2685c;--color-unsupported-bg: rgba(226, 104, 92, .14);color-scheme:dark}}:root[data-theme=dark]{--color-bg: #10151a;--color-surface: #171d23;--color-surface-sunken: #0d1216;--color-ink: #e8edee;--color-ink-muted: #93a1aa;--color-ink-faint: #66727c;--color-border: #2a333b;--color-border-strong: #3b4750;--color-accent: #49c9b3;--color-accent-ink: #08201c;--color-focus: #49c9b3;--color-verified: #49c9b3;--color-verified-bg: rgba(73, 201, 179, .14);--color-review: #e3ab41;--color-review-bg: rgba(227, 171, 65, .14);--color-unsupported: #e2685c;--color-unsupported-bg: rgba(226, 104, 92, .14);color-scheme:dark}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--color-bg);color:var(--color-ink);font-family:var(--font-body);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}a{color:var(--color-accent)}:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}#app{display:flex;flex-direction:column;height:100vh;height:100dvh}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;border-bottom:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap}.brand{display:flex;align-items:baseline;gap:8px}.brand-mark{font-family:var(--font-display);font-weight:560;font-size:20px;letter-spacing:-.01em;color:var(--color-ink)}.brand-tag{font-size:11px;color:var(--color-ink-faint);font-family:var(--font-mono);display:none}@media(min-width:900px){.brand-tag{display:inline}}.topbar-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sample-switch{display:flex;gap:2px;padding:2px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg, transparent)}.sample-switch-btn{padding:5px 12px;border:0;border-radius:6px;background:transparent;color:var(--color-ink-faint);font:inherit;font-size:13px;cursor:pointer}.sample-switch-btn:hover{color:var(--color-ink)}.sample-switch-btn.is-active{background:var(--color-accent);color:var(--color-accent-ink)}.sample-switch-btn:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}@media(max-width:600px){.sample-switch{order:3;width:100%}.sample-switch-btn{flex:1}}.workbench{flex:1;display:flex;min-height:0}.start-state{margin:auto;max-width:560px;padding:48px 32px;text-align:center}.start-state h1{font-family:var(--font-display);font-weight:540;font-size:28px;margin:0 0 8px}.start-state p{color:var(--color-ink-muted);margin:0 0 28px}.proof-ticks{display:flex;justify-content:center;gap:18px;margin-bottom:32px}.proof-tick{display:flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:12px;color:var(--color-ink-muted);opacity:0;animation:tick-in .5s ease forwards}.proof-tick:nth-child(1){animation-delay:.05s}.proof-tick:nth-child(2){animation-delay:.2s}.proof-tick:nth-child(3){animation-delay:.35s}@keyframes tick-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.proof-dot{width:8px;height:8px;border-radius:50%}.sample-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.dropzone{border:1.5px dashed var(--color-border-strong);border-radius:var(--radius-md);padding:28px;color:var(--color-ink-muted);cursor:pointer;transition:border-color .15s ease,background .15s ease}.dropzone:hover,.dropzone.dragover{border-color:var(--color-accent);background:var(--color-surface-sunken)}.btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--radius-sm);border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-ink);cursor:pointer;font-size:13px;line-height:1.3}.btn:hover{border-color:var(--color-accent)}.btn-primary{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-ink);font-weight:600}.btn-primary:hover{filter:brightness(1.08)}.btn:disabled{opacity:.45;cursor:not-allowed}.select,.text-input{padding:6px 10px;border-radius:var(--radius-sm);border:1px solid var(--color-border-strong);background:var(--color-surface)}.viewer-pane{flex:1 1 55%;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--color-border);background:var(--color-surface-sunken)}.viewer-toolbar{display:flex;align-items:center;gap:8px;padding:8px 14px;border-bottom:1px solid var(--color-border);background:var(--color-surface);font-size:12px;color:var(--color-ink-muted)}.viewer-scroll{flex:1;overflow:auto;padding:24px;display:flex;justify-content:center}.page-frame{position:relative;box-shadow:var(--shadow-panel);background:#fff;height:fit-content}.page-frame img{display:block;max-width:none}.highlight-rect{position:absolute;border-radius:2px;border:1.5px solid transparent;background:transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease}.highlight-rect[data-status=verified]{border-color:color-mix(in srgb,var(--color-verified) 55%,transparent);background:color-mix(in srgb,var(--color-verified) 14%,transparent)}.highlight-rect[data-status=needs_review]{border-color:color-mix(in srgb,var(--color-review) 65%,transparent);background:color-mix(in srgb,var(--color-review) 18%,transparent)}.highlight-rect[data-status=unsupported]{border-color:color-mix(in srgb,var(--color-unsupported) 65%,transparent);background:color-mix(in srgb,var(--color-unsupported) 18%,transparent)}.highlight-rect.is-active,.highlight-rect:hover{border-width:2px;filter:brightness(.94) saturate(1.3)}.highlight-rect.is-pulsing{animation:pulse-ring .9s ease 2}@keyframes pulse-ring{0%{box-shadow:0 0 color-mix(in srgb,var(--color-accent) 55%,transparent)}70%{box-shadow:0 0 0 8px color-mix(in srgb,var(--color-accent) 0%,transparent)}to{box-shadow:0 0 0 0 transparent}}.field-pane{flex:1 1 45%;min-width:320px;min-height:0;display:flex;flex-direction:column}.field-pane-header{padding:12px 16px;border-bottom:1px solid var(--color-border);background:var(--color-surface);display:flex;flex-direction:column;gap:10px}.counts-strip{display:flex;gap:8px;flex-wrap:wrap}.count-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:12px;font-family:var(--font-mono);border:1px solid var(--color-border);background:var(--color-surface-sunken);cursor:pointer}.count-chip.is-active{border-color:currentColor}.count-chip[data-status=verified]{color:var(--color-verified)}.count-chip[data-status=needs_review]{color:var(--color-review)}.count-chip[data-status=unsupported]{color:var(--color-unsupported)}.filter-row{display:flex;gap:8px}.filter-row .text-input{flex:1}.field-list{flex:1;overflow:auto;list-style:none;margin:0;padding:0}.field-row{padding:10px 16px;border-bottom:1px solid var(--color-border);cursor:pointer;background:var(--color-surface)}.field-row:hover,.field-row.is-hovered{background:var(--color-surface-sunken)}.field-row.is-selected{background:var(--color-surface-sunken);box-shadow:inset 3px 0 0 var(--color-accent)}.field-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.field-path{font-family:var(--font-mono);font-size:11.5px;color:var(--color-ink-faint)}.status-chip{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap}.status-chip[data-status=verified]{color:var(--color-verified);background:var(--color-verified-bg)}.status-chip[data-status=needs_review]{color:var(--color-review);background:var(--color-review-bg)}.status-chip[data-status=unsupported]{color:var(--color-unsupported);background:var(--color-unsupported-bg)}.status-chip:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.field-value{font-size:14.5px;margin-top:3px;word-break:break-word}.field-value.is-edited{text-decoration:underline dotted;text-decoration-color:var(--color-accent)}.field-reasons{margin-top:5px;font-size:12px;color:var(--color-ink-muted)}.field-reasons li{margin:2px 0 2px 16px}.field-evidence{margin-top:6px;font-family:var(--font-mono);font-size:11.5px;color:var(--color-ink-muted);background:var(--color-surface-sunken);padding:5px 8px;border-radius:var(--radius-sm);border-left:2px solid var(--color-border-strong)}.field-actions{margin-top:8px;display:flex;gap:6px;flex-wrap:wrap}.field-actions .btn{padding:4px 9px;font-size:12px}.review-badge{font-size:11px;color:var(--color-ink-faint);font-family:var(--font-mono);margin-left:6px}.edit-row{display:flex;gap:6px;margin-top:8px}.edit-row .text-input{flex:1}.empty-filtered{padding:40px 20px;text-align:center;color:var(--color-ink-faint)}.toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%) translateY(8px);background:var(--color-ink);color:var(--color-bg);padding:8px 16px;border-radius:var(--radius-sm);font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;z-index:50}.toast.is-visible{opacity:1;transform:translate(-50%) translateY(0)}@media(max-width:860px){.workbench{flex-direction:column}.viewer-pane,.field-pane{flex:none;min-width:0}.viewer-pane{border-right:none;border-bottom:1px solid var(--color-border);max-height:42vh}.field-pane{min-height:0}}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.demo-note{margin:8px 0 0;font-size:12px;line-height:1.45;color:var(--color-ink-faint)}
|
|
@@ -141,4 +141,4 @@
|
|
|
141
141
|
</div>`}
|
|
142
142
|
</li>
|
|
143
143
|
`}function O(){document.querySelectorAll(".highlight-rect").forEach(e=>{e.addEventListener("click",()=>v(e.dataset.path,{pulse:!0})),e.addEventListener("mouseenter",()=>M(e.dataset.path,!0)),e.addEventListener("mouseleave",()=>M(e.dataset.path,!1))})}function oe(){const e=w();e.querySelector("#prev-page")?.addEventListener("click",()=>{t.currentPage=Math.max(1,t.currentPage-1),u()}),e.querySelector("#next-page")?.addEventListener("click",()=>{t.currentPage=Math.min(t.document.page_count,t.currentPage+1),u()}),e.querySelector("#zoom-in")?.addEventListener("click",()=>{t.zoomIsAuto=!1,t.zoom=Math.min(3,Math.round((t.zoom+.25)*100)/100),u()}),e.querySelector("#zoom-out")?.addEventListener("click",()=>{t.zoomIsAuto=!1,t.zoom=Math.max(.35,Math.round((t.zoom-.25)*100)/100),u()}),O(),e.querySelectorAll(".count-chip").forEach(o=>{o.addEventListener("click",()=>{t.statusFilter=o.dataset.statusFilter??"all",u()})});const n=e.querySelector("#search-input");n?.addEventListener("input",()=>{t.searchQuery=n.value,y()});const a=e.querySelector("#field-list");a.addEventListener("click",o=>re(o)),a.addEventListener("keydown",o=>se(o))}function re(e){const n=e.target,a=n.closest("[data-approve]"),o=n.closest("[data-edit]"),r=n.closest("[data-reject]"),i=n.closest("[data-reset]"),s=n.closest("[data-save]"),d=n.closest("[data-cancel-edit]"),p=n.closest(".field-row");if(a)return void m(a.dataset.approve,"approve");if(r)return void m(r.dataset.reject,"reject");if(i)return void m(i.dataset.reset,"reset");if(o){t.editingPath=o.dataset.edit,y();return}if(d){t.editingPath=null,y();return}if(s){const g=s.dataset.save,$=document.getElementById(`edit-input-${ie(g)}`);m(g,"edit",$?.value??""),t.editingPath=null;return}p&&v(p.dataset.path,{pulse:!0})}function ie(e){return e.replace(/[^a-zA-Z0-9_-]/g,"_")}function se(e){if(e.target.tagName==="INPUT")return;const a=L();if(a.length===0)return;const o=a.findIndex(r=>r.path===t.selectedPath);if(e.key==="ArrowDown"||e.key==="j"){e.preventDefault();const r=a[Math.min(a.length-1,o+1)]??a[0];v(r.path,{pulse:!0})}else if(e.key==="ArrowUp"||e.key==="k"){e.preventDefault();const r=a[Math.max(0,o-1)]??a[0];v(r.path,{pulse:!0})}else e.key==="a"&&t.selectedPath?m(t.selectedPath,"approve"):e.key==="r"&&t.selectedPath&&m(t.selectedPath,"reject")}function v(e,n={}){const a=t.extraction.report.fields.find(r=>r.path===e);if(t.selectedPath=e,a?.page&&(t.currentPage=a.page),u(),n.scroll===!1)return;const o=document.querySelector(`.highlight-rect[data-path="${x(e)}"]`);o?.scrollIntoView({block:"center",inline:"center",behavior:"smooth"}),n.pulse&&o&&(window.matchMedia("(prefers-reduced-motion: reduce)").matches||(o.classList.add("is-pulsing"),window.setTimeout(()=>o.classList.remove("is-pulsing"),1900))),document.querySelector(`.field-row[data-path="${x(e)}"]`)?.scrollIntoView({block:"nearest"})}function x(e){return e.replace(/"/g,'\\"')}function M(e,n){document.querySelector(`.field-row[data-path="${x(e)}"]`)?.classList.toggle("is-hovered",n)}async function m(e,n,a){if(t.document)try{const o=await l.review(t.document.id,e,n,a);t.extraction.review[e]=o,y()}catch(o){f(o instanceof Error?o.message:"Couldn't update review status")}}function y(){const e=document.getElementById("field-list");e&&(e.innerHTML=C())}h();l.kind==="demo"?ee():E();
|
|
144
|
-
//# sourceMappingURL=index-
|
|
144
|
+
//# sourceMappingURL=index-DqZp-lu_.js.map
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
|
+
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self' 'sha256-2eerjYI+xYjuaqgACafvtwXJ/y+Rfn6C7FSAT6j6Rs0='; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self' data:; connect-src 'self'; worker-src 'self'; manifest-src 'self'; base-uri 'none'; form-action 'none'" />
|
|
5
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
7
|
<title>fieldproof · grounded document review</title>
|
|
7
8
|
<meta
|
|
@@ -9,12 +10,6 @@
|
|
|
9
10
|
content="Review UI for fieldproof: every extracted field linked to the exact words it came from."
|
|
10
11
|
/>
|
|
11
12
|
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='5' fill='%2314524c'/%3E%3Cpath d='M7 12.5l3 3 7-7.5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E" />
|
|
12
|
-
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
13
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
14
|
-
<link
|
|
15
|
-
href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,480;9..144,560&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap"
|
|
16
|
-
rel="stylesheet"
|
|
17
|
-
/>
|
|
18
13
|
<script>
|
|
19
14
|
// Applied before paint so there's no flash of the wrong theme; the
|
|
20
15
|
// toggle in the toolbar just flips this same attribute + key.
|
|
@@ -41,8 +36,8 @@
|
|
|
41
36
|
<meta name="twitter:title" content="fieldproof · grounded document review" />
|
|
42
37
|
<meta name="twitter:description" content="Document extraction that shows its work: every LLM-extracted field grounded to its source words, verified, and reviewable." />
|
|
43
38
|
<meta name="twitter:image" content="https://raw.githubusercontent.com/antonsoo/fieldproof/main/docs/assets/og.png" />
|
|
44
|
-
<script type="module" crossorigin src="/assets/index-
|
|
45
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
39
|
+
<script type="module" crossorigin src="/assets/index-DqZp-lu_.js"></script>
|
|
40
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CwE4D8C4.css">
|
|
46
41
|
</head>
|
|
47
42
|
<body>
|
|
48
43
|
<div id="app"></div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--font-display: "Fraunces", Georgia, serif;--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;--color-bg: #f2f4f1;--color-surface: #ffffff;--color-surface-sunken: #e9ece7;--color-ink: #14181a;--color-ink-muted: #5c6670;--color-ink-faint: #8b949c;--color-border: #d7dcd6;--color-border-strong: #b7bfb9;--color-accent: #14524c;--color-accent-ink: #ffffff;--color-focus: #1c7a70;--color-verified: #0e7a5f;--color-verified-bg: #e4f3ec;--color-review: #a6650f;--color-review-bg: #fbf0dc;--color-unsupported: #b3392c;--color-unsupported-bg: #fbe7e3;--radius-sm: 4px;--radius-md: 7px;--shadow-card: 0 1px 2px rgba(20, 24, 26, .06), 0 1px 1px rgba(20, 24, 26, .04);--shadow-panel: 0 4px 16px rgba(20, 24, 26, .08);color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--color-bg: #10151a;--color-surface: #171d23;--color-surface-sunken: #0d1216;--color-ink: #e8edee;--color-ink-muted: #93a1aa;--color-ink-faint: #66727c;--color-border: #2a333b;--color-border-strong: #3b4750;--color-accent: #49c9b3;--color-accent-ink: #08201c;--color-focus: #49c9b3;--color-verified: #49c9b3;--color-verified-bg: rgba(73, 201, 179, .14);--color-review: #e3ab41;--color-review-bg: rgba(227, 171, 65, .14);--color-unsupported: #e2685c;--color-unsupported-bg: rgba(226, 104, 92, .14);color-scheme:dark}}:root[data-theme=dark]{--color-bg: #10151a;--color-surface: #171d23;--color-surface-sunken: #0d1216;--color-ink: #e8edee;--color-ink-muted: #93a1aa;--color-ink-faint: #66727c;--color-border: #2a333b;--color-border-strong: #3b4750;--color-accent: #49c9b3;--color-accent-ink: #08201c;--color-focus: #49c9b3;--color-verified: #49c9b3;--color-verified-bg: rgba(73, 201, 179, .14);--color-review: #e3ab41;--color-review-bg: rgba(227, 171, 65, .14);--color-unsupported: #e2685c;--color-unsupported-bg: rgba(226, 104, 92, .14);color-scheme:dark}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--color-bg);color:var(--color-ink);font-family:var(--font-body);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}a{color:var(--color-accent)}:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}#app{display:flex;flex-direction:column;height:100vh;height:100dvh}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;border-bottom:1px solid var(--color-border);background:var(--color-surface);flex-wrap:wrap}.brand{display:flex;align-items:baseline;gap:8px}.brand-mark{font-family:var(--font-display);font-weight:560;font-size:20px;letter-spacing:-.01em;color:var(--color-ink)}.brand-tag{font-size:11px;color:var(--color-ink-faint);font-family:var(--font-mono);display:none}@media(min-width:900px){.brand-tag{display:inline}}.topbar-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sample-switch{display:flex;gap:2px;padding:2px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-bg, transparent)}.sample-switch-btn{padding:5px 12px;border:0;border-radius:6px;background:transparent;color:var(--color-ink-faint);font:inherit;font-size:13px;cursor:pointer}.sample-switch-btn:hover{color:var(--color-ink)}.sample-switch-btn.is-active{background:var(--color-accent);color:var(--color-accent-ink)}.sample-switch-btn:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}@media(max-width:600px){.sample-switch{order:3;width:100%}.sample-switch-btn{flex:1}}.workbench{flex:1;display:flex;min-height:0}.start-state{margin:auto;max-width:560px;padding:48px 32px;text-align:center}.start-state h1{font-family:var(--font-display);font-weight:540;font-size:28px;margin:0 0 8px}.start-state p{color:var(--color-ink-muted);margin:0 0 28px}.proof-ticks{display:flex;justify-content:center;gap:18px;margin-bottom:32px}.proof-tick{display:flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:12px;color:var(--color-ink-muted);opacity:0;animation:tick-in .5s ease forwards}.proof-tick:nth-child(1){animation-delay:.05s}.proof-tick:nth-child(2){animation-delay:.2s}.proof-tick:nth-child(3){animation-delay:.35s}@keyframes tick-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.proof-dot{width:8px;height:8px;border-radius:50%}.sample-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.dropzone{border:1.5px dashed var(--color-border-strong);border-radius:var(--radius-md);padding:28px;color:var(--color-ink-muted);cursor:pointer;transition:border-color .15s ease,background .15s ease}.dropzone:hover,.dropzone.dragover{border-color:var(--color-accent);background:var(--color-surface-sunken)}.btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--radius-sm);border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-ink);cursor:pointer;font-size:13px;line-height:1.3}.btn:hover{border-color:var(--color-accent)}.btn-primary{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-ink);font-weight:600}.btn-primary:hover{filter:brightness(1.08)}.btn:disabled{opacity:.45;cursor:not-allowed}.select,.text-input{padding:6px 10px;border-radius:var(--radius-sm);border:1px solid var(--color-border-strong);background:var(--color-surface)}.viewer-pane{flex:1 1 55%;min-width:0;min-height:0;display:flex;flex-direction:column;border-right:1px solid var(--color-border);background:var(--color-surface-sunken)}.viewer-toolbar{display:flex;align-items:center;gap:8px;padding:8px 14px;border-bottom:1px solid var(--color-border);background:var(--color-surface);font-size:12px;color:var(--color-ink-muted)}.viewer-scroll{flex:1;overflow:auto;padding:24px;display:flex;justify-content:center}.page-frame{position:relative;box-shadow:var(--shadow-panel);background:#fff;height:fit-content}.page-frame img{display:block;max-width:none}.highlight-rect{position:absolute;border-radius:2px;border:1.5px solid transparent;background:transparent;cursor:pointer;transition:background .15s ease,border-color .15s ease}.highlight-rect[data-status=verified]{border-color:color-mix(in srgb,var(--color-verified) 55%,transparent);background:color-mix(in srgb,var(--color-verified) 14%,transparent)}.highlight-rect[data-status=needs_review]{border-color:color-mix(in srgb,var(--color-review) 65%,transparent);background:color-mix(in srgb,var(--color-review) 18%,transparent)}.highlight-rect[data-status=unsupported]{border-color:color-mix(in srgb,var(--color-unsupported) 65%,transparent);background:color-mix(in srgb,var(--color-unsupported) 18%,transparent)}.highlight-rect.is-active,.highlight-rect:hover{border-width:2px;filter:brightness(.94) saturate(1.3)}.highlight-rect.is-pulsing{animation:pulse-ring .9s ease 2}@keyframes pulse-ring{0%{box-shadow:0 0 color-mix(in srgb,var(--color-accent) 55%,transparent)}70%{box-shadow:0 0 0 8px color-mix(in srgb,var(--color-accent) 0%,transparent)}to{box-shadow:0 0 0 0 transparent}}.field-pane{flex:1 1 45%;min-width:320px;min-height:0;display:flex;flex-direction:column}.field-pane-header{padding:12px 16px;border-bottom:1px solid var(--color-border);background:var(--color-surface);display:flex;flex-direction:column;gap:10px}.counts-strip{display:flex;gap:8px;flex-wrap:wrap}.count-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:12px;font-family:var(--font-mono);border:1px solid var(--color-border);background:var(--color-surface-sunken);cursor:pointer}.count-chip.is-active{border-color:currentColor}.count-chip[data-status=verified]{color:var(--color-verified)}.count-chip[data-status=needs_review]{color:var(--color-review)}.count-chip[data-status=unsupported]{color:var(--color-unsupported)}.filter-row{display:flex;gap:8px}.filter-row .text-input{flex:1}.field-list{flex:1;overflow:auto;list-style:none;margin:0;padding:0}.field-row{padding:10px 16px;border-bottom:1px solid var(--color-border);cursor:pointer;background:var(--color-surface)}.field-row:hover,.field-row.is-hovered{background:var(--color-surface-sunken)}.field-row.is-selected{background:var(--color-surface-sunken);box-shadow:inset 3px 0 0 var(--color-accent)}.field-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.field-path{font-family:var(--font-mono);font-size:11.5px;color:var(--color-ink-faint)}.status-chip{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap}.status-chip[data-status=verified]{color:var(--color-verified);background:var(--color-verified-bg)}.status-chip[data-status=needs_review]{color:var(--color-review);background:var(--color-review-bg)}.status-chip[data-status=unsupported]{color:var(--color-unsupported);background:var(--color-unsupported-bg)}.status-chip:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.field-value{font-size:14.5px;margin-top:3px;word-break:break-word}.field-value.is-edited{text-decoration:underline dotted;text-decoration-color:var(--color-accent)}.field-reasons{margin-top:5px;font-size:12px;color:var(--color-ink-muted)}.field-reasons li{margin:2px 0 2px 16px}.field-evidence{margin-top:6px;font-family:var(--font-mono);font-size:11.5px;color:var(--color-ink-muted);background:var(--color-surface-sunken);padding:5px 8px;border-radius:var(--radius-sm);border-left:2px solid var(--color-border-strong)}.field-actions{margin-top:8px;display:flex;gap:6px;flex-wrap:wrap}.field-actions .btn{padding:4px 9px;font-size:12px}.review-badge{font-size:11px;color:var(--color-ink-faint);font-family:var(--font-mono);margin-left:6px}.edit-row{display:flex;gap:6px;margin-top:8px}.edit-row .text-input{flex:1}.empty-filtered{padding:40px 20px;text-align:center;color:var(--color-ink-faint)}.toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%) translateY(8px);background:var(--color-ink);color:var(--color-bg);padding:8px 16px;border-radius:var(--radius-sm);font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;z-index:50}.toast.is-visible{opacity:1;transform:translate(-50%) translateY(0)}@media(max-width:860px){.workbench{flex-direction:column}.viewer-pane,.field-pane{flex:none;min-width:0}.viewer-pane{border-right:none;border-bottom:1px solid var(--color-border);max-height:42vh}.field-pane{min-height:0}}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.demo-note{margin:8px 0 0;font-size:12px;line-height:1.45;color:var(--color-ink-faint)}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|