Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a4e127a
feat(templates): typed, server-only client for definitions-worker
zer0stars Aug 30, 2026
ea6c480
feat(templates): the divergence model
zer0stars Aug 30, 2026
ca27158
feat(templates): typed coercion, normalisation report, validation mirror
zer0stars Aug 30, 2026
00a2b0b
feat(templates): the trim grid
zer0stars Aug 30, 2026
0ecf697
feat(templates): browse device definitions and their template state
zer0stars Aug 30, 2026
69587e3
feat(templates): per-caller authorization for template writes
zer0stars Aug 30, 2026
3bea1b2
feat(templates): normalisation report, selector editor, entitlement b…
zer0stars Aug 30, 2026
752d3f7
feat(templates): the editor page
zer0stars Aug 30, 2026
14fa189
feat(templates): create a template that does not exist yet
zer0stars Aug 30, 2026
e96a4d6
docs: implementation plan for the Console template editor
zer0stars Aug 30, 2026
733272b
feat(templates): guard the generated types against schema drift
zer0stars Aug 30, 2026
646c1a4
fix(templates): gate hardwareTemplateId on every trim, not only the t…
zer0stars Sep 14, 2026
2b91efd
fix(templates): fail closed when identity cannot answer an entitlemen…
zer0stars Sep 14, 2026
8dca70a
feat(templates): let the editor author a per-trim attribute
zer0stars Sep 15, 2026
e1b0690
fix(templates): stamp the manufacturer token id and re-vendor the con…
zer0stars Sep 15, 2026
0c8e35b
fix(templates): never turn a client If-Match into a create
zer0stars Sep 15, 2026
085fc42
fix(templates): count the vehicles before granting publish on an abse…
zer0stars Sep 15, 2026
1c42fe9
fix(templates): stop the selector field eating the separator as you type
zer0stars Sep 15, 2026
0c7b808
Miss the edge cache on every template read that feeds a write
zer0stars Sep 19, 2026
37134c8
Reload the conflict panel onto the document it reloaded
zer0stars Sep 19, 2026
77651fc
Tell an unregistered make apart from an identity outage
zer0stars Sep 19, 2026
1a4791b
Key trim rows on position, not on the name being typed
zer0stars Sep 19, 2026
2322ce0
Let a create say it is a create
zer0stars Sep 19, 2026
c809e77
Re-vendor the template contract from the worker
zer0stars Sep 19, 2026
90b8cac
Name a blank selector entry before the worker has to
zer0stars Sep 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,22 @@ RPC_URL=<YOUR_RPC>
NEXT_PUBLIC_TURNKEY_API_BASE_URL="https://api.turnkey.com"
NEXT_PUBLIC_RPID="localhost"
NEXT_PUBLIC_GA_API=<YOUR_ACCOUNTS_API_URL>

# Vehicle templates. Both are server-only -- no NEXT_PUBLIC_ prefix, ever.
DEFINITIONS_WRITE_TOKEN=<WRITE_TOKEN_FOR_DEFINITIONS_WORKER>
DIMO_CURATOR_ADDRESSES=<COMMA_SEPARATED_0X_ADDRESSES>
```

Make sure that the `NEXT_PUBLIC_GA_API` maps to your [Accounts API](https://github.com/DIMO-Network/accounts/tree/main) deployment URL.

`DEFINITIONS_WRITE_TOKEN` is the bearer token for `PUT /t/:id` on
[definitions-worker](https://github.com/DIMO-Network/definitions-worker). It is
read only by `src/services/definitions.ts`, which throws if it is ever evaluated
in a browser — the token must never reach a client bundle.
`DIMO_CURATOR_ADDRESSES` lists the addresses allowed to set
`hardwareTemplateId`, which decides what hardware ships and is never open to
contributors.

3. Install the dependencies:

```bash
Expand Down
Loading