0.1.0
π Initial Release of @ainativekit/devtools
Development tools for building and testing ChatGPT Apps using ChatGPT Apps SDK.
β¨ Features
- π Mock ChatGPT Environment with
window.openaiAPI - π¨ 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>
);