@oh-my-pi/pi-coding-agent 12.18.0 → 12.18.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/CHANGELOG.md +5 -0
- package/package.json +7 -7
- package/src/utils/image-resize.ts +5 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@oh-my-pi/pi-coding-agent",
|
|
4
|
-
"version": "12.18.
|
|
4
|
+
"version": "12.18.1",
|
|
5
5
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
6
6
|
"homepage": "https://github.com/can1357/oh-my-pi",
|
|
7
7
|
"author": "Can Bölük",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@mozilla/readability": "0.6.0",
|
|
44
|
-
"@oh-my-pi/omp-stats": "12.18.
|
|
45
|
-
"@oh-my-pi/pi-agent-core": "12.18.
|
|
46
|
-
"@oh-my-pi/pi-ai": "12.18.
|
|
47
|
-
"@oh-my-pi/pi-natives": "12.18.
|
|
48
|
-
"@oh-my-pi/pi-tui": "12.18.
|
|
49
|
-
"@oh-my-pi/pi-utils": "12.18.
|
|
44
|
+
"@oh-my-pi/omp-stats": "12.18.1",
|
|
45
|
+
"@oh-my-pi/pi-agent-core": "12.18.1",
|
|
46
|
+
"@oh-my-pi/pi-ai": "12.18.1",
|
|
47
|
+
"@oh-my-pi/pi-natives": "12.18.1",
|
|
48
|
+
"@oh-my-pi/pi-tui": "12.18.1",
|
|
49
|
+
"@oh-my-pi/pi-utils": "12.18.1",
|
|
50
50
|
"@sinclair/typebox": "^0.34.48",
|
|
51
51
|
"@xterm/headless": "^6.0.0",
|
|
52
52
|
"ajv": "^8.18.0",
|
|
@@ -37,6 +37,11 @@ function pickSmaller(
|
|
|
37
37
|
return a.buffer.length <= b.buffer.length ? a : b;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
/** Polyfill for Buffer.toBase64, technically since it derives from Uint8Array it should exist but Bun reasons... */
|
|
41
|
+
Buffer.prototype.toBase64 = function (this: Buffer) {
|
|
42
|
+
return new Uint8Array(this.buffer, this.byteOffset, this.byteLength).toBase64();
|
|
43
|
+
};
|
|
44
|
+
|
|
40
45
|
/**
|
|
41
46
|
* Resize an image to fit within the specified max dimensions and file size.
|
|
42
47
|
* Returns the original image if it already fits within the limits.
|