The context development platform. Store, enrich, and retrieve structured knowledge with graph-native infrastructure, semantic retrieval, and portable context cores. https://trustgraph.ai
Find a file
elpresidank a8390532f7 Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c
git-subtree-dir: ai-context/workbench-ui
git-subtree-split: 32e36a5c2131e429a7081cfaf67dabad3193cda3
2026-04-05 21:08:02 -05:00
.github/workflows Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
docs/tech-specs Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
public Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
pulumi Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
src Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
workbench-ui Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
.gitignore Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
.prettierignore Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
.prettierrc Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
CODEBOT-INSTRUCTIONS.md Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
Containerfile Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
eslint.config.js Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
FLOW-CLASS-NOTES.md Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
index.html Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
LICENSE Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
Makefile Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
package-lock.json Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
package.json Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
palette.svg Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
README.criteria Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
README.md Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
requirements.txt Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
TEST_STRATEGY.md Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
tsconfig.app.json Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
tsconfig.json Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
tsconfig.node.json Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
vite.config.ts Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00
vitest.config.ts Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c 2026-04-05 21:08:02 -05:00

Test Suite for TrustGraph

Setup for Python

pip3 -m venv env
. env/bin/activate
pip3 install -r requirements.txt

Dev mode

npm install
npm run dev

This runs the application in Vite at http://localhost:5173. Note that UI bit works, but the generation part isn't running.

Run it all locally

This builds the UI and the Python package:

make service-package

Then run the Python package which serves the generator and UI:

export PYTHONPATH=workbench-ui
workbench-ui/scripts/service

Generation should work

Run it in a container

Build the container:

make service-package VERSION=0.0.0

and run it

podman run -i -t -p 8080:8080 localhost/workbench-ui:0.0.0

Go to http://localhost:8080

Release it

Deployment is Github actions, automatic to Docker Hub. Deployment kicks in automatically on anything with a version tag. Version tags should be of form v1.2.3. Convention is to have a branch name something like release/vX.Y for version tags of the form vX.Y.Z. So, version v0.1.10 would be release on branch release/v0.1.

On release, container images are pushed to docker hub.

To release with TrustGraph, change the version number of the container in the trustgraph repo, templates/values/images.jsonnet and also in the config portal repo, same filename, templates/values/images.jsonnet.