The full scope across this batch: POST /sessions key→token exchange, SessionStore dual-index with revoke_by_id, CLI Bearer injection (ONTOREF_TOKEN), ontoref setup --gen-keys, install scripts, daemon config form roundtrip, ADR-004/005, on+re self-description update (fully-self-described), and landing page refresh.
16 lines
486 B
Plaintext
16 lines
486 B
Plaintext
# Remote project entry — inline record for ~/.config/ontoref/remote-projects.ncl.
|
|
# Remote projects push their ontology to the daemon via POST /sync.
|
|
# No local file watch. No Nickel import.
|
|
# Register: ontoref project-add-remote <remote-url> <slug>
|
|
|
|
let s = import "ontoref-project.ncl" in
|
|
|
|
s.make_remote_project {
|
|
slug = "my-remote-project",
|
|
remote_url = "git@github.com:org/my-remote-project.git",
|
|
|
|
keys = [
|
|
# { role = 'admin, hash = "$argon2id$v=19$..." },
|
|
],
|
|
}
|