fleet-memory/hindsight-docs
Nicolò Boschi 627ec5d524
feat: expose document_metadata in API and control plane (#798)
* feat: expose document_metadata in API and control plane

Add document_metadata (sourced from retain_params.metadata) to both
list and get document endpoints. Display it in the control plane
documents table and detail panel. Drop the unused metadata column
from the documents table (was always stored as empty {}).

* fix: code review fixes for document_metadata feature

- Remove unnecessary `import json as _json` (json already imported at module level)
- Simplify redundant truthiness checks in retain_params parsing
- Regenerate OpenAPI spec and client SDKs (Python, TypeScript, Go)
- Add tests for document_metadata in get_document and list_documents

* feat(ui): improve documents table and detail panel

- Relative timestamps with full date on hover
- Remove context column from table
- Metadata shown as k=v badges (blue, like tags)
- Size in bytes instead of chars
- Document IDs wrap instead of truncating
- Detail panel wider (560px)
- Retain params: context, event_date, metadata badges
2026-03-31 11:42:02 +02:00
..
blog Improve OpenClaw post title, tags, and meta description 2026-03-30 15:41:55 -04:00
docs SEO: add title and description to all integration pages (#787) 2026-03-30 17:53:43 -04:00
examples feat: 4-tab code parity across all documentation examples (#613) 2026-03-19 11:31:51 +01:00
scripts SEO: add title and description to all integration pages (#787) 2026-03-30 17:53:43 -04:00
src release(llamaindex): v0.1.3 2026-03-30 18:34:25 +02:00
static feat: expose document_metadata in API and control plane (#798) 2026-03-31 11:42:02 +02:00
versioned_docs SEO: add title and description to all integration pages (#787) 2026-03-30 17:53:43 -04:00
versioned_sidebars Release v0.4.21 2026-03-30 14:52:50 +02:00
.gitignore rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
docusaurus.config.ts Fix blog homepage: Hindsight Cloud section always shows top 3 posts (#770) 2026-03-30 10:40:57 -04:00
package.json SEO: add title and description to all integration pages (#787) 2026-03-30 17:53:43 -04:00
README.md rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
sidebars.ts Convert codex tool_choice test to pytest style (#752) 2026-03-30 11:58:59 +02:00
tsconfig.json rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
versions.json doc: release notes for 0.4.0 (#217) 2026-01-28 16:54:05 +01:00

Website

This website is built using Docusaurus, a modern static website generator.

Installation

npm install

Local Development

npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

USE_SSH=true npm run deploy

Not using SSH:

GIT_USER=<Your GitHub username> npm run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.