@exreve/exk 1.0.29 → 1.0.30

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.
@@ -519,9 +519,7 @@ export class AgentSessionManager {
519
519
  apiKey: CLAUDE_CONFIG.apiKey,
520
520
  model: CLAUDE_CONFIG.model,
521
521
  tools: { type: 'preset', preset: 'claude_code' },
522
- disallowedTools: attachmentDir
523
- ? ['AskUserQuestion', 'analyze_image'] // Disable built-in analyze_image when we have our own
524
- : ['AskUserQuestion'],
522
+ disallowedTools: ['AskUserQuestion', 'analyze_image'], // Disable built-in analyze_image (we provide our own via MCP)
525
523
  settingSources: ['project'], // Enable CLAUDE.md loading
526
524
  permissionMode: 'bypassPermissions',
527
525
  allowDangerouslySkipPermissions: true,
@@ -149,10 +149,8 @@ function getModuleTools(config) {
149
149
  if (config.enabledModules.includes('user-choice')) {
150
150
  tools.push(createUserChoiceTool(config.onChoiceRequest));
151
151
  }
152
- // Always add analyze_image tool if attachmentDir is provided (i.e. there are attachments)
153
- if (config.attachmentDir) {
154
- tools.push(createAnalyzeImageTool(config.attachmentDir));
155
- }
152
+ // Always add analyze_image tool (uses OpenRouter key from ai-config via backend)
153
+ tools.push(createAnalyzeImageTool(config.attachmentDir));
156
154
  // Add more module tools here as they are implemented
157
155
  return tools;
158
156
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exreve/exk",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "exk - Control Claude CLI with voice and programmable interfaces",
5
5
  "type": "module",
6
6
  "bin": {