Skip to content

0.1.0

Choose a tag to compare

@JakeLin JakeLin released this 10 Nov 12:50
· 28 commits to main since this release

πŸŽ‰ Initial Release of @ainativekit/devtools

Development tools for building and testing ChatGPT Apps using ChatGPT Apps SDK.

✨ Features

  • 🎭 Mock ChatGPT Environment with window.openai API
  • 🎨 Theme switching (Light/Dark)
  • πŸ“± Device simulation (Desktop/Tablet/Mobile)
  • πŸ”„ State testing (Loading/Data/Empty/Error)
  • πŸ› Debug overlays for development
  • πŸš€ Zero configuration setup
  • πŸ›‘οΈ Error boundary for graceful error handling
  • πŸ“¦ Full TypeScript support

πŸ“¦ Installation

npm install --save-dev @ainativekit/devtools

πŸš€ Quick Start

import { DevContainer } from '@ainativekit/devtools';
import { ThemeProvider } from '@ainativekit/ui';
import App from './App';

root.render(
  <ThemeProvider>
    {import.meta.env.DEV ? (
      <DevContainer>
        <App />
      </DevContainer>
    ) : (
      <App />
    )}
  </ThemeProvider>
);