Skip to content

Implement Phase 5 CLI tooling - #8

Open
bhavani-devi0806 wants to merge 1 commit into
nitrocloudofficial:developfrom
bhavani-devi0806:phase-5-cli-tooling
Open

Implement Phase 5 CLI tooling#8
bhavani-devi0806 wants to merge 1 commit into
nitrocloudofficial:developfrom
bhavani-devi0806:phase-5-cli-tooling

Conversation

@bhavani-devi0806

@bhavani-devi0806 bhavani-devi0806 commented Aug 13, 2026

Copy link
Copy Markdown

I created a new MCP app using the CLI and tested it in NitroStudio. The app connected successfully and the tools ran as expected, confirming the Phase 5 CLI changes did not break app creation or execution.

@manish-wekan manish-wekan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix these issue, and report back

Comment thread nitrostack/cli/upgrade.py
return _DEP_RE.subn(_sub, text)


def _add_to_pyproject_dependencies(text: str, spec: str) -> str:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependencies = [...] regex is non-greedy, so "uvicorn[standard]>=0.20" truncates the captured span at the extras bracket. _add_to_pyproject_dependencies then splices that truncated span back, producing syntactically destroyed TOML. I reproduced the exact mangled output. Given this SDK itself depends on uvicorn, a user hitting this is likely, and there's no backup or rollback.

Comment thread nitrostack/cli/upgrade.py
PYPI_JSON = "https://pypi.org/pypi/nitrostack/json"
PYPI_VERSION_JSON = "https://pypi.org/pypi/nitrostack/{version}/json"

_DEP_RE = re.compile(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_DEP_RE matches nitrostack as a bare substring. nitrostack-studio==1.0.0 becomes nitrostack>=9.9.9-studio==1.0.0. This repo already ships a nitrostack-studio console script, so that naming pattern is live.

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.

3 participants