You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create a shared ProPR API client and instance connection model #1954
Create a reusable workspace package for local and remote instance communication, then migrate the Web UI's central transport plumbing to it without changing visible behavior.
Scope
Add a focused packages/client workspace package with typed base-URL handling, REST requests, bearer/session authentication hooks, request cancellation/timeouts, structured errors, compatibility negotiation, and Socket.IO connection/reconnection support.
Model named instance profiles without coupling the package to Electron persistence APIs.
Refactor the central pieces of propr-ui/src/api, runtime configuration, and socket provider to consume the package. Domain-specific UI API modules may remain in propr-ui but should use the shared transport.
Keep same-origin browser deployment working and allow an explicit absolute API URL for desktop use.
Reject malformed or unsafe endpoint configurations and avoid logging credentials.
Add unit tests covering local/remote URLs, auth header behavior, errors, compatibility mismatch, and socket configuration.
Non-goals
Do not add Electron dependencies.
Do not implement the server pairing flow in this issue.
Epic integration contract
Target the ProPR-managed epic base branch selected by the base-1953-epic-desktop-transport-api label; do not target main.
Preserve existing Web UI, CLI, API, and self-hosted deployment behavior.
Add focused automated tests for new behavior and run relevant typecheck/build/test commands.
Do not merge this PR. It must receive Ultrafix and independent review before integration.
Report exact verification commands and any cross-platform behavior that could not be exercised locally.
Implemented by #1965, merged into 1953-epic-desktop-transport-api (2ee3db9). Closing the completed child issue during epic issue/PR reconciliation. Final desktop integration and delivery remain tracked by #1950 / #1970; this does not claim a main-branch release.
Activity
propr-dev commentedon Aug 29, 2026
🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-5.6-sol1954/gpt-5.6-sol-create-a-shared-propr-api-20260829-1408-n3kmainissue-1954-20260829-1408-gpt-5.6-sol-n3k🔍 Track Task Execution
fix(ai): Resolve issue #1954 - Create a shared ProPR API client and i…
integry commentedon Sep 4, 2026
Implemented by #1965, merged into
1953-epic-desktop-transport-api(2ee3db9). Closing the completed child issue during epic issue/PR reconciliation. Final desktop integration and delivery remain tracked by #1950 / #1970; this does not claim a main-branch release.