gekto 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -152,8 +152,8 @@ export function deleteSession(lizardId) {
152
152
  sessions.delete(lizardId);
153
153
  }
154
154
  export function getWorkingDir() {
155
- // In development, use test-app as the working directory
156
- if (process.env.NODE_ENV !== 'production') {
155
+ // In dev mode (GEKTO_DEV=1), use test-app as the working directory
156
+ if (process.env.GEKTO_DEV === '1') {
157
157
  return path.resolve(process.cwd(), '../test-app');
158
158
  }
159
159
  return process.cwd();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gekto",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "AI coding assistant widget - inject into any web app",
5
5
  "type": "module",
6
6
  "bin": {