bobbai00 opened a new issue, #5748:
URL: https://github.com/apache/texera/issues/5748

   ### Task Summary
   
   Part of #5747 — split out from #5564.
   
   Establish the foundational layer of the `agent-service` reorganization. No 
runtime behavior change.
   
   **Scope**
   - Centralize shared types under `agent-service/src/types/`:
     - consolidate/expand `types/{agent,api,workflow,metadata,index}.ts`
     - move `src/api/backend-api.ts` → `src/types/metadata.ts`
     - update all import sites to the new locations (import-path-only changes)
   - Add `src/config/endpoints.ts` exposing `getServiceEndpoints()` to 
centralize backend base URLs (reads from `config/env`).
   - Move `src/api/auth-api.ts` → `src/auth/jwt.ts` and add 
`src/auth/jwt.test.ts`.
   
   **Why**
   This is the dependency root — types and endpoint config are consumed by the 
HTTP clients, agent tools, and server. Landing it first keeps the follow-up PRs 
small and mechanical.
   
   **Acceptance**
   - `agent-service` builds and existing tests pass.
   - Diffs are file moves + import-path updates only; no behavior change.
   
   ### Task Type
   - [x] Refactor / Cleanup
   - [x] Testing / QA
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to