@mndrk/agx 1.0.0 → 1.0.2
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.
- package/index.js +4 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -185,7 +185,10 @@ if (provider === 'gemini') {
|
|
|
185
185
|
|
|
186
186
|
// Claude-specific translations
|
|
187
187
|
if (options.yolo) translatedArgs.push('--dangerously-skip-permissions');
|
|
188
|
-
|
|
188
|
+
// Default to --print when prompt is provided and --interactive not specified
|
|
189
|
+
if (options.print || (finalPrompt && !options.interactive)) {
|
|
190
|
+
translatedArgs.push('--print');
|
|
191
|
+
}
|
|
189
192
|
if (options.mcp) translatedArgs.push('--mcp-config', options.mcp);
|
|
190
193
|
|
|
191
194
|
// Ollama-specific environment setup
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mndrk/agx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Unified AI Agent Wrapper for Gemini, Claude, and Ollama",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "https://github.com/
|
|
25
|
+
"url": "https://github.com/ramarlina/agx"
|
|
26
26
|
}
|
|
27
27
|
}
|