Skip to content

Creating a harness with UI for dspy interaction#11

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/build-harness-with-ui-files
Draft

Creating a harness with UI for dspy interaction#11
Copilot wants to merge 3 commits intomainfrom
copilot/build-harness-with-ui-files

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 25, 2026

Pull request created by AI Agent

Copilot AI and others added 3 commits April 25, 2026 13:53
- harness/core/service_manager.py: new UvicornService (thread-based),
  SubprocessService (OS process), and ServiceManager with start/stop/restart
- harness/core/main_process.py: add service_manager attribute and
  attach_service_manager()
- harness/server/routes/service_routes.py: REST endpoints at /api/services
  to list, start, stop, and restart named services
- harness/server/app.py: mount react/dist/assets/ as StaticFiles when a
  production build exists; register service router
- harness/server/routes/proxy.py: fall back to built react/dist/ static
  files when Vite is unreachable; add path-traversal guard
- harness/main.py: replace raw thread+subprocess management with
  ServiceManager; attach it to MainProcess after startup
- tests/test_service_manager.py: 19 unit tests covering all service types

Agent-Logs-Url: https://github.com/Psyborgs-git/Vloop-harness/sessions/c1e6baca-9b50-4d64-8c49-d5dba1c52c9e

Co-authored-by: Psyborgs-git <49641518+Psyborgs-git@users.noreply.github.com>
…y/path-injection)

Agent-Logs-Url: https://github.com/Psyborgs-git/Vloop-harness/sessions/c1e6baca-9b50-4d64-8c49-d5dba1c52c9e

Co-authored-by: Psyborgs-git <49641518+Psyborgs-git@users.noreply.github.com>
…t(), clean up proxy.py

Agent-Logs-Url: https://github.com/Psyborgs-git/Vloop-harness/sessions/c1e6baca-9b50-4d64-8c49-d5dba1c52c9e

Co-authored-by: Psyborgs-git <49641518+Psyborgs-git@users.noreply.github.com>
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