Skip to content

Add Seqera co-scientist progress band for Claude Code - #6

Open
vpatel85 wants to merge 7 commits into
mainfrom
feature/AI-763-coscientist-band
Open

vpatel85 wants to merge 7 commits into
mainfrom
feature/AI-763-coscientist-band

Conversation

@vpatel85

@vpatel85 vpatel85 commented Oct 21, 2026 •

Copy link
Copy Markdown

Summary

Adds a Claude Code hooks module that shows Seqera co-scientist progress above the prompt.

The hosted Seqera MCP server is gaining co_scientist_* tools (start, status, reply, cancel), which let Claude hand Nextflow and bioinformatics tasks to Seqera's co-scientist agent. They aren't enabled in production yet. When Claude calls them, this module:

  • shows a band above the prompt with co-scientist's state, current steps and cost, and dismisses it when you type
  • adds /co-scientist and a Details button that open a pane with the steps

The module observes tool results only. It doesn't change what Claude sends or receives, and it does nothing when the server doesn't offer the tools, in other clients, or in Codex (the Codex manifest only lists skills and MCP).

Also bumps the version to 0.3.0 in all three manifests.

Test plan

  • claude plugin validate --strict . and .claude-plugin/plugin.json: passed. Validate lists the module's hooks and nextflow.* state keys.
  • claude plugin test .: 14 pass (hooks/panel.test.ts: result parsing, band and pane views, dismiss and reshow)
  • python3 -I tools/check_sources.py and tools/test_consolidate_skills.py: OK
  • CI install steps run locally: Claude Code shows Skills (28) and MCP servers (1) seqera. Codex shows the plugin installed and enabled at 0.3.0 with the seqera MCP server.
  • Same band tested end to end against a local MCP server with the co-scientist tools, in the Claude Code CLI and the Desktop Code tab

🤖 Generated with Claude Code


Note

Low Risk
Read-only UI hooks on MCP tool results; no changes to tool payloads, auth, or Codex behavior beyond versioning.

Overview
Adds Claude Code UI for Seqera co-scientist MCP tool progress and releases 0.3.0.

A new hooks/ module listens to co_scientist_* tool results (start, status, reply, cancel) without changing MCP traffic. It keeps panel state in panel.ts (step accumulation, cost formatting, dismiss/reshow rules) and renders an AbovePrompt band plus a Co-scientist pane via /co-scientist or Details. Ended runs dismiss on the next prompt; working runs stay visible.

Plugin wiring adds hooks/hooks.json, types/index.d.ts, tsconfig.json, and ignores generated .claude-plugin/types/. Codex manifests only get the version bump. README documents the Claude-only behavior.

Reviewed by Cursor Bugbot for commit b166066. Configure here.

vpatel85 and others added 2 commits October 21, 2026 14:50
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vpatel85
vpatel85 marked this pull request as ready for review October 22, 2026 21:45
@vpatel85
vpatel85 requested a review from odagayev October 22, 2026 21:45
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-22T21:45:45.700044Z
We couldn’t complete this review. Comment @codex review to try again.
b166066 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

vpatel85 and others added 5 commits October 27, 2026 09:43
Portal now sends raw tool names and a single summary field; the band derives
its step label from the tool name.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The band now matches co_scientist (new thread, or a follow-up when given
thread_id) plus co_scientist_status/cancel. A follow-up that answers
straight away resets the steps and shows the answer.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The band works with co_scientist_start/status/reply/cancel and with the single
co_scientist tool (a follow-up when given thread_id), so the plugin doesn't
depend on which seqera-mcp shape ships.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Recognise co_scientist_ask/get_status (and the older start/status names, and a
single co_scientist tool) and read thread_id from results.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
seqera-mcp #460 folds co_scientist_reply into co_scientist_ask, so a call that
passes thread_id continues the same thread in the band.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vpatel85
vpatel85 force-pushed the feature/AI-763-coscientist-band branch from dccd2ad to 131bd54 Compare October 28, 2026 18:54
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