You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(cli): add enterprise-search and code-mode project templates (#76) - #107
python-enterprise-search: BM25-ranked discovery over finance, inventory and support tools.
python-code-mode: JavaScript workflows using the existing native QuickJS sandbox.
Changes
Register both templates in CLI arguments, help and interactive selection.
Include complete Python/uv configuration, dependency files, environment examples and READMEs.
Add read-only demonstration tools and a multi-tool JavaScript example.
Configure execution limits and worker cleanup on shutdown or failed startup.
Fix validation incorrectly scanning the vendored SDK.
Fix upgrades corrupting uv source mappings.
Verify generated projects, installed SDK distributions and real stdio operation.
Based directly on develop, without dependencies on open feature PRs.
Testing
Added 15 feature tests covering generation, validation, upgrade, packaging,
discovery, schemas, real stdio requests, QuickJS execution, timeouts and cleanup.
Final full-suite results:
Environment
Result
Linux Python 3.10
1,069 passed
Linux Python 3.11
1,069 passed
Linux Python 3.12
1,069 passed
Windows Python 3.12
1,052 passed, 17 existing skips
git diff --check and uv lock --check pass.
Platform notes
Actual QuickJS execution was verified on Linux. Windows tests verify the
missing-binding diagnostic; existing skips cover optional QuickJS and symlink support.
Earlier Windows runs encountered intermittent OAuth socket failures that also
reproduced on unchanged develop. The final Windows rerun passed.
Hosted CI will run after opening the PR against develop.
Create 2 different projects using the nitrostack-py cli tool, and choose these newly added templates code-mode for one, and entreprise-search for another.
Once projects are created, run them locally, run them with Nitrostudio, execute tools and 'AI Chat' on those projects
And also use pack command from cli to create .whl of those projects and deploy them to test accounts.
Testing Results – python-code-mode and python-enterprise-search Templates
Successfully tested both newly introduced project templates using the nitrostack-py CLI.
1. Project Creation and Setup
Created code-mode-demo using the python-code-mode template.
Created enterprise-search-demo using the python-enterprise-search template.
Both projects were generated successfully, and their dependencies were installed.
2. Local Execution and Validation
Successfully validated both projects using nitrostack-py validate.
Both projects started and ran locally without blocking issues.
Verified the generated project configurations and functionality.
3. NitroStudio and AI Chat
Successfully connected and tested both projects through NitroStudio.
Verified tool discovery and execution.
Tested AI Chat and confirmed that the projects could execute the expected tool workflows and return responses.
4. Packaging and Deployment
Successfully used the nitrostack-py pack command to generate .whl packages for both projects.
Verified the generated packages.
Successfully deployed both projects to the test accounts and confirmed that they worked as expected.
Overall Result: Both newly introduced templates, python-code-mode and python-enterprise-search, were successfully tested across project generation, local execution, NitroStudio integration, tool execution, AI Chat, packaging, and deployment. No blocking issues were encountered during testing.
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
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
Closes #76.
Adds two standalone Python project templates:
python-enterprise-search: BM25-ranked discovery over finance, inventory and support tools.python-code-mode: JavaScript workflows using the existing native QuickJS sandbox.Changes
Based directly on
develop, without dependencies on open feature PRs.Testing
Added 15 feature tests covering generation, validation, upgrade, packaging,
discovery, schemas, real stdio requests, QuickJS execution, timeouts and cleanup.
Final full-suite results:
git diff --checkanduv lock --checkpass.Platform notes
Actual QuickJS execution was verified on Linux. Windows tests verify the
missing-binding diagnostic; existing skips cover optional QuickJS and symlink support.
Earlier Windows runs encountered intermittent OAuth socket failures that also
reproduced on unchanged develop. The final Windows rerun passed.
Hosted CI will run after opening the PR against develop.