Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
cc716dd
downgrade QuantitativeReporting (#2245)
fedorov Nov 12, 2025
fa480a0
Update LanguagePacks extension github organization
lassoan Nov 14, 2025
0497206
Update SlicerMorph to use stable-5.10 branch for Slicer 5.10 stable
muratmaga Nov 21, 2025
7943013
Update SCM URL in TutorialMaker.json
lassoan Dec 4, 2025
ccc9954
Update scm_revision to stable-5.10
muratmaga Dec 7, 2025
905b1f9
Update scm_revision to stable-5.10
muratmaga Dec 7, 2025
96ae0ac
Update scm_revision in SlicerOpenLIFU to be "main"
ebrahimebrahim Dec 5, 2025
d6e960b
Rename SlicerOpenLIFU to OpenLIFU
lassoan Dec 8, 2025
20e0c67
Update SCM URL in MHubRunner.json
LennyN95 Jan 18, 2026
84f8aca
BUG: downgrade PETDICOM extension for 5.10
fedorov Jan 20, 2026
6d2e040
ENH: update PETDICOM extension (#2302)
fedorov Jan 20, 2026
a5285a0
Add KonfAI and ImpactSynth extension to 5.10
vboussot Jan 26, 2026
5cf4334
Add ImpactReg extension to 5.10
vboussot Feb 1, 2026
8678ade
Add VoxTell extension
lassoan Feb 24, 2026
1264aec
Fix extension checks
lassoan Feb 24, 2026
37b6cb4
Add BoneMat extension (#2336)
MaxHoges Apr 21, 2026
62b716c
Add SEEGContactDetector to 5.10 index (#2347)
JakubSmid May 7, 2026
4d2cd0c
ENH: Add RadReirradiation extension
LuisParedesOcampo May 12, 2026
c600644
Fix github rate limit error
lassoan May 14, 2026
4c9009f
Add SimVascular extension
lassoan May 2, 2026
13fc22f
MorphoDepot: pin 5.10 stable to the 5.10 branch (#2362)
muratmaga Jun 18, 2026
a4ed8f2
Add MONAIPhysio extension (Slicer 5.10)
aylward Nov 5, 2026
e5ab3ff
Allow repository name monai-physio-slicer
aylward Nov 5, 2026
7ce1f2f
Add WebSubInterface extension
mbellehumeur Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/extension-ai-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ jobs:

- name: Run AI analysis
env:
NEBULA_API_KEY: ${{ secrets.NEBULA_API_KEY }}
INFERENCE_URL: ${{ vars.INFERENCE_URL }}
INFERENCE_MODEL: ${{ vars.INFERENCE_MODEL }}
INFERENCE_API_KEY: ${{ secrets.INFERENCE_API_KEY }}
id: ai-analysis
run: |
RESULT=$(python scripts/extension_ai_analysis.py \
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/extension-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ jobs:
- name: Run extension validation
id: extension-validation
continue-on-error: true
env:
# Used by scripts/check_description_files.py for authenticated GitHub topics API requests.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p /tmp/validation-reports
python scripts/check_description_files.py \
Expand Down
9 changes: 9 additions & 0 deletions BoneMat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
"build_dependencies": [],
"build_subdirectory": ".",
"category": "Surface Models",
"scm_revision": "main",
"scm_url": "https://github.com/modenaxe/SlicerBoneMat.git",
"tier": 1
}
11 changes: 11 additions & 0 deletions ImpactReg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
"build_dependencies": [
"KonfAI"
],
"build_subdirectory": ".",
"category": "Registration",
"scm_revision": "main",
"scm_url": "https://github.com/vboussot/SlicerImpactReg",
"tier": 3
}
11 changes: 11 additions & 0 deletions ImpactSynth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
"build_dependencies": [
"KonfAI"
],
"build_subdirectory": ".",
"category": "Image Synthesis",
"scm_revision": "main",
"scm_url": "https://github.com/vboussot/SlicerImpactSynth",
"tier": 3
}
9 changes: 9 additions & 0 deletions KonfAI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
"build_dependencies": [],
"build_subdirectory": ".",
"category": "Pipelines",
"scm_revision": "main",
"scm_url": "https://github.com/vboussot/SlicerKonfAI",
"tier": 3
}
2 changes: 1 addition & 1 deletion LanguagePacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"build_subdirectory": ".",
"category": "Utilities",
"scm_revision": "main",
"scm_url": "https://github.com/Slicer/SlicerLanguagePacks",
"scm_url": "https://github.com/SoniaPujolLab/SlicerLanguagePacks",
"tier": 5
}
2 changes: 1 addition & 1 deletion MHubRunner.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"build_subdirectory": ".",
"category": "Examples",
"scm_revision": "main",
"scm_url": "https://github.com/LennyN95/SlicerMHubRunner",
"scm_url": "https://github.com/MHubAI/SlicerMHubRunner",
"tier": 3
}
11 changes: 11 additions & 0 deletions MONAIPhysio.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.2.json#",
"build_dependencies": [],
"build_subdirectory": ".",
"category": "Simulation",
"enabled": true,
"scm_revision": "5.10",
"scm_type": "git",
"scm_url": "https://github.com/Project-MONAI/monai-physio-slicer.git",
"tier": 1
}
4 changes: 2 additions & 2 deletions MorphoDepot.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
],
"build_subdirectory": ".",
"category": "SlicerMorph",
"scm_revision": "main",
"scm_url": "https://github.com/MorphoCloud/SlicerMorphoDepot.git",
"scm_revision": "5.10",
"scm_url": "https://github.com/SlicerMorph/SlicerMorphoDepot.git",
"tier": 1
}
2 changes: 1 addition & 1 deletion SlicerOpenLIFU.json → OpenLIFU.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build_dependencies": [],
"build_subdirectory": ".",
"category": "Utilities",
"scm_revision": "v1.5.0",
"scm_revision": "main",
"scm_url": "https://github.com/OpenwaterHealth/SlicerOpenLIFU.git",
"tier": 1
}
2 changes: 1 addition & 1 deletion PETDICOMExtension.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build_dependencies": [],
"build_subdirectory": ".",
"category": "Converters",
"scm_revision": "master",
"scm_revision": "5.10",
"scm_url": "https://github.com/QIICR/Slicer-PETDICOMExtension.git",
"tier": 3
}
2 changes: 1 addition & 1 deletion Photogrammetry.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"build_subdirectory": ".",
"category": "Photogrammetry",
"scm_revision": "master",
"scm_revision": "stable-5.10",
"scm_url": "https://github.com/SlicerMorph/SlicerPhotogrammetry.git",
"tier": 1
}
2 changes: 1 addition & 1 deletion QuantitativeReporting.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"build_subdirectory": ".",
"category": "Informatics",
"scm_revision": "master",
"scm_revision": "2c0112785c9ba3af9be6a1f86d5ed7bb8b700705",
"scm_url": "https://github.com/QIICR/QuantitativeReporting.git",
"tier": 5
}
8 changes: 8 additions & 0 deletions RadReirradiation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
"build_subdirectory": ".",
"category": "Radiotherapy",
"scm_revision": "main",
"scm_url": "https://github.com/LuisParedesOcampo/SlicerRadReirradiation",
"tier": 1
}
12 changes: 12 additions & 0 deletions SEEGContactDetector.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
"category": "IGT",
"tier": 3,
"scm_url": "https://github.com/EpiReC-ISARG/SlicerSEEGContactDetector",
"scm_type": "git",
"scm_revision": "5.10",
"build_dependencies": [
"HDBrainExtraction"
],
"build_subdirectory": "."
}
9 changes: 9 additions & 0 deletions SimVascular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
"build_dependencies": [],
"build_subdirectory": ".",
"category": "Simulation",
"scm_revision": "main",
"scm_url": "https://github.com/SimVascular/SlicerSimVascular",
"tier": 3
}
2 changes: 1 addition & 1 deletion SlicerANTsPy.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build_dependencies": [],
"build_subdirectory": ".",
"category": "Registration",
"scm_revision": "main",
"scm_revision": "stable-5.10",
"scm_url": "https://github.com/SlicerMorph/SlicerANTsPy.git",
"tier": 3
}
2 changes: 1 addition & 1 deletion SlicerMorph.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"build_subdirectory": ".",
"category": "SlicerMorph",
"scm_revision": "master",
"scm_revision": "stable-5.10",
"scm_url": "https://github.com/SlicerMorph/SlicerMorph.git",
"tier": 5
}
2 changes: 1 addition & 1 deletion TutorialMaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"build_subdirectory": ".",
"category": "Developer Tools",
"scm_revision": "main",
"scm_url": "https://github.com/SlicerLatinAmerica/SlicerTutorialMaker.git",
"scm_url": "https://github.com/SoniaPujolLab/SlicerTutorialMaker.git",
"tier": 1
}
11 changes: 11 additions & 0 deletions VoxTell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
"build_dependencies": [
"PyTorch"
],
"build_subdirectory": ".",
"category": "Segmentation",
"scm_revision": "main",
"scm_url": "https://github.com/lassoan/SlicerVoxTell",
"tier": 5
}
9 changes: 9 additions & 0 deletions WebSubInterface.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.2.json#",
"build_dependencies": [],
"build_subdirectory": ".",
"category": "Informatics",
"scm_revision": "main",
"scm_url": "https://github.com/mbellehumeur/SlicerWebSub.git",
"tier": 1
}
33 changes: 29 additions & 4 deletions scripts/check_description_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ def check_json_file_format(extension_name, metadata, extension_file_path):
extension_name, check_name,
f"Invalid JSON format: {str(e)}")
# Force using LF-only line endings
with open(extension_file_path, 'r', encoding='utf-8') as f:
# Must open in binary mode to detect line endings
with open(extension_file_path, 'rb') as f:
content = f.read()
if '\r\n' in content or '\r' in content:
if b'\r\n' in content or b'\r' in content:
raise ExtensionCheckError(
extension_name, check_name,
"File contains non-LF line endings (CR or CRLF). Please convert to LF-only line endings.")
Expand Down Expand Up @@ -255,13 +256,36 @@ def check_git_repository_topics(extension_name, metadata):
headers = {
"Accept": "application/vnd.github+json"
}
response = requests.get(url, headers=headers)

