Skip to content

Conversation

spinualexandru
Copy link
Contributor

@spinualexandru spinualexandru commented Sep 19, 2025

Demo

Screenshots Success Message snapshot_2025-09-19_10-10-33

No Update
snapshot_2025-09-19_10-11-05

Suggestion
snapshot_2025-09-19_10-11-19

Update Available
snapshot_2025-09-19_11-21-02

Brief description of what this PR does

  • Adds /update command with the following sub-statuses
    • Checking for an update
    • Updating
    • No Update
    • Success
    • Error
  • Changes the status section recommendation message to either run update or npm update -g @motesoftware/nanocoder
  • Adds pull request template
  • Removes the duplicates from .gitignore and groups them

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing

Tested manually

  • Tested with Ollama (not applicable)
  • Tested with OpenRouter (not applicable)
  • Tested with OpenAI-compatible API (not applicable)
  • Tested MCP integration (not applicable)

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated (if needed)
  • No breaking changes (or clearly documented)

@Copilot Copilot AI review requested due to automatic review settings September 19, 2025 08:31
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds an /update command to enable automatic updating of Nanocoder from within the CLI interface, providing real-time status feedback during the update process.

  • Introduces /update command with checking, updating, success, and error states
  • Updates status section to show both /update command and npm command options
  • Adds GitHub pull request template for standardized PR workflows

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
source/components/update-message.tsx New component handling update process with status tracking and user feedback
source/commands/update.tsx Command definition for the /update functionality
source/commands/index.ts Export declaration for the new update command
source/app/hooks/useAppInitialization.tsx Registration of update command in the command registry
source/components/status.tsx Updated recommendation text to include /update option
README.md Documentation updates for the new /update and /theme commands
.github/pull_request_template.md New pull request template for consistent PR structure

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

1 participant