Skip to content

Add Catnip Feature#1

Open
dai wants to merge 1 commit intomainfrom
install-catnip-1767931665254
Open

Add Catnip Feature#1
dai wants to merge 1 commit intomainfrom
install-catnip-1767931665254

Conversation

@dai
Copy link
Copy Markdown
Owner

@dai dai commented Jan 9, 2026

Add Catnip Feature

This PR adds the Catnip feature to your devcontainer configuration.

Catnip enables agentic coding made fun and productive, accessible from your mobile device.

Changes

  • Created .devcontainer/devcontainer.json to include the Catnip feature
  • Using minimal Ubuntu base image to avoid disk space issues (you can customize the image if needed)

Next Steps

  1. Review and merge this PR
  2. Create a new codespace from this branch or restart your existing codespace
  3. Open the Catnip mobile app to connect

Customization

If you need specific development tools, you can change the base image in .devcontainer/devcontainer.json to:

  • mcr.microsoft.com/devcontainers/python:3.12 for Python development
  • mcr.microsoft.com/devcontainers/javascript-node:20 for Node.js development
  • Or any other devcontainer image

🤖 This PR was created automatically by Catnip

Copilot AI review requested due to automatic review settings January 9, 2026 04:07
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @dai, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates the Catnip agentic coding feature into the project's development environment. It establishes a new devcontainer configuration that provides a standardized and isolated environment for development, enabling seamless access to Catnip's capabilities from a mobile device. The changes focus on setting up the necessary infrastructure to support this new tool.

Highlights

  • Catnip Feature Integration: This pull request introduces the Catnip agentic coding feature by adding a new devcontainer configuration.
  • Devcontainer Configuration: A new .devcontainer/devcontainer.json file is created, utilizing a minimal Ubuntu base image and including the ghcr.io/wandb/catnip/feature:1 feature.
  • Port Forwarding: The devcontainer is configured to forward port 6369, which is necessary for Catnip connectivity.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a devcontainer.json file to integrate the Catnip feature for agentic coding. The configuration is a good starting point. My review focuses on improving the reproducibility and stability of the development environment by suggesting pinning the base image and the Catnip feature to specific versions. These changes will help ensure a consistent and predictable environment for all developers.

@@ -0,0 +1,10 @@
{
"name": "Development Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

To ensure a reproducible build for the development environment, it's a best practice to pin the base image to a specific version instead of using a floating tag like ubuntu. This prevents unexpected issues when the ubuntu tag is updated to a new major version. Please consider using a specific version tag, for example ubuntu-22.04.

Suggested change
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",

"name": "Development Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/wandb/catnip/feature:1": {}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

For better reproducibility, it's recommended to pin the devcontainer feature to a specific, immutable version rather than a major version tag like :1. This practice prevents automatic updates from introducing breaking changes into your development environment. Please consider using a full semantic version (e.g., 1.0.0) or a commit SHA if available.

Copy link
Copy Markdown

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

This PR adds Catnip feature integration to enable agentic coding from mobile devices by creating a devcontainer configuration. The PR is automatically generated by Catnip.

Key changes:

  • Creates .devcontainer/devcontainer.json with Catnip feature configuration
  • Uses Ubuntu base image to minimize disk space usage
  • Configures port forwarding for Catnip connectivity (port 6369)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"name": "Development Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/wandb/catnip/feature:1": {}
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

The Catnip feature version uses ':1' which is a major version tag. While this may be intentional for automatically receiving minor updates and patches, consider using a more specific version tag (e.g., ':1.0.0' or ':1.2.3') to ensure reproducible builds and avoid unexpected breaking changes within the major version.

Suggested change
"ghcr.io/wandb/catnip/feature:1": {}
"ghcr.io/wandb/catnip/feature:1.0.0": {}

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,10 @@
{
"name": "Development Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

The base image uses an unversioned tag 'ubuntu' which could lead to unexpected behavior if the image is updated. Consider pinning to a specific Ubuntu version for reproducibility and stability, such as 'mcr.microsoft.com/devcontainers/base:ubuntu-22.04' or 'mcr.microsoft.com/devcontainers/base:ubuntu-24.04'.

Suggested change
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",

Copilot uses AI. Check for mistakes.
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