diff --git a/.gitignore b/.gitignore index 6ed0479..301a038 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ __pycache__/ *.pyc *.egg-info/ library.sqlite3 +ops/ diff --git a/examples/literature-explorer/demo-token.md b/examples/literature-explorer/demo-token.md new file mode 100644 index 0000000..83ae8e5 --- /dev/null +++ b/examples/literature-explorer/demo-token.md @@ -0,0 +1,2 @@ + +abd358981999c08a4f777efa4f38f2d4990c42e3421342cf9e9b460bf9700e41 diff --git a/examples/literature-explorer/index.html b/examples/literature-explorer/index.html index e0e8433..d555117 100644 --- a/examples/literature-explorer/index.html +++ b/examples/literature-explorer/index.html @@ -52,6 +52,8 @@ position: sticky; top: 1rem; align-self: start; + max-height: calc(100vh - 2rem); + overflow-y: auto; } .content { @@ -191,6 +193,8 @@ .status.error { color: var(--danger); } .status.ok { color: var(--accent-2); } + .status.note { color: #5d4716; } + .meta-grid { display: grid; gap: 0.5rem; @@ -382,6 +386,61 @@ margin-top: 0.75rem; } + .api-reference { + display: grid; + gap: 0.85rem; + } + + .summary-box { + margin-top: 0.75rem; + padding: 0.8rem 0.9rem; + border-radius: 16px; + background: rgba(255, 255, 255, 0.74); + border: 1px solid rgba(73, 57, 35, 0.11); + display: grid; + gap: 0.35rem; + } + + .summary-box strong { + color: var(--ink); + } + + .endpoint-card { + border-radius: 18px; + border: 1px solid rgba(73, 57, 35, 0.11); + background: rgba(255, 255, 255, 0.74); + padding: 0.95rem 1rem; + display: grid; + gap: 0.55rem; + } + + .endpoint-head { + display: flex; + gap: 0.6rem; + align-items: center; + flex-wrap: wrap; + } + + .endpoint-method { + display: inline-flex; + align-items: center; + justify-content: center; + min-width: 4.4rem; + padding: 0.28rem 0.55rem; + border-radius: 999px; + background: var(--accent-2); + color: #f7fbfb; + font-size: 0.78rem; + font-weight: 700; + letter-spacing: 0.04em; + } + + .endpoint-path { + font-family: "IBM Plex Mono", "SFMono-Regular", monospace; + font-size: 0.9rem; + color: var(--ink); + } + @media (max-width: 1080px) { .shell { grid-template-columns: 1fr; } .sidebar { position: static; } @@ -403,11 +462,16 @@
Use graph-limited bootstrap when you want topic seeding and expansion in one pass. The same expansion policy applies to preview and commit.
+Use cites to bias toward newer work, or both for broader graph growth. Recursive rounds stop once the recent-entry target is met.
Health check endpoint. Does not require a bearer token.
+Returns the available operation names and preview-capable actions. Requires Authorization: Bearer <token>.
RPC-style API entry point for search, topic loading, graph traversal, extraction, verification, and topic BibTeX export.
+Bootstrap also accepts expansion policy controls when you want bounded topic seeding plus graph growth in one step.
+Set the token in the sidebar once. The demo stores it in localStorage and attaches it to subsequent /api/* requests.