opencode-pollinations-plugin 5.6.0 → 5.6.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/README.md +2 -2
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 🌸 Pollinations AI Plugin for OpenCode (v5.
|
|
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
|
-

|
|
14
14
|

|
|
15
15
|

|
|
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:
|
|
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
|
|
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(
|
|
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.
|
|
4
|
+
"version": "5.6.2",
|
|
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
|
+
}
|