opencode-pollinations-plugin 5.6.0 → 5.6.1

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # 🌸 Pollinations AI Plugin for OpenCode (v5.4.16)
1
+ # 🌸 Pollinations AI Plugin for OpenCode (v5.6.0)
2
2
 
3
3
  <div align="center">
4
4
  <img src="https://avatars.githubusercontent.com/u/88394740?s=400&v=4" alt="Pollinations.ai Logo" width="200">
@@ -10,7 +10,7 @@
10
10
 
11
11
  <div align="center">
12
12
 
13
- ![Version](https://img.shields.io/badge/version-5.4.16-blue.svg)
13
+ ![Version](https://img.shields.io/badge/version-5.6.0-blue.svg)
14
14
  ![License](https://img.shields.io/badge/license-MIT-green.svg)
15
15
  ![Status](https://img.shields.io/badge/status-Stable-success.svg)
16
16
 
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ const startProxy = () => {
35
35
  res.writeHead(200, { 'Content-Type': 'application/json' });
36
36
  res.end(JSON.stringify({
37
37
  status: "ok",
38
- version: "v5.3.2",
38
+ version: require('../package.json').version,
39
39
  mode: config.mode
40
40
  }));
41
41
  return;
@@ -66,7 +66,7 @@ const startProxy = () => {
66
66
  server.listen(0, '127.0.0.1', () => {
67
67
  // @ts-ignore
68
68
  const assignedPort = server.address().port;
69
- log(`[Proxy] Started V5.4.5 (Dynamic Port) on port ${assignedPort}`);
69
+ log(`[Proxy] Started v${require('../package.json').version} (Dynamic Port) on port ${assignedPort}`);
70
70
  resolve(assignedPort);
71
71
  });
72
72
  server.on('error', (e) => {
@@ -77,7 +77,7 @@ const startProxy = () => {
77
77
  };
78
78
  // === PLUGIN EXPORT ===
79
79
  export const PollinationsPlugin = async (ctx) => {
80
- log("Plugin Initializing V5.3.2 (Rollback)...");
80
+ log(`Plugin Initializing v${require('../package.json').version}...`);
81
81
  // START PROXY
82
82
  const port = await startProxy();
83
83
  const localBaseUrl = `http://127.0.0.1:${port}/v1`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opencode-pollinations-plugin",
3
3
  "displayName": "Pollinations AI (V5.1)",
4
- "version": "5.6.0",
4
+ "version": "5.6.1",
5
5
  "description": "Native Pollinations.ai Provider Plugin for OpenCode",
6
6
  "publisher": "pollinations",
7
7
  "repository": {
@@ -54,4 +54,4 @@
54
54
  "@types/node": "^20.0.0",
55
55
  "typescript": "^5.0.0"
56
56
  }
57
- }
57
+ }