codeep 1.0.67 → 1.0.68

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.
Files changed (2) hide show
  1. package/dist/app.js +28 -0
  2. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -111,6 +111,13 @@ export const App = () => {
111
111
  }
112
112
  setProjectContext(ctx);
113
113
  setPermissionChecked(true);
114
+ // Warn user if Agent Mode is ON but only read permission exists
115
+ const agentMode = config.get('agentMode');
116
+ if (agentMode === 'on' && !hasWrite) {
117
+ setTimeout(() => {
118
+ setNotification('⚠️ Agent Mode is ON but only read access. Use /grant for write access or /agent for manual mode.');
119
+ }, 500);
120
+ }
114
121
  }
115
122
  else {
116
123
  // Need to ask for permission
@@ -120,6 +127,13 @@ export const App = () => {
120
127
  }
121
128
  else {
122
129
  setPermissionChecked(true);
130
+ // Warn user if Agent Mode is ON but not in a project directory
131
+ const agentMode = config.get('agentMode');
132
+ if (agentMode === 'on') {
133
+ setTimeout(() => {
134
+ setNotification('⚠️ Agent Mode is ON but no project detected. Run codeep in a project directory.');
135
+ }, 500);
136
+ }
123
137
  }
124
138
  }
125
139
  }, [showIntro, permissionChecked, projectPath, screen]);
@@ -1259,9 +1273,23 @@ export const App = () => {
1259
1273
  ? 'Project access granted (read + write, this session)'
1260
1274
  : 'Project access granted (read-only, this session)');
1261
1275
  }
1276
+ // Warn user if Agent Mode is ON but write access was not granted
1277
+ const agentMode = config.get('agentMode');
1278
+ if (agentMode === 'on' && !writeGranted) {
1279
+ setTimeout(() => {
1280
+ notify('⚠️ Agent Mode is ON but write access not granted. Use /grant for full agent or /agent for manual.');
1281
+ }, 100);
1282
+ }
1262
1283
  }
1263
1284
  else {
1264
1285
  notify('Project access denied');
1286
+ // Warn user if Agent Mode is ON but access was denied
1287
+ const agentMode = config.get('agentMode');
1288
+ if (agentMode === 'on') {
1289
+ setTimeout(() => {
1290
+ notify('⚠️ Agent Mode is ON but project access denied. Agent cannot run.');
1291
+ }, 100);
1292
+ }
1265
1293
  }
1266
1294
  setScreen('chat');
1267
1295
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",