Skip to content

feat(org): Phase 4 standalone export Vite package - #68

Merged
XYAIStudio merged 2 commits into
mainfrom
cursor/org-export-standalone-phase4-d3c8
Sep 19, 2026
Merged

XYAIStudio merged 2 commits into
mainfrom
cursor/org-export-standalone-phase4-d3c8

Conversation

@XYAIStudio

@XYAIStudio XYAIStudio commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Summary

Start Phase 4 of the org merge: productize freeos org export-standalone into a customer-deployable openXYOS-style web package generated from the same dashboard/src/org-ui source of truth.

The CLI now copies scripts/org-export/template/ plus dashboard/src/org-ui (tests excluded) and writes a runnable Vite app:

  • OpenApp-like routes: workspace (/app), announcements, org, employees, skills, agents, tasks, knowledge, reflections, governance, settings
  • Standalone IdentityBridge with local JWT (openxyos.standalone.jwt), distinct from the FreeOS Dashboard session
  • Login page → POST /api/auth/login
  • Interim API path: same-origin /api proxied to a FreeOS host (FREEOS_UPSTREAM / /api/org-module/*)
  • Dockerfile, docker-compose.yml, Node server/proxy.mjs, and customer README.md
  • Chat is not exported (/chat is 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

  • Base is main (Phase 3 Open-12 landed here; this continues that train)

Type of change

  • New feature
  • Documentation

Test plan

  • uv run pytest tests/unit/cli/test_org_export_standalone.py -q — 2 passed
  • cd dashboard && npx vitest run src/org-ui/bridges/localJwt.test.ts — 5 passed
  • uv run freeos org export-standalone --out /tmp/openxyos-web then npm install && npm run build — Vite production build succeeded
  • npx tsc --noEmit in dashboard/
  • Full make all (CI)

Checklist

  • Updated CHANGELOG.md (if user-facing)
  • README / docs updated (docs/org-export.md, docs/org-merge-plan.md Phase 4)
Open in Web Open in Cursor 

cursoragent and others added 2 commits September 19, 2026 05:28
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>
@XYAIStudio
XYAIStudio marked this pull request as ready for review September 19, 2026 05:30
@XYAIStudio
XYAIStudio merged commit 7092f65 into main Sep 19, 2026
4 checks passed
@XYAIStudio
XYAIStudio deleted the cursor/org-export-standalone-phase4-d3c8 branch September 19, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants