Repository navigation
release: v0.2.0a0 - CLI restructure and package rename - #24
Merged
Merged
Conversation
CLI Changes: - Restructure from `osa ask --assistant hed` to `osa hed ask` - Add assistants registry with status (available/coming soon) - Running bare `osa` now shows available assistants - Each assistant has own subcommand group with ask/chat commands Package Changes: - Rename from `osa` to `open-science-assistant` (osa taken on PyPI) - CLI command remains `osa` for usability - Update CI workflow URLs for new package name
…cture feat: restructure CLI and rename package to open-science-assistant
Member
Author
PR Review SummaryCode Review: PASSNo critical or important issues found. Code is clean, well-structured, and follows project conventions. Error Handling Review: Issues FoundHIGH Severity (3 issues)
MEDIUM Severity (4 issues)
RecommendationFor this release: The CLI is functional and these issues don't block shipping. They affect error messaging, not core functionality. Follow-up: Create an issue to improve error handling in a future PR:
|
- Fix client to use assistant-specific endpoints (e.g., /hed/chat) - Fix BYOK header names to match server expectations - Disable API auth for standalone mode (local CLI use)
BYOK Policy: If user provides their own LLM API key (via X-OpenAI-API-Key, X-Anthropic-API-Key, or X-OpenRouter-API-Key headers), they don't need a server API key. This allows researchers to use the service with their own keys without requiring server authentication. - Modified verify_api_key to check for BYOK headers before requiring API key - Added test for BYOK bypass behavior - Updated error message to mention BYOK option
- Add BYOK documentation to DEPLOYMENT_ARCHITECTURE.md - Add production URLs (osa, osa-dev) and Apache reverse proxy config - Add CLI usage section with all commands - Update README with deployment quick start - Bump version to 0.2.0.dev1 for TestPyPI testing - Fix version test to use dynamic version
neuromechanist
had a problem deploying
to
testpypi
January 10, 2026 00:21 — with
GitHub Actions
Failure
neuromechanist
temporarily deployed
to
testpypi
January 10, 2026 00:32 — with
GitHub Actions
Inactive
- Add TestAssistantSubcommands class with tests for new CLI structure - Test bare 'osa' shows assistants table - Test 'osa hed --help' shows ask/chat commands - Test unavailable assistants (bids, eeglab) reject commands - Add BYOK bypass tests for all providers (OpenAI, Anthropic, OpenRouter) - Fix integration tests: update endpoint /chat -> /hed/chat - Fix integration tests: update header X-OpenRouter-Key -> X-OpenRouter-API-Key - Fix integration tests: update CLI command structure - Support both OPENROUTER_API_KEY and OPENROUTER_API_KEY_FOR_TESTING
Member
Author
PR Review SummaryIssues Addressed in Latest CommitsTest Coverage (Critical)
Documentation
Remaining Issues to ConsiderImportant (from error handling review):
These are valid concerns but can be addressed in a follow-up PR to avoid scope creep. Test Results
Verified Working
|
5 tasks done
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.
Summary
Major release preparing for PyPI publication.
Changes
CLI Restructure
osa <assistant> <command>instead ofosa <command> --assistantosashows available assistants with statusPackage Rename
open-science-assistant(osa was taken)osaCI/CD
Documentation
Test Plan