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

2 participants