feat(org): Phase 4 standalone export Vite package - #68
Merged
Merged
Conversation
Productize freeos org export-standalone into a customer-deployable openXYOS-style web package generated from dashboard/src/org-ui. The CLI copies the Vite+Docker template and org-ui source, wires a local-JWT IdentityBridge distinct from the Dashboard session, and proxies /api to a FreeOS host as the interim commercial path. Sidecar remains in the default installer (Phase 5). Co-authored-by: XYAI Labs <haoboy8@gmail.com>
Fix local JWT header typing, drop an unused login import, and add Node types so `npm run build` succeeds in the generated package. Co-authored-by: XYAI Labs <haoboy8@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Start Phase 4 of the org merge: productize
freeos org export-standaloneinto a customer-deployable openXYOS-style web package generated from the samedashboard/src/org-uisource of truth.The CLI now copies
scripts/org-export/template/plusdashboard/src/org-ui(tests excluded) and writes a runnable Vite app:/app), announcements, org, employees, skills, agents, tasks, knowledge, reflections, governance, settingsopenxyos.standalone.jwt), distinct from the FreeOS Dashboard sessionPOST /api/auth/login/apiproxied to a FreeOS host (FREEOS_UPSTREAM//api/org-module/*)Dockerfile,docker-compose.yml, Nodeserver/proxy.mjs, and customerREADME.md/chatis a deep-link stub)Target end-state (documented, not built here): a self-contained org-module server in the export. Phase 5 installer slim / sidecar removal is deferred — sidecar stays optional.
Target branch
main(Phase 3 Open-12 landed here; this continues that train)Type of change
Test plan
uv run pytest tests/unit/cli/test_org_export_standalone.py -q— 2 passedcd dashboard && npx vitest run src/org-ui/bridges/localJwt.test.ts— 5 passeduv run freeos org export-standalone --out /tmp/openxyos-webthennpm install && npm run build— Vite production build succeedednpx tsc --noEmitindashboard/make all(CI)Checklist
CHANGELOG.md(if user-facing)docs/org-export.md,docs/org-merge-plan.mdPhase 4)