opencode-pollinations-plugin 6.1.0-beta.26 → 6.1.0-beta.27
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.
|
@@ -8,7 +8,7 @@ CRITICAL: Do not confuse 'Mode' with features. The conceptual "Mode Manuel" usua
|
|
|
8
8
|
To discover model prefixes or precise names, use the 'polli_status' tool.
|
|
9
9
|
|
|
10
10
|
Available settings to modify via this tool:
|
|
11
|
-
1. mode:
|
|
11
|
+
1. mode: Only the high-level tier ("manual", "alwaysfree" or "pro"). WARNING: Changing mode DOES NOT auto-enable paid tools or confirmations. You must change the other flags explicitly!
|
|
12
12
|
2. costEstimator: Show live cost estimates in tool outputs. (false = Silent Mode).
|
|
13
13
|
3. costConfirmationRequired: Safety lock. If true, crossing the threshold requires explicit user confirmation.
|
|
14
14
|
4. enablePaidTools: Let the AI use the paid 'Wallet' balance instead of free tier.
|
|
@@ -19,7 +19,7 @@ Available settings to modify via this tool:
|
|
|
19
19
|
args: {
|
|
20
20
|
action: tool.schema.enum(['view', 'update'])
|
|
21
21
|
.describe('Action to perform: "view" to see current configuration, "update" to modify it.'),
|
|
22
|
-
mode: tool.schema.enum(['manual', 'alwaysfree', 'pro']).optional().describe('
|
|
22
|
+
mode: tool.schema.enum(['manual', 'alwaysfree', 'pro']).optional().describe('CRITICAL: Changing mode does NOT change your rights. To allow paid tools, change enablePaidTools. To enable confirmations, change costConfirmationRequired.'),
|
|
23
23
|
costEstimator: tool.schema.boolean().optional().describe('Set to true to show cost estimates auto. Set to false for "Manual Mode" (hide estimates).'),
|
|
24
24
|
statusBar: tool.schema.boolean().optional().describe('Enable/disable status bar visibility (true/false)'),
|
|
25
25
|
costConfirmationRequired: tool.schema.boolean().optional().describe('Safety Lock: Set to true to ask user confirmation before spending money. Set to false to spend automatically.'),
|
|
@@ -66,7 +66,12 @@ Available settings to modify via this tool:
|
|
|
66
66
|
saveConfig(updates);
|
|
67
67
|
const newConfig = loadConfig();
|
|
68
68
|
if (newConfig.statusBar) {
|
|
69
|
-
|
|
69
|
+
const changedKeys = Object.keys(updates).join(", ");
|
|
70
|
+
let toastMsg = "⚙️ Configuration modifiée par l'Agent";
|
|
71
|
+
if (changedKeys.length > 0) {
|
|
72
|
+
toastMsg += ` (${changedKeys})`;
|
|
73
|
+
}
|
|
74
|
+
emitStatusToast('info', toastMsg, 'Config Update');
|
|
70
75
|
}
|
|
71
76
|
return `Configuration successfully updated.\nApplied changes:\n${JSON.stringify(updates, null, 2)}\n\n(Note: Verify with polli_status if you need to know model prefixes).`;
|
|
72
77
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-pollinations-plugin",
|
|
3
3
|
"displayName": "Pollinations AI (V5.9)",
|
|
4
|
-
"version": "6.1.0-beta.
|
|
4
|
+
"version": "6.1.0-beta.27",
|
|
5
5
|
"description": "Native Pollinations.ai Provider Plugin for OpenCode",
|
|
6
6
|
"publisher": "pollinations",
|
|
7
7
|
"repository": {
|