Skip to content

feat(cli): add enterprise-search and code-mode project templates (#76) - #107

Merged
manish-wekan merged 1 commit into
nitrocloudofficial:developfrom
jpsiddharth2008:feature/issue-76-project-templates
Nov 3, 2026
Merged

manish-wekan merged 1 commit into
nitrocloudofficial:developfrom
jpsiddharth2008:feature/issue-76-project-templates

Conversation

@jpsiddharth2008

Copy link
Copy Markdown
Collaborator

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

  • 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.

@manish-wekan

Copy link
Copy Markdown
Collaborator

@Shreyavemana

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.

@manish-wekan
manish-wekan merged commit 0d51ee4 into nitrocloudofficial:develop Nov 3, 2026
3 checks passed
@Shreyavemana

Copy link
Copy Markdown
Collaborator

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.

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