Skip to content

[1954 by GPT-5.6 Sol] Create a shared ProPR API client and instance connection model - #1965

Merged
integry merged 1 commit into
1953-epic-desktop-transport-apifrom
1954/gpt-5.6-sol-create-a-shared-propr-api-20260829-1408-n3k
Aug 29, 2026
Merged

[1954 by GPT-5.6 Sol] Create a shared ProPR API client and instance connection model#1965
integry merged 1 commit into
1953-epic-desktop-transport-apifrom
1954/gpt-5.6-sol-create-a-shared-propr-api-20260829-1408-n3k

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #1954

Branch: 1954/gpt-5.6-sol-create-a-shared-propr-api-20260829-1408-n3k
Commits: ✅ Changes committed (7ba9aa5)


AI Processing Completed

Execution Details:

Summary:
Implemented issue #1954.

Summary:

  • Added reusable @propr/client with:
    • Validated same-origin/local/remote base URLs
    • Session and bearer authentication hooks
    • Request cancellation and timeouts
    • Structured transport, HTTP, and compatibility errors
    • Compatibility negotiation
    • Socket.IO connection and reconnection policy
    • Persistence-agnostic named instance profiles
  • Migrated UI runtime validation, central REST transport, compatibility checks, and socket provider.
  • Preserved existing token-refresh, logout, same-origin, hosted-tunnel, and UI behavior.
  • Added focused client tests and CI validation routing.

Verification passed:

npm run typecheck -w @propr/client
npm test -w @propr/client                    # 10 passed
npm run build -w @propr/client
npm pack --dry-run -w @propr/client
npm run typecheck -w propr-ui
npm run lint -w propr-ui -- --max-warnings 0
npm test -w propr-ui                         # 465 passed
npm run build -w propr-ui

Verification ran on Linux. Native Windows/macOS desktop behavior and live Socket.IO reconnection against a remote instance were not exercised locally. actionlint was unavailable, so the workflow change was not independently actionlint-checked.

Detailed Logs:

  • Conversation: 142 messages
  • Session: 01a04ddb-44f9-73e2-b8eb-381a5c39a809

Log files stored at:

  • conversation: /tmp/claude-logs/issue-1954-2026-08-29T14-28-31-861Z-conversation.json
  • output: /tmp/claude-logs/issue-1954-2026-08-29T14-28-31-861Z-output.txt
Latest Conversation Messages

This PR was created automatically by ProPR after processing issue #1954.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

…nstance conn

Implemented by ProPR AI using gpt-5.6-sol model.

Implementation completed successfully.
@integry
integry changed the base branch from main to 1953-epic-desktop-transport-api August 29, 2026 14:31
@integry
integry merged commit 2ee3db9 into 1953-epic-desktop-transport-api Aug 29, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a shared ProPR API client and instance connection model

1 participant