# Use authenticated requests when available to reduce rate-limit issues in CI.
github_token = os.environ.get("GITHUB_TOKEN")
if github_token:
headers["Authorization"] = f"Bearer {github_token}"

try:
response = requests.get(url, headers=headers, timeout=30)
except requests.RequestException as exc:
return textwrap.dedent(f"""
Skipping repository topics check for {owner}/{repo}: Failed to query GitHub API ({exc}).
""")

topics = []
if response.status_code == 200:
data = response.json()
topics = data.get("names", [])
elif response.status_code in (403, 429):
try:
message = response.json().get("message", response.text)
except ValueError:
message = response.text
return textwrap.dedent(f"""
Skipping repository topics check for {owner}/{repo}: GitHub API rate limit reached ({response.status_code}: {message}).
To enforce this check in CI, set GITHUB_TOKEN for authenticated API requests.
""")
else:
raise ValueError(f"Failed to get github topics for {owner}/{repo}: Error {response.status_code}: {response.text}")
raise ExtensionCheckError(
extension_name, check_name,
f"Failed to get github topics for {owner}/{repo}: Error {response.status_code}: {response.text}")

if "3d-slicer-extension" not in topics:
raise ExtensionCheckError(
Expand Down Expand Up @@ -669,6 +693,7 @@ def main():
"MeshStatisticsExtension",
"MeshToLabelMap",
"ModelClip",
"monai-physio-slicer",
"MONAILabel",
"mpReview",
"NeedleFinder",
Expand Down
30 changes: 22 additions & 8 deletions scripts/extension_ai_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,20 @@
import subprocess
import shutil

# Use Nebula Block API endpoint for chat completions.
# It offers capable models for free with an OpenAI-compatible API.
INFERENCE_URL = "https://inference.nebulablock.com/v1/chat/completions"
INFERENCE_MODEL = "mistralai/Mistral-Small-3.2-24B-Instruct-2506"
INFERENCE_RESPONSE_PER_MINUTE_LIMIT = 4 # slow down to not exceed token per minute (tpm) limit of 60k
INFERENCE_API_KEY = os.getenv("NEBULA_API_KEY")
INFERENCE_MAX_CHARACTERS = 100000 # max characters in all files provided to the model, approximately 25k tokens (limit is 32k)

# Get inference server configuration from environment variables
INFERENCE_URL = os.getenv("INFERENCE_URL")
if not INFERENCE_URL:
raise ValueError("INFERENCE_URL environment variable is not set. Please set it before running the script.")
INFERENCE_MODEL = os.getenv("INFERENCE_MODEL")
if not INFERENCE_MODEL:
raise ValueError("INFERENCE_MODEL environment variable is not set. Please set it before running the script.")
INFERENCE_API_KEY = os.getenv("INFERENCE_API_KEY")
if not INFERENCE_API_KEY:
raise ValueError("INFERENCE_API_KEY environment variable is not set. Please set it before running the script.")

INFERENCE_RESPONSE_PER_MINUTE_LIMIT = 10 # slow down to not exceed token per minute (tpm) limit
INFERENCE_MAX_CHARACTERS = 400000 # max characters in all files provided to the model, approximately 100k tokens

QUESTIONS = [
["Is there a EXTENSION_DESCRIPTION variable in the CMakeLists.txt file that describes what the extension does in a few sentences that can be understood by a person knowledgeable in medical image computing?", ["cmake"]],
Expand Down Expand Up @@ -130,7 +137,9 @@ def collect_analyzed_files(folder):
def ask_question(system_msg, question):
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {INFERENCE_API_KEY}"
"Authorization": f"Bearer {INFERENCE_API_KEY}",
"HTTP-Referer": "slicer.org", # Optional. Site URL for rankings on openrouter.ai.
"X-Title": "3D Slicer", # Optional. Site title for rankings on openrouter.ai.
}

messages = [
Expand All @@ -157,6 +166,11 @@ def ask_question(system_msg, question):
try:
answer = response.json()["choices"][0]["message"]["content"]
except Exception as e:
import traceback
traceback.print_exc()
print(f"Request data: {data}", file=sys.stderr)
print(f"Response status code: {response.status_code}", file=sys.stderr)
print(f"Response content: {response.text}", file=sys.stderr)
raise RuntimeError(f"Error or unexpected response: {response.json()["error"]["message"]}")

return answer
Expand Down