Skip to content

feat: implement the endpoint overview extension - #257

Draft
toku-sa-n wants to merge 19 commits into
DeNA:masterfrom
toku-sa-n:feat/endpoint-overview-extension
Draft

toku-sa-n wants to merge 19 commits into
DeNA:masterfrom
toku-sa-n:feat/endpoint-overview-extension

Conversation

@toku-sa-n

Copy link
Copy Markdown
Contributor

傍受したエンドポイントを一覧にする拡張機能を作成しました。

@toku-sa-n
toku-sa-n force-pushed the feat/endpoint-overview-extension branch 4 times, most recently from 26b0070 to 856340a Compare July 10, 2026 11:38
toku-sa-n and others added 19 commits November 19, 2026 14:27
Aggregate HTTP endpoints from packet history and display them in a
host/path/method/query tree with request/response details on selection.

Co-authored-by: Cursor <cursoragent@cursor.com>
Persist Authorization header profiles in Options and resend selected
endpoints with a chosen session. Also simplify the endpoint tree when
only one query variant exists for a method.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add Authorization extraction utility and let users save session profiles
from a History request without going through Options import.

Co-authored-by: Cursor <cursoragent@cursor.com>
Drop count aggregation and (×N) labels; keep status code summaries and
latest packet selection for resend.

Co-authored-by: Cursor <cursoragent@cursor.com>
Centralize session profile persistence in the save dialog and prompt before overwriting an existing profile with the same name.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wrap user-visible labels and messages in I18nString and add Japanese translations in strings_ja.properties.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use the active request tab content when resending so panel edits are included in Send.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove EndpointTreeLeaf and show each method/query variant as a labeled leaf directly under the path node.

Co-authored-by: Cursor <cursoragent@cursor.com>
Stop auto-expanding host nodes after scan and filter so the tree starts fully collapsed.

Co-authored-by: Cursor <cursoragent@cursor.com>
Hide the synthetic Endpoints root with isRootVisible=false and remove EndpointTreeRoot.

Co-authored-by: Cursor <cursoragent@cursor.com>
Expand the invisible root and collapse only host children so domains remain visible.

Co-authored-by: Cursor <cursoragent@cursor.com>
Inject packetProvider into GUIData so resend actions use the selected
endpoint's packet metadata instead of History id 0, and fall back to
serverName when building URLs without a Host header.

Co-authored-by: Cursor <cursoragent@cursor.com>
Route the extension panel send button through resendActiveRequest()
so response updates use the same Kotlin process callback as toolbar Send.

Co-authored-by: Cursor <cursoragent@cursor.com>
Inject sessionProfileProvider into the request panel so resendActiveRequest
uses SessionRequestModifier like toolbar Send.

Co-authored-by: Cursor <cursoragent@cursor.com>
Group same-method endpoints in the tree and show differing fields in a side panel so duplicate labels can be distinguished.

Co-authored-by: Cursor <cursoragent@cursor.com>
Include SHA-256 of the request body in the aggregation key so same URL with different JSON bodies appear as separate variant rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
Convert Session Profile model, GUI, HTTP extractor, and tests to Kotlin
while keeping Java interop for existing callers.

Co-authored-by: Cursor <cursoragent@cursor.com>
…is set

The split view's button bar always delegated Resend to resendActiveRequest(),
so the regular History tab also took the new path. That path never calls
markResent() and overwrites the panel with the response, which silently
changed how resending from History behaves.

Only the endpoint overview panel, which sets a session profile provider,
now takes over resend and the context packet; the delegate returns whether
it handled the click so everything else falls back to the existing path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Drop the unused `cookie` column before it ships, since removing it later
  would mean a schema change for existing projects.
- Remove the previous SessionProfiles listener before registering a new one
  in EndpointOverviewExtension, so recreating the panel does not stack them.
- Show a message instead of hitting `!!` when the profile being edited was
  deleted elsewhere before saving.
- Put the new strings_ja keys in the file's existing alphabetical order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@toku-sa-n
toku-sa-n force-pushed the feat/endpoint-overview-extension branch from cb2b339 to 5c18642 Compare November 19, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant