bobbai00 opened a new pull request, #5564: URL: https://github.com/apache/texera/pull/5564
### What changes were proposed in this PR? Reorganizes `agent-service/` with no runtime behavior change: all type/interface definitions move under `types/` (new `types/metadata.ts`, `types/api.ts`, with duplicates removed), `api/` becomes pure HTTP clients (execution client extracted to `api/execution-client.ts`; JWT helpers → `auth/jwt.ts`, endpoint config → `config/endpoints.ts`; `*-api.ts` → `*-client.ts`, `backend-api` → `operator-metadata-client`), and misleading `*Config` types are renamed (`AgentDelegateConfig` → `AgentDelegation`, `TexeraAgentConfig` → `TexeraAgentOptions`, `ExecutionConfig` → `ExecutionRequestParams`). It also de-duplicates the table/IO-shape formatters and fixes three `types/` shapes that had drifted from the frontend wire contract (`CommentBox`, `WorkflowSettings.executionMode`, `WorkflowFatalError`). ### Any related issues, documentation, discussions? Closes #5563 ### How was this PR tested? Refactor with no behavior change; existing `agent-service` tests cover it. From `agent-service/`: `bun install && bun test` (91 pass, 0 fail), `bun run typecheck` (clean), `bun run format:check` (clean). ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.8 (1M context) -- 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]
