{"id":51192140,"url":"https://github.com/harborclient/plugin-request-history","last_synced_at":"2026-06-27T16:02:34.099Z","repository":{"id":367203542,"uuid":"1279728348","full_name":"harborclient/plugin-request-history","owner":"harborclient","description":"A HarborClient plugin that records every completed HTTP request and displays them in a Recent Requests sidebar section.","archived":false,"fork":false,"pushed_at":"2026-06-25T02:57:54.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-25T03:08:49.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harborclient.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-25T01:03:01.000Z","updated_at":"2026-06-25T02:57:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/harborclient/plugin-request-history","commit_stats":null,"previous_names":["harborclient/plugin-request-history"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/harborclient/plugin-request-history","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harborclient%2Fplugin-request-history","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harborclient%2Fplugin-request-history/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harborclient%2Fplugin-request-history/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harborclient%2Fplugin-request-history/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harborclient","download_url":"https://codeload.github.com/harborclient/plugin-request-history/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harborclient%2Fplugin-request-history/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34859073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-27T16:02:33.452Z","updated_at":"2026-06-27T16:02:34.091Z","avatar_url":"https://github.com/harborclient.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Recent Requests\n\nA HarborClient plugin that records every completed HTTP request and displays them in a **Recent Requests** sidebar section below Collections and Environments.\n\n## Features\n\n- Captures method, URL, status code, and timestamp for each send\n- Collapsible sidebar section matching the built-in Collections / Environments pattern\n- Persists history across app restarts (up to 100 entries)\n- Click a row to open the request in the editor (collection requests reopen their saved tab; others open a draft with captured method, URL, headers, params, and body)\n- Clear button to remove all recent entries\n\n## Permissions\n\n| Permission | Purpose                                        |\n| ---------- | ---------------------------------------------- |\n| `ui`       | Sidebar section and toasts                     |\n| `storage`  | Persist recent request list                    |\n| `http`     | Observe completed HTTP requests (main process) |\n| `ipc`      | Bridge session captures to the renderer        |\n\n## Limitations\n\n- Only **completed** exchanges are recorded. Network-level failures (DNS, timeout, connection refused) are not captured because the host fires `onAfterSend` only when `result.error` is absent.\n- HTTP error responses (4xx, 5xx) **are** recorded.\n- Saved collection requests reopen only when that request is already loaded in memory or its collection is open in the sidebar cache.\n\n## Development\n\n```bash\npnpm install\npnpm build\n```\n\nLoad the plugin folder via **Settings → Plugins → Load unpacked…**, then enable it.\n\nFor day-to-day work:\n\n```bash\npnpm dev\nHARBOR_PLUGINS_DEV=/path/to/harborclient-plugin-recent-requests pnpm dev\n```\n\n(in the HarborClient app checkout)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharborclient%2Fplugin-request-history","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharborclient%2Fplugin-request-history","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharborclient%2Fplugin-request-history/lists"}