Repository navigation
Conversation
raylim
force-pushed
the
codex/wsi-rd-agent
branch
from
September 30, 2026 19:05
4902f1f to
50c6186
Compare
This was referenced Sep 30, 2026
raylim
force-pushed
the
codex/wsi-rd-agent
branch
from
September 30, 2026 19:37
50c6186 to
1a2f928
Compare
raylim
force-pushed
the
codex/wsi-rd-agent
branch
from
September 30, 2026 20:22
1a2f928 to
d3dfe12
Compare
raylim
added a commit
that referenced
this pull request
Oct 8, 2026
Rebuilt on codex/wsi-viewer-package (slide timing out, clinical section, patient tab URL scoping) with the updated children: study #17, molecular #18, agent #20 (with annotations #19) and study slides #23. #21 is closed: its patient-tab URL scoping is now in the base and its slide timeline moved to #28, so the timeline files, timing fields and mock routes it brought in are left out. The previous head is kept as a parent so the update is a fast-forward; this commit keeps the rebuilt tree. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
raylim
added a commit
that referenced
this pull request
Oct 12, 2026
raylim
added a commit
that referenced
this pull request
Oct 13, 2026
raylim
added a commit
that referenced
this pull request
Oct 13, 2026
Merges the updated children: #17 b56bec1, #18 ff6ea53, #20 64712b9 (with #19 0b5a959) and #23 35c00aa (with #27 46d3dcb), all on cBioPortal#5732 e90d380. The tree is the children merged onto each other (second parent); the previous integration head stays the first parent so the push fast-forwards. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
raylim
force-pushed
the
codex/wsi-rd-agent
branch
from
October 15, 2026 21:12
4030a75 to
d81dab9
Compare
raylim
added a commit
that referenced
this pull request
Oct 15, 2026
…rge target) Rebuilt from the rebased cBioPortal#5732 (44b68b8) by merging #17 (30456c9), #18 (643d044), #20 (d81dab9, includes #19) and #23 (008ce69). Squash of #22 onto the rebased cBioPortal#5732 after resource table v2 merged upstream. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…er_url rename) # Conflicts: # end-to-end-test-playwright/tests/wsi-foundation-mocks.ts
raylim
added a commit
that referenced
this pull request
Oct 15, 2026
…keys) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
# Conflicts: # packages/cbioportal-wsi-viewer/src/WSIViewer.tsx
# Conflicts: # packages/cbioportal-wsi-viewer/src/WSIViewer.tsx # packages/cbioportal-wsi-viewer/src/wsiViewerController.ts
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…to codex/wsi-rd-agent
raylim
added a commit
that referenced
this pull request
Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
raylim
added a commit
that referenced
this pull request
Oct 22, 2026
…wer base 3857131) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…shed Slide ID) into codex/wsi-rd-agent Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
raylim
added a commit
that referenced
this pull request
Oct 22, 2026
…wer base 72bd40f) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…to codex/wsi-rd-agent Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
raylim
added a commit
that referenced
this pull request
Oct 22, 2026
…wer base f26f4e8) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…I- Slide ID) into codex/wsi-rd-agent Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
raylim
added a commit
that referenced
this pull request
Oct 22, 2026
…wer base 9f86f50) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
# Conflicts: # end-to-end-test-playwright/tests/wsi-foundation-mocks.ts # packages/cbioportal-wsi-viewer/src/wsiAuth.spec.ts
9080899: page sample scope review fixes)
…: page-load slide hash only)
d8228ec: sample-scoped filter counts)
…: Clear filters label)
…: review cleanup)
…abled The backend properties are now wsi.annotation_api.url and wsi.agent.enabled (raylim/cbioportal#9). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
402cdc5: Show all slides only when it changes the list) # Conflicts: # packages/cbioportal-wsi-viewer/src/WSIViewer.foundation.spec.tsx
…: sample chip only when it hides slides)
…: tile requests by key and sealed source, no token) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…: thumbnails without tw/th, ingress-only 401/403, registry generation) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…after cBioPortal#5732 squash-merged as 8052359) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…end master) into codex/wsi-rd-agent Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…service) into codex/wsi-rd-agent Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… a token The assistant routes sit behind the same cookie-authenticating proxy as the annotation service, so the panel uses wsiServiceRequest like the annotations do. - WsiAgentPanel: chat, commit-annotations, apply, complete and reject send credentials: 'include', studyId once in the query and X-Requested-With: XMLHttpRequest, with no Authorization header. The getToken prop becomes studyId; agentEndpoint is removed. - A 401 or 403 shows why in the panel, disables the input, the proposal buttons and auto-approve, and stops requests until the study changes. - WSIViewer: no agent token callback. - Playwright: no access-token mock; asserts studyId, the CSRF header and no Authorization on every annotation and assistant request. - README: documents the assistant routes. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
raylim
added a commit
that referenced
this pull request
Nov 12, 2026
) This merge takes its tree entirely from deploy/wsi-rd-children-20261112 (dd19c06), the second parent: - codex/wsi-study-slide-facets-ui (#29, 7e493f7; stacked on #23 and #27) - codex/wsi-rd-study (#17, 0c999a1) - codex/wsi-rd-molecular (#18, ce690cf) - codex/wsi-summary-timeline (#28, 406f52b) The annotation (#19) and research assistant (#20) branches merged earlier are not part of the result. The first parent keeps the branch's earlier history, so the push is a fast-forward. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fork follow-up stacked on
codex/wsi-rd-annotations(#19). It adds a research assistant panel to the viewer that proposes annotations and viewer actions for the user to approve.Behavior
/agent/chatand streams the reply (server-sent events).commit-annotationsand appear in the annotation list.Service calls and auth
The assistant uses the same service, proxy and request rules as the annotations in #19 (
wsiServiceRequest.ts): the portal session cookie (credentials: 'include'), no token,studyIdexactly once in the query string, andX-Requested-With: XMLHttpRequestplusContent-Type: application/jsonon writes.POST {url}/agent/chat?studyId=…POST {url}/agent/actions/{id}/commit-annotations?studyId=…POST {url}/agent/actions/{id}/apply?studyId=…, then…/complete?studyId=…POST {url}/agent/actions/{id}/reject?studyId=…A 401 ("Sign in to use the research assistant.") or 403 (no access to this study) is shown in the panel, which then disables its input, Apply/Reject and auto-approve and sends nothing more until the study changes. Neither is retried.
Config
wsi_agent_enabled(defaultfalse): the panel stays hidden unless it istrue.wsi_annotation_api_url) is also configured.Backend dependencies
GET /api/studies/{studyId}/access(Add a study access check endpoint for proxy authentication cBioPortal/cbioportal#12505).Tests
WsiAgentPanel.spec.tsx: chat, commit, apply, complete and reject each sendstudyIdonce, the cookie, the CSRF header and noAuthorization; after a 401 or 403 the panel sends nothing more for the study and disables pending proposals.wsi-annotation-agent.spec.ts: checks the same request contract in the browser.🤖 Generated with Claude Code